@fluid-topics/ft-reader-feedback 1.2.65 → 1.2.66

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,5 +1,5 @@
1
- "use strict";(()=>{var ep=Object.create;var Ca=Object.defineProperty;var rp=Object.getOwnPropertyDescriptor;var op=Object.getOwnPropertyNames;var ip=Object.getPrototypeOf,np=Object.prototype.hasOwnProperty;var ur=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ap=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of op(t))!np.call(e,n)&&n!==r&&Ca(e,n,{get:()=>t[n],enumerable:!(i=rp(t,n))||i.enumerable});return e};var m=(e,t,r)=>(r=e!=null?ep(ip(e)):{},ap(t||!e||!e.__esModule?Ca(r,"default",{value:e,enumerable:!0}):r,e));var R=ur((ku,wa)=>{wa.exports=ftGlobals.wcUtils});var M=ur((Du,Ea)=>{Ea.exports=ftGlobals.lit});var q=ur(($u,Aa)=>{Aa.exports=ftGlobals.litDecorators});var _s=ur((Ke,Is)=>{var Mo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Fo=function(){function e(){this.fetch=!1,this.DOMException=Mo.DOMException}return e.prototype=Mo,new e}();(function(e){var t=function(r){var i=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function u(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function p(g){return typeof g!="string"&&(g=String(g)),g}function h(g){var x={next:function(){var P=g.shift();return{done:P===void 0,value:P}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function y(g){this.map={},g instanceof y?g.forEach(function(x,P){this.append(P,x)},this):Array.isArray(g)?g.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(x){this.append(x,g[x])},this)}y.prototype.append=function(g,x){g=u(g),x=p(x);var P=this.map[g];this.map[g]=P?P+", "+x:x},y.prototype.delete=function(g){delete this.map[u(g)]},y.prototype.get=function(g){return g=u(g),this.has(g)?this.map[g]:null},y.prototype.has=function(g){return this.map.hasOwnProperty(u(g))},y.prototype.set=function(g,x){this.map[u(g)]=p(x)},y.prototype.forEach=function(g,x){for(var P in this.map)this.map.hasOwnProperty(P)&&g.call(x,this.map[P],P,this)},y.prototype.keys=function(){var g=[];return this.forEach(function(x,P){g.push(P)}),h(g)},y.prototype.values=function(){var g=[];return this.forEach(function(x){g.push(x)}),h(g)},y.prototype.entries=function(){var g=[];return this.forEach(function(x,P){g.push([P,x])}),h(g)},n.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function b(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function v(g){return new Promise(function(x,P){g.onload=function(){x(g.result)},g.onerror=function(){P(g.error)}})}function S(g){var x=new FileReader,P=v(x);return x.readAsArrayBuffer(g),P}function O(g){var x=new FileReader,P=v(x),Y=/charset=([A-Za-z0-9_-]+)/.exec(g.type),st=Y?Y[1]:"utf-8";return x.readAsText(g,st),P}function N(g){for(var x=new Uint8Array(g),P=new Array(x.length),Y=0;Y<x.length;Y++)P[Y]=String.fromCharCode(x[Y]);return P.join("")}function I(g){if(g.slice)return g.slice(0);var x=new Uint8Array(g.byteLength);return x.set(new Uint8Array(g)),x.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&a(g)?(this._bodyArrayBuffer=I(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||c(g))?this._bodyArrayBuffer=I(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=b(this);if(g)return g;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(){if(this._bodyArrayBuffer){var g=b(this);return g||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=b(this);if(g)return g;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(Gt)}),this.json=function(){return this.text().then(JSON.parse)},this}var $=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function H(g){var x=g.toUpperCase();return $.indexOf(x)>-1?x:g}function z(g,x){if(!(this instanceof z))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var P=x.body;if(g instanceof z){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,x.headers||(this.headers=new y(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!P&&g._bodyInit!=null&&(P=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new y(x.headers)),this.method=H(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in i){var j=new AbortController;return j.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var Y=/([?&])_=[^&]*/;if(Y.test(this.url))this.url=this.url.replace(Y,"$1_="+new Date().getTime());else{var st=/\?/;this.url+=(st.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}z.prototype.clone=function(){return new z(this,{body:this._bodyInit})};function Gt(g){var x=new FormData;return g.trim().split("&").forEach(function(P){if(P){var Y=P.split("="),st=Y.shift().replace(/\+/g," "),j=Y.join("=").replace(/\+/g," ");x.append(decodeURIComponent(st),decodeURIComponent(j))}}),x}function xe(g){var x=new y,P=g.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(Y){return Y.indexOf(`
2
- `)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var st=Y.split(":"),j=st.shift().trim();if(j){var Po=st.join(":").trim();try{x.append(j,Po)}catch(en){console.warn("Response "+en.message)}}}),x}_.call(z.prototype);function Wt(g,x){if(!(this instanceof Wt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new y(x.headers),this.url=x.url||"",this._initBody(g)}_.call(Wt.prototype),Wt.prototype.clone=function(){return new Wt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},Wt.error=function(){var g=new Wt(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var Se=[301,302,303,307,308];Wt.redirect=function(g,x){if(Se.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Wt(null,{status:x,headers:{location:g}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,P){this.message=x,this.name=P;var Y=Error(x);this.stack=Y.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Tt(g,x){return new Promise(function(P,Y){var st=new z(g,x);if(st.signal&&st.signal.aborted)return Y(new r.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function Po(){j.abort()}j.onload=function(){var It={statusText:j.statusText,headers:xe(j.getAllResponseHeaders()||"")};st.url.indexOf("file://")===0&&(j.status<200||j.status>599)?It.status=200:It.status=j.status,It.url="responseURL"in j?j.responseURL:It.headers.get("X-Request-URL");var pr="response"in j?j.response:j.responseText;setTimeout(function(){P(new Wt(pr,It))},0)},j.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},j.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},j.onabort=function(){setTimeout(function(){Y(new r.DOMException("Aborted","AbortError"))},0)};function en(It){try{return It===""&&i.location.href?i.location.href:It}catch{return It}}if(j.open(st.method,en(st.url),!0),st.credentials==="include"?j.withCredentials=!0:st.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&(n.blob?j.responseType="blob":n.arrayBuffer&&(j.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof y||i.Headers&&x.headers instanceof i.Headers)){var Oa=[];Object.getOwnPropertyNames(x.headers).forEach(function(It){Oa.push(u(It)),j.setRequestHeader(It,p(x.headers[It]))}),st.headers.forEach(function(It,pr){Oa.indexOf(pr)===-1&&j.setRequestHeader(pr,It)})}else st.headers.forEach(function(It,pr){j.setRequestHeader(pr,It)});st.signal&&(st.signal.addEventListener("abort",Po),j.onreadystatechange=function(){j.readyState===4&&st.signal.removeEventListener("abort",Po)}),j.send(typeof st._bodyInit>"u"?null:st._bodyInit)})}return Tt.polyfill=!0,i.fetch||(i.fetch=Tt,i.Headers=y,i.Request=z,i.Response=Wt),r.Headers=y,r.Request=z,r.Response=Wt,r.fetch=Tt,r}({})})(Fo);Fo.fetch.ponyfill=!0;delete Fo.fetch.polyfill;var kr=Mo.fetch?Mo:Fo;Ke=kr.fetch;Ke.default=kr.fetch;Ke.fetch=kr.fetch;Ke.Headers=kr.Headers;Ke.Request=kr.Request;Ke.Response=kr.Response;Is.exports=Ke});var Le=ur((Hm,xl)=>{xl.exports=ftGlobals.litClassMap});var tc=ur((Ib,Jl)=>{Jl.exports=ftGlobals.litUnsafeHTML});var Dn=ur((Zv,Sc)=>{Sc.exports=ftGlobals.litRepeat});var Sa=m(R());var Jd=m(M()),ce=m(q()),Ft=m(R());var Ra=m(R()),Ta=m(q());var eo;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change"})(eo||(eo={}));var re;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(re||(re={}));var sp=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},on=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},rn=Symbol("registerInterval");function lp(e){var t;class r extends e{constructor(){super(...arguments),this[t]=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[rn]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[rn]):this.dispatchEvent(new on)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=rn,sp([(0,Ta.state)()],r.prototype,"stateManager",void 0),r}var ze=class extends lp(Ra.FtLitElementRedux){};var gt=m(M()),mt=m(q()),Xi=m(R());var Rs=m(M()),J=m(R());var Es=m(M()),F=m(R());var ka=m(M()),bt=m(R()),Ia=bt.FtCssVariableFactory.extend("--ft-ripple-color","",bt.designSystemVariables.colorContent),w={color:Ia,backgroundColor:bt.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ia),opacityContentOnSurfacePressed:bt.FtCssVariableFactory.external(bt.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:bt.FtCssVariableFactory.external(bt.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:bt.FtCssVariableFactory.external(bt.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:bt.FtCssVariableFactory.external(bt.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:bt.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},_a=bt.FtCssVariableFactory.extend("--ft-ripple-color","",bt.designSystemVariables.colorPrimary),Na={color:_a,backgroundColor:bt.FtCssVariableFactory.extend("--ft-ripple-background-color","",_a)},La=bt.FtCssVariableFactory.extend("--ft-ripple-color","",bt.designSystemVariables.colorSecondary),Pa={color:La,backgroundColor:bt.FtCssVariableFactory.extend("--ft-ripple-background-color","",La)},Da=ka.css`
1
+ "use strict";(()=>{var tp=Object.create;var Oa=Object.defineProperty;var rp=Object.getOwnPropertyDescriptor;var op=Object.getOwnPropertyNames;var ip=Object.getPrototypeOf,np=Object.prototype.hasOwnProperty;var ur=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var ap=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of op(e))!np.call(t,n)&&n!==o&&Oa(t,n,{get:()=>e[n],enumerable:!(i=rp(e,n))||i.enumerable});return t};var m=(t,e,o)=>(o=t!=null?tp(ip(t)):{},ap(e||!t||!t.__esModule?Oa(o,"default",{value:t,enumerable:!0}):o,t));var R=ur((ku,wa)=>{wa.exports=ftGlobals.wcUtils});var M=ur((Du,Ea)=>{Ea.exports=ftGlobals.lit});var q=ur(($u,Aa)=>{Aa.exports=ftGlobals.litDecorators});var _s=ur((Kt,Is)=>{var Mo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Fo=function(){function t(){this.fetch=!1,this.DOMException=Mo.DOMException}return t.prototype=Mo,new t}();(function(t){var e=function(o){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function u(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function p(g){return typeof g!="string"&&(g=String(g)),g}function h(g){var v={next:function(){var P=g.shift();return{done:P===void 0,value:P}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function y(g){this.map={},g instanceof y?g.forEach(function(v,P){this.append(P,v)},this):Array.isArray(g)?g.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}y.prototype.append=function(g,v){g=u(g),v=p(v);var P=this.map[g];this.map[g]=P?P+", "+v:v},y.prototype.delete=function(g){delete this.map[u(g)]},y.prototype.get=function(g){return g=u(g),this.has(g)?this.map[g]:null},y.prototype.has=function(g){return this.map.hasOwnProperty(u(g))},y.prototype.set=function(g,v){this.map[u(g)]=p(v)},y.prototype.forEach=function(g,v){for(var P in this.map)this.map.hasOwnProperty(P)&&g.call(v,this.map[P],P,this)},y.prototype.keys=function(){var g=[];return this.forEach(function(v,P){g.push(P)}),h(g)},y.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),h(g)},y.prototype.entries=function(){var g=[];return this.forEach(function(v,P){g.push([P,v])}),h(g)},n.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function b(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function x(g){return new Promise(function(v,P){g.onload=function(){v(g.result)},g.onerror=function(){P(g.error)}})}function S(g){var v=new FileReader,P=x(v);return v.readAsArrayBuffer(g),P}function C(g){var v=new FileReader,P=x(v),Y=/charset=([A-Za-z0-9_-]+)/.exec(g.type),se=Y?Y[1]:"utf-8";return v.readAsText(g,se),P}function N(g){for(var v=new Uint8Array(g),P=new Array(v.length),Y=0;Y<v.length;Y++)P[Y]=String.fromCharCode(v[Y]);return P.join("")}function I(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&a(g)?(this._bodyArrayBuffer=I(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||c(g))?this._bodyArrayBuffer=I(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=b(this);if(g)return g;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(){if(this._bodyArrayBuffer){var g=b(this);return g||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=b(this);if(g)return g;if(this._bodyBlob)return C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(je)}),this.json=function(){return this.text().then(JSON.parse)},this}var $=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function z(g){var v=g.toUpperCase();return $.indexOf(v)>-1?v:g}function H(g,v){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var P=v.body;if(g instanceof H){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new y(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!P&&g._bodyInit!=null&&(P=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new y(v.headers)),this.method=z(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in i){var G=new AbortController;return G.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var Y=/([?&])_=[^&]*/;if(Y.test(this.url))this.url=this.url.replace(Y,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})};function je(g){var v=new FormData;return g.trim().split("&").forEach(function(P){if(P){var Y=P.split("="),se=Y.shift().replace(/\+/g," "),G=Y.join("=").replace(/\+/g," ");v.append(decodeURIComponent(se),decodeURIComponent(G))}}),v}function vt(g){var v=new y,P=g.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(Y){return Y.indexOf(`
2
+ `)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var se=Y.split(":"),G=se.shift().trim();if(G){var Po=se.join(":").trim();try{v.append(G,Po)}catch(tn){console.warn("Response "+tn.message)}}}),v}_.call(H.prototype);function We(g,v){if(!(this instanceof We))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new y(v.headers),this.url=v.url||"",this._initBody(g)}_.call(We.prototype),We.prototype.clone=function(){return new We(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},We.error=function(){var g=new We(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var St=[301,302,303,307,308];We.redirect=function(g,v){if(St.indexOf(v)===-1)throw new RangeError("Invalid status code");return new We(null,{status:v,headers:{location:g}})},o.DOMException=i.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,P){this.message=v,this.name=P;var Y=Error(v);this.stack=Y.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Te(g,v){return new Promise(function(P,Y){var se=new H(g,v);if(se.signal&&se.signal.aborted)return Y(new o.DOMException("Aborted","AbortError"));var G=new XMLHttpRequest;function Po(){G.abort()}G.onload=function(){var Ie={statusText:G.statusText,headers:vt(G.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(G.status<200||G.status>599)?Ie.status=200:Ie.status=G.status,Ie.url="responseURL"in G?G.responseURL:Ie.headers.get("X-Request-URL");var pr="response"in G?G.response:G.responseText;setTimeout(function(){P(new We(pr,Ie))},0)},G.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},G.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},G.onabort=function(){setTimeout(function(){Y(new o.DOMException("Aborted","AbortError"))},0)};function tn(Ie){try{return Ie===""&&i.location.href?i.location.href:Ie}catch{return Ie}}if(G.open(se.method,tn(se.url),!0),se.credentials==="include"?G.withCredentials=!0:se.credentials==="omit"&&(G.withCredentials=!1),"responseType"in G&&(n.blob?G.responseType="blob":n.arrayBuffer&&(G.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof y||i.Headers&&v.headers instanceof i.Headers)){var Ca=[];Object.getOwnPropertyNames(v.headers).forEach(function(Ie){Ca.push(u(Ie)),G.setRequestHeader(Ie,p(v.headers[Ie]))}),se.headers.forEach(function(Ie,pr){Ca.indexOf(pr)===-1&&G.setRequestHeader(pr,Ie)})}else se.headers.forEach(function(Ie,pr){G.setRequestHeader(pr,Ie)});se.signal&&(se.signal.addEventListener("abort",Po),G.onreadystatechange=function(){G.readyState===4&&se.signal.removeEventListener("abort",Po)}),G.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return Te.polyfill=!0,i.fetch||(i.fetch=Te,i.Headers=y,i.Request=H,i.Response=We),o.Headers=y,o.Request=H,o.Response=We,o.fetch=Te,o}({})})(Fo);Fo.fetch.ponyfill=!0;delete Fo.fetch.polyfill;var kr=Mo.fetch?Mo:Fo;Kt=kr.fetch;Kt.default=kr.fetch;Kt.fetch=kr.fetch;Kt.Headers=kr.Headers;Kt.Request=kr.Request;Kt.Response=kr.Response;Is.exports=Kt});var Lt=ur((Zm,vl)=>{vl.exports=ftGlobals.litClassMap});var ec=ur((Db,Jl)=>{Jl.exports=ftGlobals.litUnsafeHTML});var Dn=ur((ev,Sc)=>{Sc.exports=ftGlobals.litRepeat});var Sa=m(R());var Jd=m(M()),ct=m(q()),Fe=m(R());var Ra=m(R()),Ta=m(q());var to;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(to||(to={}));var rt;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(rt||(rt={}));var sp=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},on=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},rn=Symbol("registerInterval");function lp(t){var e;class o extends t{constructor(){super(...arguments),this[e]=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[rn]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[rn]):this.dispatchEvent(new on)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=rn,sp([(0,Ta.state)()],o.prototype,"stateManager",void 0),o}var Ht=class extends lp(Ra.FtLitElementRedux){};var ge=m(M()),me=m(q()),Xi=m(R());var Rs=m(M()),J=m(R());var Es=m(M()),F=m(R());var ka=m(M()),be=m(R()),Ia=be.FtCssVariableFactory.extend("--ft-ripple-color","",be.designSystemVariables.colorContent),w={color:Ia,backgroundColor:be.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ia),opacityContentOnSurfacePressed:be.FtCssVariableFactory.external(be.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:be.FtCssVariableFactory.external(be.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:be.FtCssVariableFactory.external(be.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:be.FtCssVariableFactory.external(be.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:be.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},_a=be.FtCssVariableFactory.extend("--ft-ripple-color","",be.designSystemVariables.colorPrimary),Na={color:_a,backgroundColor:be.FtCssVariableFactory.extend("--ft-ripple-background-color","",_a)},La=be.FtCssVariableFactory.extend("--ft-ripple-color","",be.designSystemVariables.colorSecondary),Pa={color:La,backgroundColor:be.FtCssVariableFactory.extend("--ft-ripple-background-color","",La)},Da=ka.css`
3
3
  :host {
4
4
  display: contents;
5
5
  }
@@ -111,35 +111,35 @@
111
111
  opacity: ${w.opacityContentOnSurfacePressed};
112
112
  transform: translate(-50%, -50%) scale(1);
113
113
  }
114
- `;var ie=m(M()),A=m(R());var Ie=m(M(),1),je=e=>typeof e=="string"?(0,Ie.unsafeCSS)(e):e,o=class{static create(t,r,i,n){let a=c=>je(c??n),s=Ie.css`var(${je(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>Ie.css`var(${je(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(t,r,i,n){let a=c=>i.get(c??n),s=Ie.css`var(${je(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>Ie.css`var(${je(t)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(t,r){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):je(a??t.lastResortDefaultValue()),n=Ie.css`var(${je(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>Ie.css`var(${je(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},$a={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ba={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ma={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Fa={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ua={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Wa={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ha={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},za={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ja={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},cp={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Va={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ga={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ka={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Za={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},qa={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ya={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Xa={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Qa={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ja={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ts={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},es={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},rs={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},os={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},is={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ns={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},as={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},ko={display:$a,"title-1":Ba,"title-2":Ma,"title-3":Fa,"body-1-regular":Ua,"body-1-medium":Wa,"body-1-semibold":Ha,"body-2-regular":za,"body-2-medium":ja,"body-2-medium-underline":cp,"body-2-semibold":Va,"label-1-medium":Ga,"label-1-semibold":Ka,"label-1-bold":Za,"label-2-medium":qa,"label-2-semibold":Ya,"label-2-bold":Xa,"caption-1-medium":Qa,"caption-1-semibold":Ja,"caption-1-bold":ts,"caption-2-medium":es,"caption-2-semibold":rs,"caption-2-bold":os,"caption-3-medium":is,"caption-3-semibold":ns,"caption-3-bold":as};var d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
115
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var f={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var tf={iconSize:o.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",l.spacing2)};var af={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",l.spacing1)};var pf={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var gf={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Sf={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var Af={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Nf={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)};var $f={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Wf={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Gf={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)};var Yf={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)};var eh={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var ah={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var ph={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var gh={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Sh={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Ah={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Nh={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var $h={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Wh={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var Gh={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Xh={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var ey={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var ny={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var dy={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var yy={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var xy={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var Ey={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var _y={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var Dy={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Do;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Do||(Do={}));var Rr;(function(e){e.large="large",e.medium="medium",e.small="small"})(Rr||(Rr={}));var $o=m(M());function ss(e){let t=ko[e];return $o.css`
116
- .ft-typography--${(0,$o.unsafeCSS)(e)} {
117
- font-family: ${t.fontFamily};
118
- font-size: ${t.fontSize};
119
- font-weight: ${t.fontWeight};
120
- letter-spacing: ${t.letterSpacing};
121
- line-height: ${t.lineHeight};
122
- text-transform: ${t.textCase};
123
- }
124
- `}var ls=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),_e=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),L={fontFamily:_e,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ve={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ls),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",L.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",L.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",L.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",L.textTransform,"inherit")},Ge={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ls),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",L.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",L.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",L.textTransform,"inherit")},Tr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_e),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",L.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",L.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",L.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",L.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",L.textTransform,"inherit")},Ir={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_e),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",L.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",L.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",L.textTransform,"inherit")},oe={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_e),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",L.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",L.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",L.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",L.textTransform,"inherit")},_r={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_e),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",L.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",L.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",L.textTransform,"inherit")},pe={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_e),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",L.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",L.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",L.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",L.textTransform,"inherit")},Nr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_e),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",L.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",L.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",L.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",L.textTransform,"inherit")},Lr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_e),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",L.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",L.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",L.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",L.textTransform,"uppercase")},Ht={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_e),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",L.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",L.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",L.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",L.textTransform,"uppercase")},cs=ie.css`
114
+ `;var it=m(M()),A=m(R());var It=m(M(),1),Gt=t=>typeof t=="string"?(0,It.unsafeCSS)(t):t,r=class{static create(e,o,i,n){let a=c=>Gt(c??n),s=It.css`var(${Gt(e)}, ${a(n)})`;return s.name=e,s.description=o,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>It.css`var(${Gt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,o,i,n){let a=c=>i.get(c??n),s=It.css`var(${Gt(e)}, ${a(n)})`;return s.name=e,s.description=o,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>It.css`var(${Gt(e)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,o){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Gt(a??e.lastResortDefaultValue()),n=It.css`var(${Gt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>It.css`var(${Gt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},$a={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ba={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ma={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Fa={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},cp={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Va={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},qa={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ya={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Xa={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Qa={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ja={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},es={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ts={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},rs={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},os={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},is={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ns={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},as={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},ko={display:$a,"title-1":Ba,"title-2":Ma,"title-3":Fa,"body-1-regular":Ua,"body-1-medium":Wa,"body-1-semibold":za,"body-2-regular":Ha,"body-2-medium":Ga,"body-2-medium-underline":cp,"body-2-semibold":Va,"label-1-medium":ja,"label-1-semibold":Ka,"label-1-bold":Za,"label-2-medium":qa,"label-2-semibold":Ya,"label-2-bold":Xa,"caption-1-medium":Qa,"caption-1-semibold":Ja,"caption-1-bold":es,"caption-2-medium":ts,"caption-2-semibold":rs,"caption-2-bold":os,"caption-3-medium":is,"caption-3-semibold":ns,"caption-3-bold":as};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
115
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var f={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var ef={iconSize:r.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",l.spacing2)};var af={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",l.spacing1)};var pf={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var gf={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Sf={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var Af={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Nf={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var $f={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Wf={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var jf={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)};var Yf={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)};var th={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var ah={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var ph={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var gh={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Sh={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusS)};var Ah={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Nh={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var $h={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusS)};var Wh={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",l.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",l.spacing6)};var jh={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Xh={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var ty={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var ny={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var dy={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var yy={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var vy={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Ey={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var _y={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var Dy={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Uy={nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",d.contentInfoPrimary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",d.contentInfoPrimary),nodeSelectedStateLayerColor:r.extend("--ft-tree-list-node-selected-state-layer-color","",d.contentGlobalSubtle),nodeSelectedStateLayerOpacity:r.extend("--ft-tree-list-node-selected-state-layer-opacity","",l.opacity24),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentInfoPrimary),nodeDescendantOfSelectedStateLayerColor:r.extend("--ft-tree-list-node-descendant-of-selected-state-layer-color","",d.contentGlobalSubtle),nodeDescendantOfSelectedStateLayerOpacity:r.extend("--ft-tree-list-node-descendant-of-selected-state-layer-opacity","",l.opacity8),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",l.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",d.contentInfoPrimary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",l.spacing6),loadMoreDefaultBorderColor:r.extend("--ft-tree-list-load-more-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreStateLayerColor:r.extend("--ft-tree-list-load-more-state-layer-color","",d.contentActionPrimary),loadMoreHoverStateLayerOpacity:r.extend("--ft-tree-list-load-more-hover-state-layer-opacity","",l.opacity8),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreFocusStateLayerOpacity:r.extend("--ft-tree-list-load-more-focus-state-layer-opacity","",l.opacity8),loadMoreActiveStateLayerOpacity:r.extend("--ft-tree-list-load-more-active-state-layer-opacity","",l.opacity16),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",l.colorBrand20)};var Do;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Do||(Do={}));var Rr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Rr||(Rr={}));var $o=m(M());function ss(t){let e=ko[t];return $o.css`
116
+ .ft-typography--${(0,$o.unsafeCSS)(t)} {
117
+ font-family: ${e.fontFamily};
118
+ font-size: ${e.fontSize};
119
+ font-weight: ${e.fontWeight};
120
+ letter-spacing: ${e.letterSpacing};
121
+ line-height: ${e.lineHeight};
122
+ text-transform: ${e.textCase};
123
+ }
124
+ `}var ls=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),_t=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),L={fontFamily:_t,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Vt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ls),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",L.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",L.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",L.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",L.textTransform,"inherit")},jt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ls),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",L.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",L.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",L.textTransform,"inherit")},Tr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_t),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",L.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",L.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",L.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",L.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",L.textTransform,"inherit")},Ir={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_t),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",L.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",L.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",L.textTransform,"inherit")},ot={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_t),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",L.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",L.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",L.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",L.textTransform,"inherit")},_r={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_t),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",L.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",L.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",L.textTransform,"inherit")},pt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_t),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",L.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",L.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",L.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",L.textTransform,"inherit")},Nr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_t),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",L.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",L.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",L.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",L.textTransform,"inherit")},Lr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_t),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",L.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",L.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",L.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",L.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",L.textTransform,"uppercase")},ze={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_t),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",L.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",L.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",L.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",L.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",L.textTransform,"uppercase")},cs=it.css`
125
125
  .ft-typography--title {
126
- font-family: ${Ve.fontFamily};
127
- font-size: ${Ve.fontSize};
128
- font-weight: ${Ve.fontWeight};
129
- letter-spacing: ${Ve.letterSpacing};
130
- line-height: ${Ve.lineHeight};
131
- text-transform: ${Ve.textTransform};
132
- }
133
- `,ds=ie.css`
126
+ font-family: ${Vt.fontFamily};
127
+ font-size: ${Vt.fontSize};
128
+ font-weight: ${Vt.fontWeight};
129
+ letter-spacing: ${Vt.letterSpacing};
130
+ line-height: ${Vt.lineHeight};
131
+ text-transform: ${Vt.textTransform};
132
+ }
133
+ `,ds=it.css`
134
134
  .ft-typography--title-dense {
135
- font-family: ${Ge.fontFamily};
136
- font-size: ${Ge.fontSize};
137
- font-weight: ${Ge.fontWeight};
138
- letter-spacing: ${Ge.letterSpacing};
139
- line-height: ${Ge.lineHeight};
140
- text-transform: ${Ge.textTransform};
141
- }
142
- `,ps=ie.css`
135
+ font-family: ${jt.fontFamily};
136
+ font-size: ${jt.fontSize};
137
+ font-weight: ${jt.fontWeight};
138
+ letter-spacing: ${jt.letterSpacing};
139
+ line-height: ${jt.lineHeight};
140
+ text-transform: ${jt.textTransform};
141
+ }
142
+ `,ps=it.css`
143
143
  .ft-typography--subtitle1 {
144
144
  font-family: ${Tr.fontFamily};
145
145
  font-size: ${Tr.fontSize};
@@ -148,7 +148,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
148
148
  line-height: ${Tr.lineHeight};
149
149
  text-transform: ${Tr.textTransform};
150
150
  }
151
- `,us=ie.css`
151
+ `,us=it.css`
152
152
  .ft-typography--subtitle2 {
153
153
  font-family: ${Ir.fontFamily};
154
154
  font-size: ${Ir.fontSize};
@@ -158,16 +158,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
158
158
  text-transform: ${Ir.textTransform};
159
159
  }
160
160
 
161
- `,Pr=ie.css`
161
+ `,Pr=it.css`
162
162
  .ft-typography--body1 {
163
- font-family: ${oe.fontFamily};
164
- font-size: ${oe.fontSize};
165
- font-weight: ${oe.fontWeight};
166
- letter-spacing: ${oe.letterSpacing};
167
- line-height: ${oe.lineHeight};
168
- text-transform: ${oe.textTransform};
169
- }
170
- `,fs=ie.css`
163
+ font-family: ${ot.fontFamily};
164
+ font-size: ${ot.fontSize};
165
+ font-weight: ${ot.fontWeight};
166
+ letter-spacing: ${ot.letterSpacing};
167
+ line-height: ${ot.lineHeight};
168
+ text-transform: ${ot.textTransform};
169
+ }
170
+ `,fs=it.css`
171
171
  .ft-typography--body2 {
172
172
  font-family: ${_r.fontFamily};
173
173
  font-size: ${_r.fontSize};
@@ -176,16 +176,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
176
176
  line-height: ${_r.lineHeight};
177
177
  text-transform: ${_r.textTransform};
178
178
  }
179
- `,Bo=ie.css`
179
+ `,Bo=it.css`
180
180
  .ft-typography--caption {
181
- font-family: ${pe.fontFamily};
182
- font-size: ${pe.fontSize};
183
- font-weight: ${pe.fontWeight};
184
- letter-spacing: ${pe.letterSpacing};
185
- line-height: ${pe.lineHeight};
186
- text-transform: ${pe.textTransform};
187
- }
188
- `,hs=ie.css`
181
+ font-family: ${pt.fontFamily};
182
+ font-size: ${pt.fontSize};
183
+ font-weight: ${pt.fontWeight};
184
+ letter-spacing: ${pt.letterSpacing};
185
+ line-height: ${pt.lineHeight};
186
+ text-transform: ${pt.textTransform};
187
+ }
188
+ `,hs=it.css`
189
189
  .ft-typography--breadcrumb {
190
190
  font-family: ${Nr.fontFamily};
191
191
  font-size: ${Nr.fontSize};
@@ -194,7 +194,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
194
194
  line-height: ${Nr.lineHeight};
195
195
  text-transform: ${Nr.textTransform};
196
196
  }
197
- `,ys=ie.css`
197
+ `,ys=it.css`
198
198
  .ft-typography--overline {
199
199
  font-family: ${Lr.fontFamily};
200
200
  font-size: ${Lr.fontSize};
@@ -203,20 +203,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
203
203
  line-height: ${Lr.lineHeight};
204
204
  text-transform: ${Lr.textTransform};
205
205
  }
206
- `,gs=ie.css`
206
+ `,gs=it.css`
207
207
  .ft-typography--button {
208
- font-family: ${Ht.fontFamily};
209
- font-size: ${Ht.fontSize};
210
- font-weight: ${Ht.fontWeight};
211
- letter-spacing: ${Ht.letterSpacing};
212
- line-height: ${Ht.lineHeight};
213
- text-transform: ${Ht.textTransform};
214
- }
215
- `,ms=ie.css`
208
+ font-family: ${ze.fontFamily};
209
+ font-size: ${ze.fontSize};
210
+ font-weight: ${ze.fontWeight};
211
+ letter-spacing: ${ze.letterSpacing};
212
+ line-height: ${ze.lineHeight};
213
+ text-transform: ${ze.textTransform};
214
+ }
215
+ `,ms=it.css`
216
216
  .ft-typography {
217
217
  vertical-align: inherit;
218
218
  }
219
- `,bs=[Object.keys(ko).map(e=>ss(e))];var vs=m(M()),ro=m(R()),ot={color:ro.FtCssVariableFactory.extend("--ft-loader-color","",ro.designSystemVariables.colorPrimary),size:ro.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},xs=vs.css`
219
+ `,bs=[Object.keys(ko).map(t=>ss(t))];var xs=m(M()),ro=m(R()),oe={color:ro.FtCssVariableFactory.extend("--ft-loader-color","",ro.designSystemVariables.colorPrimary),size:ro.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},vs=xs.css`
220
220
  :host {
221
221
  line-height: 0;
222
222
  }
@@ -225,8 +225,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
225
225
  display: inline-block;
226
226
  position: relative;
227
227
 
228
- width: ${ot.size};
229
- height: ${ot.size};
228
+ width: ${oe.size};
229
+ height: ${oe.size};
230
230
  }
231
231
 
232
232
  .ft-loader div {
@@ -235,7 +235,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
235
235
  width: 25%;
236
236
  height: 25%;
237
237
  border-radius: 50%;
238
- background: ${ot.color};
238
+ background: ${oe.color};
239
239
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
240
240
  }
241
241
 
@@ -282,10 +282,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
282
282
  transform: translate(0, 0);
283
283
  }
284
284
  100% {
285
- transform: translate(calc(0.35 * ${ot.size}), 0);
285
+ transform: translate(calc(0.35 * ${oe.size}), 0);
286
286
  }
287
287
  }
288
- `;var Ss=m(M()),ue=m(R()),St={size:ue.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ue.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ue.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ue.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ue.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ue.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ue.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ue.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Os=[Ss.css`
288
+ `;var Ss=m(M()),ut=m(R()),Se={size:ut.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ut.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ut.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ut.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ut.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ut.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ut.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Cs=[Ss.css`
289
289
  :host, i.ft-icon {
290
290
  display: inline-flex;
291
291
  align-items: center;
@@ -294,14 +294,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
294
294
  }
295
295
 
296
296
  :host {
297
- width: ${St.size};
298
- height: ${St.size};
297
+ width: ${Se.size};
298
+ height: ${Se.size};
299
299
  }
300
300
 
301
301
  i.ft-icon {
302
302
  width: 100%;
303
303
  height: 100%;
304
- font-size: ${St.size};
304
+ font-size: ${Se.size};
305
305
  line-height: 1;
306
306
  font-weight: normal;
307
307
  text-transform: none;
@@ -312,28 +312,28 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
312
312
  text-rendering: auto;
313
313
  -webkit-font-smoothing: antialiased;
314
314
  -moz-osx-font-smoothing: grayscale;
315
- vertical-align: ${St.verticalAlign};
315
+ vertical-align: ${Se.verticalAlign};
316
316
  }
317
317
 
318
318
  i.ft-icon.ft-icon--fluid-topics {
319
- font-family: ${St.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
319
+ font-family: ${Se.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
320
320
 
321
321
  /* Ugly fix because font is broken */
322
- font-size: calc(0.75 * ${St.size});
323
- line-height: ${St.size};
322
+ font-size: calc(0.75 * ${Se.size});
323
+ line-height: ${Se.size};
324
324
  position: relative;
325
325
  top: -4%;
326
326
  justify-content: center;
327
327
  }
328
328
 
329
329
  .ft-icon--file-format {
330
- font-family: ${St.fileFormatFontFamily}, ft-mime, sans-serif;
330
+ font-family: ${Se.fileFormatFontFamily}, ft-mime, sans-serif;
331
331
  }
332
332
 
333
333
  .ft-icon--material {
334
- font-family: ${St.materialFontFamily}, "Material Icons", sans-serif;
334
+ font-family: ${Se.materialFontFamily}, "Material Icons", sans-serif;
335
335
  }
336
- `,ue.noTextSelect];var Cs=F.FtCssVariableFactory.extend("--ft-button-color","",F.designSystemVariables.colorPrimary),tt={backgroundColor:F.FtCssVariableFactory.extend("--ft-button-background-color","",F.designSystemVariables.colorSurface),borderRadius:F.FtCssVariableFactory.extend("--ft-button-border-radius","",F.designSystemVariables.borderRadiusL),color:Cs,fontSize:F.FtCssVariableFactory.extend("--ft-button-font-size","",Ht.fontSize),iconSize:F.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:F.FtCssVariableFactory.extend("--ft-button-ripple-color","",Cs),verticalPadding:F.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:F.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:F.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},ws=F.FtCssVariableFactory.extend("--ft-button-primary-color","",F.FtCssVariableFactory.extend("--ft-button-color","",F.designSystemVariables.colorOnPrimary)),nn={backgroundColor:F.FtCssVariableFactory.extend("--ft-button-primary-background-color","",F.FtCssVariableFactory.extend("--ft-button-background-color","",F.designSystemVariables.colorPrimary)),color:ws,rippleColor:F.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ws)},Oe={borderRadius:F.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",F.FtCssVariableFactory.extend("--ft-button-border-radius","",F.designSystemVariables.borderRadiusM)),verticalPadding:F.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:F.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:F.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},As=[Es.css`
336
+ `,ut.noTextSelect];var Os=F.FtCssVariableFactory.extend("--ft-button-color","",F.designSystemVariables.colorPrimary),ee={backgroundColor:F.FtCssVariableFactory.extend("--ft-button-background-color","",F.designSystemVariables.colorSurface),borderRadius:F.FtCssVariableFactory.extend("--ft-button-border-radius","",F.designSystemVariables.borderRadiusL),color:Os,fontSize:F.FtCssVariableFactory.extend("--ft-button-font-size","",ze.fontSize),iconSize:F.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:F.FtCssVariableFactory.extend("--ft-button-ripple-color","",Os),verticalPadding:F.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:F.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:F.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},ws=F.FtCssVariableFactory.extend("--ft-button-primary-color","",F.FtCssVariableFactory.extend("--ft-button-color","",F.designSystemVariables.colorOnPrimary)),nn={backgroundColor:F.FtCssVariableFactory.extend("--ft-button-primary-background-color","",F.FtCssVariableFactory.extend("--ft-button-background-color","",F.designSystemVariables.colorPrimary)),color:ws,rippleColor:F.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ws)},Ct={borderRadius:F.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",F.FtCssVariableFactory.extend("--ft-button-border-radius","",F.designSystemVariables.borderRadiusM)),verticalPadding:F.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:F.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:F.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},As=[Es.css`
337
337
  :host {
338
338
  display: inline-block;
339
339
  max-width: 100%;
@@ -344,7 +344,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
344
344
  box-shadow: 0px 0px 0px transparent;
345
345
  border: 0px solid transparent;
346
346
  text-shadow: 0px 0px 0px transparent;
347
- font-size: ${tt.fontSize};
347
+ font-size: ${ee.fontSize};
348
348
  text-decoration: none;
349
349
  }
350
350
 
@@ -374,31 +374,31 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
374
374
  border: none;
375
375
  pointer-events: auto;
376
376
 
377
- --ft-button-internal-line-height: max(calc(${tt.fontSize} + 2px), ${tt.iconSize});
378
- --ft-button-internal-color: ${tt.color};
379
- ${(0,F.setVariable)(St.size,tt.iconSize)};
380
- ${(0,F.setVariable)(w.color,tt.rippleColor)};
377
+ --ft-button-internal-line-height: max(calc(${ee.fontSize} + 2px), ${ee.iconSize});
378
+ --ft-button-internal-color: ${ee.color};
379
+ ${(0,F.setVariable)(Se.size,ee.iconSize)};
380
+ ${(0,F.setVariable)(w.color,ee.rippleColor)};
381
381
 
382
- border-radius: ${tt.borderRadius};
383
- padding: ${tt.verticalPadding} ${tt.horizontalPadding};
384
- background-color: ${tt.backgroundColor};
382
+ border-radius: ${ee.borderRadius};
383
+ padding: ${ee.verticalPadding} ${ee.horizontalPadding};
384
+ background-color: ${ee.backgroundColor};
385
385
  color: var(--ft-button-internal-color);
386
386
  -webkit-mask-image: radial-gradient(white, black);
387
387
  }
388
388
 
389
389
  .ft-button.ft-button--outlined {
390
390
  border: 1px solid var(--ft-button-internal-color);
391
- padding: calc(${tt.verticalPadding} - 1px) calc(${tt.horizontalPadding} - 1px);
391
+ padding: calc(${ee.verticalPadding} - 1px) calc(${ee.horizontalPadding} - 1px);
392
392
  }
393
393
 
394
394
  .ft-button.ft-button--dense {
395
- padding: ${Oe.verticalPadding} ${Oe.horizontalPadding};
396
- border-radius: ${Oe.borderRadius};
397
- gap: ${Oe.iconPadding};
395
+ padding: ${Ct.verticalPadding} ${Ct.horizontalPadding};
396
+ border-radius: ${Ct.borderRadius};
397
+ gap: ${Ct.iconPadding};
398
398
  }
399
399
 
400
400
  .ft-button.ft-button--dense.ft-button--outlined {
401
- padding: calc(${Oe.verticalPadding} - 1px) calc(${Oe.horizontalPadding} - 1px);
401
+ padding: calc(${Ct.verticalPadding} - 1px) calc(${Ct.horizontalPadding} - 1px);
402
402
  }
403
403
 
404
404
  .ft-button:not([disabled]):hover {
@@ -406,16 +406,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
406
406
  }
407
407
 
408
408
  .ft-button--round {
409
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${tt.verticalPadding});
409
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ee.verticalPadding});
410
410
  }
411
411
 
412
412
  .ft-button--round.ft-button--dense {
413
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Oe.verticalPadding});
413
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ct.verticalPadding});
414
414
  }
415
415
 
416
416
  .ft-button[disabled] {
417
417
  filter: grayscale(1);
418
- opacity: ${tt.opacityDisabled};
418
+ opacity: ${ee.opacityDisabled};
419
419
  }
420
420
 
421
421
  .ft-button.ft-button--primary {
@@ -434,13 +434,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
434
434
  white-space: nowrap;
435
435
  text-overflow: ellipsis;
436
436
  display: block;
437
- margin: 0 ${tt.iconPadding};
438
- ${(0,F.setVariable)(Ht.fontSize,"1em")};
439
- ${(0,F.setVariable)(Ht.lineHeight,"var(--ft-button-internal-line-height)")};
437
+ margin: 0 ${ee.iconPadding};
438
+ ${(0,F.setVariable)(ze.fontSize,"1em")};
439
+ ${(0,F.setVariable)(ze.lineHeight,"var(--ft-button-internal-line-height)")};
440
440
  }
441
441
 
442
442
  .ft-button--dense .ft-button--label {
443
- margin: 0 ${Oe.iconPadding};
443
+ margin: 0 ${Ct.iconPadding};
444
444
  }
445
445
 
446
446
  .ft-button--label[hidden] {
@@ -453,13 +453,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
453
453
  }
454
454
 
455
455
  .ft-button--label[hidden] + [part="icon"] {
456
- margin: 0 calc(${tt.horizontalPadding} * -1);
457
- padding: 0 ${tt.verticalPadding};
456
+ margin: 0 calc(${ee.horizontalPadding} * -1);
457
+ padding: 0 ${ee.verticalPadding};
458
458
  }
459
459
 
460
460
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
461
- margin: 0 calc(${Oe.horizontalPadding} * -1);
462
- padding: 0 ${Oe.verticalPadding};
461
+ margin: 0 calc(${Ct.horizontalPadding} * -1);
462
+ padding: 0 ${Ct.verticalPadding};
463
463
  }
464
464
 
465
465
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -467,10 +467,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
467
467
  }
468
468
 
469
469
  ft-loader {
470
- ${(0,F.setVariable)(ot.size,tt.iconSize)};
471
- ${(0,F.setVariable)(ot.color,"var(--ft-button-internal-color)")};
470
+ ${(0,F.setVariable)(oe.size,ee.iconSize)};
471
+ ${(0,F.setVariable)(oe.color,"var(--ft-button-internal-color)")};
472
472
  }
473
- `,F.noTextSelect];var lt=m(R());var ct={textColor:lt.FtCssVariableFactory.extend("--ft-switch-text-color","",lt.designSystemVariables.colorOnSurfaceHigh),backgroundColor:lt.FtCssVariableFactory.extend("--ft-switch-background-color","",lt.designSystemVariables.colorSurface),selectedTextColor:lt.FtCssVariableFactory.extend("--ft-switch-selected-text-color","",lt.designSystemVariables.colorPrimary),selectedBackgroundColor:lt.FtCssVariableFactory.extend("--ft-switch-selected-background-color","",lt.designSystemVariables.colorPrimary),borderColor:lt.FtCssVariableFactory.extend("--ft-switch-border-color","",lt.designSystemVariables.colorOutline),borderRadius:lt.FtCssVariableFactory.extend("--ft-switch-border-radius","",lt.designSystemVariables.borderRadiusL),fontSize:lt.FtCssVariableFactory.extend("--ft-switch-font-size","",Ht.fontSize),iconSize:lt.FtCssVariableFactory.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:lt.FtCssVariableFactory.extend("--ft-switch-text-color","",lt.designSystemVariables.colorOnSurfaceMedium),rippleColor:lt.FtCssVariableFactory.extend("--ft-switch-ripple-color","",lt.designSystemVariables.colorPrimary),outlineColor:lt.FtCssVariableFactory.extend("--ft-switch-outline-color","",lt.designSystemVariables.colorPrimary)};var Ce={feedbackInputMinWidth:J.FtCssVariableFactory.create("--ft-reader-feedback-input-min-width","","SIZE","300px"),ratedDateColor:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-color","",J.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-background-color","",J.designSystemVariables.colorPrimary),filledRatingColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-filled-rating-color","",J.designSystemVariables.colorPrimary),emptyRatingColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-empty-rating-color","",J.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:J.FtCssVariableFactory.external(Ve.fontSize,"Typography"),sectionTitleFontSize:J.FtCssVariableFactory.external(Ge.fontSize,"Typography"),starsBackgroundColor:J.FtCssVariableFactory.create("--ft-reader-feedback-stars-background-color","","COLOR",J.designSystemVariables.colorSurface)},Ts=Rs.css`
473
+ `,F.noTextSelect];var le=m(R());var ce={textColor:le.FtCssVariableFactory.extend("--ft-switch-text-color","",le.designSystemVariables.colorOnSurfaceHigh),backgroundColor:le.FtCssVariableFactory.extend("--ft-switch-background-color","",le.designSystemVariables.colorSurface),selectedTextColor:le.FtCssVariableFactory.extend("--ft-switch-selected-text-color","",le.designSystemVariables.colorPrimary),selectedBackgroundColor:le.FtCssVariableFactory.extend("--ft-switch-selected-background-color","",le.designSystemVariables.colorPrimary),borderColor:le.FtCssVariableFactory.extend("--ft-switch-border-color","",le.designSystemVariables.colorOutline),borderRadius:le.FtCssVariableFactory.extend("--ft-switch-border-radius","",le.designSystemVariables.borderRadiusL),fontSize:le.FtCssVariableFactory.extend("--ft-switch-font-size","",ze.fontSize),iconSize:le.FtCssVariableFactory.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:le.FtCssVariableFactory.extend("--ft-switch-text-color","",le.designSystemVariables.colorOnSurfaceMedium),rippleColor:le.FtCssVariableFactory.extend("--ft-switch-ripple-color","",le.designSystemVariables.colorPrimary),outlineColor:le.FtCssVariableFactory.extend("--ft-switch-outline-color","",le.designSystemVariables.colorPrimary)};var Ot={feedbackInputMinWidth:J.FtCssVariableFactory.create("--ft-reader-feedback-input-min-width","","SIZE","300px"),ratedDateColor:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-color","",J.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-background-color","",J.designSystemVariables.colorPrimary),filledRatingColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-filled-rating-color","",J.designSystemVariables.colorPrimary),emptyRatingColor:J.FtCssVariableFactory.extend("--ft-reader-feedback-empty-rating-color","",J.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:J.FtCssVariableFactory.external(Vt.fontSize,"Typography"),sectionTitleFontSize:J.FtCssVariableFactory.external(jt.fontSize,"Typography"),starsBackgroundColor:J.FtCssVariableFactory.create("--ft-reader-feedback-stars-background-color","","COLOR",J.designSystemVariables.colorSurface)},Ts=Rs.css`
474
474
  .ft-reader-feedback {
475
475
  box-sizing: border-box;
476
476
  display: flex;
@@ -483,7 +483,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
483
483
  flex-direction: row;
484
484
  align-items: center;
485
485
  margin-left: -6px;
486
- ${(0,J.setVariable)(tt.backgroundColor,Ce.starsBackgroundColor)}
486
+ ${(0,J.setVariable)(ee.backgroundColor,Ot.starsBackgroundColor)}
487
487
  }
488
488
 
489
489
  .ft-reader-feedback--rating, .ft-reader-feedback--feedback {
@@ -496,14 +496,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
496
496
  }
497
497
 
498
498
  .ft-reader-feedback--rating {
499
- ${(0,J.setVariable)(tt.color,Ce.emptyRatingColor)};
500
- ${(0,J.setVariable)(tt.rippleColor,Ce.filledRatingColor)};
501
- ${(0,J.setVariable)(ct.textColor,Ce.emptyRatingColor)};
502
- ${(0,J.setVariable)(ct.selectedTextColor,Ce.filledRatingColor)};
499
+ ${(0,J.setVariable)(ee.color,Ot.emptyRatingColor)};
500
+ ${(0,J.setVariable)(ee.rippleColor,Ot.filledRatingColor)};
501
+ ${(0,J.setVariable)(ce.textColor,Ot.emptyRatingColor)};
502
+ ${(0,J.setVariable)(ce.selectedTextColor,Ot.filledRatingColor)};
503
503
  }
504
504
 
505
505
  .ft-reader-feedback--rating .ft-reader-feedback--active {
506
- ${(0,J.setVariable)(tt.color,Ce.filledRatingColor)};
506
+ ${(0,J.setVariable)(ee.color,Ot.filledRatingColor)};
507
507
  }
508
508
 
509
509
  .ft-reader-feedback--feedback {
@@ -511,24 +511,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
511
511
  }
512
512
 
513
513
  .ft-reader-feedback--rating-date {
514
- color: ${Ce.ratedDateColor};
514
+ color: ${Ot.ratedDateColor};
515
515
  }
516
516
 
517
517
  .ft-reader-feedback--feedback ft-text-area {
518
- min-width: ${Ce.feedbackInputMinWidth};
518
+ min-width: ${Ot.feedbackInputMinWidth};
519
519
  }
520
520
 
521
521
  .ft-reader-feedback--send-feedback, .ft-reader-feedback--feedback-link {
522
- ${(0,J.setVariable)(tt.color,Ce.sendFeedbackColor)};
523
- ${(0,J.setVariable)(tt.backgroundColor,Ce.sendFeedbackBackgroundColor)};
522
+ ${(0,J.setVariable)(ee.color,Ot.sendFeedbackColor)};
523
+ ${(0,J.setVariable)(ee.backgroundColor,Ot.sendFeedbackBackgroundColor)};
524
524
  }
525
525
 
526
526
  [part="buttons-container"] {
527
527
  align-self: flex-end;
528
528
  }
529
- `;var pp=m(_s(),1);var Ns;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Ns||(Ns={}));var Ls;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Ls||(Ls={}));var Ps;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Ps||(Ps={}));var ks;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ks||(ks={}));var Ds;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Ds||(Ds={}));var $s;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})($s||($s={}));var Bs;(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"})(Bs||(Bs={}));var Ms;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Ms||(Ms={}));var Fs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Fs||(Fs={}));var Us;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Us||(Us={}));var Ws;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ws||(Ws={}));var vt;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(vt||(vt={}));var Hs;(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"})(Hs||(Hs={}));var zs;(function(e){e.ASC="ASC",e.DESC="DESC"})(zs||(zs={}));var js;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(js||(js={}));var Vs;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Vs||(Vs={}));var Gs;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Gs||(Gs={}));var Ks;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ks||(Ks={}));var Zs;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Zs||(Zs={}));var qs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(qs||(qs={}));var Ys;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Ys||(Ys={}));var Xs;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Xs||(Xs={}));var et;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(et||(et={}));var Qs;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Qs||(Qs={}));var Js;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Js||(Js={}));var tl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(tl||(tl={}));var dp={[et.PERSONAL_BOOK_SHARE_USER]:[et.PERSONAL_BOOK_USER],[et.HTML_EXPORT_USER]:[et.PERSONAL_BOOK_USER],[et.PDF_EXPORT_USER]:[et.PERSONAL_BOOK_USER],[et.KHUB_ADMIN]:[et.CONTENT_PUBLISHER],[et.ADMIN]:[et.KHUB_ADMIN,et.USERS_ADMIN,et.PORTAL_ADMIN],[et.GENERATIVE_AI_EXPORT_USER]:[et.GENERATIVE_AI_USER]};function el(e,t){return e===t||(dp[e]??[]).some(r=>el(r,t))}function Ne(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(i=>el(i,t))}var vl=m(R());var un=globalThis,Uo=un.trustedTypes,rl=Uo?Uo.createPolicy("lit-html",{createHTML:e=>e}):void 0,ll="$lit$",Ze=`lit$${Math.random().toFixed(9).slice(2)}$`,cl="?"+Ze,up=`<${cl}>`,yr=document,Wo=()=>yr.createComment(""),io=e=>e===null||typeof e!="object"&&typeof e!="function",fn=Array.isArray,fp=e=>fn(e)||typeof e?.[Symbol.iterator]=="function",an=`[
529
+ `;var pp=m(_s(),1);var Ns;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ns||(Ns={}));var Ls;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ls||(Ls={}));var Ps;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Ps||(Ps={}));var ks;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ks||(ks={}));var Ds;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ds||(Ds={}));var $s;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})($s||($s={}));var Bs;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Bs||(Bs={}));var Ms;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Ms||(Ms={}));var Fs;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Fs||(Fs={}));var Us;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Us||(Us={}));var Ws;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Ws||(Ws={}));var xe;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(xe||(xe={}));var zs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(zs||(zs={}));var Hs;(function(t){t.ASC="ASC",t.DESC="DESC"})(Hs||(Hs={}));var Gs;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Gs||(Gs={}));var Vs;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Vs||(Vs={}));var js;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(js||(js={}));var Ks;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ks||(Ks={}));var Zs;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Zs||(Zs={}));var qs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(qs||(qs={}));var Ys;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ys||(Ys={}));var Xs;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Xs||(Xs={}));var te;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(te||(te={}));var Qs;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Qs||(Qs={}));var Js;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Js||(Js={}));var el;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(el||(el={}));var dp={[te.PERSONAL_BOOK_SHARE_USER]:[te.PERSONAL_BOOK_USER],[te.HTML_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.PDF_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.KHUB_ADMIN]:[te.CONTENT_PUBLISHER],[te.ADMIN]:[te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN],[te.GENERATIVE_AI_EXPORT_USER]:[te.GENERATIVE_AI_USER]};function tl(t,e){return t===e||(dp[t]??[]).some(o=>tl(o,e))}function Nt(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>tl(i,e))}var xl=m(R());var un=globalThis,Uo=un.trustedTypes,rl=Uo?Uo.createPolicy("lit-html",{createHTML:t=>t}):void 0,ll="$lit$",Zt=`lit$${Math.random().toFixed(9).slice(2)}$`,cl="?"+Zt,up=`<${cl}>`,yr=document,Wo=()=>yr.createComment(""),io=t=>t===null||typeof t!="object"&&typeof t!="function",fn=Array.isArray,fp=t=>fn(t)||typeof t?.[Symbol.iterator]=="function",an=`[
530
530
  \f\r]`,oo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ol=/-->/g,il=/>/g,fr=RegExp(`>|${an}(?:([^\\s"'>=/]+)(${an}*=${an}*(?:[^
531
- \f\r"'\`<>=]|("|')|))|$)`,"g"),nl=/'/g,al=/"/g,dl=/^(?:script|style|textarea|title)$/i,hn=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),pl=hn(1),ul=hn(2),fl=hn(3),no=Symbol.for("lit-noChange"),xt=Symbol.for("lit-nothing"),sl=new WeakMap,hr=yr.createTreeWalker(yr,129);function hl(e,t){if(!fn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return rl!==void 0?rl.createHTML(t):t}var hp=(e,t)=>{let r=e.length-1,i=[],n,a=t===2?"<svg>":t===3?"<math>":"",s=oo;for(let c=0;c<r;c++){let u=e[c],p,h,y=-1,b=0;for(;b<u.length&&(s.lastIndex=b,h=s.exec(u),h!==null);)b=s.lastIndex,s===oo?h[1]==="!--"?s=ol:h[1]!==void 0?s=il:h[2]!==void 0?(dl.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=fr):h[3]!==void 0&&(s=fr):s===fr?h[0]===">"?(s=n??oo,y=-1):h[1]===void 0?y=-2:(y=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?fr:h[3]==='"'?al:nl):s===al||s===nl?s=fr:s===ol||s===il?s=oo:(s=fr,n=void 0);let v=s===fr&&e[c+1].startsWith("/>")?" ":"";a+=s===oo?u+up:y>=0?(i.push(p),u.slice(0,y)+ll+u.slice(y)+Ze+v):u+Ze+(y===-2?c:v)}return[hl(e,a+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},ao=class e{constructor({strings:t,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,c=t.length-1,u=this.parts,[p,h]=hp(t,r);if(this.el=e.createElement(p,i),hr.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(n=hr.nextNode())!==null&&u.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let y of n.getAttributeNames())if(y.endsWith(ll)){let b=h[s++],v=n.getAttribute(y).split(Ze),S=/([.?@])?(.*)/.exec(b);u.push({type:1,index:a,name:S[2],strings:v,ctor:S[1]==="."?ln:S[1]==="?"?cn:S[1]==="@"?dn:$r}),n.removeAttribute(y)}else y.startsWith(Ze)&&(u.push({type:6,index:a}),n.removeAttribute(y));if(dl.test(n.tagName)){let y=n.textContent.split(Ze),b=y.length-1;if(b>0){n.textContent=Uo?Uo.emptyScript:"";for(let v=0;v<b;v++)n.append(y[v],Wo()),hr.nextNode(),u.push({type:2,index:++a});n.append(y[b],Wo())}}}else if(n.nodeType===8)if(n.data===cl)u.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(Ze,y+1))!==-1;)u.push({type:7,index:a}),y+=Ze.length-1}a++}}static createElement(t,r){let i=yr.createElement("template");return i.innerHTML=t,i}};function Dr(e,t,r=e,i){if(t===no)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=io(t)?void 0:t._$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&&(t=Dr(e,n._$AS(e,t.values),n,i)),t}var sn=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,n=(t?.creationScope??yr).importNode(r,!0);hr.currentNode=n;let a=hr.nextNode(),s=0,c=0,u=i[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new Ho(a,a.nextSibling,this,t):u.type===1?p=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(p=new pn(a,this,t)),this._$AV.push(p),u=i[++c]}s!==u?.index&&(a=hr.nextNode(),s++)}return hr.currentNode=yr,n}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Ho=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,n){this.type=2,this._$AH=xt,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Dr(this,t,r),io(t)?t===xt||t==null||t===""?(this._$AH!==xt&&this._$AR(),this._$AH=xt):t!==this._$AH&&t!==no&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):fp(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==xt&&io(this._$AH)?this._$AA.nextSibling.data=t:this.T(yr.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=ao.createElement(hl(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new sn(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(t){let r=sl.get(t.strings);return r===void 0&&sl.set(t.strings,r=new ao(t)),r}k(t){fn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of t)n===r.length?r.push(i=new e(this.O(Wo()),this.O(Wo()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},$r=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,n,a){this.type=1,this._$AH=xt,this._$AN=void 0,this.element=t,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=xt}_$AI(t,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)t=Dr(this,t,r,0),s=!io(t)||t!==this._$AH&&t!==no,s&&(this._$AH=t);else{let c=t,u,p;for(t=a[0],u=0;u<a.length-1;u++)p=Dr(this,c[i+u],r,u),p===no&&(p=this._$AH[u]),s||=!io(p)||p!==this._$AH[u],p===xt?t=xt:t!==xt&&(t+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!n&&this.j(t)}j(t){t===xt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ln=class extends $r{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===xt?void 0:t}},cn=class extends $r{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==xt)}},dn=class extends $r{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=Dr(this,t,r,0)??xt)===no)return;let i=this._$AH,n=t===xt&&i!==xt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==xt&&(i===xt||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},pn=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Dr(this,t)}};var yp=un.litHtmlPolyfillSupport;yp?.(ao,Ho),(un.litHtmlVersions??=[]).push("3.3.0");var gl=Symbol.for(""),gp=e=>{if(e?.r===gl)return e?._$litStatic$},yn=e=>({_$litStatic$:e,r:gl});var yl=new Map,gn=e=>(t,...r)=>{let i=r.length,n,a,s=[],c=[],u,p=0,h=!1;for(;p<i;){for(u=t[p];p<i&&(a=r[p],(n=gp(a))!==void 0);)u+=n+t[++p],h=!0;p!==i&&c.push(a),s.push(u),p++}if(p===i&&s.push(t[i]),h){let y=s.join("$$lit$$");(t=yl.get(y))===void 0&&(s.raw=s,yl.set(y,t=s)),r=c}return e(t,...r)},mn=gn(pl),Rm=gn(ul),Tm=gn(fl);var bn=m(q()),bl=m(R());var qe;(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"})(qe||(qe={}));var ml=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ft=class extends bl.FtLitElement{constructor(){super(...arguments),this.variant=qe.body1}render(){return this.element?mn`
531
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),nl=/'/g,al=/"/g,dl=/^(?:script|style|textarea|title)$/i,hn=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),pl=hn(1),ul=hn(2),fl=hn(3),no=Symbol.for("lit-noChange"),ve=Symbol.for("lit-nothing"),sl=new WeakMap,hr=yr.createTreeWalker(yr,129);function hl(t,e){if(!fn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return rl!==void 0?rl.createHTML(e):e}var hp=(t,e)=>{let o=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=oo;for(let c=0;c<o;c++){let u=t[c],p,h,y=-1,b=0;for(;b<u.length&&(s.lastIndex=b,h=s.exec(u),h!==null);)b=s.lastIndex,s===oo?h[1]==="!--"?s=ol:h[1]!==void 0?s=il:h[2]!==void 0?(dl.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=fr):h[3]!==void 0&&(s=fr):s===fr?h[0]===">"?(s=n??oo,y=-1):h[1]===void 0?y=-2:(y=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?fr:h[3]==='"'?al:nl):s===al||s===nl?s=fr:s===ol||s===il?s=oo:(s=fr,n=void 0);let x=s===fr&&t[c+1].startsWith("/>")?" ":"";a+=s===oo?u+up:y>=0?(i.push(p),u.slice(0,y)+ll+u.slice(y)+Zt+x):u+Zt+(y===-2?c:x)}return[hl(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},ao=class t{constructor({strings:e,_$litType$:o},i){let n;this.parts=[];let a=0,s=0,c=e.length-1,u=this.parts,[p,h]=hp(e,o);if(this.el=t.createElement(p,i),hr.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(n=hr.nextNode())!==null&&u.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let y of n.getAttributeNames())if(y.endsWith(ll)){let b=h[s++],x=n.getAttribute(y).split(Zt),S=/([.?@])?(.*)/.exec(b);u.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?ln:S[1]==="?"?cn:S[1]==="@"?dn:$r}),n.removeAttribute(y)}else y.startsWith(Zt)&&(u.push({type:6,index:a}),n.removeAttribute(y));if(dl.test(n.tagName)){let y=n.textContent.split(Zt),b=y.length-1;if(b>0){n.textContent=Uo?Uo.emptyScript:"";for(let x=0;x<b;x++)n.append(y[x],Wo()),hr.nextNode(),u.push({type:2,index:++a});n.append(y[b],Wo())}}}else if(n.nodeType===8)if(n.data===cl)u.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(Zt,y+1))!==-1;)u.push({type:7,index:a}),y+=Zt.length-1}a++}}static createElement(e,o){let i=yr.createElement("template");return i.innerHTML=e,i}};function Dr(t,e,o=t,i){if(e===no)return e;let n=i!==void 0?o._$Co?.[i]:o._$Cl,a=io(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,o,i)),i!==void 0?(o._$Co??=[])[i]=n:o._$Cl=n),n!==void 0&&(e=Dr(t,n._$AS(t,e.values),n,i)),e}var sn=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:i}=this._$AD,n=(e?.creationScope??yr).importNode(o,!0);hr.currentNode=n;let a=hr.nextNode(),s=0,c=0,u=i[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new zo(a,a.nextSibling,this,e):u.type===1?p=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(p=new pn(a,this,e)),this._$AV.push(p),u=i[++c]}s!==u?.index&&(a=hr.nextNode(),s++)}return hr.currentNode=yr,n}p(e){let o=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,o),o+=i.strings.length-2):i._$AI(e[o])),o++}},zo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,i,n){this.type=2,this._$AH=ve,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Dr(this,e,o),io(e)?e===ve||e==null||e===""?(this._$AH!==ve&&this._$AR(),this._$AH=ve):e!==this._$AH&&e!==no&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):fp(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==ve&&io(this._$AH)?this._$AA.nextSibling.data=e:this.T(yr.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=ao.createElement(hl(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(o);else{let a=new sn(n,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=sl.get(e.strings);return o===void 0&&sl.set(e.strings,o=new ao(e)),o}k(e){fn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,i,n=0;for(let a of e)n===o.length?o.push(i=new t(this.O(Wo()),this.O(Wo()),this,this.options)):i=o[n],i._$AI(a),n++;n<o.length&&(this._$AR(i&&i._$AB.nextSibling,n),o.length=n)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},$r=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,i,n,a){this.type=1,this._$AH=ve,this._$AN=void 0,this.element=e,this.name=o,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=ve}_$AI(e,o=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Dr(this,e,o,0),s=!io(e)||e!==this._$AH&&e!==no,s&&(this._$AH=e);else{let c=e,u,p;for(e=a[0],u=0;u<a.length-1;u++)p=Dr(this,c[i+u],o,u),p===no&&(p=this._$AH[u]),s||=!io(p)||p!==this._$AH[u],p===ve?e=ve:e!==ve&&(e+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!n&&this.j(e)}j(e){e===ve?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ln=class extends $r{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===ve?void 0:e}},cn=class extends $r{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==ve)}},dn=class extends $r{constructor(e,o,i,n,a){super(e,o,i,n,a),this.type=5}_$AI(e,o=this){if((e=Dr(this,e,o,0)??ve)===no)return;let i=this._$AH,n=e===ve&&i!==ve||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==ve&&(i===ve||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},pn=class{constructor(e,o,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Dr(this,e)}};var yp=un.litHtmlPolyfillSupport;yp?.(ao,zo),(un.litHtmlVersions??=[]).push("3.3.0");var gl=Symbol.for(""),gp=t=>{if(t?.r===gl)return t?._$litStatic$},yn=t=>({_$litStatic$:t,r:gl});var yl=new Map,gn=t=>(e,...o)=>{let i=o.length,n,a,s=[],c=[],u,p=0,h=!1;for(;p<i;){for(u=e[p];p<i&&(a=o[p],(n=gp(a))!==void 0);)u+=n+e[++p],h=!0;p!==i&&c.push(a),s.push(u),p++}if(p===i&&s.push(e[i]),h){let y=s.join("$$lit$$");(e=yl.get(y))===void 0&&(s.raw=s,yl.set(y,e=s)),o=c}return t(e,...o)},mn=gn(pl),Pm=gn(ul),km=gn(fl);var bn=m(q()),bl=m(R());var qt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(qt||(qt={}));var ml=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},fe=class extends bl.FtLitElement{constructor(){super(...arguments),this.variant=qt.body1}render(){return this.element?mn`
532
532
  <${yn(this.element)}
533
533
  part="text"
534
534
  class="ft-typography ft-typography--${this.variant}">
@@ -536,18 +536,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
536
536
  </${yn(this.element)}>
537
537
  `:mn`
538
538
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
539
- `}};ft.styles=[cs,ds,ps,us,Pr,fs,Bo,hs,ys,gs,ms,...bs];ml([(0,bn.property)()],ft.prototype,"element",void 0);ml([(0,bn.property)()],ft.prototype,"variant",void 0);(0,vl.customElement)("ft-typography")(ft);var Pn=m(R());var qo=m(M()),Ee=m(q()),sc=m(Le()),Be=m(R());var Hr=m(M()),Yt=m(q()),zr=m(R());var Cl=m(R());var Sl=m(M()),_t=m(q()),Ol=m(Le()),so=m(R());var Kt=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},K=class extends so.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new so.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new so.Debouncer(10),this.moveRipple=t=>{var r,i;let{x:n,y:a}=this.getCoordinates(t),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Sl.html`
539
+ `}};fe.styles=[cs,ds,ps,us,Pr,fs,Bo,hs,ys,gs,ms,...bs];ml([(0,bn.property)()],fe.prototype,"element",void 0);ml([(0,bn.property)()],fe.prototype,"variant",void 0);(0,xl.customElement)("ft-typography")(fe);var Pn=m(R());var qo=m(M()),Et=m(q()),sc=m(Lt()),Bt=m(R());var zr=m(M()),Ye=m(q()),Hr=m(R());var Ol=m(R());var Sl=m(M()),_e=m(q()),Cl=m(Lt()),so=m(R());var Ke=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},K=class extends so.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new so.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new so.Debouncer(10),this.moveRipple=e=>{var o,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Sl.html`
540
540
  <style>
541
541
  .ft-ripple .ft-ripple--effect {
542
542
  left: ${this.originX}px;
543
543
  top: ${this.originY}px;
544
544
  }
545
545
  </style>
546
- <div class="${(0,Ol.classMap)(t)}">
546
+ <div class="${(0,Cl.classMap)(e)}">
547
547
  <div class="ft-ripple--background"></div>
548
548
  <div class="ft-ripple--effect"></div>
549
549
  </div>
550
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,i;super.update(t),t.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 t,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>u=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",i,s),t.addEventListener("touchstart",n,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",i,s),t.removeEventListener("touchstart",n,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,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(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.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()}};K.elementDefinitions={};K.styles=Da;Kt([(0,_t.property)({type:Boolean})],K.prototype,"primary",void 0);Kt([(0,_t.property)({type:Boolean})],K.prototype,"secondary",void 0);Kt([(0,_t.property)({type:Boolean})],K.prototype,"unbounded",void 0);Kt([(0,_t.property)({type:Boolean})],K.prototype,"activated",void 0);Kt([(0,_t.property)({type:Boolean})],K.prototype,"selected",void 0);Kt([(0,_t.property)({type:Boolean})],K.prototype,"disabled",void 0);Kt([(0,_t.state)()],K.prototype,"hovered",void 0);Kt([(0,_t.state)()],K.prototype,"focused",void 0);Kt([(0,_t.state)()],K.prototype,"pressed",void 0);Kt([(0,_t.state)()],K.prototype,"rippling",void 0);Kt([(0,_t.state)()],K.prototype,"originX",void 0);Kt([(0,_t.state)()],K.prototype,"originY",void 0);Kt([(0,_t.query)(".ft-ripple")],K.prototype,"ripple",void 0);Kt([(0,_t.query)(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);(0,Cl.customElement)("ft-ripple")(K);var ac=m(Le());var Ql=m(R());var Xl=m(M()),Ot=m(q()),fo=m(R());var wl=m(M()),Pe=m(R()),Br={distance:Pe.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Pe.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Pe.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Pe.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Pe.FtCssVariableFactory.external(Pe.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Pe.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},El=wl.css`
550
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 e,o;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((o=this.target)!==null&&o!==void 0?o:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>u=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},i=o("mouseup","contextmenu"),n=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,i=e,n,a;return o.x!=null?{x:n,y:a}=o:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=Da;Ke([(0,_e.property)({type:Boolean})],K.prototype,"primary",void 0);Ke([(0,_e.property)({type:Boolean})],K.prototype,"secondary",void 0);Ke([(0,_e.property)({type:Boolean})],K.prototype,"unbounded",void 0);Ke([(0,_e.property)({type:Boolean})],K.prototype,"activated",void 0);Ke([(0,_e.property)({type:Boolean})],K.prototype,"selected",void 0);Ke([(0,_e.property)({type:Boolean})],K.prototype,"disabled",void 0);Ke([(0,_e.state)()],K.prototype,"hovered",void 0);Ke([(0,_e.state)()],K.prototype,"focused",void 0);Ke([(0,_e.state)()],K.prototype,"pressed",void 0);Ke([(0,_e.state)()],K.prototype,"rippling",void 0);Ke([(0,_e.state)()],K.prototype,"originX",void 0);Ke([(0,_e.state)()],K.prototype,"originY",void 0);Ke([(0,_e.query)(".ft-ripple")],K.prototype,"ripple",void 0);Ke([(0,_e.query)(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);(0,Ol.customElement)("ft-ripple")(K);var ac=m(Lt());var Ql=m(R());var Xl=m(M()),Ce=m(q()),fo=m(R());var wl=m(M()),Pt=m(R()),Br={distance:Pt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Pt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Pt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Pt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Pt.FtCssVariableFactory.external(Pt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Pt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},El=wl.css`
551
551
  .ft-tooltip--container {
552
552
  display: block;
553
553
  }
@@ -576,7 +576,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
576
576
  position: relative;
577
577
  word-break: break-word;
578
578
  }
579
- `;var Rl=["top","right","bottom","left"],Al=["start","end"],xn=Rl.reduce((e,t)=>e.concat(t,t+"-"+Al[0],t+"-"+Al[1]),[]),Tl=Math.min,Il=Math.max;var mp={left:"right",right:"left",bottom:"top",top:"bottom"},bp={start:"end",end:"start"};function Sn(e,t,r){return Il(e,Tl(t,r))}function zo(e,t){return typeof e=="function"?e(t):e}function Mr(e){return e.split("-")[0]}function Ye(e){return e.split("-")[1]}function On(e){return e==="x"?"y":"x"}function Cn(e){return e==="y"?"height":"width"}function jo(e){return["top","bottom"].includes(Mr(e))?"y":"x"}function wn(e){return On(jo(e))}function _l(e,t,r){r===void 0&&(r=!1);let i=Ye(e),n=wn(e),a=Cn(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=vn(s)),[s,vn(s)]}function Nl(e){return e.replace(/start|end/g,t=>bp[t])}function vn(e){return e.replace(/left|right|bottom|top/g,t=>mp[t])}function vp(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ll(e){return typeof e!="number"?vp(e):{top:e,right:e,bottom:e,left:e}}function gr(e){let{x:t,y:r,width:i,height:n}=e;return{width:i,height:n,top:r,left:t,right:t+i,bottom:r+n,x:t,y:r}}function Pl(e,t,r){let{reference:i,floating:n}=e,a=jo(t),s=wn(t),c=Cn(s),u=Mr(t),p=a==="y",h=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,b=i[c]/2-n[c]/2,v;switch(u){case"top":v={x:h,y:i.y-n.height};break;case"bottom":v={x:h,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y};break;case"left":v={x:i.x-n.width,y};break;default:v={x:i.x,y:i.y}}switch(Ye(t)){case"start":v[s]-=b*(r&&p?-1:1);break;case"end":v[s]+=b*(r&&p?-1:1);break}return v}var kl=async(e,t,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:n}),{x:h,y}=Pl(p,i,u),b=i,v={},S=0;for(let O=0;O<c.length;O++){let{name:N,fn:I}=c[O],{x:_,y:$,data:H,reset:z}=await I({x:h,y,initialPlacement:i,placement:b,strategy:n,middlewareData:v,rects:p,platform:s,elements:{reference:e,floating:t}});h=_??h,y=$??y,v={...v,[N]:{...v[N],...H}},z&&S<=50&&(S++,typeof z=="object"&&(z.placement&&(b=z.placement),z.rects&&(p=z.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:n}):z.rects),{x:h,y}=Pl(p,b,u)),O=-1)}return{x:h,y,placement:b,strategy:n,middlewareData:v}};async function En(e,t){var r;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:b=!1,padding:v=0}=zo(t,e),S=Ll(v),N=c[b?y==="floating"?"reference":"floating":y],I=gr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:u})),_=y==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),H=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},z=gr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:_,offsetParent:$,strategy:u}):_);return{top:(I.top-z.top+S.top)/H.y,bottom:(z.bottom-I.bottom+S.bottom)/H.y,left:(I.left-z.left+S.left)/H.x,right:(z.right-I.right+S.right)/H.x}}function xp(e,t,r){return(e?[...r.filter(n=>Ye(n)===e),...r.filter(n=>Ye(n)!==e)]:r.filter(n=>Mr(n)===n)).filter(n=>e?Ye(n)===e||(t?Nl(n)!==n:!1):!0)}var An=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,i,n;let{rects:a,middlewareData:s,placement:c,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:y,allowedPlacements:b=xn,autoAlignment:v=!0,...S}=zo(e,t),O=y!==void 0||b===xn?xp(y||null,v,b):b,N=await En(t,S),I=((r=s.autoPlacement)==null?void 0:r.index)||0,_=O[I];if(_==null)return{};let $=_l(_,a,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(c!==_)return{reset:{placement:O[0]}};let H=[N[Mr(_)],N[$[0]],N[$[1]]],z=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:_,overflows:H}],Gt=O[I+1];if(Gt)return{data:{index:I+1,overflows:z},reset:{placement:Gt}};let xe=z.map(Tt=>{let g=Ye(Tt.placement);return[Tt.placement,g&&h?Tt.overflows.slice(0,2).reduce((x,P)=>x+P,0):Tt.overflows[0],Tt.overflows]}).sort((Tt,g)=>Tt[1]-g[1]),Se=((n=xe.filter(Tt=>Tt[2].slice(0,Ye(Tt[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||xe[0][0];return Se!==c?{data:{index:I+1,overflows:z},reset:{placement:Se}}:{}}}};var Rn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:I,y:_}=N;return{x:I,y:_}}},...u}=zo(e,t),p={x:r,y:i},h=await En(t,u),y=jo(Mr(n)),b=On(y),v=p[b],S=p[y];if(a){let N=b==="y"?"top":"left",I=b==="y"?"bottom":"right",_=v+h[N],$=v-h[I];v=Sn(_,v,$)}if(s){let N=y==="y"?"top":"left",I=y==="y"?"bottom":"right",_=S+h[N],$=S-h[I];S=Sn(_,S,$)}let O=c.fn({...t,[b]:v,[y]:S});return{...O,data:{x:O.x-r,y:O.y-i,enabled:{[b]:a,[y]:s}}}}}};var Tn=Math.min,Fr=Math.max,lo=Math.round;var ke=e=>({x:e,y:e});function De(e){return $l(e)?(e.nodeName||"").toLowerCase():"#document"}function Zt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $e(e){var t;return(t=($l(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $l(e){return e instanceof Node||e instanceof Zt(e).Node}function we(e){return e instanceof Element||e instanceof Zt(e).Element}function fe(e){return e instanceof HTMLElement||e instanceof Zt(e).HTMLElement}function Dl(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Zt(e).ShadowRoot}function Ur(e){let{overflow:t,overflowX:r,overflowY:i,display:n}=te(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function Bl(e){return["table","td","th"].includes(De(e))}function Go(e){let t=Ko(),r=te(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(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 Ml(e){let t=mr(e);for(;fe(t)&&!co(t);){if(Go(t))return t;t=mr(t)}return null}function Ko(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function co(e){return["html","body","#document"].includes(De(e))}function te(e){return Zt(e).getComputedStyle(e)}function po(e){return we(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mr(e){if(De(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Dl(e)&&e.host||$e(e);return Dl(t)?t.host:t}function Fl(e){let t=mr(e);return co(t)?e.ownerDocument?e.ownerDocument.body:e.body:fe(t)&&Ur(t)?t:Fl(t)}function Vo(e,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=Fl(e),a=n===((i=e.ownerDocument)==null?void 0:i.body),s=Zt(n);return a?t.concat(s,s.visualViewport||[],Ur(n)?n:[],s.frameElement&&r?Vo(s.frameElement):[]):t.concat(n,Vo(n,[],r))}function Hl(e){let t=te(e),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=fe(e),a=n?e.offsetWidth:r,s=n?e.offsetHeight:i,c=lo(r)!==a||lo(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function zl(e){return we(e)?e:e.contextElement}function Wr(e){let t=zl(e);if(!fe(t))return ke(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=Hl(t),s=(a?lo(r.width):r.width)/i,c=(a?lo(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Cp=ke(0);function jl(e){let t=Zt(e);return!Ko()||!t.visualViewport?Cp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wp(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Zt(e)?!1:t}function uo(e,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=e.getBoundingClientRect(),a=zl(e),s=ke(1);t&&(i?we(i)&&(s=Wr(i)):s=Wr(e));let c=wp(a,r,i)?jl(a):ke(0),u=(n.left+c.x)/s.x,p=(n.top+c.y)/s.y,h=n.width/s.x,y=n.height/s.y;if(a){let b=Zt(a),v=i&&we(i)?Zt(i):i,S=b.frameElement;for(;S&&i&&v!==b;){let O=Wr(S),N=S.getBoundingClientRect(),I=te(S),_=N.left+(S.clientLeft+parseFloat(I.paddingLeft))*O.x,$=N.top+(S.clientTop+parseFloat(I.paddingTop))*O.y;u*=O.x,p*=O.y,h*=O.x,y*=O.y,u+=_,p+=$,S=Zt(S).frameElement}}return gr({width:h,height:y,x:u,y:p})}function Ep(e){let{rect:t,offsetParent:r,strategy:i}=e,n=fe(r),a=$e(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},c=ke(1),u=ke(0);if((n||!n&&i!=="fixed")&&((De(r)!=="body"||Ur(a))&&(s=po(r)),fe(r))){let p=uo(r);c=Wr(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+u.x,y:t.y*c.y-s.scrollTop*c.y+u.y}}function Ap(e){return Array.from(e.getClientRects())}function Vl(e){return uo($e(e)).left+po(e).scrollLeft}function Rp(e){let t=$e(e),r=po(e),i=e.ownerDocument.body,n=Fr(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=Fr(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Vl(e),c=-r.scrollTop;return te(i).direction==="rtl"&&(s+=Fr(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function Tp(e,t){let r=Zt(e),i=$e(e),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,u=0;if(n){a=n.width,s=n.height;let p=Ko();(!p||p&&t==="fixed")&&(c=n.offsetLeft,u=n.offsetTop)}return{width:a,height:s,x:c,y:u}}function Ip(e,t){let r=uo(e,!0,t==="fixed"),i=r.top+e.clientTop,n=r.left+e.clientLeft,a=fe(e)?Wr(e):ke(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,u=n*a.x,p=i*a.y;return{width:s,height:c,x:u,y:p}}function Ul(e,t,r){let i;if(t==="viewport")i=Tp(e,r);else if(t==="document")i=Rp($e(e));else if(we(t))i=Ip(t,r);else{let n=jl(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return gr(i)}function Gl(e,t){let r=mr(e);return r===t||!we(r)||co(r)?!1:te(r).position==="fixed"||Gl(r,t)}function _p(e,t){let r=t.get(e);if(r)return r;let i=Vo(e,[],!1).filter(c=>we(c)&&De(c)!=="body"),n=null,a=te(e).position==="fixed",s=a?mr(e):e;for(;we(s)&&!co(s);){let c=te(s),u=Go(s);!u&&c.position==="fixed"&&(n=null),(a?!u&&!n:!u&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ur(s)&&!u&&Gl(e,s))?i=i.filter(h=>h!==s):n=c,s=mr(s)}return t.set(e,i),i}function Np(e){let{element:t,boundary:r,rootBoundary:i,strategy:n}=e,s=[...r==="clippingAncestors"?_p(t,this._c):[].concat(r),i],c=s[0],u=s.reduce((p,h)=>{let y=Ul(t,h,n);return p.top=Fr(y.top,p.top),p.right=Tn(y.right,p.right),p.bottom=Tn(y.bottom,p.bottom),p.left=Fr(y.left,p.left),p},Ul(t,c,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Lp(e){return Hl(e)}function Pp(e,t,r){let i=fe(t),n=$e(t),a=r==="fixed",s=uo(e,!0,a,t),c={scrollLeft:0,scrollTop:0},u=ke(0);if(i||!i&&!a)if((De(t)!=="body"||Ur(n))&&(c=po(t)),i){let p=uo(t,!0,a,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else n&&(u.x=Vl(n));return{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Wl(e,t){return!fe(e)||te(e).position==="fixed"?null:t?t(e):e.offsetParent}function Kl(e,t){let r=Zt(e);if(!fe(e))return r;let i=Wl(e,t);for(;i&&Bl(i)&&te(i).position==="static";)i=Wl(i,t);return i&&(De(i)==="html"||De(i)==="body"&&te(i).position==="static"&&!Go(i))?r:i||Ml(e)||r}var kp=async function(e){let{reference:t,floating:r,strategy:i}=e,n=this.getOffsetParent||Kl,a=this.getDimensions;return{reference:Pp(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Dp(e){return te(e).direction==="rtl"}var Zo={convertOffsetParentRelativeRectToViewportRelativeRect:Ep,getDocumentElement:$e,getClippingRect:Np,getOffsetParent:Kl,getElementRects:kp,getClientRects:Ap,getDimensions:Lp,getScale:Wr,isElement:we,isRTL:Dp};var Zl=(e,t,r)=>{let i=new Map,n={platform:Zo,...r},a={...n.platform,_c:i};return kl(e,t,{...n,platform:a})};function ql(e){return $p(e)}function In(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function $p(e){for(let t=e;t;t=In(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=In(e);t;t=In(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Yl(e,t,r){return Zl(e,t,{platform:{...Zo,getOffsetParent:i=>Zo.getOffsetParent(i,ql)},middleware:[Rn({crossAxis:!0}),An({allowedPlacements:[r]})]})}var qt=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},it=class extends fo.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 fo.Debouncer,this.revealDebouncer=new fo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Xl.html`
579
+ `;var Rl=["top","right","bottom","left"],Al=["start","end"],vn=Rl.reduce((t,e)=>t.concat(e,e+"-"+Al[0],e+"-"+Al[1]),[]),Tl=Math.min,Il=Math.max;var mp={left:"right",right:"left",bottom:"top",top:"bottom"},bp={start:"end",end:"start"};function Sn(t,e,o){return Il(t,Tl(e,o))}function Ho(t,e){return typeof t=="function"?t(e):t}function Mr(t){return t.split("-")[0]}function Yt(t){return t.split("-")[1]}function Cn(t){return t==="x"?"y":"x"}function On(t){return t==="y"?"height":"width"}function Go(t){return["top","bottom"].includes(Mr(t))?"y":"x"}function wn(t){return Cn(Go(t))}function _l(t,e,o){o===void 0&&(o=!1);let i=Yt(t),n=wn(t),a=On(n),s=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=xn(s)),[s,xn(s)]}function Nl(t){return t.replace(/start|end/g,e=>bp[e])}function xn(t){return t.replace(/left|right|bottom|top/g,e=>mp[e])}function xp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ll(t){return typeof t!="number"?xp(t):{top:t,right:t,bottom:t,left:t}}function gr(t){let{x:e,y:o,width:i,height:n}=t;return{width:i,height:n,top:o,left:e,right:e+i,bottom:o+n,x:e,y:o}}function Pl(t,e,o){let{reference:i,floating:n}=t,a=Go(e),s=wn(e),c=On(s),u=Mr(e),p=a==="y",h=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,b=i[c]/2-n[c]/2,x;switch(u){case"top":x={x:h,y:i.y-n.height};break;case"bottom":x={x:h,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y};break;case"left":x={x:i.x-n.width,y};break;default:x={x:i.x,y:i.y}}switch(Yt(e)){case"start":x[s]-=b*(o&&p?-1:1);break;case"end":x[s]+=b*(o&&p?-1:1);break}return x}var kl=async(t,e,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y}=Pl(p,i,u),b=i,x={},S=0;for(let C=0;C<c.length;C++){let{name:N,fn:I}=c[C],{x:_,y:$,data:z,reset:H}=await I({x:h,y,initialPlacement:i,placement:b,strategy:n,middlewareData:x,rects:p,platform:s,elements:{reference:t,floating:e}});h=_??h,y=$??y,x={...x,[N]:{...x[N],...z}},H&&S<=50&&(S++,typeof H=="object"&&(H.placement&&(b=H.placement),H.rects&&(p=H.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):H.rects),{x:h,y}=Pl(p,b,u)),C=-1)}return{x:h,y,placement:b,strategy:n,middlewareData:x}};async function En(t,e){var o;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:u}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:b=!1,padding:x=0}=Ho(e,t),S=Ll(x),N=c[b?y==="floating"?"reference":"floating":y],I=gr(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:u})),_=y==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),z=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},H=gr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:_,offsetParent:$,strategy:u}):_);return{top:(I.top-H.top+S.top)/z.y,bottom:(H.bottom-I.bottom+S.bottom)/z.y,left:(I.left-H.left+S.left)/z.x,right:(H.right-I.right+S.right)/z.x}}function vp(t,e,o){return(t?[...o.filter(n=>Yt(n)===t),...o.filter(n=>Yt(n)!==t)]:o.filter(n=>Mr(n)===n)).filter(n=>t?Yt(n)===t||(e?Nl(n)!==n:!1):!0)}var An=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,n;let{rects:a,middlewareData:s,placement:c,platform:u,elements:p}=e,{crossAxis:h=!1,alignment:y,allowedPlacements:b=vn,autoAlignment:x=!0,...S}=Ho(t,e),C=y!==void 0||b===vn?vp(y||null,x,b):b,N=await En(e,S),I=((o=s.autoPlacement)==null?void 0:o.index)||0,_=C[I];if(_==null)return{};let $=_l(_,a,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(c!==_)return{reset:{placement:C[0]}};let z=[N[Mr(_)],N[$[0]],N[$[1]]],H=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:_,overflows:z}],je=C[I+1];if(je)return{data:{index:I+1,overflows:H},reset:{placement:je}};let vt=H.map(Te=>{let g=Yt(Te.placement);return[Te.placement,g&&h?Te.overflows.slice(0,2).reduce((v,P)=>v+P,0):Te.overflows[0],Te.overflows]}).sort((Te,g)=>Te[1]-g[1]),St=((n=vt.filter(Te=>Te[2].slice(0,Yt(Te[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||vt[0][0];return St!==c?{data:{index:I+1,overflows:H},reset:{placement:St}}:{}}}};var Rn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:I,y:_}=N;return{x:I,y:_}}},...u}=Ho(t,e),p={x:o,y:i},h=await En(e,u),y=Go(Mr(n)),b=Cn(y),x=p[b],S=p[y];if(a){let N=b==="y"?"top":"left",I=b==="y"?"bottom":"right",_=x+h[N],$=x-h[I];x=Sn(_,x,$)}if(s){let N=y==="y"?"top":"left",I=y==="y"?"bottom":"right",_=S+h[N],$=S-h[I];S=Sn(_,S,$)}let C=c.fn({...e,[b]:x,[y]:S});return{...C,data:{x:C.x-o,y:C.y-i,enabled:{[b]:a,[y]:s}}}}}};var Tn=Math.min,Fr=Math.max,lo=Math.round;var kt=t=>({x:t,y:t});function Dt(t){return $l(t)?(t.nodeName||"").toLowerCase():"#document"}function Ze(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function $t(t){var e;return(e=($l(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $l(t){return t instanceof Node||t instanceof Ze(t).Node}function wt(t){return t instanceof Element||t instanceof Ze(t).Element}function ft(t){return t instanceof HTMLElement||t instanceof Ze(t).HTMLElement}function Dl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ze(t).ShadowRoot}function Ur(t){let{overflow:e,overflowX:o,overflowY:i,display:n}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(n)}function Bl(t){return["table","td","th"].includes(Dt(t))}function jo(t){let e=Ko(),o=et(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function Ml(t){let e=mr(t);for(;ft(e)&&!co(e);){if(jo(e))return e;e=mr(e)}return null}function Ko(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function co(t){return["html","body","#document"].includes(Dt(t))}function et(t){return Ze(t).getComputedStyle(t)}function po(t){return wt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function mr(t){if(Dt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Dl(t)&&t.host||$t(t);return Dl(e)?e.host:e}function Fl(t){let e=mr(t);return co(e)?t.ownerDocument?t.ownerDocument.body:t.body:ft(e)&&Ur(e)?e:Fl(e)}function Vo(t,e,o){var i;e===void 0&&(e=[]),o===void 0&&(o=!0);let n=Fl(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=Ze(n);return a?e.concat(s,s.visualViewport||[],Ur(n)?n:[],s.frameElement&&o?Vo(s.frameElement):[]):e.concat(n,Vo(n,[],o))}function zl(t){let e=et(t),o=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ft(t),a=n?t.offsetWidth:o,s=n?t.offsetHeight:i,c=lo(o)!==a||lo(i)!==s;return c&&(o=a,i=s),{width:o,height:i,$:c}}function Hl(t){return wt(t)?t:t.contextElement}function Wr(t){let e=Hl(t);if(!ft(e))return kt(1);let o=e.getBoundingClientRect(),{width:i,height:n,$:a}=zl(e),s=(a?lo(o.width):o.width)/i,c=(a?lo(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Op=kt(0);function Gl(t){let e=Ze(t);return!Ko()||!e.visualViewport?Op:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Ze(t)?!1:e}function uo(t,e,o,i){e===void 0&&(e=!1),o===void 0&&(o=!1);let n=t.getBoundingClientRect(),a=Hl(t),s=kt(1);e&&(i?wt(i)&&(s=Wr(i)):s=Wr(t));let c=wp(a,o,i)?Gl(a):kt(0),u=(n.left+c.x)/s.x,p=(n.top+c.y)/s.y,h=n.width/s.x,y=n.height/s.y;if(a){let b=Ze(a),x=i&&wt(i)?Ze(i):i,S=b.frameElement;for(;S&&i&&x!==b;){let C=Wr(S),N=S.getBoundingClientRect(),I=et(S),_=N.left+(S.clientLeft+parseFloat(I.paddingLeft))*C.x,$=N.top+(S.clientTop+parseFloat(I.paddingTop))*C.y;u*=C.x,p*=C.y,h*=C.x,y*=C.y,u+=_,p+=$,S=Ze(S).frameElement}}return gr({width:h,height:y,x:u,y:p})}function Ep(t){let{rect:e,offsetParent:o,strategy:i}=t,n=ft(o),a=$t(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=kt(1),u=kt(0);if((n||!n&&i!=="fixed")&&((Dt(o)!=="body"||Ur(a))&&(s=po(o)),ft(o))){let p=uo(o);c=Wr(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+u.x,y:e.y*c.y-s.scrollTop*c.y+u.y}}function Ap(t){return Array.from(t.getClientRects())}function Vl(t){return uo($t(t)).left+po(t).scrollLeft}function Rp(t){let e=$t(t),o=po(t),i=t.ownerDocument.body,n=Fr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Fr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-o.scrollLeft+Vl(t),c=-o.scrollTop;return et(i).direction==="rtl"&&(s+=Fr(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function Tp(t,e){let o=Ze(t),i=$t(t),n=o.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,u=0;if(n){a=n.width,s=n.height;let p=Ko();(!p||p&&e==="fixed")&&(c=n.offsetLeft,u=n.offsetTop)}return{width:a,height:s,x:c,y:u}}function Ip(t,e){let o=uo(t,!0,e==="fixed"),i=o.top+t.clientTop,n=o.left+t.clientLeft,a=ft(t)?Wr(t):kt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,u=n*a.x,p=i*a.y;return{width:s,height:c,x:u,y:p}}function Ul(t,e,o){let i;if(e==="viewport")i=Tp(t,o);else if(e==="document")i=Rp($t(t));else if(wt(e))i=Ip(e,o);else{let n=Gl(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return gr(i)}function jl(t,e){let o=mr(t);return o===e||!wt(o)||co(o)?!1:et(o).position==="fixed"||jl(o,e)}function _p(t,e){let o=e.get(t);if(o)return o;let i=Vo(t,[],!1).filter(c=>wt(c)&&Dt(c)!=="body"),n=null,a=et(t).position==="fixed",s=a?mr(t):t;for(;wt(s)&&!co(s);){let c=et(s),u=jo(s);!u&&c.position==="fixed"&&(n=null),(a?!u&&!n:!u&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ur(s)&&!u&&jl(t,s))?i=i.filter(h=>h!==s):n=c,s=mr(s)}return e.set(t,i),i}function Np(t){let{element:e,boundary:o,rootBoundary:i,strategy:n}=t,s=[...o==="clippingAncestors"?_p(e,this._c):[].concat(o),i],c=s[0],u=s.reduce((p,h)=>{let y=Ul(e,h,n);return p.top=Fr(y.top,p.top),p.right=Tn(y.right,p.right),p.bottom=Tn(y.bottom,p.bottom),p.left=Fr(y.left,p.left),p},Ul(e,c,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Lp(t){return zl(t)}function Pp(t,e,o){let i=ft(e),n=$t(e),a=o==="fixed",s=uo(t,!0,a,e),c={scrollLeft:0,scrollTop:0},u=kt(0);if(i||!i&&!a)if((Dt(e)!=="body"||Ur(n))&&(c=po(e)),i){let p=uo(e,!0,a,e);u.x=p.x+e.clientLeft,u.y=p.y+e.clientTop}else n&&(u.x=Vl(n));return{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function Wl(t,e){return!ft(t)||et(t).position==="fixed"?null:e?e(t):t.offsetParent}function Kl(t,e){let o=Ze(t);if(!ft(t))return o;let i=Wl(t,e);for(;i&&Bl(i)&&et(i).position==="static";)i=Wl(i,e);return i&&(Dt(i)==="html"||Dt(i)==="body"&&et(i).position==="static"&&!jo(i))?o:i||Ml(t)||o}var kp=async function(t){let{reference:e,floating:o,strategy:i}=t,n=this.getOffsetParent||Kl,a=this.getDimensions;return{reference:Pp(e,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function Dp(t){return et(t).direction==="rtl"}var Zo={convertOffsetParentRelativeRectToViewportRelativeRect:Ep,getDocumentElement:$t,getClippingRect:Np,getOffsetParent:Kl,getElementRects:kp,getClientRects:Ap,getDimensions:Lp,getScale:Wr,isElement:wt,isRTL:Dp};var Zl=(t,e,o)=>{let i=new Map,n={platform:Zo,...o},a={...n.platform,_c:i};return kl(t,e,{...n,platform:a})};function ql(t){return $p(t)}function In(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function $p(t){for(let e=t;e;e=In(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=In(t);e;e=In(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Yl(t,e,o){return Zl(t,e,{platform:{...Zo,getOffsetParent:i=>Zo.getOffsetParent(i,ql)},middleware:[Rn({crossAxis:!0}),An({allowedPlacements:[o]})]})}var qe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ie=class extends fo.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 fo.Debouncer,this.revealDebouncer=new fo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Xl.html`
580
580
  <div part="container"
581
581
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
582
582
  @mouseenter=${this.onHover}
@@ -594,12 +594,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
594
594
  </div>
595
595
  </div>
596
596
  </div>
597
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,r){let i=this.manual;this.manual=!0;let n=this.text;this.text=t,await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Yl(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};it.elementDefinitions={"ft-typography":ft};it.styles=El;qt([(0,Ot.property)()],it.prototype,"text",void 0);qt([(0,Ot.property)({type:Boolean})],it.prototype,"manual",void 0);qt([(0,Ot.property)({type:Boolean})],it.prototype,"inline",void 0);qt([(0,Ot.property)({type:Number})],it.prototype,"delay",void 0);qt([(0,Ot.property)()],it.prototype,"position",void 0);qt([(0,Ot.queryAssignedNodes)()],it.prototype,"slotNodes",void 0);qt([(0,Ot.query)(".ft-tooltip--container")],it.prototype,"container",void 0);qt([(0,Ot.query)(".ft-tooltip")],it.prototype,"tooltip",void 0);qt([(0,Ot.query)(".ft-tooltip--content")],it.prototype,"tooltipContent",void 0);qt([(0,Ot.state)()],it.prototype,"visible",void 0);qt([(0,Ot.eventOptions)({passive:!0})],it.prototype,"onTouch",null);qt([(0,Ot.eventOptions)({passive:!0})],it.prototype,"onHover",null);qt([(0,Ot.eventOptions)({passive:!0})],it.prototype,"onOut",null);qt([(0,Ot.eventOptions)({passive:!0})],it.prototype,"onClick",null);(0,Ql.customElement)("ft-tooltip")(it);var oc=m(R());var ho=m(M()),Xe=m(q()),ec=m(R()),rc=m(tc());var br;(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.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;"})(br||(br={}));var E;(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;"})(E||(E={}));var _b=new Map([...["abw"].map(e=>[e,E.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,E.AUDIO]),...["avi"].map(e=>[e,E.AVI]),...["chm","xhs"].map(e=>[e,E.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,E.CODE]),...["csv"].map(e=>[e,E.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,E.DITA]),...["epub"].map(e=>[e,E.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,E.EXCEL]),...["flac"].map(e=>[e,E.FLAC]),...["gif"].map(e=>[e,E.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,E.GZIP]),...["html","htm","xhtml"].map(e=>[e,E.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,E.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,E.JPEG]),...["json"].map(e=>[e,E.JSON]),...["m4a","m4p"].map(e=>[e,E.M4A]),...["mov","qt"].map(e=>[e,E.MOV]),...["mp3"].map(e=>[e,E.MP3]),...["mp4","m4v"].map(e=>[e,E.MP4]),...["ogg","oga"].map(e=>[e,E.OGG]),...["pdf","ps"].map(e=>[e,E.PDF]),...["png"].map(e=>[e,E.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,E.POWERPOINT]),...["rar"].map(e=>[e,E.RAR]),...["stp"].map(e=>[e,E.STP]),...["txt","rtf","md","mdown"].map(e=>[e,E.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,E.VIDEO]),...["wav"].map(e=>[e,E.WAV]),...["wma"].map(e=>[e,E.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,E.WORD]),...["xml","xsl","rdf"].map(e=>[e,E.XML]),...["yaml","yml","x-yaml"].map(e=>[e,E.YAML]),...["zip"].map(e=>[e,E.ZIP])]);var Nb={[E.ABW]:"#91ABC6",[E.AUDIO]:"#1795E3",[E.AVI]:"#E63324",[E.CHM]:"#71C3EB",[E.CODE]:"#71C3EB",[E.CSV]:"#1F7345",[E.DITA]:"#71C3EB",[E.EPUB]:"#85B926",[E.EXCEL]:"#1F7345",[E.FLAC]:"#1795E3",[E.GIF]:"#59B031",[E.GZIP]:"#F8AB36",[E.HTML]:"#71C3EB",[E.IMAGE]:"#59B031",[E.JPEG]:"#59B031",[E.JSON]:"#71C3EB",[E.M4A]:"#1795E3",[E.MOV]:"#E63324",[E.MP3]:"#1795E3",[E.MP4]:"#E63324",[E.OGG]:"#1795E3",[E.PDF]:"#E44948",[E.PNG]:"#59B031",[E.POWERPOINT]:"#B54A2B",[E.RAR]:"#F8AB36",[E.STP]:"#3764B1",[E.TEXT]:"#3162AB",[E.UNKNOWN]:"#999999",[E.VIDEO]:"#E63324",[E.WAV]:"#1795E3",[E.WMA]:"#1795E3",[E.WORD]:"#3162AB",[E.XML]:"#71C3EB",[E.YAML]:"#71C3EB",[E.ZIP]:"#F8AB36"};var $t;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})($t||($t={}));var yo=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ht=class extends ec.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ho.nothing}render(){let t=this.variant&&Object.values($t).includes(this.variant)?this.variant:$t.fluid_topics,r=t!==$t.material||!!this.value;return ho.html`
598
- <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
597
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,o){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(o),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Yl(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};ie.elementDefinitions={"ft-typography":fe};ie.styles=El;qe([(0,Ce.property)()],ie.prototype,"text",void 0);qe([(0,Ce.property)({type:Boolean})],ie.prototype,"manual",void 0);qe([(0,Ce.property)({type:Boolean})],ie.prototype,"inline",void 0);qe([(0,Ce.property)({type:Number})],ie.prototype,"delay",void 0);qe([(0,Ce.property)()],ie.prototype,"position",void 0);qe([(0,Ce.queryAssignedNodes)()],ie.prototype,"slotNodes",void 0);qe([(0,Ce.query)(".ft-tooltip--container")],ie.prototype,"container",void 0);qe([(0,Ce.query)(".ft-tooltip")],ie.prototype,"tooltip",void 0);qe([(0,Ce.query)(".ft-tooltip--content")],ie.prototype,"tooltipContent",void 0);qe([(0,Ce.state)()],ie.prototype,"visible",void 0);qe([(0,Ce.eventOptions)({passive:!0})],ie.prototype,"onTouch",null);qe([(0,Ce.eventOptions)({passive:!0})],ie.prototype,"onHover",null);qe([(0,Ce.eventOptions)({passive:!0})],ie.prototype,"onOut",null);qe([(0,Ce.eventOptions)({passive:!0})],ie.prototype,"onClick",null);(0,Ql.customElement)("ft-tooltip")(ie);var oc=m(R());var ho=m(M()),Xt=m(q()),tc=m(R()),rc=m(ec());var br;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;"})(br||(br={}));var E;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(E||(E={}));var $b=new Map([...["abw"].map(t=>[t,E.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,E.AUDIO]),...["avi"].map(t=>[t,E.AVI]),...["chm","xhs"].map(t=>[t,E.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,E.CODE]),...["csv"].map(t=>[t,E.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,E.DITA]),...["epub"].map(t=>[t,E.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,E.EXCEL]),...["flac"].map(t=>[t,E.FLAC]),...["gif"].map(t=>[t,E.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,E.GZIP]),...["html","htm","xhtml"].map(t=>[t,E.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(t=>[t,E.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,E.JPEG]),...["json"].map(t=>[t,E.JSON]),...["m4a","m4p"].map(t=>[t,E.M4A]),...["mov","qt"].map(t=>[t,E.MOV]),...["mp3"].map(t=>[t,E.MP3]),...["mp4","m4v"].map(t=>[t,E.MP4]),...["ogg","oga"].map(t=>[t,E.OGG]),...["pdf","ps"].map(t=>[t,E.PDF]),...["png"].map(t=>[t,E.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,E.POWERPOINT]),...["rar"].map(t=>[t,E.RAR]),...["stp"].map(t=>[t,E.STP]),...["txt","rtf","md","mdown"].map(t=>[t,E.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,E.VIDEO]),...["wav"].map(t=>[t,E.WAV]),...["wma"].map(t=>[t,E.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,E.WORD]),...["xml","xsl","rdf"].map(t=>[t,E.XML]),...["yaml","yml","x-yaml"].map(t=>[t,E.YAML]),...["zip"].map(t=>[t,E.ZIP])]);var Bb={[E.ABW]:"#91ABC6",[E.AUDIO]:"#1795E3",[E.AVI]:"#E63324",[E.CHM]:"#71C3EB",[E.CODE]:"#71C3EB",[E.CSV]:"#1F7345",[E.DITA]:"#71C3EB",[E.EPUB]:"#85B926",[E.EXCEL]:"#1F7345",[E.FLAC]:"#1795E3",[E.GIF]:"#59B031",[E.GZIP]:"#F8AB36",[E.HTML]:"#71C3EB",[E.IMAGE]:"#59B031",[E.JPEG]:"#59B031",[E.JSON]:"#71C3EB",[E.M4A]:"#1795E3",[E.MOV]:"#E63324",[E.MP3]:"#1795E3",[E.MP4]:"#E63324",[E.OGG]:"#1795E3",[E.PDF]:"#E44948",[E.PNG]:"#59B031",[E.POWERPOINT]:"#B54A2B",[E.RAR]:"#F8AB36",[E.STP]:"#3764B1",[E.TEXT]:"#3162AB",[E.UNKNOWN]:"#999999",[E.VIDEO]:"#E63324",[E.WAV]:"#1795E3",[E.WMA]:"#1795E3",[E.WORD]:"#3162AB",[E.XML]:"#71C3EB",[E.YAML]:"#71C3EB",[E.ZIP]:"#F8AB36"};var $e;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})($e||($e={}));var yo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},he=class extends tc.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ho.nothing}render(){let e=this.variant&&Object.values($e).includes(this.variant)?this.variant:$e.fluid_topics,o=e!==$e.material||!!this.value;return ho.html`
598
+ <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
599
599
  ${(0,rc.unsafeHTML)(this.resolvedIcon)}
600
- <slot ?hidden=${r}></slot>
600
+ <slot ?hidden=${o}></slot>
601
601
  </i>
602
- `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case $t.file_format:this.resolvedIcon=(t=E[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case $t.material:this.resolvedIcon=this.value||ho.nothing;break;default:this.resolvedIcon=(r=br[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ht.elementDefinitions={};ht.styles=Os;yo([(0,Xe.property)()],ht.prototype,"variant",void 0);yo([(0,Xe.property)()],ht.prototype,"value",void 0);yo([(0,Xe.property)({reflect:!0,attribute:"aria-hidden"})],ht.prototype,"ariaHidden",void 0);yo([(0,Xe.state)()],ht.prototype,"resolvedIcon",void 0);yo([(0,Xe.query)("slot")],ht.prototype,"slottedContent",void 0);(0,oc.customElement)("ft-icon")(ht);var ic=m(M()),zt=m(R());var Ct={borderRadiusLeft:zt.FtCssVariableFactory.extend("--ft-switch-option-border-radius-left","",zt.designSystemVariables.borderRadiusL),borderRadiusRight:zt.FtCssVariableFactory.extend("--ft-switch-option-border-radius-right","",zt.designSystemVariables.borderRadiusL),borderWidthLeft:zt.FtCssVariableFactory.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:zt.FtCssVariableFactory.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:zt.FtCssVariableFactory.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},nc=ic.css`
602
+ `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let i=this.value||this.textContent;switch(this.variant){case $e.file_format:this.resolvedIcon=(e=E[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case $e.material:this.resolvedIcon=this.value||ho.nothing;break;default:this.resolvedIcon=(o=br[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=Cs;yo([(0,Xt.property)()],he.prototype,"variant",void 0);yo([(0,Xt.property)()],he.prototype,"value",void 0);yo([(0,Xt.property)({reflect:!0,attribute:"aria-hidden"})],he.prototype,"ariaHidden",void 0);yo([(0,Xt.state)()],he.prototype,"resolvedIcon",void 0);yo([(0,Xt.query)("slot")],he.prototype,"slottedContent",void 0);(0,oc.customElement)("ft-icon")(he);var ic=m(M()),He=m(R());var Oe={borderRadiusLeft:He.FtCssVariableFactory.extend("--ft-switch-option-border-radius-left","",He.designSystemVariables.borderRadiusL),borderRadiusRight:He.FtCssVariableFactory.extend("--ft-switch-option-border-radius-right","",He.designSystemVariables.borderRadiusL),borderWidthLeft:He.FtCssVariableFactory.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:He.FtCssVariableFactory.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:He.FtCssVariableFactory.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},nc=ic.css`
603
603
  .ft-switch-option {
604
604
  position: relative;
605
605
  display: inline-block;
@@ -613,20 +613,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
613
613
  }
614
614
 
615
615
  .ft-switch-option--content {
616
- --ft-switch-option-internal-line-height: calc(${ct.fontSize} + 2px);
617
- --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${ct.iconSize});
616
+ --ft-switch-option-internal-line-height: calc(${ce.fontSize} + 2px);
617
+ --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${ce.iconSize});
618
618
 
619
619
  border-style: solid;
620
- border-color: ${ct.borderColor};
621
- border-width: ${Ct.borderWidthVertical} ${Ct.borderWidthRight} ${Ct.borderWidthVertical} ${Ct.borderWidthLeft};
622
- border-radius: ${Ct.borderRadiusLeft} ${Ct.borderRadiusRight} ${Ct.borderRadiusRight} ${Ct.borderRadiusLeft};
620
+ border-color: ${ce.borderColor};
621
+ border-width: ${Oe.borderWidthVertical} ${Oe.borderWidthRight} ${Oe.borderWidthVertical} ${Oe.borderWidthLeft};
622
+ border-radius: ${Oe.borderRadiusLeft} ${Oe.borderRadiusRight} ${Oe.borderRadiusRight} ${Oe.borderRadiusLeft};
623
623
  display: flex;
624
624
  align-items: center;
625
625
  justify-content: center;
626
626
  overflow: hidden;
627
- ${(0,zt.setVariable)(St.size,ct.iconSize)};
627
+ ${(0,He.setVariable)(Se.size,ce.iconSize)};
628
628
  padding: var(--ft-switch-internal-vertical-padding, 6px) var(--ft-switch-internal-horizontal-padding, 8px);
629
- background-color: ${ct.backgroundColor};
629
+ background-color: ${ce.backgroundColor};
630
630
  -webkit-mask-image: radial-gradient(white, black);
631
631
  }
632
632
 
@@ -635,32 +635,32 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
635
635
  }
636
636
 
637
637
  .ft-switch-option--selected .ft-switch-option--content:before {
638
- background-color: ${ct.selectedBackgroundColor};
639
- border-radius: ${Ct.borderRadiusLeft} ${Ct.borderRadiusRight} ${Ct.borderRadiusRight} ${Ct.borderRadiusLeft};
638
+ background-color: ${ce.selectedBackgroundColor};
639
+ border-radius: ${Oe.borderRadiusLeft} ${Oe.borderRadiusRight} ${Oe.borderRadiusRight} ${Oe.borderRadiusLeft};
640
640
  position: absolute;
641
641
  inset: 0;
642
642
  content: "";
643
643
  z-index: 1;
644
- opacity: ${zt.designSystemVariables.opacityPrimaryOnSurfaceSelected};
644
+ opacity: ${He.designSystemVariables.opacityPrimaryOnSurfaceSelected};
645
645
  }
646
646
 
647
647
  .ft-switch-option--label {
648
- color: ${ct.textColor};
648
+ color: ${ce.textColor};
649
649
  overflow: hidden;
650
650
  white-space: nowrap;
651
651
  text-overflow: ellipsis;
652
652
  display: block;
653
653
  margin: 0 8px;
654
- ${(0,zt.setVariable)(Ht.fontSize,ct.fontSize)};
655
- ${(0,zt.setVariable)(Ht.lineHeight,"var(--ft-switch-option-internal-content-height)")}
654
+ ${(0,He.setVariable)(ze.fontSize,ce.fontSize)};
655
+ ${(0,He.setVariable)(ze.lineHeight,"var(--ft-switch-option-internal-content-height)")}
656
656
  }
657
657
 
658
658
  .ft-switch-option--selected .ft-switch-option--label {
659
- color: ${ct.selectedTextColor};
659
+ color: ${ce.selectedTextColor};
660
660
  }
661
661
 
662
662
  .ft-switch-option--focused {
663
- outline: 1px solid ${ct.outlineColor};
663
+ outline: 1px solid ${ce.outlineColor};
664
664
  }
665
665
 
666
666
  .ft-switch-option--label[hidden] {
@@ -668,7 +668,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
668
668
  }
669
669
 
670
670
  .ft-switch-option--ripple {
671
- ${(0,zt.setVariable)(w.color,ct.rippleColor)};
671
+ ${(0,He.setVariable)(w.color,ce.rippleColor)};
672
672
  }
673
673
 
674
674
  ft-icon, ft-ripple, ft-typography {
@@ -681,20 +681,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
681
681
 
682
682
  ft-icon {
683
683
  flex-shrink: 0;
684
- color: ${ct.iconColor};
684
+ color: ${ce.iconColor};
685
685
  }
686
686
 
687
687
  .ft-switch-option--selected ft-icon {
688
- color: ${ct.selectedTextColor};
688
+ color: ${ce.selectedTextColor};
689
689
  }
690
- `;var he=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},_n=class extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}},Nn=class extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}},yt=class extends zr.FtLitElement{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1,this.isFocused=!1}focus(){this.input.focus()}update(t){super.update(t),t.has("selected")&&this.dispatchEvent(new Nn(this.selected))}render(){let t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected,"ft-switch-option--focused":this.isFocused};return this.addTooltip(Hr.html`
691
- <label part="label" for="input" class=${(0,ac.classMap)(t)}
690
+ `;var ht=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},_n=class extends CustomEvent{constructor(e){super("option-change-by-user",{detail:e,bubbles:!0,composed:!0})}},Nn=class extends CustomEvent{constructor(e){super("option-change",{detail:e,bubbles:!0,composed:!0})}},ye=class extends Hr.FtLitElement{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1,this.isFocused=!1}focus(){this.input.focus()}update(e){super.update(e),e.has("selected")&&this.dispatchEvent(new Nn(this.selected))}render(){let e={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected,"ft-switch-option--focused":this.isFocused};return this.addTooltip(zr.html`
691
+ <label part="label" for="input" class=${(0,ac.classMap)(e)}
692
692
  @click=${this.onChange}>
693
693
  <div class="ft-switch-option--content">
694
694
  <ft-ripple part="ripple" class="ft-switch-option--ripple"></ft-ripple>
695
695
  <ft-typography part="text"
696
696
  variant="button"
697
- class="ft-switch-option--label ${zr.isSafari?"ft-safari-ellipsis-fix":""}"
697
+ class="ft-switch-option--label ${Hr.isSafari?"ft-safari-ellipsis-fix":""}"
698
698
  ?hidden=${!this.hasTextContent()}>
699
699
  <slot @slotchange=${this.onSlotchange}></slot>
700
700
  </ft-typography>
@@ -703,29 +703,29 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
703
703
  </label>
704
704
  <input id="input" type="radio" class="ft-switch-option--input"
705
705
  .checked=${this.selected}>
706
- `)}addTooltip(t){return this.hasTextContent()||this.getLabel().trim().length===0?t:Hr.html`
706
+ `)}addTooltip(e){return this.hasTextContent()||this.getLabel().trim().length===0?e:zr.html`
707
707
  <ft-tooltip part="tooltip"
708
708
  text="${this.getLabel()}"
709
709
  position="${this.tooltipPosition}">
710
- ${t}
710
+ ${e}
711
711
  </ft-tooltip>
712
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.onFocusout)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this.onFocusout)}onFocusout(t){this.isFocused=!1}onChange(){this.selected=this.unselectable?!this.selected:!0,this.dispatchEvent(new _n(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?Hr.html`
712
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.onFocusout)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusout",this.onFocusout)}onFocusout(e){this.isFocused=!1}onChange(){this.selected=this.unselectable?!this.selected:!0,this.dispatchEvent(new _n(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?zr.html`
713
713
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
714
- `:Hr.nothing}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}};yt.elementDefinitions={"ft-ripple":K,"ft-typography":ft,"ft-tooltip":it,"ft-icon":ht};yt.styles=[zr.safariEllipsisFix,nc];he([(0,Yt.property)()],yt.prototype,"value",void 0);he([(0,Yt.property)()],yt.prototype,"icon",void 0);he([(0,Yt.property)()],yt.prototype,"iconVariant",void 0);he([(0,Yt.property)()],yt.prototype,"label",void 0);he([(0,Yt.property)()],yt.prototype,"tooltipPosition",void 0);he([(0,Yt.property)({type:Boolean,reflect:!0})],yt.prototype,"selected",void 0);he([(0,Yt.property)({type:Boolean})],yt.prototype,"trailingIcon",void 0);he([(0,Yt.property)({type:Boolean})],yt.prototype,"unselectable",void 0);he([(0,Yt.query)(".ft-switch-option--content slot")],yt.prototype,"slottedContent",void 0);he([(0,Yt.query)(".ft-switch-option--input")],yt.prototype,"input",void 0);he([(0,Yt.state)()],yt.prototype,"isFocused",void 0);var vr=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ln=class extends CustomEvent{constructor(t){super("change",{detail:t})}},jt=class extends Be.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.displayFocusWhenUsingKeyboard=!1,this.options=[]}get value(){var t;return(t=this.selectedOption)===null||t===void 0?void 0:t.value}update(t){super.update(t),t.has("selectedOption")&&this.updateOptions(),t.has("unselectable")&&this.options.forEach(r=>r.unselectable=this.unselectable)}render(){let t={"ft-switch":!0,"ft-switch--dense":this.dense};return qo.html`
715
- <div @keydown=${this.onKeyDown} tabindex="-1" class="${(0,sc.classMap)(t)}" role="radiogroup" aria-label=${this.label}>
714
+ `:zr.nothing}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}};ye.elementDefinitions={"ft-ripple":K,"ft-typography":fe,"ft-tooltip":ie,"ft-icon":he};ye.styles=[Hr.safariEllipsisFix,nc];ht([(0,Ye.property)()],ye.prototype,"value",void 0);ht([(0,Ye.property)()],ye.prototype,"icon",void 0);ht([(0,Ye.property)()],ye.prototype,"iconVariant",void 0);ht([(0,Ye.property)()],ye.prototype,"label",void 0);ht([(0,Ye.property)()],ye.prototype,"tooltipPosition",void 0);ht([(0,Ye.property)({type:Boolean,reflect:!0})],ye.prototype,"selected",void 0);ht([(0,Ye.property)({type:Boolean})],ye.prototype,"trailingIcon",void 0);ht([(0,Ye.property)({type:Boolean})],ye.prototype,"unselectable",void 0);ht([(0,Ye.query)(".ft-switch-option--content slot")],ye.prototype,"slottedContent",void 0);ht([(0,Ye.query)(".ft-switch-option--input")],ye.prototype,"input",void 0);ht([(0,Ye.state)()],ye.prototype,"isFocused",void 0);var xr=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Ln=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Ge=class extends Bt.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.displayFocusWhenUsingKeyboard=!1,this.options=[]}get value(){var e;return(e=this.selectedOption)===null||e===void 0?void 0:e.value}update(e){super.update(e),e.has("selectedOption")&&this.updateOptions(),e.has("unselectable")&&this.options.forEach(o=>o.unselectable=this.unselectable)}render(){let e={"ft-switch":!0,"ft-switch--dense":this.dense};return qo.html`
715
+ <div @keydown=${this.onKeyDown} tabindex="-1" class="${(0,sc.classMap)(e)}" role="radiogroup" aria-label=${this.label}>
716
716
  <slot @slotchange=${this.onSlotchange}
717
717
  @option-change=${this.onOptionChangeByScript}
718
718
  @option-change-by-user=${this.onOptionChangeByUser}
719
719
  ></slot>
720
720
  </div>
721
- `}onKeyDown(t){let r;(t.key=="ArrowDown"||t.key=="ArrowRight")&&(r=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),(t.key=="ArrowUp"||t.key=="ArrowLeft")&&(r=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),t.code=="Space"&&(r=this.options.indexOf(t.target)),r!=null&&(t.preventDefault(),this.options[this.fixIndex(r)].focus(),this.displayFocusWhenUsingKeyboard=!0,this.options[this.fixIndex(r)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],(t=this.slottedContent)===null||t===void 0||t.assignedElements().forEach(r=>{r instanceof yt&&this.registerOption(r)}),this.selectedOption=this.options.find(r=>r.selected)}registerOption(t){var r;(r=t.shadowRoot)===null||r===void 0||r.querySelectorAll("input").forEach(i=>{i.setAttribute("tabindex","-1")}),t.setAttribute("tabindex","0"),t.unselectable=this.unselectable,this.options.push(t)}onOptionChangeByScript(t){t.stopPropagation();let r=t.target;this.onOptionChange(r)}onOptionChangeByUser(t){var r;t.stopPropagation(),this.displayFocusWhenUsingKeyboard=!1,this.onOptionChange(t.target),this.dispatchEvent(new Ln((r=this.selectedOption)===null||r===void 0?void 0:r.value))}onOptionChange(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find(r=>r.selected)}private(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find(r=>r.selected)}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach(t=>{t.selected=t===this.selectedOption,this.displayFocusWhenUsingKeyboard&&(t.isFocused=t===this.selectedOption)})}};jt.elementDefinitions={};jt.styles=qo.css`
721
+ `}onKeyDown(e){let o;(e.key=="ArrowDown"||e.key=="ArrowRight")&&(o=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),(e.key=="ArrowUp"||e.key=="ArrowLeft")&&(o=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),e.code=="Space"&&(o=this.options.indexOf(e.target)),o!=null&&(e.preventDefault(),this.options[this.fixIndex(o)].focus(),this.displayFocusWhenUsingKeyboard=!0,this.options[this.fixIndex(o)].selected=!0)}fixIndex(e){return e<0?this.options.length-1:e>this.options.length-1?0:e}onSlotchange(){var e;this.options=[],(e=this.slottedContent)===null||e===void 0||e.assignedElements().forEach(o=>{o instanceof ye&&this.registerOption(o)}),this.selectedOption=this.options.find(o=>o.selected)}registerOption(e){var o;(o=e.shadowRoot)===null||o===void 0||o.querySelectorAll("input").forEach(i=>{i.setAttribute("tabindex","-1")}),e.setAttribute("tabindex","0"),e.unselectable=this.unselectable,this.options.push(e)}onOptionChangeByScript(e){e.stopPropagation();let o=e.target;this.onOptionChange(o)}onOptionChangeByUser(e){var o;e.stopPropagation(),this.displayFocusWhenUsingKeyboard=!1,this.onOptionChange(e.target),this.dispatchEvent(new Ln((o=this.selectedOption)===null||o===void 0?void 0:o.value))}onOptionChange(e){e.selected?this.selectedOption=e:this.selectedOption=this.options.find(o=>o.selected)}private(e){e.selected?this.selectedOption=e:this.selectedOption=this.options.find(o=>o.selected)}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach(e=>{e.selected=e===this.selectedOption,this.displayFocusWhenUsingKeyboard&&(e.isFocused=e===this.selectedOption)})}};Ge.elementDefinitions={};Ge.styles=qo.css`
722
722
  :host {
723
723
  display: inline-block;
724
724
  }
725
725
 
726
726
  .ft-switch {
727
- border-radius: ${ct.borderRadius};
728
- outline-color: ${ct.outlineColor};
727
+ border-radius: ${ce.borderRadius};
728
+ outline-color: ${ce.outlineColor};
729
729
  }
730
730
 
731
731
  .ft-switch slot {
@@ -734,25 +734,25 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
734
734
  }
735
735
 
736
736
  .ft-switch slot::slotted(ft-switch-option) {
737
- ${(0,Be.setVariable)(Ct.borderRadiusLeft,"0")};
738
- ${(0,Be.setVariable)(Ct.borderRadiusRight,"0")};
739
- ${(0,Be.setVariable)(Ct.borderWidthLeft,"0")};
737
+ ${(0,Bt.setVariable)(Oe.borderRadiusLeft,"0")};
738
+ ${(0,Bt.setVariable)(Oe.borderRadiusRight,"0")};
739
+ ${(0,Bt.setVariable)(Oe.borderWidthLeft,"0")};
740
740
  }
741
741
 
742
742
  .ft-switch slot::slotted(ft-switch-option:first-child) {
743
- ${(0,Be.setVariable)(Ct.borderRadiusLeft,ct.borderRadius)};
744
- ${(0,Be.setVariable)(Ct.borderWidthLeft,"1px")};
743
+ ${(0,Bt.setVariable)(Oe.borderRadiusLeft,ce.borderRadius)};
744
+ ${(0,Bt.setVariable)(Oe.borderWidthLeft,"1px")};
745
745
  }
746
746
 
747
747
  .ft-switch slot::slotted(ft-switch-option:last-child) {
748
- ${(0,Be.setVariable)(Ct.borderRadiusRight,ct.borderRadius)};
748
+ ${(0,Bt.setVariable)(Oe.borderRadiusRight,ce.borderRadius)};
749
749
  }
750
750
 
751
751
  .ft-switch--dense slot::slotted(ft-switch-option) {
752
752
  --ft-switch-internal-vertical-padding: 2px;
753
753
  --ft-switch-internal-horizontal-padding: 4px;
754
754
  }
755
- `;vr([(0,Ee.property)({type:Boolean})],jt.prototype,"dense",void 0);vr([(0,Ee.property)({type:Boolean})],jt.prototype,"unselectable",void 0);vr([(0,Ee.property)()],jt.prototype,"label",void 0);vr([(0,Ee.query)(".ft-switch slot")],jt.prototype,"slottedContent",void 0);vr([(0,Ee.state)()],jt.prototype,"selectedOption",void 0);vr([(0,Ee.state)()],jt.prototype,"displayFocusWhenUsingKeyboard",void 0);vr([(0,Ee.query)(".ft-switch")],jt.prototype,"ftSwitchDiv",void 0);(0,Pn.customElement)("ft-switch")(jt);(0,Pn.customElement)("ft-switch-option")(yt);var xc=m(R());var Jo=m(M()),ae=m(q()),vc=m(Le()),ti=m(R());var pc=m(R());var Xo=m(M()),ne=m(q()),Qo=m(R());var cc=m(M()),jr=m(R()),lc={colorOutline:jr.FtCssVariableFactory.external(jr.designSystemVariables.colorOutline,"Design system"),colorOnSurfaceMedium:jr.FtCssVariableFactory.external(jr.designSystemVariables.colorOnSurfaceMedium,"Design system")},dc=cc.css`
755
+ `;xr([(0,Et.property)({type:Boolean})],Ge.prototype,"dense",void 0);xr([(0,Et.property)({type:Boolean})],Ge.prototype,"unselectable",void 0);xr([(0,Et.property)()],Ge.prototype,"label",void 0);xr([(0,Et.query)(".ft-switch slot")],Ge.prototype,"slottedContent",void 0);xr([(0,Et.state)()],Ge.prototype,"selectedOption",void 0);xr([(0,Et.state)()],Ge.prototype,"displayFocusWhenUsingKeyboard",void 0);xr([(0,Et.query)(".ft-switch")],Ge.prototype,"ftSwitchDiv",void 0);(0,Pn.customElement)("ft-switch")(Ge);(0,Pn.customElement)("ft-switch-option")(ye);var vc=m(R());var Jo=m(M()),at=m(q()),xc=m(Lt()),ei=m(R());var pc=m(R());var Xo=m(M()),nt=m(q()),Qo=m(R());var cc=m(M()),Gr=m(R()),lc={colorOutline:Gr.FtCssVariableFactory.external(Gr.designSystemVariables.colorOutline,"Design system"),colorOnSurfaceMedium:Gr.FtCssVariableFactory.external(Gr.designSystemVariables.colorOnSurfaceMedium,"Design system")},dc=cc.css`
756
756
  :host {
757
757
  display: block;
758
758
  }
@@ -771,7 +771,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
771
771
  [role="button"][aria-pressed="true"] ft-icon{
772
772
  color: ${lc.colorOnSurfaceMedium};
773
773
  }
774
- `;var Me=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Yo=class extends CustomEvent{constructor(t,r){super("resize",{detail:{width:t,height:r}})}},Nt=class extends Qo.FtLitElement{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=$t.material,this.cursor="nwse-resize",this.dragging=!1,this.isAriaPressed=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return Xo.html`
774
+ `;var Mt=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Yo=class extends CustomEvent{constructor(e,o){super("resize",{detail:{width:e,height:o}})}},Ne=class extends Qo.FtLitElement{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=$e.material,this.cursor="nwse-resize",this.dragging=!1,this.isAriaPressed=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=e=>this.doDrag(e.clientX,e.clientY),this.doDragFromTouch=e=>this.doDrag(e.touches[0].clientX,e.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return Xo.html`
775
775
  <style>
776
776
  .ft-resizer {
777
777
  cursor: ${(0,Xo.unsafeCSS)(this.cursor)}
@@ -785,7 +785,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
785
785
  @keydown="${this.initKeydownPress}">
786
786
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}" focusable="false" aria-hidden="true"></ft-icon>
787
787
  </div>
788
- `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initKeydownPress(t){let r=t.key;if(["Enter","Space","Escape","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(r)&&(t.preventDefault(),t.stopPropagation()),this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,r==="Enter"||r==="Space"){let n=t.currentTarget;this.isAriaPressed=!this.isAriaPressed,n.setAttribute("aria-pressed",this.isAriaPressed.toString())}else r==="Escape"&&(this.isAriaPressed=!1);this.isAriaPressed&&(r==="ArrowLeft"?this.fixedWidth-=10:r==="ArrowRight"?this.fixedWidth+=10:r==="ArrowUp"?this.fixedHeight-=10:r==="ArrowDown"&&(this.fixedHeight+=10)),this.dispatchEvent(new Yo(this.fixedWidth,this.fixedHeight))}initDrag(t,r){this.dragging=!0,this.startX=t,this.startY=r,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,r){let i=this.fixedWidth+t-this.startX,n=this.fixedHeight+r-this.startY;this.dispatchEvent(new Yo(i,n))}};Nt.elementDefinitions={"ft-icon":ht};Nt.styles=[Qo.noTextSelect,dc];Me([(0,ne.property)({type:Number})],Nt.prototype,"initialWidth",void 0);Me([(0,ne.property)({type:Number})],Nt.prototype,"initialHeight",void 0);Me([(0,ne.property)()],Nt.prototype,"icon",void 0);Me([(0,ne.property)()],Nt.prototype,"iconVariant",void 0);Me([(0,ne.property)()],Nt.prototype,"cursor",void 0);Me([(0,ne.state)()],Nt.prototype,"dragging",void 0);Me([(0,ne.state)()],Nt.prototype,"isAriaPressed",void 0);Me([(0,ne.eventOptions)({passive:!0})],Nt.prototype,"initDragFromMouse",null);Me([(0,ne.eventOptions)({passive:!0})],Nt.prototype,"initDragFromTouch",null);(0,pc.customElement)("ft-resizer")(Nt);var gc=m(R());var kn=m(M()),Vr=m(q()),hc=m(Le()),yc=m(R());var uc=m(M()),rt=m(R());var k={fontSize:rt.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:rt.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:rt.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:rt.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:rt.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:rt.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:rt.FtCssVariableFactory.extend("--ft-input-label-border-color","",rt.designSystemVariables.colorOutline),textColor:rt.FtCssVariableFactory.extend("--ft-input-label-text-color","",rt.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:rt.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",rt.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:rt.FtCssVariableFactory.extend("--ft-input-label-background-color","",rt.designSystemVariables.colorSurface),borderRadius:rt.FtCssVariableFactory.extend("--ft-input-label-border-radius","",rt.designSystemVariables.borderRadiusS),colorError:rt.FtCssVariableFactory.external(rt.designSystemVariables.colorError,"Design system")},fc=uc.css`
788
+ `}initDragFromMouse(e){this.initDrag(e.clientX,e.clientY)}initDragFromTouch(e){e.preventDefault(),e.stopPropagation(),this.initDrag(e.touches[0].clientX,e.touches[0].clientY)}initKeydownPress(e){let o=e.key;if(["Enter","Space","Escape","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(o)&&(e.preventDefault(),e.stopPropagation()),this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,o==="Enter"||o==="Space"){let n=e.currentTarget;this.isAriaPressed=!this.isAriaPressed,n.setAttribute("aria-pressed",this.isAriaPressed.toString())}else o==="Escape"&&(this.isAriaPressed=!1);this.isAriaPressed&&(o==="ArrowLeft"?this.fixedWidth-=10:o==="ArrowRight"?this.fixedWidth+=10:o==="ArrowUp"?this.fixedHeight-=10:o==="ArrowDown"&&(this.fixedHeight+=10)),this.dispatchEvent(new Yo(this.fixedWidth,this.fixedHeight))}initDrag(e,o){this.dragging=!0,this.startX=e,this.startY=o,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(e,o){let i=this.fixedWidth+e-this.startX,n=this.fixedHeight+o-this.startY;this.dispatchEvent(new Yo(i,n))}};Ne.elementDefinitions={"ft-icon":he};Ne.styles=[Qo.noTextSelect,dc];Mt([(0,nt.property)({type:Number})],Ne.prototype,"initialWidth",void 0);Mt([(0,nt.property)({type:Number})],Ne.prototype,"initialHeight",void 0);Mt([(0,nt.property)()],Ne.prototype,"icon",void 0);Mt([(0,nt.property)()],Ne.prototype,"iconVariant",void 0);Mt([(0,nt.property)()],Ne.prototype,"cursor",void 0);Mt([(0,nt.state)()],Ne.prototype,"dragging",void 0);Mt([(0,nt.state)()],Ne.prototype,"isAriaPressed",void 0);Mt([(0,nt.eventOptions)({passive:!0})],Ne.prototype,"initDragFromMouse",null);Mt([(0,nt.eventOptions)({passive:!0})],Ne.prototype,"initDragFromTouch",null);(0,pc.customElement)("ft-resizer")(Ne);var gc=m(R());var kn=m(M()),Vr=m(q()),hc=m(Lt()),yc=m(R());var uc=m(M()),re=m(R());var k={fontSize:re.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:re.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:re.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:re.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:re.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:re.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:re.FtCssVariableFactory.extend("--ft-input-label-border-color","",re.designSystemVariables.colorOutline),textColor:re.FtCssVariableFactory.extend("--ft-input-label-text-color","",re.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:re.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",re.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:re.FtCssVariableFactory.extend("--ft-input-label-background-color","",re.designSystemVariables.colorSurface),borderRadius:re.FtCssVariableFactory.extend("--ft-input-label-border-radius","",re.designSystemVariables.borderRadiusS),colorError:re.FtCssVariableFactory.external(re.designSystemVariables.colorError,"Design system")},fc=uc.css`
789
789
  .ft-input-label {
790
790
  position: absolute;
791
791
  inset: 0;
@@ -836,8 +836,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
836
836
  transition: font-size 250ms, line-height 250ms, color 250ms;
837
837
  max-width: calc(${k.labelMaxWidth} - 2 * (${k.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
838
838
  text-overflow: ellipsis;
839
- ${(0,rt.setVariable)(pe.fontSize,k.fontSize)};
840
- ${(0,rt.setVariable)(pe.lineHeight,k.fontSize)};
839
+ ${(0,re.setVariable)(pt.fontSize,k.fontSize)};
840
+ ${(0,re.setVariable)(pt.lineHeight,k.fontSize)};
841
841
  }
842
842
 
843
843
  .ft-input-label--in-error .ft-input-label--text {
@@ -869,8 +869,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
869
869
  }
870
870
 
871
871
  .ft-input-label--raised .ft-input-label--text {
872
- ${(0,rt.setVariable)(pe.fontSize,k.raisedFontSize)};
873
- ${(0,rt.setVariable)(pe.lineHeight,k.raisedFontSize)};
872
+ ${(0,re.setVariable)(pt.fontSize,k.raisedFontSize)};
873
+ ${(0,re.setVariable)(pt.lineHeight,k.raisedFontSize)};
874
874
  }
875
875
 
876
876
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -907,8 +907,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
907
907
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
908
908
  border-top: none;
909
909
  }
910
- `;var go=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Vt=class extends yc.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return kn.html`
911
- <div class="${(0,hc.classMap)(t)}">
910
+ `;var go=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Ve=class extends yc.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return kn.html`
911
+ <div class="${(0,hc.classMap)(e)}">
912
912
  ${this.text?kn.html`
913
913
  <div class="ft-input-label--text ft-typography--caption">
914
914
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -916,7 +916,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
916
916
  </div>
917
917
  `:null}
918
918
  </div>
919
- `}};Vt.elementDefinitions={};Vt.styles=[Bo,fc];go([(0,Vr.property)({type:String})],Vt.prototype,"text",void 0);go([(0,Vr.property)({type:Boolean})],Vt.prototype,"raised",void 0);go([(0,Vr.property)({type:Boolean})],Vt.prototype,"outlined",void 0);go([(0,Vr.property)({type:Boolean})],Vt.prototype,"disabled",void 0);go([(0,Vr.property)({type:Boolean})],Vt.prototype,"error",void 0);(0,gc.customElement)("ft-input-label")(Vt);var mc=m(M()),Z=m(R());var X={fontSize:Z.FtCssVariableFactory.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:Z.FtCssVariableFactory.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:Z.FtCssVariableFactory.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:Z.FtCssVariableFactory.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:Z.FtCssVariableFactory.extend("--ft-text-area-helper-color","",Z.designSystemVariables.colorOnSurfaceMedium),colorPrimary:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Z.FtCssVariableFactory.external(Z.designSystemVariables.borderRadiusS,"Design system"),colorError:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorError,"Design system")},bc=mc.css`
919
+ `}};Ve.elementDefinitions={};Ve.styles=[Bo,fc];go([(0,Vr.property)({type:String})],Ve.prototype,"text",void 0);go([(0,Vr.property)({type:Boolean})],Ve.prototype,"raised",void 0);go([(0,Vr.property)({type:Boolean})],Ve.prototype,"outlined",void 0);go([(0,Vr.property)({type:Boolean})],Ve.prototype,"disabled",void 0);go([(0,Vr.property)({type:Boolean})],Ve.prototype,"error",void 0);(0,gc.customElement)("ft-input-label")(Ve);var mc=m(M()),Z=m(R());var X={fontSize:Z.FtCssVariableFactory.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:Z.FtCssVariableFactory.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:Z.FtCssVariableFactory.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:Z.FtCssVariableFactory.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:Z.FtCssVariableFactory.extend("--ft-text-area-helper-color","",Z.designSystemVariables.colorOnSurfaceMedium),colorPrimary:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Z.FtCssVariableFactory.external(Z.designSystemVariables.borderRadiusS,"Design system"),colorError:Z.FtCssVariableFactory.external(Z.designSystemVariables.colorError,"Design system")},bc=mc.css`
920
920
  *:focus {
921
921
  outline: none;
922
922
  }
@@ -962,8 +962,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
962
962
  align-self: stretch;
963
963
  resize: none;
964
964
 
965
- ${(0,Z.setVariable)(oe.fontSize,X.fontSize)};
966
- ${(0,Z.setVariable)(oe.lineHeight,X.fontSize)};
965
+ ${(0,Z.setVariable)(ot.fontSize,X.fontSize)};
966
+ ${(0,Z.setVariable)(ot.lineHeight,X.fontSize)};
967
967
  color: ${X.colorOnSurface};
968
968
 
969
969
  padding: 0 ${X.horizontalSpacing};
@@ -1016,7 +1016,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1016
1016
  position: absolute;
1017
1017
  bottom: 0;
1018
1018
  }
1019
- `;var Fe=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Lt=class extends(0,ti.toFtFormComponent)(ti.FtLitElement){constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){let t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return Jo.html`
1019
+ `;var Ft=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Le=class extends(0,ei.toFtFormComponent)(ei.FtLitElement){constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){let e={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return Jo.html`
1020
1020
  <style>
1021
1021
  .ft-text-area--main-panel {
1022
1022
  height: calc(4 * ${X.verticalSpacing} + ${X.labelSize} + ${X.fontSize} + ${this.height}px);
@@ -1026,7 +1026,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1026
1026
  right: ${this.textarea!=null?this.textarea.offsetWidth-this.textarea.clientWidth:0}px;
1027
1027
  }
1028
1028
  </style>
1029
- <div class="${(0,vc.classMap)(t)}">
1029
+ <div class="${(0,xc.classMap)(e)}">
1030
1030
  <div class="ft-text-area--main-panel">
1031
1031
  <ft-input-label text="${this.label}"
1032
1032
  ?disabled=${this.disabled}
@@ -1060,14 +1060,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1060
1060
  ${this.helper}
1061
1061
  </ft-typography>`:void 0}
1062
1062
  </div>
1063
- `}setValue(t,r=!1){this.value=t,this.setFormValue(t),r&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}onKeyDown(t){(t.key==="Enter"||t.key===" ")&&t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=((t=this.textarea)===null||t===void 0?void 0:t.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}};Lt.elementDefinitions={"ft-input-label":Vt,"ft-resizer":Nt,"ft-ripple":K,"ft-typography":ft};Lt.styles=[Pr,bc];Fe([(0,ae.property)({type:String})],Lt.prototype,"label",void 0);Fe([(0,ae.property)({reflect:!0})],Lt.prototype,"value",void 0);Fe([(0,ae.property)({type:String})],Lt.prototype,"helper",void 0);Fe([(0,ae.property)({type:Boolean})],Lt.prototype,"outlined",void 0);Fe([(0,ae.property)({type:Boolean})],Lt.prototype,"disabled",void 0);Fe([(0,ae.property)({type:Boolean})],Lt.prototype,"error",void 0);Fe([(0,ae.property)({type:Number,reflect:!0})],Lt.prototype,"height",void 0);Fe([(0,ae.query)("textarea")],Lt.prototype,"textarea",void 0);Fe([(0,ae.state)()],Lt.prototype,"focused",void 0);(0,xc.customElement)("ft-text-area")(Lt);var Qd=m(Dn());var Bn=m(R());var mo=m(q()),Ec=m(R());var Je=m(R());var wc=m(R());var Oc=m(M()),Cc=m(R());var xr=class extends Cc.FtLitElement{render(){return Oc.html`
1063
+ `}setValue(e,o=!1){this.value=e,this.setFormValue(e),o&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}onKeyDown(e){(e.key==="Enter"||e.key===" ")&&e.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var e;this.value=((e=this.textarea)===null||e===void 0?void 0:e.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(e){e.detail.height>=50&&(this.height=e.detail.height)}};Le.elementDefinitions={"ft-input-label":Ve,"ft-resizer":Ne,"ft-ripple":K,"ft-typography":fe};Le.styles=[Pr,bc];Ft([(0,at.property)({type:String})],Le.prototype,"label",void 0);Ft([(0,at.property)({reflect:!0})],Le.prototype,"value",void 0);Ft([(0,at.property)({type:String})],Le.prototype,"helper",void 0);Ft([(0,at.property)({type:Boolean})],Le.prototype,"outlined",void 0);Ft([(0,at.property)({type:Boolean})],Le.prototype,"disabled",void 0);Ft([(0,at.property)({type:Boolean})],Le.prototype,"error",void 0);Ft([(0,at.property)({type:Number,reflect:!0})],Le.prototype,"height",void 0);Ft([(0,at.query)("textarea")],Le.prototype,"textarea",void 0);Ft([(0,at.state)()],Le.prototype,"focused",void 0);(0,vc.customElement)("ft-text-area")(Le);var Qd=m(Dn());var Bn=m(R());var mo=m(q()),Ec=m(R());var Jt=m(R());var wc=m(R());var Cc=m(M()),Oc=m(R());var vr=class extends Oc.FtLitElement{render(){return Cc.html`
1064
1064
  <div class="ft-loader">
1065
1065
  <div></div>
1066
1066
  <div></div>
1067
1067
  <div></div>
1068
1068
  <div></div>
1069
1069
  </div>
1070
- `}};xr.styles=xs;(0,wc.customElement)("ft-loader")(xr);var Qe=m(M()),$n=m(Le()),wt=m(q()),Pt=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},nt=class extends(0,Je.toFtFormComponent)(Je.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,i;let n=Qe.html`
1070
+ `}};vr.styles=vs;(0,wc.customElement)("ft-loader")(vr);var Qt=m(M()),$n=m(Lt()),we=m(q()),Pe=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ne=class extends(0,Jt.toFtFormComponent)(Jt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,i;let n=Qt.html`
1071
1071
  <ft-ripple part="ripple"
1072
1072
  ?disabled=${this.isDisabled()}
1073
1073
  ?activated=${this.activated}
@@ -1075,39 +1075,39 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1075
1075
  <ft-typography part="label"
1076
1076
  variant=${this.typographyVariant}
1077
1077
  element="span"
1078
- class="ft-button--label ${Je.isSafari?"ft-safari-ellipsis-fix":""}"
1078
+ class="ft-button--label ${Jt.isSafari?"ft-safari-ellipsis-fix":""}"
1079
1079
  ?hidden=${!this.hasTextContent()}>
1080
1080
  <slot @slotchange=${this.onSlotchange}></slot>
1081
1081
  </ft-typography>
1082
1082
  ${this.resolveIcon()}
1083
- `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?Qe.html`
1083
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?Qt.html`
1084
1084
  <a href="${a}"
1085
- target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
1085
+ target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
1086
1086
  part="button"
1087
1087
  class="${(0,$n.classMap)(this.buttonClasses)}"
1088
- aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
1088
+ aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
1089
1089
  ?disabled=${this.isDisabled()}>
1090
1090
  ${n}
1091
1091
  </a>
1092
- `:Qe.html`
1092
+ `:Qt.html`
1093
1093
  <button part="button"
1094
1094
  class="${(0,$n.classMap)(this.buttonClasses)}"
1095
1095
  aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
1096
1096
  ?disabled=${this.isDisabled()}>
1097
1097
  ${n}
1098
1098
  </button>
1099
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Qe.html`
1099
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Qt.html`
1100
1100
  <ft-tooltip part="tooltip"
1101
1101
  text="${this.getLabel()}"
1102
1102
  position="${this.tooltipPosition}">
1103
- ${t}
1103
+ ${e}
1104
1104
  </ft-tooltip>
1105
- `:t}resolveIcon(){return this.loading?Qe.html`
1106
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Qe.html`
1105
+ `:e}resolveIcon(){return this.loading?Qt.html`
1106
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Qt.html`
1107
1107
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1108
- `:Qe.html`
1108
+ `:Qt.html`
1109
1109
  <slot part="icon" name="icon"></slot>
1110
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(t,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(t,r)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Je.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};nt.elementDefinitions={"ft-ripple":K,"ft-tooltip":it,"ft-typography":ft,"ft-icon":ht,"ft-loader":xr};Pt([(0,wt.property)()],nt.prototype,"href",void 0);Pt([(0,wt.property)()],nt.prototype,"target",void 0);Pt([(0,wt.property)()],nt.prototype,"type",void 0);Pt([(0,wt.property)({type:Boolean})],nt.prototype,"disabled",void 0);Pt([(0,wt.property)()],nt.prototype,"label",void 0);Pt([(0,wt.property)()],nt.prototype,"icon",void 0);Pt([(0,wt.property)()],nt.prototype,"iconVariant",void 0);Pt([(0,wt.property)({type:Boolean})],nt.prototype,"trailingIcon",void 0);Pt([(0,wt.property)({type:Boolean})],nt.prototype,"loading",void 0);Pt([(0,wt.property)({attribute:"aria-label"})],nt.prototype,"ariaLabel",void 0);Pt([(0,wt.property)()],nt.prototype,"tooltipPosition",void 0);Pt([(0,wt.property)({type:Boolean})],nt.prototype,"hideTooltip",void 0);Pt([(0,wt.property)({type:Boolean})],nt.prototype,"forceTooltip",void 0);Pt([(0,wt.property)({type:Boolean})],nt.prototype,"activated",void 0);Pt([(0,wt.query)(".ft-button")],nt.prototype,"button",void 0);Pt([(0,wt.query)(".ft-button--label slot")],nt.prototype,"slottedContent",void 0);Pt([(0,wt.query)("[part=tooltip]")],nt.prototype,"tooltip",void 0);var ei=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ye=class extends nt{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"}};ye.styles=[Ec.safariEllipsisFix,As];ei([(0,mo.property)({type:Boolean})],ye.prototype,"primary",void 0);ei([(0,mo.property)({type:Boolean})],ye.prototype,"outlined",void 0);ei([(0,mo.property)({type:Boolean})],ye.prototype,"dense",void 0);ei([(0,mo.property)({type:Boolean})],ye.prototype,"round",void 0);var bo=m(q());var oi=m(R());var Ac=m(M()),C=m(R());var Rc=[Ac.css`
1110
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(e,o){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,o)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Jt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ne.elementDefinitions={"ft-ripple":K,"ft-tooltip":ie,"ft-typography":fe,"ft-icon":he,"ft-loader":vr};Pe([(0,we.property)()],ne.prototype,"href",void 0);Pe([(0,we.property)()],ne.prototype,"target",void 0);Pe([(0,we.property)()],ne.prototype,"type",void 0);Pe([(0,we.property)({type:Boolean})],ne.prototype,"disabled",void 0);Pe([(0,we.property)()],ne.prototype,"label",void 0);Pe([(0,we.property)()],ne.prototype,"icon",void 0);Pe([(0,we.property)()],ne.prototype,"iconVariant",void 0);Pe([(0,we.property)({type:Boolean})],ne.prototype,"trailingIcon",void 0);Pe([(0,we.property)({type:Boolean})],ne.prototype,"loading",void 0);Pe([(0,we.property)({attribute:"aria-label"})],ne.prototype,"ariaLabel",void 0);Pe([(0,we.property)()],ne.prototype,"tooltipPosition",void 0);Pe([(0,we.property)({type:Boolean})],ne.prototype,"hideTooltip",void 0);Pe([(0,we.property)({type:Boolean})],ne.prototype,"forceTooltip",void 0);Pe([(0,we.property)({type:Boolean})],ne.prototype,"activated",void 0);Pe([(0,we.query)(".ft-button")],ne.prototype,"button",void 0);Pe([(0,we.query)(".ft-button--label slot")],ne.prototype,"slottedContent",void 0);Pe([(0,we.query)("[part=tooltip]")],ne.prototype,"tooltip",void 0);var ti=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},yt=class extends ne{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"}};yt.styles=[Ec.safariEllipsisFix,As];ti([(0,mo.property)({type:Boolean})],yt.prototype,"primary",void 0);ti([(0,mo.property)({type:Boolean})],yt.prototype,"outlined",void 0);ti([(0,mo.property)({type:Boolean})],yt.prototype,"dense",void 0);ti([(0,mo.property)({type:Boolean})],yt.prototype,"round",void 0);var bo=m(q());var oi=m(R());var Ac=m(M()),O=m(R());var Rc=[Ac.css`
1111
1111
  :host {
1112
1112
  display: inline-block;
1113
1113
  max-width: 100%;
@@ -1192,13 +1192,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1192
1192
  /** Brand Primary styles **/
1193
1193
 
1194
1194
  .ftds--family-brand.ft-button--primary {
1195
- ${(0,C.setVariable)(ot.color,f.primaryBrandIconColor)};
1195
+ ${(0,O.setVariable)(oe.color,f.primaryBrandIconColor)};
1196
1196
 
1197
- ${(0,C.setVariable)(w.color,f.primaryBrandStateLayerColor)};
1198
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
1199
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
1200
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
1201
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
1197
+ ${(0,O.setVariable)(w.color,f.primaryBrandStateLayerColor)};
1198
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
1199
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
1200
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
1201
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
1202
1202
 
1203
1203
  background-color: ${f.primaryBrandBackgroundColor};
1204
1204
  color: ${f.primaryBrandColor};
@@ -1216,13 +1216,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1216
1216
  /** Brand Secondary styles **/
1217
1217
 
1218
1218
  .ftds--family-brand.ft-button--secondary {
1219
- ${(0,C.setVariable)(ot.color,f.secondaryBrandIconColor)};
1219
+ ${(0,O.setVariable)(oe.color,f.secondaryBrandIconColor)};
1220
1220
 
1221
- ${(0,C.setVariable)(w.color,f.secondaryBrandStateLayerColor)};
1222
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
1223
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
1224
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
1225
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
1221
+ ${(0,O.setVariable)(w.color,f.secondaryBrandStateLayerColor)};
1222
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
1223
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
1224
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
1225
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
1226
1226
 
1227
1227
  background-color: ${f.secondaryBrandBackgroundColor};
1228
1228
  color: ${f.secondaryBrandColor};
@@ -1241,13 +1241,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1241
1241
  /** Brand Tertiary styles **/
1242
1242
 
1243
1243
  .ftds--family-brand.ft-button--tertiary {
1244
- ${(0,C.setVariable)(ot.color,f.tertiaryBrandIconColor)};
1244
+ ${(0,O.setVariable)(oe.color,f.tertiaryBrandIconColor)};
1245
1245
 
1246
- ${(0,C.setVariable)(w.color,f.tertiaryBrandStateLayerColor)};
1247
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
1248
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
1249
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
1250
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
1246
+ ${(0,O.setVariable)(w.color,f.tertiaryBrandStateLayerColor)};
1247
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
1248
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
1249
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
1250
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
1251
1251
 
1252
1252
  background-color: ${f.tertiaryBrandBackgroundColor};
1253
1253
  color: ${f.tertiaryBrandColor};
@@ -1265,13 +1265,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1265
1265
  /** Neutral Secondary styles **/
1266
1266
 
1267
1267
  .ftds--family-neutral.ft-button--secondary {
1268
- ${(0,C.setVariable)(ot.color,f.secondaryNeutralIconColor)};
1268
+ ${(0,O.setVariable)(oe.color,f.secondaryNeutralIconColor)};
1269
1269
 
1270
- ${(0,C.setVariable)(w.backgroundColor,f.secondaryNeutralStateLayerColor)};
1271
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
1272
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
1273
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
1274
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
1270
+ ${(0,O.setVariable)(w.backgroundColor,f.secondaryNeutralStateLayerColor)};
1271
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
1272
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
1273
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
1274
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
1275
1275
 
1276
1276
  background-color: ${f.secondaryNeutralBackgroundColor};
1277
1277
  color: ${f.secondaryNeutralColor};
@@ -1290,13 +1290,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1290
1290
  /** Neutral Tertiary styles **/
1291
1291
 
1292
1292
  .ftds--family-neutral.ft-button--tertiary {
1293
- ${(0,C.setVariable)(ot.color,f.tertiaryNeutralIconColor)};
1293
+ ${(0,O.setVariable)(oe.color,f.tertiaryNeutralIconColor)};
1294
1294
 
1295
- ${(0,C.setVariable)(w.backgroundColor,f.tertiaryNeutralStateLayerColor)};
1296
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
1297
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
1298
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
1299
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
1295
+ ${(0,O.setVariable)(w.backgroundColor,f.tertiaryNeutralStateLayerColor)};
1296
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
1297
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
1298
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
1299
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
1300
1300
 
1301
1301
  background-color: ${f.tertiaryNeutralBackgroundColor};
1302
1302
  color: ${f.tertiaryNeutralColor};
@@ -1314,13 +1314,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1314
1314
  /** Info Secondary styles **/
1315
1315
 
1316
1316
  .ftds--family-info.ft-button--secondary {
1317
- ${(0,C.setVariable)(ot.color,f.secondaryInfoIconColor)};
1317
+ ${(0,O.setVariable)(oe.color,f.secondaryInfoIconColor)};
1318
1318
 
1319
- ${(0,C.setVariable)(w.backgroundColor,f.secondaryInfoStateLayerColor)};
1320
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
1321
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
1322
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
1323
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
1319
+ ${(0,O.setVariable)(w.backgroundColor,f.secondaryInfoStateLayerColor)};
1320
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
1321
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
1322
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
1323
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
1324
1324
 
1325
1325
  background-color: ${f.secondaryInfoBackgroundColor};
1326
1326
  color: ${f.secondaryInfoColor};
@@ -1339,13 +1339,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1339
1339
  /** Info Tertiary styles **/
1340
1340
 
1341
1341
  .ftds--family-info.ft-button--tertiary {
1342
- ${(0,C.setVariable)(ot.color,f.tertiaryInfoIconColor)};
1342
+ ${(0,O.setVariable)(oe.color,f.tertiaryInfoIconColor)};
1343
1343
 
1344
- ${(0,C.setVariable)(w.backgroundColor,f.tertiaryInfoStateLayerColor)};
1345
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
1346
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
1347
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
1348
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
1344
+ ${(0,O.setVariable)(w.backgroundColor,f.tertiaryInfoStateLayerColor)};
1345
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
1346
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
1347
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
1348
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
1349
1349
 
1350
1350
  background-color: ${f.tertiaryInfoBackgroundColor};
1351
1351
  color: ${f.tertiaryInfoColor};
@@ -1363,13 +1363,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1363
1363
  /** Success Secondary styles **/
1364
1364
 
1365
1365
  .ftds--family-success.ft-button--secondary {
1366
- ${(0,C.setVariable)(ot.color,f.secondarySuccessIconColor)};
1366
+ ${(0,O.setVariable)(oe.color,f.secondarySuccessIconColor)};
1367
1367
 
1368
- ${(0,C.setVariable)(w.backgroundColor,f.secondarySuccessStateLayerColor)};
1369
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
1370
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
1371
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
1372
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
1368
+ ${(0,O.setVariable)(w.backgroundColor,f.secondarySuccessStateLayerColor)};
1369
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
1370
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
1371
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
1372
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
1373
1373
 
1374
1374
  background-color: ${f.secondarySuccessBackgroundColor};
1375
1375
  color: ${f.secondarySuccessColor};
@@ -1388,13 +1388,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1388
1388
  /** Success Tertiary styles **/
1389
1389
 
1390
1390
  .ftds--family-success.ft-button--tertiary {
1391
- ${(0,C.setVariable)(ot.color,f.tertiarySuccessIconColor)};
1391
+ ${(0,O.setVariable)(oe.color,f.tertiarySuccessIconColor)};
1392
1392
 
1393
- ${(0,C.setVariable)(w.backgroundColor,f.tertiarySuccessStateLayerColor)};
1394
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
1395
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
1396
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
1397
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
1393
+ ${(0,O.setVariable)(w.backgroundColor,f.tertiarySuccessStateLayerColor)};
1394
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
1395
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
1396
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
1397
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
1398
1398
 
1399
1399
  background-color: ${f.tertiarySuccessBackgroundColor};
1400
1400
  color: ${f.tertiarySuccessColor};
@@ -1412,13 +1412,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1412
1412
  /** Warning Secondary styles **/
1413
1413
 
1414
1414
  .ftds--family-warning.ft-button--secondary {
1415
- ${(0,C.setVariable)(ot.color,f.secondaryWarningIconColor)};
1415
+ ${(0,O.setVariable)(oe.color,f.secondaryWarningIconColor)};
1416
1416
 
1417
- ${(0,C.setVariable)(w.backgroundColor,f.secondaryWarningStateLayerColor)};
1418
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
1419
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
1420
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
1421
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
1417
+ ${(0,O.setVariable)(w.backgroundColor,f.secondaryWarningStateLayerColor)};
1418
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
1419
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
1420
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
1421
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
1422
1422
 
1423
1423
  background-color: ${f.secondaryWarningBackgroundColor};
1424
1424
  color: ${f.secondaryWarningColor};
@@ -1437,13 +1437,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1437
1437
  /** Warning Tertiary styles **/
1438
1438
 
1439
1439
  .ftds--family-warning.ft-button--tertiary {
1440
- ${(0,C.setVariable)(ot.color,f.tertiaryWarningIconColor)};
1440
+ ${(0,O.setVariable)(oe.color,f.tertiaryWarningIconColor)};
1441
1441
 
1442
- ${(0,C.setVariable)(w.backgroundColor,f.tertiaryWarningStateLayerColor)};
1443
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
1444
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
1445
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
1446
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
1442
+ ${(0,O.setVariable)(w.backgroundColor,f.tertiaryWarningStateLayerColor)};
1443
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
1444
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
1445
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
1446
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
1447
1447
 
1448
1448
  background-color: ${f.tertiaryWarningBackgroundColor};
1449
1449
  color: ${f.tertiaryWarningColor};
@@ -1461,13 +1461,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1461
1461
  /** Error Secondary styles **/
1462
1462
 
1463
1463
  .ftds--family-error.ft-button--secondary {
1464
- ${(0,C.setVariable)(ot.color,f.secondaryErrorIconColor)};
1464
+ ${(0,O.setVariable)(oe.color,f.secondaryErrorIconColor)};
1465
1465
 
1466
- ${(0,C.setVariable)(w.backgroundColor,f.secondaryErrorStateLayerColor)};
1467
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
1468
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
1469
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
1470
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
1466
+ ${(0,O.setVariable)(w.backgroundColor,f.secondaryErrorStateLayerColor)};
1467
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
1468
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
1469
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
1470
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
1471
1471
 
1472
1472
  background-color: ${f.secondaryErrorBackgroundColor};
1473
1473
  color: ${f.secondaryErrorColor};
@@ -1486,13 +1486,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1486
1486
  /** Error Tertiary styles **/
1487
1487
 
1488
1488
  .ftds--family-error.ft-button--tertiary {
1489
- ${(0,C.setVariable)(ot.color,f.tertiaryErrorIconColor)};
1489
+ ${(0,O.setVariable)(oe.color,f.tertiaryErrorIconColor)};
1490
1490
 
1491
- ${(0,C.setVariable)(w.backgroundColor,f.tertiaryErrorStateLayerColor)};
1492
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
1493
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
1494
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
1495
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
1491
+ ${(0,O.setVariable)(w.backgroundColor,f.tertiaryErrorStateLayerColor)};
1492
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
1493
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
1494
+ ${(0,O.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
1495
+ ${(0,O.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
1496
1496
 
1497
1497
  background-color: ${f.tertiaryErrorBackgroundColor};
1498
1498
  color: ${f.tertiaryErrorColor};
@@ -1510,8 +1510,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1510
1510
  /** Large styles **/
1511
1511
 
1512
1512
  .ftds--size-large {
1513
- ${(0,C.setVariable)(St.size,f.largeIconSize)};
1514
- ${(0,C.setVariable)(ot.size,f.largeIconSize)};
1513
+ ${(0,O.setVariable)(Se.size,f.largeIconSize)};
1514
+ ${(0,O.setVariable)(oe.size,f.largeIconSize)};
1515
1515
 
1516
1516
  height: ${f.largeHeight};
1517
1517
  padding: 0 ${f.largeHorizontalPadding};
@@ -1532,8 +1532,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1532
1532
  /** Small styles **/
1533
1533
 
1534
1534
  .ftds--size-medium {
1535
- ${(0,C.setVariable)(St.size,f.mediumIconSize)};
1536
- ${(0,C.setVariable)(ot.size,f.mediumIconSize)};
1535
+ ${(0,O.setVariable)(Se.size,f.mediumIconSize)};
1536
+ ${(0,O.setVariable)(oe.size,f.mediumIconSize)};
1537
1537
 
1538
1538
  height: ${f.mediumHeight};
1539
1539
  padding: 0 ${f.mediumHorizontalPadding};
@@ -1555,8 +1555,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1555
1555
  /** Small styles **/
1556
1556
 
1557
1557
  .ftds--size-small {
1558
- ${(0,C.setVariable)(St.size,f.smallIconSize)};
1559
- ${(0,C.setVariable)(ot.size,f.smallIconSize)};
1558
+ ${(0,O.setVariable)(Se.size,f.smallIconSize)};
1559
+ ${(0,O.setVariable)(oe.size,f.smallIconSize)};
1560
1560
 
1561
1561
  height: ${f.smallHeight};
1562
1562
  padding: 0 ${f.smallHorizontalPadding};
@@ -1573,15 +1573,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1573
1573
  .ftds--size-small.ft-button--icon-only {
1574
1574
  width: ${f.smallIconOnlyWidth};
1575
1575
  }
1576
- `,C.noTextSelect];var ri=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ue=class extends(0,oi.toFtdsBase)(nt){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Do.brand,this.iconVariant=$t.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Rr.large:return qe.body2medium;case Rr.medium:return qe.caption1medium;case Rr.small:return qe.caption2medium}}};Ue.styles=[oi.safariEllipsisFix,Rc];ri([(0,bo.property)({type:Boolean})],Ue.prototype,"primary",void 0);ri([(0,bo.property)({type:Boolean})],Ue.prototype,"secondary",void 0);ri([(0,bo.property)({type:Boolean})],Ue.prototype,"tertiary",void 0);ri([(0,bo.property)({type:Boolean})],Ue.prototype,"round",void 0);(0,Bn.customElement)("ft-button")(ye);(0,Bn.customElement)("ftds-button")(Ue);var Bd=m(R());var Ri=m(M()),Ti=m(q()),Ii=m(R());var Tc=m(M());var Ic=Tc.css`
1577
- `;var Ai=m(R());var Nd=m(R());var Pc=m(M()),Xt=m(q()),ge=m(R());var _c=m(M());var Nc=_c.css`
1578
- `;var ii=m(R()),Bp="ft-app-info",Mn=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Mp={session:(e,t)=>{(0,ii.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>T.dispatchEvent(new Mn(t.payload)),0))}},T=ii.FtReduxStore.get({name:Bp,reducers:Mp,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Re=m(R());var Fn=m(R());var Sr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=T.getState(),n=t??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(t){return new Promise(r=>{let i=e.get(t);if(i)r(i);else{let n=T.subscribe(()=>{i=e.get(t),i&&(n(),r(i))})}})}};var vo=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Sr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Sr.await()}};var Ae=class extends vo{constructor(t=!0,r){var i;super(r);let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Fn.CacheRegistry,this.cache=t?n.commonCache:new Fn.CacheRegistry}clearCache(){this.cache.clearAll()}};var Lc,Fp=Symbol("clearAfterUnitTest"),ni=class extends Ae{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Lc]=()=>{this.defaultMessages={},this.cache=new Re.CacheRegistry,this.listeners={}},this.currentUiLocale=T.getState().uiLocale,T.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=T.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var i;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...r};(0,Re.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,i;return this.fetchContext(t),(i=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(t,r){let i=t.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(t,r,...i){var n;let a=t.toLowerCase(),s=this.resolveContext(a);return new Re.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(t){let r=!this.cache.has(t),i;try{i=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t))}catch(n){!(n instanceof Re.CanceledPromiseError)&&r&&console.error(n)}return r&&await this.notify(t),i}subscribe(t,r){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(r),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,Re.delay)(0).then(()=>r()).catch(()=>null)))}};Lc=Fp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ni{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ni{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Gr=window.FluidTopicsI18nService,ai=window.FluidTopicsCustomI18nService;var Bt=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},dt=class extends ge.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=()=>Sr.get(),this.messageContexts=[],this.cache=new ge.CacheRegistry,this.cleanSessionDebouncer=new ge.Debouncer}render(){return Pc.html`
1576
+ `,O.noTextSelect];var ri=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Ut=class extends(0,oi.toFtdsBase)(ne){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Do.brand,this.iconVariant=$e.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Rr.large:return qt.body2medium;case Rr.medium:return qt.caption1medium;case Rr.small:return qt.caption2medium}}};Ut.styles=[oi.safariEllipsisFix,Rc];ri([(0,bo.property)({type:Boolean})],Ut.prototype,"primary",void 0);ri([(0,bo.property)({type:Boolean})],Ut.prototype,"secondary",void 0);ri([(0,bo.property)({type:Boolean})],Ut.prototype,"tertiary",void 0);ri([(0,bo.property)({type:Boolean})],Ut.prototype,"round",void 0);(0,Bn.customElement)("ft-button")(yt);(0,Bn.customElement)("ftds-button")(Ut);var Bd=m(R());var Ri=m(M()),Ti=m(q()),Ii=m(R());var Tc=m(M());var Ic=Tc.css`
1577
+ `;var Ai=m(R());var Nd=m(R());var Pc=m(M()),Xe=m(q()),gt=m(R());var _c=m(M());var Nc=_c.css`
1578
+ `;var ii=m(R()),Bp="ft-app-info",Mn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Mp={session:(t,e)=>{(0,ii.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>T.dispatchEvent(new Mn(e.payload)),0))}},T=ii.FtReduxStore.get({name:Bp,reducers:Mp,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Rt=m(R());var Fn=m(R());var Sr=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:i}=T.getState(),n=e??i;if(o&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,n,!0)}static await(e){return new Promise(o=>{let i=t.get(e);if(i)o(i);else{let n=T.subscribe(()=>{i=t.get(e),i&&(n(),o(i))})}})}};var xo=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Sr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Sr.await()}};var At=class extends xo{constructor(e=!0,o){var i;super(o);let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Fn.CacheRegistry,this.cache=e?n.commonCache:new Fn.CacheRegistry}clearCache(){this.cache.clearAll()}};var Lc,Fp=Symbol("clearAfterUnitTest"),ni=class extends At{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Lc]=()=>{this.defaultMessages={},this.cache=new Rt.CacheRegistry,this.listeners={}},this.currentUiLocale=T.getState().uiLocale,T.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=T.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var i;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...o};(0,Rt.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,i;return this.fetchContext(e),(i=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,o){let i=e.toLowerCase();return this.resolveContext(i)[o]}resolveMessage(e,o,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Rt.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(o,...i)}async fetchContext(e){let o=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(n){!(n instanceof Rt.CanceledPromiseError)&&o&&console.error(n)}return o&&await this.notify(e),i}subscribe(e,o){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(o),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,Rt.delay)(0).then(()=>o()).catch(()=>null)))}};Lc=Fp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ni{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ni{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var jr=window.FluidTopicsI18nService,ai=window.FluidTopicsCustomI18nService;var Be=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},de=class extends gt.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=()=>Sr.get(),this.messageContexts=[],this.cache=new gt.CacheRegistry,this.cleanSessionDebouncer=new gt.Debouncer}render(){return Pc.html`
1579
1579
  <slot></slot>
1580
- `}update(t){var r,i,n,a,s;super.update(t),t.has("baseUrl")&&(T.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&T.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&T.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&T.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&T.actions.noCustom(this.noCustom),t.has("editorMode")&&T.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&T.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&T.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>Gr.addContext(c)),t.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(T.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),T.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),T.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};dt.elementDefinitions={};dt.styles=Nc;Bt([(0,Xt.property)()],dt.prototype,"baseUrl",void 0);Bt([(0,Xt.property)()],dt.prototype,"apiIntegrationIdentifier",void 0);Bt([(0,Xt.property)()],dt.prototype,"uiLocale",void 0);Bt([(0,ge.jsonProperty)(null)],dt.prototype,"availableUiLocales",void 0);Bt([(0,ge.jsonProperty)(null)],dt.prototype,"metadataConfiguration",void 0);Bt([(0,Xt.property)({type:Boolean})],dt.prototype,"editorMode",void 0);Bt([(0,Xt.property)({type:Boolean})],dt.prototype,"noCustom",void 0);Bt([(0,Xt.property)({type:Boolean})],dt.prototype,"openExternalDocumentInNewTab",void 0);Bt([(0,Xt.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],dt.prototype,"noCustomComponent",void 0);Bt([(0,Xt.property)({type:Boolean})],dt.prototype,"withManualResources",void 0);Bt([(0,Xt.property)({type:Boolean})],dt.prototype,"navigatorOnline",void 0);Bt([(0,Xt.property)({type:Boolean})],dt.prototype,"forcedOffline",void 0);Bt([(0,Xt.property)({type:Object})],dt.prototype,"apiProvider",void 0);Bt([(0,ge.jsonProperty)([])],dt.prototype,"messageContexts",void 0);Bt([(0,ge.jsonProperty)(void 0)],dt.prototype,"session",void 0);Bt([(0,Xt.state)()],dt.prototype,"localesConfiguration",void 0);var Au=m(q());function Up(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,i,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(i=r;i--!==0;)if(!si(e[i],t[i]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i of e.entries())if(!t.has(i[0]))return!1;for(i of e.entries())if(!si(i[1],t.get(i[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i of e.entries())if(!t.has(i[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(c=>s[c]!=null);if(n=a(e),r=n.length,r!==a(t).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!si(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function si(e,t){try{return Up(e,t)}catch{return!1}}function li(e,t){return!si(e,t)}var Wp=m(q(),1);var ci=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(i=>i.type===t);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};var Kr=m(q(),1);var kc=m(q(),1);function Dc(e,t){let r=()=>JSON.parse(JSON.stringify(e));return(0,kc.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:li,...t??{}})}var di=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let i=[...this.callbacks];this.callbacks=[];let n=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(c){n(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bc=m(M(),1);var pi=globalThis,Hp=pi.ShadowRoot&&(pi.ShadyCSS===void 0||pi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i0=Symbol();var $c=(e,t)=>{if(Hp)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let i=document.createElement("style"),n=pi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,e.appendChild(i)}};var ui=class extends Bc.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([n,a])=>t.registry.define(n,a)));let r={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return $c(i,t.elementStyles),i}};function Mc(e,t,...r){var i;let n=e.querySelector(t);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}var xo=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Hc,Fc=Symbol("constructorPrototype"),Uc=Symbol("constructorName"),zc=Symbol("exportpartsDebouncer"),Wc=Symbol("dynamicDependenciesLoaded"),We=class extends ui{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Hc]=new di(5),this[Uc]=this.constructor.name,this[Fc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Uc]&&Object.setPrototypeOf(this,this[Fc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let t=this.constructor;t[Wc]||(t[Wc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=Mc(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,r,i;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[zc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,i,n,a,s,c;let u=b=>b!=null&&b.trim().length>0,p=t.filter(u).map(b=>b.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let v=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(c=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...v,...S).filter(u).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(b=>p.map(v=>`${b}:${v}--${b}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Hc=zc;xo([(0,Kr.property)()],We.prototype,"exportpartsPrefix",void 0);xo([Dc([])],We.prototype,"exportpartsPrefixes",void 0);xo([(0,Kr.property)()],We.prototype,"customStylesheet",void 0);xo([(0,Kr.property)()],We.prototype,"elementToFocus",void 0);xo([(0,Kr.state)()],We.prototype,"useAdoptedStyleSheets",void 0);function So(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var jc,Vc,Gc,Oo=Symbol("internalReduxEventsUnsubscribers"),tr=Symbol("internalStoresUnsubscribers"),Or=Symbol("internalStores"),Co=class extends We{constructor(){super(...arguments),this[jc]=new Map,this[Vc]=new Map,this[Gc]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Or].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Or].get(t)}addStore(t,r){var i;r=(i=r??(So(t)?t.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this[Or].set(r,t),this.subscribeToStore(r,t),this.updateFromStores()}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[Or].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Or].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(t.store);n&&(t.store?this[tr].has(t.store):this[tr].size>0)&&(this[r]=t.selector(n.getState(),this))}})}subscribeToStore(t,r){var i;this[tr].set(t,r.subscribe(()=>this.updateFromStores())),this[Oo].set(t,[]),So(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let s=c=>this[a](c);r.addEventListener(n.eventName,s),this[Oo].get(t).push(()=>r.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[tr].forEach((t,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(t){var r;this[tr].has(t)&&this[tr].get(t)(),this[tr].delete(t),(r=this[Oo].get(t))===null||r===void 0||r.forEach(i=>i()),this[Oo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};jc=tr,Vc=Or,Gc=Oo;Co.reduxProperties=new Map;Co.reduxReactiveProperties=new Set;Co.reduxEventListeners=new Map;function se(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function He(e){return!!e&&!!e[at]}function me(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Yp}(e)||Array.isArray(e)||!!e[Jc]||!!(!((t=e.constructor)===null||t===void 0)&&t[Jc])||Zn(e)||qn(e))}function Cr(e,t,r){r===void 0&&(r=!1),Yr(e)===0?(r?Object.keys:qr)(e).forEach(function(i){r&&typeof i=="symbol"||t(i,e[i],e)}):e.forEach(function(i,n){return t(n,i,e)})}function Yr(e){var t=e[at];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Zn(e)?2:qn(e)?3:0}function Zr(e,t){return Yr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function zp(e,t){return Yr(e)===2?e.get(t):e[t]}function td(e,t,r){var i=Yr(e);i===2?e.set(t,r):i===3?e.add(r):e[t]=r}function ed(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Zn(e){return Zp&&e instanceof Map}function qn(e){return qp&&e instanceof Set}function er(e){return e.o||e.t}function Yn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=id(e);delete t[at];for(var r=qr(t),i=0;i<r.length;i++){var n=r[i],a=t[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[n]})}return Object.create(Object.getPrototypeOf(e),t)}function Xn(e,t){return t===void 0&&(t=!1),Qn(e)||He(e)||!me(e)||(Yr(e)>1&&(e.set=e.add=e.clear=e.delete=jp),Object.freeze(e),t&&Cr(e,function(r,i){return Xn(i,!0)},!0)),e}function jp(){se(2)}function Qn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Te(e){var t=Kn[e];return t||se(18,e),t}function Vp(e,t){Kn[e]||(Kn[e]=t)}function jn(){return Eo}function Un(e,t){t&&(Te("Patches"),e.u=[],e.s=[],e.v=t)}function fi(e){Vn(e),e.p.forEach(Gp),e.p=null}function Vn(e){e===Eo&&(Eo=e.l)}function Kc(e){return Eo={p:[],l:Eo,h:e,m:!0,_:0}}function Gp(e){var t=e[at];t.i===0||t.i===1?t.j():t.g=!0}function Wn(e,t){t._=t.p.length;var r=t.p[0],i=e!==void 0&&e!==r;return t.h.O||Te("ES5").S(t,e,i),i?(r[at].P&&(fi(t),se(4)),me(e)&&(e=hi(t,e),t.l||yi(t,e)),t.u&&Te("Patches").M(r[at].t,e,t.u,t.s)):e=hi(t,r,[]),fi(t),t.u&&t.v(t.u,t.s),e!==od?e:void 0}function hi(e,t,r){if(Qn(t))return t;var i=t[at];if(!i)return Cr(t,function(c,u){return Zc(e,i,t,c,u,r)},!0),t;if(i.A!==e)return t;if(!i.P)return yi(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Yn(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Cr(a,function(c,u){return Zc(e,i,n,c,u,r,s)}),yi(e,n,!1),r&&e.u&&Te("Patches").N(i,r,e.u,e.s)}return i.o}function Zc(e,t,r,i,n,a,s){if(He(n)){var c=hi(e,n,a&&t&&t.i!==3&&!Zr(t.R,i)?a.concat(i):void 0);if(td(r,i,c),!He(c))return;e.m=!1}else s&&r.add(n);if(me(n)&&!Qn(n)){if(!e.h.D&&e._<1)return;hi(e,n),t&&t.A.l||yi(e,n)}}function yi(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Xn(t,r)}function Hn(e,t){var r=e[at];return(r?er(r):e)[t]}function qc(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var i=Object.getOwnPropertyDescriptor(r,t);if(i)return i;r=Object.getPrototypeOf(r)}}function rr(e){e.P||(e.P=!0,e.l&&rr(e.l))}function zn(e){e.o||(e.o=Yn(e.t))}function Gn(e,t,r){var i=Zn(t)?Te("MapSet").F(t,r):qn(t)?Te("MapSet").T(t,r):e.O?function(n,a){var s=Array.isArray(n),c={i:s?1:0,A:a?a.A:jn(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},u=c,p=Ao;s&&(u=[c],p=wo);var h=Proxy.revocable(u,p),y=h.revoke,b=h.proxy;return c.k=b,c.j=y,b}(t,r):Te("ES5").J(t,r);return(r?r.A:jn()).p.push(i),i}function Kp(e){return He(e)||se(22,e),function t(r){if(!me(r))return r;var i,n=r[at],a=Yr(r);if(n){if(!n.P&&(n.i<4||!Te("ES5").K(n)))return n.t;n.I=!0,i=Yc(r,a),n.I=!1}else i=Yc(r,a);return Cr(i,function(s,c){n&&zp(n.t,s)===c||td(i,s,t(c))}),a===3?new Set(i):i}(e)}function Yc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Yn(e)}function rd(){function e(s,c){var u=a[s];return u?u.enumerable=c:a[s]=u={configurable:!0,enumerable:c,get:function(){var p=this[at];return Ao.get(p,s)},set:function(p){var h=this[at];Ao.set(h,s,p)}},u}function t(s){for(var c=s.length-1;c>=0;c--){var u=s[c][at];if(!u.P)switch(u.i){case 5:i(u)&&rr(u);break;case 4:r(u)&&rr(u)}}}function r(s){for(var c=s.t,u=s.k,p=qr(u),h=p.length-1;h>=0;h--){var y=p[h];if(y!==at){var b=c[y];if(b===void 0&&!Zr(c,y))return!0;var v=u[y],S=v&&v[at];if(S?S.t!==b:!ed(v,b))return!0}}var O=!!c[at];return p.length!==qr(c).length+(O?0:1)}function i(s){var c=s.k;if(c.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(c,c.length-1);if(u&&!u.get)return!0;for(var p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&se(3,JSON.stringify(er(s)))}var a={};Vp("ES5",{J:function(s,c){var u=Array.isArray(s),p=function(y,b){if(y){for(var v=Array(b.length),S=0;S<b.length;S++)Object.defineProperty(v,""+S,e(S,!0));return v}var O=id(b);delete O[at];for(var N=qr(O),I=0;I<N.length;I++){var _=N[I];O[_]=e(_,y||!!O[_].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(u,s),h={i:u?5:4,A:c?c.A:jn(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,at,{value:h,writable:!0}),p},S:function(s,c,u){u?He(c)&&c[at].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var y=h[at];if(y){var b=y.t,v=y.k,S=y.R,O=y.i;if(O===4)Cr(v,function(H){H!==at&&(b[H]!==void 0||Zr(b,H)?S[H]||p(v[H]):(S[H]=!0,rr(y)))}),Cr(b,function(H){v[H]!==void 0||Zr(v,H)||(S[H]=!1,rr(y))});else if(O===5){if(i(y)&&(rr(y),S.length=!0),v.length<b.length)for(var N=v.length;N<b.length;N++)S[N]=!1;else for(var I=b.length;I<v.length;I++)S[I]=!0;for(var _=Math.min(v.length,b.length),$=0;$<_;$++)v.hasOwnProperty($)||(S[$]=!0),S[$]===void 0&&p(v[$])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var Xc,Eo,Jn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Zp=typeof Map<"u",qp=typeof Set<"u",Qc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",od=Jn?Symbol.for("immer-nothing"):((Xc={})["immer-nothing"]=!0,Xc),Jc=Jn?Symbol.for("immer-draftable"):"__$immer_draftable",at=Jn?Symbol.for("immer-state"):"__$immer_state";var Yp=""+Object.prototype.constructor,qr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,id=Object.getOwnPropertyDescriptors||function(e){var t={};return qr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Kn={},Ao={get:function(e,t){if(t===at)return e;var r=er(e);if(!Zr(r,t))return function(n,a,s){var c,u=qc(a,s);return u?"value"in u?u.value:(c=u.get)===null||c===void 0?void 0:c.call(n.k):void 0}(e,r,t);var i=r[t];return e.I||!me(i)?i:i===Hn(e.t,t)?(zn(e),e.o[t]=Gn(e.A.h,i,e)):i},has:function(e,t){return t in er(e)},ownKeys:function(e){return Reflect.ownKeys(er(e))},set:function(e,t,r){var i=qc(er(e),t);if(i?.set)return i.set.call(e.k,r),!0;if(!e.P){var n=Hn(er(e),t),a=n?.[at];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(ed(r,n)&&(r!==void 0||Zr(e.t,t)))return!0;zn(e),rr(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Hn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,zn(e),rr(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=er(e),i=Reflect.getOwnPropertyDescriptor(r,t);return i&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:i.enumerable,value:r[t]}},defineProperty:function(){se(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){se(12)}},wo={};Cr(Ao,function(e,t){wo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),wo.deleteProperty=function(e,t){return wo.set.call(this,e,t,void 0)},wo.set=function(e,t,r){return Ao.set.call(this,e[0],t,r,e[0])};var Xp=function(){function e(r){var i=this;this.O=Qc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var c=a;a=n;var u=i;return function(O){var N=this;O===void 0&&(O=c);for(var I=arguments.length,_=Array(I>1?I-1:0),$=1;$<I;$++)_[$-1]=arguments[$];return u.produce(O,function(H){var z;return(z=a).call.apply(z,[N,H].concat(_))})}}var p;if(typeof a!="function"&&se(6),s!==void 0&&typeof s!="function"&&se(7),me(n)){var h=Kc(i),y=Gn(i,n,void 0),b=!0;try{p=a(y),b=!1}finally{b?fi(h):Vn(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return Un(h,s),Wn(O,h)},function(O){throw fi(h),O}):(Un(h,s),Wn(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===od&&(p=void 0),i.D&&Xn(p,!0),s){var v=[],S=[];Te("Patches").M(n,p,v,S),s(v,S)}return p}se(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,y=Array(h>1?h-1:0),b=1;b<h;b++)y[b-1]=arguments[b];return i.produceWithPatches(p,function(v){return n.apply(void 0,[v].concat(y))})};var s,c,u=i.produce(n,a,function(p,h){s=p,c=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,s,c]}):[u,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){me(r)||se(8),He(r)&&(r=Kp(r));var i=Kc(this),n=Gn(this,r,void 0);return n[at].C=!0,Vn(i),n},t.finishDraft=function(r,i){var n=r&&r[at],a=n.A;return Un(a,i),Wn(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Qc&&se(20),this.O=r},t.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Te("Patches").$;return He(r)?s(r,i):this.produce(r,function(c){return s(c,i)})},e}(),ee=new Xp,Qp=ee.produce,b0=ee.produceWithPatches.bind(ee),v0=ee.setAutoFreeze.bind(ee),x0=ee.setUseProxies.bind(ee),S0=ee.applyPatches.bind(ee),O0=ee.createDraft.bind(ee),C0=ee.finishDraft.bind(ee),gi=Qp;function wr(e){"@babel/helpers - typeof";return wr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wr(e)}function nd(e,t){if(wr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(wr(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ad(e){var t=nd(e,"string");return wr(t)=="symbol"?t:t+""}function sd(e,t,r){return(t=ad(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ld(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function ta(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ld(Object(r),!0).forEach(function(i){sd(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ld(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Mt(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var cd=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ea=function(){return Math.random().toString(36).substring(7).split("").join(".")},mi={INIT:"@@redux/INIT"+ea(),REPLACE:"@@redux/REPLACE"+ea(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ea()}};function Jp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ra(e,t,r){var i;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Mt(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Mt(1));return r(ra)(e,t)}if(typeof e!="function")throw new Error(Mt(2));var n=e,a=t,s=[],c=s,u=!1;function p(){c===s&&(c=s.slice())}function h(){if(u)throw new Error(Mt(3));return a}function y(O){if(typeof O!="function")throw new Error(Mt(4));if(u)throw new Error(Mt(5));var N=!0;return p(),c.push(O),function(){if(N){if(u)throw new Error(Mt(6));N=!1,p();var _=c.indexOf(O);c.splice(_,1),s=null}}}function b(O){if(!Jp(O))throw new Error(Mt(7));if(typeof O.type>"u")throw new Error(Mt(8));if(u)throw new Error(Mt(9));try{u=!0,a=n(a,O)}finally{u=!1}for(var N=s=c,I=0;I<N.length;I++){var _=N[I];_()}return O}function v(O){if(typeof O!="function")throw new Error(Mt(10));n=O,b({type:mi.REPLACE})}function S(){var O,N=y;return O={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(Mt(11));function $(){_.next&&_.next(h())}$();var H=N($);return{unsubscribe:H}}},O[cd]=function(){return this},O}return b({type:mi.INIT}),i={dispatch:b,subscribe:y,getState:h,replaceReducer:v},i[cd]=S,i}function tu(e){Object.keys(e).forEach(function(t){var r=e[t],i=r(void 0,{type:mi.INIT});if(typeof i>"u")throw new Error(Mt(12));if(typeof r(void 0,{type:mi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Mt(13))})}function dd(e){for(var t=Object.keys(e),r={},i=0;i<t.length;i++){var n=t[i];typeof e[n]=="function"&&(r[n]=e[n])}var a=Object.keys(r),s,c;try{tu(r)}catch(u){c=u}return function(p,h){if(p===void 0&&(p={}),c)throw c;if(0)var y;for(var b=!1,v={},S=0;S<a.length;S++){var O=a[S],N=r[O],I=p[O],_=N(I,h);if(typeof _>"u"){var $=h&&h.type;throw new Error(Mt(14))}v[O]=_,b=b||_!==I}return b=b||a.length!==Object.keys(p).length,b?v:p}}function Xr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(i){return i}:t.length===1?t[0]:t.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function pd(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Mt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(u){return u(s)});return a=Xr.apply(void 0,c)(n.dispatch),ta(ta({},n),{},{dispatch:a})}}}function ud(e){var t=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(c){return typeof c=="function"?c(n,a,e):s(c)}}};return t}var fd=ud();fd.withExtraArgument=ud;var oa=fd;var bd=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function i(){this.constructor=t}t.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),eu=function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(p){return function(h){return u([p,h])}}function u(p){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,n=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=t.call(e,r)}catch(h){p=[6,h],n=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Qr=function(e,t){for(var r=0,i=t.length,n=e.length;r<i;r++,n++)e[n]=t[r];return e},ru=Object.defineProperty,ou=Object.defineProperties,iu=Object.getOwnPropertyDescriptors,hd=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,au=Object.prototype.propertyIsEnumerable,yd=function(e,t,r){return t in e?ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},or=function(e,t){for(var r in t||(t={}))nu.call(t,r)&&yd(e,r,t[r]);if(hd)for(var i=0,n=hd(t);i<n.length;i++){var r=n[i];au.call(t,r)&&yd(e,r,t[r])}return e},ia=function(e,t){return ou(e,iu(t))},su=function(e,t,r){return new Promise(function(i,n){var a=function(u){try{c(r.next(u))}catch(p){n(p)}},s=function(u){try{c(r.throw(u))}catch(p){n(p)}},c=function(u){return u.done?i(u.value):Promise.resolve(u.value).then(a,s)};c((r=r.apply(e,t)).next())})};var lu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xr:Xr.apply(null,arguments)},W0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function cu(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var du=function(e){bd(t,e);function t(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=e.apply(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Qr([void 0],r[0].concat(this)))):new(t.bind.apply(t,Qr([void 0],r.concat(this))))},t}(Array),pu=function(e){bd(t,e);function t(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=e.apply(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Qr([void 0],r[0].concat(this)))):new(t.bind.apply(t,Qr([void 0],r.concat(this))))},t}(Array);function sa(e){return me(e)?gi(e,function(){}):e}function uu(e){return typeof e=="boolean"}function fu(){return function(t){return hu(t)}}function hu(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,i=e.immutableCheck,n=i===void 0?!0:i,a=e.serializableCheck,s=a===void 0?!0:a,c=new du;if(r&&(uu(r)?c.push(oa):c.push(oa.withExtraArgument(r.extraArgument))),0){if(n)var u;if(s)var p}return c}var na=!0;function vd(e){var t=fu(),r=e||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?t():a,c=r.devTools,u=c===void 0?!0:c,p=r.preloadedState,h=p===void 0?void 0:p,y=r.enhancers,b=y===void 0?void 0:y,v;if(typeof n=="function")v=n;else if(cu(n))v=dd(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(t),!na&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!na&&S.some(function(H){return typeof H!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=pd.apply(void 0,S),N=Xr;u&&(N=lu(or({trace:!na},typeof u=="object"&&u)));var I=new pu(O),_=I;Array.isArray(b)?_=Qr([O],b):typeof b=="function"&&(_=b(I));var $=N.apply(void 0,_);return ra(v,h,$)}function ir(e,t){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(t){var a=t.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return or(or({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:i[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(i){return i.type===e},r}function xd(e){var t={},r=[],i,n={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return e(n),[t,r,i]}function yu(e){return typeof e=="function"}function gu(e,t,r,i){r===void 0&&(r=[]);var n=typeof t=="function"?xd(t):[t,r,i],a=n[0],s=n[1],c=n[2],u;if(yu(e))u=function(){return sa(e())};else{var p=sa(e);u=function(){return p}}function h(y,b){y===void 0&&(y=u());var v=Qr([a[b.type]],s.filter(function(S){var O=S.matcher;return O(b)}).map(function(S){var O=S.reducer;return O}));return v.filter(function(S){return!!S}).length===0&&(v=[c]),v.reduce(function(S,O){if(O)if(He(S)){var N=S,I=O(N,b);return I===void 0?S:I}else{if(me(S))return gi(S,function(_){return O(_,b)});var I=O(S,b);if(I===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return S},y)}return h.getInitialState=u,h}function mu(e,t){return e+"/"+t}function Sd(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:sa(e.initialState),i=e.reducers||{},n=Object.keys(i),a={},s={},c={};n.forEach(function(h){var y=i[h],b=mu(t,h),v,S;"reducer"in y?(v=y.reducer,S=y.prepare):v=y,a[h]=v,s[b]=v,c[h]=S?ir(b,S):ir(b)});function u(){var h=typeof e.extraReducers=="function"?xd(e.extraReducers):[e.extraReducers],y=h[0],b=y===void 0?{}:y,v=h[1],S=v===void 0?[]:v,O=h[2],N=O===void 0?void 0:O,I=or(or({},b),s);return gu(r,function(_){for(var $ in I)_.addCase($,I[$]);for(var H=0,z=S;H<z.length;H++){var Gt=z[H];_.addMatcher(Gt.matcher,Gt.reducer)}N&&_.addDefaultCase(N)})}var p;return{name:t,reducer:function(h,y){return p||(p=u()),p(h,y)},actions:c,caseReducers:a,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var bu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",vu=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=bu[Math.random()*64|0];return t},xu=["name","message","stack","code"],aa=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),gd=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Su=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,i=xu;r<i.length;r++){var n=i[r];typeof e[n]=="string"&&(t[n]=e[n])}return t}return{message:String(e)}},V0=function(){function e(t,r,i){var n=ir(t+"/fulfilled",function(h,y,b,v){return{payload:h,meta:ia(or({},v||{}),{arg:b,requestId:y,requestStatus:"fulfilled"})}}),a=ir(t+"/pending",function(h,y,b){return{payload:void 0,meta:ia(or({},b||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),s=ir(t+"/rejected",function(h,y,b,v,S){return{payload:v,error:(i&&i.serializeError||Su)(h||"Rejected"),meta:ia(or({},S||{}),{arg:b,requestId:y,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,u=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(y,b,v){var S=i?.idGenerator?i.idGenerator(h):vu(),O=new u,N,I=!1;function _(H){N=H,O.abort()}var $=function(){return su(this,null,function(){var H,z,Gt,xe,Wt,Se,Tt;return eu(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),xe=(H=i?.condition)==null?void 0:H.call(i,h,{getState:b,extra:v}),Cu(xe)?[4,xe]:[3,2];case 1:xe=g.sent(),g.label=2;case 2:if(xe===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,Wt=new Promise(function(x,P){return O.signal.addEventListener("abort",function(){return P({name:"AbortError",message:N||"Aborted"})})}),y(a(S,h,(z=i?.getPendingMeta)==null?void 0:z.call(i,{requestId:S,arg:h},{getState:b,extra:v}))),[4,Promise.race([Wt,Promise.resolve(r(h,{dispatch:y,getState:b,extra:v,requestId:S,signal:O.signal,abort:_,rejectWithValue:function(x,P){return new aa(x,P)},fulfillWithValue:function(x,P){return new gd(x,P)}})).then(function(x){if(x instanceof aa)throw x;return x instanceof gd?n(x.payload,S,h,x.meta):n(x,S,h)})])];case 3:return Gt=g.sent(),[3,5];case 4:return Se=g.sent(),Gt=Se instanceof aa?s(null,S,h,Se.payload,Se.meta):s(Se,S,h),[3,5];case 5:return Tt=i&&!i.dispatchConditionRejection&&s.match(Gt)&&Gt.meta.condition,Tt||y(Gt),[2,Gt]}})})}();return Object.assign($,{abort:_,requestId:S,arg:h,unwrap:function(){return $.then(Ou)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:t})}return e.withTypes=function(){return e},e}();function Ou(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Cu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Od="listener",Cd="completed",wd="cancelled",G0="task-"+wd,K0="task-"+Cd,Z0=Od+"-"+wd,q0=Od+"-"+Cd;var la="listenerMiddleware";var Y0=ir(la+"/add"),X0=ir(la+"/removeAll"),Q0=ir(la+"/remove");var md,J0=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(md||(md=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},wu=function(e){return function(t){setTimeout(t,e)}},tS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:wu(10);rd();function Eu(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}var bi=class extends Eu(Object){};window.ftReduxStores||(window.ftReduxStores={});var Ed=class e extends bi{static get(t){var r;let i=typeof t=="string"?t:t.name,n=typeof t=="string"?void 0:t,a=window.ftReduxStores[i];if(So(a))return a;if(n==null)return;let s=Sd({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=vd({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:s.reducer(u,p)});return window.ftReduxStores[n.name]=new e(s,c,n.eventBus)}constructor(t,r,i){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new ci;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let u=s,p=a[u];return p?(...h)=>{let y=p(...h.map(n));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[u]:n(h)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Oi=m(R());var vi=class extends Ae{async listMySearches(){let{session:t}=T.getState();return Ne(t,et.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var xi=class extends Ae{async listMyBookmarks(){let t=T.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Ru="ft-user-assets",Si=Oi.FtReduxStore.get({name:Ru,initialState:{savedSearches:void 0,bookmarks:void 0}}),ca=class{constructor(){this.currentSession=T.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xi,this.savedSearchesService=new vi,T.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=T.getState();(0,Oi.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Si.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Si.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Si.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Si.actions.bookmarks(r)}}},Ad=new ca;var da=class{addCommand(t,r=!1){T.commands.add(t,r)}consumeCommand(t){return T.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new da;var Rd=m(R()),pa=class{highlightHtml(t,r,i){(0,Rd.highlightHtml)(t,r,i)}};window.FluidTopicsHighlightHtmlService=new pa;var Td=m(R());var ua=class{isDate(t){var r,i,n,a;return(a=(n=((i=(r=T.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===t))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(t,r){var i,n,a;return Td.DateFormatter.format(t,(i=r?.locale)!==null&&i!==void 0?i:T.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ua;var Id=m(R());var Ro=class{static get(t,r){var i,n,a,s;let c=T.getState(),{lang:u,region:p}=(n=(i=c.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Id.SearchPlaceConverter(c.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},t??20,c.searchInAllLanguagesAllowed,r??`${u}-${p}`)}};var fa=class{urlToSearchRequest(t){return Ro.get().parse(t)}searchRequestToUrl(t){return Ro.get().serialize(t)}};window.FluidTopicsUrlService=new fa;var nr=m(R());var Er=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Er.eventName="change";var ha=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},_d=new ha;var Ci=class e extends nr.WithEventBus{static build(){return new e(window.history,_d,()=>window.location,!1)}constructor(t,r,i,n){var a,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(a=t.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(t,r=!1){let i=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,nr.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Er(this.currentItem())),0)}installProxies(){let t=r=>(i,n,[a,s,c])=>{let u=r(),p={...u===this.currentIndex?this.currentState:void 0,...a,index:u,href:typeof c=="string"?c:(c??this.windowLocation()).href};i.apply(n,[p,s,c]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t,r=!1){var i,n,a;let s={...this.buildCurrentState(),...t,index:this.currentIndex,title:(i=t?.title)!==null&&i!==void 0?i:this.currentState.title},c=r?(n=t?.majorState)!==null&&n!==void 0?n:this.currentState.majorState:(a=this.currentState.majorState)!==null&&a!==void 0?a:t?.majorState;c!=null&&(s.majorState=c),this.setCurrentState(s)}addHistoryChangeListener(t){this.addEventListener(Er.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Er.eventName,t)}currentItem(){return(0,nr.deepCopy)(this.currentState)}back(){let t=this.previousMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,nr.deepCopy)(this.states[this.previousMajorPosition()])}previousMajorPosition(){let t=this.currentIndex;for(;t>0&&!this.isMajorState(t);)t--;return this.previousExistingPosition(t)}forward(){let t=this.nextMajorPosition();t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){return(0,nr.deepCopy)(this.states[this.nextMajorPosition()])}nextMajorPosition(){let t=this.currentIndex;do t++;while(t<this.states.length&&!this.isMajorState(t));do t++;while(t<this.states.length&&!this.isMajorState(t));return this.previousExistingPosition(t)}previousExistingPosition(t){let r=t;do r--;while(r>0&&!this.hasState(r));return r}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isMajorState(t){var r,i;return this.hasState(t)&&((i=(r=this.states[t])===null||r===void 0?void 0:r.majorState)!==null&&i!==void 0?i:!0)}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ci.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});(0,Nd.customElement)("ft-app-context")(dt);var $d=m(q());var Tu=m(R());function Ld(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Iu=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Pd=Symbol("i18nAttributes"),kd=Symbol("i18nListAttributes"),Io=Symbol("i18nProperties"),wi=Symbol("i18nContexts"),To=Symbol("i18nUnsubs");function ar(e){var t,r;class i extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?ai:Gr}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let c=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...c)}customI18n(a,s){if(Ld(a)){let[c,u]=a.split(".");return this.i18n({custom:!0,context:c,key:u,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,c,u)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,c;let u=this,p=(h,y,b)=>b?.context&&b.key&&a(h,y,b)?{...b,message:this.i18n({context:b.context,key:b.key,...h})}:b;(s=this[Pd])===null||s===void 0||s.forEach((h,y)=>u[y]=p(h,y,u[y])),(c=this[kd])===null||c===void 0||c.forEach((h,y)=>{var b;return u[y]=(b=u[y])===null||b===void 0?void 0:b.map(v=>p(h,y,v))})}updateI18nProperties(a){var s;(s=this[Io])===null||s===void 0||s.forEach((c,u)=>{a(c,u)&&(this[u]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let u=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[wi].set(u,{isCustomContext:c}),this[To].has(u)||this[To].set(u,this.getI18nService(c).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(c).prepareContext(u,s)}hasI18nContext(a){return this[wi].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[wi].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[To].forEach(a=>a()),this[To].clear()}}return t=wi,r=To,Iu([(0,$d.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var Dd=class extends ar(Ai.FtLitElement){},Ei=class extends ar(Ai.FtLitElementRedux){};var _o=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},be=class extends Ei{constructor(){super(),this.editorMode=!1,this.addStore(T)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ri.nothing:Ri.html`
1580
+ `}update(e){var o,i,n,a,s;super.update(e),e.has("baseUrl")&&(T.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&T.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&T.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&T.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&T.actions.noCustom(this.noCustom),e.has("editorMode")&&T.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&T.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&T.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>jr.addContext(c)),e.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(T.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),T.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),T.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};de.elementDefinitions={};de.styles=Nc;Be([(0,Xe.property)()],de.prototype,"baseUrl",void 0);Be([(0,Xe.property)()],de.prototype,"apiIntegrationIdentifier",void 0);Be([(0,Xe.property)()],de.prototype,"uiLocale",void 0);Be([(0,gt.jsonProperty)(null)],de.prototype,"availableUiLocales",void 0);Be([(0,gt.jsonProperty)(null)],de.prototype,"metadataConfiguration",void 0);Be([(0,Xe.property)({type:Boolean})],de.prototype,"editorMode",void 0);Be([(0,Xe.property)({type:Boolean})],de.prototype,"noCustom",void 0);Be([(0,Xe.property)({type:Boolean})],de.prototype,"openExternalDocumentInNewTab",void 0);Be([(0,Xe.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],de.prototype,"noCustomComponent",void 0);Be([(0,Xe.property)({type:Boolean})],de.prototype,"withManualResources",void 0);Be([(0,Xe.property)({type:Boolean})],de.prototype,"navigatorOnline",void 0);Be([(0,Xe.property)({type:Boolean})],de.prototype,"forcedOffline",void 0);Be([(0,Xe.property)({type:Object})],de.prototype,"apiProvider",void 0);Be([(0,gt.jsonProperty)([])],de.prototype,"messageContexts",void 0);Be([(0,gt.jsonProperty)(void 0)],de.prototype,"session",void 0);Be([(0,Xe.state)()],de.prototype,"localesConfiguration",void 0);var Au=m(q());function Up(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,i,n;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(i=o;i--!==0;)if(!si(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!si(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(c=>s[c]!=null);if(n=a(t),o=n.length,o!==a(e).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=o;i--!==0;){let s=n[i];if(!si(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function si(t,e){try{return Up(t,e)}catch{return!1}}function li(t,e){return!si(t,e)}var Wp=m(q(),1);var ci=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(i=>i.type===e);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};var Kr=m(q(),1);var kc=m(q(),1);function Dc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,kc.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return o();try{return JSON.parse(i)}catch{return o()}},toAttribute:i=>JSON.stringify(i)},hasChanged:li,...e??{}})}var di=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(c){n(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bc=m(M(),1);var pi=globalThis,zp=pi.ShadowRoot&&(pi.ShadyCSS===void 0||pi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d0=Symbol();var $c=(t,e)=>{if(zp)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let i=document.createElement("style"),n=pi.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,t.appendChild(i)}};var ui=class extends Bc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let o={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return $c(i,e.elementStyles),i}};function Mc(t,e,...o){var i;let n=t.querySelector(e);for(let a of o)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}var vo=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},zc,Fc=Symbol("constructorPrototype"),Uc=Symbol("constructorName"),Hc=Symbol("exportpartsDebouncer"),Wc=Symbol("dynamicDependenciesLoaded"),Wt=class extends ui{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[zc]=new di(5),this[Uc]=this.constructor.name,this[Fc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Uc]&&Object.setPrototypeOf(this,this[Fc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[Wc]||(e[Wc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];o=Mc(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,i,n;if(((i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[Hc].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,i,n,a,s,c;let u=b=>b!=null&&b.trim().length>0,p=e.filter(u).map(b=>b.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let x=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(c=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...S).filter(u).map(C=>C.trim()).forEach(C=>h.add(C))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(b=>p.map(x=>`${b}:${x}--${b}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};zc=Hc;vo([(0,Kr.property)()],Wt.prototype,"exportpartsPrefix",void 0);vo([Dc([])],Wt.prototype,"exportpartsPrefixes",void 0);vo([(0,Kr.property)()],Wt.prototype,"customStylesheet",void 0);vo([(0,Kr.property)()],Wt.prototype,"elementToFocus",void 0);vo([(0,Kr.state)()],Wt.prototype,"useAdoptedStyleSheets",void 0);function So(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Gc,Vc,jc,Co=Symbol("internalReduxEventsUnsubscribers"),er=Symbol("internalStoresUnsubscribers"),Cr=Symbol("internalStores"),Oo=class extends Wt{constructor(){super(...arguments),this[Gc]=new Map,this[Vc]=new Map,this[jc]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Cr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Cr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Cr].get(e)}addStore(e,o){var i;o=(i=o??(So(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this[Cr].set(o,e),this.subscribeToStore(o,e),this.updateFromStores()}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Cr].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Cr].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(e.store);n&&(e.store?this[er].has(e.store):this[er].size>0)&&(this[o]=e.selector(n.getState(),this))}})}subscribeToStore(e,o){var i;this[er].set(e,o.subscribe(()=>this.updateFromStores())),this[Co].set(e,[]),So(o)&&o.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||o.name===n.store)){let s=c=>this[a](c);o.addEventListener(n.eventName,s),this[Co].get(e).push(()=>o.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[er].forEach((e,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(e){var o;this[er].has(e)&&this[er].get(e)(),this[er].delete(e),(o=this[Co].get(e))===null||o===void 0||o.forEach(i=>i()),this[Co].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Gc=er,Vc=Cr,jc=Co;Oo.reduxProperties=new Map;Oo.reduxReactiveProperties=new Set;Oo.reduxEventListeners=new Map;function st(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function zt(t){return!!t&&!!t[ae]}function mt(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var i=Object.getPrototypeOf(o);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Yp}(t)||Array.isArray(t)||!!t[Jc]||!!(!((e=t.constructor)===null||e===void 0)&&e[Jc])||Zn(t)||qn(t))}function Or(t,e,o){o===void 0&&(o=!1),Yr(t)===0?(o?Object.keys:qr)(t).forEach(function(i){o&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Yr(t){var e=t[ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Zn(t)?2:qn(t)?3:0}function Zr(t,e){return Yr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Hp(t,e){return Yr(t)===2?t.get(e):t[e]}function ed(t,e,o){var i=Yr(t);i===2?t.set(e,o):i===3?t.add(o):t[e]=o}function td(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Zn(t){return Zp&&t instanceof Map}function qn(t){return qp&&t instanceof Set}function tr(t){return t.o||t.t}function Yn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=id(t);delete e[ae];for(var o=qr(e),i=0;i<o.length;i++){var n=o[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Xn(t,e){return e===void 0&&(e=!1),Qn(t)||zt(t)||!mt(t)||(Yr(t)>1&&(t.set=t.add=t.clear=t.delete=Gp),Object.freeze(t),e&&Or(t,function(o,i){return Xn(i,!0)},!0)),t}function Gp(){st(2)}function Qn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Tt(t){var e=Kn[t];return e||st(18,t),e}function Vp(t,e){Kn[t]||(Kn[t]=e)}function Gn(){return Eo}function Un(t,e){e&&(Tt("Patches"),t.u=[],t.s=[],t.v=e)}function fi(t){Vn(t),t.p.forEach(jp),t.p=null}function Vn(t){t===Eo&&(Eo=t.l)}function Kc(t){return Eo={p:[],l:Eo,h:t,m:!0,_:0}}function jp(t){var e=t[ae];e.i===0||e.i===1?e.j():e.g=!0}function Wn(t,e){e._=e.p.length;var o=e.p[0],i=t!==void 0&&t!==o;return e.h.O||Tt("ES5").S(e,t,i),i?(o[ae].P&&(fi(e),st(4)),mt(t)&&(t=hi(e,t),e.l||yi(e,t)),e.u&&Tt("Patches").M(o[ae].t,t,e.u,e.s)):t=hi(e,o,[]),fi(e),e.u&&e.v(e.u,e.s),t!==od?t:void 0}function hi(t,e,o){if(Qn(e))return e;var i=e[ae];if(!i)return Or(e,function(c,u){return Zc(t,i,e,c,u,o)},!0),e;if(i.A!==t)return e;if(!i.P)return yi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Yn(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Or(a,function(c,u){return Zc(t,i,n,c,u,o,s)}),yi(t,n,!1),o&&t.u&&Tt("Patches").N(i,o,t.u,t.s)}return i.o}function Zc(t,e,o,i,n,a,s){if(zt(n)){var c=hi(t,n,a&&e&&e.i!==3&&!Zr(e.R,i)?a.concat(i):void 0);if(ed(o,i,c),!zt(c))return;t.m=!1}else s&&o.add(n);if(mt(n)&&!Qn(n)){if(!t.h.D&&t._<1)return;hi(t,n),e&&e.A.l||yi(t,n)}}function yi(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Xn(e,o)}function zn(t,e){var o=t[ae];return(o?tr(o):t)[e]}function qc(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function rr(t){t.P||(t.P=!0,t.l&&rr(t.l))}function Hn(t){t.o||(t.o=Yn(t.t))}function jn(t,e,o){var i=Zn(e)?Tt("MapSet").F(e,o):qn(e)?Tt("MapSet").T(e,o):t.O?function(n,a){var s=Array.isArray(n),c={i:s?1:0,A:a?a.A:Gn(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},u=c,p=Ao;s&&(u=[c],p=wo);var h=Proxy.revocable(u,p),y=h.revoke,b=h.proxy;return c.k=b,c.j=y,b}(e,o):Tt("ES5").J(e,o);return(o?o.A:Gn()).p.push(i),i}function Kp(t){return zt(t)||st(22,t),function e(o){if(!mt(o))return o;var i,n=o[ae],a=Yr(o);if(n){if(!n.P&&(n.i<4||!Tt("ES5").K(n)))return n.t;n.I=!0,i=Yc(o,a),n.I=!1}else i=Yc(o,a);return Or(i,function(s,c){n&&Hp(n.t,s)===c||ed(i,s,e(c))}),a===3?new Set(i):i}(t)}function Yc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Yn(t)}function rd(){function t(s,c){var u=a[s];return u?u.enumerable=c:a[s]=u={configurable:!0,enumerable:c,get:function(){var p=this[ae];return Ao.get(p,s)},set:function(p){var h=this[ae];Ao.set(h,s,p)}},u}function e(s){for(var c=s.length-1;c>=0;c--){var u=s[c][ae];if(!u.P)switch(u.i){case 5:i(u)&&rr(u);break;case 4:o(u)&&rr(u)}}}function o(s){for(var c=s.t,u=s.k,p=qr(u),h=p.length-1;h>=0;h--){var y=p[h];if(y!==ae){var b=c[y];if(b===void 0&&!Zr(c,y))return!0;var x=u[y],S=x&&x[ae];if(S?S.t!==b:!td(x,b))return!0}}var C=!!c[ae];return p.length!==qr(c).length+(C?0:1)}function i(s){var c=s.k;if(c.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(c,c.length-1);if(u&&!u.get)return!0;for(var p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&st(3,JSON.stringify(tr(s)))}var a={};Vp("ES5",{J:function(s,c){var u=Array.isArray(s),p=function(y,b){if(y){for(var x=Array(b.length),S=0;S<b.length;S++)Object.defineProperty(x,""+S,t(S,!0));return x}var C=id(b);delete C[ae];for(var N=qr(C),I=0;I<N.length;I++){var _=N[I];C[_]=t(_,y||!!C[_].enumerable)}return Object.create(Object.getPrototypeOf(b),C)}(u,s),h={i:u?5:4,A:c?c.A:Gn(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,ae,{value:h,writable:!0}),p},S:function(s,c,u){u?zt(c)&&c[ae].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var y=h[ae];if(y){var b=y.t,x=y.k,S=y.R,C=y.i;if(C===4)Or(x,function(z){z!==ae&&(b[z]!==void 0||Zr(b,z)?S[z]||p(x[z]):(S[z]=!0,rr(y)))}),Or(b,function(z){x[z]!==void 0||Zr(x,z)||(S[z]=!1,rr(y))});else if(C===5){if(i(y)&&(rr(y),S.length=!0),x.length<b.length)for(var N=x.length;N<b.length;N++)S[N]=!1;else for(var I=b.length;I<x.length;I++)S[I]=!0;for(var _=Math.min(x.length,b.length),$=0;$<_;$++)x.hasOwnProperty($)||(S[$]=!0),S[$]===void 0&&p(x[$])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):i(s)}})}var Xc,Eo,Jn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Zp=typeof Map<"u",qp=typeof Set<"u",Qc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",od=Jn?Symbol.for("immer-nothing"):((Xc={})["immer-nothing"]=!0,Xc),Jc=Jn?Symbol.for("immer-draftable"):"__$immer_draftable",ae=Jn?Symbol.for("immer-state"):"__$immer_state";var Yp=""+Object.prototype.constructor,qr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,id=Object.getOwnPropertyDescriptors||function(t){var e={};return qr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Kn={},Ao={get:function(t,e){if(e===ae)return t;var o=tr(t);if(!Zr(o,e))return function(n,a,s){var c,u=qc(a,s);return u?"value"in u?u.value:(c=u.get)===null||c===void 0?void 0:c.call(n.k):void 0}(t,o,e);var i=o[e];return t.I||!mt(i)?i:i===zn(t.t,e)?(Hn(t),t.o[e]=jn(t.A.h,i,t)):i},has:function(t,e){return e in tr(t)},ownKeys:function(t){return Reflect.ownKeys(tr(t))},set:function(t,e,o){var i=qc(tr(t),e);if(i?.set)return i.set.call(t.k,o),!0;if(!t.P){var n=zn(tr(t),e),a=n?.[ae];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(td(o,n)&&(o!==void 0||Zr(t.t,e)))return!0;Hn(t),rr(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return zn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Hn(t),rr(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=tr(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:o[e]}},defineProperty:function(){st(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){st(12)}},wo={};Or(Ao,function(t,e){wo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),wo.deleteProperty=function(t,e){return wo.set.call(this,t,e,void 0)},wo.set=function(t,e,o){return Ao.set.call(this,t[0],e,o,t[0])};var Xp=function(){function t(o){var i=this;this.O=Qc,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var c=a;a=n;var u=i;return function(C){var N=this;C===void 0&&(C=c);for(var I=arguments.length,_=Array(I>1?I-1:0),$=1;$<I;$++)_[$-1]=arguments[$];return u.produce(C,function(z){var H;return(H=a).call.apply(H,[N,z].concat(_))})}}var p;if(typeof a!="function"&&st(6),s!==void 0&&typeof s!="function"&&st(7),mt(n)){var h=Kc(i),y=jn(i,n,void 0),b=!0;try{p=a(y),b=!1}finally{b?fi(h):Vn(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return Un(h,s),Wn(C,h)},function(C){throw fi(h),C}):(Un(h,s),Wn(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===od&&(p=void 0),i.D&&Xn(p,!0),s){var x=[],S=[];Tt("Patches").M(n,p,x,S),s(x,S)}return p}st(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,y=Array(h>1?h-1:0),b=1;b<h;b++)y[b-1]=arguments[b];return i.produceWithPatches(p,function(x){return n.apply(void 0,[x].concat(y))})};var s,c,u=i.produce(n,a,function(p,h){s=p,c=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,s,c]}):[u,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){mt(o)||st(8),zt(o)&&(o=Kp(o));var i=Kc(this),n=jn(this,o,void 0);return n[ae].C=!0,Vn(i),n},e.finishDraft=function(o,i){var n=o&&o[ae],a=n.A;return Un(a,i),Wn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Qc&&st(20),this.O=o},e.applyPatches=function(o,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Tt("Patches").$;return zt(o)?s(o,i):this.produce(o,function(c){return s(c,i)})},t}(),tt=new Xp,Qp=tt.produce,w0=tt.produceWithPatches.bind(tt),E0=tt.setAutoFreeze.bind(tt),A0=tt.setUseProxies.bind(tt),R0=tt.applyPatches.bind(tt),T0=tt.createDraft.bind(tt),I0=tt.finishDraft.bind(tt),gi=Qp;function wr(t){"@babel/helpers - typeof";return wr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wr(t)}function nd(t,e){if(wr(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var i=o.call(t,e||"default");if(wr(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ad(t){var e=nd(t,"string");return wr(e)=="symbol"?e:e+""}function sd(t,e,o){return(e=ad(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ld(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function ea(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?ld(Object(o),!0).forEach(function(i){sd(t,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ld(Object(o)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(o,i))})}return t}function Me(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var cd=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ta=function(){return Math.random().toString(36).substring(7).split("").join(".")},mi={INIT:"@@redux/INIT"+ta(),REPLACE:"@@redux/REPLACE"+ta(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ta()}};function Jp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function ra(t,e,o){var i;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Me(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Me(1));return o(ra)(t,e)}if(typeof t!="function")throw new Error(Me(2));var n=t,a=e,s=[],c=s,u=!1;function p(){c===s&&(c=s.slice())}function h(){if(u)throw new Error(Me(3));return a}function y(C){if(typeof C!="function")throw new Error(Me(4));if(u)throw new Error(Me(5));var N=!0;return p(),c.push(C),function(){if(N){if(u)throw new Error(Me(6));N=!1,p();var _=c.indexOf(C);c.splice(_,1),s=null}}}function b(C){if(!Jp(C))throw new Error(Me(7));if(typeof C.type>"u")throw new Error(Me(8));if(u)throw new Error(Me(9));try{u=!0,a=n(a,C)}finally{u=!1}for(var N=s=c,I=0;I<N.length;I++){var _=N[I];_()}return C}function x(C){if(typeof C!="function")throw new Error(Me(10));n=C,b({type:mi.REPLACE})}function S(){var C,N=y;return C={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(Me(11));function $(){_.next&&_.next(h())}$();var z=N($);return{unsubscribe:z}}},C[cd]=function(){return this},C}return b({type:mi.INIT}),i={dispatch:b,subscribe:y,getState:h,replaceReducer:x},i[cd]=S,i}function eu(t){Object.keys(t).forEach(function(e){var o=t[e],i=o(void 0,{type:mi.INIT});if(typeof i>"u")throw new Error(Me(12));if(typeof o(void 0,{type:mi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Me(13))})}function dd(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(o[n]=t[n])}var a=Object.keys(o),s,c;try{eu(o)}catch(u){c=u}return function(p,h){if(p===void 0&&(p={}),c)throw c;if(0)var y;for(var b=!1,x={},S=0;S<a.length;S++){var C=a[S],N=o[C],I=p[C],_=N(I,h);if(typeof _>"u"){var $=h&&h.type;throw new Error(Me(14))}x[C]=_,b=b||_!==I}return b=b||a.length!==Object.keys(p).length,b?x:p}}function Xr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function pd(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Me(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(u){return u(s)});return a=Xr.apply(void 0,c)(n.dispatch),ea(ea({},n),{},{dispatch:a})}}}function ud(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(c){return typeof c=="function"?c(n,a,t):s(c)}}};return e}var fd=ud();fd.withExtraArgument=ud;var oa=fd;var bd=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function i(){this.constructor=e}e.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),tu=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(p){return function(h){return u([p,h])}}function u(p){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,n=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(h){p=[6,h],n=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Qr=function(t,e){for(var o=0,i=e.length,n=t.length;o<i;o++,n++)t[n]=e[o];return t},ru=Object.defineProperty,ou=Object.defineProperties,iu=Object.getOwnPropertyDescriptors,hd=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,au=Object.prototype.propertyIsEnumerable,yd=function(t,e,o){return e in t?ru(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},or=function(t,e){for(var o in e||(e={}))nu.call(e,o)&&yd(t,o,e[o]);if(hd)for(var i=0,n=hd(e);i<n.length;i++){var o=n[i];au.call(e,o)&&yd(t,o,e[o])}return t},ia=function(t,e){return ou(t,iu(e))},su=function(t,e,o){return new Promise(function(i,n){var a=function(u){try{c(o.next(u))}catch(p){n(p)}},s=function(u){try{c(o.throw(u))}catch(p){n(p)}},c=function(u){return u.done?i(u.value):Promise.resolve(u.value).then(a,s)};c((o=o.apply(t,e)).next())})};var lu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xr:Xr.apply(null,arguments)},K0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function cu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var du=function(t){bd(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Qr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Qr([void 0],o.concat(this))))},e}(Array),pu=function(t){bd(e,t);function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Qr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Qr([void 0],o.concat(this))))},e}(Array);function sa(t){return mt(t)?gi(t,function(){}):t}function uu(t){return typeof t=="boolean"}function fu(){return function(e){return hu(e)}}function hu(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,c=new du;if(o&&(uu(o)?c.push(oa):c.push(oa.withExtraArgument(o.extraArgument))),0){if(n)var u;if(s)var p}return c}var na=!0;function xd(t){var e=fu(),o=t||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,s=a===void 0?e():a,c=o.devTools,u=c===void 0?!0:c,p=o.preloadedState,h=p===void 0?void 0:p,y=o.enhancers,b=y===void 0?void 0:y,x;if(typeof n=="function")x=n;else if(cu(n))x=dd(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(e),!na&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!na&&S.some(function(z){return typeof z!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=pd.apply(void 0,S),N=Xr;u&&(N=lu(or({trace:!na},typeof u=="object"&&u)));var I=new pu(C),_=I;Array.isArray(b)?_=Qr([C],b):typeof b=="function"&&(_=b(I));var $=N.apply(void 0,_);return ra(x,h,$)}function ir(t,e){function o(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return or(or({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(i){return i.type===t},o}function vd(t){var e={},o=[],i,n={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,n},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,o,i]}function yu(t){return typeof t=="function"}function gu(t,e,o,i){o===void 0&&(o=[]);var n=typeof e=="function"?vd(e):[e,o,i],a=n[0],s=n[1],c=n[2],u;if(yu(t))u=function(){return sa(t())};else{var p=sa(t);u=function(){return p}}function h(y,b){y===void 0&&(y=u());var x=Qr([a[b.type]],s.filter(function(S){var C=S.matcher;return C(b)}).map(function(S){var C=S.reducer;return C}));return x.filter(function(S){return!!S}).length===0&&(x=[c]),x.reduce(function(S,C){if(C)if(zt(S)){var N=S,I=C(N,b);return I===void 0?S:I}else{if(mt(S))return gi(S,function(_){return C(_,b)});var I=C(S,b);if(I===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return S},y)}return h.getInitialState=u,h}function mu(t,e){return t+"/"+e}function Sd(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:sa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};n.forEach(function(h){var y=i[h],b=mu(e,h),x,S;"reducer"in y?(x=y.reducer,S=y.prepare):x=y,a[h]=x,s[b]=x,c[h]=S?ir(b,S):ir(b)});function u(){var h=typeof t.extraReducers=="function"?vd(t.extraReducers):[t.extraReducers],y=h[0],b=y===void 0?{}:y,x=h[1],S=x===void 0?[]:x,C=h[2],N=C===void 0?void 0:C,I=or(or({},b),s);return gu(o,function(_){for(var $ in I)_.addCase($,I[$]);for(var z=0,H=S;z<H.length;z++){var je=H[z];_.addMatcher(je.matcher,je.reducer)}N&&_.addDefaultCase(N)})}var p;return{name:e,reducer:function(h,y){return p||(p=u()),p(h,y)},actions:c,caseReducers:a,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var bu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",xu=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=bu[Math.random()*64|0];return e},vu=["name","message","stack","code"],aa=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),gd=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Su=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,i=vu;o<i.length;o++){var n=i[o];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},X0=function(){function t(e,o,i){var n=ir(e+"/fulfilled",function(h,y,b,x){return{payload:h,meta:ia(or({},x||{}),{arg:b,requestId:y,requestStatus:"fulfilled"})}}),a=ir(e+"/pending",function(h,y,b){return{payload:void 0,meta:ia(or({},b||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),s=ir(e+"/rejected",function(h,y,b,x,S){return{payload:x,error:(i&&i.serializeError||Su)(h||"Rejected"),meta:ia(or({},S||{}),{arg:b,requestId:y,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,u=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(y,b,x){var S=i?.idGenerator?i.idGenerator(h):xu(),C=new u,N,I=!1;function _(z){N=z,C.abort()}var $=function(){return su(this,null,function(){var z,H,je,vt,We,St,Te;return tu(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),vt=(z=i?.condition)==null?void 0:z.call(i,h,{getState:b,extra:x}),Ou(vt)?[4,vt]:[3,2];case 1:vt=g.sent(),g.label=2;case 2:if(vt===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,We=new Promise(function(v,P){return C.signal.addEventListener("abort",function(){return P({name:"AbortError",message:N||"Aborted"})})}),y(a(S,h,(H=i?.getPendingMeta)==null?void 0:H.call(i,{requestId:S,arg:h},{getState:b,extra:x}))),[4,Promise.race([We,Promise.resolve(o(h,{dispatch:y,getState:b,extra:x,requestId:S,signal:C.signal,abort:_,rejectWithValue:function(v,P){return new aa(v,P)},fulfillWithValue:function(v,P){return new gd(v,P)}})).then(function(v){if(v instanceof aa)throw v;return v instanceof gd?n(v.payload,S,h,v.meta):n(v,S,h)})])];case 3:return je=g.sent(),[3,5];case 4:return St=g.sent(),je=St instanceof aa?s(null,S,h,St.payload,St.meta):s(St,S,h),[3,5];case 5:return Te=i&&!i.dispatchConditionRejection&&s.match(je)&&je.meta.condition,Te||y(je),[2,je]}})})}();return Object.assign($,{abort:_,requestId:S,arg:h,unwrap:function(){return $.then(Cu)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Cu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ou(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Cd="listener",Od="completed",wd="cancelled",Q0="task-"+wd,J0="task-"+Od,eS=Cd+"-"+wd,tS=Cd+"-"+Od;var la="listenerMiddleware";var rS=ir(la+"/add"),oS=ir(la+"/removeAll"),iS=ir(la+"/remove");var md,nS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(md||(md=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},wu=function(t){return function(e){setTimeout(e,t)}},aS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:wu(10);rd();function Eu(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,i,n){this.eventBus.addEventListener(o,i,n)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,i,n){this.eventBus.removeEventListener(o,i,n)}}}var bi=class extends Eu(Object){};window.ftReduxStores||(window.ftReduxStores={});var Ed=class t extends bi{static get(e){var o;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(So(a))return a;if(n==null)return;let s=Sd({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),c=xd({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:s.reducer(u,p)});return window.ftReduxStores[n.name]=new t(s,c,n.eventBus)}constructor(e,o,i){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new ci;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let u=s,p=a[u];return p?(...h)=>{let y=p(...h.map(n));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[u]:n(h)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ci=m(R());var xi=class extends At{async listMySearches(){let{session:e}=T.getState();return Nt(e,te.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var vi=class extends At{async listMyBookmarks(){let e=T.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ru="ft-user-assets",Si=Ci.FtReduxStore.get({name:Ru,initialState:{savedSearches:void 0,bookmarks:void 0}}),ca=class{constructor(){this.currentSession=T.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new vi,this.savedSearchesService=new xi,T.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=T.getState();(0,Ci.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Si.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Si.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Si.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Si.actions.bookmarks(o)}}},Ad=new ca;var da=class{addCommand(e,o=!1){T.commands.add(e,o)}consumeCommand(e){return T.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new da;var Rd=m(R()),pa=class{highlightHtml(e,o,i){(0,Rd.highlightHtml)(e,o,i)}};window.FluidTopicsHighlightHtmlService=new pa;var Td=m(R());var ua=class{isDate(e){var o,i,n,a;return(a=(n=((i=(o=T.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,o){var i,n,a;return Td.DateFormatter.format(e,(i=o?.locale)!==null&&i!==void 0?i:T.getState().uiLocale,(n=o?.longFormat)!==null&&n!==void 0?n:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ua;var Id=m(R());var Ro=class{static get(e,o){var i,n,a,s;let c=T.getState(),{lang:u,region:p}=(n=(i=c.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Id.SearchPlaceConverter(c.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,o??`${u}-${p}`)}};var fa=class{urlToSearchRequest(e){return Ro.get().parse(e)}searchRequestToUrl(e){return Ro.get().serialize(e)}};window.FluidTopicsUrlService=new fa;var nr=m(R());var Er=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Er.eventName="change";var ha=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},_d=new ha;var Oi=class t extends nr.WithEventBus{static build(){return new t(window.history,_d,()=>window.location,!1)}constructor(e,o,i,n){var a,s;super(),this.history=e,this.historyStorage=o,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,o=!1){let i=o&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,nr.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Er(this.currentItem())),0)}installProxies(){let e=o=>(i,n,[a,s,c])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...a,index:u,href:typeof c=="string"?c:(c??this.windowLocation()).href};i.apply(n,[p,s,c]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e,o=!1){var i,n,a;let s={...this.buildCurrentState(),...e,index:this.currentIndex,title:(i=e?.title)!==null&&i!==void 0?i:this.currentState.title},c=o?(n=e?.majorState)!==null&&n!==void 0?n:this.currentState.majorState:(a=this.currentState.majorState)!==null&&a!==void 0?a:e?.majorState;c!=null&&(s.majorState=c),this.setCurrentState(s)}addHistoryChangeListener(e){this.addEventListener(Er.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Er.eventName,e)}currentItem(){return(0,nr.deepCopy)(this.currentState)}back(){let e=this.previousMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,nr.deepCopy)(this.states[this.previousMajorPosition()])}previousMajorPosition(){let e=this.currentIndex;for(;e>0&&!this.isMajorState(e);)e--;return this.previousExistingPosition(e)}forward(){let e=this.nextMajorPosition();e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){return(0,nr.deepCopy)(this.states[this.nextMajorPosition()])}nextMajorPosition(){let e=this.currentIndex;do e++;while(e<this.states.length&&!this.isMajorState(e));do e++;while(e<this.states.length&&!this.isMajorState(e));return this.previousExistingPosition(e)}previousExistingPosition(e){let o=e;do o--;while(o>0&&!this.hasState(o));return o}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isMajorState(e){var o,i;return this.hasState(e)&&((i=(o=this.states[e])===null||o===void 0?void 0:o.majorState)!==null&&i!==void 0?i:!0)}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Oi.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});(0,Nd.customElement)("ft-app-context")(de);var $d=m(q());var Tu=m(R());function Ld(t){return t.match(/^[\w-]+\.[\w-]+$/)}var Iu=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Pd=Symbol("i18nAttributes"),kd=Symbol("i18nListAttributes"),Io=Symbol("i18nProperties"),wi=Symbol("i18nContexts"),To=Symbol("i18nUnsubs");function ar(t){var e,o;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?ai:jr}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let c=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...c)}customI18n(a,s){if(Ld(a)){let[c,u]=a.split(".");return this.i18n({custom:!0,context:c,key:u,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,c,u)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,c;let u=this,p=(h,y,b)=>b?.context&&b.key&&a(h,y,b)?{...b,message:this.i18n({context:b.context,key:b.key,...h})}:b;(s=this[Pd])===null||s===void 0||s.forEach((h,y)=>u[y]=p(h,y,u[y])),(c=this[kd])===null||c===void 0||c.forEach((h,y)=>{var b;return u[y]=(b=u[y])===null||b===void 0?void 0:b.map(x=>p(h,y,x))})}updateI18nProperties(a){var s;(s=this[Io])===null||s===void 0||s.forEach((c,u)=>{a(c,u)&&(this[u]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let u=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[wi].set(u,{isCustomContext:c}),this[To].has(u)||this[To].set(u,this.getI18nService(c).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(c).prepareContext(u,s)}hasI18nContext(a){return this[wi].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[wi].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[To].forEach(a=>a()),this[To].clear()}}return e=wi,o=To,Iu([(0,$d.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var Dd=class extends ar(Ai.FtLitElement){},Ei=class extends ar(Ai.FtLitElementRedux){};var _o=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},bt=class extends Ei{constructor(){super(),this.editorMode=!1,this.addStore(T)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ri.nothing:Ri.html`
1581
1581
  <span class="ft-i18n">
1582
1582
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1583
1583
  </span>
1584
- `}update(t){var r;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};be.elementDefinitions={};be.styles=Ic;_o([(0,Ii.redux)()],be.prototype,"editorMode",void 0);_o([(0,Ti.property)()],be.prototype,"context",void 0);_o([(0,Ti.property)()],be.prototype,"key",void 0);_o([(0,Ii.jsonProperty)([])],be.prototype,"args",void 0);_o([(0,Ti.property)()],be.prototype,"defaultMessage",void 0);var sr=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?ai:Gr}constructor(t,r=!1){this.name=t,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}};var _i=(e,t)=>(r,i)=>{var n,a;r.constructor.createProperty(i,t??{attribute:!1,type:String});let s={...e,key:(n=e.key)!==null&&n!==void 0?n:i};r[Io]=(a=r[Io])!==null&&a!==void 0?a:new Map,r[Io].set(i,s)};(0,Bd.customElement)("ft-i18n")(be);var V=sr.build("integratedFeedbackComponent"),Md={starsRating:"{0} stars","starsRating[\\=1]":"1 star",like:"Like",dislike:"Dislike",dichotomousYes:"Yes",dichotomousNo:"No",notRated:"Not rated",ratedNow:"Rated now",ratedToday:"Rated today",ratedOn:"Rated on {0, date}",feedbackInputLabel:"How can we improve it?",feedbackfromEmail:"Your email",feedbackfromEmailInvalid:"Please enter a valid email address",okButton:"Send feedback",cancelButton:"Cancel",moreOptionsButton:"More options",feedbackSuccess:"Feedback successfully sent. Thank you!",feedbackFailure:"Failed to send feedback. Please try again later.",ratingSuccess:"Rating successfully sent. Thank you!",ratingFailure:"Failed to send rating. Please try again later.",mapFeedbackMainTitle:"Send feedback",mapRatingSectionTitle:"Rate this document",mapDichotomousRatingSectionTitle:"Did it solve your problem?",mapFeedbackSectionTitle:"Write your review",topicFeedbackMainTitle:"Send feedback",topicRatingSectionTitle:"Rate this content",topicDichotomousRatingSectionTitle:"Did this content solve your problem?",topicFeedbackSectionTitle:"Write your review"};var ga=m(R());var Et=m(M()),W=m(q()),Vd=m(Dn()),Gd=m(Le());var Ni=e=>e??xt;var lr=m(R());var Fd=m(M()),D=m(R());var U={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Ud=Fd.css`
1584
+ `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};bt.elementDefinitions={};bt.styles=Ic;_o([(0,Ii.redux)()],bt.prototype,"editorMode",void 0);_o([(0,Ti.property)()],bt.prototype,"context",void 0);_o([(0,Ti.property)()],bt.prototype,"key",void 0);_o([(0,Ii.jsonProperty)([])],bt.prototype,"args",void 0);_o([(0,Ti.property)()],bt.prototype,"defaultMessage",void 0);var sr=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?ai:jr}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}};var _i=(t,e)=>(o,i)=>{var n,a;o.constructor.createProperty(i,e??{attribute:!1,type:String});let s={...t,key:(n=t.key)!==null&&n!==void 0?n:i};o[Io]=(a=o[Io])!==null&&a!==void 0?a:new Map,o[Io].set(i,s)};(0,Bd.customElement)("ft-i18n")(bt);var V=sr.build("integratedFeedbackComponent"),Md={starsRating:"{0} stars","starsRating[\\=1]":"1 star",like:"Like",dislike:"Dislike",dichotomousYes:"Yes",dichotomousNo:"No",notRated:"Not rated",ratedNow:"Rated now",ratedToday:"Rated today",ratedOn:"Rated on {0, date}",feedbackInputLabel:"How can we improve it?",feedbackfromEmail:"Your email",feedbackfromEmailInvalid:"Please enter a valid email address",okButton:"Send feedback",cancelButton:"Cancel",moreOptionsButton:"More options",feedbackSuccess:"Feedback successfully sent. Thank you!",feedbackFailure:"Failed to send feedback. Please try again later.",ratingSuccess:"Rating successfully sent. Thank you!",ratingFailure:"Failed to send rating. Please try again later.",mapFeedbackMainTitle:"Send feedback",mapRatingSectionTitle:"Rate this document",mapDichotomousRatingSectionTitle:"Did it solve your problem?",mapFeedbackSectionTitle:"Write your review",topicFeedbackMainTitle:"Send feedback",topicRatingSectionTitle:"Rate this content",topicDichotomousRatingSectionTitle:"Did this content solve your problem?",topicFeedbackSectionTitle:"Write your review"};var ga=m(R());var Ee=m(M()),W=m(q()),Vd=m(Dn()),jd=m(Lt());var Ni=t=>t??ve;var lr=m(R());var Fd=m(M()),D=m(R());var U={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Ud=Fd.css`
1585
1585
  *:focus {
1586
1586
  outline: none;
1587
1587
  }
@@ -1616,8 +1616,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1616
1616
  overflow: hidden;
1617
1617
  padding: 0 ${U.horizontalSpacing};
1618
1618
 
1619
- ${(0,D.setVariable)(oe.fontSize,U.fontSize)};
1620
- ${(0,D.setVariable)(oe.lineHeight,U.fontSize)};
1619
+ ${(0,D.setVariable)(ot.fontSize,U.fontSize)};
1620
+ ${(0,D.setVariable)(ot.lineHeight,U.fontSize)};
1621
1621
  }
1622
1622
 
1623
1623
  .ft-text-field--input-panel ft-ripple {
@@ -1734,13 +1734,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1734
1734
  }
1735
1735
 
1736
1736
  .ft-text-field--with-icon {
1737
- ${(0,D.setVariable)(k.labelMaxWidth,`calc(100% - ${St.size} - ${k.horizontalSpacing})`)};
1737
+ ${(0,D.setVariable)(k.labelMaxWidth,`calc(100% - ${Se.size} - ${k.horizontalSpacing})`)};
1738
1738
  }
1739
1739
 
1740
1740
  .ft-text-field--with-password ft-icon:hover {
1741
1741
  cursor: pointer;
1742
1742
  }
1743
- `;var zd=m(R()),No=m(M()),Ar=m(q());var Wd=m(M());var Hd=Wd.css`
1743
+ `;var Hd=m(R()),No=m(M()),Ar=m(q());var Wd=m(M());var zd=Wd.css`
1744
1744
  .ft-text-field-suggestion {
1745
1745
  position: relative;
1746
1746
  padding: 8px 16px;
@@ -1776,8 +1776,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1776
1776
  slot {
1777
1777
  pointer-events: none;
1778
1778
  }
1779
- `;var jd=m(Le()),Li=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ya=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}},le=class extends zd.FtLitElement{render(){let t={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return No.html`
1780
- <div class=${(0,jd.classMap)(t)}
1779
+ `;var Gd=m(Lt()),Li=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ya=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},lt=class extends Hd.FtLitElement{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return No.html`
1780
+ <div class=${(0,Gd.classMap)(e)}
1781
1781
  tabindex="-1"
1782
1782
  @keydown=${this.onKeyDown}
1783
1783
  @click=${this.confirmSuggestion}>
@@ -1792,8 +1792,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1792
1792
  <slot></slot>
1793
1793
  </ft-typography>
1794
1794
  </div>
1795
- `}focus(t){var r;(r=this.container)===null||r===void 0||r.focus(t)}click(){var t;(t=this.container)===null||t===void 0||t.click()}confirmSuggestion(){this.dispatchEvent(new ya(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(t=>t.textContent).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}};le.elementDefinitions={"ft-ripple":K,"ft-typography":ft,"ft-icon":ht};le.styles=Hd;Li([(0,Ar.property)()],le.prototype,"value",void 0);Li([(0,Ar.property)()],le.prototype,"helper",void 0);Li([(0,Ar.query)(".ft-text-field-suggestion")],le.prototype,"container",void 0);Li([(0,Ar.queryAssignedNodes)()],le.prototype,"assignedNodes",void 0);var G=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},B=class extends(0,lr.toFtFormComponent)(lr.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=br.EYE_SLASH,this.passwordRevealedIcon=br.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){let r=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",r)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}blur(){var t;(t=this.input)===null||t===void 0||t.blur()}render(){let t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},r=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),n=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||r;return Et.html`
1796
- <div class="${(0,Gd.classMap)(t)}">
1795
+ `}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new ya(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};lt.elementDefinitions={"ft-ripple":K,"ft-typography":fe,"ft-icon":he};lt.styles=zd;Li([(0,Ar.property)()],lt.prototype,"value",void 0);Li([(0,Ar.property)()],lt.prototype,"helper",void 0);Li([(0,Ar.query)(".ft-text-field-suggestion")],lt.prototype,"container",void 0);Li([(0,Ar.queryAssignedNodes)()],lt.prototype,"assignedNodes",void 0);var j=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},B=class extends(0,lr.toFtFormComponent)(lr.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=br.EYE_SLASH,this.passwordRevealedIcon=br.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let o=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){let e={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},o=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),n=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||o;return Ee.html`
1796
+ <div class="${(0,jd.classMap)(e)}">
1797
1797
  <div class="ft-text-field--main-panel"
1798
1798
  @keydown=${this.handleKeyboardNavigation}
1799
1799
  @focusout=${this.onMainPanelBlur}>
@@ -1803,14 +1803,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1803
1803
  ?raised=${this.focused||this.value!=""}
1804
1804
  ?error=${this.error}></ft-input-label>
1805
1805
  <div class="ft-text-field--input-panel">
1806
- ${this.outlined?Et.nothing:Et.html`
1806
+ ${this.outlined?Ee.nothing:Ee.html`
1807
1807
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
1808
1808
  `}
1809
- ${this.prefix?Et.html`
1809
+ ${this.prefix?Ee.html`
1810
1810
  <ft-typography class="ft-text-field--prefix" variant="body1">
1811
1811
  ${this.prefix}
1812
1812
  </ft-typography>
1813
- `:Et.nothing}
1813
+ `:Ee.nothing}
1814
1814
  <input type=${this.resolveInputType()}
1815
1815
  name=${Ni(this.name)}
1816
1816
  maxlength=${Ni(this.maxLength||void 0)}
@@ -1828,50 +1828,50 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1828
1828
  <div class="ft-text-field--suggestions"
1829
1829
  @suggestion-selected=${this.onSuggestionSelected}>
1830
1830
  ${this.renderSuggestions()}
1831
- ${n?Et.html`
1831
+ ${n?Ee.html`
1832
1832
  <ft-text-field-suggestion class="ft-text-field-suggestion--new-value" helper="${this.suggestionsHelper}">
1833
1833
  ${this.value}
1834
1834
  </ft-text-field-suggestion>
1835
- `:Et.nothing}
1835
+ `:Ee.nothing}
1836
1836
  </div>
1837
1837
  </div>
1838
- ${this.helper?Et.html`
1838
+ ${this.helper?Ee.html`
1839
1839
  <ft-typography class="ft-text-field--helper-text" variant="caption">
1840
1840
  ${this.helper}
1841
1841
  </ft-typography>
1842
- `:Et.nothing}
1842
+ `:Ee.nothing}
1843
1843
  </div>
1844
- `}resolveInputType(){var t;return this.isPasswordField()?this.hidePassword?"password":"text":(t=this.type)!==null&&t!==void 0?t:"text"}renderSuggestions(){return this.suggestionsProvider?Et.html`
1845
- ${(0,Vd.repeat)(this.providedSuggestions,t=>Et.html`
1846
- <ft-text-field-suggestion value=${t.value} @click=${r=>this.onSuggestionClick(r,t.clickHandler)}>
1847
- ${t.icon?Et.html`
1848
- <ft-icon .value=${t.icon}></ft-icon>
1849
- `:Et.nothing}
1850
- ${t.label}
1844
+ `}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?Ee.html`
1845
+ ${(0,Vd.repeat)(this.providedSuggestions,e=>Ee.html`
1846
+ <ft-text-field-suggestion value=${e.value} @click=${o=>this.onSuggestionClick(o,e.clickHandler)}>
1847
+ ${e.icon?Ee.html`
1848
+ <ft-icon .value=${e.icon}></ft-icon>
1849
+ `:Ee.nothing}
1850
+ ${e.label}
1851
1851
  </ft-text-field-suggestion>`)}
1852
- `:Et.html`
1852
+ `:Ee.html`
1853
1853
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
1854
- `}onSuggestionClick(t,r){r&&(t.preventDefault(),r(t))}renderPasswordIcon(){return Et.html`
1854
+ `}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return Ee.html`
1855
1855
  <ft-icon class="ft-text-field--icon"
1856
1856
  .variant=${this.iconVariant}
1857
1857
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
1858
1858
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
1859
- `}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?Et.html`
1859
+ `}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?Ee.html`
1860
1860
  <ft-icon class="ft-text-field--icon"
1861
1861
  .variant=${this.iconVariant}
1862
1862
  .value=${this.icon}
1863
- @click=${()=>{var t;return(t=this.input)===null||t===void 0?void 0:t.focus()}}></ft-icon>
1864
- `:Et.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions")||t.has("suggestionsProvider"))&&this.updateSuggestions(),t.has("value")&&t.get("value")!=null&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&t.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(t=>!t.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),t.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),t.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var t;this.clearWatchAutofill(),((t=this.autocomplete)!==null&&t!==void 0?t:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var r,i,n;!((r=this.input)===null||r===void 0)&&r.matches(":autofill")&&this.dispatchedValue!==((i=this.input)===null||i===void 0?void 0:i.value)&&this.setValue((n=this.input)===null||n===void 0?void 0:n.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(t,r=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),r&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var r;let i=((r=this.input)===null||r===void 0?void 0:r.value)||"";this.setValue(i,t.key=="Escape"||t.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var r;if(t.key==="ArrowDown"||t.key==="ArrowUp"){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;let i=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),n;t.key==="ArrowDown"?n=i<this.visibleSuggestions.length-1?i+1:0:n=i>0?i-1:this.visibleSuggestions.length-1,(r=this.visibleSuggestions[n])===null||r===void 0||r.focus()}(t.key=="Escape"||t.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(t){var r;this.setValue(t.detail,!0),(r=this.input)===null||r===void 0||r.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,r;!((t=this.mainPanel)===null||t===void 0)&&t.matches(":focus-within")||(this.focused=!1,this.setValue(((r=this.input)===null||r===void 0?void 0:r.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let t=["bottom","top"];(0,lr.computeOffsetAutoPosition)(this.mainPanel,this.suggestionsContainer,"bottom",t,"fixed","--ft-text-field-internal-suggest-size",0).then(({x:r,y:i})=>{this.suggestionsContainer.style.left=`${r}px`,this.suggestionsContainer.style.top=`${i}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};B.elementDefinitions={"ft-input-label":Vt,"ft-ripple":K,"ft-typography":ft,"ft-icon":ht,"ft-text-field-suggestion":le};B.styles=[Pr,lr.noTextInputDefaultClearButton,Ud];G([(0,W.property)()],B.prototype,"label",void 0);G([(0,W.property)({noAccessor:!0})],B.prototype,"value",null);G([(0,W.state)()],B.prototype,"dispatchedValue",void 0);G([(0,W.property)()],B.prototype,"helper",void 0);G([(0,W.property)()],B.prototype,"suggestionsHelper",void 0);G([(0,W.property)({type:Boolean})],B.prototype,"outlined",void 0);G([(0,W.property)({type:Boolean})],B.prototype,"disabled",void 0);G([(0,W.property)({type:Boolean})],B.prototype,"error",void 0);G([(0,W.property)({type:Boolean})],B.prototype,"fixedMenuPosition",void 0);G([(0,W.property)()],B.prototype,"prefix",void 0);G([(0,W.property)()],B.prototype,"icon",void 0);G([(0,W.property)()],B.prototype,"name",void 0);G([(0,W.property)()],B.prototype,"type",void 0);G([(0,W.property)()],B.prototype,"passwordHiddenIcon",void 0);G([(0,W.property)()],B.prototype,"passwordRevealedIcon",void 0);G([(0,W.property)()],B.prototype,"iconVariant",void 0);G([(0,W.property)({type:Boolean})],B.prototype,"filterSuggestions",void 0);G([(0,W.property)({type:Number})],B.prototype,"maxLength",void 0);G([(0,W.property)({type:Boolean})],B.prototype,"password",void 0);G([(0,W.property)({type:String})],B.prototype,"autocomplete",void 0);G([(0,W.property)({attribute:!1})],B.prototype,"suggestionsProvider",void 0);G([(0,W.state)()],B.prototype,"focused",void 0);G([(0,W.state)()],B.prototype,"hidePassword",void 0);G([(0,W.state)()],B.prototype,"hideSuggestions",void 0);G([(0,W.state)()],B.prototype,"visibleSuggestions",void 0);G([(0,W.state)()],B.prototype,"providedSuggestions",void 0);G([(0,W.query)(".ft-text-field--main-panel")],B.prototype,"mainPanel",void 0);G([(0,W.query)(".ft-text-field--input")],B.prototype,"input",void 0);G([(0,W.query)(".ft-text-field-suggestion--new-value")],B.prototype,"newValueSuggestion",void 0);G([(0,W.query)(".ft-text-field--suggestions")],B.prototype,"suggestionsContainer",void 0);G([(0,W.queryAll)("ft-text-field-suggestion")],B.prototype,"providedSuggestionsInDom",void 0);G([(0,W.queryAssignedElements)({selector:"ft-text-field-suggestion"})],B.prototype,"slottedSuggestions",void 0);(0,ga.customElement)("ft-text-field")(B);(0,ga.customElement)("ft-text-field-suggestion")(le);var Xd=m(R());var Lo=m(M()),cr=m(q()),Qt=m(R());var ve=m(R());var Kd=m(R()),_u={setTranslationDestinationLanguage:(e,t)=>{e.translation.destinationLanguage=t.payload},setTranslationSourceLanguage:(e,t)=>{e.translation.sourceLanguage=t.payload},setTranslationProfileId:(e,t)=>{e.translation.profileId=t.payload},setTranslationLoading:(e,t)=>{e.translation.isLoading=t.payload},setTranslationError:(e,t)=>{e.translation.isError=t.payload},setTopicsRating:(e,t)=>{for(let r in t.payload)e.topicsRating[r]=t.payload[r]}},Zd=e=>Kd.FtReduxStore.get({name:"ft-reader-"+e,initialState:{mapId:void 0,renderedTopics:[],visibleTopics:[],map:void 0,toc:void 0,pagesToc:void 0,paginationConfiguration:void 0,currentPage:void 0,scrollTarget:void 0,configuration:void 0,searchInDocumentQuery:void 0,relatives:void 0,mapRating:void 0,topicsRating:{},translation:{sourceLanguage:void 0,destinationLanguage:void 0,profileId:void 0,isLoading:!1,isError:!1}},reducers:_u});var ma=class{constructor(t,r){this.mapId=t,this.paginatedToc=r,this.nodeByTocId={},this.nodeByUrl={},this.duplicatedPrettyUrls=new Set,this.pages=[],this.pageByTocId={}}build(){return{paginationConfiguration:this.paginatedToc.configuration,toc:this.convertNodes(this.paginatedToc.paginatedToc,1),pagesToc:this.extractPagesToc(this.paginatedToc.paginatedToc,1),nodeByTocId:this.nodeByTocId,nodeByUrl:this.nodeByUrl,duplicatedPrettyUrls:this.duplicatedPrettyUrls,pages:this.pages,pageByTocId:this.pageByTocId,translationError:this.paginatedToc.translationError}}extractPagesToc(t,r,i){return t.flatMap(n=>{var a;return n.pageConfiguration&&this.registerPage(this.buildPage(n,i)),n.tocId==null?this.extractPagesToc(n.children,r,i):[{tocId:n.tocId,title:(a=n.title)!==null&&a!==void 0?a:"",untranslatedTitle:n.untranslatedTitle,depth:r,children:this.extractPagesToc(n.children,r+1,n.tocId)}]})}convertNodes(t,r,i){return t.flatMap(n=>{var a,s,c;if(n.tocId==null)return[...this.convertSectionNodes((a=n.pageToc)!==null&&a!==void 0?a:[],r,n.tocId),...this.convertNodes(n.children,r,n.tocId)];let u=(s=n.prettyUrl)===null||s===void 0?void 0:s.replace(/^\//,""),p={tocId:n.tocId,contentId:n.contentId,title:n.title,untranslatedTitle:n.untranslatedTitle,hasRating:n.hasRating,origin:n.origin,prettyUrl:u,depth:r,parentTocId:i,children:[]};this.register(p);let h=this.convertSectionNodes((c=n.pageToc)!==null&&c!==void 0?c:[],r+1,n.tocId),y=this.convertNodes(n.children,r+1,p.tocId);return p.children=[...h,...y],[p]})}convertSectionNodes(t,r,i){return t.flatMap(n=>{var a;let s=(a=n.prettyUrl)===null||a===void 0?void 0:a.replace(/^\//,""),c={...n,prettyUrl:s,depth:r,parentTocId:i,children:[]};return this.register(c),c.children=this.convertSectionNodes(n.children,r+1,n.tocId),[c]})}buildPage(t,r){var i,n,a,s,c,u;let p={number:this.pages.length+1,title:(i=t.title)!==null&&i!==void 0?i:"",untranslatedTitle:t.untranslatedTitle,rootTocId:(n=t.tocId)!==null&&n!==void 0?n:"root",toc:((a=t.pageToc)!==null&&a!==void 0?a:[]).map(b=>this.nodeByTocId[b.tocId]),topics:[],hiddenTopics:[],breadcrumb:r?this.buildBreadcrumb(this.nodeByTocId[r]):[]},h=(b,v)=>(v?p.topics:p.hiddenTopics).push(b),y=(c=(s=t.pageConfiguration)===null||s===void 0?void 0:s.parentsVisibility)!==null&&c!==void 0?c:[];return p.breadcrumb.forEach((b,v)=>{h(b,y[v])}),t.tocId&&h(t.tocId,t.pageConfiguration.isVisible),p.topics.push(...this.tocIds((u=t.pageToc)!==null&&u!==void 0?u:[])),p}registerPage(t){for(let r of[...t.topics,...t.hiddenTopics])this.pageByTocId[r]||(this.pageByTocId[r]=t);this.pages.push(t)}tocIds(t){return t.flatMap(r=>[r.tocId,...this.tocIds(r.children)])}buildBreadcrumb(t){let r=[t.tocId];for(;t?.parentTocId;)r.unshift(t.parentTocId),t=this.nodeByTocId[t.parentTocId];return r}register(t){t.prettyUrl&&(this.nodeByUrl[t.prettyUrl]==null?this.nodeByUrl[t.prettyUrl]=t:this.duplicatedPrettyUrls.add(t.prettyUrl)),this.nodeByUrl[`${this.mapId}/${t.tocId}`]=t,this.nodeByTocId[t.tocId]=t}},Pi=class{convertPaginatedToc(t,r){return new ma(t,r).build()}};var ki=class extends Ae{get mapId(){return this._mapId}set mapId(t){t!==this._mapId&&this.clear(),this._mapId=t}constructor(t,r,i){super(!1,r),this.converter=t,this._mapId=i,this.initCache()}async withMapId(t){return this._mapId?t(this._mapId):void 0}initCache(){this.cache.registerFinal("configuration",()=>this.api.getReaderConfiguration()),this.cache.register("map",()=>this.withMapId(t=>this.fetchMap(t))),this.cache.register("enrichedToc",()=>this.withMapId(t=>this.fetchPages(t).then(r=>this.converter.convertPaginatedToc(t,r)))),this.cache.register("ratingSummary",()=>{var t,r;return Ne((r=(t=T.getState().session)===null||t===void 0?void 0:t.profile.roles)!==null&&r!==void 0?r:[],"RATING_USER")?this.withMapId(n=>this.fetchMapRating(n)):Promise.resolve()})}clear(){this.cache.clearAll()}makeCacheKey(t,r){return t+(r?"-destinationLanguage-"+r?.destinationLanguage:"")}getMap(t){return this.cache.get(this.makeCacheKey("map",t),()=>this.fetchMap(this.mapId,t))}getMapNow(t){return this.cache.getNow(this.makeCacheKey("map",t))}getConfiguration(){return this.cache.get("configuration")}getEnrichedToc(t){return this.cache.get(this.makeCacheKey("enrichedToc",t),()=>this.fetchPages(this.mapId,t).then(r=>this.converter.convertPaginatedToc(this.mapId,r)))}getEnrichedTocNow(t){return this.cache.getNow(this.makeCacheKey("enrichedToc",t))}async getPaginationConfiguration(){return(await this.getEnrichedToc()).paginationConfiguration}async getToc(t){return(await this.getEnrichedToc(t)).toc}async getPagesToc(t){return(await this.getEnrichedToc(t)).pagesToc}async getTranslationError(t){return(await this.getEnrichedToc(t)).translationError}async getTocNode(t,r){return(await this.getEnrichedToc(r)).nodeByTocId[t]}getTocNodeNow(t,r){var i;return(i=this.getEnrichedTocNow(r))===null||i===void 0?void 0:i.nodeByTocId[t]}getTocNodeNowByUrl(t,r){var i,n;let a=this.getMapNow(r);return a?.prettyUrl==t||`${a?.id}/root`===t?(i=this.getEnrichedTocNow(r))===null||i===void 0?void 0:i.toc[0]:(n=this.getEnrichedTocNow(r))===null||n===void 0?void 0:n.nodeByUrl[t]}async getPage(t,r){let i=await this.getEnrichedToc(r);return i.pages[t-1]||i.pages[0]}async getPageByTocId(t,r){let i=await this.getEnrichedToc(r);return i.pageByTocId[t]||i.pages[0]}getTopicInfo(t){return this.cache.get("topic-"+t.tocId,()=>this.fetchTopicMetadata(t))}getTopicContent(t){return this.cache.get("topic-content-"+t.tocId,()=>this.fetchTopicHTMLContent(t))}getTranslatedTopicContent(t,r){return this.cache.get(this.makeCacheKey("translated-topic-content-"+t.tocId,r),()=>this.fetchTranslatedTopicHTMLContent(t,r))}getAttachments(){return this.cache.get("map-attachments",()=>this.fetchAttachments())}clearMapAttachments(){this.cache.clear("map-attachments")}getRelativesForDocument(t,r){return this.cache.get("document-relatives-"+t+"-"+r.join("-"),()=>this.fetchRelativesForDocument(t,r))}getRelativesForTopicInMap(t,r,i){return this.cache.get("topic-relatives-"+[t,r,...i].join("-"),()=>this.fetchRelativesForTopicInMap(t,r,i))}getAttachmentDownloadLink(t){return this.makeAbsolute(`${this.api.endpoints.khub.maps.mapId(this.mapId).attachments.attachmentId(t).content}?download=true&locationValue=reader`)}getLink(t,r,i){let n=this.getNavigationData(t,r,i),a=this.getReaderLinkPrefix()+(n.prettyUrl?n.prettyUrl:`${n.mapId}/${n.tocId}`),s=new URL(a,this.api.tenantBaseUrl);return n.page!=null&&s.searchParams.set("page",`${n.page}`),n.prettyUrlDuplicated&&s.searchParams.set("tocId",n.tocId),n.section!=null&&s.searchParams.set("section",n.section),s.href}getNavigationData(t,r,i,n){var a,s;t=t||"root";let c=this.getEnrichedTocNow(n),u=c?.pageByTocId[t],p=c?.nodeByTocId[t],h=p?.prettyUrl;return{mapId:this.mapId,tocId:t,topicTitle:(a=p?.title)!==null&&a!==void 0?a:"",untranslatedTopicTitle:p?.untranslatedTitle,page:r&&u&&u.number!==r?r:void 0,prettyUrl:h?.replace(/^r\//,""),prettyUrlDuplicated:(s=c?.duplicatedPrettyUrls.has(h??""))!==null&&s!==void 0?s:!1,section:i}}async getAccurateNavigationData(t,r,i,n){return await this.getEnrichedToc(n),this.getNavigationData(t,r,i,n)}getRatingSummary(){return this.cache.get("ratingSummary")}reloadRating(){return this.cache.clear("ratingSummary"),this.getRatingSummary()}getMapRating(){return this.getRatingSummary().then(t=>t?.publication)}getTopicRating(t){return this.getRatingSummary().then(r=>{var i;return r?{type:r.topics.type,rating:(i=r.topics)===null||i===void 0?void 0:i.ratings.find(n=>n.tocId===t)}:void 0})}rateMap(t,r){return this.makeRateMapRequest(t,r).then(()=>this.clearRatingIfNecessary())}unrateMap(){return this.makeUnrateMapRequest().then(()=>this.clearRatingIfNecessary())}sendMapFeedback(t,r){return this.makeMapFeedbackRequest(t,r)}rateTopic(t,r,i){return this.makeRateTopicRequest(t,r,i).then(()=>this.clearRatingIfNecessary())}unrateTopic(t){return this.makeUnrateTopicRequest(t).then(()=>this.clearRatingIfNecessary())}async clearRatingIfNecessary(){let t=T.getState().session;t?.sessionAuthenticated&&this.cache.clear("ratingSummary")}sendTopicFeedback(t,r,i){return this.makeTopicFeedbackRequest(t,r,i)}fontsStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.fonts)}themeStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.theme)}buildBreadcrumb(t,r){let i=this.getTocNodeNow(t,r),n=[{tocId:i.tocId,title:i.title,untranslatedTitle:i.untranslatedTitle}],a=this.getTocNodeNow(i.parentTocId,r);for(;a;)n.unshift({tocId:a.tocId,title:a.title,untranslatedTitle:a.untranslatedTitle}),a=this.getTocNodeNow(a.parentTocId,r);return n}isFeatureAccessible(t,{session:r}){var i;if(!this.isFeatureAvailable(t))return!1;switch(t){case re.FEEDBACK:return Ne(r??[],et.FEEDBACK_USER);case re.RATING:return Ne(r??[],et.RATING_USER);case re.PRINT:return Ne(r??[],et.PRINT_USER);case re.BOOKMARK:return!!r?.sessionAuthenticated;case re.COLLECTIONS:return Ne(r??[],et.COLLECTION_USER);case re.PERSONAL_BOOKS:return Ne(r??[],et.PERSONAL_BOOK_USER)&&!(!((i=this.getMapNow())===null||i===void 0)&&i.pbkConfidential);default:return!1}}makeAbsolute(t){return this.api.makeAbsolute(t)}};var Di=class e extends ki{static async build(t){return new e(new Pi,void 0,t)}clear(){super.clear(),this.fingerprint=void 0}async fetchMap(t,r){let i=await this.api.getMap(t,r);return this.fingerprint=i.fingerprint,i}fetchMapRating(t){return this.api.getMapRating(t)}async fetchPages(t,r){return await this.getMap(r),this.api.getPages(t,this.fingerprint,r)}fetchTopicHTMLContent(t){return this.api.getTopicHTMLContent(this.mapId,t.contentId,"DESIGNED_READER",this.fingerprint)}fetchTranslatedTopicHTMLContent(t,r){return this.api.getTranslatedTopicHTMLContent(this.mapId,t.contentId,"DESIGNED_READER",this.fingerprint,r)}fetchTopicMetadata(t){return this.api.getTopic(this.mapId,t.contentId,this.fingerprint)}fetchAttachments(){return this.api.getMapAttachments(this.mapId).catch(()=>[])}fetchRelativesForDocument(t,r){let i={query:"",paging:{page:1,perPage:-1},scope:"DOCUMENTS",metadataFilters:[{key:t,valueFilter:{negative:!1,values:r}}],sort:[],facets:[]};return this.api.search(i)}fetchRelativesForTopicInMap(t,r,i){let n={query:"",paging:{page:1,perPage:1},scope:"ALL_TOPICS",metadataFilters:[{key:r,valueFilter:{negative:!1,values:i}},{key:"ft:publicationId",valueFilter:{negative:!1,values:[t]}}],sort:[],facets:[]};return this.api.search(n)}makeMapFeedbackRequest(t,r){return this.api.sendMapFeedback(this.mapId,t,r)}makeRateMapRequest(t,r){return this.api.rateMap(this.mapId,t,r)}makeRateTopicRequest(t,r,i){return this.api.rateTopic(this.mapId,t,r,i)}makeTopicFeedbackRequest(t,r,i){return this.api.sendTopicFeedback(this.mapId,t,r,i)}makeUnrateMapRequest(){return this.api.unrateMap(this.mapId)}makeUnrateTopicRequest(t){return this.api.unrateTopic(this.mapId,t)}getReaderLinkPrefix(){return"r/"}isFeatureAvailable(t){return!0}};var $i=class e{static build(t,r){return new e(Zd(t.trim()||"context"),r??Di.build)}loaded(){return(0,ve.waitUntil)(()=>this._loaded)}constructor(t,r,i){this.store=t,this.clusteringHelperProvider=i,this.metadataForSwitchToRelatives=new Set,this._loaded=!1,this.loadDebouncer=new ve.Debouncer(10),this.initService(r)}async initService(t){return this.service=await t(),this.service.mapId=this.store.getState().mapId,this.reload()}async setMapId(t){t!==this.store.getState().mapId&&(this.store.actions.mapId(t),this.service&&(this.service.mapId=t),await this.reload())}setRenderedTopics(t){this.store.actions.renderedTopics(t)}setVisibleTopics(t){this.store.actions.visibleTopics(t)}async awaitService(){return(0,ve.waitFor)(()=>this.service)}async navigateToTopic(t,r,i){await this.loaded();let n=await this.awaitService(),a=await(i!=null?n.getPage(i,this.getTranslationSettings()):n.getPageByTocId(t??"root",this.getTranslationSettings()));this.store.actions.currentPage(a);let s=this.resolveValidNonRootTocId(t,a);this.store.actions.scrollTarget({tocId:s,section:r}),this.store.getState().visibleTopics[0]!==s&&this.store.actions.visibleTopics([])}resolveValidNonRootTocId(t,r){var i,n,a;let s=(i=t==="root"?void 0:t)!==null&&i!==void 0?i:r.rootTocId;return r.topics.includes(s)?s:(a=(n=r.topics[0])!==null&&n!==void 0?n:r.hiddenTopics[0])!==null&&a!==void 0?a:"root"}async navigateToPage(t){await this.loaded();let i=await(await this.awaitService()).getPage(t,this.getTranslationSettings());this.store.actions.currentPage(i)}scrollDone(){this.store.actions.scrollTarget({})}async load(){var t;!((t=this.service)===null||t===void 0)&&t.mapId&&this.store.getState().map==null&&await this.loadDebouncer.run(()=>this.fetchData(this.getTranslationSettings()))}clear(){var t;this._loaded=!1,this.store.actions.configuration(void 0),this.store.actions.map(void 0),this.store.actions.toc(void 0),this.store.actions.pagesToc(void 0),this.store.actions.currentPage(void 0),this.store.actions.searchInDocumentQuery(""),this.store.actions.relatives(void 0),this.store.actions.renderedTopics([]),this.store.actions.visibleTopics([]),this.store.actions.translation({sourceLanguage:void 0,destinationLanguage:void 0,profileId:void 0,isLoading:!1,isError:!1}),this.store.actions.mapRating(void 0),(t=this.service)===null||t===void 0||t.clear(),this.clusteringHelper=void 0}reload(){return this.clear(),this.load()}async fetchData(t){var r,i,n,a,s,c;try{t&&this.setTranslationLoading(!0);let u=p=>{throw t&&this.setTranslationError(!0),p};await Promise.all([(r=this.service)===null||r===void 0?void 0:r.getConfiguration().then(p=>this.store.actions.configuration(p)),(i=this.service)===null||i===void 0?void 0:i.getMap(t).then(p=>this.store.actions.map(p)).catch(u),(n=this.service)===null||n===void 0?void 0:n.getToc(t).then(p=>this.store.actions.toc(p)).catch(u),(a=this.service)===null||a===void 0?void 0:a.getPagesToc(t).then(p=>this.store.actions.pagesToc(p)).catch(u),(s=this.service)===null||s===void 0?void 0:s.getPaginationConfiguration().then(p=>this.store.actions.paginationConfiguration(p)).catch(u),(c=this.service)===null||c===void 0?void 0:c.getTranslationError(t).then(p=>this.setTranslationError(p))]),this.metadataForSwitchToRelatives.size>0&&this.fetchRelatives(),this._loaded=!0,t&&this.setTranslationLoading(!1)}catch(u){this.errorHandler&&!(u instanceof ve.CanceledPromiseError)&&this.errorHandler(u)}}fetchRelatives(){var t,r,i;let n=(t=this.store.getState().map)===null||t===void 0?void 0:t.metadata.filter(a=>{var s;return a.key==((s=this.store.getState().configuration)===null||s===void 0?void 0:s.relativePivotMetadata)}).flatMap(a=>a.values);n!==void 0&&n.length>0?(r=this.service)===null||r===void 0||r.getRelativesForDocument((i=this.store.getState().configuration)===null||i===void 0?void 0:i.relativePivotMetadata,n).then(a=>{let s=a.results.flatMap(c=>c.entries);this.store.actions.relatives(s),this.updateClusteringHelper()}):this.updateClusteringHelper()}updateClusteringHelper(){this.clusteringHelper=this.createClusteringHelper(),this.clusteringHelper&&this.store.dispatchEvent(new Event(eo.clusteringHelperCreated))}createClusteringHelper(){var t,r;if(this.clusteringHelperProvider)return this.clusteringHelperProvider();let i=this.store.getState().relatives;if(i){let n=i.find(s=>{var c;return((c=s.map)===null||c===void 0?void 0:c.mapId)==this.store.getState().mapId}),a=(r=(t=T.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&r!==void 0?r:[];return new ve.ClusteringHelper(i,n,this.metadataForSwitchToRelatives,a)}}async navigateToRelativeTopicIfFound(t){var r,i,n;await this.loaded();let a=await(0,ve.waitFor)(()=>{var p;return(p=this.store.getState().configuration)===null||p===void 0?void 0:p.relativeTopicPivotMetadata}),s=this.store.getState().mapId,u=await(await this.awaitService()).getRelativesForTopicInMap(s,a,[t]);if(!((n=(i=(r=u?.results)===null||r===void 0?void 0:r[0])===null||i===void 0?void 0:i.entries)===null||n===void 0)&&n[0]){let p=u.results[0].entries[0].topic.tocId;return await this.navigateToTopic(p),!0}else return await this.navigateToTopic("root"),!1}setSearchInDocumentQuery(t){this.store.actions.searchInDocumentQuery(t)}async setTranslationDestinationLanguage(t){this.store.actions.setTranslationDestinationLanguage(t),await this.loadDebouncer.run(()=>this.fetchData(this.getTranslationSettings()))}async setTranslationSourceLanguage(t){this.store.actions.setTranslationSourceLanguage(t),await this.loadDebouncer.run(()=>this.fetchData(this.getTranslationSettings()))}async setTranslationProfileId(t){this.store.actions.setTranslationProfileId(t)}async setTranslationLoading(t){this.store.actions.setTranslationLoading(t)}async setTranslationError(t){this.store.actions.setTranslationError(t)}getTranslationSettings(){var t;let r=this.store.getState();return r.translation.profileId&&r.translation.destinationLanguage?{profileId:r.translation.profileId,destinationLanguage:r.translation.destinationLanguage.code,sourceLanguage:(t=r.map)===null||t===void 0?void 0:t.lang}:void 0}async fetchMapRating(){var t;this.store.actions.mapRating(await((t=this.service)===null||t===void 0?void 0:t.getMapRating()))}async fetchTopicRating(t){var r;let i=await((r=this.service)===null||r===void 0?void 0:r.getTopicRating(t));i&&this.store.actions.setTopicsRating({[t]:i})}registerMetadataForSwitchToRelatives(t){this.metadataForSwitchToRelatives.add(t),this.store.getState().relatives==null?this.fetchRelatives():this.updateClusteringHelper()}unregisterMetadataForSwitchToRelatives(t){this.metadataForSwitchToRelatives.delete(t),this.updateClusteringHelper()}getAccurateNavigationData(t,r,i){return this.service.getAccurateNavigationData(t,r?.number,i?.section,this.getTranslationSettings())}buildBreadcrumb(t){var r;return(r=this.service)===null||r===void 0?void 0:r.buildBreadcrumb(t,this.getTranslationSettings())}fetchTopicContent(t){var r,i,n=this.getTranslationSettings();return n?(r=this.service)===null||r===void 0?void 0:r.getTranslatedTopicContent(t,n).then(a=>(a.isTranslationError&&this.setTranslationError(!0),a.content)):(i=this.service)===null||i===void 0?void 0:i.getTopicContent(t)}getTocNode(t){var r;return(r=this.service)===null||r===void 0?void 0:r.getTocNode(t,this.getTranslationSettings())}getPage(t){var r;return(r=this.service)===null||r===void 0?void 0:r.getPage(t,this.getTranslationSettings())}onMapAttachmentsUpdate(){var t;(t=this.service)===null||t===void 0||t.clearMapAttachments(),this.store.dispatchEvent(new Event(eo.mapAttachmentsUpdate))}};var qd=m(M());var Yd=qd.css`
1865
- `;var Bi=class extends CustomEvent{constructor(t,r){super("ft-reader-map-loaded",{detail:{map:t,toc:r}})}},Mi=class extends CustomEvent{constructor(t,r){super("ft-reader-visible-topics-change",{detail:{visibleTopics:r}})}},Fi=class extends CustomEvent{constructor(t){super("ft-reader-navigation-done",{detail:t})}},Ui=class extends CustomEvent{constructor(t){super("ft-reader-load-error",{detail:t})}},Wi=class extends Event{constructor(){super("ft-reader-map-not-found")}},Hi=class extends Event{constructor(){super("ft-reader-map-unauthorized")}},zi=class extends Event{constructor(){super("ft-reader-map-forbidden")}},ji=class extends Event{constructor(){super("ft-reader-topic-relative-not-found",{bubbles:!0,composed:!0})}};var Vi=class{constructor(t){this.stateManager=t}searchInDocument(t){this.stateManager.setSearchInDocumentQuery(t??"")}};var Jt=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Nu=e=>t=>+(t??"NaN")>0?+t:e,At=class extends Qt.FtLitElementRedux{constructor(){super(),this.visibleTopics=[],this.scrollToTargetDebouncer=new Qt.Debouncer(5),this.navigationDebouncer=new Qt.Debouncer(10),this.mapLoadedEventDebouncer=new Qt.Debouncer(50),this.addStore(T)}render(){return Lo.html`
1863
+ @click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
1864
+ `:Ee.nothing}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var o,i,n;!((o=this.input)===null||o===void 0)&&o.matches(":autofill")&&this.dispatchedValue!==((i=this.input)===null||i===void 0?void 0:i.value)&&this.setValue((n=this.input)===null||n===void 0?void 0:n.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,o=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),o&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var o;let i=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(i,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var o;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let i=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),n;e.key==="ArrowDown"?n=i<this.visibleSuggestions.length-1?i+1:0:n=i>0?i-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[n])===null||o===void 0||o.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var o;this.setValue(e.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,o;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];(0,lr.computeOffsetAutoPosition)(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--ft-text-field-internal-suggest-size",0).then(({x:o,y:i})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${i}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};B.elementDefinitions={"ft-input-label":Ve,"ft-ripple":K,"ft-typography":fe,"ft-icon":he,"ft-text-field-suggestion":lt};B.styles=[Pr,lr.noTextInputDefaultClearButton,Ud];j([(0,W.property)()],B.prototype,"label",void 0);j([(0,W.property)({noAccessor:!0})],B.prototype,"value",null);j([(0,W.state)()],B.prototype,"dispatchedValue",void 0);j([(0,W.property)()],B.prototype,"helper",void 0);j([(0,W.property)()],B.prototype,"suggestionsHelper",void 0);j([(0,W.property)({type:Boolean})],B.prototype,"outlined",void 0);j([(0,W.property)({type:Boolean})],B.prototype,"disabled",void 0);j([(0,W.property)({type:Boolean})],B.prototype,"error",void 0);j([(0,W.property)({type:Boolean})],B.prototype,"fixedMenuPosition",void 0);j([(0,W.property)()],B.prototype,"prefix",void 0);j([(0,W.property)()],B.prototype,"icon",void 0);j([(0,W.property)()],B.prototype,"name",void 0);j([(0,W.property)()],B.prototype,"type",void 0);j([(0,W.property)()],B.prototype,"passwordHiddenIcon",void 0);j([(0,W.property)()],B.prototype,"passwordRevealedIcon",void 0);j([(0,W.property)()],B.prototype,"iconVariant",void 0);j([(0,W.property)({type:Boolean})],B.prototype,"filterSuggestions",void 0);j([(0,W.property)({type:Number})],B.prototype,"maxLength",void 0);j([(0,W.property)({type:Boolean})],B.prototype,"password",void 0);j([(0,W.property)({type:String})],B.prototype,"autocomplete",void 0);j([(0,W.property)({attribute:!1})],B.prototype,"suggestionsProvider",void 0);j([(0,W.state)()],B.prototype,"focused",void 0);j([(0,W.state)()],B.prototype,"hidePassword",void 0);j([(0,W.state)()],B.prototype,"hideSuggestions",void 0);j([(0,W.state)()],B.prototype,"visibleSuggestions",void 0);j([(0,W.state)()],B.prototype,"providedSuggestions",void 0);j([(0,W.query)(".ft-text-field--main-panel")],B.prototype,"mainPanel",void 0);j([(0,W.query)(".ft-text-field--input")],B.prototype,"input",void 0);j([(0,W.query)(".ft-text-field-suggestion--new-value")],B.prototype,"newValueSuggestion",void 0);j([(0,W.query)(".ft-text-field--suggestions")],B.prototype,"suggestionsContainer",void 0);j([(0,W.queryAll)("ft-text-field-suggestion")],B.prototype,"providedSuggestionsInDom",void 0);j([(0,W.queryAssignedElements)({selector:"ft-text-field-suggestion"})],B.prototype,"slottedSuggestions",void 0);(0,ga.customElement)("ft-text-field")(B);(0,ga.customElement)("ft-text-field-suggestion")(lt);var Xd=m(R());var Lo=m(M()),cr=m(q()),Qe=m(R());var xt=m(R());var Kd=m(R()),_u={setTranslationDestinationLanguage:(t,e)=>{t.translation.destinationLanguage=e.payload},setTranslationSourceLanguage:(t,e)=>{t.translation.sourceLanguage=e.payload},setTranslationProfileId:(t,e)=>{t.translation.profileId=e.payload},setTranslationLoading:(t,e)=>{t.translation.isLoading=e.payload},setTranslationError:(t,e)=>{t.translation.isError=e.payload},setTopicsRating:(t,e)=>{for(let o in e.payload)t.topicsRating[o]=e.payload[o]}},Zd=t=>Kd.FtReduxStore.get({name:"ft-reader-"+t,initialState:{mapId:void 0,renderedTopics:[],visibleTopics:[],map:void 0,toc:void 0,pagesToc:void 0,paginationConfiguration:void 0,currentPage:void 0,scrollTarget:void 0,configuration:void 0,searchInDocumentQuery:void 0,relatives:void 0,mapRating:void 0,topicsRating:{},translation:{sourceLanguage:void 0,destinationLanguage:void 0,profileId:void 0,isLoading:!1,isError:!1}},reducers:_u});var ma=class{constructor(e,o){this.mapId=e,this.paginatedToc=o,this.nodeByTocId={},this.nodeByUrl={},this.duplicatedPrettyUrls=new Set,this.pages=[],this.pageByTocId={}}build(){return{paginationConfiguration:this.paginatedToc.configuration,toc:this.convertNodes(this.paginatedToc.paginatedToc,1),pagesToc:this.extractPagesToc(this.paginatedToc.paginatedToc,1),nodeByTocId:this.nodeByTocId,nodeByUrl:this.nodeByUrl,duplicatedPrettyUrls:this.duplicatedPrettyUrls,pages:this.pages,pageByTocId:this.pageByTocId,translationError:this.paginatedToc.translationError}}extractPagesToc(e,o,i){return e.flatMap(n=>{var a;return n.pageConfiguration&&this.registerPage(this.buildPage(n,i)),n.tocId==null?this.extractPagesToc(n.children,o,i):[{tocId:n.tocId,title:(a=n.title)!==null&&a!==void 0?a:"",untranslatedTitle:n.untranslatedTitle,depth:o,children:this.extractPagesToc(n.children,o+1,n.tocId)}]})}convertNodes(e,o,i){return e.flatMap(n=>{var a,s,c;if(n.tocId==null)return[...this.convertSectionNodes((a=n.pageToc)!==null&&a!==void 0?a:[],o,n.tocId),...this.convertNodes(n.children,o,n.tocId)];let u=(s=n.prettyUrl)===null||s===void 0?void 0:s.replace(/^\//,""),p={tocId:n.tocId,contentId:n.contentId,title:n.title,untranslatedTitle:n.untranslatedTitle,hasRating:n.hasRating,origin:n.origin,prettyUrl:u,depth:o,parentTocId:i,children:[]};this.register(p);let h=this.convertSectionNodes((c=n.pageToc)!==null&&c!==void 0?c:[],o+1,n.tocId),y=this.convertNodes(n.children,o+1,p.tocId);return p.children=[...h,...y],[p]})}convertSectionNodes(e,o,i){return e.flatMap(n=>{var a;let s=(a=n.prettyUrl)===null||a===void 0?void 0:a.replace(/^\//,""),c={...n,prettyUrl:s,depth:o,parentTocId:i,children:[]};return this.register(c),c.children=this.convertSectionNodes(n.children,o+1,n.tocId),[c]})}buildPage(e,o){var i,n,a,s,c,u;let p={number:this.pages.length+1,title:(i=e.title)!==null&&i!==void 0?i:"",untranslatedTitle:e.untranslatedTitle,rootTocId:(n=e.tocId)!==null&&n!==void 0?n:"root",toc:((a=e.pageToc)!==null&&a!==void 0?a:[]).map(b=>this.nodeByTocId[b.tocId]),topics:[],hiddenTopics:[],breadcrumb:o?this.buildBreadcrumb(this.nodeByTocId[o]):[]},h=(b,x)=>(x?p.topics:p.hiddenTopics).push(b),y=(c=(s=e.pageConfiguration)===null||s===void 0?void 0:s.parentsVisibility)!==null&&c!==void 0?c:[];return p.breadcrumb.forEach((b,x)=>{h(b,y[x])}),e.tocId&&h(e.tocId,e.pageConfiguration.isVisible),p.topics.push(...this.tocIds((u=e.pageToc)!==null&&u!==void 0?u:[])),p}registerPage(e){for(let o of[...e.topics,...e.hiddenTopics])this.pageByTocId[o]||(this.pageByTocId[o]=e);this.pages.push(e)}tocIds(e){return e.flatMap(o=>[o.tocId,...this.tocIds(o.children)])}buildBreadcrumb(e){let o=[e.tocId];for(;e?.parentTocId;)o.unshift(e.parentTocId),e=this.nodeByTocId[e.parentTocId];return o}register(e){e.prettyUrl&&(this.nodeByUrl[e.prettyUrl]==null?this.nodeByUrl[e.prettyUrl]=e:this.duplicatedPrettyUrls.add(e.prettyUrl)),this.nodeByUrl[`${this.mapId}/${e.tocId}`]=e,this.nodeByTocId[e.tocId]=e}},Pi=class{convertPaginatedToc(e,o){return new ma(e,o).build()}};var ki=class extends At{get mapId(){return this._mapId}set mapId(e){e!==this._mapId&&this.clear(),this._mapId=e}constructor(e,o,i){super(!1,o),this.converter=e,this._mapId=i,this.initCache()}async withMapId(e){return this._mapId?e(this._mapId):void 0}initCache(){this.cache.registerFinal("configuration",()=>this.api.getReaderConfiguration()),this.cache.register("map",()=>this.withMapId(e=>this.fetchMap(e))),this.cache.register("enrichedToc",()=>this.withMapId(e=>this.fetchPages(e).then(o=>this.converter.convertPaginatedToc(e,o)))),this.cache.register("ratingSummary",()=>{var e,o;return Nt((o=(e=T.getState().session)===null||e===void 0?void 0:e.profile.roles)!==null&&o!==void 0?o:[],"RATING_USER")?this.withMapId(n=>this.fetchMapRating(n)):Promise.resolve()})}clear(){this.cache.clearAll()}makeCacheKey(e,o){return e+(o?"-destinationLanguage-"+o?.destinationLanguage:"")}getMap(e){return this.cache.get(this.makeCacheKey("map",e),()=>this.fetchMap(this.mapId,e))}getMapNow(e){return this.cache.getNow(this.makeCacheKey("map",e))}getConfiguration(){return this.cache.get("configuration")}getEnrichedToc(e){return this.cache.get(this.makeCacheKey("enrichedToc",e),()=>this.fetchPages(this.mapId,e).then(o=>this.converter.convertPaginatedToc(this.mapId,o)))}getEnrichedTocNow(e){return this.cache.getNow(this.makeCacheKey("enrichedToc",e))}async getPaginationConfiguration(){return(await this.getEnrichedToc()).paginationConfiguration}async getToc(e){return(await this.getEnrichedToc(e)).toc}async getPagesToc(e){return(await this.getEnrichedToc(e)).pagesToc}async getTranslationError(e){return(await this.getEnrichedToc(e)).translationError}async getTocNode(e,o){return(await this.getEnrichedToc(o)).nodeByTocId[e]}getTocNodeNow(e,o){var i;return(i=this.getEnrichedTocNow(o))===null||i===void 0?void 0:i.nodeByTocId[e]}getTocNodeNowByUrl(e,o){var i,n;let a=this.getMapNow(o);return a?.prettyUrl==e||`${a?.id}/root`===e?(i=this.getEnrichedTocNow(o))===null||i===void 0?void 0:i.toc[0]:(n=this.getEnrichedTocNow(o))===null||n===void 0?void 0:n.nodeByUrl[e]}async getPage(e,o){let i=await this.getEnrichedToc(o);return i.pages[e-1]||i.pages[0]}async getPageByTocId(e,o){let i=await this.getEnrichedToc(o);return i.pageByTocId[e]||i.pages[0]}getTopicInfo(e){return this.cache.get("topic-"+e.tocId,()=>this.fetchTopicMetadata(e))}getTopicContent(e){return this.cache.get("topic-content-"+e.tocId,()=>this.fetchTopicHTMLContent(e))}getTranslatedTopicContent(e,o){return this.cache.get(this.makeCacheKey("translated-topic-content-"+e.tocId,o),()=>this.fetchTranslatedTopicHTMLContent(e,o))}getAttachments(){return this.cache.get("map-attachments",()=>this.fetchAttachments())}clearMapAttachments(){this.cache.clear("map-attachments")}getRelativesForDocument(e,o){return this.cache.get("document-relatives-"+e+"-"+o.join("-"),()=>this.fetchRelativesForDocument(e,o))}getRelativesForTopicInMap(e,o,i){return this.cache.get("topic-relatives-"+[e,o,...i].join("-"),()=>this.fetchRelativesForTopicInMap(e,o,i))}getAttachmentDownloadLink(e){return this.makeAbsolute(`${this.api.endpoints.khub.maps.mapId(this.mapId).attachments.attachmentId(e).content}?download=true&locationValue=reader`)}getLink(e,o,i){let n=this.getNavigationData(e,o,i),a=this.getReaderLinkPrefix()+(n.prettyUrl?n.prettyUrl:`${n.mapId}/${n.tocId}`),s=new URL(a,this.api.tenantBaseUrl);return n.page!=null&&s.searchParams.set("page",`${n.page}`),n.prettyUrlDuplicated&&s.searchParams.set("tocId",n.tocId),n.section!=null&&s.searchParams.set("section",n.section),s.href}getNavigationData(e,o,i,n){var a,s;e=e||"root";let c=this.getEnrichedTocNow(n),u=c?.pageByTocId[e],p=c?.nodeByTocId[e],h=p?.prettyUrl;return{mapId:this.mapId,tocId:e,topicTitle:(a=p?.title)!==null&&a!==void 0?a:"",untranslatedTopicTitle:p?.untranslatedTitle,page:o&&u&&u.number!==o?o:void 0,prettyUrl:h?.replace(/^r\//,""),prettyUrlDuplicated:(s=c?.duplicatedPrettyUrls.has(h??""))!==null&&s!==void 0?s:!1,section:i}}async getAccurateNavigationData(e,o,i,n){return await this.getEnrichedToc(n),this.getNavigationData(e,o,i,n)}getRatingSummary(){return this.cache.get("ratingSummary")}reloadRating(){return this.cache.clear("ratingSummary"),this.getRatingSummary()}getMapRating(){return this.getRatingSummary().then(e=>e?.publication)}getTopicRating(e){return this.getRatingSummary().then(o=>{var i;return o?{type:o.topics.type,rating:(i=o.topics)===null||i===void 0?void 0:i.ratings.find(n=>n.tocId===e)}:void 0})}rateMap(e,o){return this.makeRateMapRequest(e,o).then(()=>this.clearRatingIfNecessary())}unrateMap(){return this.makeUnrateMapRequest().then(()=>this.clearRatingIfNecessary())}sendMapFeedback(e,o){return this.makeMapFeedbackRequest(e,o)}rateTopic(e,o,i){return this.makeRateTopicRequest(e,o,i).then(()=>this.clearRatingIfNecessary())}unrateTopic(e){return this.makeUnrateTopicRequest(e).then(()=>this.clearRatingIfNecessary())}async clearRatingIfNecessary(){let e=T.getState().session;e?.sessionAuthenticated&&this.cache.clear("ratingSummary")}sendTopicFeedback(e,o,i){return this.makeTopicFeedbackRequest(e,o,i)}fontsStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.fonts)}themeStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.theme)}buildBreadcrumb(e,o){let i=this.getTocNodeNow(e,o),n=[{tocId:i.tocId,title:i.title,untranslatedTitle:i.untranslatedTitle}],a=this.getTocNodeNow(i.parentTocId,o);for(;a;)n.unshift({tocId:a.tocId,title:a.title,untranslatedTitle:a.untranslatedTitle}),a=this.getTocNodeNow(a.parentTocId,o);return n}isFeatureAccessible(e,{session:o}){var i;if(!this.isFeatureAvailable(e))return!1;switch(e){case rt.FEEDBACK:return Nt(o??[],te.FEEDBACK_USER);case rt.RATING:return Nt(o??[],te.RATING_USER);case rt.PRINT:return Nt(o??[],te.PRINT_USER);case rt.BOOKMARK:return!!o?.sessionAuthenticated;case rt.COLLECTIONS:return Nt(o??[],te.COLLECTION_USER);case rt.PERSONAL_BOOKS:return Nt(o??[],te.PERSONAL_BOOK_USER)&&!(!((i=this.getMapNow())===null||i===void 0)&&i.pbkConfidential);default:return!1}}makeAbsolute(e){return this.api.makeAbsolute(e)}};var Di=class t extends ki{static async build(e){return new t(new Pi,void 0,e)}clear(){super.clear(),this.fingerprint=void 0}async fetchMap(e,o){let i=await this.api.getMap(e,o);return this.fingerprint=i.fingerprint,i}fetchMapRating(e){return this.api.getMapRating(e)}async fetchPages(e,o){return await this.getMap(o),this.api.getPages(e,this.fingerprint,o)}fetchTopicHTMLContent(e){return this.api.getTopicHTMLContent(this.mapId,e.contentId,"DESIGNED_READER",this.fingerprint)}fetchTranslatedTopicHTMLContent(e,o){return this.api.getTranslatedTopicHTMLContent(this.mapId,e.contentId,"DESIGNED_READER",this.fingerprint,o)}fetchTopicMetadata(e){return this.api.getTopic(this.mapId,e.contentId,this.fingerprint)}fetchAttachments(){return this.api.getMapAttachments(this.mapId).catch(()=>[])}fetchRelativesForDocument(e,o){let i={query:"",paging:{page:1,perPage:-1},scope:"DOCUMENTS",metadataFilters:[{key:e,valueFilter:{negative:!1,values:o}}],sort:[],facets:[]};return this.api.search(i)}fetchRelativesForTopicInMap(e,o,i){let n={query:"",paging:{page:1,perPage:1},scope:"ALL_TOPICS",metadataFilters:[{key:o,valueFilter:{negative:!1,values:i}},{key:"ft:publicationId",valueFilter:{negative:!1,values:[e]}}],sort:[],facets:[]};return this.api.search(n)}makeMapFeedbackRequest(e,o){return this.api.sendMapFeedback(this.mapId,e,o)}makeRateMapRequest(e,o){return this.api.rateMap(this.mapId,e,o)}makeRateTopicRequest(e,o,i){return this.api.rateTopic(this.mapId,e,o,i)}makeTopicFeedbackRequest(e,o,i){return this.api.sendTopicFeedback(this.mapId,e,o,i)}makeUnrateMapRequest(){return this.api.unrateMap(this.mapId)}makeUnrateTopicRequest(e){return this.api.unrateTopic(this.mapId,e)}getReaderLinkPrefix(){return"r/"}isFeatureAvailable(e){return!0}};var $i=class t{static build(e,o){return new t(Zd(e.trim()||"context"),o??Di.build)}loaded(){return(0,xt.waitUntil)(()=>this._loaded)}constructor(e,o,i){this.store=e,this.clusteringHelperProvider=i,this.metadataForSwitchToRelatives=new Set,this._loaded=!1,this.loadDebouncer=new xt.Debouncer(10),this.initService(o)}async initService(e){return this.service=await e(),this.service.mapId=this.store.getState().mapId,this.reload()}async setMapId(e){e!==this.store.getState().mapId&&(this.store.actions.mapId(e),this.service&&(this.service.mapId=e),await this.reload())}setRenderedTopics(e){this.store.actions.renderedTopics(e)}setVisibleTopics(e){this.store.actions.visibleTopics(e)}async awaitService(){return(0,xt.waitFor)(()=>this.service)}async navigateToTopic(e,o,i){await this.loaded();let n=await this.awaitService(),a=await(i!=null?n.getPage(i,this.getTranslationSettings()):n.getPageByTocId(e??"root",this.getTranslationSettings()));this.store.actions.currentPage(a);let s=this.resolveValidNonRootTocId(e,a);this.store.actions.scrollTarget({tocId:s,section:o}),this.store.getState().visibleTopics[0]!==s&&this.store.actions.visibleTopics([])}resolveValidNonRootTocId(e,o){var i,n,a;let s=(i=e==="root"?void 0:e)!==null&&i!==void 0?i:o.rootTocId;return o.topics.includes(s)?s:(a=(n=o.topics[0])!==null&&n!==void 0?n:o.hiddenTopics[0])!==null&&a!==void 0?a:"root"}async navigateToPage(e){await this.loaded();let i=await(await this.awaitService()).getPage(e,this.getTranslationSettings());this.store.actions.currentPage(i)}scrollDone(){this.store.actions.scrollTarget({})}async load(){var e;!((e=this.service)===null||e===void 0)&&e.mapId&&this.store.getState().map==null&&await this.loadDebouncer.run(()=>this.fetchData(this.getTranslationSettings()))}clear(){var e;this._loaded=!1,this.store.actions.configuration(void 0),this.store.actions.map(void 0),this.store.actions.toc(void 0),this.store.actions.pagesToc(void 0),this.store.actions.currentPage(void 0),this.store.actions.searchInDocumentQuery(""),this.store.actions.relatives(void 0),this.store.actions.renderedTopics([]),this.store.actions.visibleTopics([]),this.store.actions.translation({sourceLanguage:void 0,destinationLanguage:void 0,profileId:void 0,isLoading:!1,isError:!1}),this.store.actions.mapRating(void 0),(e=this.service)===null||e===void 0||e.clear(),this.clusteringHelper=void 0}reload(){return this.clear(),this.load()}async fetchData(e){var o,i,n,a,s,c;try{e&&this.setTranslationLoading(!0);let u=p=>{throw e&&this.setTranslationError(!0),p};await Promise.all([(o=this.service)===null||o===void 0?void 0:o.getConfiguration().then(p=>this.store.actions.configuration(p)),(i=this.service)===null||i===void 0?void 0:i.getMap(e).then(p=>this.store.actions.map(p)).catch(u),(n=this.service)===null||n===void 0?void 0:n.getToc(e).then(p=>this.store.actions.toc(p)).catch(u),(a=this.service)===null||a===void 0?void 0:a.getPagesToc(e).then(p=>this.store.actions.pagesToc(p)).catch(u),(s=this.service)===null||s===void 0?void 0:s.getPaginationConfiguration().then(p=>this.store.actions.paginationConfiguration(p)).catch(u),(c=this.service)===null||c===void 0?void 0:c.getTranslationError(e).then(p=>this.setTranslationError(p))]),this.metadataForSwitchToRelatives.size>0&&this.fetchRelatives(),this._loaded=!0,e&&this.setTranslationLoading(!1)}catch(u){this.errorHandler&&!(u instanceof xt.CanceledPromiseError)&&this.errorHandler(u)}}fetchRelatives(){var e,o,i;let n=(e=this.store.getState().map)===null||e===void 0?void 0:e.metadata.filter(a=>{var s;return a.key==((s=this.store.getState().configuration)===null||s===void 0?void 0:s.relativePivotMetadata)}).flatMap(a=>a.values);n!==void 0&&n.length>0?(o=this.service)===null||o===void 0||o.getRelativesForDocument((i=this.store.getState().configuration)===null||i===void 0?void 0:i.relativePivotMetadata,n).then(a=>{let s=a.results.flatMap(c=>c.entries);this.store.actions.relatives(s),this.updateClusteringHelper()}):this.updateClusteringHelper()}updateClusteringHelper(){this.clusteringHelper=this.createClusteringHelper(),this.clusteringHelper&&this.store.dispatchEvent(new Event(to.clusteringHelperCreated))}createClusteringHelper(){var e,o;if(this.clusteringHelperProvider)return this.clusteringHelperProvider();let i=this.store.getState().relatives;if(i){let n=i.find(s=>{var c;return((c=s.map)===null||c===void 0?void 0:c.mapId)==this.store.getState().mapId}),a=(o=(e=T.getState().metadataConfiguration)===null||e===void 0?void 0:e.descriptors)!==null&&o!==void 0?o:[];return new xt.ClusteringHelper(i,n,this.metadataForSwitchToRelatives,a)}}async navigateToRelativeTopicIfFound(e){var o,i,n;await this.loaded();let a=await(0,xt.waitFor)(()=>{var p;return(p=this.store.getState().configuration)===null||p===void 0?void 0:p.relativeTopicPivotMetadata}),s=this.store.getState().mapId,u=await(await this.awaitService()).getRelativesForTopicInMap(s,a,[e]);if(!((n=(i=(o=u?.results)===null||o===void 0?void 0:o[0])===null||i===void 0?void 0:i.entries)===null||n===void 0)&&n[0]){let p=u.results[0].entries[0].topic.tocId;return await this.navigateToTopic(p),!0}else return await this.navigateToTopic("root"),!1}setSearchInDocumentQuery(e){this.store.actions.searchInDocumentQuery(e)}async setTranslationDestinationLanguage(e){this.store.actions.setTranslationDestinationLanguage(e),await this.loadDebouncer.run(()=>this.fetchData(this.getTranslationSettings()))}async setTranslationSourceLanguage(e){this.store.actions.setTranslationSourceLanguage(e),await this.loadDebouncer.run(()=>this.fetchData(this.getTranslationSettings()))}async setTranslationProfileId(e){this.store.actions.setTranslationProfileId(e)}async setTranslationLoading(e){this.store.actions.setTranslationLoading(e)}async setTranslationError(e){this.store.actions.setTranslationError(e)}getTranslationSettings(){var e;let o=this.store.getState();return o.translation.profileId&&o.translation.destinationLanguage?{profileId:o.translation.profileId,destinationLanguage:o.translation.destinationLanguage.code,sourceLanguage:(e=o.map)===null||e===void 0?void 0:e.lang}:void 0}async fetchMapRating(){var e;this.store.actions.mapRating(await((e=this.service)===null||e===void 0?void 0:e.getMapRating()))}async fetchTopicRating(e){var o;let i=await((o=this.service)===null||o===void 0?void 0:o.getTopicRating(e));i&&this.store.actions.setTopicsRating({[e]:i})}registerMetadataForSwitchToRelatives(e){this.metadataForSwitchToRelatives.add(e),this.store.getState().relatives==null?this.fetchRelatives():this.updateClusteringHelper()}unregisterMetadataForSwitchToRelatives(e){this.metadataForSwitchToRelatives.delete(e),this.updateClusteringHelper()}getAccurateNavigationData(e,o,i){return this.service.getAccurateNavigationData(e,o?.number,i?.section,this.getTranslationSettings())}buildBreadcrumb(e){var o;return(o=this.service)===null||o===void 0?void 0:o.buildBreadcrumb(e,this.getTranslationSettings())}fetchTopicContent(e){var o,i,n=this.getTranslationSettings();return n?(o=this.service)===null||o===void 0?void 0:o.getTranslatedTopicContent(e,n).then(a=>(a.isTranslationError&&this.setTranslationError(!0),a.content)):(i=this.service)===null||i===void 0?void 0:i.getTopicContent(e)}getTocNode(e){var o;return(o=this.service)===null||o===void 0?void 0:o.getTocNode(e,this.getTranslationSettings())}getPage(e){var o;return(o=this.service)===null||o===void 0?void 0:o.getPage(e,this.getTranslationSettings())}onMapAttachmentsUpdate(){var e;(e=this.service)===null||e===void 0||e.clearMapAttachments(),this.store.dispatchEvent(new Event(to.mapAttachmentsUpdate))}};var qd=m(M());var Yd=qd.css`
1865
+ `;var Bi=class extends CustomEvent{constructor(e,o){super("ft-reader-map-loaded",{detail:{map:e,toc:o}})}},Mi=class extends CustomEvent{constructor(e,o){super("ft-reader-visible-topics-change",{detail:{visibleTopics:o}})}},Fi=class extends CustomEvent{constructor(e){super("ft-reader-navigation-done",{detail:e})}},Ui=class extends CustomEvent{constructor(e){super("ft-reader-load-error",{detail:e})}},Wi=class extends Event{constructor(){super("ft-reader-map-not-found")}},zi=class extends Event{constructor(){super("ft-reader-map-unauthorized")}},Hi=class extends Event{constructor(){super("ft-reader-map-forbidden")}},Gi=class extends Event{constructor(){super("ft-reader-topic-relative-not-found",{bubbles:!0,composed:!0})}};var Vi=class{constructor(e){this.stateManager=e}searchInDocument(e){this.stateManager.setSearchInDocumentQuery(e??"")}};var Je=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Nu=t=>e=>+(e??"NaN")>0?+e:t,Ae=class extends Qe.FtLitElementRedux{constructor(){super(),this.visibleTopics=[],this.scrollToTargetDebouncer=new Qe.Debouncer(5),this.navigationDebouncer=new Qe.Debouncer(10),this.mapLoadedEventDebouncer=new Qe.Debouncer(50),this.addStore(T)}render(){return Lo.html`
1866
1866
  ${this.importStyleIfNeeded()}
1867
1867
  <slot @register-ft-reader-component=${this.registerComponent}></slot>
1868
- `}importStyleIfNeeded(){var t,r;let i=(t=this.stateManager.service)===null||t===void 0?void 0:t.themeStylesheet();return!i||window.location.href.startsWith((r=this.baseUrl)!==null&&r!==void 0?r:"")?Lo.nothing:Lo.html`
1868
+ `}importStyleIfNeeded(){var e,o;let i=(e=this.stateManager.service)===null||e===void 0?void 0:e.themeStylesheet();return!i||window.location.href.startsWith((o=this.baseUrl)!==null&&o!==void 0?o:"")?Lo.nothing:Lo.html`
1869
1869
  <style>
1870
1870
  @import "${i}"
1871
1871
  </style>
1872
- `}get stateManager(){return this._stateManager==null&&(this._stateManager=$i.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.readerServiceProvider),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"reader")),this._stateManager}connectedCallback(){super.connectedCallback(),this.stateManager.setMapId(this.mapId),this.stateManager.awaitService().then(t=>{let r=t.fontsStylesheet();if(r&&!window.location.href.startsWith(this.baseUrl)&&!document.querySelector(`head link[href="${r}"]`)){let i=document.createElement("link");i.setAttribute("rel","stylesheet"),i.setAttribute("href",r),document.head.append(i)}window.FluidTopicsReaderService=new Vi(this.stateManager)})}update(t){super.update(t),t.has("readerServiceProvider")&&this.readerServiceProvider&&this.stateManager.initService(this.readerServiceProvider),t.has("mapId")&&this.mapId&&(this.stateManager.setMapId(this.mapId),this.lastNotifiedNotFoundRelative=void 0),t.has("searchInDocumentQuery")&&this.searchInDocumentQuery!=null&&this.stateManager.setSearchInDocumentQuery(this.searchInDocumentQuery),["tocId","section","page","mapId","topicPivot"].some(r=>t.has(r))&&this.mapId&&this.navigateToTarget(),t.has("session")&&this.reload()}contentAvailableCallback(t){var r,i;if(super.contentAvailableCallback(t),(t.has("map")||t.has("toc"))&&this.sendLoadedEventIfLoaded(),t.has("scrollTarget")&&((r=this.scrollTarget)===null||r===void 0?void 0:r.tocId)==null){let n=t.get("scrollTarget");n?.tocId!=null&&this.scrollToTargetDebouncer.run(()=>this.stateManager.getAccurateNavigationData(n.tocId,this.currentPage,n).then(a=>this.dispatchEvent(new Fi(a))))}(t.has("visibleTopics")||t.has("scrollTarget"))&&((i=this.scrollTarget)===null||i===void 0?void 0:i.tocId)==null&&Promise.all(this.visibleTopics.map(n=>this.stateManager.getAccurateNavigationData(n,this.currentPage))).then(n=>{let a=n.filter(s=>s!=null&&s.topicTitle!=="").map(s=>({tocId:s.tocId,title:s.topicTitle,page:s.page,prettyUrl:s.prettyUrl,prettyUrlDuplicated:s.prettyUrlDuplicated,breadcrumb:this.stateManager.buildBreadcrumb(s.tocId)}));this.dispatchEvent(new Mi(this.map,a))})}clear(){this.stateManager.clear()}async reload(){await this.stateManager.reload()}async navigateToTarget(){await this.stateManager.loaded(),await this.navigationDebouncer.run(async()=>{this.topicPivot!=null?!await this.stateManager.navigateToRelativeTopicIfFound(this.topicPivot)&&this.lastNotifiedNotFoundRelative!==this.mapId+this.topicPivot?(this.dispatchEvent(new ji),this.lastNotifiedNotFoundRelative=this.mapId+this.topicPivot):this.lastNotifiedNotFoundRelative=void 0:this.tocId!=null?await this.stateManager.navigateToTopic(this.tocId,this.section,this.page):this.page!=null&&await this.stateManager.navigateToPage(this.page)}),this.tocId&&!this.section&&(this.stateManager.store.commands.clear(/^focus-topic-/),this.stateManager.store.commands.add({type:`focus-topic-${this.tocId}`}))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setReaderStateManager(this.stateManager)}handleLoadError(t){let r=t;r.status===401?this.dispatchEvent(new Hi):r.status===403?this.dispatchEvent(new zi):r.status===404?this.dispatchEvent(new Wi):this.dispatchEvent(new Ui(t))}reloadBookmarks(){Ad.reloadBookmarks()}async reloadRating(){var t,r;await((t=this.stateManager.service)===null||t===void 0?void 0:t.reloadRating()),(r=this.stateManager.store)===null||r===void 0||r.dispatchEvent(new CustomEvent("rating-changed"))}sendLoadedEventIfLoaded(){this.mapLoadedEventDebouncer.run(()=>{this.map&&this.toc&&this.dispatchEvent(new Bi(this.map,this.toc))})}};At.styles=Yd;Jt([(0,Qt.redux)({store:T.name})],At.prototype,"baseUrl",void 0);Jt([(0,Qt.redux)({store:T.name})],At.prototype,"session",void 0);Jt([(0,cr.property)()],At.prototype,"mapId",void 0);Jt([(0,cr.property)()],At.prototype,"tocId",void 0);Jt([(0,cr.property)()],At.prototype,"section",void 0);Jt([(0,cr.property)()],At.prototype,"topicPivot",void 0);Jt([(0,cr.property)()],At.prototype,"searchInDocumentQuery",void 0);Jt([(0,cr.property)({type:Number,converter:{fromAttribute:Nu()}})],At.prototype,"page",void 0);Jt([(0,Qt.redux)({store:"reader"})],At.prototype,"map",void 0);Jt([(0,Qt.redux)({store:"reader"})],At.prototype,"toc",void 0);Jt([(0,Qt.redux)({store:"reader"})],At.prototype,"visibleTopics",void 0);Jt([(0,Qt.redux)({store:"reader"})],At.prototype,"currentPage",void 0);Jt([(0,Qt.redux)({store:"reader"})],At.prototype,"scrollTarget",void 0);Jt([(0,cr.property)({attribute:!1})],At.prototype,"readerServiceProvider",void 0);(0,Xd.customElement)("ft-reader-context")(At);var Gi=class extends CustomEvent{constructor(t){super("send-feedback",{detail:t})}},Ki=class extends CustomEvent{constructor(t){super("ft-reader-topic-feedback",{composed:!0,bubbles:!0,detail:t})}},Zi=class extends CustomEvent{constructor(t){super("ft-reader-feedback",{composed:!0,bubbles:!0,detail:t})}},qi=class extends CustomEvent{constructor(t){super("ft-reader-mailer-topic-feedback",{composed:!0,bubbles:!0,detail:{topic:t}})}},Yi=class extends CustomEvent{constructor(){super("ft-reader-mailer-map-feedback",{composed:!0,bubbles:!0})}};var Rt=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Q=class extends ar(ze){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.ratingAllowed=!1,this.from="",this.feedbackMessage="",this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.addI18nContext(V,Md)}get canAccessFeedback(){var t;return(t=this.service)===null||t===void 0?void 0:t.isFeatureAccessible(re.FEEDBACK,{session:this.session})}get canRateThisContent(){var t;return((t=this.service)===null||t===void 0?void 0:t.isFeatureAccessible(re.RATING,{session:this.session}))&&this.ratingAllowed&&this.configuredRatingType!=vt.NO_RATING}get configuredRatingType(){var t,r;return(r=(t=this.ratingSummary)===null||t===void 0?void 0:t.type)!==null&&r!==void 0?r:vt.NO_RATING}get ratingTypeOfDoneRatingOfThisContent(){var t,r,i;return(i=(r=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:vt.NO_RATING}get ratingValue(){var t,r,i;return(i=(r=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||r===void 0?void 0:r.value)!==null&&i!==void 0?i:-1}get ratingDate(){var t,r;let i=(r=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||r===void 0?void 0:r.date;return typeof i=="string"?(0,Xi.parseDate)(i):i}render(){return!this.canAccessFeedback&&!this.canRateThisContent?gt.nothing:gt.html`
1872
+ `}get stateManager(){return this._stateManager==null&&(this._stateManager=$i.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.readerServiceProvider),this._stateManager.errorHandler=e=>this.handleLoadError(e),this.addStore(this.stateManager.store,"reader")),this._stateManager}connectedCallback(){super.connectedCallback(),this.stateManager.setMapId(this.mapId),this.stateManager.awaitService().then(e=>{let o=e.fontsStylesheet();if(o&&!window.location.href.startsWith(this.baseUrl)&&!document.querySelector(`head link[href="${o}"]`)){let i=document.createElement("link");i.setAttribute("rel","stylesheet"),i.setAttribute("href",o),document.head.append(i)}window.FluidTopicsReaderService=new Vi(this.stateManager)})}update(e){super.update(e),e.has("readerServiceProvider")&&this.readerServiceProvider&&this.stateManager.initService(this.readerServiceProvider),e.has("mapId")&&this.mapId&&(this.stateManager.setMapId(this.mapId),this.lastNotifiedNotFoundRelative=void 0),e.has("searchInDocumentQuery")&&this.searchInDocumentQuery!=null&&this.stateManager.setSearchInDocumentQuery(this.searchInDocumentQuery),["tocId","section","page","mapId","topicPivot"].some(o=>e.has(o))&&this.mapId&&this.navigateToTarget(),e.has("session")&&this.reload()}contentAvailableCallback(e){var o,i;if(super.contentAvailableCallback(e),(e.has("map")||e.has("toc"))&&this.sendLoadedEventIfLoaded(),e.has("scrollTarget")&&((o=this.scrollTarget)===null||o===void 0?void 0:o.tocId)==null){let n=e.get("scrollTarget");n?.tocId!=null&&this.scrollToTargetDebouncer.run(()=>this.stateManager.getAccurateNavigationData(n.tocId,this.currentPage,n).then(a=>this.dispatchEvent(new Fi(a))))}(e.has("visibleTopics")||e.has("scrollTarget"))&&((i=this.scrollTarget)===null||i===void 0?void 0:i.tocId)==null&&Promise.all(this.visibleTopics.map(n=>this.stateManager.getAccurateNavigationData(n,this.currentPage))).then(n=>{let a=n.filter(s=>s!=null&&s.topicTitle!=="").map(s=>({tocId:s.tocId,title:s.topicTitle,page:s.page,prettyUrl:s.prettyUrl,prettyUrlDuplicated:s.prettyUrlDuplicated,breadcrumb:this.stateManager.buildBreadcrumb(s.tocId)}));this.dispatchEvent(new Mi(this.map,a))})}clear(){this.stateManager.clear()}async reload(){await this.stateManager.reload()}async navigateToTarget(){await this.stateManager.loaded(),await this.navigationDebouncer.run(async()=>{this.topicPivot!=null?!await this.stateManager.navigateToRelativeTopicIfFound(this.topicPivot)&&this.lastNotifiedNotFoundRelative!==this.mapId+this.topicPivot?(this.dispatchEvent(new Gi),this.lastNotifiedNotFoundRelative=this.mapId+this.topicPivot):this.lastNotifiedNotFoundRelative=void 0:this.tocId!=null?await this.stateManager.navigateToTopic(this.tocId,this.section,this.page):this.page!=null&&await this.stateManager.navigateToPage(this.page)}),this.tocId&&!this.section&&(this.stateManager.store.commands.clear(/^focus-topic-/),this.stateManager.store.commands.add({type:`focus-topic-${this.tocId}`}))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setReaderStateManager(this.stateManager)}handleLoadError(e){let o=e;o.status===401?this.dispatchEvent(new zi):o.status===403?this.dispatchEvent(new Hi):o.status===404?this.dispatchEvent(new Wi):this.dispatchEvent(new Ui(e))}reloadBookmarks(){Ad.reloadBookmarks()}async reloadRating(){var e,o;await((e=this.stateManager.service)===null||e===void 0?void 0:e.reloadRating()),(o=this.stateManager.store)===null||o===void 0||o.dispatchEvent(new CustomEvent("rating-changed"))}sendLoadedEventIfLoaded(){this.mapLoadedEventDebouncer.run(()=>{this.map&&this.toc&&this.dispatchEvent(new Bi(this.map,this.toc))})}};Ae.styles=Yd;Je([(0,Qe.redux)({store:T.name})],Ae.prototype,"baseUrl",void 0);Je([(0,Qe.redux)({store:T.name})],Ae.prototype,"session",void 0);Je([(0,cr.property)()],Ae.prototype,"mapId",void 0);Je([(0,cr.property)()],Ae.prototype,"tocId",void 0);Je([(0,cr.property)()],Ae.prototype,"section",void 0);Je([(0,cr.property)()],Ae.prototype,"topicPivot",void 0);Je([(0,cr.property)()],Ae.prototype,"searchInDocumentQuery",void 0);Je([(0,cr.property)({type:Number,converter:{fromAttribute:Nu()}})],Ae.prototype,"page",void 0);Je([(0,Qe.redux)({store:"reader"})],Ae.prototype,"map",void 0);Je([(0,Qe.redux)({store:"reader"})],Ae.prototype,"toc",void 0);Je([(0,Qe.redux)({store:"reader"})],Ae.prototype,"visibleTopics",void 0);Je([(0,Qe.redux)({store:"reader"})],Ae.prototype,"currentPage",void 0);Je([(0,Qe.redux)({store:"reader"})],Ae.prototype,"scrollTarget",void 0);Je([(0,cr.property)({attribute:!1})],Ae.prototype,"readerServiceProvider",void 0);(0,Xd.customElement)("ft-reader-context")(Ae);var ji=class extends CustomEvent{constructor(e){super("send-feedback",{detail:e})}},Ki=class extends CustomEvent{constructor(e){super("ft-reader-topic-feedback",{composed:!0,bubbles:!0,detail:e})}},Zi=class extends CustomEvent{constructor(e){super("ft-reader-feedback",{composed:!0,bubbles:!0,detail:e})}},qi=class extends CustomEvent{constructor(e){super("ft-reader-mailer-topic-feedback",{composed:!0,bubbles:!0,detail:{topic:e}})}},Yi=class extends CustomEvent{constructor(){super("ft-reader-mailer-map-feedback",{composed:!0,bubbles:!0})}};var Re=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},Q=class extends ar(Ht){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.ratingAllowed=!1,this.from="",this.feedbackMessage="",this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.addI18nContext(V,Md)}get canAccessFeedback(){var e;return(e=this.service)===null||e===void 0?void 0:e.isFeatureAccessible(rt.FEEDBACK,{session:this.session})}get canRateThisContent(){var e;return((e=this.service)===null||e===void 0?void 0:e.isFeatureAccessible(rt.RATING,{session:this.session}))&&this.ratingAllowed&&this.configuredRatingType!=xe.NO_RATING}get configuredRatingType(){var e,o;return(o=(e=this.ratingSummary)===null||e===void 0?void 0:e.type)!==null&&o!==void 0?o:xe.NO_RATING}get ratingTypeOfDoneRatingOfThisContent(){var e,o,i;return(i=(o=(e=this.ratingSummary)===null||e===void 0?void 0:e.rating)===null||o===void 0?void 0:o.type)!==null&&i!==void 0?i:xe.NO_RATING}get ratingValue(){var e,o,i;return(i=(o=(e=this.ratingSummary)===null||e===void 0?void 0:e.rating)===null||o===void 0?void 0:o.value)!==null&&i!==void 0?i:-1}get ratingDate(){var e,o;let i=(o=(e=this.ratingSummary)===null||e===void 0?void 0:e.rating)===null||o===void 0?void 0:o.date;return typeof i=="string"?(0,Xi.parseDate)(i):i}render(){return!this.canAccessFeedback&&!this.canRateThisContent?ge.nothing:ge.html`
1873
1873
  <div class="ft-reader-feedback">
1874
- ${this.hideTitle?gt.nothing:gt.html`
1874
+ ${this.hideTitle?ge.nothing:ge.html`
1875
1875
  <ft-typography variant="title" part="main-title">
1876
1876
  ${this.i18n(this.i18nProperties.feedbackMainTitle)}
1877
1877
  </ft-typography>
@@ -1879,19 +1879,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1879
1879
  ${this.renderRatingSection()}
1880
1880
  ${this.renderFeedbackSection()}
1881
1881
  </div>
1882
- `}renderRatingSection(){return this.canRateThisContent?gt.html`
1882
+ `}renderRatingSection(){return this.canRateThisContent?ge.html`
1883
1883
  <div class="ft-reader-feedback--rating" part="rating-container">
1884
1884
  <ft-typography variant="title-dense" part="section-title" class="ft-reader-feedback--section-title">
1885
- ${this.i18n(this.ratingSummary.type===vt.DICHOTOMOUS?this.i18nProperties.dichotomousRatingSectionTitle:this.i18nProperties.ratingSectionTitle)}
1885
+ ${this.i18n(this.ratingSummary.type===xe.DICHOTOMOUS?this.i18nProperties.dichotomousRatingSectionTitle:this.i18nProperties.ratingSectionTitle)}
1886
1886
  </ft-typography>
1887
1887
  ${this.renderRating()}
1888
1888
  <ft-typography variant="caption" class="ft-reader-feedback--rating-date" part="rating-date">
1889
1889
  ${this.renderRatingDate()}
1890
1890
  </ft-typography>
1891
1891
  </div>
1892
- `:gt.nothing}renderRatingDate(){let t=this.ratingDate;if(t==null)return V.messages.notRated();if(t.getTime()>new Date().getTime()-6e4)return V.messages.ratedNow();let r=new Date().toLocaleDateString(),i=t.toLocaleDateString();return r===i?V.messages.ratedToday():V.messages.ratedOn(t)}renderRating(){switch(this.configuredRatingType){case vt.STARS:return gt.html`
1892
+ `:ge.nothing}renderRatingDate(){let e=this.ratingDate;if(e==null)return V.messages.notRated();if(e.getTime()>new Date().getTime()-6e4)return V.messages.ratedNow();let o=new Date().toLocaleDateString(),i=e.toLocaleDateString();return o===i?V.messages.ratedToday():V.messages.ratedOn(e)}renderRating(){switch(this.configuredRatingType){case xe.STARS:return ge.html`
1893
1893
  <div class="ft-reader-feedback--stars" part="rating rating-stars">
1894
- ${(0,Qd.repeat)(new Array(5),(a,s)=>s,(a,s)=>{let c=this.ratingTypeOfDoneRatingOfThisContent===vt.STARS&&this.ratingValue>s,u=s+1;return gt.html`
1894
+ ${(0,Qd.repeat)(new Array(5),(a,s)=>s,(a,s)=>{let c=this.ratingTypeOfDoneRatingOfThisContent===xe.STARS&&this.ratingValue>s,u=s+1;return ge.html`
1895
1895
  <ft-button round part="rating-stars-${u}"
1896
1896
  label="${V.messages.starsRating(u)}"
1897
1897
  tooltipPosition="top"
@@ -1902,27 +1902,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1902
1902
  ></ft-button>
1903
1903
  `})}
1904
1904
  </div>
1905
- `;case vt.LIKE:let t=this.ratingTypeOfDoneRatingOfThisContent===vt.LIKE&&this.ratingValue===0,r=this.ratingTypeOfDoneRatingOfThisContent===vt.LIKE&&this.ratingValue===1;return gt.html`
1905
+ `;case xe.LIKE:let e=this.ratingTypeOfDoneRatingOfThisContent===xe.LIKE&&this.ratingValue===0,o=this.ratingTypeOfDoneRatingOfThisContent===xe.LIKE&&this.ratingValue===1;return ge.html`
1906
1906
  <ft-switch unselectable
1907
1907
  @change=${a=>this.rate(a.detail)}
1908
1908
  part="rating rating-like"
1909
1909
  label=${this.i18n(this.i18nProperties.ratingSectionTitle)}>
1910
1910
  <ft-switch-option .value=${1}
1911
- ?selected=${r}
1911
+ ?selected=${o}
1912
1912
  .iconVariant=${this.iconVariant}
1913
- icon="${r?this.filledLikeIcon:this.emptyLikeIcon}"
1913
+ icon="${o?this.filledLikeIcon:this.emptyLikeIcon}"
1914
1914
  role="radio">
1915
1915
  ${V.messages.like()}
1916
1916
  </ft-switch-option>
1917
1917
  <ft-switch-option .value=${0}
1918
- ?selected=${t}
1918
+ ?selected=${e}
1919
1919
  .iconVariant=${this.iconVariant}
1920
- icon="${t?this.filledDislikeIcon:this.emptyDislikeIcon}"
1920
+ icon="${e?this.filledDislikeIcon:this.emptyDislikeIcon}"
1921
1921
  role="radio">
1922
1922
  ${V.messages.dislike()}
1923
1923
  </ft-switch-option>
1924
1924
  </ft-switch>
1925
- `;case vt.DICHOTOMOUS:let i=this.ratingTypeOfDoneRatingOfThisContent===vt.DICHOTOMOUS&&this.ratingValue===0,n=this.ratingTypeOfDoneRatingOfThisContent===vt.DICHOTOMOUS&&this.ratingValue===1;return gt.html`
1925
+ `;case xe.DICHOTOMOUS:let i=this.ratingTypeOfDoneRatingOfThisContent===xe.DICHOTOMOUS&&this.ratingValue===0,n=this.ratingTypeOfDoneRatingOfThisContent===xe.DICHOTOMOUS&&this.ratingValue===1;return ge.html`
1926
1926
  <ft-switch unselectable
1927
1927
  @change=${a=>this.rate(a.detail)}
1928
1928
  part="rating rating-dichotomous">
@@ -1935,7 +1935,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1935
1935
  ${V.messages.dichotomousNo()}
1936
1936
  </ft-switch-option>
1937
1937
  </ft-switch>
1938
- `}return gt.nothing}rate(t){(t??-1)!==this.ratingValue&&this.dispatchEvent(new CustomEvent("rate",{detail:t}))}renderFeedbackSection(){var t,r,i,n,a;if(this.canAccessFeedback){let s=this.feedbackMailLinkBuilder(this.feedbackMessage),c=gt.html`
1938
+ `}return ge.nothing}rate(e){(e??-1)!==this.ratingValue&&this.dispatchEvent(new CustomEvent("rate",{detail:e}))}renderFeedbackSection(){var e,o,i,n,a;if(this.canAccessFeedback){let s=this.feedbackMailLinkBuilder(this.feedbackMessage),c=ge.html`
1939
1939
  <ft-button primary
1940
1940
  type="submit" name="submit"
1941
1941
  class="ft-reader-feedback--send-feedback"
@@ -1943,11 +1943,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1943
1943
  part="send-feedback">
1944
1944
  ${V.messages.okButton()}
1945
1945
  </ft-button>
1946
- `;s&&(c=gt.html`
1946
+ `;s&&(c=ge.html`
1947
1947
  <a class="ft-reader-feedback--feedback-link" href="${s}">
1948
1948
  ${c}
1949
1949
  </a>
1950
- `);let u=this.withMoreOptionsButton&&(!((t=this.configuration)===null||t===void 0)&&t.mailsSentByFluidTopics||!((r=this.configuration)===null||r===void 0)&&r.mailsSentByFluidTopicsForUnauthenticatedUsers)?gt.html`
1950
+ `);let u=this.withMoreOptionsButton&&(!((e=this.configuration)===null||e===void 0)&&e.mailsSentByFluidTopics||!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers)?ge.html`
1951
1951
  <ft-button outlined
1952
1952
  type="button" name="more-options"
1953
1953
  class="ft-reader-feedback--more-options"
@@ -1955,13 +1955,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1955
1955
  part="more-options">
1956
1956
  ${V.messages.moreOptionsButton()}
1957
1957
  </ft-button>
1958
- `:gt.nothing;return gt.html`
1958
+ `:ge.nothing;return ge.html`
1959
1959
  <form class="ft-reader-feedback--feedback" part="feedback-container" autocomplete="on"
1960
1960
  @submit="${p=>this.onFormSubmitEvent(p,!!s)}">
1961
1961
  <ft-typography variant="title-dense" part="section-title" class="ft-reader-feedback--section-title">
1962
1962
  ${this.i18n(this.i18nProperties.feedbackSectionTitle)}
1963
1963
  </ft-typography>
1964
- ${((n=(i=this.session)===null||i===void 0?void 0:i.profile)===null||n===void 0?void 0:n.userId)==null&&(!((a=this.configuration)===null||a===void 0)&&a.mailsSentByFluidTopicsForUnauthenticatedUsers)?gt.html`
1964
+ ${((n=(i=this.session)===null||i===void 0?void 0:i.profile)===null||n===void 0?void 0:n.userId)==null&&(!((a=this.configuration)===null||a===void 0)&&a.mailsSentByFluidTopicsForUnauthenticatedUsers)?ge.html`
1965
1965
  <ft-text-field outlined name="email" type="email" autocomplete="email"
1966
1966
  class="ft-reader-feedback--from-input"
1967
1967
  label=${V.messages.feedbackfromEmail()}
@@ -1969,7 +1969,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1969
1969
  ?error=${this.from&&!this.validFromEmail()}
1970
1970
  helper=${this.from&&!this.validFromEmail()?V.messages.feedbackfromEmailInvalid():""}
1971
1971
  />
1972
- `:gt.nothing}
1972
+ `:ge.nothing}
1973
1973
  <ft-text-area outlined
1974
1974
  class="ft-reader-feedback--feedback-input" part="feedback-input"
1975
1975
  label="${V.messages.feedbackInputLabel()}"
@@ -1980,15 +1980,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1980
1980
  ${c}
1981
1981
  </div>
1982
1982
  </form>
1983
- `}return gt.nothing}onFormSubmitEvent(t,r){t.preventDefault(),r?this.onMailerFeedbackSent():this.sendFeedback()}validFromEmail(){var t,r,i;let n=/^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;return!(((r=(t=this.session)===null||t===void 0?void 0:t.profile)===null||r===void 0?void 0:r.userId)==null&&(!((i=this.configuration)===null||i===void 0)&&i.mailsSentByFluidTopicsForUnauthenticatedUsers))||n.test(this.from)}sendFeedback(){var t;this.dispatchEvent(new Gi({message:this.feedbackInput.value,...((t=this.configuration)===null||t===void 0?void 0:t.mailsSentByFluidTopicsForUnauthenticatedUsers)&&{from:this.from}}))}onMailerFeedbackSent(){this.dispatchEvent(new CustomEvent("mailer-feedback"))}onOpenMoreDetails(){this.dispatchEvent(new CustomEvent("open-more-options"))}clearFeedbackInput(){setTimeout(()=>this.feedbackInput.setValue("",!0),0)}};Q.elementDefinitions={"ft-button":ye,"ft-typography":ft,"ft-switch":jt,"ft-switch-option":yt,"ft-text-area":Lt,"ft-text-field":B};Q.styles=Ts;Rt([(0,mt.property)({type:Boolean})],Q.prototype,"editorMode",void 0);Rt([(0,mt.property)({type:Boolean})],Q.prototype,"hideTitle",void 0);Rt([(0,mt.property)({type:Boolean})],Q.prototype,"withMoreOptionsButton",void 0);Rt([(0,mt.property)({type:Boolean})],Q.prototype,"ratingAllowed",void 0);Rt([(0,mt.property)({attribute:!1})],Q.prototype,"i18nProperties",void 0);Rt([(0,mt.property)({attribute:!1})],Q.prototype,"ratingSummary",void 0);Rt([(0,mt.property)({attribute:!1})],Q.prototype,"session",void 0);Rt([(0,mt.query)(".ft-reader-feedback--feedback-input")],Q.prototype,"feedbackInput",void 0);Rt([(0,mt.state)()],Q.prototype,"from",void 0);Rt([(0,mt.state)()],Q.prototype,"feedbackMessage",void 0);Rt([(0,mt.property)()],Q.prototype,"iconVariant",void 0);Rt([(0,mt.property)()],Q.prototype,"emptyStarIcon",void 0);Rt([(0,mt.property)()],Q.prototype,"filledStarIcon",void 0);Rt([(0,mt.property)()],Q.prototype,"emptyLikeIcon",void 0);Rt([(0,mt.property)()],Q.prototype,"filledLikeIcon",void 0);Rt([(0,mt.property)()],Q.prototype,"emptyDislikeIcon",void 0);Rt([(0,mt.property)()],Q.prototype,"filledDislikeIcon",void 0);Rt([(0,Xi.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],Q.prototype,"configuration",void 0);Rt([(0,mt.property)()],Q.prototype,"feedbackMailLinkBuilder",void 0);var Jr=sr.fromGwt("server");var to=class{constructor(){this.subject="",this.url="",this.subjectMetadata="",this.bodyMetadata="",this.isAuthenticated=!1}update(t,r,i,n,a){var s;this.subject=t,this.url=r,this.configuration=n,this.isAuthenticated=a,this.subjectMetadata=this.filterMetadata(i,n.subjectMetadataIds).map(c=>"["+c.values[c.values.length-1]+"]").join(""),this.bodyMetadata=this.filterMetadata(i,(s=n.bodyMetadataIds)!==null&&s!==void 0?s:[]).map(c=>"["+c.values.join(", ")+"]").join(" ")}filterMetadata(t,r){return r.map(i=>t.find(n=>n.key===i)).filter(i=>i!=null&&i.values.length>0)}shouldUseMailer(){var t,r;let i=this.isAuthenticated&&!(!((t=this.configuration)===null||t===void 0)&&t.mailsSentByFluidTopics),n=!this.isAuthenticated&&!(!((r=this.configuration)===null||r===void 0)&&r.mailsSentByFluidTopicsForUnauthenticatedUsers);return i||n}build(t){var r;if(t!=null&&t.length===0||!this.shouldUseMailer())return;let i=encodeURIComponent(this.subject+" "+this.subjectMetadata),n=encodeURIComponent(`
1983
+ `}return ge.nothing}onFormSubmitEvent(e,o){e.preventDefault(),o?this.onMailerFeedbackSent():this.sendFeedback()}validFromEmail(){var e,o,i;let n=/^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;return!(((o=(e=this.session)===null||e===void 0?void 0:e.profile)===null||o===void 0?void 0:o.userId)==null&&(!((i=this.configuration)===null||i===void 0)&&i.mailsSentByFluidTopicsForUnauthenticatedUsers))||n.test(this.from)}sendFeedback(){var e;this.dispatchEvent(new ji({message:this.feedbackInput.value,...((e=this.configuration)===null||e===void 0?void 0:e.mailsSentByFluidTopicsForUnauthenticatedUsers)&&{from:this.from}}))}onMailerFeedbackSent(){this.dispatchEvent(new CustomEvent("mailer-feedback"))}onOpenMoreDetails(){this.dispatchEvent(new CustomEvent("open-more-options"))}clearFeedbackInput(){setTimeout(()=>this.feedbackInput.setValue("",!0),0)}};Q.elementDefinitions={"ft-button":yt,"ft-typography":fe,"ft-switch":Ge,"ft-switch-option":ye,"ft-text-area":Le,"ft-text-field":B};Q.styles=Ts;Re([(0,me.property)({type:Boolean})],Q.prototype,"editorMode",void 0);Re([(0,me.property)({type:Boolean})],Q.prototype,"hideTitle",void 0);Re([(0,me.property)({type:Boolean})],Q.prototype,"withMoreOptionsButton",void 0);Re([(0,me.property)({type:Boolean})],Q.prototype,"ratingAllowed",void 0);Re([(0,me.property)({attribute:!1})],Q.prototype,"i18nProperties",void 0);Re([(0,me.property)({attribute:!1})],Q.prototype,"ratingSummary",void 0);Re([(0,me.property)({attribute:!1})],Q.prototype,"session",void 0);Re([(0,me.query)(".ft-reader-feedback--feedback-input")],Q.prototype,"feedbackInput",void 0);Re([(0,me.state)()],Q.prototype,"from",void 0);Re([(0,me.state)()],Q.prototype,"feedbackMessage",void 0);Re([(0,me.property)()],Q.prototype,"iconVariant",void 0);Re([(0,me.property)()],Q.prototype,"emptyStarIcon",void 0);Re([(0,me.property)()],Q.prototype,"filledStarIcon",void 0);Re([(0,me.property)()],Q.prototype,"emptyLikeIcon",void 0);Re([(0,me.property)()],Q.prototype,"filledLikeIcon",void 0);Re([(0,me.property)()],Q.prototype,"emptyDislikeIcon",void 0);Re([(0,me.property)()],Q.prototype,"filledDislikeIcon",void 0);Re([(0,Xi.redux)({store:"reader",selector:t=>{var e;return(e=t.configuration)===null||e===void 0?void 0:e.feedback}})],Q.prototype,"configuration",void 0);Re([(0,me.property)()],Q.prototype,"feedbackMailLinkBuilder",void 0);var Jr=sr.fromGwt("server");var eo=class{constructor(){this.subject="",this.url="",this.subjectMetadata="",this.bodyMetadata="",this.isAuthenticated=!1}update(e,o,i,n,a){var s;this.subject=e,this.url=o,this.configuration=n,this.isAuthenticated=a,this.subjectMetadata=this.filterMetadata(i,n.subjectMetadataIds).map(c=>"["+c.values[c.values.length-1]+"]").join(""),this.bodyMetadata=this.filterMetadata(i,(s=n.bodyMetadataIds)!==null&&s!==void 0?s:[]).map(c=>"["+c.values.join(", ")+"]").join(" ")}filterMetadata(e,o){return o.map(i=>e.find(n=>n.key===i)).filter(i=>i!=null&&i.values.length>0)}shouldUseMailer(){var e,o;let i=this.isAuthenticated&&!(!((e=this.configuration)===null||e===void 0)&&e.mailsSentByFluidTopics),n=!this.isAuthenticated&&!(!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers);return i||n}build(e){var o;if(e!=null&&e.length===0||!this.shouldUseMailer())return;let i=encodeURIComponent(this.subject+" "+this.subjectMetadata),n=encodeURIComponent(`
1984
1984
  ${this.bodyMetadata}
1985
1985
  ${this.url}
1986
1986
  _________________________________________________________________
1987
1987
 
1988
- ${t??""}
1988
+ ${e??""}
1989
1989
 
1990
1990
  _________________________________________________________________
1991
- ${Jr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(r=this.configuration)===null||r===void 0?void 0:r.recipients.join(",")}?subject=${i}&body=${n}`}};var dr=sr.build("inDesignerFeedbackComponent"),Qi={feedbackAndRatingDisabledInEditor:"Feedback and ratings performed here are not taken into account."};var kt=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},pt=class extends ar(ze){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.iconVariant=$t.fluid_topics,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.feedbackLinkBuilder=new to,this.i18nProperties={feedbackMainTitle:V.properties.mapFeedbackMainTitle(),ratingSectionTitle:V.properties.mapRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.mapDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.mapFeedbackSectionTitle()},this.sendRatingDebouncer=new Ft.Debouncer(500),this.addStore(T)}render(){return Jd.html`
1991
+ ${Jr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configuration)===null||o===void 0?void 0:o.recipients.join(",")}?subject=${i}&body=${n}`}};var dr=sr.build("inDesignerFeedbackComponent"),Qi={feedbackAndRatingDisabledInEditor:"Feedback and ratings performed here are not taken into account."};var ke=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},pe=class extends ar(Ht){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.iconVariant=$e.fluid_topics,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.feedbackLinkBuilder=new eo,this.i18nProperties={feedbackMainTitle:V.properties.mapFeedbackMainTitle(),ratingSectionTitle:V.properties.mapRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.mapDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.mapFeedbackSectionTitle()},this.sendRatingDebouncer=new Fe.Debouncer(500),this.addStore(T)}render(){return Jd.html`
1992
1992
  <ft-reader-feedback
1993
1993
  ratingAllowed
1994
1994
  .i18nProperties=${this.i18nProperties}
@@ -2004,16 +2004,16 @@ ${Jr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(r=this.configura
2004
2004
  .filledLikeIcon=${this.filledLikeIcon}
2005
2005
  .emptyDislikeIcon=${this.emptyDislikeIcon}
2006
2006
  .filledDislikeIcon=${this.filledDislikeIcon}
2007
- .feedbackMailLinkBuilder=${t=>this.feedbackLinkBuilder.build(t)}
2007
+ .feedbackMailLinkBuilder=${e=>this.feedbackLinkBuilder.build(e)}
2008
2008
  @rate=${this.rate}
2009
2009
  @send-feedback=${this.sendFeedback}
2010
2010
  @mailer-feedback=${this.onMailerFeedbackSent}
2011
2011
  @open-more-options=${this.openMoreOptions}
2012
2012
  ></ft-reader-feedback>
2013
- `}willUpdate(t){var r,i,n,a,s;super.willUpdate(t),t.has("map")&&this.map&&((r=this.stateManager)===null||r===void 0||r.fetchMapRating()),t.has("editorMode")&&this.editorMode&&this.addI18nContext(dr,Qi),["map","configuration","user","mailSubject"].some(c=>t.has(c))&&this.map&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(n=(i=this.service)===null||i===void 0?void 0:i.getLink())!==null&&n!==void 0?n:"",this.map.metadata,this.configuration,((s=(a=this.session)===null||a===void 0?void 0:a.profile)===null||s===void 0?void 0:s.userId)!=null)}connectedCallback(){super.connectedCallback()}onStoreAvailable(t){super.onStoreAvailable(t)}async fetchRatingSummary(){var t;await((t=this.stateManager)===null||t===void 0?void 0:t.fetchMapRating())}rate(t){this.ratingSummary&&(this.ratingSummary={...this.ratingSummary,rating:t.detail==null?void 0:{type:this.ratingSummary.type,value:t.detail,date:new Date}},this.sendRatingDebouncer.run(()=>this.sendRating(t.detail)))}async sendRating(t){var r,i,n,a;if(!this.editorMode&&this.ratingSummary){try{t==null?await((r=this.service)===null||r===void 0?void 0:r.unrateMap()):await((i=this.service)===null||i===void 0?void 0:i.rateMap((n=this.ratingSummary)===null||n===void 0?void 0:n.type,t))}catch{this.dispatchEvent(new Ft.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}await((a=this.stateManager)===null||a===void 0?void 0:a.fetchMapRating())}else this.editorMode&&this.dispatchEvent(new Ft.FtNotificationEvent({type:"info",message:dr.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var r;try{this.editorMode?this.dispatchEvent(new Ft.FtNotificationEvent({type:"info",message:dr.messages.feedbackAndRatingDisabledInEditor()})):(await((r=this.service)===null||r===void 0?void 0:r.sendMapFeedback(t.detail.message,t.detail.from)),this.dispatchEvent(new Ft.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()}))),this.readerFeedback.clearFeedbackInput()}catch{this.dispatchEvent(new Ft.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){this.dispatchEvent(new Yi)}openMoreOptions(){var t,r,i;this.dispatchEvent(new Zi({mapId:this.map.id,mapTitle:this.map.title,mapMetadata:((t=this.map)===null||t===void 0?void 0:t.metadata)||[],ratingType:((r=this.ratingSummary)===null||r===void 0?void 0:r.type)||vt.NO_RATING,ratingValue:(i=this.ratingSummary)===null||i===void 0?void 0:i.rating}))}};pt.elementDefinitions={"ft-reader-feedback":Q};kt([(0,Ft.redux)({store:T.name})],pt.prototype,"session",void 0);kt([(0,Ft.redux)({store:"reader"})],pt.prototype,"map",void 0);kt([(0,Ft.redux)({store:T.name})],pt.prototype,"editorMode",void 0);kt([(0,Ft.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],pt.prototype,"configuration",void 0);kt([(0,Ft.redux)({store:"reader",selector:e=>e.mapRating})],pt.prototype,"ratingSummary",void 0);kt([(0,ce.property)({type:Boolean})],pt.prototype,"hideTitle",void 0);kt([(0,ce.property)({type:Boolean})],pt.prototype,"withMoreOptionsButton",void 0);kt([(0,ce.property)()],pt.prototype,"iconVariant",void 0);kt([(0,ce.property)()],pt.prototype,"emptyStarIcon",void 0);kt([(0,ce.property)()],pt.prototype,"filledStarIcon",void 0);kt([(0,ce.property)()],pt.prototype,"emptyLikeIcon",void 0);kt([(0,ce.property)()],pt.prototype,"filledLikeIcon",void 0);kt([(0,ce.property)()],pt.prototype,"emptyDislikeIcon",void 0);kt([(0,ce.property)()],pt.prototype,"filledDislikeIcon",void 0);kt([(0,ce.query)("ft-reader-feedback")],pt.prototype,"readerFeedback",void 0);kt([_i(Jr.properties["mail.map_feedback.subject"](e=>{var t;return[(t=e.map)===null||t===void 0?void 0:t.title]}))],pt.prototype,"mailSubject",void 0);kt([(0,Ft.reduxEventListener)({eventName:"rating-changed"})],pt.prototype,"fetchRatingSummary",null);var tp=m(M()),de=m(q()),Ut=m(R());var Ji=m(q());var ba=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},xa=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},va=Symbol("registerInterval");function Lu(e){var t;class r extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this.headingLevelsShift=0,this[t]=0}connectedCallback(){super.connectedCallback(),this[va]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[va]):this.dispatchEvent(new xa)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return t=va,ba([(0,Ji.state)()],r.prototype,"tocNode",void 0),ba([(0,Ji.state)()],r.prototype,"disableContextInteractions",void 0),ba([(0,Ji.state)()],r.prototype,"headingLevelsShift",void 0),r}var tn=class extends Lu(ze){};var Dt=function(e,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ut=class extends ar(tn){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.iconVariant=$t.fluid_topics,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.feedbackLinkBuilder=new to,this.i18nProperties={feedbackMainTitle:V.properties.topicFeedbackMainTitle(),ratingSectionTitle:V.properties.topicRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.topicDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.topicFeedbackSectionTitle()},this.sendRatingDebouncer=new Ut.Debouncer(500),this.addStore(T)}render(){var t;return tp.html`
2013
+ `}willUpdate(e){var o,i,n,a,s;super.willUpdate(e),e.has("map")&&this.map&&((o=this.stateManager)===null||o===void 0||o.fetchMapRating()),e.has("editorMode")&&this.editorMode&&this.addI18nContext(dr,Qi),["map","configuration","user","mailSubject"].some(c=>e.has(c))&&this.map&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(n=(i=this.service)===null||i===void 0?void 0:i.getLink())!==null&&n!==void 0?n:"",this.map.metadata,this.configuration,((s=(a=this.session)===null||a===void 0?void 0:a.profile)===null||s===void 0?void 0:s.userId)!=null)}connectedCallback(){super.connectedCallback()}onStoreAvailable(e){super.onStoreAvailable(e)}async fetchRatingSummary(){var e;await((e=this.stateManager)===null||e===void 0?void 0:e.fetchMapRating())}rate(e){this.ratingSummary&&(this.ratingSummary={...this.ratingSummary,rating:e.detail==null?void 0:{type:this.ratingSummary.type,value:e.detail,date:new Date}},this.sendRatingDebouncer.run(()=>this.sendRating(e.detail)))}async sendRating(e){var o,i,n,a;if(!this.editorMode&&this.ratingSummary){try{e==null?await((o=this.service)===null||o===void 0?void 0:o.unrateMap()):await((i=this.service)===null||i===void 0?void 0:i.rateMap((n=this.ratingSummary)===null||n===void 0?void 0:n.type,e))}catch{this.dispatchEvent(new Fe.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}await((a=this.stateManager)===null||a===void 0?void 0:a.fetchMapRating())}else this.editorMode&&this.dispatchEvent(new Fe.FtNotificationEvent({type:"info",message:dr.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(e){var o;try{this.editorMode?this.dispatchEvent(new Fe.FtNotificationEvent({type:"info",message:dr.messages.feedbackAndRatingDisabledInEditor()})):(await((o=this.service)===null||o===void 0?void 0:o.sendMapFeedback(e.detail.message,e.detail.from)),this.dispatchEvent(new Fe.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()}))),this.readerFeedback.clearFeedbackInput()}catch{this.dispatchEvent(new Fe.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){this.dispatchEvent(new Yi)}openMoreOptions(){var e,o,i;this.dispatchEvent(new Zi({mapId:this.map.id,mapTitle:this.map.title,mapMetadata:((e=this.map)===null||e===void 0?void 0:e.metadata)||[],ratingType:((o=this.ratingSummary)===null||o===void 0?void 0:o.type)||xe.NO_RATING,ratingValue:(i=this.ratingSummary)===null||i===void 0?void 0:i.rating}))}};pe.elementDefinitions={"ft-reader-feedback":Q};ke([(0,Fe.redux)({store:T.name})],pe.prototype,"session",void 0);ke([(0,Fe.redux)({store:"reader"})],pe.prototype,"map",void 0);ke([(0,Fe.redux)({store:T.name})],pe.prototype,"editorMode",void 0);ke([(0,Fe.redux)({store:"reader",selector:t=>{var e;return(e=t.configuration)===null||e===void 0?void 0:e.feedback}})],pe.prototype,"configuration",void 0);ke([(0,Fe.redux)({store:"reader",selector:t=>t.mapRating})],pe.prototype,"ratingSummary",void 0);ke([(0,ct.property)({type:Boolean})],pe.prototype,"hideTitle",void 0);ke([(0,ct.property)({type:Boolean})],pe.prototype,"withMoreOptionsButton",void 0);ke([(0,ct.property)()],pe.prototype,"iconVariant",void 0);ke([(0,ct.property)()],pe.prototype,"emptyStarIcon",void 0);ke([(0,ct.property)()],pe.prototype,"filledStarIcon",void 0);ke([(0,ct.property)()],pe.prototype,"emptyLikeIcon",void 0);ke([(0,ct.property)()],pe.prototype,"filledLikeIcon",void 0);ke([(0,ct.property)()],pe.prototype,"emptyDislikeIcon",void 0);ke([(0,ct.property)()],pe.prototype,"filledDislikeIcon",void 0);ke([(0,ct.query)("ft-reader-feedback")],pe.prototype,"readerFeedback",void 0);ke([_i(Jr.properties["mail.map_feedback.subject"](t=>{var e;return[(e=t.map)===null||e===void 0?void 0:e.title]}))],pe.prototype,"mailSubject",void 0);ke([(0,Fe.reduxEventListener)({eventName:"rating-changed"})],pe.prototype,"fetchRatingSummary",null);var ep=m(M()),dt=m(q()),Ue=m(R());var Ji=m(q());var ba=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},va=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},xa=Symbol("registerInterval");function Lu(t){var e;class o extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this.headingLevelsShift=0,this[e]=0}connectedCallback(){super.connectedCallback(),this[xa]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[xa]):this.dispatchEvent(new va)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=xa,ba([(0,Ji.state)()],o.prototype,"tocNode",void 0),ba([(0,Ji.state)()],o.prototype,"disableContextInteractions",void 0),ba([(0,Ji.state)()],o.prototype,"headingLevelsShift",void 0),o}var en=class extends Lu(Ht){};var De=function(t,e,o,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,o,a):s(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a},ue=class extends ar(en){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.iconVariant=$e.fluid_topics,this.emptyStarIcon="STAR",this.filledStarIcon="STAR_PLAIN",this.emptyLikeIcon="THUMBS_UP",this.filledLikeIcon="THUMBS_UP_PLAIN",this.emptyDislikeIcon="THUMBS_DOWN",this.filledDislikeIcon="THUMBS_DOWN_PLAIN",this.feedbackLinkBuilder=new eo,this.i18nProperties={feedbackMainTitle:V.properties.topicFeedbackMainTitle(),ratingSectionTitle:V.properties.topicRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.topicDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.topicFeedbackSectionTitle()},this.sendRatingDebouncer=new Ue.Debouncer(500),this.addStore(T)}render(){var e;return ep.html`
2014
2014
  <ft-reader-feedback
2015
2015
  .i18nProperties=${this.i18nProperties}
2016
- ?ratingAllowed=${(t=this.tocNode)===null||t===void 0?void 0:t.hasRating}
2016
+ ?ratingAllowed=${(e=this.tocNode)===null||e===void 0?void 0:e.hasRating}
2017
2017
  .editorMode=${this.editorMode}
2018
2018
  ?hideTitle=${this.hideTitle}
2019
2019
  ?withMoreOptionsButton=${this.withMoreOptionsButton}
@@ -2026,13 +2026,13 @@ ${Jr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(r=this.configura
2026
2026
  .filledLikeIcon=${this.filledLikeIcon}
2027
2027
  .emptyDislikeIcon=${this.emptyDislikeIcon}
2028
2028
  .filledDislikeIcon=${this.filledDislikeIcon}
2029
- .feedbackMailLinkBuilder=${r=>this.feedbackLinkBuilder.build(r)}
2029
+ .feedbackMailLinkBuilder=${o=>this.feedbackLinkBuilder.build(o)}
2030
2030
  @rate=${this.rate}
2031
2031
  @send-feedback=${this.sendFeedback}
2032
2032
  @mailer-feedback=${this.onMailerFeedbackSent}
2033
2033
  @open-more-options=${this.openMoreOptions}
2034
2034
  ></ft-reader-feedback>
2035
- `}willUpdate(t){var r,i,n,a,s;super.willUpdate(t),["tocNode","user"].some(c=>t.has(c))&&this.tocNode&&((r=this.stateManager)===null||r===void 0||r.fetchTopicRating(this.tocNode.tocId)),t.has("editorMode")&&this.editorMode&&this.addI18nContext(dr,Qi),["map","tocNode","configuration","user","mailSubject"].some(c=>t.has(c))&&this.map&&this.tocNode&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(n=(i=this.service)===null||i===void 0?void 0:i.getLink(this.tocNode.tocId))!==null&&n!==void 0?n:"",this.map.metadata,this.configuration,((s=(a=this.session)===null||a===void 0?void 0:a.profile)===null||s===void 0?void 0:s.userId)!=null)}connectedCallback(){super.connectedCallback()}async fetchRatingSummary(){var t;await((t=this.stateManager)===null||t===void 0?void 0:t.fetchTopicRating(this.tocNode.tocId))}rate(t){this.ratingSummary&&this.tocNode&&(this.ratingSummary={...this.ratingSummary,rating:t.detail==null?void 0:{tocId:this.tocNode.tocId,type:this.ratingSummary.type,value:t.detail,date:new Date}},this.sendRatingDebouncer.run(()=>this.sendRating(t.detail)))}async sendRating(t){var r,i,n,a;if(!this.editorMode&&this.ratingSummary&&this.tocNode){try{t==null?await((r=this.service)===null||r===void 0?void 0:r.unrateTopic(this.tocNode.tocId)):await((i=this.service)===null||i===void 0?void 0:i.rateTopic(this.tocNode.tocId,(n=this.ratingSummary)===null||n===void 0?void 0:n.type,t))}catch{this.dispatchEvent(new Ut.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}await((a=this.stateManager)===null||a===void 0?void 0:a.fetchTopicRating(this.tocNode.tocId))}else this.editorMode&&this.dispatchEvent(new Ut.FtNotificationEvent({type:"info",message:dr.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var r;try{!this.editorMode&&this.tocNode?(await((r=this.service)===null||r===void 0?void 0:r.sendTopicFeedback(this.tocNode.tocId,t.detail.message,t.detail.from)),this.dispatchEvent(new Ut.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()})),this.readerFeedback.clearFeedbackInput()):this.editorMode&&this.dispatchEvent(new Ut.FtNotificationEvent({type:"info",message:dr.messages.feedbackAndRatingDisabledInEditor()}))}catch{this.dispatchEvent(new Ut.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){let t=this.tocNode;this.dispatchEvent(new qi(t))}openMoreOptions(){var t,r,i,n,a,s,c,u;this.dispatchEvent(new Ki({mapId:this.map.id,mapTitle:this.map.title,tocId:this.tocNode.tocId,topicTitle:this.tocNode.title,topicUrl:(r=(t=this.service)===null||t===void 0?void 0:t.getLink(this.tocNode.tocId))!==null&&r!==void 0?r:"",mapMetadata:((i=this.map)===null||i===void 0?void 0:i.metadata)||[],breadcrumb:((a=(n=this.stateManager)===null||n===void 0?void 0:n.service)===null||a===void 0?void 0:a.buildBreadcrumb(this.tocNode.tocId))||[],ratingType:(!((s=this.tocNode)===null||s===void 0)&&s.hasRating?(c=this.ratingSummary)===null||c===void 0?void 0:c.type:vt.NO_RATING)||vt.NO_RATING,ratingValue:(u=this.ratingSummary)===null||u===void 0?void 0:u.rating}))}};ut.elementDefinitions={"ft-reader-feedback":Q};Dt([(0,Ut.redux)({store:T.name})],ut.prototype,"session",void 0);Dt([(0,Ut.redux)({store:"reader"})],ut.prototype,"map",void 0);Dt([(0,Ut.redux)({store:T.name})],ut.prototype,"editorMode",void 0);Dt([(0,Ut.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],ut.prototype,"configuration",void 0);Dt([(0,Ut.redux)({store:"reader",selector:(e,t)=>{var r,i;return e.topicsRating[(i=(r=t.tocNode)===null||r===void 0?void 0:r.tocId)!==null&&i!==void 0?i:""]}})],ut.prototype,"ratingSummary",void 0);Dt([(0,de.property)({type:Boolean})],ut.prototype,"hideTitle",void 0);Dt([(0,de.property)({type:Boolean})],ut.prototype,"withMoreOptionsButton",void 0);Dt([(0,de.property)()],ut.prototype,"iconVariant",void 0);Dt([(0,de.property)()],ut.prototype,"emptyStarIcon",void 0);Dt([(0,de.property)()],ut.prototype,"filledStarIcon",void 0);Dt([(0,de.property)()],ut.prototype,"emptyLikeIcon",void 0);Dt([(0,de.property)()],ut.prototype,"filledLikeIcon",void 0);Dt([(0,de.property)()],ut.prototype,"emptyDislikeIcon",void 0);Dt([(0,de.property)()],ut.prototype,"filledDislikeIcon",void 0);Dt([(0,de.query)("ft-reader-feedback")],ut.prototype,"readerFeedback",void 0);Dt([_i(Jr.properties["mail.feedback.subject"](e=>{var t,r;return[(t=e.tocNode)===null||t===void 0?void 0:t.title,(r=e.map)===null||r===void 0?void 0:r.title]}))],ut.prototype,"mailSubject",void 0);Dt([(0,Ut.reduxEventListener)({eventName:"rating-changed"})],ut.prototype,"fetchRatingSummary",null);(0,Sa.customElement)("ft-reader-map-feedback")(pt);(0,Sa.customElement)("ft-reader-topic-feedback")(ut);})();
2035
+ `}willUpdate(e){var o,i,n,a,s;super.willUpdate(e),["tocNode","user"].some(c=>e.has(c))&&this.tocNode&&((o=this.stateManager)===null||o===void 0||o.fetchTopicRating(this.tocNode.tocId)),e.has("editorMode")&&this.editorMode&&this.addI18nContext(dr,Qi),["map","tocNode","configuration","user","mailSubject"].some(c=>e.has(c))&&this.map&&this.tocNode&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(n=(i=this.service)===null||i===void 0?void 0:i.getLink(this.tocNode.tocId))!==null&&n!==void 0?n:"",this.map.metadata,this.configuration,((s=(a=this.session)===null||a===void 0?void 0:a.profile)===null||s===void 0?void 0:s.userId)!=null)}connectedCallback(){super.connectedCallback()}async fetchRatingSummary(){var e;await((e=this.stateManager)===null||e===void 0?void 0:e.fetchTopicRating(this.tocNode.tocId))}rate(e){this.ratingSummary&&this.tocNode&&(this.ratingSummary={...this.ratingSummary,rating:e.detail==null?void 0:{tocId:this.tocNode.tocId,type:this.ratingSummary.type,value:e.detail,date:new Date}},this.sendRatingDebouncer.run(()=>this.sendRating(e.detail)))}async sendRating(e){var o,i,n,a;if(!this.editorMode&&this.ratingSummary&&this.tocNode){try{e==null?await((o=this.service)===null||o===void 0?void 0:o.unrateTopic(this.tocNode.tocId)):await((i=this.service)===null||i===void 0?void 0:i.rateTopic(this.tocNode.tocId,(n=this.ratingSummary)===null||n===void 0?void 0:n.type,e))}catch{this.dispatchEvent(new Ue.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}await((a=this.stateManager)===null||a===void 0?void 0:a.fetchTopicRating(this.tocNode.tocId))}else this.editorMode&&this.dispatchEvent(new Ue.FtNotificationEvent({type:"info",message:dr.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(e){var o;try{!this.editorMode&&this.tocNode?(await((o=this.service)===null||o===void 0?void 0:o.sendTopicFeedback(this.tocNode.tocId,e.detail.message,e.detail.from)),this.dispatchEvent(new Ue.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()})),this.readerFeedback.clearFeedbackInput()):this.editorMode&&this.dispatchEvent(new Ue.FtNotificationEvent({type:"info",message:dr.messages.feedbackAndRatingDisabledInEditor()}))}catch{this.dispatchEvent(new Ue.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){let e=this.tocNode;this.dispatchEvent(new qi(e))}openMoreOptions(){var e,o,i,n,a,s,c,u;this.dispatchEvent(new Ki({mapId:this.map.id,mapTitle:this.map.title,tocId:this.tocNode.tocId,topicTitle:this.tocNode.title,topicUrl:(o=(e=this.service)===null||e===void 0?void 0:e.getLink(this.tocNode.tocId))!==null&&o!==void 0?o:"",mapMetadata:((i=this.map)===null||i===void 0?void 0:i.metadata)||[],breadcrumb:((a=(n=this.stateManager)===null||n===void 0?void 0:n.service)===null||a===void 0?void 0:a.buildBreadcrumb(this.tocNode.tocId))||[],ratingType:(!((s=this.tocNode)===null||s===void 0)&&s.hasRating?(c=this.ratingSummary)===null||c===void 0?void 0:c.type:xe.NO_RATING)||xe.NO_RATING,ratingValue:(u=this.ratingSummary)===null||u===void 0?void 0:u.rating}))}};ue.elementDefinitions={"ft-reader-feedback":Q};De([(0,Ue.redux)({store:T.name})],ue.prototype,"session",void 0);De([(0,Ue.redux)({store:"reader"})],ue.prototype,"map",void 0);De([(0,Ue.redux)({store:T.name})],ue.prototype,"editorMode",void 0);De([(0,Ue.redux)({store:"reader",selector:t=>{var e;return(e=t.configuration)===null||e===void 0?void 0:e.feedback}})],ue.prototype,"configuration",void 0);De([(0,Ue.redux)({store:"reader",selector:(t,e)=>{var o,i;return t.topicsRating[(i=(o=e.tocNode)===null||o===void 0?void 0:o.tocId)!==null&&i!==void 0?i:""]}})],ue.prototype,"ratingSummary",void 0);De([(0,dt.property)({type:Boolean})],ue.prototype,"hideTitle",void 0);De([(0,dt.property)({type:Boolean})],ue.prototype,"withMoreOptionsButton",void 0);De([(0,dt.property)()],ue.prototype,"iconVariant",void 0);De([(0,dt.property)()],ue.prototype,"emptyStarIcon",void 0);De([(0,dt.property)()],ue.prototype,"filledStarIcon",void 0);De([(0,dt.property)()],ue.prototype,"emptyLikeIcon",void 0);De([(0,dt.property)()],ue.prototype,"filledLikeIcon",void 0);De([(0,dt.property)()],ue.prototype,"emptyDislikeIcon",void 0);De([(0,dt.property)()],ue.prototype,"filledDislikeIcon",void 0);De([(0,dt.query)("ft-reader-feedback")],ue.prototype,"readerFeedback",void 0);De([_i(Jr.properties["mail.feedback.subject"](t=>{var e,o;return[(e=t.tocNode)===null||e===void 0?void 0:e.title,(o=t.map)===null||o===void 0?void 0:o.title]}))],ue.prototype,"mailSubject",void 0);De([(0,Ue.reduxEventListener)({eventName:"rating-changed"})],ue.prototype,"fetchRatingSummary",null);(0,Sa.customElement)("ft-reader-map-feedback")(pe);(0,Sa.customElement)("ft-reader-topic-feedback")(ue);})();
2036
2036
  /*! Bundled license information:
2037
2037
 
2038
2038
  lit-html/lit-html.js: