@fluid-topics/ft-reader-metadata 1.1.78 → 1.1.79

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 Ma=Object.create;var Or=Object.defineProperty;var Wa=Object.getOwnPropertyDescriptor;var za=Object.getOwnPropertyNames;var Ha=Object.getPrototypeOf,Fa=Object.prototype.hasOwnProperty;var te=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ga=(e,o,r,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of za(o))!Fa.call(e,n)&&n!==r&&Or(e,n,{get:()=>o[n],enumerable:!(i=Wa(o,n))||i.enumerable});return e};var u=(e,o,r)=>(r=e!=null?Ma(Ha(e)):{},Ga(o||!e||!e.__esModule?Or(r,"default",{value:e,enumerable:!0}):r,e));var O=te((wl,Cr)=>{Cr.exports=ftGlobals.wcUtils});var P=te((Rl,Er)=>{Er.exports=ftGlobals.lit});var nt=te((Nl,Ar)=>{Ar.exports=ftGlobals.litDecorators});var Ge=te((nf,cn)=>{cn.exports=ftGlobals.litClassMap});var Sn=te((hf,vn)=>{vn.exports=ftGlobals.litUnsafeHTML});var ia=te(ra=>{(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 R(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=R(m);return m.readAsArrayBuffer(d),C}function I(d){var m=new FileReader,C=R(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 I(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 H=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function tt(d){var m=d.toUpperCase();return H.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 Ho="response"in k?k.response:k.responseText;C(new yt(Ho,_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,Ho){k.setRequestHeader(Ho,_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:ra)});var Oa=te((Fh,Sa)=>{Sa.exports=ftGlobals.litRepeat});var Da=u(O());var wt=u(P()),Gt=u(nt()),$t=u(O());var wr=u(P()),Ll={},Rr=wr.css`
1
+ "use strict";(()=>{var Ma=Object.create;var Or=Object.defineProperty;var Wa=Object.getOwnPropertyDescriptor;var za=Object.getOwnPropertyNames;var Ha=Object.getPrototypeOf,Fa=Object.prototype.hasOwnProperty;var te=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Ga=(e,o,r,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of za(o))!Fa.call(e,n)&&n!==r&&Or(e,n,{get:()=>o[n],enumerable:!(i=Wa(o,n))||i.enumerable});return e};var u=(e,o,r)=>(r=e!=null?Ma(Ha(e)):{},Ga(o||!e||!e.__esModule?Or(r,"default",{value:e,enumerable:!0}):r,e));var O=te((Rl,Cr)=>{Cr.exports=ftGlobals.wcUtils});var P=te((wl,Er)=>{Er.exports=ftGlobals.lit});var nt=te((Nl,Ar)=>{Ar.exports=ftGlobals.litDecorators});var Ge=te((nf,cn)=>{cn.exports=ftGlobals.litClassMap});var Sn=te((hf,vn)=>{vn.exports=ftGlobals.litUnsafeHTML});var ia=te(ra=>{(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 H=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function tt(d){var m=d.toUpperCase();return H.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 Ho="response"in k?k.response:k.responseText;C(new yt(Ho,_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,Ho){k.setRequestHeader(Ho,_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:ra)});var Oa=te((Fh,Sa)=>{Sa.exports=ftGlobals.litRepeat});var Da=u(O());var Rt=u(P()),Gt=u(nt()),$t=u(O());var Rr=u(P()),Ll={},wr=Rr.css`
2
2
  :host {
3
3
  display: inline-block;
4
4
  }
@@ -18,10 +18,10 @@
18
18
  all: unset;
19
19
  position: relative;
20
20
  }
21
- `;var Lr=u(O()),Ir=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 Ka=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 Va(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,Ka([(0,Ir.state)()],r.prototype,"stateManager",void 0),r}var ro=class extends Va(Lr.FtLitElementRedux){};var sn=u(O());var ln=u(P()),Y=u(nt()),Fe=u(O());var Ui=u(O());var qo=globalThis,io=qo.trustedTypes,Tr=io?io.createPolicy("lit-html",{createHTML:e=>e}):void 0,Br="$lit$",Kt=`lit$${(Math.random()+"").slice(9)}$`,Dr="?"+Kt,Za=`<${Dr}>`,re=document,no=()=>re.createComment(""),Ue=e=>e===null||typeof e!="object"&&typeof e!="function",Mr=Array.isArray,ja=e=>Mr(e)||typeof e?.[Symbol.iterator]=="function",Ko=`[
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 Ka=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 Va(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,Ka([(0,Tr.state)()],r.prototype,"stateManager",void 0),r}var ro=class extends Va(Lr.FtLitElementRedux){};var sn=u(O());var ln=u(P()),Y=u(nt()),Fe=u(O());var Ui=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,Za=`<${Dr}>`,re=document,no=()=>re.createComment(""),Ue=e=>e===null||typeof e!="object"&&typeof e!="function",Mr=Array.isArray,ja=e=>Mr(e)||typeof e?.[Symbol.iterator]=="function",Ko=`[
22
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,zr=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),Hr=zr(1),Fr=zr(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 Tr!==void 0?Tr.createHTML(o):o}var Ya=(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,R=0;for(;R<f.length&&(s.lastIndex=R,y=s.exec(f),y!==null);)R=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+Za: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]=Ya(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 R=y[s++],A=n.getAttribute(x).split(Kt),I=/([.?@])?(.*)/.exec(R);f.push({type:1,index:a,name:I[2],strings:A,ctor:I[1]==="."?Zo:I[1]==="?"?jo:I[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),R=x.length-1;if(R>0){n.textContent=io?io.emptyScript:"";for(let A=0;A<R;A++)n.append(x[A],no()),oe.nextNode(),f.push({type:2,index:++a});n.append(x[R],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):ja(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 Xa=qo.litHtmlPolyfillSupport;Xa?.(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(Hr),$l=Zr(Fr);var tr=u(nt()),ki=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")},Ja={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":Ja,"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"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:t.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",l.iconSize2),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","30px"),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 ts={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 ns={iconSize:t.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-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 ps={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 ms={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 vs={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 As={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 Is={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 Us={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 Ws={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 Ks={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 Xs={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 ec={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 ac={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),iconColor:t.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",l.iconSize2),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 dc={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),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),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),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 yc={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 Sc={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 Ac={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 Ic={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",l.spacing2),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),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",l.spacing1),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),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-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 Uc={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 Wc={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 Kc={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 Xc={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 ep={iconSize:t.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",l.spacing4),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 ap={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 so=u(P());function xi(e){let o=lo[e];return so.css`
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),kr=/'/g,Ur=/"/g,Wr=/^(?:script|style|textarea|title)$/i,zr=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),Hr=zr(1),Fr=zr(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 Ya=(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+Za: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]=Ya(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):ja(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 Xa=qo.litHtmlPolyfillSupport;Xa?.(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(Hr),$l=Zr(Fr);var tr=u(nt()),ki=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")},Ja={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":Ja,"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"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:t.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",l.iconSize2),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","30px"),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 ts={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 ns={iconSize:t.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-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 ps={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 ms={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 vs={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 As={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 Ts={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 Us={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 Ws={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 Ks={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 Xs={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 ec={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 ac={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),iconColor:t.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",l.iconSize2),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 dc={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),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),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),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 yc={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 Sc={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 Ac={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 Tc={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",l.spacing2),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),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",l.spacing1),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),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-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 Uc={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 Wc={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 Kc={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 Xc={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 ep={iconSize:t.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",l.spacing4),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 ap={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 so=u(P());function xi(e){let o=lo[e];return so.css`
25
25
  .ft-typography--${(0,so.unsafeCSS)(e)} {
26
26
  font-family: ${o.fontFamily};
27
27
  font-size: ${o.fontSize};
@@ -30,7 +30,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
30
30
  line-height: ${o.lineHeight};
31
31
  text-transform: ${o.textCase};
32
32
  }
33
- `}var vi=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","",vi),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","",vi),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")},Tt={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")},Si=Ot.css`
33
+ `}var vi=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","",vi),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","",vi),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")},Si=Ot.css`
34
34
  .ft-typography--title {
35
35
  font-family: ${he.fontFamily};
36
36
  font-size: ${he.fontSize};
@@ -76,16 +76,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
76
76
  line-height: ${be.lineHeight};
77
77
  text-transform: ${be.textTransform};
78
78
  }
79
- `,wi=Ot.css`
79
+ `,Ri=Ot.css`
80
80
  .ft-typography--body2 {
81
- font-family: ${Tt.fontFamily};
82
- font-size: ${Tt.fontSize};
83
- font-weight: ${Tt.fontWeight};
84
- letter-spacing: ${Tt.letterSpacing};
85
- line-height: ${Tt.lineHeight};
86
- text-transform: ${Tt.textTransform};
81
+ font-family: ${It.fontFamily};
82
+ font-size: ${It.fontSize};
83
+ font-weight: ${It.fontWeight};
84
+ letter-spacing: ${It.letterSpacing};
85
+ line-height: ${It.lineHeight};
86
+ text-transform: ${It.textTransform};
87
87
  }
88
- `,Ri=Ot.css`
88
+ `,wi=Ot.css`
89
89
  .ft-typography--caption {
90
90
  font-family: ${xe.fontFamily};
91
91
  font-size: ${xe.fontSize};
@@ -112,7 +112,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
112
112
  line-height: ${Se.lineHeight};
113
113
  text-transform: ${Se.textTransform};
114
114
  }
115
- `,Ii=Ot.css`
115
+ `,Ti=Ot.css`
116
116
  .ft-typography--button {
117
117
  font-family: ${Pt.fontFamily};
118
118
  font-size: ${Pt.fontSize};
@@ -121,7 +121,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
121
121
  line-height: ${Pt.lineHeight};
122
122
  text-transform: ${Pt.textTransform};
123
123
  }
124
- `,Ti=Ot.css`
124
+ `,Ii=Ot.css`
125
125
  .ft-typography {
126
126
  vertical-align: inherit;
127
127
  }
@@ -133,7 +133,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
133
133
  </${Jo(this.element)}>
134
134
  `:Qo`
135
135
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
136
- `}};ot.styles=[Si,Oi,Ci,Ei,Ai,wi,Ri,Ni,Li,Ii,Ti,...Pi];_i([(0,tr.property)()],ot.prototype,"element",void 0);_i([(0,tr.property)()],ot.prototype,"variant",void 0);(0,Ui.customElement)("ft-typography")(ot);var $i=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")},Bi=$i.css`
136
+ `}};ot.styles=[Si,Oi,Ci,Ei,Ai,Ri,wi,Ni,Li,Ti,Ii,...Pi];_i([(0,tr.property)()],ot.prototype,"element",void 0);_i([(0,tr.property)()],ot.prototype,"variant",void 0);(0,Ui.customElement)("ft-typography")(ot);var $i=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")},Bi=$i.css`
137
137
  .ft-tooltip--container {
138
138
  display: block;
139
139
  }
@@ -162,7 +162,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
162
162
  position: relative;
163
163
  word-break: break-word;
164
164
  }
165
- `;var Mi=["top","right","bottom","left"],Di=["start","end"],or=Mi.reduce((e,o)=>e.concat(o,o+"-"+Di[0],o+"-"+Di[1]),[]),De=Math.min,Zt=Math.max,Me=Math.round;var Wt=e=>({x:e,y:e}),Qa={left:"right",right:"left",bottom:"top",top:"bottom"},tl={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 Wi(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 zi(e){return e.replace(/start|end/g,o=>tl[o])}function er(e){return e.replace(/left|right|bottom|top/g,o=>Qa[o])}function el(e){return{top:0,right:0,bottom:0,left:0,...e}}function Hi(e){return typeof e!="number"?el(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 Fi(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,R=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]-=R*(r&&h?-1:1);break;case"end":A[s]+=R*(r&&h?-1:1);break}return A}var Gi=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}=Fi(h,i,f),R=i,A={},I=0;for(let M=0;M<p.length;M++){let{name:W,fn:B}=p[M],{x:H,y:tt,data:it,reset:X}=await B({x:y,y:x,initialPlacement:i,placement:R,strategy:n,middlewareData:A,rects:h,platform:s,elements:{reference:e,floating:o}});if(y=H??y,x=tt??x,A={...A,[W]:{...A[W],...it}},X&&I<=50){I++,typeof X=="object"&&(X.placement&&(R=X.placement),X.rects&&(h=X.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:n}):X.rects),{x:y,y:x}=Fi(h,R,f)),M=-1;continue}}return{x:y,y:x,placement:R,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:R=!1,padding:A=0}=co(o,e),I=Hi(A),W=p[R?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})),H=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:H,offsetParent:tt,strategy:f}):H);return{top:(B.top-X.top+I.top)/it.y,bottom:(X.bottom-B.bottom+I.bottom)/it.y,left:(B.left-X.left+I.left)/it.x,right:(X.right-B.right+I.right)/it.x}}function ol(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?zi(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:R=or,autoAlignment:A=!0,...I}=co(e,o),M=x!==void 0||R===or?ol(x||null,A,R):R,W=await lr(o,I),B=((r=s.autoPlacement)==null?void 0:r.index)||0,H=M[B];if(H==null)return{};let tt=Wi(H,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(p!==H)return{reset:{placement:M[0]}};let it=[W[Ce(H)],W[tt[0]],W[tt[1]]],X=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:H,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:H}=W;return{x:B,y:H}}},...f}=co(e,o),h={x:r,y:i},y=await lr(o,f),x=po(Ce(n)),R=ir(x),A=h[R],I=h[x];if(a){let W=R==="y"?"top":"left",B=R==="y"?"bottom":"right",H=A+y[W],tt=A-y[B];A=rr(H,A,tt)}if(s){let W=x==="y"?"top":"left",B=x==="y"?"bottom":"right",H=I+y[W],tt=I-y[B];I=rr(H,I,tt)}let M=p.fn({...o,[R]:A,[x]:I});return{...M,data:{x:M.x-r,y:M.y-i}}}}};function zt(e){return Vi(e)?(e.nodeName||"").toLowerCase():"#document"}function dt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Ht(e){var o;return(o=(Vi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Vi(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 Ki(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 Zi(e){return["table","td","th"].includes(zt(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 ji(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(zt(e))}function gt(e){return dt(e).getComputedStyle(e)}function ze(e){return _t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ae(e){if(zt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Ki(e)&&e.host||Ht(e);return Ki(o)?o.host:o}function Yi(e){let o=ae(e);return We(o)?e.ownerDocument?e.ownerDocument.body:e.body:Nt(o)&&Ee(o)?o:Yi(o)}function fo(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);let n=Yi(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 Ji(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 Qi(e){return _t(e)?e:e.contextElement}function Ae(e){let o=Qi(e);if(!Nt(o))return Wt(1);let r=o.getBoundingClientRect(),{width:i,height:n,$:a}=Ji(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 rl=Wt(0);function tn(e){let o=dt(e);return!ho()||!o.visualViewport?rl:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function il(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==dt(e)?!1:o}function He(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);let n=e.getBoundingClientRect(),a=Qi(e),s=Wt(1);o&&(i?_t(i)&&(s=Ae(i)):s=Ae(e));let p=il(a,r,i)?tn(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 R=dt(a),A=i&&_t(i)?dt(i):i,I=R.frameElement;for(;I&&i&&A!==R;){let M=Ae(I),W=I.getBoundingClientRect(),B=gt(I),H=W.left+(I.clientLeft+parseFloat(B.paddingLeft))*M.x,tt=W.top+(I.clientTop+parseFloat(B.paddingTop))*M.y;f*=M.x,h*=M.y,y*=M.x,x*=M.y,f+=H,h+=tt,I=dt(I).frameElement}}return ne({width:y,height:x,x:f,y:h})}function nl(e){let{rect:o,offsetParent:r,strategy:i}=e,n=Nt(r),a=Ht(r);if(r===a)return o;let s={scrollLeft:0,scrollTop:0},p=Wt(1),f=Wt(0);if((n||!n&&i!=="fixed")&&((zt(r)!=="body"||Ee(a))&&(s=ze(r)),Nt(r))){let h=He(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 al(e){return Array.from(e.getClientRects())}function en(e){return He(Ht(e)).left+ze(e).scrollLeft}function ll(e){let o=Ht(e),r=ze(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+en(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 sl(e,o){let r=dt(e),i=Ht(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 cl(e,o){let r=He(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 Xi(e,o,r){let i;if(o==="viewport")i=sl(e,r);else if(o==="document")i=ll(Ht(e));else if(_t(o))i=cl(o,r);else{let n=tn(e);i={...o,x:o.x-n.x,y:o.y-n.y}}return ne(i)}function on(e,o){let r=ae(e);return r===o||!_t(r)||We(r)?!1:gt(r).position==="fixed"||on(r,o)}function pl(e,o){let r=o.get(e);if(r)return r;let i=fo(e,[],!1).filter(p=>_t(p)&&zt(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&&on(e,s))?i=i.filter(y=>y!==s):n=p,s=ae(s)}return o.set(e,i),i}function dl(e){let{element:o,boundary:r,rootBoundary:i,strategy:n}=e,s=[...r==="clippingAncestors"?pl(o,this._c):[].concat(r),i],p=s[0],f=s.reduce((h,y)=>{let x=Xi(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},Xi(o,p,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function fl(e){return Ji(e)}function ul(e,o,r){let i=Nt(o),n=Ht(o),a=r==="fixed",s=He(e,!0,a,o),p={scrollLeft:0,scrollTop:0},f=Wt(0);if(i||!i&&!a)if((zt(o)!=="body"||Ee(n))&&(p=ze(o)),i){let h=He(o,!0,a,o);f.x=h.x+o.clientLeft,f.y=h.y+o.clientTop}else n&&(f.x=en(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 rn(e,o){let r=dt(e);if(!Nt(e))return r;let i=qi(e,o);for(;i&&Zi(i)&&gt(i).position==="static";)i=qi(i,o);return i&&(zt(i)==="html"||zt(i)==="body"&&gt(i).position==="static"&&!uo(i))?r:i||ji(e)||r}var hl=async function(e){let{reference:o,floating:r,strategy:i}=e,n=this.getOffsetParent||rn,a=this.getDimensions;return{reference:ul(o,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function ml(e){return gt(e).direction==="rtl"}var mo={convertOffsetParentRelativeRectToViewportRelativeRect:nl,getDocumentElement:Ht,getClippingRect:dl,getOffsetParent:rn,getElementRects:hl,getClientRects:al,getDimensions:fl,getScale:Ae,isElement:_t,isRTL:ml};var nn=(e,o,r)=>{let i=new Map,n={platform:mo,...r},a={...n.platform,_c:i};return Gi(e,o,{...n,platform:a})};function an(e){return yl(e)}function pr(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function yl(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 nn(e,o,{platform:{...mo,getOffsetParent:i=>mo.getOffsetParent(i,an)},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 ln.html`
165
+ `;var Mi=["top","right","bottom","left"],Di=["start","end"],or=Mi.reduce((e,o)=>e.concat(o,o+"-"+Di[0],o+"-"+Di[1]),[]),De=Math.min,Zt=Math.max,Me=Math.round;var Wt=e=>({x:e,y:e}),Qa={left:"right",right:"left",bottom:"top",top:"bottom"},tl={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 Wi(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 zi(e){return e.replace(/start|end/g,o=>tl[o])}function er(e){return e.replace(/left|right|bottom|top/g,o=>Qa[o])}function el(e){return{top:0,right:0,bottom:0,left:0,...e}}function Hi(e){return typeof e!="number"?el(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 Fi(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 Gi=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}=Fi(h,i,f),w=i,A={},T=0;for(let M=0;M<p.length;M++){let{name:W,fn:B}=p[M],{x:H,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=H??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}=Fi(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=Hi(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})),H=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:H,offsetParent:tt,strategy:f}):H);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 ol(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?zi(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?ol(x||null,A,w):w,W=await lr(o,T),B=((r=s.autoPlacement)==null?void 0:r.index)||0,H=M[B];if(H==null)return{};let tt=Wi(H,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(p!==H)return{reset:{placement:M[0]}};let it=[W[Ce(H)],W[tt[0]],W[tt[1]]],X=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:H,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:H}=W;return{x:B,y:H}}},...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",H=A+y[W],tt=A-y[B];A=rr(H,A,tt)}if(s){let W=x==="y"?"top":"left",B=x==="y"?"bottom":"right",H=T+y[W],tt=T-y[B];T=rr(H,T,tt)}let M=p.fn({...o,[w]:A,[x]:T});return{...M,data:{x:M.x-r,y:M.y-i}}}}};function zt(e){return Vi(e)?(e.nodeName||"").toLowerCase():"#document"}function dt(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Ht(e){var o;return(o=(Vi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Vi(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 Ki(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 Zi(e){return["table","td","th"].includes(zt(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 ji(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(zt(e))}function gt(e){return dt(e).getComputedStyle(e)}function ze(e){return _t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ae(e){if(zt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Ki(e)&&e.host||Ht(e);return Ki(o)?o.host:o}function Yi(e){let o=ae(e);return We(o)?e.ownerDocument?e.ownerDocument.body:e.body:Nt(o)&&Ee(o)?o:Yi(o)}function fo(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);let n=Yi(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 Ji(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 Qi(e){return _t(e)?e:e.contextElement}function Ae(e){let o=Qi(e);if(!Nt(o))return Wt(1);let r=o.getBoundingClientRect(),{width:i,height:n,$:a}=Ji(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 rl=Wt(0);function tn(e){let o=dt(e);return!ho()||!o.visualViewport?rl:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function il(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==dt(e)?!1:o}function He(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);let n=e.getBoundingClientRect(),a=Qi(e),s=Wt(1);o&&(i?_t(i)&&(s=Ae(i)):s=Ae(e));let p=il(a,r,i)?tn(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),H=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+=H,h+=tt,T=dt(T).frameElement}}return ne({width:y,height:x,x:f,y:h})}function nl(e){let{rect:o,offsetParent:r,strategy:i}=e,n=Nt(r),a=Ht(r);if(r===a)return o;let s={scrollLeft:0,scrollTop:0},p=Wt(1),f=Wt(0);if((n||!n&&i!=="fixed")&&((zt(r)!=="body"||Ee(a))&&(s=ze(r)),Nt(r))){let h=He(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 al(e){return Array.from(e.getClientRects())}function en(e){return He(Ht(e)).left+ze(e).scrollLeft}function ll(e){let o=Ht(e),r=ze(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+en(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 sl(e,o){let r=dt(e),i=Ht(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 cl(e,o){let r=He(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 Xi(e,o,r){let i;if(o==="viewport")i=sl(e,r);else if(o==="document")i=ll(Ht(e));else if(_t(o))i=cl(o,r);else{let n=tn(e);i={...o,x:o.x-n.x,y:o.y-n.y}}return ne(i)}function on(e,o){let r=ae(e);return r===o||!_t(r)||We(r)?!1:gt(r).position==="fixed"||on(r,o)}function pl(e,o){let r=o.get(e);if(r)return r;let i=fo(e,[],!1).filter(p=>_t(p)&&zt(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&&on(e,s))?i=i.filter(y=>y!==s):n=p,s=ae(s)}return o.set(e,i),i}function dl(e){let{element:o,boundary:r,rootBoundary:i,strategy:n}=e,s=[...r==="clippingAncestors"?pl(o,this._c):[].concat(r),i],p=s[0],f=s.reduce((h,y)=>{let x=Xi(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},Xi(o,p,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function fl(e){return Ji(e)}function ul(e,o,r){let i=Nt(o),n=Ht(o),a=r==="fixed",s=He(e,!0,a,o),p={scrollLeft:0,scrollTop:0},f=Wt(0);if(i||!i&&!a)if((zt(o)!=="body"||Ee(n))&&(p=ze(o)),i){let h=He(o,!0,a,o);f.x=h.x+o.clientLeft,f.y=h.y+o.clientTop}else n&&(f.x=en(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 rn(e,o){let r=dt(e);if(!Nt(e))return r;let i=qi(e,o);for(;i&&Zi(i)&&gt(i).position==="static";)i=qi(i,o);return i&&(zt(i)==="html"||zt(i)==="body"&&gt(i).position==="static"&&!uo(i))?r:i||ji(e)||r}var hl=async function(e){let{reference:o,floating:r,strategy:i}=e,n=this.getOffsetParent||rn,a=this.getDimensions;return{reference:ul(o,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function ml(e){return gt(e).direction==="rtl"}var mo={convertOffsetParentRelativeRectToViewportRelativeRect:nl,getDocumentElement:Ht,getClippingRect:dl,getOffsetParent:rn,getElementRects:hl,getClientRects:al,getDimensions:fl,getScale:Ae,isElement:_t,isRTL:ml};var nn=(e,o,r)=>{let i=new Map,n={platform:mo,...r},a={...n.platform,_c:i};return Gi(e,o,{...n,platform:a})};function an(e){return yl(e)}function pr(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function yl(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 nn(e,o,{platform:{...mo,getOffsetParent:i=>mo.getOffsetParent(i,an)},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 ln.html`
166
166
  <div part="container"
167
167
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
168
168
  @mouseenter=${this.onHover}
@@ -303,7 +303,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
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=yn;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,xn.customElement)("ft-ripple")(_);var wn=u(O());var Ve=u(P()),le=u(nt()),En=u(O()),An=u(Sn());var go;(function(e){e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.STAR="&#xe94c;",e.STAR_PLAIN="&#xe900;",e.DESKTOP="&#xe95e;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.THIN_ARROW_UP="&#xe95c;",e.CONTEXTUAL="&#xe95b;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.UNSTRUCTURED_DOC="&#xe95a;",e.RESET="&#xe958;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.MY_COLLECTIONS="&#xe955;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_LIBRARY="&#xe959;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.FEEDBACK_PLAIN="&#xe951;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.SHORTCUT_MENU="&#xe946;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.ACCOUNT_SETTINGS="&#xe943;",e.ONLINE="&#xe941;",e.OFFLINE="&#xe816;",e.UPLOAD="&#xe940;",e.BOOK_PLAIN="&#xe93f;",e.SYNC="&#xe93d;",e.SHARED_PBK="&#xe931;",e.COLLECTIONS="&#xe92a;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.BOOKS="&#xe806;",e.LOCKER="&#xe93b;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SAVE="&#xe93a;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.FILTERS="&#xe935;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.STRIPE_ARROW_LEFT="&#xe933;",e.ATTACHMENTS="&#xe932;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.EXPORT="&#xe80f;",e.MENU="&#xe807;",e.TAG="&#xe93e;",e.TAG_PLAIN="&#xe942;",e.COPY_TO_CLIPBOARD="&#xe930;",e.COLUMNS="&#xe928;",e.ARTICLE="&#xe927;",e.CLOSE="&#xe909;",e.OCTAGON_XMARK="&#xe97d;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.LOGOUT="&#xe923;",e.SIGN_IN="&#xe922;",e.THIN_ARROW="&#xe921;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.INFO="&#xe919;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.SHARE="&#xe80f1;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.EXTLINK="&#xe814;",e.EXTLINK_LIGHT="&#xe978;",e.CALENDAR="&#xe815;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.TOPICS="&#xe901;",e.EYE="&#xf06e;",e.EYE_SLASH="&#xe970;",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.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN_THEME="&#xe911;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.HOME="&#xe80b;",e.TRANSLATE="&#xe924;",e.USER="&#xe813;",e.ADMIN="&#xe90f;",e.ANALYTICS="&#xe929;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_USERS="&#xe912;",e.ADMIN_INTEGRATION="&#xe93c;",e.ADMIN_PORTAL="&#xe94b;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.EXPAND_WIDE="&#xe972;",e.X_MARK="&#xe971;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CONSUMER="&#xe97c;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;"})(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 mf=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 yf={[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 On=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")},Cn=On.css`
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=yn;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,xn.customElement)("ft-ripple")(_);var Rn=u(O());var Ve=u(P()),le=u(nt()),En=u(O()),An=u(Sn());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 mf=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 yf={[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 On=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")},Cn=On.css`
307
307
  :host, i.ft-icon {
308
308
  display: inline-flex;
309
309
  align-items: center;
@@ -356,7 +356,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
356
356
  ${(0,An.unsafeHTML)(this.resolvedIcon)}
357
357
  <slot ?hidden=${r}></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=Cn;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,wn.customElement)("ft-icon")(lt);var vo=u(P()),w=u(O());var fr=u(O());var je=u(nt()),Bn=u(O());var Tn=u(P()),E=u(O());var Rn=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")},Nn=Rn.css`
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=Cn;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,Rn.customElement)("ft-icon")(lt);var vo=u(P()),R=u(O());var fr=u(O());var je=u(nt()),Bn=u(O());var In=u(P()),E=u(O());var wn=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")},Nn=wn.css`
360
360
  :host {
361
361
  line-height: 0;
362
362
  }
@@ -425,7 +425,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
425
425
  transform: translate(calc(0.35 * ${ht.size}), 0);
426
426
  }
427
427
  }
428
- `;var Ln=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),z={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:Ln,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","",Ln),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")},In=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:In,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",In)},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")},Pn=[Tn.css`
428
+ `;var Ln=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),z={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:Ln,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","",Ln),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")},Tn=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:Tn,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Tn)},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")},Pn=[In.css`
429
429
  :host {
430
430
  display: inline-block;
431
431
  max-width: 100%;
@@ -561,14 +561,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
561
561
  ${(0,E.setVariable)(ht.size,z.iconSize)};
562
562
  ${(0,E.setVariable)(ht.color,"var(--ft-button-internal-color)")};
563
563
  }
564
- `,E.noTextSelect];var Re=u(O());var Un=u(O());var _n=u(P()),kn=u(O());var se=class extends kn.FtLitElement{render(){return _n.html`
564
+ `,E.noTextSelect];var we=u(O());var Un=u(O());var _n=u(P()),kn=u(O());var se=class extends kn.FtLitElement{render(){return _n.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=Nn;(0,Un.customElement)("ft-loader")(se);var we=u(P()),$n=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,Re.toFtFormComponent)(Re.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(we.html`
571
+ `}};se.styles=Nn;(0,Un.customElement)("ft-loader")(se);var Re=u(P()),$n=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`
572
572
  <button part="button"
573
573
  class="${(0,$n.classMap)(this.buttonClasses)}"
574
574
  aria-label="${this.getLabel()}"
@@ -577,24 +577,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
577
577
  <ft-typography part="label"
578
578
  variant=${this.typographyVariant}
579
579
  element="span"
580
- class="ft-button--label ${Re.isSafari?"ft-safari-ellipsis-fix":""}"
580
+ class="ft-button--label ${we.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)?we.html`
586
+ `)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Re.html`
587
587
  <ft-tooltip part="tooltip"
588
588
  text="${this.getLabel()}"
589
589
  position="${this.tooltipPosition}">
590
590
  ${o}
591
591
  </ft-tooltip>
592
- `:o}resolveIcon(){return this.loading?we.html`
593
- <ft-loader part="loader icon"></ft-loader> `:this.icon?we.html`
592
+ `:o}resolveIcon(){return this.loading?Re.html`
593
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Re.html`
594
594
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
595
- `:we.html`
595
+ `:Re.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=[Bn.safariEllipsisFix,Pn];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 Wn=u(O());var Dn=u(P()),T=u(O());var Mn=[Dn.css`
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=[Bn.safariEllipsisFix,Pn];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 Wn=u(O());var Dn=u(P()),I=u(O());var Mn=[Dn.css`
598
598
  :host {
599
599
  display: inline-block;
600
600
  max-width: 100%;
@@ -673,13 +673,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
673
673
  /** Primary styles **/
674
674
 
675
675
  .ft-button--primary {
676
- ${(0,T.setVariable)(ht.color,v.primaryIconColor)};
676
+ ${(0,I.setVariable)(ht.color,v.primaryIconColor)};
677
677
 
678
- ${(0,T.setVariable)(N.color,v.primaryStateLayerColor)};
679
- ${(0,T.setVariable)(N.opacityContentOnSurfaceHover,v.primaryHoverStateLayerOpacity)};
680
- ${(0,T.setVariable)(N.opacityContentOnSurfaceFocused,v.primaryFocusStateLayerOpacity)};
681
- ${(0,T.setVariable)(N.opacityContentOnSurfaceSelected,v.primaryActiveStateLayerOpacity)};
682
- ${(0,T.setVariable)(N.opacityContentOnSurfacePressed,v.primaryActiveStateLayerOpacity)};
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)};
683
683
 
684
684
  background-color: ${v.primaryBackgroundColor};
685
685
  color: ${v.primaryColor};
@@ -697,13 +697,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
697
697
  /** Secondary styles **/
698
698
 
699
699
  .ft-button--secondary {
700
- ${(0,T.setVariable)(ht.color,v.secondaryIconColor)};
700
+ ${(0,I.setVariable)(ht.color,v.secondaryIconColor)};
701
701
 
702
- ${(0,T.setVariable)(N.color,v.secondaryStateLayerColor)};
703
- ${(0,T.setVariable)(N.opacityContentOnSurfaceHover,v.secondaryHoverStateLayerOpacity)};
704
- ${(0,T.setVariable)(N.opacityContentOnSurfaceFocused,v.secondaryFocusStateLayerOpacity)};
705
- ${(0,T.setVariable)(N.opacityContentOnSurfaceSelected,v.secondaryActiveStateLayerOpacity)};
706
- ${(0,T.setVariable)(N.opacityContentOnSurfacePressed,v.secondaryActiveStateLayerOpacity)};
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)};
707
707
 
708
708
  background-color: ${v.secondaryBackgroundColor};
709
709
  color: ${v.secondaryColor};
@@ -722,13 +722,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
722
722
  /** Tertiary styles **/
723
723
 
724
724
  .ft-button--tertiary {
725
- ${(0,T.setVariable)(ht.color,v.tertiaryIconColor)};
725
+ ${(0,I.setVariable)(ht.color,v.tertiaryIconColor)};
726
726
 
727
- ${(0,T.setVariable)(N.color,v.tertiaryStateLayerColor)};
728
- ${(0,T.setVariable)(N.opacityContentOnSurfaceHover,v.tertiaryHoverStateLayerOpacity)};
729
- ${(0,T.setVariable)(N.opacityContentOnSurfaceFocused,v.tertiaryFocusStateLayerOpacity)};
730
- ${(0,T.setVariable)(N.opacityContentOnSurfaceSelected,v.tertiaryActiveStateLayerOpacity)};
731
- ${(0,T.setVariable)(N.opacityContentOnSurfacePressed,v.tertiaryActiveStateLayerOpacity)};
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)};
732
732
 
733
733
  background-color: ${v.tertiaryBackgroundColor};
734
734
  color: ${v.tertiaryColor};
@@ -746,13 +746,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
746
746
  /** Neutral styles **/
747
747
 
748
748
  .ft-button--neutral {
749
- ${(0,T.setVariable)(ht.color,v.neutralIconColor)};
749
+ ${(0,I.setVariable)(ht.color,v.neutralIconColor)};
750
750
 
751
- ${(0,T.setVariable)(N.backgroundColor,v.neutralStateLayerColor)};
752
- ${(0,T.setVariable)(N.opacityContentOnSurfaceHover,v.neutralHoverStateLayerOpacity)};
753
- ${(0,T.setVariable)(N.opacityContentOnSurfaceFocused,v.neutralFocusStateLayerOpacity)};
754
- ${(0,T.setVariable)(N.opacityContentOnSurfaceSelected,v.neutralActiveStateLayerOpacity)};
755
- ${(0,T.setVariable)(N.opacityContentOnSurfacePressed,v.neutralActiveStateLayerOpacity)};
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)};
756
756
 
757
757
  background-color: ${v.neutralBackgroundColor};
758
758
  color: ${v.neutralColor};
@@ -770,8 +770,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
770
770
  /** Large styles **/
771
771
 
772
772
  .ft-button--large {
773
- ${(0,T.setVariable)(at.size,v.largeIconSize)};
774
- ${(0,T.setVariable)(ht.size,v.largeIconSize)};
773
+ ${(0,I.setVariable)(at.size,v.largeIconSize)};
774
+ ${(0,I.setVariable)(ht.size,v.largeIconSize)};
775
775
 
776
776
  height: ${v.largeHeight};
777
777
  padding: 0 ${v.largeHorizontalPadding};
@@ -793,8 +793,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
793
793
  /** Small styles **/
794
794
 
795
795
  .ft-button--small {
796
- ${(0,T.setVariable)(at.size,v.smallIconSize)};
797
- ${(0,T.setVariable)(ht.size,v.smallIconSize)};
796
+ ${(0,I.setVariable)(at.size,v.smallIconSize)};
797
+ ${(0,I.setVariable)(ht.size,v.smallIconSize)};
798
798
 
799
799
  height: ${v.smallHeight};
800
800
  padding: 0 ${v.smallHorizontalPadding};
@@ -812,7 +812,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
812
812
  width: ${v.smallIconOnlyWidth};
813
813
  padding: unset;
814
814
  }
815
- `,T.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=[Wn.safariEllipsisFix,Mn];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 zn=w.FtCssVariableFactory.extend("--ft-chip-color","",w.designSystemVariables.colorOnSurface),Et={backgroundColor:w.FtCssVariableFactory.extend("--ft-chip-background-color","",w.designSystemVariables.colorSurface),color:zn,fontSize:w.FtCssVariableFactory.extend("--ft-chip-font-size","",Tt.fontSize),iconSize:w.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:w.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:w.FtCssVariableFactory.extend("--ft-chip-ripple-color","",zn),horizontalPadding:w.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:w.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:w.FtCssVariableFactory.external(w.designSystemVariables.colorOutline,"Design system"),opacityDisabled:w.FtCssVariableFactory.external(w.designSystemVariables.colorOpacityDisabled,"Design system")},Hn=w.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",w.FtCssVariableFactory.extend("--ft-chip-color","",w.designSystemVariables.colorOnPrimary)),ur={backgroundColor:w.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",w.FtCssVariableFactory.extend("--ft-chip-background-color","",w.designSystemVariables.colorPrimary)),color:Hn,rippleColor:w.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Hn)},Fn={horizontalPadding:w.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:w.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Gn=[w.noTextSelect,vo.css`
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=[Wn.safariEllipsisFix,Mn];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 zn=R.FtCssVariableFactory.extend("--ft-chip-color","",R.designSystemVariables.colorOnSurface),Et={backgroundColor:R.FtCssVariableFactory.extend("--ft-chip-background-color","",R.designSystemVariables.colorSurface),color:zn,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","",zn),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")},Hn=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:Hn,rippleColor:R.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Hn)},Fn={horizontalPadding:R.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:R.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Gn=[R.noTextSelect,vo.css`
816
816
  :host {
817
817
  display: inline-block;
818
818
  max-width: 100%;
@@ -830,7 +830,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
830
830
 
831
831
  --ft-chip-internal-font-size: ${Et.fontSize};
832
832
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
833
- ${(0,w.setVariable)(at.size,Et.iconSize)};
833
+ ${(0,R.setVariable)(at.size,Et.iconSize)};
834
834
  --ft-chip-internal-vertical-padding: ${Et.verticalPadding};
835
835
  --ft-chip-internal-horizontal-padding: ${Et.horizontalPadding};
836
836
  --ft-chip-internal-icon-padding: 3px;
@@ -838,7 +838,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
838
838
 
839
839
  border: 1px solid ${Et.colorOutline};
840
840
  color: ${Et.color};
841
- ${(0,w.setVariable)(N.color,Et.rippleColor)};
841
+ ${(0,R.setVariable)(N.color,Et.rippleColor)};
842
842
  border-radius: var(${(0,vo.unsafeCSS)(Et.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
844
  background-color: ${Et.backgroundColor};
@@ -871,7 +871,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
871
871
  border: none;
872
872
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
873
873
  background-color: ${ur.backgroundColor};
874
- ${(0,w.setVariable)(N.color,ur.rippleColor)};
874
+ ${(0,R.setVariable)(N.color,ur.rippleColor)};
875
875
  color: ${ur.color};
876
876
  }
877
877
 
@@ -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,w.setVariable)(z.iconSize,Et.iconSize)};
906
- ${(0,w.setVariable)(z.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
907
- ${(0,w.setVariable)(z.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
905
+ ${(0,R.setVariable)(z.iconSize,Et.iconSize)};
906
+ ${(0,R.setVariable)(z.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
907
+ ${(0,R.setVariable)(z.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,w.setVariable)(Tt.fontSize,"var(--ft-chip-internal-font-size)")};
916
- ${(0,w.setVariable)(Tt.lineHeight,"var(--ft-chip-internal-content-height)")};
915
+ ${(0,R.setVariable)(It.fontSize,"var(--ft-chip-internal-font-size)")};
916
+ ${(0,R.setVariable)(It.lineHeight,"var(--ft-chip-internal-content-height)")};
917
917
  }
918
918
 
919
919
  .ft-chip--safari-fix .ft-chip--label {
@@ -1035,7 +1035,7 @@ 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 Ro=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},wo=class extends CustomEvent{constructor(o){super("select",{detail:o,bubbles:!0,composed:!0})}},mt=class extends Xn.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return Xe.html`
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 Xn.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return Xe.html`
1039
1039
  <div class="ft-floating-menu-item"
1040
1040
  tabindex=${this.notFocusable?"-1":"0"}
1041
1041
  @keydown=${o=>this.onKeyDown(o)}
@@ -1048,7 +1048,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1048
1048
  <slot></slot>
1049
1049
  </ft-typography>
1050
1050
  </div>
1051
- `}onClick(o){this.dispatchEvent(new wo(this.value))}onKeyDown(o){(o.key=="Enter"||o.key==" ")&&(o.preventDefault(),this.dispatchEvent(new wo(this.value)))}};mt.elementDefinitions={"ft-icon":lt,"ft-ripple":_,"ft-typography":ot};mt.styles=Yn;Ro([(0,qe.property)()],mt.prototype,"iconVariant",void 0);Ro([(0,qe.property)()],mt.prototype,"icon",void 0);Ro([(0,qe.property)()],mt.prototype,"value",void 0);Ro([(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`
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=Yn;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
1052
  <div part="container" class="${(0,Jn.classMap)(o)}">
1053
1053
  <slot name="toggle"
1054
1054
  part="toggle"
@@ -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 Ie=class extends U{};Ie.elementDefinitions={"ft-or-ftds-button":Ct};Ie.styles=Eo;var ea=u(P()),oa=u(O());var Qn=u(P()),No=u(O()),bl={color:No.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",No.designSystemVariables.colorOnSurfaceMedium)},ta=Qn.css`
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 ea=u(P()),oa=u(O());var Qn=u(P()),No=u(O()),bl={color:No.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",No.designSystemVariables.colorOnSurfaceMedium)},ta=Qn.css`
1087
1087
  .ft-floating-menu-label {
1088
1088
  padding: 4px 8px;
1089
1089
  }
@@ -1102,18 +1102,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1102
1102
  <slot></slot>
1103
1103
  </ft-typography>
1104
1104
  </div>
1105
- `}};qt.elementDefinitions={"ft-typography":ot};qt.styles=ta;(0,Je.customElement)("ft-floating-menu")(Xt);(0,Je.customElement)("ftds-floating-menu")(Ie);(0,Je.customElement)("ft-floating-menu-item")(mt);(0,Je.customElement)("ft-floating-menu-label")(qt);var Nh=u(ia(),1);var na;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(na||(na={}));var aa;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(aa||(aa={}));var la;(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"})(la||(la={}));var sa;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(sa||(sa={}));var ca;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ca||(ca={}));var pa;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(pa||(pa={}));var da;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(da||(da={}));var fa;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(fa||(fa={}));var ua;(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"})(ua||(ua={}));var ha;(function(e){e.ASC="ASC",e.DESC="DESC"})(ha||(ha={}));var ma;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ma||(ma={}));var ya;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(ya||(ya={}));var ga;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ga||(ga={}));var Lo;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Lo||(Lo={}));var ba;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ba||(ba={}));var Te;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Te||(Te={}));var xa;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(xa||(xa={}));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 va;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(va||(va={}));var Eh={[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 xl(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(xl(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 Te.MAP:return e.map.readerUrl;case Te.DOCUMENT:return e.document.viewerUrl;case Te.TOPIC:return e.topic.readerUrl}return""}var Ba=u(Oa());var $o=u(O());var Ia=u(O());var Na=u(P()),At=u(nt()),Lt=u(O());var Ca=u(P());var Ea=Ca.css`
1106
- `;var Aa=u(O()),vl="ft-app-info",Sl={},L=Aa.FtReduxStore.get({name:vl,reducers:Sl,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 wa,Ol=Symbol("clearAfterUnitTest"),Io=class extends Jt{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[wa]=()=>{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)))}};wa=Ol;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Io{constructor(){super(async(e,o)=>(await this.awaitApi).getFluidTopicsMessageContext(e,o))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Io{constructor(){super(async(e,o)=>(await this.awaitApi).getCustomMessageContext(e,o))}});var Pe=window.FluidTopicsI18nService,Ra=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 Na.html`
1105
+ `}};qt.elementDefinitions={"ft-typography":ot};qt.styles=ta;(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 Nh=u(ia(),1);var na;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(na||(na={}));var aa;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(aa||(aa={}));var la;(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"})(la||(la={}));var sa;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(sa||(sa={}));var ca;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ca||(ca={}));var pa;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(pa||(pa={}));var da;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(da||(da={}));var fa;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(fa||(fa={}));var ua;(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"})(ua||(ua={}));var ha;(function(e){e.ASC="ASC",e.DESC="DESC"})(ha||(ha={}));var ma;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ma||(ma={}));var ya;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(ya||(ya={}));var ga;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ga||(ga={}));var Lo;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Lo||(Lo={}));var ba;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ba||(ba={}));var Ie;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Ie||(Ie={}));var xa;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(xa||(xa={}));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 va;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(va||(va={}));var Eh={[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 xl(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(xl(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 Ba=u(Oa());var $o=u(O());var Ta=u(O());var Na=u(P()),At=u(nt()),Lt=u(O());var Ca=u(P());var Ea=Ca.css`
1106
+ `;var Aa=u(O()),vl="ft-app-info",Sl={},L=Aa.FtReduxStore.get({name:vl,reducers:Sl,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 Ra,Ol=Symbol("clearAfterUnitTest"),To=class extends Jt{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ra]=()=>{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)))}};Ra=Ol;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,wa=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 Na.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=Ea;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 To=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 Cl="ft-user-assets",_o=ko.FtReduxStore.get({name:Cl,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 To,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)}}},mm=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 La=u(O()),br=class{highlightHtml(o,r){(0,La.highlightHtml)(o,r)}};window.FluidTopicsHighlightHtmlService=new br;(0,Ia.customElement)("ft-app-context")(G);var Pa=u(nt()),El=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?Ra: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,El([(0,Pa.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ta=class extends Bo($o.FtLitElement){},Uo=class extends Bo($o.FtLitElementRedux){};var $a=u(O());var Do=u(P()),Mo=u(nt()),Wo=u(O());var _a=u(P());var ka=_a.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},It=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(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=Ea;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 Cl="ft-user-assets",_o=ko.FtReduxStore.get({name:Cl,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)}}},mm=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 La=u(O()),br=class{highlightHtml(o,r){(0,La.highlightHtml)(o,r)}};window.FluidTopicsHighlightHtmlService=new br;(0,Ta.customElement)("ft-app-context")(G);var Pa=u(nt()),El=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?wa: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,El([(0,Pa.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ia=class extends Bo($o.FtLitElement){},Uo=class extends Bo($o.FtLitElementRedux){};var $a=u(O());var Do=u(P()),Mo=u(nt()),Wo=u(O());var _a=u(P());var ka=_a.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`
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:""})}};It.elementDefinitions={};It.styles=ka;to([(0,Wo.redux)()],It.prototype,"editorMode",void 0);to([(0,Mo.property)()],It.prototype,"context",void 0);to([(0,Mo.property)()],It.prototype,"key",void 0);to([(0,Wo.jsonProperty)([])],It.prototype,"args",void 0);to([(0,Mo.property)()],It.prototype,"defaultMessage",void 0);var zo=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 Ua=(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,$a.customElement)("ft-i18n")(It);var vr=zo.build("designedReaderMapMetadata");var Rt=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 wt.html`
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=ka;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 zo=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 Ua=(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,$a.customElement)("ft-i18n")(Tt);var vr=zo.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`
1114
1114
  ${this.useForSwitchingToRelatives&&this.relatives.length>0?this.renderSwitchToRelatives():this.renderChip()}
