@fluid-topics/ft-reader-metadata 1.1.81 → 1.1.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var Ha=Object.create;var Or=Object.defineProperty;var za=Object.getOwnPropertyDescriptor;var Fa=Object.getOwnPropertyNames;var Ga=Object.getPrototypeOf,Ka=Object.prototype.hasOwnProperty;var te=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Va=(e,o,r,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of Fa(o))!Ka.call(e,n)&&n!==r&&Or(e,n,{get:()=>o[n],enumerable:!(i=za(o,n))||i.enumerable});return e};var u=(e,o,r)=>(r=e!=null?Ha(Ga(e)):{},Va(o||!e||!e.__esModule?Or(r,"default",{value:e,enumerable:!0}):r,e));var O=te((Nl,Cr)=>{Cr.exports=ftGlobals.wcUtils});var P=te((Ll,Er)=>{Er.exports=ftGlobals.lit});var nt=te((Tl,Ar)=>{Ar.exports=ftGlobals.litDecorators});var Ge=te((cf,dn)=>{dn.exports=ftGlobals.litClassMap});var Cn=te((bf,On)=>{On.exports=ftGlobals.litUnsafeHTML});var aa=te(na=>{(function(e){var o=function(r){var i={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function n(d){return d&&DataView.prototype.isPrototypeOf(d)}if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function p(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function f(d){return typeof d!="string"&&(d=String(d)),d}function h(d){var m={next:function(){var C=d.shift();return{done:C===void 0,value:C}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function y(d){this.map={},d instanceof y?d.forEach(function(m,C){this.append(C,m)},this):Array.isArray(d)?d.forEach(function(m){this.append(m[0],m[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(m){this.append(m,d[m])},this)}y.prototype.append=function(d,m){d=p(d),m=f(m);var C=this.map[d];this.map[d]=C?C+", "+m:m},y.prototype.delete=function(d){delete this.map[p(d)]},y.prototype.get=function(d){return d=p(d),this.has(d)?this.map[d]:null},y.prototype.has=function(d){return this.map.hasOwnProperty(p(d))},y.prototype.set=function(d,m){this.map[p(d)]=f(m)},y.prototype.forEach=function(d,m){for(var C in this.map)this.map.hasOwnProperty(C)&&d.call(m,this.map[C],C,this)},y.prototype.keys=function(){var d=[];return this.forEach(function(m,C){d.push(C)}),h(d)},y.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),h(d)},y.prototype.entries=function(){var d=[];return this.forEach(function(m,C){d.push([C,m])}),h(d)},i.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function x(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function w(d){return new Promise(function(m,C){d.onload=function(){m(d.result)},d.onerror=function(){C(d.error)}})}function A(d){var m=new FileReader,C=w(m);return m.readAsArrayBuffer(d),C}function T(d){var m=new FileReader,C=w(m);return m.readAsText(d),C}function M(d){for(var m=new Uint8Array(d),C=new Array(m.length),q=0;q<m.length;q++)C[q]=String.fromCharCode(m[q]);return C.join("")}function W(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function B(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:i.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:i.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():i.arrayBuffer&&i.blob&&n(d)?(this._bodyArrayBuffer=W(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||s(d))?this._bodyArrayBuffer=W(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var d=x(this);if(d)return d;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?x(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(A)}),this.text=function(){var d=x(this);if(d)return d;if(this._bodyBlob)return T(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(M(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(X)}),this.json=function(){return this.text().then(JSON.parse)},this}var z=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function tt(d){var m=d.toUpperCase();return z.indexOf(m)>-1?m:d}function it(d,m){m=m||{};var C=m.body;if(d instanceof it){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new y(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!C&&d._bodyInit!=null&&(C=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new y(m.headers)),this.method=tt(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&C)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(C)}it.prototype.clone=function(){return new it(this,{body:this._bodyInit})};function X(d){var m=new FormData;return d.trim().split("&").forEach(function(C){if(C){var q=C.split("="),et=q.shift().replace(/\+/g," "),k=q.join("=").replace(/\+/g," ");m.append(decodeURIComponent(et),decodeURIComponent(k))}}),m}function eo(d){var m=new y,C=d.replace(/\r?\n[\t ]+/g," ");return C.split(/\r?\n/).forEach(function(q){var et=q.split(":"),k=et.shift().trim();if(k){var oo=et.join(":").trim();m.append(k,oo)}}),m}B.call(it.prototype);function yt(d,m){m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in m?m.statusText:"OK",this.headers=new y(m.headers),this.url=m.url||"",this._initBody(d)}B.call(yt.prototype),yt.prototype.clone=function(){return new yt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},yt.error=function(){var d=new yt(null,{status:0,statusText:""});return d.type="error",d};var Sr=[301,302,303,307,308];yt.redirect=function(d,m){if(Sr.indexOf(m)===-1)throw new RangeError("Invalid status code");return new yt(null,{status:m,headers:{location:d}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,C){this.message=m,this.name=C;var q=Error(m);this.stack=q.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function de(d,m){return new Promise(function(C,q){var et=new it(d,m);if(et.signal&&et.signal.aborted)return q(new r.DOMException("Aborted","AbortError"));var k=new XMLHttpRequest;function oo(){k.abort()}k.onload=function(){var _e={status:k.status,statusText:k.statusText,headers:eo(k.getAllResponseHeaders()||"")};_e.url="responseURL"in k?k.responseURL:_e.headers.get("X-Request-URL");var zo="response"in k?k.response:k.responseText;C(new yt(zo,_e))},k.onerror=function(){q(new TypeError("Network request failed"))},k.ontimeout=function(){q(new TypeError("Network request failed"))},k.onabort=function(){q(new r.DOMException("Aborted","AbortError"))},k.open(et.method,et.url,!0),et.credentials==="include"?k.withCredentials=!0:et.credentials==="omit"&&(k.withCredentials=!1),"responseType"in k&&i.blob&&(k.responseType="blob"),et.headers.forEach(function(_e,zo){k.setRequestHeader(zo,_e)}),et.signal&&(et.signal.addEventListener("abort",oo),k.onreadystatechange=function(){k.readyState===4&&et.signal.removeEventListener("abort",oo)}),k.send(typeof et._bodyInit>"u"?null:et._bodyInit)})}return de.polyfill=!0,e.fetch||(e.fetch=de,e.Headers=y,e.Request=it,e.Response=yt),r.Headers=y,r.Request=it,r.Response=yt,r.fetch=de,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:na)});var Ea=te((Zh,Ca)=>{Ca.exports=ftGlobals.litRepeat});var Wa=u(O());var Rt=u(P()),Gt=u(nt()),$t=u(O());var Rr=u(P()),Il={},wr=Rr.css`
1
+ "use strict";(()=>{var Kl=Object.create;var $n=Object.defineProperty;var Zl=Object.getOwnPropertyDescriptor;var ql=Object.getOwnPropertyNames;var Yl=Object.getPrototypeOf,Xl=Object.prototype.hasOwnProperty;var mt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Jl=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ql(t))!Xl.call(e,i)&&i!==o&&$n(e,i,{get:()=>t[i],enumerable:!(n=Zl(t,i))||n.enumerable});return e};var g=(e,t,o)=>(o=e!=null?Kl(Yl(e)):{},Jl(t||!e||!e.__esModule?$n(o,"default",{value:e,enumerable:!0}):o,e));var P=mt((bp,Wn)=>{Wn.exports=ftGlobals.wcUtils});var B=mt((xp,zn)=>{zn.exports=ftGlobals.lit});var Y=mt((vp,Fn)=>{Fn.exports=ftGlobals.litDecorators});var hr=mt((Qh,Ra)=>{Ra.exports=ftGlobals.litClassMap});var $a=mt((lm,Ba)=>{Ba.exports=ftGlobals.litUnsafeHTML});var Os=mt(Ss=>{(function(e){var t=function(o){var n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function i(h){return h&&DataView.prototype.isPrototypeOf(h)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(h){return h&&a.indexOf(Object.prototype.toString.call(h))>-1};function c(h){if(typeof h!="string"&&(h=String(h)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(h))throw new TypeError("Invalid character in header field name");return h.toLowerCase()}function p(h){return typeof h!="string"&&(h=String(h)),h}function f(h){var v={next:function(){var N=h.shift();return{done:N===void 0,value:N}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function u(h){this.map={},h instanceof u?h.forEach(function(v,N){this.append(N,v)},this):Array.isArray(h)?h.forEach(function(v){this.append(v[0],v[1])},this):h&&Object.getOwnPropertyNames(h).forEach(function(v){this.append(v,h[v])},this)}u.prototype.append=function(h,v){h=c(h),v=p(v);var N=this.map[h];this.map[h]=N?N+", "+v:v},u.prototype.delete=function(h){delete this.map[c(h)]},u.prototype.get=function(h){return h=c(h),this.has(h)?this.map[h]:null},u.prototype.has=function(h){return this.map.hasOwnProperty(c(h))},u.prototype.set=function(h,v){this.map[c(h)]=p(v)},u.prototype.forEach=function(h,v){for(var N in this.map)this.map.hasOwnProperty(N)&&h.call(v,this.map[N],N,this)},u.prototype.keys=function(){var h=[];return this.forEach(function(v,N){h.push(N)}),f(h)},u.prototype.values=function(){var h=[];return this.forEach(function(v){h.push(v)}),f(h)},u.prototype.entries=function(){var h=[];return this.forEach(function(v,N){h.push([N,v])}),f(h)},n.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function m(h){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}function y(h){return new Promise(function(v,N){h.onload=function(){v(h.result)},h.onerror=function(){N(h.error)}})}function x(h){var v=new FileReader,N=y(v);return v.readAsArrayBuffer(h),N}function b(h){var v=new FileReader,N=y(v);return v.readAsText(h),N}function S(h){for(var v=new Uint8Array(h),N=new Array(v.length),H=0;H<v.length;H++)N[H]=String.fromCharCode(v[H]);return N.join("")}function R(h){if(h.slice)return h.slice(0);var v=new Uint8Array(h.byteLength);return v.set(new Uint8Array(h)),v.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(h){this._bodyInit=h,h?typeof h=="string"?this._bodyText=h:n.blob&&Blob.prototype.isPrototypeOf(h)?this._bodyBlob=h:n.formData&&FormData.prototype.isPrototypeOf(h)?this._bodyFormData=h:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)?this._bodyText=h.toString():n.arrayBuffer&&n.blob&&i(h)?(this._bodyArrayBuffer=R(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||s(h))?this._bodyArrayBuffer=R(h):this._bodyText=h=Object.prototype.toString.call(h):this._bodyText="",this.headers.get("content-type")||(typeof h=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var h=m(this);if(h)return h;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(x)}),this.text=function(){var h=m(this);if(h)return h;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(S(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(W)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function I(h){var v=h.toUpperCase();return A.indexOf(v)>-1?v:h}function L(h,v){v=v||{};var N=v.body;if(h instanceof L){if(h.bodyUsed)throw new TypeError("Already read");this.url=h.url,this.credentials=h.credentials,v.headers||(this.headers=new u(h.headers)),this.method=h.method,this.mode=h.mode,this.signal=h.signal,!N&&h._bodyInit!=null&&(N=h._bodyInit,h.bodyUsed=!0)}else this.url=String(h);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new u(v.headers)),this.method=I(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}L.prototype.clone=function(){return new L(this,{body:this._bodyInit})};function W(h){var v=new FormData;return h.trim().split("&").forEach(function(N){if(N){var H=N.split("="),ie=H.shift().replace(/\+/g," "),z=H.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ie),decodeURIComponent(z))}}),v}function he(h){var v=new u,N=h.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(H){var ie=H.split(":"),z=ie.shift().trim();if(z){var Pr=ie.join(":").trim();v.append(z,Pr)}}),v}w.call(L.prototype);function ee(h,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new u(v.headers),this.url=v.url||"",this._initBody(h)}w.call(ee.prototype),ee.prototype.clone=function(){return new ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},ee.error=function(){var h=new ee(null,{status:0,statusText:""});return h.type="error",h};var rr=[301,302,303,307,308];ee.redirect=function(h,v){if(rr.indexOf(v)===-1)throw new RangeError("Invalid status code");return new ee(null,{status:v,headers:{location:h}})},o.DOMException=e.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,N){this.message=v,this.name=N;var H=Error(v);this.stack=H.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Ae(h,v){return new Promise(function(N,H){var ie=new L(h,v);if(ie.signal&&ie.signal.aborted)return H(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Pr(){z.abort()}z.onload=function(){var or={status:z.status,statusText:z.statusText,headers:he(z.getAllResponseHeaders()||"")};or.url="responseURL"in z?z.responseURL:or.headers.get("X-Request-URL");var To="response"in z?z.response:z.responseText;N(new ee(To,or))},z.onerror=function(){H(new TypeError("Network request failed"))},z.ontimeout=function(){H(new TypeError("Network request failed"))},z.onabort=function(){H(new o.DOMException("Aborted","AbortError"))},z.open(ie.method,ie.url,!0),ie.credentials==="include"?z.withCredentials=!0:ie.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&n.blob&&(z.responseType="blob"),ie.headers.forEach(function(or,To){z.setRequestHeader(To,or)}),ie.signal&&(ie.signal.addEventListener("abort",Pr),z.onreadystatechange=function(){z.readyState===4&&ie.signal.removeEventListener("abort",Pr)}),z.send(typeof ie._bodyInit>"u"?null:ie._bodyInit)})}return Ae.polyfill=!0,e.fetch||(e.fetch=Ae,e.Headers=u,e.Request=L,e.Response=ee),o.Headers=u,o.Request=L,o.Response=ee,o.fetch=Ae,Object.defineProperty(o,"__esModule",{value:!0}),o}({})})(typeof self<"u"?self:Ss)});var Ws=mt((Ug,$s)=>{$s.exports=ftGlobals.litRepeat});var Gl=g(P());var Ie=g(B()),Qe=g(Y()),je=g(P());var Hn=g(B()),Sp={},jn=Hn.css`
2
2
  :host {
3
3
  display: inline-block;
4
4
  }
@@ -18,66 +18,20 @@
18
18
  all: unset;
19
19
  position: relative;
20
20
  }
21
- `;var Lr=u(O()),Tr=u(nt());var Nr;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Nr||(Nr={}));var Za=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Go=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Fo=Symbol("registerInterval");function ja(e){var o;class r extends e{constructor(){super(...arguments),this[o]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Fo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Fo]):this.dispatchEvent(new Go)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Fo,Za([(0,Tr.state)()],r.prototype,"stateManager",void 0),r}var ro=class extends ja(Lr.FtLitElementRedux){};var pn=u(O());var cn=u(P()),Y=u(nt()),Fe=u(O());var Bi=u(O());var qo=globalThis,io=qo.trustedTypes,Ir=io?io.createPolicy("lit-html",{createHTML:e=>e}):void 0,Br="$lit$",Kt=`lit$${(Math.random()+"").slice(9)}$`,Dr="?"+Kt,Ya=`<${Dr}>`,re=document,no=()=>re.createComment(""),Ue=e=>e===null||typeof e!="object"&&typeof e!="function",Mr=Array.isArray,Xa=e=>Mr(e)||typeof e?.[Symbol.iterator]=="function",Ko=`[
22
- \f\r]`,ke=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Pr=/-->/g,_r=/>/g,ee=RegExp(`>|${Ko}(?:([^\\s"'>=/]+)(${Ko}*=${Ko}*(?:[^
23
- \f\r"'\`<>=]|("|')|))|$)`,"g"),kr=/'/g,Ur=/"/g,Wr=/^(?:script|style|textarea|title)$/i,Hr=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),zr=Hr(1),Fr=Hr(2),$e=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),$r=new WeakMap,oe=re.createTreeWalker(re,129);function Gr(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ir!==void 0?Ir.createHTML(o):o}var qa=(e,o)=>{let r=e.length-1,i=[],n,a=o===2?"<svg>":"",s=ke;for(let p=0;p<r;p++){let f=e[p],h,y,x=-1,w=0;for(;w<f.length&&(s.lastIndex=w,y=s.exec(f),y!==null);)w=s.lastIndex,s===ke?y[1]==="!--"?s=Pr:y[1]!==void 0?s=_r:y[2]!==void 0?(Wr.test(y[2])&&(n=RegExp("</"+y[2],"g")),s=ee):y[3]!==void 0&&(s=ee):s===ee?y[0]===">"?(s=n??ke,x=-1):y[1]===void 0?x=-2:(x=s.lastIndex-y[2].length,h=y[1],s=y[3]===void 0?ee:y[3]==='"'?Ur:kr):s===Ur||s===kr?s=ee:s===Pr||s===_r?s=ke:(s=ee,n=void 0);let A=s===ee&&e[p+1].startsWith("/>")?" ":"";a+=s===ke?f+Ya:x>=0?(i.push(h),f.slice(0,x)+Br+f.slice(x)+Kt+A):f+Kt+(x===-2?p:A)}return[Gr(e,a+(e[r]||"<?>")+(o===2?"</svg>":"")),i]},Be=class e{constructor({strings:o,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,p=o.length-1,f=this.parts,[h,y]=qa(o,r);if(this.el=e.createElement(h,i),oe.currentNode=this.el.content,r===2){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(n=oe.nextNode())!==null&&f.length<p;){if(n.nodeType===1){if(n.hasAttributes())for(let x of n.getAttributeNames())if(x.endsWith(Br)){let w=y[s++],A=n.getAttribute(x).split(Kt),T=/([.?@])?(.*)/.exec(w);f.push({type:1,index:a,name:T[2],strings:A,ctor:T[1]==="."?Zo:T[1]==="?"?jo:T[1]==="@"?Yo:ue}),n.removeAttribute(x)}else x.startsWith(Kt)&&(f.push({type:6,index:a}),n.removeAttribute(x));if(Wr.test(n.tagName)){let x=n.textContent.split(Kt),w=x.length-1;if(w>0){n.textContent=io?io.emptyScript:"";for(let A=0;A<w;A++)n.append(x[A],no()),oe.nextNode(),f.push({type:2,index:++a});n.append(x[w],no())}}}else if(n.nodeType===8)if(n.data===Dr)f.push({type:2,index:a});else{let x=-1;for(;(x=n.data.indexOf(Kt,x+1))!==-1;)f.push({type:7,index:a}),x+=Kt.length-1}a++}}static createElement(o,r){let i=re.createElement("template");return i.innerHTML=o,i}};function fe(e,o,r=e,i){if(o===$e)return o;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Ue(o)?void 0:o._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(e),n._$AT(e,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(o=fe(e,n._$AS(e,o.values),n,i)),o}var Vo=class{constructor(o,r){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:r},parts:i}=this._$AD,n=(o?.creationScope??re).importNode(r,!0);oe.currentNode=n;let a=oe.nextNode(),s=0,p=0,f=i[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new ao(a,a.nextSibling,this,o):f.type===1?h=new f.ctor(a,f.name,f.strings,this,o):f.type===6&&(h=new Xo(a,this,o)),this._$AV.push(h),f=i[++p]}s!==f?.index&&(a=oe.nextNode(),s++)}return oe.currentNode=re,n}p(o){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,r),r+=i.strings.length-2):i._$AI(o[r])),r++}},ao=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,i,n){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,r=this._$AM;return r!==void 0&&o?.nodeType===11&&(o=r.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,r=this){o=fe(this,o,r),Ue(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==$e&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Xa(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==j&&Ue(this._$AH)?this._$AA.nextSibling.data=o:this.$(re.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:i}=o,n=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=Be.createElement(Gr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Vo(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(o){let r=$r.get(o.strings);return r===void 0&&$r.set(o.strings,r=new Be(o)),r}T(o){Mr(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of o)n===r.length?r.push(i=new e(this.k(no()),this.k(no()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},ue=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,i,n,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}_$AI(o,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)o=fe(this,o,r,0),s=!Ue(o)||o!==this._$AH&&o!==$e,s&&(this._$AH=o);else{let p=o,f,h;for(o=a[0],f=0;f<a.length-1;f++)h=fe(this,p[i+f],r,f),h===$e&&(h=this._$AH[f]),s||=!Ue(h)||h!==this._$AH[f],h===j?o=j:o!==j&&(o+=(h??"")+a[f+1]),this._$AH[f]=h}s&&!n&&this.O(o)}O(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Zo=class extends ue{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===j?void 0:o}},jo=class extends ue{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},Yo=class extends ue{constructor(o,r,i,n,a){super(o,r,i,n,a),this.type=5}_$AI(o,r=this){if((o=fe(this,o,r,0)??j)===$e)return;let i=this._$AH,n=o===j&&i!==j||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,a=o!==j&&(i===j||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Xo=class{constructor(o,r,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){fe(this,o)}};var Ja=qo.litHtmlPolyfillSupport;Ja?.(Be,ao),(qo.litHtmlVersions??=[]).push("3.1.0");var Vr=Symbol.for(""),Qa=e=>{if(e?.r===Vr)return e?._$litStatic$},Jo=e=>({_$litStatic$:e,r:Vr});var Kr=new Map,Zr=e=>(o,...r)=>{let i=r.length,n,a,s=[],p=[],f,h=0,y=!1;for(;h<i;){for(f=o[h];h<i&&(a=r[h],(n=Qa(a))!==void 0);)f+=n+o[++h],y=!0;h!==i&&p.push(a),s.push(f),h++}if(h===i&&s.push(o[i]),y){let x=s.join("$$lit$$");(o=Kr.get(x))===void 0&&(s.raw=s,Kr.set(x,o=s)),r=p}return e(o,...r)},Qo=Zr(zr),Dl=Zr(Fr);var tr=u(nt()),$i=u(O());var ie;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ie||(ie={}));var Ot=u(P()),b=u(O());var Bt=u(P(),1),Vt=e=>typeof e=="string"?(0,Bt.unsafeCSS)(e):e,t=class{static create(o,r,i,n){let a=p=>Vt(p??n),s=Bt.css`var(${Vt(o)}, ${a(n)})`;return s.name=o,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=p=>Bt.css`var(${Vt(o)}, ${a(p)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(o,r,i,n){let a=p=>i.get(p??n),s=Bt.css`var(${Vt(o)}, ${a(n)})`;return s.name=o,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=p=>Bt.css`var(${Vt(o)}, ${a(p)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(o,r){let i=a=>o.fallbackVariable?o.fallbackVariable.get(a??o.defaultValue):Vt(a??o.lastResortDefaultValue()),n=Bt.css`var(${Vt(o.name)}, ${i(o.defaultValue)})`;return n.name=o.name,n.category=o.category,n.fallbackVariable=o.fallbackVariable,n.defaultValue=o.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>Bt.css`var(${Vt(o.name)}, ${i(a)})`,n.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>o.lastResortDefaultValue(),n}};var l={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},jr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Yr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Xr={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},qr={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Jr={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qr={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ti={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ei={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},oi={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},tl={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ri={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ii={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ni={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ai={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},li={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},si={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ci={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},pi={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},di={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},fi={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ui={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},hi={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},mi={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},yi={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},gi={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},bi={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},lo={display:jr,"title-1":Yr,"title-2":Xr,"title-3":qr,"body-1-regular":Jr,"body-1-medium":Qr,"body-1-semibold":ti,"body-2-regular":ei,"body-2-medium":oi,"body-2-medium-underline":tl,"body-2-semibold":ri,"label-1-medium":ii,"label-1-semibold":ni,"label-1-bold":ai,"label-2-medium":li,"label-2-semibold":si,"label-2-bold":ci,"caption-1-medium":pi,"caption-1-semibold":di,"caption-1-bold":fi,"caption-2-medium":ui,"caption-2-semibold":hi,"caption-2-bold":mi,"caption-3-medium":yi,"caption-3-semibold":gi,"caption-3-bold":bi};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
24
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var v={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:t.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:t.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",c.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",c.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",c.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",c.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",c.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",c.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",c.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",c.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",c.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",c.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",c.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",c.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",c.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",c.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var os={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:t.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:t.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var ls={focusOpacity:t.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:t.extend("--ft-link-focus-focus-ring-color","",c.borderActionFocusRing),brandColor:t.extend("--ft-link-brand-color","",c.contentActionPrimary),infoColor:t.extend("--ft-link-info-color","",c.contentInfoPrimary)};var fs={iconSize:t.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var gs={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:t.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",c.contentActionPrimary)};var Os={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var ws={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",c.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",c.contentGlobalSecondary)};var Ps={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:t.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",c.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:t.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Bs={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:t.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var zs={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Zs={backgroundColor:t.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Js={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var rc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var sc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var uc={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",c.contentActionPrimary),gap:t.extend("--ft-popover-gap","",l.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",l.shadowElevation02)};var bc={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity0),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Cc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Nc={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:t.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Pc={color1Light:t.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",l.colorRed40),color5Base:t.extend("--ft-chart-5-base","",l.colorRed60),color6Light:t.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",l.colorGray50),color10Base:t.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Bc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:t.extend("--ft-notice-gap","",l.spacing2),iconSize:t.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly)};var zc={color:t.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",l.spacing3)};var Zc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",l.spacing3)};var Jc={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",l.spacing3)};var rp={iconSize:t.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",l.spacing8)};var sp={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:t.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",l.spacing05)};var xi;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(xi||(xi={}));var vi;(function(e){e.large="large",e.medium="medium",e.small="small"})(vi||(vi={}));var so=u(P());function Si(e){let o=lo[e];return so.css`
25
- .ft-typography--${(0,so.unsafeCSS)(e)} {
26
- font-family: ${o.fontFamily};
27
- font-size: ${o.fontSize};
28
- font-weight: ${o.fontWeight};
29
- letter-spacing: ${o.letterSpacing};
30
- line-height: ${o.lineHeight};
31
- text-transform: ${o.textCase};
32
- }
33
- `}var Oi=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.titleFont),Dt=b.FtCssVariableFactory.extend("--ft-typography-font-family","",b.designSystemVariables.contentFont),S={fontFamily:Dt,fontSize:b.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:b.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:b.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:b.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:b.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},he={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Oi),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit")},me={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Oi),fontSize:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit")},ye={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Dt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit")},ge={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Dt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit")},be={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Dt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},It={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Dt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit")},xe={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Dt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},ve={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Dt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit")},Se={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Dt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase")},Pt={fontFamily:b.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Dt),fontSize:b.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:b.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:b.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:b.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:b.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},Ci=Ot.css`
21
+ `;var Gn=g(P()),Kn=g(Y());var Vn;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Vn||(Vn={}));var Ql=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Lo=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Po=Symbol("registerInterval");function ec(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[Po]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Po]):this.dispatchEvent(new Lo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Po,Ql([(0,Kn.state)()],o.prototype,"stateManager",void 0),o}var Lr=class extends ec(Gn.FtLitElementRedux){};var Aa=g(P());var wa=g(B()),re=g(Y()),ur=g(P());var ea=g(P());var Bo=globalThis,Ir=Bo.trustedTypes,Zn=Ir?Ir.createPolicy("lit-html",{createHTML:e=>e}):void 0,ei="$lit$",et=`lit$${(Math.random()+"").slice(9)}$`,ti="?"+et,tc=`<${ti}>`,bt=document,_r=()=>bt.createComment(""),ir=e=>e===null||typeof e!="object"&&typeof e!="function",ri=Array.isArray,rc=e=>ri(e)||typeof e?.[Symbol.iterator]=="function",Io=`[
22
+ \f\r]`,nr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qn=/-->/g,Yn=/>/g,yt=RegExp(`>|${Io}(?:([^\\s"'>=/]+)(${Io}*=${Io}*(?:[^
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Xn=/'/g,Jn=/"/g,oi=/^(?:script|style|textarea|title)$/i,ni=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ii=ni(1),ai=ni(2),ar=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),Qn=new WeakMap,gt=bt.createTreeWalker(bt,129);function si(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Zn!==void 0?Zn.createHTML(t):t}var oc=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=nr;for(let c=0;c<o;c++){let p=e[c],f,u,m=-1,y=0;for(;y<p.length&&(s.lastIndex=y,u=s.exec(p),u!==null);)y=s.lastIndex,s===nr?u[1]==="!--"?s=qn:u[1]!==void 0?s=Yn:u[2]!==void 0?(oi.test(u[2])&&(i=RegExp("</"+u[2],"g")),s=yt):u[3]!==void 0&&(s=yt):s===yt?u[0]===">"?(s=i??nr,m=-1):u[1]===void 0?m=-2:(m=s.lastIndex-u[2].length,f=u[1],s=u[3]===void 0?yt:u[3]==='"'?Jn:Xn):s===Jn||s===Xn?s=yt:s===qn||s===Yn?s=nr:(s=yt,i=void 0);let x=s===yt&&e[c+1].startsWith("/>")?" ":"";a+=s===nr?p+tc:m>=0?(n.push(f),p.slice(0,m)+ei+p.slice(m)+et+x):p+et+(m===-2?c:x)}return[si(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},sr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,p=this.parts,[f,u]=oc(t,o);if(this.el=e.createElement(f,n),gt.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=gt.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(ei)){let y=u[s++],x=i.getAttribute(m).split(et),b=/([.?@])?(.*)/.exec(y);p.push({type:1,index:a,name:b[2],strings:x,ctor:b[1]==="."?ko:b[1]==="?"?Do:b[1]==="@"?Mo:Lt}),i.removeAttribute(m)}else m.startsWith(et)&&(p.push({type:6,index:a}),i.removeAttribute(m));if(oi.test(i.tagName)){let m=i.textContent.split(et),y=m.length-1;if(y>0){i.textContent=Ir?Ir.emptyScript:"";for(let x=0;x<y;x++)i.append(m[x],_r()),gt.nextNode(),p.push({type:2,index:++a});i.append(m[y],_r())}}}else if(i.nodeType===8)if(i.data===ti)p.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(et,m+1))!==-1;)p.push({type:7,index:a}),m+=et.length-1}a++}}static createElement(t,o){let n=bt.createElement("template");return n.innerHTML=t,n}};function Pt(e,t,o=e,n){if(t===ar)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=ir(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Pt(e,i._$AS(e,t.values),i,n)),t}var _o=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??bt).importNode(o,!0);gt.currentNode=i;let a=gt.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let f;p.type===2?f=new kr(a,a.nextSibling,this,t):p.type===1?f=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(f=new Uo(a,this,t)),this._$AV.push(f),p=n[++c]}s!==p?.index&&(a=gt.nextNode(),s++)}return gt.currentNode=bt,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},kr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Pt(this,t,o),ir(t)?t===te||t==null||t===""?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==ar&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):rc(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==te&&ir(this._$AH)?this._$AA.nextSibling.data=t:this.$(bt.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=sr.createElement(si(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new _o(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Qn.get(t.strings);return o===void 0&&Qn.set(t.strings,o=new sr(t)),o}T(t){ri(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(_r()),this.k(_r()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Lt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=te}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Pt(this,t,o,0),s=!ir(t)||t!==this._$AH&&t!==ar,s&&(this._$AH=t);else{let c=t,p,f;for(t=a[0],p=0;p<a.length-1;p++)f=Pt(this,c[n+p],o,p),f===ar&&(f=this._$AH[p]),s||=!ir(f)||f!==this._$AH[p],f===te?t=te:t!==te&&(t+=(f??"")+a[p+1]),this._$AH[p]=f}s&&!i&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ko=class extends Lt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},Do=class extends Lt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},Mo=class extends Lt{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Pt(this,t,o,0)??te)===ar)return;let n=this._$AH,i=t===te&&n!==te||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==te&&(n===te||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Uo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Pt(this,t)}};var nc=Bo.litHtmlPolyfillSupport;nc?.(sr,kr),(Bo.litHtmlVersions??=[]).push("3.1.0");var ci=Symbol.for(""),ic=e=>{if(e?.r===ci)return e?._$litStatic$},$o=e=>({_$litStatic$:e,r:ci});var li=new Map,pi=e=>(t,...o)=>{let n=o.length,i,a,s=[],c=[],p,f=0,u=!1;for(;f<n;){for(p=t[f];f<n&&(a=o[f],(i=ic(a))!==void 0);)p+=i+t[++f],u=!0;f!==n&&c.push(a),s.push(p),f++}if(f===n&&s.push(t[n]),u){let m=s.join("$$lit$$");(t=li.get(m))===void 0&&(s.raw=s,li.set(m,t=s)),o=c}return e(t,...o)},Wo=pi(ii),Np=pi(ai);var zo=g(Y()),Qi=g(P());var xt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(xt||(xt={}));var Re=g(B()),C=g(P());var Ve=g(B(),1),tt=e=>typeof e=="string"?(0,Ve.unsafeCSS)(e):e,r=class{static create(t,o,n,i){let a=c=>tt(c??i),s=Ve.css`var(${tt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>Ve.css`var(${tt(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=Ve.css`var(${tt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>Ve.css`var(${tt(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):tt(a??t.lastResortDefaultValue()),i=Ve.css`var(${tt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>Ve.css`var(${tt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},di={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},mi={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},yi={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},gi={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ac={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},vi={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ti={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ii={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ki={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Di={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Dr={display:di,"title-1":fi,"title-2":ui,"title-3":hi,"body-1-regular":mi,"body-1-medium":yi,"body-1-semibold":gi,"body-2-regular":bi,"body-2-medium":xi,"body-2-medium-underline":ac,"body-2-semibold":vi,"label-1-medium":Si,"label-1-semibold":Oi,"label-1-bold":Ci,"label-2-medium":Ei,"label-2-semibold":wi,"label-2-bold":Ai,"caption-1-medium":Ri,"caption-1-semibold":Ni,"caption-1-bold":Ti,"caption-2-medium":Pi,"caption-2-semibold":Li,"caption-2-bold":Ii,"caption-3-medium":_i,"caption-3-semibold":ki,"caption-3-bold":Di};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
24
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var E={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Gp={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Xp={focusOpacity:r.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",d.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",d.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",d.contentInfoPrimary)};var rd={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var sd={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var fd={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var gd={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var Od={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Rd={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Id={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Ud={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Fd={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface)};var Kd={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Jd={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var of={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)};var cf={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var hf={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var xf={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Cf={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Nf={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var _f={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Bf={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Hf={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Zf={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var Qf={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var Mi;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Mi||(Mi={}));var Ui;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ui||(Ui={}));var Mr=g(B());function Bi(e){let t=Dr[e];return Mr.css`
25
+ .ft-typography--${(0,Mr.unsafeCSS)(e)} {
26
+ font-family: ${t.fontFamily};
27
+ font-size: ${t.fontSize};
28
+ font-weight: ${t.fontWeight};
29
+ letter-spacing: ${t.letterSpacing};
30
+ line-height: ${t.lineHeight};
31
+ text-transform: ${t.textCase};
32
+ }
33
+ `}var $i=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.titleFont),Ge=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.contentFont),T={fontFamily:Ge,fontSize:C.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:C.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:C.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:C.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:C.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},It={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-font-family","",$i),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},_t={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",$i),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},kt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ge),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},Dt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ge),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},Mt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ge),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Be={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ge),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},Ut={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ge),fontSize:C.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},Bt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ge),fontSize:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},$t={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ge),fontSize:C.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},$e={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ge),fontSize:C.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},Wi=Re.css`
34
34
  .ft-typography--title {
35
- font-family: ${he.fontFamily};
36
- font-size: ${he.fontSize};
37
- font-weight: ${he.fontWeight};
38
- letter-spacing: ${he.letterSpacing};
39
- line-height: ${he.lineHeight};
40
- text-transform: ${he.textTransform};
41
- }
42
- `,Ei=Ot.css`
43
- .ft-typography--title-dense {
44
- font-family: ${me.fontFamily};
45
- font-size: ${me.fontSize};
46
- font-weight: ${me.fontWeight};
47
- letter-spacing: ${me.letterSpacing};
48
- line-height: ${me.lineHeight};
49
- text-transform: ${me.textTransform};
50
- }
51
- `,Ai=Ot.css`
52
- .ft-typography--subtitle1 {
53
- font-family: ${ye.fontFamily};
54
- font-size: ${ye.fontSize};
55
- font-weight: ${ye.fontWeight};
56
- letter-spacing: ${ye.letterSpacing};
57
- line-height: ${ye.lineHeight};
58
- text-transform: ${ye.textTransform};
59
- }
60
- `,Ri=Ot.css`
61
- .ft-typography--subtitle2 {
62
- font-family: ${ge.fontFamily};
63
- font-size: ${ge.fontSize};
64
- font-weight: ${ge.fontWeight};
65
- letter-spacing: ${ge.letterSpacing};
66
- line-height: ${ge.lineHeight};
67
- text-transform: ${ge.textTransform};
68
- }
69
-
70
- `,wi=Ot.css`
71
- .ft-typography--body1 {
72
- font-family: ${be.fontFamily};
73
- font-size: ${be.fontSize};
74
- font-weight: ${be.fontWeight};
75
- letter-spacing: ${be.letterSpacing};
76
- line-height: ${be.lineHeight};
77
- text-transform: ${be.textTransform};
78
- }
79
- `,Ni=Ot.css`
80
- .ft-typography--body2 {
81
35
  font-family: ${It.fontFamily};
82
36
  font-size: ${It.fontSize};
83
37
  font-weight: ${It.fontWeight};
@@ -85,55 +39,101 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
85
39
  line-height: ${It.lineHeight};
86
40
  text-transform: ${It.textTransform};
87
41
  }
88
- `,Li=Ot.css`
42
+ `,zi=Re.css`
43
+ .ft-typography--title-dense {
44
+ font-family: ${_t.fontFamily};
45
+ font-size: ${_t.fontSize};
46
+ font-weight: ${_t.fontWeight};
47
+ letter-spacing: ${_t.letterSpacing};
48
+ line-height: ${_t.lineHeight};
49
+ text-transform: ${_t.textTransform};
50
+ }
51
+ `,Fi=Re.css`
52
+ .ft-typography--subtitle1 {
53
+ font-family: ${kt.fontFamily};
54
+ font-size: ${kt.fontSize};
55
+ font-weight: ${kt.fontWeight};
56
+ letter-spacing: ${kt.letterSpacing};
57
+ line-height: ${kt.lineHeight};
58
+ text-transform: ${kt.textTransform};
59
+ }
60
+ `,Hi=Re.css`
61
+ .ft-typography--subtitle2 {
62
+ font-family: ${Dt.fontFamily};
63
+ font-size: ${Dt.fontSize};
64
+ font-weight: ${Dt.fontWeight};
65
+ letter-spacing: ${Dt.letterSpacing};
66
+ line-height: ${Dt.lineHeight};
67
+ text-transform: ${Dt.textTransform};
68
+ }
69
+
70
+ `,ji=Re.css`
71
+ .ft-typography--body1 {
72
+ font-family: ${Mt.fontFamily};
73
+ font-size: ${Mt.fontSize};
74
+ font-weight: ${Mt.fontWeight};
75
+ letter-spacing: ${Mt.letterSpacing};
76
+ line-height: ${Mt.lineHeight};
77
+ text-transform: ${Mt.textTransform};
78
+ }
79
+ `,Vi=Re.css`
80
+ .ft-typography--body2 {
81
+ font-family: ${Be.fontFamily};
82
+ font-size: ${Be.fontSize};
83
+ font-weight: ${Be.fontWeight};
84
+ letter-spacing: ${Be.letterSpacing};
85
+ line-height: ${Be.lineHeight};
86
+ text-transform: ${Be.textTransform};
87
+ }
88
+ `,Gi=Re.css`
89
89
  .ft-typography--caption {
90
- font-family: ${xe.fontFamily};
91
- font-size: ${xe.fontSize};
92
- font-weight: ${xe.fontWeight};
93
- letter-spacing: ${xe.letterSpacing};
94
- line-height: ${xe.lineHeight};
95
- text-transform: ${xe.textTransform};
96
- }
97
- `,Ti=Ot.css`
90
+ font-family: ${Ut.fontFamily};
91
+ font-size: ${Ut.fontSize};
92
+ font-weight: ${Ut.fontWeight};
93
+ letter-spacing: ${Ut.letterSpacing};
94
+ line-height: ${Ut.lineHeight};
95
+ text-transform: ${Ut.textTransform};
96
+ }
97
+ `,Ki=Re.css`
98
98
  .ft-typography--breadcrumb {
99
- font-family: ${ve.fontFamily};
100
- font-size: ${ve.fontSize};
101
- font-weight: ${ve.fontWeight};
102
- letter-spacing: ${ve.letterSpacing};
103
- line-height: ${ve.lineHeight};
104
- text-transform: ${ve.textTransform};
105
- }
106
- `,Ii=Ot.css`
99
+ font-family: ${Bt.fontFamily};
100
+ font-size: ${Bt.fontSize};
101
+ font-weight: ${Bt.fontWeight};
102
+ letter-spacing: ${Bt.letterSpacing};
103
+ line-height: ${Bt.lineHeight};
104
+ text-transform: ${Bt.textTransform};
105
+ }
106
+ `,Zi=Re.css`
107
107
  .ft-typography--overline {
108
- font-family: ${Se.fontFamily};
109
- font-size: ${Se.fontSize};
110
- font-weight: ${Se.fontWeight};
111
- letter-spacing: ${Se.letterSpacing};
112
- line-height: ${Se.lineHeight};
113
- text-transform: ${Se.textTransform};
114
- }
115
- `,Pi=Ot.css`
108
+ font-family: ${$t.fontFamily};
109
+ font-size: ${$t.fontSize};
110
+ font-weight: ${$t.fontWeight};
111
+ letter-spacing: ${$t.letterSpacing};
112
+ line-height: ${$t.lineHeight};
113
+ text-transform: ${$t.textTransform};
114
+ }
115
+ `,qi=Re.css`
116
116
  .ft-typography--button {
117
- font-family: ${Pt.fontFamily};
118
- font-size: ${Pt.fontSize};
119
- font-weight: ${Pt.fontWeight};
120
- letter-spacing: ${Pt.letterSpacing};
121
- line-height: ${Pt.lineHeight};
122
- text-transform: ${Pt.textTransform};
123
- }
124
- `,_i=Ot.css`
117
+ font-family: ${$e.fontFamily};
118
+ font-size: ${$e.fontSize};
119
+ font-weight: ${$e.fontWeight};
120
+ letter-spacing: ${$e.letterSpacing};
121
+ line-height: ${$e.lineHeight};
122
+ text-transform: ${$e.textTransform};
123
+ }
124
+ `,Yi=Re.css`
125
125
  .ft-typography {
126
126
  vertical-align: inherit;
127
127
  }
128
- `,ki=[Object.keys(lo).map(e=>Si(e))];var Ui=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},ot=class extends $i.FtLitElement{constructor(){super(...arguments),this.variant=ie.body1}render(){return this.element?Qo`
129
- <${Jo(this.element)}
128
+ `,Xi=[Object.keys(Dr).map(e=>Bi(e))];var Ji=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ae=class extends Qi.FtLitElement{constructor(){super(...arguments),this.variant=xt.body1}render(){return this.element?Wo`
129
+ <${$o(this.element)}
130
130
  part="text"
131
131
  class="ft-typography ft-typography--${this.variant}">
132
132
  <slot></slot>
133
- </${Jo(this.element)}>
134
- `:Qo`
133
+ </${$o(this.element)}>
134
+ `:Wo`
135
135
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
136
- `}};ot.styles=[Ci,Ei,Ai,Ri,wi,Ni,Li,Ti,Ii,Pi,_i,...ki];Ui([(0,tr.property)()],ot.prototype,"element",void 0);Ui([(0,tr.property)()],ot.prototype,"variant",void 0);(0,Bi.customElement)("ft-typography")(ot);var Di=u(P()),Mt=u(O()),Oe={distance:Mt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Mt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Mt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Mt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Mt.FtCssVariableFactory.external(Mt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Mt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Mi=Di.css`
136
+ `}};ae.styles=[Wi,zi,Fi,Hi,ji,Vi,Gi,Ki,Zi,qi,Yi,...Xi];Ji([(0,zo.property)()],ae.prototype,"element",void 0);Ji([(0,zo.property)()],ae.prototype,"variant",void 0);(0,ea.customElement)("ft-typography")(ae);var ta=g(B()),Ke=g(P()),Wt={distance:Ke.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ke.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ke.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ke.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ke.FtCssVariableFactory.external(Ke.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ke.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},ra=ta.css`
137
137
  .ft-tooltip--container {
138
138
  display: block;
139
139
  }
@@ -148,21 +148,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
148
148
  box-sizing: border-box;
149
149
  overflow: hidden;
150
150
  width: max-content;
151
- max-width: ${Oe.maxWidth};
151
+ max-width: ${Wt.maxWidth};
152
152
  text-align: center;
153
- padding: ${Oe.distance};
154
- z-index: ${Oe.zIndex};
153
+ padding: ${Wt.distance};
154
+ z-index: ${Wt.zIndex};
155
155
  }
156
156
 
157
157
  .ft-tooltip--content {
158
158
  padding: 4px 8px;
159
- border-radius: ${Oe.borderRadiusS};
160
- background-color: ${Oe.backgroundColor};
161
- color: ${Oe.color};
159
+ border-radius: ${Wt.borderRadiusS};
160
+ background-color: ${Wt.backgroundColor};
161
+ color: ${Wt.color};
162
162
  position: relative;
163
163
  word-break: break-word;
164
164
  }
165
- `;var Hi=["top","right","bottom","left"],Wi=["start","end"],or=Hi.reduce((e,o)=>e.concat(o,o+"-"+Wi[0],o+"-"+Wi[1]),[]),De=Math.min,Zt=Math.max,Me=Math.round;var Wt=e=>({x:e,y:e}),el={left:"right",right:"left",bottom:"top",top:"bottom"},ol={start:"end",end:"start"};function rr(e,o,r){return Zt(e,De(o,r))}function co(e,o){return typeof e=="function"?e(o):e}function Ce(e){return e.split("-")[0]}function jt(e){return e.split("-")[1]}function ir(e){return e==="x"?"y":"x"}function nr(e){return e==="y"?"height":"width"}function po(e){return["top","bottom"].includes(Ce(e))?"y":"x"}function ar(e){return ir(po(e))}function zi(e,o,r){r===void 0&&(r=!1);let i=jt(e),n=ar(e),a=nr(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[a]>o.floating[a]&&(s=er(s)),[s,er(s)]}function Fi(e){return e.replace(/start|end/g,o=>ol[o])}function er(e){return e.replace(/left|right|bottom|top/g,o=>el[o])}function rl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Gi(e){return typeof e!="number"?rl(e):{top:e,right:e,bottom:e,left:e}}function ne(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ki(e,o,r){let{reference:i,floating:n}=e,a=po(o),s=ar(o),p=nr(s),f=Ce(o),h=a==="y",y=i.x+i.width/2-n.width/2,x=i.y+i.height/2-n.height/2,w=i[p]/2-n[p]/2,A;switch(f){case"top":A={x:y,y:i.y-n.height};break;case"bottom":A={x:y,y:i.y+i.height};break;case"right":A={x:i.x+i.width,y:x};break;case"left":A={x:i.x-n.width,y:x};break;default:A={x:i.x,y:i.y}}switch(jt(o)){case"start":A[s]-=w*(r&&h?-1:1);break;case"end":A[s]+=w*(r&&h?-1:1);break}return A}var Vi=async(e,o,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,p=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:n}),{x:y,y:x}=Ki(h,i,f),w=i,A={},T=0;for(let M=0;M<p.length;M++){let{name:W,fn:B}=p[M],{x:z,y:tt,data:it,reset:X}=await B({x:y,y:x,initialPlacement:i,placement:w,strategy:n,middlewareData:A,rects:h,platform:s,elements:{reference:e,floating:o}});if(y=z??y,x=tt??x,A={...A,[W]:{...A[W],...it}},X&&T<=50){T++,typeof X=="object"&&(X.placement&&(w=X.placement),X.rects&&(h=X.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:n}):X.rects),{x:y,y:x}=Ki(h,w,f)),M=-1;continue}}return{x:y,y:x,placement:w,strategy:n,middlewareData:A}};async function lr(e,o){var r;o===void 0&&(o={});let{x:i,y:n,platform:a,rects:s,elements:p,strategy:f}=e,{boundary:h="clippingAncestors",rootBoundary:y="viewport",elementContext:x="floating",altBoundary:w=!1,padding:A=0}=co(o,e),T=Gi(A),W=p[w?x==="floating"?"reference":"floating":x],B=ne(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(W)))==null||r?W:W.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(p.floating)),boundary:h,rootBoundary:y,strategy:f})),z=x==="floating"?{...s.floating,x:i,y:n}:s.reference,tt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p.floating)),it=await(a.isElement==null?void 0:a.isElement(tt))?await(a.getScale==null?void 0:a.getScale(tt))||{x:1,y:1}:{x:1,y:1},X=ne(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:z,offsetParent:tt,strategy:f}):z);return{top:(B.top-X.top+T.top)/it.y,bottom:(X.bottom-B.bottom+T.bottom)/it.y,left:(B.left-X.left+T.left)/it.x,right:(X.right-B.right+T.right)/it.x}}function il(e,o,r){return(e?[...r.filter(n=>jt(n)===e),...r.filter(n=>jt(n)!==e)]:r.filter(n=>Ce(n)===n)).filter(n=>e?jt(n)===e||(o?Fi(n)!==n:!1):!0)}var sr=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,i,n;let{rects:a,middlewareData:s,placement:p,platform:f,elements:h}=o,{crossAxis:y=!1,alignment:x,allowedPlacements:w=or,autoAlignment:A=!0,...T}=co(e,o),M=x!==void 0||w===or?il(x||null,A,w):w,W=await lr(o,T),B=((r=s.autoPlacement)==null?void 0:r.index)||0,z=M[B];if(z==null)return{};let tt=zi(z,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(p!==z)return{reset:{placement:M[0]}};let it=[W[Ce(z)],W[tt[0]],W[tt[1]]],X=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:z,overflows:it}],eo=M[B+1];if(eo)return{data:{index:B+1,overflows:X},reset:{placement:eo}};let yt=X.map(d=>{let m=jt(d.placement);return[d.placement,m&&y?d.overflows.slice(0,2).reduce((C,q)=>C+q,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),de=((n=yt.filter(d=>d[2].slice(0,jt(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||yt[0][0];return de!==p?{data:{index:B+1,overflows:X},reset:{placement:de}}:{}}}};var cr=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:i,placement:n}=o,{mainAxis:a=!0,crossAxis:s=!1,limiter:p={fn:W=>{let{x:B,y:z}=W;return{x:B,y:z}}},...f}=co(e,o),h={x:r,y:i},y=await lr(o,f),x=po(Ce(n)),w=ir(x),A=h[w],T=h[x];if(a){let W=w==="y"?"top":"left",B=w==="y"?"bottom":"right",z=A+y[W],tt=A-y[B];A=rr(z,A,tt)}if(s){let W=x==="y"?"top":"left",B=x==="y"?"bottom":"right",z=T+y[W],tt=T-y[B];T=rr(z,T,tt)}let M=p.fn({...o,[w]:A,[x]:T});return{...M,data:{x:M.x-r,y:M.y-i}}}}};function Ht(e){return ji(e)?(e.nodeName||"").toLowerCase():"#document"}function dt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function zt(e){var o;return(o=(ji(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function ji(e){return e instanceof Node||e instanceof dt(e).Node}function _t(e){return e instanceof Element||e instanceof dt(e).Element}function Nt(e){return e instanceof HTMLElement||e instanceof dt(e).HTMLElement}function Zi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof dt(e).ShadowRoot}function Ee(e){let{overflow:o,overflowX:r,overflowY:i,display:n}=gt(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+r)&&!["inline","contents"].includes(n)}function Yi(e){return["table","td","th"].includes(Ht(e))}function uo(e){let o=ho(),r=gt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Xi(e){let o=ae(e);for(;Nt(o)&&!We(o);){if(uo(o))return o;o=ae(o)}return null}function ho(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function We(e){return["html","body","#document"].includes(Ht(e))}function gt(e){return dt(e).getComputedStyle(e)}function He(e){return _t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ae(e){if(Ht(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Zi(e)&&e.host||zt(e);return Zi(o)?o.host:o}function qi(e){let o=ae(e);return We(o)?e.ownerDocument?e.ownerDocument.body:e.body:Nt(o)&&Ee(o)?o:qi(o)}function fo(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);let n=qi(e),a=n===((i=e.ownerDocument)==null?void 0:i.body),s=dt(n);return a?o.concat(s,s.visualViewport||[],Ee(n)?n:[],s.frameElement&&r?fo(s.frameElement):[]):o.concat(n,fo(n,[],r))}function tn(e){let o=gt(e),r=parseFloat(o.width)||0,i=parseFloat(o.height)||0,n=Nt(e),a=n?e.offsetWidth:r,s=n?e.offsetHeight:i,p=Me(r)!==a||Me(i)!==s;return p&&(r=a,i=s),{width:r,height:i,$:p}}function en(e){return _t(e)?e:e.contextElement}function Ae(e){let o=en(e);if(!Nt(o))return Wt(1);let r=o.getBoundingClientRect(),{width:i,height:n,$:a}=tn(o),s=(a?Me(r.width):r.width)/i,p=(a?Me(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var nl=Wt(0);function on(e){let o=dt(e);return!ho()||!o.visualViewport?nl:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function al(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==dt(e)?!1:o}function ze(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);let n=e.getBoundingClientRect(),a=en(e),s=Wt(1);o&&(i?_t(i)&&(s=Ae(i)):s=Ae(e));let p=al(a,r,i)?on(a):Wt(0),f=(n.left+p.x)/s.x,h=(n.top+p.y)/s.y,y=n.width/s.x,x=n.height/s.y;if(a){let w=dt(a),A=i&&_t(i)?dt(i):i,T=w.frameElement;for(;T&&i&&A!==w;){let M=Ae(T),W=T.getBoundingClientRect(),B=gt(T),z=W.left+(T.clientLeft+parseFloat(B.paddingLeft))*M.x,tt=W.top+(T.clientTop+parseFloat(B.paddingTop))*M.y;f*=M.x,h*=M.y,y*=M.x,x*=M.y,f+=z,h+=tt,T=dt(T).frameElement}}return ne({width:y,height:x,x:f,y:h})}function ll(e){let{rect:o,offsetParent:r,strategy:i}=e,n=Nt(r),a=zt(r);if(r===a)return o;let s={scrollLeft:0,scrollTop:0},p=Wt(1),f=Wt(0);if((n||!n&&i!=="fixed")&&((Ht(r)!=="body"||Ee(a))&&(s=He(r)),Nt(r))){let h=ze(r);p=Ae(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+f.x,y:o.y*p.y-s.scrollTop*p.y+f.y}}function sl(e){return Array.from(e.getClientRects())}function rn(e){return ze(zt(e)).left+He(e).scrollLeft}function cl(e){let o=zt(e),r=He(e),i=e.ownerDocument.body,n=Zt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),a=Zt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+rn(e),p=-r.scrollTop;return gt(i).direction==="rtl"&&(s+=Zt(o.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:p}}function pl(e,o){let r=dt(e),i=zt(e),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,p=0,f=0;if(n){a=n.width,s=n.height;let h=ho();(!h||h&&o==="fixed")&&(p=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:p,y:f}}function dl(e,o){let r=ze(e,!0,o==="fixed"),i=r.top+e.clientTop,n=r.left+e.clientLeft,a=Nt(e)?Ae(e):Wt(1),s=e.clientWidth*a.x,p=e.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:s,height:p,x:f,y:h}}function Ji(e,o,r){let i;if(o==="viewport")i=pl(e,r);else if(o==="document")i=cl(zt(e));else if(_t(o))i=dl(o,r);else{let n=on(e);i={...o,x:o.x-n.x,y:o.y-n.y}}return ne(i)}function nn(e,o){let r=ae(e);return r===o||!_t(r)||We(r)?!1:gt(r).position==="fixed"||nn(r,o)}function fl(e,o){let r=o.get(e);if(r)return r;let i=fo(e,[],!1).filter(p=>_t(p)&&Ht(p)!=="body"),n=null,a=gt(e).position==="fixed",s=a?ae(e):e;for(;_t(s)&&!We(s);){let p=gt(s),f=uo(s);!f&&p.position==="fixed"&&(n=null),(a?!f&&!n:!f&&p.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ee(s)&&!f&&nn(e,s))?i=i.filter(y=>y!==s):n=p,s=ae(s)}return o.set(e,i),i}function ul(e){let{element:o,boundary:r,rootBoundary:i,strategy:n}=e,s=[...r==="clippingAncestors"?fl(o,this._c):[].concat(r),i],p=s[0],f=s.reduce((h,y)=>{let x=Ji(o,y,n);return h.top=Zt(x.top,h.top),h.right=De(x.right,h.right),h.bottom=De(x.bottom,h.bottom),h.left=Zt(x.left,h.left),h},Ji(o,p,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function hl(e){return tn(e)}function ml(e,o,r){let i=Nt(o),n=zt(o),a=r==="fixed",s=ze(e,!0,a,o),p={scrollLeft:0,scrollTop:0},f=Wt(0);if(i||!i&&!a)if((Ht(o)!=="body"||Ee(n))&&(p=He(o)),i){let h=ze(o,!0,a,o);f.x=h.x+o.clientLeft,f.y=h.y+o.clientTop}else n&&(f.x=rn(n));return{x:s.left+p.scrollLeft-f.x,y:s.top+p.scrollTop-f.y,width:s.width,height:s.height}}function Qi(e,o){return!Nt(e)||gt(e).position==="fixed"?null:o?o(e):e.offsetParent}function an(e,o){let r=dt(e);if(!Nt(e))return r;let i=Qi(e,o);for(;i&&Yi(i)&&gt(i).position==="static";)i=Qi(i,o);return i&&(Ht(i)==="html"||Ht(i)==="body"&&gt(i).position==="static"&&!uo(i))?r:i||Xi(e)||r}var yl=async function(e){let{reference:o,floating:r,strategy:i}=e,n=this.getOffsetParent||an,a=this.getDimensions;return{reference:ml(o,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function gl(e){return gt(e).direction==="rtl"}var mo={convertOffsetParentRelativeRectToViewportRelativeRect:ll,getDocumentElement:zt,getClippingRect:ul,getOffsetParent:an,getElementRects:yl,getClientRects:sl,getDimensions:hl,getScale:Ae,isElement:_t,isRTL:gl};var ln=(e,o,r)=>{let i=new Map,n={platform:mo,...r},a={...n.platform,_c:i};return Vi(e,o,{...n,platform:a})};function sn(e){return bl(e)}function pr(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function bl(e){for(let o=e;o;o=pr(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=pr(e);o;o=pr(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function yo(e,o,r){return ln(e,o,{platform:{...mo,getOffsetParent:i=>mo.getOffsetParent(i,sn)},middleware:[cr({crossAxis:!0}),sr({allowedPlacements:[r]})]})}var ft=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},$=class extends Fe.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Fe.Debouncer,this.revealDebouncer=new Fe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return cn.html`
165
+ `;var na=["top","right","bottom","left"],oa=["start","end"],Ho=na.reduce((e,t)=>e.concat(t,t+"-"+oa[0],t+"-"+oa[1]),[]),lr=Math.min,rt=Math.max,cr=Math.round;var Ze=e=>({x:e,y:e}),sc={left:"right",right:"left",bottom:"top",top:"bottom"},lc={start:"end",end:"start"};function jo(e,t,o){return rt(e,lr(t,o))}function Ur(e,t){return typeof e=="function"?e(t):e}function zt(e){return e.split("-")[0]}function ot(e){return e.split("-")[1]}function Vo(e){return e==="x"?"y":"x"}function Go(e){return e==="y"?"height":"width"}function Br(e){return["top","bottom"].includes(zt(e))?"y":"x"}function Ko(e){return Vo(Br(e))}function ia(e,t,o){o===void 0&&(o=!1);let n=ot(e),i=Ko(e),a=Go(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Fo(s)),[s,Fo(s)]}function aa(e){return e.replace(/start|end/g,t=>lc[t])}function Fo(e){return e.replace(/left|right|bottom|top/g,t=>sc[t])}function cc(e){return{top:0,right:0,bottom:0,left:0,...e}}function sa(e){return typeof e!="number"?cc(e):{top:e,right:e,bottom:e,left:e}}function vt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function la(e,t,o){let{reference:n,floating:i}=e,a=Br(t),s=Ko(t),c=Go(s),p=zt(t),f=a==="y",u=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[c]/2-i[c]/2,x;switch(p){case"top":x={x:u,y:n.y-i.height};break;case"bottom":x={x:u,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:m};break;case"left":x={x:n.x-i.width,y:m};break;default:x={x:n.x,y:n.y}}switch(ot(t)){case"start":x[s]-=y*(o&&f?-1:1);break;case"end":x[s]+=y*(o&&f?-1:1);break}return x}var ca=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:m}=la(f,n,p),y=n,x={},b=0;for(let S=0;S<c.length;S++){let{name:R,fn:w}=c[S],{x:A,y:I,data:L,reset:W}=await w({x:u,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:x,rects:f,platform:s,elements:{reference:e,floating:t}});if(u=A??u,m=I??m,x={...x,[R]:{...x[R],...L}},W&&b<=50){b++,typeof W=="object"&&(W.placement&&(y=W.placement),W.rects&&(f=W.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):W.rects),{x:u,y:m}=la(f,y,p)),S=-1;continue}}return{x:u,y:m,placement:y,strategy:i,middlewareData:x}};async function Zo(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:p}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:m="floating",altBoundary:y=!1,padding:x=0}=Ur(t,e),b=sa(x),R=c[y?m==="floating"?"reference":"floating":m],w=vt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(R)))==null||o?R:R.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:u,strategy:p})),A=m==="floating"?{...s.floating,x:n,y:i}:s.reference,I=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),L=await(a.isElement==null?void 0:a.isElement(I))?await(a.getScale==null?void 0:a.getScale(I))||{x:1,y:1}:{x:1,y:1},W=vt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:I,strategy:p}):A);return{top:(w.top-W.top+b.top)/L.y,bottom:(W.bottom-w.bottom+b.bottom)/L.y,left:(w.left-W.left+b.left)/L.x,right:(W.right-w.right+b.right)/L.x}}function pc(e,t,o){return(e?[...o.filter(i=>ot(i)===e),...o.filter(i=>ot(i)!==e)]:o.filter(i=>zt(i)===i)).filter(i=>e?ot(i)===e||(t?aa(i)!==i:!1):!0)}var qo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:p,elements:f}=t,{crossAxis:u=!1,alignment:m,allowedPlacements:y=Ho,autoAlignment:x=!0,...b}=Ur(e,t),S=m!==void 0||y===Ho?pc(m||null,x,y):y,R=await Zo(t,b),w=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[w];if(A==null)return{};let I=ia(A,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(c!==A)return{reset:{placement:S[0]}};let L=[R[zt(A)],R[I[0]],R[I[1]]],W=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:L}],he=S[w+1];if(he)return{data:{index:w+1,overflows:W},reset:{placement:he}};let ee=W.map(h=>{let v=ot(h.placement);return[h.placement,v&&u?h.overflows.slice(0,2).reduce((N,H)=>N+H,0):h.overflows[0],h.overflows]}).sort((h,v)=>h[1]-v[1]),Ae=((i=ee.filter(h=>h[2].slice(0,ot(h[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||ee[0][0];return Ae!==c?{data:{index:w+1,overflows:W},reset:{placement:Ae}}:{}}}};var Yo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:R=>{let{x:w,y:A}=R;return{x:w,y:A}}},...p}=Ur(e,t),f={x:o,y:n},u=await Zo(t,p),m=Br(zt(i)),y=Vo(m),x=f[y],b=f[m];if(a){let R=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=x+u[R],I=x-u[w];x=jo(A,x,I)}if(s){let R=m==="y"?"top":"left",w=m==="y"?"bottom":"right",A=b+u[R],I=b-u[w];b=jo(A,b,I)}let S=c.fn({...t,[y]:x,[m]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function qe(e){return da(e)?(e.nodeName||"").toLowerCase():"#document"}function me(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ye(e){var t;return(t=(da(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function da(e){return e instanceof Node||e instanceof me(e).Node}function We(e){return e instanceof Element||e instanceof me(e).Element}function ke(e){return e instanceof HTMLElement||e instanceof me(e).HTMLElement}function pa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof me(e).ShadowRoot}function Ft(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function fa(e){return["table","td","th"].includes(qe(e))}function Wr(e){let t=zr(),o=ve(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ua(e){let t=St(e);for(;ke(t)&&!pr(t);){if(Wr(t))return t;t=St(t)}return null}function zr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pr(e){return["html","body","#document"].includes(qe(e))}function ve(e){return me(e).getComputedStyle(e)}function dr(e){return We(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function St(e){if(qe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||pa(e)&&e.host||Ye(e);return pa(t)?t.host:t}function ha(e){let t=St(e);return pr(t)?e.ownerDocument?e.ownerDocument.body:e.body:ke(t)&&Ft(t)?t:ha(t)}function $r(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=ha(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=me(i);return a?t.concat(s,s.visualViewport||[],Ft(i)?i:[],s.frameElement&&o?$r(s.frameElement):[]):t.concat(i,$r(i,[],o))}function ga(e){let t=ve(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=ke(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=cr(o)!==a||cr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function ba(e){return We(e)?e:e.contextElement}function Ht(e){let t=ba(e);if(!ke(t))return Ze(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=ga(t),s=(a?cr(o.width):o.width)/n,c=(a?cr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var dc=Ze(0);function xa(e){let t=me(e);return!zr()||!t.visualViewport?dc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function fc(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==me(e)?!1:t}function fr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=ba(e),s=Ze(1);t&&(n?We(n)&&(s=Ht(n)):s=Ht(e));let c=fc(a,o,n)?xa(a):Ze(0),p=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,u=i.width/s.x,m=i.height/s.y;if(a){let y=me(a),x=n&&We(n)?me(n):n,b=y.frameElement;for(;b&&n&&x!==y;){let S=Ht(b),R=b.getBoundingClientRect(),w=ve(b),A=R.left+(b.clientLeft+parseFloat(w.paddingLeft))*S.x,I=R.top+(b.clientTop+parseFloat(w.paddingTop))*S.y;p*=S.x,f*=S.y,u*=S.x,m*=S.y,p+=A,f+=I,b=me(b).frameElement}}return vt({width:u,height:m,x:p,y:f})}function uc(e){let{rect:t,offsetParent:o,strategy:n}=e,i=ke(o),a=Ye(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=Ze(1),p=Ze(0);if((i||!i&&n!=="fixed")&&((qe(o)!=="body"||Ft(a))&&(s=dr(o)),ke(o))){let f=fr(o);c=Ht(o),p.x=f.x+o.clientLeft,p.y=f.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+p.x,y:t.y*c.y-s.scrollTop*c.y+p.y}}function hc(e){return Array.from(e.getClientRects())}function va(e){return fr(Ye(e)).left+dr(e).scrollLeft}function mc(e){let t=Ye(e),o=dr(e),n=e.ownerDocument.body,i=rt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=rt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+va(e),c=-o.scrollTop;return ve(n).direction==="rtl"&&(s+=rt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function yc(e,t){let o=me(e),n=Ye(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,p=0;if(i){a=i.width,s=i.height;let f=zr();(!f||f&&t==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:c,y:p}}function gc(e,t){let o=fr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=ke(e)?Ht(e):Ze(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:s,height:c,x:p,y:f}}function ma(e,t,o){let n;if(t==="viewport")n=yc(e,o);else if(t==="document")n=mc(Ye(e));else if(We(t))n=gc(t,o);else{let i=xa(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return vt(n)}function Sa(e,t){let o=St(e);return o===t||!We(o)||pr(o)?!1:ve(o).position==="fixed"||Sa(o,t)}function bc(e,t){let o=t.get(e);if(o)return o;let n=$r(e,[],!1).filter(c=>We(c)&&qe(c)!=="body"),i=null,a=ve(e).position==="fixed",s=a?St(e):e;for(;We(s)&&!pr(s);){let c=ve(s),p=Wr(s);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ft(s)&&!p&&Sa(e,s))?n=n.filter(u=>u!==s):i=c,s=St(s)}return t.set(e,n),n}function xc(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?bc(t,this._c):[].concat(o),n],c=s[0],p=s.reduce((f,u)=>{let m=ma(t,u,i);return f.top=rt(m.top,f.top),f.right=lr(m.right,f.right),f.bottom=lr(m.bottom,f.bottom),f.left=rt(m.left,f.left),f},ma(t,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function vc(e){return ga(e)}function Sc(e,t,o){let n=ke(t),i=Ye(t),a=o==="fixed",s=fr(e,!0,a,t),c={scrollLeft:0,scrollTop:0},p=Ze(0);if(n||!n&&!a)if((qe(t)!=="body"||Ft(i))&&(c=dr(t)),n){let f=fr(t,!0,a,t);p.x=f.x+t.clientLeft,p.y=f.y+t.clientTop}else i&&(p.x=va(i));return{x:s.left+c.scrollLeft-p.x,y:s.top+c.scrollTop-p.y,width:s.width,height:s.height}}function ya(e,t){return!ke(e)||ve(e).position==="fixed"?null:t?t(e):e.offsetParent}function Oa(e,t){let o=me(e);if(!ke(e))return o;let n=ya(e,t);for(;n&&fa(n)&&ve(n).position==="static";)n=ya(n,t);return n&&(qe(n)==="html"||qe(n)==="body"&&ve(n).position==="static"&&!Wr(n))?o:n||ua(e)||o}var Oc=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||Oa,a=this.getDimensions;return{reference:Sc(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Cc(e){return ve(e).direction==="rtl"}var Fr={convertOffsetParentRelativeRectToViewportRelativeRect:uc,getDocumentElement:Ye,getClippingRect:xc,getOffsetParent:Oa,getElementRects:Oc,getClientRects:hc,getDimensions:vc,getScale:Ht,isElement:We,isRTL:Cc};var Ca=(e,t,o)=>{let n=new Map,i={platform:Fr,...o},a={...i.platform,_c:n};return ca(e,t,{...i,platform:a})};function Ea(e){return Ec(e)}function Xo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ec(e){for(let t=e;t;t=Xo(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Xo(e);t;t=Xo(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Hr(e,t,o){return Ca(e,t,{platform:{...Fr,getOffsetParent:n=>Fr.getOffsetParent(n,Ea)},middleware:[Yo({crossAxis:!0}),qo({allowedPlacements:[o]})]})}var ye=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},j=class extends ur.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ur.Debouncer,this.revealDebouncer=new ur.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return wa.html`
166
166
  <div part="container"
167
167
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
168
168
  @mouseenter=${this.onHover}
@@ -180,7 +180,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
180
180
  </div>
181
181
  </div>
182
182
  </div>
183
- `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(r=>o.has(r))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",yo(this.slottedElement,this.tooltip,this.position).then(({x:o,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,r){return Math.max(o,Math.min(0,-r))}};$.elementDefinitions={"ft-typography":ot};$.styles=Mi;ft([(0,Y.property)()],$.prototype,"text",void 0);ft([(0,Y.property)({type:Boolean})],$.prototype,"manual",void 0);ft([(0,Y.property)({type:Boolean})],$.prototype,"inline",void 0);ft([(0,Y.property)({type:Number})],$.prototype,"delay",void 0);ft([(0,Y.property)()],$.prototype,"position",void 0);ft([(0,Y.queryAssignedNodes)()],$.prototype,"slotNodes",void 0);ft([(0,Y.query)(".ft-tooltip--container")],$.prototype,"container",void 0);ft([(0,Y.query)(".ft-tooltip")],$.prototype,"tooltip",void 0);ft([(0,Y.query)(".ft-tooltip--content")],$.prototype,"tooltipContent",void 0);ft([(0,Y.state)()],$.prototype,"visible",void 0);ft([(0,Y.eventOptions)({passive:!0})],$.prototype,"onTouch",null);ft([(0,Y.eventOptions)({passive:!0})],$.prototype,"onHover",null);ft([(0,Y.eventOptions)({passive:!0})],$.prototype,"onOut",null);ft([(0,Y.eventOptions)({passive:!0})],$.prototype,"onClick",null);(0,pn.customElement)("ft-tooltip")($);var jn=u(O());var So=u(P()),ct=u(nt()),Zn=u(Ge()),Co=u(O());var Sn=u(O());var xn=u(P()),rt=u(nt()),vn=u(Ge()),Ke=u(O());var gn=u(P()),K=u(O()),fn=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorContent),N={color:fn,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",fn),opacityContentOnSurfacePressed:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:K.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},un=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorPrimary),hn={color:un,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",un)},mn=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorSecondary),yn={color:mn,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",mn)},bn=gn.css`
183
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Hr(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};j.elementDefinitions={"ft-typography":ae};j.styles=ra;ye([(0,re.property)()],j.prototype,"text",void 0);ye([(0,re.property)({type:Boolean})],j.prototype,"manual",void 0);ye([(0,re.property)({type:Boolean})],j.prototype,"inline",void 0);ye([(0,re.property)({type:Number})],j.prototype,"delay",void 0);ye([(0,re.property)()],j.prototype,"position",void 0);ye([(0,re.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);ye([(0,re.query)(".ft-tooltip--container")],j.prototype,"container",void 0);ye([(0,re.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);ye([(0,re.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);ye([(0,re.state)()],j.prototype,"visible",void 0);ye([(0,re.eventOptions)({passive:!0})],j.prototype,"onTouch",null);ye([(0,re.eventOptions)({passive:!0})],j.prototype,"onHover",null);ye([(0,re.eventOptions)({passive:!0})],j.prototype,"onOut",null);ye([(0,re.eventOptions)({passive:!0})],j.prototype,"onClick",null);(0,Aa.customElement)("ft-tooltip")(j);var ps=g(P());var Zr=g(B()),fe=g(Y()),cs=g(hr()),Yr=g(P());var Ua=g(P());var Da=g(B()),se=g(Y()),Ma=g(hr()),mr=g(P());var _a=g(B()),X=g(P()),Na=X.FtCssVariableFactory.extend("--ft-ripple-color","",X.designSystemVariables.colorContent),M={color:Na,backgroundColor:X.FtCssVariableFactory.extend("--ft-ripple-background-color","",Na),opacityContentOnSurfacePressed:X.FtCssVariableFactory.external(X.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:X.FtCssVariableFactory.external(X.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:X.FtCssVariableFactory.external(X.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:X.FtCssVariableFactory.external(X.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:X.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ta=X.FtCssVariableFactory.extend("--ft-ripple-color","",X.designSystemVariables.colorPrimary),Pa={color:Ta,backgroundColor:X.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ta)},La=X.FtCssVariableFactory.extend("--ft-ripple-color","",X.designSystemVariables.colorSecondary),Ia={color:La,backgroundColor:X.FtCssVariableFactory.extend("--ft-ripple-background-color","",La)},ka=_a.css`
184
184
  :host {
185
185
  display: contents;
186
186
  }
@@ -193,7 +193,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
193
193
 
194
194
  .ft-ripple:not(.ft-ripple--unbounded) {
195
195
  overflow: hidden;
196
- border-radius: ${N.borderRadius};
196
+ border-radius: ${M.borderRadius};
197
197
  }
198
198
 
199
199
  .ft-ripple .ft-ripple--background,
@@ -227,27 +227,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
227
227
  }
228
228
 
229
229
  .ft-ripple .ft-ripple--background {
230
- background-color: ${N.backgroundColor};
230
+ background-color: ${M.backgroundColor};
231
231
  }
232
232
 
233
233
  .ft-ripple .ft-ripple--effect {
234
- background-color: ${N.color};
234
+ background-color: ${M.color};
235
235
  }
236
236
 
237
237
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
238
- background-color: ${yn.backgroundColor};
238
+ background-color: ${Ia.backgroundColor};
239
239
  }
240
240
 
241
241
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
242
- background-color: ${yn.color};
242
+ background-color: ${Ia.color};
243
243
  }
244
244
 
245
245
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
246
- background-color: ${hn.backgroundColor};
246
+ background-color: ${Pa.backgroundColor};
247
247
  }
248
248
 
249
249
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
250
- background-color: ${hn.color};
250
+ background-color: ${Pa.color};
251
251
  }
252
252
 
253
253
  .ft-ripple .ft-ripple--background {
@@ -277,33 +277,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
277
277
  }
278
278
 
279
279
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
280
- opacity: ${N.opacityContentOnSurfaceHover};
280
+ opacity: ${M.opacityContentOnSurfaceHover};
281
281
  }
282
282
 
283
283
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
284
- opacity: ${N.opacityContentOnSurfaceSelected};
284
+ opacity: ${M.opacityContentOnSurfaceSelected};
285
285
  }
286
286
 
287
287
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
288
- opacity: ${N.opacityContentOnSurfaceFocused};
288
+ opacity: ${M.opacityContentOnSurfaceFocused};
289
289
  }
290
290
 
291
291
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
292
- opacity: ${N.opacityContentOnSurfacePressed};
292
+ opacity: ${M.opacityContentOnSurfacePressed};
293
293
  transform: translate(-50%, -50%) scale(1);
294
294
  }
295
- `;var ut=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},_=class extends Ke.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.originX=0,this.originY=0,this.debouncer=new Ke.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ke.Debouncer(10),this.moveRipple=o=>{var r,i;let{x:n,y:a}=this.getCoordinates(o),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"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 xn.html`
295
+ `;var ge=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},$=class extends mr.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.originX=0,this.originY=0,this.debouncer=new mr.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new mr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.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.isFocusVisible(t?.target)&&!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 Da.html`
296
296
  <style>
297
297
  .ft-ripple .ft-ripple--effect {
298
298
  left: ${this.originX}px;
299
299
  top: ${this.originY}px;
300
300
  }
301
301
  </style>
302
- <div class="${(0,vn.classMap)(o)}">
302
+ <div class="${(0,Ma.classMap)(t)}">
303
303
  <div class="ft-ripple--background"></div>
304
304
  <div class="ft-ripple--effect"></div>
305
305
  </div>
306
- `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var r,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,r;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>f=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},s={passive:!0};o.addEventListener("mouseover",this.startHover,s),o.addEventListener("mousemove",this.moveRipple,s),o.addEventListener("mouseleave",this.endHover,s),o.addEventListener("mousedown",i,s),o.addEventListener("touchstart",n,s),o.addEventListener("touchmove",this.moveRipple,s),o.addEventListener("keydown",a,s),o.addEventListener("focus",this.startFocus,s),o.addEventListener("blur",this.endFocus,s),o.addEventListener("focusin",this.startFocus,s),o.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,s),o.removeEventListener("mousemove",this.moveRipple,s),o.removeEventListener("mouseleave",this.endHover,s),o.removeEventListener("mousedown",i,s),o.removeEventListener("touchstart",n,s),o.removeEventListener("touchmove",this.moveRipple,s),o.removeEventListener("keydown",a,s),o.removeEventListener("focus",this.startFocus,s),o.removeEventListener("blur",this.endFocus,s),o.removeEventListener("focusin",this.startFocus,s),o.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,i=o,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let r of o.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};_.elementDefinitions={};_.styles=bn;ut([(0,rt.property)({type:Boolean})],_.prototype,"primary",void 0);ut([(0,rt.property)({type:Boolean})],_.prototype,"secondary",void 0);ut([(0,rt.property)({type:Boolean})],_.prototype,"unbounded",void 0);ut([(0,rt.property)({type:Boolean})],_.prototype,"activated",void 0);ut([(0,rt.property)({type:Boolean})],_.prototype,"selected",void 0);ut([(0,rt.property)({type:Boolean})],_.prototype,"disabled",void 0);ut([(0,rt.state)()],_.prototype,"hovered",void 0);ut([(0,rt.state)()],_.prototype,"focused",void 0);ut([(0,rt.state)()],_.prototype,"pressed",void 0);ut([(0,rt.state)()],_.prototype,"rippling",void 0);ut([(0,rt.state)()],_.prototype,"originX",void 0);ut([(0,rt.state)()],_.prototype,"originY",void 0);ut([(0,rt.query)(".ft-ripple")],_.prototype,"ripple",void 0);ut([(0,rt.query)(".ft-ripple--effect")],_.prototype,"rippleEffect",void 0);(0,Sn.customElement)("ft-ripple")(_);var Nn=u(O());var Ve=u(P()),le=u(nt()),Rn=u(O()),wn=u(Cn());var go;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(go||(go={}));var g;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(g||(g={}));var xf=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var vf={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var En=u(P()),Ft=u(O()),at={size:Ft.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ft.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ft.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ft.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ft.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ft.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ft.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ft.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},An=En.css`
306
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>p=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=ka;ge([(0,se.property)({type:Boolean})],$.prototype,"primary",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"secondary",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"unbounded",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"activated",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"selected",void 0);ge([(0,se.property)({type:Boolean})],$.prototype,"disabled",void 0);ge([(0,se.state)()],$.prototype,"hovered",void 0);ge([(0,se.state)()],$.prototype,"focused",void 0);ge([(0,se.state)()],$.prototype,"pressed",void 0);ge([(0,se.state)()],$.prototype,"rippling",void 0);ge([(0,se.state)()],$.prototype,"originX",void 0);ge([(0,se.state)()],$.prototype,"originY",void 0);ge([(0,se.query)(".ft-ripple")],$.prototype,"ripple",void 0);ge([(0,se.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,Ua.customElement)("ft-ripple")($);var ja=g(P());var yr=g(B()),Ot=g(Y()),Fa=g(P()),Ha=g($a());var jr;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(jr||(jr={}));var O;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(O||(O={}));var cm=new Map([...["abw"].map(e=>[e,O.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var pm={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var Wa=g(B()),Xe=g(P()),le={size:Xe.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Xe.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},za=Wa.css`
307
307
  :host, i.ft-icon {
308
308
  display: inline-flex;
309
309
  align-items: center;
@@ -312,14 +312,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
312
312
  }
313
313
 
314
314
  :host {
315
- width: ${at.size};
316
- height: ${at.size};
315
+ width: ${le.size};
316
+ height: ${le.size};
317
317
  }
318
318
 
319
319
  i.ft-icon {
320
320
  width: 100%;
321
321
  height: 100%;
322
- font-size: ${at.size};
322
+ font-size: ${le.size};
323
323
  line-height: 1;
324
324
  font-weight: normal;
325
325
  text-transform: none;
@@ -330,33 +330,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
330
330
  text-rendering: auto;
331
331
  -webkit-font-smoothing: antialiased;
332
332
  -moz-osx-font-smoothing: grayscale;
333
- vertical-align: ${at.verticalAlign};
333
+ vertical-align: ${le.verticalAlign};
334
334
  }
335
335
 
336
336
  i.ft-icon.ft-icon--fluid-topics {
337
- font-family: ${at.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
337
+ font-family: ${le.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
338
338
 
339
339
  /* Ugly fix because font is broken */
340
- font-size: calc(0.75 * ${at.size});
341
- line-height: ${at.size};
340
+ font-size: calc(0.75 * ${le.size});
341
+ line-height: ${le.size};
342
342
  position: relative;
343
343
  top: -4%;
344
344
  justify-content: center;
345
345
  }
346
346
 
347
347
  .ft-icon--file-format {
348
- font-family: ${at.fileFormatFontFamily}, ft-mime, sans-serif;
348
+ font-family: ${le.fileFormatFontFamily}, ft-mime, sans-serif;
349
349
  }
350
350
 
351
351
  .ft-icon--material {
352
- font-family: ${at.materialFontFamily}, "Material Icons", sans-serif;
352
+ font-family: ${le.materialFontFamily}, "Material Icons", sans-serif;
353
353
  }
354
- `;var kt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(kt||(kt={}));var bo=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},lt=class extends Rn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ve.nothing}render(){let o=this.variant&&Object.values(kt).includes(this.variant)?this.variant:kt.fluid_topics,r=o!==kt.material||!!this.value;return Ve.html`
355
- <i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
356
- ${(0,wn.unsafeHTML)(this.resolvedIcon)}
357
- <slot ?hidden=${r}></slot>
354
+ `;var ze;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ze||(ze={}));var Vr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ce=class extends Fa.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=yr.nothing}render(){let t=this.variant&&Object.values(ze).includes(this.variant)?this.variant:ze.fluid_topics,o=t!==ze.material||!!this.value;return yr.html`
355
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
356
+ ${(0,Ha.unsafeHTML)(this.resolvedIcon)}
357
+ <slot ?hidden=${o}></slot>
358
358
  </i>
359
- `}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(o){super.update(o),["value","variant"].some(r=>o.has(r))&&this.resolveIcon()}resolveIcon(){var o,r;let i=this.value||this.textContent;switch(this.variant){case kt.file_format:this.resolvedIcon=(o=g[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break;case kt.material:this.resolvedIcon=this.value||Ve.nothing;break;default:this.resolvedIcon=(r=go[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};lt.elementDefinitions={};lt.styles=An;bo([(0,le.property)()],lt.prototype,"variant",void 0);bo([(0,le.property)()],lt.prototype,"value",void 0);bo([(0,le.state)()],lt.prototype,"resolvedIcon",void 0);bo([(0,le.query)("slot")],lt.prototype,"slottedContent",void 0);(0,Nn.customElement)("ft-icon")(lt);var vo=u(P()),R=u(O());var fr=u(O());var je=u(nt()),Mn=u(O());var _n=u(P()),E=u(O());var Ln=u(P()),Ze=u(O()),ht={color:Ze.FtCssVariableFactory.extend("--ft-loader-color","",Ze.designSystemVariables.colorPrimary),size:Ze.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Tn=Ln.css`
359
+ `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case ze.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ze.material:this.resolvedIcon=this.value||yr.nothing;break;default:this.resolvedIcon=(o=jr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ce.elementDefinitions={};ce.styles=za;Vr([(0,Ot.property)()],ce.prototype,"variant",void 0);Vr([(0,Ot.property)()],ce.prototype,"value",void 0);Vr([(0,Ot.state)()],ce.prototype,"resolvedIcon",void 0);Vr([(0,Ot.query)("slot")],ce.prototype,"slottedContent",void 0);(0,ja.customElement)("ft-icon")(ce);var Kr=g(B()),D=g(P());var Qo=g(P());var br=g(Y()),ts=g(P());var qa=g(B()),k=g(P());var Va=g(B()),gr=g(P()),be={color:gr.FtCssVariableFactory.extend("--ft-loader-color","",gr.designSystemVariables.colorPrimary),size:gr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ga=Va.css`
360
360
  :host {
361
361
  line-height: 0;
362
362
  }
@@ -365,8 +365,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
365
365
  display: inline-block;
366
366
  position: relative;
367
367
 
368
- width: ${ht.size};
369
- height: ${ht.size};
368
+ width: ${be.size};
369
+ height: ${be.size};
370
370
  }
371
371
 
372
372
  .ft-loader div {
@@ -375,7 +375,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
375
375
  width: 25%;
376
376
  height: 25%;
377
377
  border-radius: 50%;
378
- background: ${ht.color};
378
+ background: ${be.color};
379
379
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
380
380
  }
381
381
 
@@ -422,10 +422,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
422
422
  transform: translate(0, 0);
423
423
  }
424
424
  100% {
425
- transform: translate(calc(0.35 * ${ht.size}), 0);
425
+ transform: translate(calc(0.35 * ${be.size}), 0);
426
426
  }
427
427
  }
428
- `;var In=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),H={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:In,fontSize:E.FtCssVariableFactory.extend("--ft-button-font-size","",Pt.fontSize),iconSize:E.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:E.FtCssVariableFactory.extend("--ft-button-ripple-color","",In),verticalPadding:E.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOpacityDisabled,"Design system")},Pn=E.FtCssVariableFactory.extend("--ft-button-primary-color","",E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorOnPrimary)),dr={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-primary-background-color","",E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorPrimary)),color:Pn,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Pn)},Ut={borderRadius:E.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusM)),verticalPadding:E.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},kn=[_n.css`
428
+ `;var Ka=k.FtCssVariableFactory.extend("--ft-button-color","",k.designSystemVariables.colorPrimary),K={backgroundColor:k.FtCssVariableFactory.extend("--ft-button-background-color","",k.designSystemVariables.colorSurface),borderRadius:k.FtCssVariableFactory.extend("--ft-button-border-radius","",k.designSystemVariables.borderRadiusL),color:Ka,fontSize:k.FtCssVariableFactory.extend("--ft-button-font-size","",$e.fontSize),iconSize:k.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:k.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ka),verticalPadding:k.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:k.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:k.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:k.FtCssVariableFactory.external(k.designSystemVariables.colorOpacityDisabled,"Design system")},Za=k.FtCssVariableFactory.extend("--ft-button-primary-color","",k.FtCssVariableFactory.extend("--ft-button-color","",k.designSystemVariables.colorOnPrimary)),Jo={backgroundColor:k.FtCssVariableFactory.extend("--ft-button-primary-background-color","",k.FtCssVariableFactory.extend("--ft-button-background-color","",k.designSystemVariables.colorPrimary)),color:Za,rippleColor:k.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Za)},Fe={borderRadius:k.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",k.FtCssVariableFactory.extend("--ft-button-border-radius","",k.designSystemVariables.borderRadiusM)),verticalPadding:k.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:k.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:k.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ya=[qa.css`
429
429
  :host {
430
430
  display: inline-block;
431
431
  max-width: 100%;
@@ -436,7 +436,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
436
436
  box-shadow: 0px 0px 0px transparent;
437
437
  border: 0px solid transparent;
438
438
  text-shadow: 0px 0px 0px transparent;
439
- font-size: ${H.fontSize};
439
+ font-size: ${K.fontSize};
440
440
  }
441
441
 
442
442
  button:hover {
@@ -465,31 +465,31 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
465
465
  border: none;
466
466
  pointer-events: auto;
467
467
 
468
- --ft-button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
469
- --ft-button-internal-color: ${H.color};
470
- ${(0,E.setVariable)(at.size,H.iconSize)};
471
- ${(0,E.setVariable)(N.color,H.rippleColor)};
468
+ --ft-button-internal-line-height: max(calc(${K.fontSize} + 2px), ${K.iconSize});
469
+ --ft-button-internal-color: ${K.color};
470
+ ${(0,k.setVariable)(le.size,K.iconSize)};
471
+ ${(0,k.setVariable)(M.color,K.rippleColor)};
472
472
 
473
- border-radius: ${H.borderRadius};
474
- padding: ${H.verticalPadding} ${H.horizontalPadding};
475
- background-color: ${H.backgroundColor};
473
+ border-radius: ${K.borderRadius};
474
+ padding: ${K.verticalPadding} ${K.horizontalPadding};
475
+ background-color: ${K.backgroundColor};
476
476
  color: var(--ft-button-internal-color);
477
477
  -webkit-mask-image: radial-gradient(white, black);
478
478
  }
479
479
 
480
480
  .ft-button.ft-button--outlined {
481
481
  border: 1px solid var(--ft-button-internal-color);
482
- padding: calc(${H.verticalPadding} - 1px) calc(${H.horizontalPadding} - 1px);
482
+ padding: calc(${K.verticalPadding} - 1px) calc(${K.horizontalPadding} - 1px);
483
483
  }
484
484
 
485
485
  .ft-button.ft-button--dense {
486
- padding: ${Ut.verticalPadding} ${Ut.horizontalPadding};
487
- border-radius: ${Ut.borderRadius};
488
- gap: ${Ut.iconPadding};
486
+ padding: ${Fe.verticalPadding} ${Fe.horizontalPadding};
487
+ border-radius: ${Fe.borderRadius};
488
+ gap: ${Fe.iconPadding};
489
489
  }
490
490
 
491
491
  .ft-button.ft-button--dense.ft-button--outlined {
492
- padding: calc(${Ut.verticalPadding} - 1px) calc(${Ut.horizontalPadding} - 1px);
492
+ padding: calc(${Fe.verticalPadding} - 1px) calc(${Fe.horizontalPadding} - 1px);
493
493
  }
494
494
 
495
495
  .ft-button:not([disabled]):hover {
@@ -497,22 +497,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
497
497
  }
498
498
 
499
499
  .ft-button--round {
500
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${H.verticalPadding});
500
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${K.verticalPadding});
501
501
  }
502
502
 
503
503
  .ft-button--round.ft-button--dense {
504
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ut.verticalPadding});
504
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Fe.verticalPadding});
505
505
  }
506
506
 
507
507
  .ft-button[disabled] {
508
508
  filter: grayscale(1);
509
- opacity: ${H.opacityDisabled};
509
+ opacity: ${K.opacityDisabled};
510
510
  }
511
511
 
512
512
  .ft-button.ft-button--primary {
513
- background-color: ${dr.backgroundColor};
514
- --ft-button-internal-color: ${dr.color};
515
- ${(0,E.setVariable)(N.color,dr.rippleColor)};
513
+ background-color: ${Jo.backgroundColor};
514
+ --ft-button-internal-color: ${Jo.color};
515
+ ${(0,k.setVariable)(M.color,Jo.rippleColor)};
516
516
  }
517
517
 
518
518
  .ft-button:focus {
@@ -525,13 +525,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
525
525
  white-space: nowrap;
526
526
  text-overflow: ellipsis;
527
527
  display: block;
528
- margin: 0 ${H.iconPadding};
529
- ${(0,E.setVariable)(Pt.fontSize,"1em")};
530
- ${(0,E.setVariable)(Pt.lineHeight,"var(--ft-button-internal-line-height)")};
528
+ margin: 0 ${K.iconPadding};
529
+ ${(0,k.setVariable)($e.fontSize,"1em")};
530
+ ${(0,k.setVariable)($e.lineHeight,"var(--ft-button-internal-line-height)")};
531
531
  }
532
532
 
533
533
  .ft-button--dense .ft-button--label {
534
- margin: 0 ${Ut.iconPadding};
534
+ margin: 0 ${Fe.iconPadding};
535
535
  }
536
536
 
537
537
  .ft-button--label[hidden] {
@@ -544,13 +544,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
544
544
  }
545
545
 
546
546
  .ft-button--label[hidden] + [part="icon"] {
547
- margin: 0 calc(${H.horizontalPadding} * -1);
548
- padding: 0 ${H.verticalPadding};
547
+ margin: 0 calc(${K.horizontalPadding} * -1);
548
+ padding: 0 ${K.verticalPadding};
549
549
  }
550
550
 
551
551
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
552
- margin: 0 calc(${Ut.horizontalPadding} * -1);
553
- padding: 0 ${Ut.verticalPadding};
552
+ margin: 0 calc(${Fe.horizontalPadding} * -1);
553
+ padding: 0 ${Fe.verticalPadding};
554
554
  }
555
555
 
556
556
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -558,43 +558,43 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
558
558
  }
559
559
 
560
560
  ft-loader {
561
- ${(0,E.setVariable)(ht.size,H.iconSize)};
562
- ${(0,E.setVariable)(ht.color,"var(--ft-button-internal-color)")};
561
+ ${(0,k.setVariable)(be.size,K.iconSize)};
562
+ ${(0,k.setVariable)(be.color,"var(--ft-button-internal-color)")};
563
563
  }
564
- `,E.noTextSelect];var we=u(O());var Bn=u(O());var Un=u(P()),$n=u(O());var se=class extends $n.FtLitElement{render(){return Un.html`
564
+ `,k.noTextSelect];var Vt=g(P());var Qa=g(P());var Xa=g(B()),Ja=g(P());var Ct=class extends Ja.FtLitElement{render(){return Xa.html`
565
565
  <div class="ft-loader">
566
566
  <div></div>
567
567
  <div></div>
568
568
  <div></div>
569
569
  <div></div>
570
570
  </div>
571
- `}};se.styles=Tn;(0,Bn.customElement)("ft-loader")(se);var Re=u(P()),Dn=u(Ge()),st=u(nt()),bt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},V=class extends(0,we.toFtFormComponent)(we.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var r;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(Re.html`
571
+ `}};Ct.styles=Ga;(0,Qa.customElement)("ft-loader")(Ct);var jt=g(B()),es=g(hr()),de=g(Y()),Se=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},J=class extends(0,Vt.toFtFormComponent)(Vt.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(jt.html`
572
572
  <button part="button"
573
- class="${(0,Dn.classMap)(this.buttonClasses)}"
573
+ class="${(0,es.classMap)(this.buttonClasses)}"
574
574
  aria-label="${this.getLabel()}"
575
575
  ?disabled=${this.isDisabled()}>
576
576
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
577
577
  <ft-typography part="label"
578
578
  variant=${this.typographyVariant}
579
579
  element="span"
580
- class="ft-button--label ${we.isSafari?"ft-safari-ellipsis-fix":""}"
580
+ class="ft-button--label ${Vt.isSafari?"ft-safari-ellipsis-fix":""}"
581
581
  ?hidden=${!this.hasTextContent()}>
582
582
  <slot @slotchange=${this.onSlotchange}></slot>
583
583
  </ft-typography>
584
584
  ${this.resolveIcon()}
585
585
  </button>
586
- `)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Re.html`
586
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?jt.html`
587
587
  <ft-tooltip part="tooltip"
588
588
  text="${this.getLabel()}"
589
589
  position="${this.tooltipPosition}">
590
- ${o}
590
+ ${t}
591
591
  </ft-tooltip>
592
- `:o}resolveIcon(){return this.loading?Re.html`
593
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Re.html`
592
+ `:t}resolveIcon(){return this.loading?jt.html`
593
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?jt.html`
594
594
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
595
- `:Re.html`
595
+ `:jt.html`
596
596
  <slot part="icon" name="icon"></slot>
597
- `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(r=>this.unslotText(r)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};V.elementDefinitions={"ft-ripple":_,"ft-tooltip":$,"ft-typography":ot,"ft-icon":lt,"ft-loader":se};bt([(0,st.property)({type:String,reflect:!0})],V.prototype,"role",void 0);bt([(0,st.property)()],V.prototype,"type",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"disabled",void 0);bt([(0,st.property)()],V.prototype,"label",void 0);bt([(0,st.property)()],V.prototype,"icon",void 0);bt([(0,st.property)()],V.prototype,"iconVariant",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"trailingIcon",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"loading",void 0);bt([(0,st.property)()],V.prototype,"tooltipPosition",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"hideTooltip",void 0);bt([(0,st.property)({type:Boolean})],V.prototype,"forceTooltip",void 0);bt([(0,st.query)(".ft-button")],V.prototype,"button",void 0);bt([(0,st.query)(".ft-button--label slot")],V.prototype,"slottedContent",void 0);var xo=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},xt=class extends V{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};xt.styles=[Mn.safariEllipsisFix,kn];xo([(0,je.property)({type:Boolean})],xt.prototype,"primary",void 0);xo([(0,je.property)({type:Boolean})],xt.prototype,"outlined",void 0);xo([(0,je.property)({type:Boolean})],xt.prototype,"dense",void 0);xo([(0,je.property)({type:Boolean})],xt.prototype,"round",void 0);var Ne=u(nt());var zn=u(O());var Wn=u(P()),I=u(O());var Hn=[Wn.css`
597
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};J.elementDefinitions={"ft-ripple":$,"ft-tooltip":j,"ft-typography":ae,"ft-icon":ce,"ft-loader":Ct};Se([(0,de.property)({type:String,reflect:!0})],J.prototype,"role",void 0);Se([(0,de.property)()],J.prototype,"type",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"disabled",void 0);Se([(0,de.property)()],J.prototype,"label",void 0);Se([(0,de.property)()],J.prototype,"icon",void 0);Se([(0,de.property)()],J.prototype,"iconVariant",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"trailingIcon",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"loading",void 0);Se([(0,de.property)()],J.prototype,"tooltipPosition",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"hideTooltip",void 0);Se([(0,de.property)({type:Boolean})],J.prototype,"forceTooltip",void 0);Se([(0,de.query)(".ft-button")],J.prototype,"button",void 0);Se([(0,de.query)(".ft-button--label slot")],J.prototype,"slottedContent",void 0);var Gr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Oe=class extends J{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Oe.styles=[ts.safariEllipsisFix,Ya];Gr([(0,br.property)({type:Boolean})],Oe.prototype,"primary",void 0);Gr([(0,br.property)({type:Boolean})],Oe.prototype,"outlined",void 0);Gr([(0,br.property)({type:Boolean})],Oe.prototype,"dense",void 0);Gr([(0,br.property)({type:Boolean})],Oe.prototype,"round",void 0);var Gt=g(Y());var ns=g(P());var rs=g(B()),U=g(P());var os=[rs.css`
598
598
  :host {
599
599
  display: inline-block;
600
600
  max-width: 100%;
@@ -644,7 +644,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
644
644
  }
645
645
 
646
646
  .ft-button:focus-visible {
647
- outline-color: ${v.focusFocusRingColor};
647
+ outline-color: ${E.focusFocusRingColor};
648
648
  outline-style: solid;
649
649
  }
650
650
 
@@ -673,146 +673,146 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
673
673
  /** Primary styles **/
674
674
 
675
675
  .ft-button--primary {
676
- ${(0,I.setVariable)(ht.color,v.primaryIconColor)};
676
+ ${(0,U.setVariable)(be.color,E.primaryIconColor)};
677
677
 
678
- ${(0,I.setVariable)(N.color,v.primaryStateLayerColor)};
679
- ${(0,I.setVariable)(N.opacityContentOnSurfaceHover,v.primaryHoverStateLayerOpacity)};
680
- ${(0,I.setVariable)(N.opacityContentOnSurfaceFocused,v.primaryFocusStateLayerOpacity)};
681
- ${(0,I.setVariable)(N.opacityContentOnSurfaceSelected,v.primaryActiveStateLayerOpacity)};
682
- ${(0,I.setVariable)(N.opacityContentOnSurfacePressed,v.primaryActiveStateLayerOpacity)};
678
+ ${(0,U.setVariable)(M.color,E.primaryStateLayerColor)};
679
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceHover,E.primaryHoverStateLayerOpacity)};
680
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceFocused,E.primaryFocusStateLayerOpacity)};
681
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceSelected,E.primaryActiveStateLayerOpacity)};
682
+ ${(0,U.setVariable)(M.opacityContentOnSurfacePressed,E.primaryActiveStateLayerOpacity)};
683
683
 
684
- background-color: ${v.primaryBackgroundColor};
685
- color: ${v.primaryColor};
684
+ background-color: ${E.primaryBackgroundColor};
685
+ color: ${E.primaryColor};
686
686
  border-style: none;
687
687
  }
688
688
 
689
689
  .ft-button--primary[disabled] {
690
- opacity: ${v.primaryDisabledComponentOpacity};
690
+ opacity: ${E.primaryDisabledComponentOpacity};
691
691
  }
692
692
 
693
693
  .ft-button--primary ft-icon {
694
- color: ${v.primaryIconColor};
694
+ color: ${E.primaryIconColor};
695
695
  }
696
696
 
697
697
  /** Secondary styles **/
698
698
 
699
699
  .ft-button--secondary {
700
- ${(0,I.setVariable)(ht.color,v.secondaryIconColor)};
700
+ ${(0,U.setVariable)(be.color,E.secondaryIconColor)};
701
701
 
702
- ${(0,I.setVariable)(N.color,v.secondaryStateLayerColor)};
703
- ${(0,I.setVariable)(N.opacityContentOnSurfaceHover,v.secondaryHoverStateLayerOpacity)};
704
- ${(0,I.setVariable)(N.opacityContentOnSurfaceFocused,v.secondaryFocusStateLayerOpacity)};
705
- ${(0,I.setVariable)(N.opacityContentOnSurfaceSelected,v.secondaryActiveStateLayerOpacity)};
706
- ${(0,I.setVariable)(N.opacityContentOnSurfacePressed,v.secondaryActiveStateLayerOpacity)};
702
+ ${(0,U.setVariable)(M.color,E.secondaryStateLayerColor)};
703
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceHover,E.secondaryHoverStateLayerOpacity)};
704
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceFocused,E.secondaryFocusStateLayerOpacity)};
705
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceSelected,E.secondaryActiveStateLayerOpacity)};
706
+ ${(0,U.setVariable)(M.opacityContentOnSurfacePressed,E.secondaryActiveStateLayerOpacity)};
707
707
 
708
- background-color: ${v.secondaryBackgroundColor};
709
- color: ${v.secondaryColor};
710
- border-color: ${v.secondaryBorderColor};
708
+ background-color: ${E.secondaryBackgroundColor};
709
+ color: ${E.secondaryColor};
710
+ border-color: ${E.secondaryBorderColor};
711
711
  border-style: solid;
712
712
  }
713
713
 
714
714
  .ft-button--secondary[disabled] {
715
- opacity: ${v.secondaryDisabledComponentOpacity};
715
+ opacity: ${E.secondaryDisabledComponentOpacity};
716
716
  }
717
717
 
718
718
  .ft-button--secondary ft-icon {
719
- color: ${v.secondaryIconColor};
719
+ color: ${E.secondaryIconColor};
720
720
  }
721
721
 
722
722
  /** Tertiary styles **/
723
723
 
724
724
  .ft-button--tertiary {
725
- ${(0,I.setVariable)(ht.color,v.tertiaryIconColor)};
725
+ ${(0,U.setVariable)(be.color,E.tertiaryIconColor)};
726
726
 
727
- ${(0,I.setVariable)(N.color,v.tertiaryStateLayerColor)};
728
- ${(0,I.setVariable)(N.opacityContentOnSurfaceHover,v.tertiaryHoverStateLayerOpacity)};
729
- ${(0,I.setVariable)(N.opacityContentOnSurfaceFocused,v.tertiaryFocusStateLayerOpacity)};
730
- ${(0,I.setVariable)(N.opacityContentOnSurfaceSelected,v.tertiaryActiveStateLayerOpacity)};
731
- ${(0,I.setVariable)(N.opacityContentOnSurfacePressed,v.tertiaryActiveStateLayerOpacity)};
727
+ ${(0,U.setVariable)(M.color,E.tertiaryStateLayerColor)};
728
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceHover,E.tertiaryHoverStateLayerOpacity)};
729
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceFocused,E.tertiaryFocusStateLayerOpacity)};
730
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceSelected,E.tertiaryActiveStateLayerOpacity)};
731
+ ${(0,U.setVariable)(M.opacityContentOnSurfacePressed,E.tertiaryActiveStateLayerOpacity)};
732
732
 
733
- background-color: ${v.tertiaryBackgroundColor};
734
- color: ${v.tertiaryColor};
733
+ background-color: ${E.tertiaryBackgroundColor};
734
+ color: ${E.tertiaryColor};
735
735
  border-style: none;
736
736
  }
737
737
 
738
738
  .ft-button--tertiary[disabled] {
739
- opacity: ${v.tertiaryDisabledComponentOpacity};
739
+ opacity: ${E.tertiaryDisabledComponentOpacity};
740
740
  }
741
741
 
742
742
  .ft-button--tertiary ft-icon {
743
- color: ${v.tertiaryIconColor};
743
+ color: ${E.tertiaryIconColor};
744
744
  }
745
745
 
746
746
  /** Neutral styles **/
747
747
 
748
748
  .ft-button--neutral {
749
- ${(0,I.setVariable)(ht.color,v.neutralIconColor)};
749
+ ${(0,U.setVariable)(be.color,E.neutralIconColor)};
750
750
 
751
- ${(0,I.setVariable)(N.backgroundColor,v.neutralStateLayerColor)};
752
- ${(0,I.setVariable)(N.opacityContentOnSurfaceHover,v.neutralHoverStateLayerOpacity)};
753
- ${(0,I.setVariable)(N.opacityContentOnSurfaceFocused,v.neutralFocusStateLayerOpacity)};
754
- ${(0,I.setVariable)(N.opacityContentOnSurfaceSelected,v.neutralActiveStateLayerOpacity)};
755
- ${(0,I.setVariable)(N.opacityContentOnSurfacePressed,v.neutralActiveStateLayerOpacity)};
751
+ ${(0,U.setVariable)(M.backgroundColor,E.neutralStateLayerColor)};
752
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceHover,E.neutralHoverStateLayerOpacity)};
753
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceFocused,E.neutralFocusStateLayerOpacity)};
754
+ ${(0,U.setVariable)(M.opacityContentOnSurfaceSelected,E.neutralActiveStateLayerOpacity)};
755
+ ${(0,U.setVariable)(M.opacityContentOnSurfacePressed,E.neutralActiveStateLayerOpacity)};
756
756
 
757
- background-color: ${v.neutralBackgroundColor};
758
- color: ${v.neutralColor};
757
+ background-color: ${E.neutralBackgroundColor};
758
+ color: ${E.neutralColor};
759
759
  border-style: none;
760
760
  }
761
761
 
762
762
  .ft-button--neutral[disabled] {
763
- opacity: ${v.neutralDisabledComponentOpacity};
763
+ opacity: ${E.neutralDisabledComponentOpacity};
764
764
  }
765
765
 
766
766
  .ft-button--neutral ft-icon {
767
- color: ${v.neutralIconColor};
767
+ color: ${E.neutralIconColor};
768
768
  }
769
769
 
770
770
  /** Large styles **/
771
771
 
772
772
  .ft-button--large {
773
- ${(0,I.setVariable)(at.size,v.largeIconSize)};
774
- ${(0,I.setVariable)(ht.size,v.largeIconSize)};
773
+ ${(0,U.setVariable)(le.size,E.largeIconSize)};
774
+ ${(0,U.setVariable)(be.size,E.largeIconSize)};
775
775
 
776
- height: ${v.largeHeight};
777
- padding: 0 ${v.largeHorizontalPadding};
778
- gap: ${v.largeGap};
779
- border-radius: ${v.largeBorderRadius};
780
- border-width: ${v.largeBorderWidth};
776
+ height: ${E.largeHeight};
777
+ padding: 0 ${E.largeHorizontalPadding};
778
+ gap: ${E.largeGap};
779
+ border-radius: ${E.largeBorderRadius};
780
+ border-width: ${E.largeBorderWidth};
781
781
  }
782
782
 
783
783
  .ft-button--large:focus-visible {
784
- outline-width: ${v.largeFocusOutlineWidth};
785
- outline-offset: ${v.largeFocusOutlineOffset};
784
+ outline-width: ${E.largeFocusOutlineWidth};
785
+ outline-offset: ${E.largeFocusOutlineOffset};
786
786
  }
787
787
 
788
788
  .ft-button--large.ft-button--icon-only {
789
- width: ${v.largeIconOnlyWidth};
789
+ width: ${E.largeIconOnlyWidth};
790
790
  padding: unset;
791
791
  }
792
792
 
793
793
  /** Small styles **/
794
794
 
795
795
  .ft-button--small {
796
- ${(0,I.setVariable)(at.size,v.smallIconSize)};
797
- ${(0,I.setVariable)(ht.size,v.smallIconSize)};
796
+ ${(0,U.setVariable)(le.size,E.smallIconSize)};
797
+ ${(0,U.setVariable)(be.size,E.smallIconSize)};
798
798
 
799
- height: ${v.smallHeight};
800
- padding: 0 ${v.smallHorizontalPadding};
801
- gap: ${v.smallGap};
802
- border-radius: ${v.smallBorderRadius};
803
- border-width: ${v.smallBorderWidth};
799
+ height: ${E.smallHeight};
800
+ padding: 0 ${E.smallHorizontalPadding};
801
+ gap: ${E.smallGap};
802
+ border-radius: ${E.smallBorderRadius};
803
+ border-width: ${E.smallBorderWidth};
804
804
  }
805
805
 
806
806
  .ft-button--small:focus-visible {
807
- outline-width: ${v.smallFocusOutlineWidth};
808
- outline-offset: ${v.smallFocusOutlineOffset};
807
+ outline-width: ${E.smallFocusOutlineWidth};
808
+ outline-offset: ${E.smallFocusOutlineOffset};
809
809
  }
810
810
 
811
811
  .ft-button--small.ft-button--icon-only {
812
- width: ${v.smallIconOnlyWidth};
812
+ width: ${E.smallIconOnlyWidth};
813
813
  padding: unset;
814
814
  }
815
- `,I.noTextSelect];var Ye=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Ct=class extends V{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ie.caption1medium:ie.body2medium}};Ct.styles=[zn.safariEllipsisFix,Hn];Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"primary",void 0);Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"secondary",void 0);Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"tertiary",void 0);Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"neutral",void 0);Ye([(0,Ne.property)({type:Boolean})],Ct.prototype,"small",void 0);(0,fr.customElement)("ft-button")(xt);(0,fr.customElement)("ftds-button")(Ct);var Fn=R.FtCssVariableFactory.extend("--ft-chip-color","",R.designSystemVariables.colorOnSurface),Et={backgroundColor:R.FtCssVariableFactory.extend("--ft-chip-background-color","",R.designSystemVariables.colorSurface),color:Fn,fontSize:R.FtCssVariableFactory.extend("--ft-chip-font-size","",It.fontSize),iconSize:R.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:R.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:R.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Fn),horizontalPadding:R.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:R.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:R.FtCssVariableFactory.external(R.designSystemVariables.colorOutline,"Design system"),opacityDisabled:R.FtCssVariableFactory.external(R.designSystemVariables.colorOpacityDisabled,"Design system")},Gn=R.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",R.FtCssVariableFactory.extend("--ft-chip-color","",R.designSystemVariables.colorOnPrimary)),ur={backgroundColor:R.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",R.FtCssVariableFactory.extend("--ft-chip-background-color","",R.designSystemVariables.colorPrimary)),color:Gn,rippleColor:R.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Gn)},Kn={horizontalPadding:R.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:R.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Vn=[R.noTextSelect,vo.css`
815
+ `,U.noTextSelect];var xr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ne=class extends J{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?xt.caption1medium:xt.body2medium}};Ne.styles=[ns.safariEllipsisFix,os];xr([(0,Gt.property)({type:Boolean})],Ne.prototype,"primary",void 0);xr([(0,Gt.property)({type:Boolean})],Ne.prototype,"secondary",void 0);xr([(0,Gt.property)({type:Boolean})],Ne.prototype,"tertiary",void 0);xr([(0,Gt.property)({type:Boolean})],Ne.prototype,"neutral",void 0);xr([(0,Gt.property)({type:Boolean})],Ne.prototype,"small",void 0);(0,Qo.customElement)("ft-button")(Oe);(0,Qo.customElement)("ftds-button")(Ne);var is=D.FtCssVariableFactory.extend("--ft-chip-color","",D.designSystemVariables.colorOnSurface),Te={backgroundColor:D.FtCssVariableFactory.extend("--ft-chip-background-color","",D.designSystemVariables.colorSurface),color:is,fontSize:D.FtCssVariableFactory.extend("--ft-chip-font-size","",Be.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:D.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:D.FtCssVariableFactory.extend("--ft-chip-ripple-color","",is),horizontalPadding:D.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:D.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},as=D.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",D.FtCssVariableFactory.extend("--ft-chip-color","",D.designSystemVariables.colorOnPrimary)),en={backgroundColor:D.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",D.FtCssVariableFactory.extend("--ft-chip-background-color","",D.designSystemVariables.colorPrimary)),color:as,rippleColor:D.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",as)},ss={horizontalPadding:D.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:D.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},ls=[D.noTextSelect,Kr.css`
816
816
  :host {
817
817
  display: inline-block;
818
818
  max-width: 100%;
@@ -828,20 +828,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
828
828
  box-sizing: border-box;
829
829
  pointer-events: auto;
830
830
 
831
- --ft-chip-internal-font-size: ${Et.fontSize};
831
+ --ft-chip-internal-font-size: ${Te.fontSize};
832
832
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
833
- ${(0,R.setVariable)(at.size,Et.iconSize)};
834
- --ft-chip-internal-vertical-padding: ${Et.verticalPadding};
835
- --ft-chip-internal-horizontal-padding: ${Et.horizontalPadding};
833
+ ${(0,D.setVariable)(le.size,Te.iconSize)};
834
+ --ft-chip-internal-vertical-padding: ${Te.verticalPadding};
835
+ --ft-chip-internal-horizontal-padding: ${Te.horizontalPadding};
836
836
  --ft-chip-internal-icon-padding: 3px;
837
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Et.iconSize});
837
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Te.iconSize});
838
838
 
839
- border: 1px solid ${Et.colorOutline};
840
- color: ${Et.color};
841
- ${(0,R.setVariable)(N.color,Et.rippleColor)};
842
- border-radius: var(${(0,vo.unsafeCSS)(Et.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
839
+ border: 1px solid ${Te.colorOutline};
840
+ color: ${Te.color};
841
+ ${(0,D.setVariable)(M.color,Te.rippleColor)};
842
+ border-radius: var(${(0,Kr.unsafeCSS)(Te.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
843
843
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
844
- background-color: ${Et.backgroundColor};
844
+ background-color: ${Te.backgroundColor};
845
845
  line-height: var(--ft-chip-internal-content-height);
846
846
  }
847
847
 
@@ -851,8 +851,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
851
851
 
852
852
  .ft-chip--dense {
853
853
  --ft-chip-internal-icon-padding: 3px;
854
- --ft-chip-internal-vertical-padding: ${Kn.verticalPadding};
855
- --ft-chip-internal-horizontal-padding: ${Kn.horizontalPadding};
854
+ --ft-chip-internal-vertical-padding: ${ss.verticalPadding};
855
+ --ft-chip-internal-horizontal-padding: ${ss.horizontalPadding};
856
856
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
857
857
  }
858
858
 
@@ -864,15 +864,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
864
864
  cursor: default;
865
865
  pointer-events: none;
866
866
  filter: grayscale(1);
867
- opacity: ${Et.opacityDisabled};
867
+ opacity: ${Te.opacityDisabled};
868
868
  }
869
869
 
870
870
  .ft-chip--highlighted {
871
871
  border: none;
872
872
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
873
- background-color: ${ur.backgroundColor};
874
- ${(0,R.setVariable)(N.color,ur.rippleColor)};
875
- color: ${ur.color};
873
+ background-color: ${en.backgroundColor};
874
+ ${(0,D.setVariable)(M.color,en.rippleColor)};
875
+ color: ${en.color};
876
876
  }
877
877
 
878
878
  .ft-chip--clickable {
@@ -902,9 +902,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
902
902
  }
903
903
 
904
904
  .ft-chip--icon-button {
905
- ${(0,R.setVariable)(H.iconSize,Et.iconSize)};
906
- ${(0,R.setVariable)(H.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
907
- ${(0,R.setVariable)(H.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
905
+ ${(0,D.setVariable)(K.iconSize,Te.iconSize)};
906
+ ${(0,D.setVariable)(K.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
907
+ ${(0,D.setVariable)(K.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
908
908
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
909
909
  }
910
910
 
@@ -912,8 +912,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
912
912
  vertical-align: bottom;
913
913
  display: block;
914
914
  margin: 0 var(--ft-chip-internal-horizontal-padding);
915
- ${(0,R.setVariable)(It.fontSize,"var(--ft-chip-internal-font-size)")};
916
- ${(0,R.setVariable)(It.lineHeight,"var(--ft-chip-internal-content-height)")};
915
+ ${(0,D.setVariable)(Be.fontSize,"var(--ft-chip-internal-font-size)")};
916
+ ${(0,D.setVariable)(Be.lineHeight,"var(--ft-chip-internal-content-height)")};
917
917
  }
918
918
 
919
919
  .ft-chip--safari-fix .ft-chip--label {
@@ -949,8 +949,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
949
949
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
950
950
  order: -1;
951
951
  }
952
- `];var vt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Oo=class extends CustomEvent{constructor(){super("icon-click")}},F=class extends Co.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let o={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Co.isSafari};return So.html`
953
- <div class="${(0,Zn.classMap)(o)}"
952
+ `];var Ce=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},qr=class extends CustomEvent{constructor(){super("icon-click")}},Z=class extends Yr.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Yr.isSafari};return Zr.html`
953
+ <div class="${(0,cs.classMap)(t)}"
954
954
  aria-label="${this.getLabel()}"
955
955
  tabindex="${this.interactionsOnChip?0:-1}"
956
956
  @keyup=${this.onKeyUp}
@@ -961,7 +961,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
961
961
  </ft-typography>
962
962
  ${this.internalIcon?this.renderIcon():null}
963
963
  </div>
964
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?So.html`
964
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Zr.html`
965
965
  <ft-button round
966
966
  class="ft-chip--icon-button"
967
967
  @click=${this.onIconClick}
@@ -970,13 +970,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
970
970
  label="${this.iconLabel}"
971
971
  part="icon-button"
972
972
  ></ft-button>
973
- `:So.html`
973
+ `:Zr.html`
974
974
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
975
975
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
976
976
  </div>
977
- `}onKeyUp(o){this.interactionsOnChip&&["Enter"," "].includes(o.key)&&o.target.click()}onIconKeyUp(o){this.interactionsOnIcon&&["Enter"," "].includes(o.key)&&(o.stopPropagation(),this.dispatchEvent(new Oo))}onIconClick(o){this.interactionsOnIcon&&(o.stopPropagation(),this.dispatchEvent(new Oo))}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};F.elementDefinitions={"ft-ripple":_,"ft-typography":ot,"ft-icon":lt,"ft-button":xt};F.styles=Vn;vt([(0,ct.property)({type:Boolean})],F.prototype,"highlighted",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"removable",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"disabled",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"clickable",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"iconClickable",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"dense",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"multiLine",void 0);vt([(0,ct.property)()],F.prototype,"label",void 0);vt([(0,ct.property)()],F.prototype,"iconLabel",void 0);vt([(0,ct.property)()],F.prototype,"icon",void 0);vt([(0,ct.property)()],F.prototype,"iconVariant",void 0);vt([(0,ct.property)({type:Boolean})],F.prototype,"trailingIcon",void 0);vt([(0,ct.query)("ft-typography slot")],F.prototype,"slottedContent",void 0);(0,jn.customElement)("ft-chip")(F);var Je=u(O());var Yn=u(P()),St=u(O()),Yt={zIndex:St.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:St.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:St.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:St.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",St.designSystemVariables.colorOnSurfaceHigh),colorSurface:St.FtCssVariableFactory.external(St.designSystemVariables.colorSurface,"Design system"),menuElevation:St.FtCssVariableFactory.external(St.designSystemVariables.elevation02,"Design system"),borderRadiusS:St.FtCssVariableFactory.external(St.designSystemVariables.borderRadiusS,"Design system")},Eo=Yn.css`
977
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new qr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new qr))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Z.elementDefinitions={"ft-ripple":$,"ft-typography":ae,"ft-icon":ce,"ft-button":Oe};Z.styles=ls;Ce([(0,fe.property)({type:Boolean})],Z.prototype,"highlighted",void 0);Ce([(0,fe.property)({type:Boolean})],Z.prototype,"removable",void 0);Ce([(0,fe.property)({type:Boolean})],Z.prototype,"disabled",void 0);Ce([(0,fe.property)({type:Boolean})],Z.prototype,"clickable",void 0);Ce([(0,fe.property)({type:Boolean})],Z.prototype,"iconClickable",void 0);Ce([(0,fe.property)({type:Boolean})],Z.prototype,"dense",void 0);Ce([(0,fe.property)({type:Boolean})],Z.prototype,"multiLine",void 0);Ce([(0,fe.property)()],Z.prototype,"label",void 0);Ce([(0,fe.property)()],Z.prototype,"iconLabel",void 0);Ce([(0,fe.property)()],Z.prototype,"icon",void 0);Ce([(0,fe.property)()],Z.prototype,"iconVariant",void 0);Ce([(0,fe.property)({type:Boolean})],Z.prototype,"trailingIcon",void 0);Ce([(0,fe.query)("ft-typography slot")],Z.prototype,"slottedContent",void 0);(0,ps.customElement)("ft-chip")(Z);var Or=g(P());var ds=g(B()),Ee=g(P()),nt={zIndex:Ee.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:Ee.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:Ee.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:Ee.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",Ee.designSystemVariables.colorOnSurfaceHigh),colorSurface:Ee.FtCssVariableFactory.external(Ee.designSystemVariables.colorSurface,"Design system"),menuElevation:Ee.FtCssVariableFactory.external(Ee.designSystemVariables.elevation02,"Design system"),borderRadiusS:Ee.FtCssVariableFactory.external(Ee.designSystemVariables.borderRadiusS,"Design system")},Xr=ds.css`
978
978
  .ft-floating-menu {
979
- color: ${Yt.textColor};
979
+ color: ${nt.textColor};
980
980
  display: contents;
981
981
  }
982
982
 
@@ -993,19 +993,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
993
993
  display: none;
994
994
  position: relative;
995
995
  overflow: auto;
996
- max-width: ${Yt.maxWidth};
997
- max-height: ${Yt.maxHeight};
998
- box-shadow: ${Yt.menuElevation};
999
- background-color: ${Yt.colorSurface};
1000
- border-radius: ${Yt.borderRadiusS};
1001
- color: ${Yt.textColor};
1002
- z-index: ${Yt.zIndex};
996
+ max-width: ${nt.maxWidth};
997
+ max-height: ${nt.maxHeight};
998
+ box-shadow: ${nt.menuElevation};
999
+ background-color: ${nt.colorSurface};
1000
+ border-radius: ${nt.borderRadiusS};
1001
+ color: ${nt.textColor};
1002
+ z-index: ${nt.zIndex};
1003
1003
  }
1004
1004
 
1005
1005
  .ft-floating-menu--open .ft-floating-menu--options {
1006
1006
  display: block;
1007
1007
  }
1008
- `;var Qn=u(P()),D=u(nt()),Le=u(O()),ta=u(Ge());var Xe=u(P()),qe=u(nt()),Jn=u(O());var Xn=u(P()),Ao=u(O()),xl={iconColor:Ao.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",Ao.designSystemVariables.colorOnSurfaceMedium)},qn=Xn.css`
1008
+ `;var ms=g(B()),G=g(Y()),Kt=g(P()),ys=g(hr());var vr=g(B()),Sr=g(Y()),hs=g(P());var fs=g(B()),Jr=g(P()),wc={iconColor:Jr.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",Jr.designSystemVariables.colorOnSurfaceMedium)},us=fs.css`
1009
1009
  .ft-floating-menu-item {
1010
1010
  cursor: pointer;
1011
1011
  display: flex;
@@ -1020,7 +1020,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1020
1020
  }
1021
1021
 
1022
1022
  .ft-floating-menu-item ft-icon {
1023
- color: ${xl.iconColor};
1023
+ color: ${wc.iconColor};
1024
1024
  margin-left: 0;
1025
1025
  flex-shrink: 0;
1026
1026
  flex-grow: 0;
@@ -1035,21 +1035,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1035
1035
  word-break: break-word;
1036
1036
  hyphens: auto;
1037
1037
  }
1038
- `;var wo=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Ro=class extends CustomEvent{constructor(o){super("select",{detail:o,bubbles:!0,composed:!0})}},mt=class extends Jn.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return Xe.html`
1038
+ `;var eo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Qr=class extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}},xe=class extends hs.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return vr.html`
1039
1039
  <div class="ft-floating-menu-item"
1040
1040
  tabindex=${this.notFocusable?"-1":"0"}
1041
- @keydown=${o=>this.onKeyDown(o)}
1041
+ @keydown=${t=>this.onKeyDown(t)}
1042
1042
  @click=${this.onClick}>
1043
1043
  <ft-ripple></ft-ripple>
1044
- ${this.icon?Xe.html`
1044
+ ${this.icon?vr.html`
1045
1045
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1046
- `:Xe.nothing}
1046
+ `:vr.nothing}
1047
1047
  <ft-typography variant="body2">
1048
1048
  <slot></slot>
1049
1049
  </ft-typography>
1050
1050
  </div>
1051
- `}onClick(o){this.dispatchEvent(new Ro(this.value))}onKeyDown(o){(o.key=="Enter"||o.key==" ")&&(o.preventDefault(),this.dispatchEvent(new Ro(this.value)))}};mt.elementDefinitions={"ft-icon":lt,"ft-ripple":_,"ft-typography":ot};mt.styles=qn;wo([(0,qe.property)()],mt.prototype,"iconVariant",void 0);wo([(0,qe.property)()],mt.prototype,"icon",void 0);wo([(0,qe.property)()],mt.prototype,"value",void 0);wo([(0,qe.property)({type:Boolean})],mt.prototype,"notFocusable",void 0);var Z=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a};var U=class extends Le.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=kt.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=o=>{this.menuOpen=this.menuOpen&&o.composedPath().includes(this.container)}}render(){let o={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return Qn.html`
1052
- <div part="container" class="${(0,ta.classMap)(o)}">
1051
+ `}onClick(t){this.dispatchEvent(new Qr(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new Qr(this.value)))}};xe.elementDefinitions={"ft-icon":ce,"ft-ripple":$,"ft-typography":ae};xe.styles=us;eo([(0,Sr.property)()],xe.prototype,"iconVariant",void 0);eo([(0,Sr.property)()],xe.prototype,"icon",void 0);eo([(0,Sr.property)()],xe.prototype,"value",void 0);eo([(0,Sr.property)({type:Boolean})],xe.prototype,"notFocusable",void 0);var Q=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};var F=class extends Kt.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=ze.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return ms.html`
1052
+ <div part="container" class="${(0,ys.classMap)(t)}">
1053
1053
  <slot name="toggle"
1054
1054
  part="toggle"
1055
1055
  @click=${this.toggleMenu}
@@ -1083,7 +1083,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1083
1083
  </div>
1084
1084
  </div>
1085
1085
  </div>
1086
- `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(o){o.stopPropagation(),this.closeMenu()}onContentClick(o){(0,Le.eventPathContainsMatchingElement)(o,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(o){super.contentAvailableCallback(o),o.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let o=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:r,y:i}=await yo(o,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${r}px`,this.menuWrapper.style.top=`${i}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};U.elementDefinitions={"ft-floating-menu-item":mt};Z([(0,D.state)()],U.prototype,"menuOpen",void 0);Z([(0,D.state)()],U.prototype,"forceMenuOpen",void 0);Z([(0,D.query)(".ft-floating-menu")],U.prototype,"container",void 0);Z([(0,D.query)(".ft-floating-menu--wrapper")],U.prototype,"menuWrapper",void 0);Z([(0,D.query)("#actions-button")],U.prototype,"actionButton",void 0);Z([(0,D.queryAssignedElements)({slot:"toggle"})],U.prototype,"customToggle",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"primary",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"secondary",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"tertiary",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"neutral",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"small",void 0);Z([(0,D.property)()],U.prototype,"label",void 0);Z([(0,D.property)()],U.prototype,"tooltipPosition",void 0);Z([(0,D.property)()],U.prototype,"iconVariant",void 0);Z([(0,D.property)()],U.prototype,"icon",void 0);Z([(0,D.property)()],U.prototype,"text",void 0);Z([(0,D.property)()],U.prototype,"horizontalAlignment",void 0);Z([(0,D.property)()],U.prototype,"verticalAlignment",void 0);Z([(0,D.property)({type:Boolean})],U.prototype,"disabled",void 0);Z([(0,Le.jsonProperty)([])],U.prototype,"closeMenuMatchers",void 0);var Xt=class extends U{};Xt.elementDefinitions={"ft-or-ftds-button":xt};Xt.styles=Eo;var Te=class extends U{};Te.elementDefinitions={"ft-or-ftds-button":Ct};Te.styles=Eo;var ra=u(P()),ia=u(O());var ea=u(P()),No=u(O()),vl={color:No.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",No.designSystemVariables.colorOnSurfaceMedium)},oa=ea.css`
1086
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(0,Kt.eventPathContainsMatchingElement)(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:n}=await Hr(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${n}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};F.elementDefinitions={"ft-floating-menu-item":xe};Q([(0,G.state)()],F.prototype,"menuOpen",void 0);Q([(0,G.state)()],F.prototype,"forceMenuOpen",void 0);Q([(0,G.query)(".ft-floating-menu")],F.prototype,"container",void 0);Q([(0,G.query)(".ft-floating-menu--wrapper")],F.prototype,"menuWrapper",void 0);Q([(0,G.query)("#actions-button")],F.prototype,"actionButton",void 0);Q([(0,G.queryAssignedElements)({slot:"toggle"})],F.prototype,"customToggle",void 0);Q([(0,G.property)({type:Boolean})],F.prototype,"primary",void 0);Q([(0,G.property)({type:Boolean})],F.prototype,"secondary",void 0);Q([(0,G.property)({type:Boolean})],F.prototype,"tertiary",void 0);Q([(0,G.property)({type:Boolean})],F.prototype,"neutral",void 0);Q([(0,G.property)({type:Boolean})],F.prototype,"small",void 0);Q([(0,G.property)()],F.prototype,"label",void 0);Q([(0,G.property)()],F.prototype,"tooltipPosition",void 0);Q([(0,G.property)()],F.prototype,"iconVariant",void 0);Q([(0,G.property)()],F.prototype,"icon",void 0);Q([(0,G.property)()],F.prototype,"text",void 0);Q([(0,G.property)()],F.prototype,"horizontalAlignment",void 0);Q([(0,G.property)()],F.prototype,"verticalAlignment",void 0);Q([(0,G.property)({type:Boolean})],F.prototype,"disabled",void 0);Q([(0,Kt.jsonProperty)([])],F.prototype,"closeMenuMatchers",void 0);var it=class extends F{};it.elementDefinitions={"ft-or-ftds-button":Oe};it.styles=Xr;var Zt=class extends F{};Zt.elementDefinitions={"ft-or-ftds-button":Ne};Zt.styles=Xr;var xs=g(B()),vs=g(P());var gs=g(B()),to=g(P()),Ac={color:to.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",to.designSystemVariables.colorOnSurfaceMedium)},bs=gs.css`
1087
1087
  .ft-floating-menu-label {
1088
1088
  padding: 4px 8px;
1089
1089
  }
@@ -1094,69 +1094,69 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1094
1094
  width: max-content;
1095
1095
  text-overflow: ellipsis;
1096
1096
  overflow: hidden;
1097
- color: ${vl.color}
1097
+ color: ${Ac.color}
1098
1098
  }
1099
- `;var qt=class extends ia.FtLitElement{render(){return ra.html`
1099
+ `;var at=class extends vs.FtLitElement{render(){return xs.html`
1100
1100
  <div class="ft-floating-menu-label">
1101
1101
  <ft-typography variant="caption">
1102
1102
  <slot></slot>
1103
1103
  </ft-typography>
1104
1104
  </div>
1105
- `}};qt.elementDefinitions={"ft-typography":ot};qt.styles=oa;(0,Je.customElement)("ft-floating-menu")(Xt);(0,Je.customElement)("ftds-floating-menu")(Te);(0,Je.customElement)("ft-floating-menu-item")(mt);(0,Je.customElement)("ft-floating-menu-label")(qt);var Ph=u(aa(),1);var la;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(la||(la={}));var sa;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(sa||(sa={}));var ca;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(ca||(ca={}));var pa;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(pa||(pa={}));var da;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(da||(da={}));var fa;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(fa||(fa={}));var ua;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ua||(ua={}));var ha;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(ha||(ha={}));var ma;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(ma||(ma={}));var ya;(function(e){e.ASC="ASC",e.DESC="DESC"})(ya||(ya={}));var ga;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ga||(ga={}));var ba;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(ba||(ba={}));var xa;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(xa||(xa={}));var Lo;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Lo||(Lo={}));var va;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(va||(va={}));var Ie;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Ie||(Ie={}));var Sa;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Sa||(Sa={}));var J;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(J||(J={}));var Oa;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Oa||(Oa={}));var Nh={[J.PERSONAL_BOOK_SHARE_USER]:[J.PERSONAL_BOOK_USER],[J.HTML_EXPORT_USER]:[J.PERSONAL_BOOK_USER],[J.PDF_EXPORT_USER]:[J.PERSONAL_BOOK_USER],[J.KHUB_ADMIN]:[J.CONTENT_PUBLISHER],[J.ADMIN]:[J.KHUB_ADMIN,J.USERS_ADMIN,J.PORTAL_ADMIN],[J.DEVELOPER]:[J.BETA_USER,J.DEBUG_USER]};function Sl(e){var o,r,i,n,a;return((n=(r=(o=e.map)===null||o===void 0?void 0:o.openMode)!==null&&r!==void 0?r:(i=e.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=e.document)===null||a===void 0?void 0:a.openMode)===Lo.EXTERNAL}function hr(e){var o,r,i,n,a;if(Sl(e))return(n=(r=(o=e.map)===null||o===void 0?void 0:o.originUrl)!==null&&r!==void 0?r:(i=e.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=e.document)===null||a===void 0?void 0:a.originUrl;switch(e.type){case Ie.MAP:return e.map.readerUrl;case Ie.DOCUMENT:return e.document.viewerUrl;case Ie.TOPIC:return e.topic.readerUrl}return""}var Ma=u(Ea());var $o=u(O());var Pa=u(O());var Ta=u(P()),At=u(nt()),Lt=u(O());var Aa=u(P());var Ra=Aa.css`
1106
- `;var wa=u(O()),Ol="ft-app-info",Cl={},L=wa.FtReduxStore.get({name:Ol,reducers:Cl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Qt=u(O());var mr=u(O());var ce=class e{static get(o){let{baseUrl:r,apiIntegrationIdentifier:i}=L.getState(),n=o??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(o){return new Promise(r=>{let i=e.get(o);if(i)r(i);else{let n=L.subscribe(()=>{i=e.get(o),i&&(n(),r(i))})}})}};var Jt=class{constructor(o=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new mr.CacheRegistry,this.cache=o?n.commonCache:new mr.CacheRegistry}get api(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:ce.get()}get awaitApi(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:ce.await()}clearCache(){this.cache.clearAll()}};var Na,El=Symbol("clearAfterUnitTest"),To=class extends Jt{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Na]=()=>{this.defaultMessages={},this.cache=new Qt.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:o}=L.getState();this.currentUiLocale!==o&&(this.currentUiLocale=o,this.cache.clearAll(),this.notifyAll())}addContext(o){let r=o.name.toLowerCase();this.cache.setFinal(r,o),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(o,r){var i;if(o=o.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[o])!==null&&i!==void 0?i:{},...r};(0,Qt.deepEqual)(this.defaultMessages[o],n)||(this.defaultMessages[o]=n,await this.notify(o))}await this.fetchContext(o)}resolveMessage(o,r,...i){var n,a,s;o=o.toLowerCase(),this.fetchContext(o);let p=(a=(n=this.cache.getNow(o))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new Qt.ParametrizedLabelResolver((s=this.defaultMessages[o])!==null&&s!==void 0?s:{},p).resolve(r,...i)}async fetchContext(o){if(!this.cache.has(o))try{await this.cache.get(o,()=>this.messageContextProvider(this.currentUiLocale,o)),await this.notify(o)}catch(r){console.error(r)}}subscribe(o,r){var i;return o=o.toLowerCase(),this.listeners[o]=(i=this.listeners[o])!==null&&i!==void 0?i:new Set,this.listeners[o].add(r),()=>{var n;return(n=this.listeners[o])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(o=>this.notify(o)))}async notify(o){this.listeners[o]!=null&&await Promise.all([...this.listeners[o].values()].map(r=>(0,Qt.delay)(0).then(()=>r()).catch(()=>null)))}};Na=El;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends To{constructor(){super(async(e,o)=>(await this.awaitApi).getFluidTopicsMessageContext(e,o))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends To{constructor(){super(async(e,o)=>(await this.awaitApi).getCustomMessageContext(e,o))}});var Pe=window.FluidTopicsI18nService,La=window.FluidTopicsCustomI18nService;var pt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},G=class extends Lt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ce.get(),this.messageContexts=[],this.cache=new Lt.CacheRegistry,this.cleanSessionDebouncer=new Lt.Debouncer}render(){return Ta.html`
1105
+ `}};at.elementDefinitions={"ft-typography":ae};at.styles=bs;(0,Or.customElement)("ft-floating-menu")(it);(0,Or.customElement)("ftds-floating-menu")(Zt);(0,Or.customElement)("ft-floating-menu-item")(xe);(0,Or.customElement)("ft-floating-menu-label")(at);var Og=g(Os(),1);var Cs;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Cs||(Cs={}));var Es;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Es||(Es={}));var ws;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(ws||(ws={}));var As;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(As||(As={}));var Rs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Rs||(Rs={}));var Ns;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ns||(Ns={}));var Ts;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ts||(Ts={}));var Ps;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Ps||(Ps={}));var Ls;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ls||(Ls={}));var Is;(function(e){e.ASC="ASC",e.DESC="DESC"})(Is||(Is={}));var _s;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(_s||(_s={}));var ks;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(ks||(ks={}));var Ds;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ds||(Ds={}));var ro;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ro||(ro={}));var Ms;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ms||(Ms={}));var qt;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(qt||(qt={}));var Us;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Us||(Us={}));var oe;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(oe||(oe={}));var Bs;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Bs||(Bs={}));var bg={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN],[oe.DEVELOPER]:[oe.BETA_USER,oe.DEBUG_USER]};function Rc(e){var t,o,n,i,a;return((i=(o=(t=e.map)===null||t===void 0?void 0:t.openMode)!==null&&o!==void 0?o:(n=e.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=e.document)===null||a===void 0?void 0:a.openMode)===ro.EXTERNAL}function tn(e){var t,o,n,i,a;if(Rc(e))return(i=(o=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&o!==void 0?o:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=e.document)===null||a===void 0?void 0:a.originUrl;switch(e.type){case qt.MAP:return e.map.readerUrl;case qt.DOCUMENT:return e.document.viewerUrl;case qt.TOPIC:return e.topic.readerUrl}return""}var Vl=g(Ws());var Co=g(P());var Bl=g(P());var Gs=g(B()),Pe=g(Y()),De=g(P());var zs=g(B());var Fs=zs.css`
1106
+ `;var Hs=g(P()),Nc="ft-app-info",Tc={},_=Hs.FtReduxStore.get({name:Nc,reducers:Tc,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var lt=g(P());var rn=g(P());var Et=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=_.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let i=_.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var st=class{constructor(t=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new rn.CacheRegistry,this.cache=t?i.commonCache:new rn.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Et.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Et.await()}clearCache(){this.cache.clearAll()}};var js,Pc=Symbol("clearAfterUnitTest"),oo=class extends st{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[js]=()=>{this.defaultMessages={},this.cache=new lt.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=_.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,lt.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...n){var i,a,s;t=t.toLowerCase(),this.fetchContext(t);let c=(a=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new lt.ParametrizedLabelResolver((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},c).resolve(o,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(o){console.error(o)}}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,lt.delay)(0).then(()=>o()).catch(()=>null)))}};js=Pc;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends oo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends oo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Yt=window.FluidTopicsI18nService,Vs=window.FluidTopicsCustomI18nService;var ue=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},q=class extends De.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Et.get(),this.messageContexts=[],this.cache=new De.CacheRegistry,this.cleanSessionDebouncer=new De.Debouncer}render(){return Gs.html`
1107
1107
  <slot></slot>
1108
- `}update(o){super.update(o),o.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),o.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),o.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),o.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),o.has("noCustom")&&L.actions.noCustom(this.noCustom),o.has("editorMode")&&L.actions.editorMode(this.editorMode),o.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),o.has("session")&&L.actions.session(this.session),o.has("availableUiLocales")&&L.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),o.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Pe.addContext(r)),o.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),o.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),o.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},o.idleTimeoutInMillis),o})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};G.elementDefinitions={};G.styles=Ra;pt([(0,At.property)()],G.prototype,"baseUrl",void 0);pt([(0,At.property)()],G.prototype,"apiIntegrationIdentifier",void 0);pt([(0,At.property)()],G.prototype,"uiLocale",void 0);pt([(0,Lt.jsonProperty)(null)],G.prototype,"availableUiLocales",void 0);pt([(0,Lt.jsonProperty)(null)],G.prototype,"metadataConfiguration",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"editorMode",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"noCustom",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"openExternalDocumentInNewTab",void 0);pt([(0,At.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],G.prototype,"noCustomComponent",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"withManualResources",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"navigatorOnline",void 0);pt([(0,At.property)({type:Boolean})],G.prototype,"forcedOffline",void 0);pt([(0,At.property)({type:Object})],G.prototype,"apiProvider",void 0);pt([(0,Lt.jsonProperty)([])],G.prototype,"messageContexts",void 0);pt([(0,Lt.jsonProperty)(void 0)],G.prototype,"session",void 0);var ko=u(O());var Io=class extends Jt{async listMySearches(){let o=L.getState().session;return o?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(o.profile.userId),5*60*1e3):[]}};var Po=class extends Jt{async listMyBookmarks(){let o=L.getState().session;return o?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(o.profile.userId),5*60*1e3):[]}};var Al="ft-user-assets",_o=ko.FtReduxStore.get({name:Al,initialState:{savedSearches:void 0,bookmarks:void 0}}),yr=class{constructor(){this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Po,this.savedSearchesService=new Io,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:r}=L.getState();(0,ko.deepEqual)((o=this.currentSession)===null||o===void 0?void 0:o.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),_o.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),_o.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();_o.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var o;if(this.bookmarksAreUsed){let r=!((o=this.currentSession)===null||o===void 0)&&o.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;_o.actions.bookmarks(r)}}},xm=new yr;var gr=class{addCommand(o,r=!1){L.commands.add(o,r)}consumeCommand(o){return L.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new gr;var Ia=u(O()),br=class{highlightHtml(o,r){(0,Ia.highlightHtml)(o,r)}};window.FluidTopicsHighlightHtmlService=new br;(0,Pa.customElement)("ft-app-context")(G);var ka=u(nt()),Rl=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},xr=Symbol("i18nAttributes"),pe=Symbol("i18nProperties"),Qe=Symbol("i18nUnsubs");function Bo(e){var o;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?La:Pe}i18n(n,a,...s){var p;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let f=(p=n.args)!==null&&p!==void 0?p:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...f)}onI18nUpdate(n){var a,s;(a=this[xr])===null||a===void 0||a.forEach((p,f)=>{var h;let y=this.getI18nAttributeValue(f);((h=y?.context)===null||h===void 0?void 0:h.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(f,y,p)}),(s=this[pe])===null||s===void 0||s.forEach((p,f)=>{p.context.toLowerCase()===n.toLowerCase()&&(this[f]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,s){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(n){var a,s;super.update(n),(a=this[xr])===null||a===void 0||a.forEach((p,f)=>{let h=this.getI18nAttributeValue(f);h?.context&&h.key&&(n.has(f)||p.argsProvider!=null)&&(n.has(f)&&this.addI18nContext(h.context),this.updateI18nAttributeMessage(f,h,p))}),(s=this[pe])===null||s===void 0||s.forEach((p,f)=>{p.argsProvider!=null&&(this[f]=this.i18n(p))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,s,p;super.connectedCallback(),new Set([...(a=(n=this[pe])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(p=(s=this[xr])===null||s===void 0?void 0:s.keys())!==null&&p!==void 0?p:[]].map(f=>this.getI18nAttributeValue(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(n,a){n=n.toLowerCase(),this[Qe].has(n)||this[Qe].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{})}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Qe].forEach(n=>n()),this[Qe].clear()}}return o=Qe,Rl([(0,ka.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var _a=class extends Bo($o.FtLitElement){},Uo=class extends Bo($o.FtLitElementRedux){};var Da=u(O());var Do=u(P()),Mo=u(nt()),Wo=u(O());var Ua=u(P());var $a=Ua.css`
1109
- `;var to=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Tt=class extends Uo{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Do.nothing:Do.html`
1108
+ `}update(t){super.update(t),t.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&_.actions.noCustom(this.noCustom),t.has("editorMode")&&_.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&_.actions.session(this.session),t.has("availableUiLocales")&&_.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>Yt.addContext(o)),t.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};q.elementDefinitions={};q.styles=Fs;ue([(0,Pe.property)()],q.prototype,"baseUrl",void 0);ue([(0,Pe.property)()],q.prototype,"apiIntegrationIdentifier",void 0);ue([(0,Pe.property)()],q.prototype,"uiLocale",void 0);ue([(0,De.jsonProperty)(null)],q.prototype,"availableUiLocales",void 0);ue([(0,De.jsonProperty)(null)],q.prototype,"metadataConfiguration",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"editorMode",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"noCustom",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"openExternalDocumentInNewTab",void 0);ue([(0,Pe.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],q.prototype,"noCustomComponent",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"withManualResources",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"navigatorOnline",void 0);ue([(0,Pe.property)({type:Boolean})],q.prototype,"forcedOffline",void 0);ue([(0,Pe.property)({type:Object})],q.prototype,"apiProvider",void 0);ue([(0,De.jsonProperty)([])],q.prototype,"messageContexts",void 0);ue([(0,De.jsonProperty)(void 0)],q.prototype,"session",void 0);var In=g(Y());function Lc(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!wt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!wt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!wt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function wt(e,t){try{return Lc(e,t)}catch{return!1}}var Ks=g(Y(),1);var on=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:(c,p)=>!wt(c,p),attribute:!1,...t};(0,Ks.property)(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}};var no=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};var an=g(Y(),1);var Zs=g(Y(),1);function qs(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Zs.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!wt(n,i),...t??{}})}var io=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Xs=g(B(),1);var ao=window,Ic=ao.ShadowRoot&&(ao.ShadyCSS===void 0||ao.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,sb=Symbol();var Ys=(e,t)=>{Ic?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=ao.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var so=class extends Xs.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ys(n,t.elementStyles),n}};var nn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},el,Js=Symbol("constructorPrototype"),Qs=Symbol("constructorName"),tl=Symbol("exportpartsDebouncer"),At=class extends so{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[el]=new io(5),this[Qs]=this.constructor.name,this[Js]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Qs]&&Object.setPrototypeOf(this,this[Js])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[tl].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,c;let p=y=>y!=null&&y.trim().length>0,f=t.filter(p).map(y=>y.trim());if(f.length===0){this.removeAttribute("exportparts");return}let u=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...b).filter(p).map(S=>S.trim()).forEach(S=>u.add(S))}if(u.size===0){this.removeAttribute("exportparts");return}let m=[...u.values()].flatMap(y=>f.map(x=>`${y}:${x}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};el=tl;nn([(0,an.property)()],At.prototype,"exportpartsPrefix",void 0);nn([qs([])],At.prototype,"exportpartsPrefixes",void 0);nn([(0,an.property)()],At.prototype,"customStylesheet",void 0);function Cr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var rl,ol,nl,lo=Symbol("internalReduxEventsUnsubscribers"),ct=Symbol("internalStoresUnsubscribers"),Rt=Symbol("internalStores"),Er=class extends At{constructor(){super(...arguments),this[rl]=new Map,this[ol]=new Map,this[nl]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Rt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Rt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Rt].get(t)}addStore(t,o){var n;o=(n=o??(Cr(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Rt].delete(o)}setupStore(t,o){this[Rt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Rt].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[ct].has(t.store):this[ct].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[ct].set(t,o.subscribe(()=>this.updateFromStores())),Cr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[lo].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ct].forEach((t,o)=>this.unsubscribeFromStore(o)),this[lo].forEach(t=>t()),this[lo]=[]}unsubscribeFromStore(t){this[ct].has(t)&&this[ct].get(t)(),this[ct].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};rl=ct,ol=Rt,nl=lo;Er.reduxProperties=new Map;Er.reduxReactiveProperties=new Set;Er.reduxEventListeners=new Map;function Le(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[V]}function Me(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Wc}(e)||Array.isArray(e)||!!e[dl]||!!(!((t=e.constructor)===null||t===void 0)&&t[dl])||mn(e)||yn(e))}function Nt(e,t,o){o===void 0&&(o=!1),Qt(e)===0?(o?Object.keys:Jt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Qt(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:mn(e)?2:yn(e)?3:0}function Xt(e,t){return Qt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function _c(e,t){return Qt(e)===2?e.get(t):e[t]}function fl(e,t,o){var n=Qt(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ul(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function mn(e){return Bc&&e instanceof Map}function yn(e){return $c&&e instanceof Set}function pt(e){return e.o||e.t}function gn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=yl(e);delete t[V];for(var o=Jt(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function bn(e,t){return t===void 0&&(t=!1),xn(e)||Je(e)||!Me(e)||(Qt(e)>1&&(e.set=e.add=e.clear=e.delete=kc),Object.freeze(e),t&&Nt(e,function(o,n){return bn(n,!0)},!0)),e}function kc(){Le(2)}function xn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function He(e){var t=hn[e];return t||Le(18,e),t}function Dc(e,t){hn[e]||(hn[e]=t)}function dn(){return Ar}function sn(e,t){t&&(He("Patches"),e.u=[],e.s=[],e.v=t)}function co(e){fn(e),e.p.forEach(Mc),e.p=null}function fn(e){e===Ar&&(Ar=e.l)}function il(e){return Ar={p:[],l:Ar,h:e,m:!0,_:0}}function Mc(e){var t=e[V];t.i===0||t.i===1?t.j():t.g=!0}function ln(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||He("ES5").S(t,e,n),n?(o[V].P&&(co(t),Le(4)),Me(e)&&(e=po(t,e),t.l||fo(t,e)),t.u&&He("Patches").M(o[V].t,e,t.u,t.s)):e=po(t,o,[]),co(t),t.u&&t.v(t.u,t.s),e!==ml?e:void 0}function po(e,t,o){if(xn(t))return t;var n=t[V];if(!n)return Nt(t,function(c,p){return al(e,n,t,c,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return fo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=gn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Nt(a,function(c,p){return al(e,n,i,c,p,o,s)}),fo(e,i,!1),o&&e.u&&He("Patches").N(n,o,e.u,e.s)}return n.o}function al(e,t,o,n,i,a,s){if(Je(i)){var c=po(e,i,a&&t&&t.i!==3&&!Xt(t.R,n)?a.concat(n):void 0);if(fl(o,n,c),!Je(c))return;e.m=!1}else s&&o.add(i);if(Me(i)&&!xn(i)){if(!e.h.D&&e._<1)return;po(e,i),t&&t.A.l||fo(e,i)}}function fo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&bn(t,o)}function cn(e,t){var o=e[V];return(o?pt(o):e)[t]}function sl(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function dt(e){e.P||(e.P=!0,e.l&&dt(e.l))}function pn(e){e.o||(e.o=gn(e.t))}function un(e,t,o){var n=mn(t)?He("MapSet").F(t,o):yn(t)?He("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:dn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,f=Rr;s&&(p=[c],f=wr);var u=Proxy.revocable(p,f),m=u.revoke,y=u.proxy;return c.k=y,c.j=m,y}(t,o):He("ES5").J(t,o);return(o?o.A:dn()).p.push(n),n}function Uc(e){return Je(e)||Le(22,e),function t(o){if(!Me(o))return o;var n,i=o[V],a=Qt(o);if(i){if(!i.P&&(i.i<4||!He("ES5").K(i)))return i.t;i.I=!0,n=ll(o,a),i.I=!1}else n=ll(o,a);return Nt(n,function(s,c){i&&_c(i.t,s)===c||fl(n,s,t(c))}),a===3?new Set(n):n}(e)}function ll(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return gn(e)}function hl(){function e(s,c){var p=a[s];return p?p.enumerable=c:a[s]=p={configurable:!0,enumerable:c,get:function(){var f=this[V];return Rr.get(f,s)},set:function(f){var u=this[V];Rr.set(u,s,f)}},p}function t(s){for(var c=s.length-1;c>=0;c--){var p=s[c][V];if(!p.P)switch(p.i){case 5:n(p)&&dt(p);break;case 4:o(p)&&dt(p)}}}function o(s){for(var c=s.t,p=s.k,f=Jt(p),u=f.length-1;u>=0;u--){var m=f[u];if(m!==V){var y=c[m];if(y===void 0&&!Xt(c,m))return!0;var x=p[m],b=x&&x[V];if(b?b.t!==y:!ul(x,y))return!0}}var S=!!c[V];return f.length!==Jt(c).length+(S?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&Le(3,JSON.stringify(pt(s)))}var a={};Dc("ES5",{J:function(s,c){var p=Array.isArray(s),f=function(m,y){if(m){for(var x=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(x,""+b,e(b,!0));return x}var S=yl(y);delete S[V];for(var R=Jt(S),w=0;w<R.length;w++){var A=R[w];S[A]=e(A,m||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(y),S)}(p,s),u={i:p?5:4,A:c?c.A:dn(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,V,{value:u,writable:!0}),f},S:function(s,c,p){p?Je(c)&&c[V].A===s&&t(s.p):(s.u&&function f(u){if(u&&typeof u=="object"){var m=u[V];if(m){var y=m.t,x=m.k,b=m.R,S=m.i;if(S===4)Nt(x,function(L){L!==V&&(y[L]!==void 0||Xt(y,L)?b[L]||f(x[L]):(b[L]=!0,dt(m)))}),Nt(y,function(L){x[L]!==void 0||Xt(x,L)||(b[L]=!1,dt(m))});else if(S===5){if(n(m)&&(dt(m),b.length=!0),x.length<y.length)for(var R=x.length;R<y.length;R++)b[R]=!1;else for(var w=y.length;w<x.length;w++)b[w]=!0;for(var A=Math.min(x.length,y.length),I=0;I<A;I++)x.hasOwnProperty(I)||(b[I]=!0),b[I]===void 0&&f(x[I])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var cl,Ar,vn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Bc=typeof Map<"u",$c=typeof Set<"u",pl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ml=vn?Symbol.for("immer-nothing"):((cl={})["immer-nothing"]=!0,cl),dl=vn?Symbol.for("immer-draftable"):"__$immer_draftable",V=vn?Symbol.for("immer-state"):"__$immer_state";var Wc=""+Object.prototype.constructor,Jt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,yl=Object.getOwnPropertyDescriptors||function(e){var t={};return Jt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},hn={},Rr={get:function(e,t){if(t===V)return e;var o=pt(e);if(!Xt(o,t))return function(i,a,s){var c,p=sl(a,s);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Me(n)?n:n===cn(e.t,t)?(pn(e),e.o[t]=un(e.A.h,n,e)):n},has:function(e,t){return t in pt(e)},ownKeys:function(e){return Reflect.ownKeys(pt(e))},set:function(e,t,o){var n=sl(pt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=cn(pt(e),t),a=i?.[V];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ul(o,i)&&(o!==void 0||Xt(e.t,t)))return!0;pn(e),dt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return cn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,pn(e),dt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=pt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Le(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Le(12)}},wr={};Nt(Rr,function(e,t){wr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),wr.deleteProperty=function(e,t){return wr.set.call(this,e,t,void 0)},wr.set=function(e,t,o){return Rr.set.call(this,e[0],t,o,e[0])};var zc=function(){function e(o){var n=this;this.O=pl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(S){var R=this;S===void 0&&(S=c);for(var w=arguments.length,A=Array(w>1?w-1:0),I=1;I<w;I++)A[I-1]=arguments[I];return p.produce(S,function(L){var W;return(W=a).call.apply(W,[R,L].concat(A))})}}var f;if(typeof a!="function"&&Le(6),s!==void 0&&typeof s!="function"&&Le(7),Me(i)){var u=il(n),m=un(n,i,void 0),y=!0;try{f=a(m),y=!1}finally{y?co(u):fn(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return sn(u,s),ln(S,u)},function(S){throw co(u),S}):(sn(u,s),ln(f,u))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===ml&&(f=void 0),n.D&&bn(f,!0),s){var x=[],b=[];He("Patches").M(i,f,x,b),s(x,b)}return f}Le(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var u=arguments.length,m=Array(u>1?u-1:0),y=1;y<u;y++)m[y-1]=arguments[y];return n.produceWithPatches(f,function(x){return i.apply(void 0,[x].concat(m))})};var s,c,p=n.produce(i,a,function(f,u){s=f,c=u});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,s,c]}):[p,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Me(o)||Le(8),Je(o)&&(o=Uc(o));var n=il(this),i=un(this,o,void 0);return i[V].C=!0,fn(n),i},t.finishDraft=function(o,n){var i=o&&o[V],a=i.A;return sn(a,n),ln(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!pl&&Le(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=He("Patches").$;return Je(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),we=new zc,Fc=we.produce,xb=we.produceWithPatches.bind(we),vb=we.setAutoFreeze.bind(we),Sb=we.setUseProxies.bind(we),Ob=we.applyPatches.bind(we),Cb=we.createDraft.bind(we),Eb=we.finishDraft.bind(we),uo=Fc;function ft(e){"@babel/helpers - typeof";return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(e)}function Sn(e,t){if(ft(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ft(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function On(e){var t=Sn(e,"string");return ft(t)==="symbol"?t:String(t)}function Cn(e,t,o){return t=On(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function gl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function ho(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?gl(Object(o),!0).forEach(function(n){Cn(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):gl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var bl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),En=function(){return Math.random().toString(36).substring(7).split("").join(".")},mo={INIT:"@@redux/INIT"+En(),REPLACE:"@@redux/REPLACE"+En(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+En()}};function Hc(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function wn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(wn)(e,t)}if(typeof e!="function")throw new Error(pe(2));var i=e,a=t,s=[],c=s,p=!1;function f(){c===s&&(c=s.slice())}function u(){if(p)throw new Error(pe(3));return a}function m(S){if(typeof S!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var R=!0;return f(),c.push(S),function(){if(R){if(p)throw new Error(pe(6));R=!1,f();var A=c.indexOf(S);c.splice(A,1),s=null}}}function y(S){if(!Hc(S))throw new Error(pe(7));if(typeof S.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,a=i(a,S)}finally{p=!1}for(var R=s=c,w=0;w<R.length;w++){var A=R[w];A()}return S}function x(S){if(typeof S!="function")throw new Error(pe(10));i=S,y({type:mo.REPLACE})}function b(){var S,R=m;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(pe(11));function I(){A.next&&A.next(u())}I();var L=R(I);return{unsubscribe:L}}},S[bl]=function(){return this},S}return y({type:mo.INIT}),n={dispatch:y,subscribe:m,getState:u,replaceReducer:x},n[bl]=b,n}function jc(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:mo.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:mo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function xl(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,c;try{jc(o)}catch(p){c=p}return function(f,u){if(f===void 0&&(f={}),c)throw c;if(0)var m;for(var y=!1,x={},b=0;b<a.length;b++){var S=a[b],R=o[S],w=f[S],A=R(w,u);if(typeof A>"u"){var I=u&&u.type;throw new Error(pe(14))}x[S]=A,y=y||A!==w}return y=y||a.length!==Object.keys(f).length,y?x:f}}function er(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function vl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(pe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(p){return p(s)});return a=er.apply(void 0,c)(i.dispatch),ho(ho({},i),{},{dispatch:a})}}}function Sl(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var Ol=Sl();Ol.withExtraArgument=Sl;var An=Ol;var Rl=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Vc=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(u){return p([f,u])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,i=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=t.call(e,o)}catch(u){f=[6,u],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},tr=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Gc=Object.defineProperty,Kc=Object.defineProperties,Zc=Object.getOwnPropertyDescriptors,Cl=Object.getOwnPropertySymbols,qc=Object.prototype.hasOwnProperty,Yc=Object.prototype.propertyIsEnumerable,El=function(e,t,o){return t in e?Gc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},ut=function(e,t){for(var o in t||(t={}))qc.call(t,o)&&El(e,o,t[o]);if(Cl)for(var n=0,i=Cl(t);n<i.length;n++){var o=i[n];Yc.call(t,o)&&El(e,o,t[o])}return e},Rn=function(e,t){return Kc(e,Zc(t))},Xc=function(e,t,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(f){i(f)}},s=function(p){try{c(o.throw(p))}catch(f){i(f)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,s)};c((o=o.apply(e,t)).next())})};var Jc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?er:er.apply(null,arguments)},Fb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Qc(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var ep=function(e){Rl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,tr([void 0],o[0].concat(this)))):new(t.bind.apply(t,tr([void 0],o.concat(this))))},t}(Array),tp=function(e){Rl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,tr([void 0],o[0].concat(this)))):new(t.bind.apply(t,tr([void 0],o.concat(this))))},t}(Array);function Pn(e){return Me(e)?uo(e,function(){}):e}function rp(e){return typeof e=="boolean"}function op(){return function(t){return np(t)}}function np(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,c=new ep;if(o&&(rp(o)?c.push(An):c.push(An.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var f}return c}var Nn=!0;function Nl(e){var t=op(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,c=o.devTools,p=c===void 0?!0:c,f=o.preloadedState,u=f===void 0?void 0:f,m=o.enhancers,y=m===void 0?void 0:m,x;if(typeof i=="function")x=i;else if(Qc(i))x=xl(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(t),!Nn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Nn&&b.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=vl.apply(void 0,b),R=er;p&&(R=Jc(ut({trace:!Nn},typeof p=="object"&&p)));var w=new tp(S),A=w;Array.isArray(y)?A=tr([S],y):typeof y=="function"&&(A=y(w));var I=R.apply(void 0,A);return wn(x,u,I)}function ht(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return ut(ut({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Tl(e){var t={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function ip(e){return typeof e=="function"}function ap(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Tl(t):[t,o,n],a=i[0],s=i[1],c=i[2],p;if(ip(e))p=function(){return Pn(e())};else{var f=Pn(e);p=function(){return f}}function u(m,y){m===void 0&&(m=p());var x=tr([a[y.type]],s.filter(function(b){var S=b.matcher;return S(y)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[c]),x.reduce(function(b,S){if(S)if(Je(b)){var R=b,w=S(R,y);return w===void 0?b:w}else{if(Me(b))return uo(b,function(A){return S(A,y)});var w=S(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},m)}return u.getInitialState=p,u}function sp(e,t){return e+"/"+t}function Pl(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Pn(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(u){var m=n[u],y=sp(t,u),x,b;"reducer"in m?(x=m.reducer,b=m.prepare):x=m,a[u]=x,s[y]=x,c[u]=b?ht(y,b):ht(y)});function p(){var u=typeof e.extraReducers=="function"?Tl(e.extraReducers):[e.extraReducers],m=u[0],y=m===void 0?{}:m,x=u[1],b=x===void 0?[]:x,S=u[2],R=S===void 0?void 0:S,w=ut(ut({},y),s);return ap(o,function(A){for(var I in w)A.addCase(I,w[I]);for(var L=0,W=b;L<W.length;L++){var he=W[L];A.addMatcher(he.matcher,he.reducer)}R&&A.addDefaultCase(R)})}var f;return{name:t,reducer:function(u,m){return f||(f=p()),f(u,m)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var lp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",cp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=lp[Math.random()*64|0];return t},pp=["name","message","stack","code"],Tn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),wl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),dp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=pp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Gb=function(){function e(t,o,n){var i=ht(t+"/fulfilled",function(u,m,y,x){return{payload:u,meta:Rn(ut({},x||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=ht(t+"/pending",function(u,m,y){return{payload:void 0,meta:Rn(ut({},y||{}),{arg:m,requestId:u,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(u,m,y,x,b){return{payload:x,error:(n&&n.serializeError||dp)(u||"Rejected"),meta:Rn(ut({},b||{}),{arg:y,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function f(u){return function(m,y,x){var b=n?.idGenerator?n.idGenerator(u):cp(),S=new p,R,w=!1;function A(L){R=L,S.abort()}var I=function(){return Xc(this,null,function(){var L,W,he,ee,rr,Ae,h;return Vc(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),ee=(L=n?.condition)==null?void 0:L.call(n,u,{getState:y,extra:x}),up(ee)?[4,ee]:[3,2];case 1:ee=v.sent(),v.label=2;case 2:if(ee===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,rr=new Promise(function(N,H){return S.signal.addEventListener("abort",function(){return H({name:"AbortError",message:R||"Aborted"})})}),m(a(b,u,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:b,arg:u},{getState:y,extra:x}))),[4,Promise.race([rr,Promise.resolve(o(u,{dispatch:m,getState:y,extra:x,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(N,H){return new Tn(N,H)},fulfillWithValue:function(N,H){return new wl(N,H)}})).then(function(N){if(N instanceof Tn)throw N;return N instanceof wl?i(N.payload,b,u,N.meta):i(N,b,u)})])];case 3:return he=v.sent(),[3,5];case 4:return Ae=v.sent(),he=Ae instanceof Tn?s(null,b,u,Ae.payload,Ae.meta):s(Ae,b,u),[3,5];case 5:return h=n&&!n.dispatchConditionRejection&&s.match(he)&&he.meta.condition,h||m(he),[2,he]}})})}();return Object.assign(I,{abort:A,requestId:b,arg:u,unwrap:function(){return I.then(fp)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function fp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function up(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ll="listener",Il="completed",_l="cancelled",Kb="task-"+_l,Zb="task-"+Il,qb=Ll+"-"+_l,Yb=Ll+"-"+Il;var Ln="listenerMiddleware";var Xb=ht(Ln+"/add"),Jb=ht(Ln+"/removeAll"),Qb=ht(Ln+"/remove");var Al,ex=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Al||(Al=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},hp=function(e){return function(t){setTimeout(t,e)}},tx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:hp(10);hl();window.ftReduxStores||(window.ftReduxStores={});var kl=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Cr(a))return a;if(i==null)return;let s=Pl({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Nl({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:s.reducer(p,f)});return window.ftReduxStores[i.name]=new e(s,c)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new no,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...p)=>{let f=c(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[s]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var yo=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var go=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function Dl(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(_)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(c=>c.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>yo.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return go([(0,In.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),go([(0,In.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),go([on({store:_.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),go([on({store:_.name})],t.prototype,"uiLocale",void 0),t}var So=g(P());var bo=class extends st{async listMySearches(){let t=_.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var xo=class extends st{async listMyBookmarks(){let t=_.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var mp="ft-user-assets",vo=So.FtReduxStore.get({name:mp,initialState:{savedSearches:void 0,bookmarks:void 0}}),_n=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xo,this.savedSearchesService=new bo,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=_.getState();(0,So.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),vo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),vo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();vo.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;vo.actions.bookmarks(o)}}},Nx=new _n;var kn=class{addCommand(t,o=!1){_.commands.add(t,o)}consumeCommand(t){return _.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new kn;var Ml=g(P()),Dn=class{highlightHtml(t,o){(0,Ml.highlightHtml)(t,o)}};window.FluidTopicsHighlightHtmlService=new Dn;var Ul=g(P());var Mn=class{isDate(t){var o,n,i,a;return(a=(i=((n=(o=_.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,o){var n,i,a;return Ul.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:_.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Mn;(0,Bl.customElement)("ft-app-context")(q);var Wl=g(Y()),yp=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Un=Symbol("i18nAttributes"),Tt=Symbol("i18nProperties"),Nr=Symbol("i18nUnsubs");function Eo(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Vs:Yt}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let p=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...p)}onI18nUpdate(i){var a,s;(a=this[Un])===null||a===void 0||a.forEach((c,p)=>{var f;let u=this.getI18nAttributeValue(p);((f=u?.context)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(p,u,c)}),(s=this[Tt])===null||s===void 0||s.forEach((c,p)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[p]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[Un])===null||a===void 0||a.forEach((c,p)=>{let f=this.getI18nAttributeValue(p);f?.context&&f.key&&(i.has(p)||c.argsProvider!=null)&&(i.has(p)&&this.addI18nContext(f.context),this.updateI18nAttributeMessage(p,f,c))}),(s=this[Tt])===null||s===void 0||s.forEach((c,p)=>{c.argsProvider!=null&&(this[p]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,c;super.connectedCallback(),new Set([...(a=(i=this[Tt])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[Un])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(p=>this.getI18nAttributeValue(p))].map(p=>p?.context)).forEach(p=>p&&this.addI18nMessages(p))}addI18nMessages(i,a){i=i.toLowerCase(),this[Nr].has(i)||this[Nr].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{})}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Nr].forEach(i=>i()),this[Nr].clear()}}return t=Nr,yp([(0,Wl.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var $l=class extends Eo(Co.FtLitElement){},Oo=class extends Eo(Co.FtLitElementRedux){};var jl=g(P());var wo=g(B()),Ao=g(Y()),Ro=g(P());var zl=g(B());var Fl=zl.css`
1109
+ `;var Tr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ue=class extends Oo{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":wo.nothing:wo.html`
1110
1110
  <span class="ft-i18n">
1111
1111
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1112
1112
  </span>
1113
- `}update(o){var r;super.update(o),["context","key","defaultMessage"].some(i=>o.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Tt.elementDefinitions={};Tt.styles=$a;to([(0,Wo.redux)()],Tt.prototype,"editorMode",void 0);to([(0,Mo.property)()],Tt.prototype,"context",void 0);to([(0,Mo.property)()],Tt.prototype,"key",void 0);to([(0,Wo.jsonProperty)([])],Tt.prototype,"args",void 0);to([(0,Mo.property)()],Tt.prototype,"defaultMessage",void 0);var Ho=class e{static build(o){return new e(o)}static fromGwt(o){return new e(o)}constructor(o){this.name=o,this.properties=new Proxy({},{get:(r,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,i)=>(...n)=>Pe.resolveMessage(this.name,i,...n)})}};var Ba=(e,o)=>(r,i)=>{var n,a;r.constructor.createProperty(i,o??{attribute:!1,type:String});let s={...e,key:(n=e.key)!==null&&n!==void 0?n:i};r[pe]=(a=r[pe])!==null&&a!==void 0?a:new Map,r[pe].set(i,s)};(0,Da.customElement)("ft-i18n")(Tt);var vr=Ho.build("designedReaderMapMetadata");var wt=function(e,o,r,i){var n=arguments.length,a=n<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,o,r,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(n<3?s(a):n>3?s(o,r,a):s(o,r))||a);return n>3&&a&&Object.defineProperty(o,r,a),a},Q=class extends Bo(ro){constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.displayLabel=!1,this.editorMode=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(vr)}setReaderStateManager(o){super.setReaderStateManager(o),this.key&&this.useForSwitchingToRelatives&&o.registerMetadataForSwitchToRelatives(this.key)}updateRelatives(){var o,r,i,n;this.useForSwitchingToRelatives&&this.key?this.relatives=(n=(r=(o=this.stateManager)===null||o===void 0?void 0:o.clusteringHelper)===null||r===void 0?void 0:r.computeClustersItemsForMetadata(this.key,((i=this.map)===null||i===void 0?void 0:i.lang)||"en",this.noValueMessage))!==null&&n!==void 0?n:[]:this.relatives=[]}render(){return Rt.html`
1113
+ `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ue.elementDefinitions={};Ue.styles=Fl;Tr([(0,Ro.redux)()],Ue.prototype,"editorMode",void 0);Tr([(0,Ao.property)()],Ue.prototype,"context",void 0);Tr([(0,Ao.property)()],Ue.prototype,"key",void 0);Tr([(0,Ro.jsonProperty)([])],Ue.prototype,"args",void 0);Tr([(0,Ao.property)()],Ue.prototype,"defaultMessage",void 0);var No=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>Yt.resolveMessage(this.name,n,...i)})}};var Hl=(e,t)=>(o,n)=>{var i,a;o.constructor.createProperty(n,t??{attribute:!1,type:String});let s={...e,key:(i=e.key)!==null&&i!==void 0?i:n};o[Tt]=(a=o[Tt])!==null&&a!==void 0?a:new Map,o[Tt].set(n,s)};(0,jl.customElement)("ft-i18n")(Ue);var Bn=No.build("designedReaderMapMetadata");var _e=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ne=class extends Dl(Eo(Lr)){constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.displayLabel=!1,this.editorMode=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(Bn)}setReaderStateManager(t){super.setReaderStateManager(t),this.key&&this.useForSwitchingToRelatives&&t.registerMetadataForSwitchToRelatives(this.key)}updateRelatives(){var t,o,n,i;this.useForSwitchingToRelatives&&this.key?this.relatives=(i=(o=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||o===void 0?void 0:o.computeClustersItemsForMetadata(this.key,((n=this.map)===null||n===void 0?void 0:n.lang)||"en",this.noValueMessage))!==null&&i!==void 0?i:[]:this.relatives=[]}render(){return Ie.html`
1114
1114
  ${this.useForSwitchingToRelatives&&this.relatives.length>0?this.renderSwitchToRelatives():this.renderChip()}
1115
1115
  ${this.hideIfEmpty()}
1116
- `}renderSwitchToRelatives(){return Rt.html`
1116
+ `}renderSwitchToRelatives(){return Ie.html`
1117
1117
  <div part="floating-menu-container" class="ft-reader-metadata--container">
1118
1118
  <ft-floating-menu part="floating-menu" text="Toggle collapsible" trailingIcon>
1119
1119
  ${this.renderChip(!0)}
1120
1120
  <ft-floating-menu-label>${this.metadataLabel}</ft-floating-menu-label>
1121
- ${(0,Ma.repeat)(this.relatives,o=>o.metadata.value,o=>this.renderRelativeItem(o.result,o.metadata))}
1121
+ ${(0,Vl.repeat)(this.relatives,t=>t.metadata.value,t=>this.renderRelativeItem(t.result,t.metadata))}
1122
1122
  </ft-floating-menu>
1123
1123
  </div>
1124
- `}renderChip(o=!1){var r,i,n,a,s,p;let f=this.displayLabel&&((r=this.flatMetadata)===null||r===void 0?void 0:r.value)==((i=this.flatMetadata)===null||i===void 0?void 0:i.displayValue),h=Rt.html`
1124
+ `}renderChip(t=!1){var o,n,i,a,s,c;let p=this.displayLabel&&((o=this.flatMetadata)===null||o===void 0?void 0:o.value)==((n=this.flatMetadata)===null||n===void 0?void 0:n.displayValue),f=Ie.html`
1125
1125
  <ft-chip part="chip"
1126
1126
  exportpartsPrefix="chip"
1127
- slot="${f&&o?"toggle":""}"
1128
- trailingIcon icon="${o?"thin_arrow":""}"
1129
- ?clickable=${o}
1127
+ slot="${p&&t?"toggle":""}"
1128
+ trailingIcon icon="${t?"thin_arrow":""}"
1129
+ ?clickable=${t}
1130
1130
  ?multiLine=${this.multiLine}>
1131
- ${this.displayLabel?Rt.html`
1132
- <span part="label">${(a=(n=this.metadata)===null||n===void 0?void 0:n.label)!==null&&a!==void 0?a:this.key}: </span>
1133
- `:Rt.nothing}
1131
+ ${this.displayLabel?Ie.html`
1132
+ <span part="label">${(a=(i=this.metadata)===null||i===void 0?void 0:i.label)!==null&&a!==void 0?a:this.key}: </span>
1133
+ `:Ie.nothing}
1134
1134
  <span part="values">${this.metadataValue}</span>
1135
- </ft-chip>`;return f?h:Rt.html`
1135
+ </ft-chip>`;return p?f:Ie.html`
1136
1136
  <ft-tooltip part="tooltip"
1137
- slot="${o?"toggle":""}"
1137
+ slot="${t?"toggle":""}"
1138
1138
  class="${this.multiLine?"ft-reader-metadata-multi-line":""}"
1139
- text="${`${this.metadataLabel}: ${(p=(s=this.flatMetadata)===null||s===void 0?void 0:s.value)!==null&&p!==void 0?p:this.noValueMessage}`}">
1140
- ${h}
1139
+ text="${`${this.metadataLabel}: ${(c=(s=this.flatMetadata)===null||s===void 0?void 0:s.value)!==null&&c!==void 0?c:this.noValueMessage}`}">
1140
+ ${f}
1141
1141
  </ft-tooltip>
1142
- `}get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(o,r){return Rt.html`
1142
+ `}get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(t,o){return Ie.html`
1143
1143
  <a part="relative-item-link"
1144
- href="${hr(o)}"
1145
- @click=${i=>this.addTopicPivotParam(i,o)}>
1144
+ href="${tn(t)}"
1145
+ @click=${n=>this.addTopicPivotParam(n,t)}>
1146
1146
  <ft-ripple part="relative-item-ripple"></ft-ripple>
1147
- <ft-floating-menu-item part="relative-item" value="${r.value}" notFocusable>
1148
- ${r.value==null||r.value===r.displayValue?r.displayValue:Rt.html`
1149
- <ft-tooltip part="relative-item-tooltip" text="${r.value}">${r.displayValue}</ft-tooltip>
1147
+ <ft-floating-menu-item part="relative-item" value="${o.value}" notFocusable>
1148
+ ${o.value==null||o.value===o.displayValue?o.displayValue:Ie.html`
1149
+ <ft-tooltip part="relative-item-tooltip" text="${o.value}">${o.displayValue}</ft-tooltip>
1150
1150
  `}
1151
1151
  </ft-floating-menu-item>
1152
1152
  </a>
1153
- `}hideIfEmpty(){let o=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&o?Rt.html`
1153
+ `}hideIfEmpty(){let t=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&t?Ie.html`
1154
1154
  <style>
1155
1155
  :host {
1156
1156
  display: none !important;
1157
1157
  }
1158
1158
  </style>
1159
- `:Rt.nothing}addTopicPivotParam(o,r){var i,n;let a=this.stateManager.store.getState().visibleTopics[0];if(a&&r.type=="MAP"){o.stopPropagation(),o.preventDefault();let s=(i=this.service)===null||i===void 0?void 0:i.getTocNodeNow(a);(n=this.service)===null||n===void 0||n.getTopicInfo(s).then(p=>{let f=p?.metadata.find(x=>x.key==this.relativeTopicPivotMetadata),h=new URL(hr(r));f&&f.values.forEach(x=>h.searchParams.append("topicPivot",x));let y=document.createElement("a");y.href=h.toString(),(o.ctrlKey||o.metaKey)&&(y.target="_blank"),this.append(y),y.click()})}}update(o){var r,i,n,a;super.update(o),o.has("key")&&this.useForSwitchingToRelatives&&(o.get("key")&&((r=this.stateManager)===null||r===void 0||r.unregisterMetadataForSwitchToRelatives(o.get("key"))),this.key&&((i=this.stateManager)===null||i===void 0||i.registerMetadataForSwitchToRelatives(this.key))),o.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?(n=this.stateManager)===null||n===void 0||n.registerMetadataForSwitchToRelatives(this.key):(a=this.stateManager)===null||a===void 0||a.unregisterMetadataForSwitchToRelatives(this.key)),o.has("metadata")&&(this.flatMetadata=$t.ClusteringHelper.flattenMetadata(this.metadata))}get metadataLabel(){var o,r,i,n,a,s;return this.metadata?this.metadata.label:(s=(n=(i=(r=(o=this.stateManager)===null||o===void 0?void 0:o.clusteringHelper)===null||r===void 0?void 0:r.getMetadataDescriptor(this.key))===null||i===void 0?void 0:i.label)!==null&&n!==void 0?n:(a=this.relatives.find(p=>p.metadata.value))===null||a===void 0?void 0:a.metadata.label)!==null&&s!==void 0?s:this.key}};Q.elementDefinitions={"ft-chip":F,"ft-floating-menu":Xt,"ft-floating-menu-item":mt,"ft-floating-menu-label":qt,"ft-ripple":_,"ft-tooltip":$};Q.styles=wr;wt([(0,Gt.property)(),(0,$t.reduxReactive)()],Q.prototype,"key",void 0);wt([(0,Gt.property)({type:Boolean})],Q.prototype,"multiLine",void 0);wt([(0,Gt.property)({type:Boolean})],Q.prototype,"useForSwitchingToRelatives",void 0);wt([(0,Gt.property)({type:Boolean})],Q.prototype,"displayLabel",void 0);wt([(0,Gt.property)({attribute:!1})],Q.prototype,"editorMode",void 0);wt([(0,$t.redux)({selector:(e,o)=>{var r,i;return(i=(r=e.map)===null||r===void 0?void 0:r.metadata)===null||i===void 0?void 0:i.find(n=>n.key===o.key)}})],Q.prototype,"metadata",void 0);wt([(0,Gt.state)()],Q.prototype,"flatMetadata",void 0);wt([(0,$t.redux)()],Q.prototype,"map",void 0);wt([(0,$t.redux)({selector:e=>{var o;return(o=e.configuration)===null||o===void 0?void 0:o.relativeTopicPivotMetadata}})],Q.prototype,"relativeTopicPivotMetadata",void 0);wt([(0,Gt.state)()],Q.prototype,"relatives",void 0);wt([Ba(vr.properties.itemWithNoValueForSwitchToRelatives())],Q.prototype,"noValueMessage",void 0);wt([(0,$t.reduxEventListener)({eventName:"clustering-helper-created"})],Q.prototype,"updateRelatives",null);(0,Wa.customElement)("ft-reader-metadata")(Q);})();
1159
+ `:Ie.nothing}addTopicPivotParam(t,o){var n,i;let a=this.stateManager.store.getState().visibleTopics[0];if(a&&o.type=="MAP"){t.stopPropagation(),t.preventDefault();let s=(n=this.service)===null||n===void 0?void 0:n.getTocNodeNow(a);(i=this.service)===null||i===void 0||i.getTopicInfo(s).then(c=>{let p=c?.metadata.find(m=>m.key==this.relativeTopicPivotMetadata),f=new URL(tn(o));p&&p.values.forEach(m=>f.searchParams.append("topicPivot",m));let u=document.createElement("a");u.href=f.toString(),(t.ctrlKey||t.metaKey)&&(u.target="_blank"),this.append(u),u.click()})}}update(t){var o,n,i,a;super.update(t),t.has("key")&&this.useForSwitchingToRelatives&&(t.get("key")&&((o=this.stateManager)===null||o===void 0||o.unregisterMetadataForSwitchToRelatives(t.get("key"))),this.key&&((n=this.stateManager)===null||n===void 0||n.registerMetadataForSwitchToRelatives(this.key))),t.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?(i=this.stateManager)===null||i===void 0||i.registerMetadataForSwitchToRelatives(this.key):(a=this.stateManager)===null||a===void 0||a.unregisterMetadataForSwitchToRelatives(this.key)),(t.has("metadata")||this.dateFormatOptionsChanged(t))&&(this.flatMetadata=je.ClusteringHelper.flattenMetadata(this.formatDateValues(this.metadata)))}get metadataLabel(){var t,o,n,i,a,s;return this.metadata?this.metadata.label:(s=(i=(n=(o=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||o===void 0?void 0:o.getMetadataDescriptor(this.key))===null||n===void 0?void 0:n.label)!==null&&i!==void 0?i:(a=this.relatives.find(c=>c.metadata.value))===null||a===void 0?void 0:a.metadata.label)!==null&&s!==void 0?s:this.key}};ne.elementDefinitions={"ft-chip":Z,"ft-floating-menu":it,"ft-floating-menu-item":xe,"ft-floating-menu-label":at,"ft-ripple":$,"ft-tooltip":j};ne.styles=jn;_e([(0,Qe.property)(),(0,je.reduxReactive)()],ne.prototype,"key",void 0);_e([(0,Qe.property)({type:Boolean})],ne.prototype,"multiLine",void 0);_e([(0,Qe.property)({type:Boolean})],ne.prototype,"useForSwitchingToRelatives",void 0);_e([(0,Qe.property)({type:Boolean})],ne.prototype,"displayLabel",void 0);_e([(0,Qe.property)({attribute:!1})],ne.prototype,"editorMode",void 0);_e([(0,je.redux)({store:"reader",selector:(e,t)=>{var o,n;return(n=(o=e.map)===null||o===void 0?void 0:o.metadata)===null||n===void 0?void 0:n.find(i=>i.key===t.key)}})],ne.prototype,"metadata",void 0);_e([(0,Qe.state)()],ne.prototype,"flatMetadata",void 0);_e([(0,je.redux)({store:"reader"})],ne.prototype,"map",void 0);_e([(0,je.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.relativeTopicPivotMetadata}})],ne.prototype,"relativeTopicPivotMetadata",void 0);_e([(0,Qe.state)()],ne.prototype,"relatives",void 0);_e([Hl(Bn.properties.itemWithNoValueForSwitchToRelatives())],ne.prototype,"noValueMessage",void 0);_e([(0,je.reduxEventListener)({eventName:"clustering-helper-created"})],ne.prototype,"updateRelatives",null);(0,Gl.customElement)("ft-reader-metadata")(ne);})();
1160
1160
  /*! Bundled license information:
1161
1161
 
1162
1162
  lit-html/lit-html.js:
@@ -1179,4 +1179,11 @@ lit-html/directives/if-defined.js:
1179
1179
  * Copyright 2018 Google LLC
1180
1180
  * SPDX-License-Identifier: BSD-3-Clause
1181
1181
  *)
1182
+
1183
+ @lit/reactive-element/css-tag.js:
1184
+ (**
1185
+ * @license
1186
+ * Copyright 2019 Google LLC
1187
+ * SPDX-License-Identifier: BSD-3-Clause
1188
+ *)
1182
1189
  */