1115
1115
  ${this.hideIfEmpty()}
1116
- `}renderSwitchToRelatives(){return wt.html`
1116
+ `}renderSwitchToRelatives(){return Rt.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)}
@@ -1121,42 +1121,42 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1121
1121
  ${(0,Ba.repeat)(this.relatives,o=>o.metadata.value,o=>this.renderRelativeItem(o.result,o.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=wt.html`
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`
1125
1125
  <ft-chip part="chip"
1126
1126
  exportpartsPrefix="chip"
1127
1127
  slot="${f&&o?"toggle":""}"
1128
1128
  trailingIcon icon="${o?"thin_arrow":""}"
1129
1129
  ?clickable=${o}
1130
1130
  ?multiLine=${this.multiLine}>
1131
- ${this.displayLabel?wt.html`
1131
+ ${this.displayLabel?Rt.html`
1132
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
- `:wt.nothing}
1133
+ `:Rt.nothing}
1134
1134
  <span part="values">${this.metadataValue}</span>
1135
- </ft-chip>`;return f?h:wt.html`
1135
+ </ft-chip>`;return f?h:Rt.html`
1136
1136
  <ft-tooltip part="tooltip"
1137
1137
  slot="${o?"toggle":""}"
1138
1138
  class="${this.multiLine?"ft-reader-metadata-multi-line":""}"
1139
1139
  text="${`${this.metadataLabel}: ${(p=(s=this.flatMetadata)===null||s===void 0?void 0:s.value)!==null&&p!==void 0?p:this.noValueMessage}`}">
1140
1140
  ${h}
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 wt.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(o,r){return Rt.html`
1143
1143
  <a part="relative-item-link"
1144
1144
  href="${hr(o)}"
1145
1145
  @click=${i=>this.addTopicPivotParam(i,o)}>
1146
1146
  <ft-ripple part="relative-item-ripple"></ft-ripple>
1147
1147
  <ft-floating-menu-item part="relative-item" value="${r.value}" notFocusable>
1148
- ${r.value==null||r.value===r.displayValue?r.displayValue:wt.html`
1148
+ ${r.value==null||r.value===r.displayValue?r.displayValue:Rt.html`
1149
1149
  <ft-tooltip part="relative-item-tooltip" text="${r.value}">${r.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?wt.html`
1153
+ `}hideIfEmpty(){let o=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&o?Rt.html`
1154
1154
  <style>
1155
1155
  :host {
1156
1156
  display: none !important;
1157
1157
  }
1158
1158
  </style>
1159
- `:wt.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=Rr;Rt([(0,Gt.property)(),(0,$t.reduxReactive)()],Q.prototype,"key",void 0);Rt([(0,Gt.property)({type:Boolean})],Q.prototype,"multiLine",void 0);Rt([(0,Gt.property)({type:Boolean})],Q.prototype,"useForSwitchingToRelatives",void 0);Rt([(0,Gt.property)({type:Boolean})],Q.prototype,"displayLabel",void 0);Rt([(0,Gt.property)({attribute:!1})],Q.prototype,"editorMode",void 0);Rt([(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);Rt([(0,Gt.state)()],Q.prototype,"flatMetadata",void 0);Rt([(0,$t.redux)()],Q.prototype,"map",void 0);Rt([(0,$t.redux)({selector:e=>{var o;return(o=e.configuration)===null||o===void 0?void 0:o.relativeTopicPivotMetadata}})],Q.prototype,"relativeTopicPivotMetadata",void 0);Rt([(0,Gt.state)()],Q.prototype,"relatives",void 0);Rt([Ua(vr.properties.itemWithNoValueForSwitchToRelatives())],Q.prototype,"noValueMessage",void 0);Rt([(0,$t.reduxEventListener)({eventName:"clustering-helper-created"})],Q.prototype,"updateRelatives",null);(0,Da.customElement)("ft-reader-metadata")(Q);})();
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([Ua(vr.properties.itemWithNoValueForSwitchToRelatives())],Q.prototype,"noValueMessage",void 0);wt([(0,$t.reduxEventListener)({eventName:"clustering-helper-created"})],Q.prototype,"updateRelatives",null);(0,Da.customElement)("ft-reader-metadata")(Q);})();
1160
1160
  /*! Bundled license information:
1161
1161
 
1162
1162
  lit-html/lit-html.js: