@fluid-topics/ft-reader-feedback 1.2.1 → 1.2.3

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 Td=Object.create;var pa=Object.defineProperty;var _d=Object.getOwnPropertyDescriptor;var kd=Object.getOwnPropertyNames;var Ld=Object.getPrototypeOf,Pd=Object.prototype.hasOwnProperty;var lr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Dd=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of kd(t))!Pd.call(e,n)&&n!==o&&pa(e,n,{get:()=>t[n],enumerable:!(i=_d(t,n))||i.enumerable});return e};var g=(e,t,o)=>(o=e!=null?Td(Ld(e)):{},Dd(t||!e||!e.__esModule?pa(o,"default",{value:e,enumerable:!0}):o,e));var R=lr((sf,fa)=>{fa.exports=ftGlobals.wcUtils});var B=lr((cf,ua)=>{ua.exports=ftGlobals.lit});var Z=lr((lf,ha)=>{ha.exports=ftGlobals.litDecorators});var Ve=lr((Wm,Bs)=>{Bs.exports=ftGlobals.litClassMap});var hc=lr((Rg,uc)=>{uc.exports=ftGlobals.litUnsafeHTML});var $c=lr((jb,Dc)=>{Dc.exports=ftGlobals.litRepeat});var od=lr((nr,rd)=>{var Si=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Oi=function(){function e(){this.fetch=!1,this.DOMException=Si.DOMException}return e.prototype=Si,new e}();(function(e){var t=function(o){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(y){return y&&DataView.prototype.isPrototypeOf(y)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function f(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var v={next:function(){var L=y.shift();return{done:L===void 0,value:L}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function m(y){this.map={},y instanceof m?y.forEach(function(v,L){this.append(L,v)},this):Array.isArray(y)?y.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):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}m.prototype.append=function(y,v){y=f(y),v=p(v);var L=this.map[y];this.map[y]=L?L+", "+v:v},m.prototype.delete=function(y){delete this.map[f(y)]},m.prototype.get=function(y){return y=f(y),this.has(y)?this.map[y]:null},m.prototype.has=function(y){return this.map.hasOwnProperty(f(y))},m.prototype.set=function(y,v){this.map[f(y)]=p(v)},m.prototype.forEach=function(y,v){for(var L in this.map)this.map.hasOwnProperty(L)&&y.call(v,this.map[L],L,this)},m.prototype.keys=function(){var y=[];return this.forEach(function(v,L){y.push(L)}),h(y)},m.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),h(y)},m.prototype.entries=function(){var y=[];return this.forEach(function(v,L){y.push([L,v])}),h(y)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function b(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(v,L){y.onload=function(){v(y.result)},y.onerror=function(){L(y.error)}})}function S(y){var v=new FileReader,L=x(v);return v.readAsArrayBuffer(y),L}function O(y){var v=new FileReader,L=x(v),q=/charset=([A-Za-z0-9_-]+)/.exec(y.type),at=q?q[1]:"utf-8";return v.readAsText(y,at),L}function _(y){for(var v=new Uint8Array(y),L=new Array(v.length),q=0;q<v.length;q++)L[q]=String.fromCharCode(v[q]);return L.join("")}function I(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:n.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:n.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():n.arrayBuffer&&n.blob&&a(y)?(this._bodyArrayBuffer=I(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=I(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="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(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var y=b(this);if(y)return y;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 y=b(this);return y||(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 y=b(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(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(Ht)}),this.json=function(){return this.text().then(JSON.parse)},this}var $=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function F(y){var v=y.toUpperCase();return $.indexOf(v)>-1?v:y}function W(y,v){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var L=v.body;if(y instanceof W){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new m(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!L&&y._bodyInit!=null&&(L=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new m(v.headers)),this.method=F(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in i){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&L)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(L),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var at=/\?/;this.url+=(at.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function Ht(y){var v=new FormData;return y.trim().split("&").forEach(function(L){if(L){var q=L.split("="),at=q.shift().replace(/\+/g," "),z=q.join("=").replace(/\+/g," ");v.append(decodeURIComponent(at),decodeURIComponent(z))}}),v}function ge(y){var v=new m,L=y.replace(/\r?\n[\t ]+/g," ");return L.split("\r").map(function(q){return q.indexOf(`
2
- `)===0?q.substr(1,q.length):q}).forEach(function(q){var at=q.split(":"),z=at.shift().trim();if(z){var Eo=at.join(":").trim();try{v.append(z,Eo)}catch(Hi){console.warn("Response "+Hi.message)}}}),v}N.call(W.prototype);function Bt(y,v){if(!(this instanceof Bt))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 m(v.headers),this.url=v.url||"",this._initBody(y)}N.call(Bt.prototype),Bt.prototype.clone=function(){return new Bt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},Bt.error=function(){var y=new Bt(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var be=[301,302,303,307,308];Bt.redirect=function(y,v){if(be.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Bt(null,{status:v,headers:{location:y}})},o.DOMException=i.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,L){this.message=v,this.name=L;var q=Error(v);this.stack=q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Et(y,v){return new Promise(function(L,q){var at=new W(y,v);if(at.signal&&at.signal.aborted)return q(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Eo(){z.abort()}z.onload=function(){var At={statusText:z.statusText,headers:ge(z.getAllResponseHeaders()||"")};at.url.indexOf("file://")===0&&(z.status<200||z.status>599)?At.status=200:At.status=z.status,At.url="responseURL"in z?z.responseURL:At.headers.get("X-Request-URL");var cr="response"in z?z.response:z.responseText;setTimeout(function(){L(new Bt(cr,At))},0)},z.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){q(new o.DOMException("Aborted","AbortError"))},0)};function Hi(At){try{return At===""&&i.location.href?i.location.href:At}catch{return At}}if(z.open(at.method,Hi(at.url),!0),at.credentials==="include"?z.withCredentials=!0:at.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(n.blob?z.responseType="blob":n.arrayBuffer&&(z.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof m||i.Headers&&v.headers instanceof i.Headers)){var da=[];Object.getOwnPropertyNames(v.headers).forEach(function(At){da.push(f(At)),z.setRequestHeader(At,p(v.headers[At]))}),at.headers.forEach(function(At,cr){da.indexOf(cr)===-1&&z.setRequestHeader(cr,At)})}else at.headers.forEach(function(At,cr){z.setRequestHeader(cr,At)});at.signal&&(at.signal.addEventListener("abort",Eo),z.onreadystatechange=function(){z.readyState===4&&at.signal.removeEventListener("abort",Eo)}),z.send(typeof at._bodyInit>"u"?null:at._bodyInit)})}return Et.polyfill=!0,i.fetch||(i.fetch=Et,i.Headers=m,i.Request=W,i.Response=Bt),o.Headers=m,o.Request=W,o.Response=Bt,o.fetch=Et,o}({})})(Oi);Oi.fetch.ponyfill=!0;delete Oi.fetch.polyfill;var Yr=Si.fetch?Si:Oi;nr=Yr.fetch;nr.default=Yr.fetch;nr.fetch=Yr.fetch;nr.Headers=Yr.Headers;nr.Request=Yr.Request;nr.Response=Yr.Response;rd.exports=nr});var la=g(R());var Rd=g(B()),Xt=g(Z()),Dt=g(R());var ya=g(R()),ma=g(Z());var ee;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(ee||(ee={}));var $d=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Gi=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Vi=Symbol("registerInterval");function Bd(e){var t;class o 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[Vi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Vi]):this.dispatchEvent(new Gi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Vi,$d([(0,ma.state)()],o.prototype,"stateManager",void 0),o}var Me=class extends Bd(ya.FtLitElementRedux){};var yt=g(B()),mt=g(Z()),Ui=g(R());var ys=g(B()),Q=g(R());var us=g(B()),M=g(R());var Oa=g(B()),gt=g(R()),ga=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorContent),w={color:ga,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",ga),opacityContentOnSurfacePressed:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:gt.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ba=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorPrimary),va={color:ba,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",ba)},xa=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorSecondary),Sa={color:xa,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",xa)},Ca=Oa.css`
1
+ "use strict";(()=>{var _d=Object.create;var fa=Object.defineProperty;var kd=Object.getOwnPropertyDescriptor;var Ld=Object.getOwnPropertyNames;var Pd=Object.getPrototypeOf,$d=Object.prototype.hasOwnProperty;var dr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Dd=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ld(t))!$d.call(e,n)&&n!==o&&fa(e,n,{get:()=>t[n],enumerable:!(i=kd(t,n))||i.enumerable});return e};var g=(e,t,o)=>(o=e!=null?_d(Pd(e)):{},Dd(t||!e||!e.__esModule?fa(o,"default",{value:e,enumerable:!0}):o,e));var R=dr((lu,ha)=>{ha.exports=ftGlobals.wcUtils});var B=dr((du,ya)=>{ya.exports=ftGlobals.lit});var Z=dr((pu,ma)=>{ma.exports=ftGlobals.litDecorators});var Ve=dr((Vm,Fs)=>{Fs.exports=ftGlobals.litClassMap});var mc=dr((Tg,yc)=>{yc.exports=ftGlobals.litUnsafeHTML});var Mc=dr((qb,Bc)=>{Bc.exports=ftGlobals.litRepeat});var id=dr((ar,od)=>{var Oi=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Ci=function(){function e(){this.fetch=!1,this.DOMException=Oi.DOMException}return e.prototype=Oi,new e}();(function(e){var t=function(o){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(y){return y&&DataView.prototype.isPrototypeOf(y)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function u(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var v={next:function(){var L=y.shift();return{done:L===void 0,value:L}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function m(y){this.map={},y instanceof m?y.forEach(function(v,L){this.append(L,v)},this):Array.isArray(y)?y.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):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}m.prototype.append=function(y,v){y=u(y),v=p(v);var L=this.map[y];this.map[y]=L?L+", "+v:v},m.prototype.delete=function(y){delete this.map[u(y)]},m.prototype.get=function(y){return y=u(y),this.has(y)?this.map[y]:null},m.prototype.has=function(y){return this.map.hasOwnProperty(u(y))},m.prototype.set=function(y,v){this.map[u(y)]=p(v)},m.prototype.forEach=function(y,v){for(var L in this.map)this.map.hasOwnProperty(L)&&y.call(v,this.map[L],L,this)},m.prototype.keys=function(){var y=[];return this.forEach(function(v,L){y.push(L)}),h(y)},m.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),h(y)},m.prototype.entries=function(){var y=[];return this.forEach(function(v,L){y.push([L,v])}),h(y)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function b(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(v,L){y.onload=function(){v(y.result)},y.onerror=function(){L(y.error)}})}function S(y){var v=new FileReader,L=x(v);return v.readAsArrayBuffer(y),L}function O(y){var v=new FileReader,L=x(v),q=/charset=([A-Za-z0-9_-]+)/.exec(y.type),at=q?q[1]:"utf-8";return v.readAsText(y,at),L}function _(y){for(var v=new Uint8Array(y),L=new Array(v.length),q=0;q<v.length;q++)L[q]=String.fromCharCode(v[q]);return L.join("")}function I(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function T(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:n.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:n.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():n.arrayBuffer&&n.blob&&a(y)?(this._bodyArrayBuffer=I(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=I(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="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(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var y=b(this);if(y)return y;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 y=b(this);return y||(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 y=b(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(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(Vt)}),this.json=function(){return this.text().then(JSON.parse)},this}var D=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function F(y){var v=y.toUpperCase();return D.indexOf(v)>-1?v:y}function W(y,v){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var L=v.body;if(y instanceof W){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new m(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!L&&y._bodyInit!=null&&(L=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new m(v.headers)),this.method=F(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in i){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&L)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(L),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var at=/\?/;this.url+=(at.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function Vt(y){var v=new FormData;return y.trim().split("&").forEach(function(L){if(L){var q=L.split("="),at=q.shift().replace(/\+/g," "),z=q.join("=").replace(/\+/g," ");v.append(decodeURIComponent(at),decodeURIComponent(z))}}),v}function ge(y){var v=new m,L=y.replace(/\r?\n[\t ]+/g," ");return L.split("\r").map(function(q){return q.indexOf(`
2
+ `)===0?q.substr(1,q.length):q}).forEach(function(q){var at=q.split(":"),z=at.shift().trim();if(z){var Eo=at.join(":").trim();try{v.append(z,Eo)}catch(Vi){console.warn("Response "+Vi.message)}}}),v}T.call(W.prototype);function Ft(y,v){if(!(this instanceof Ft))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 m(v.headers),this.url=v.url||"",this._initBody(y)}T.call(Ft.prototype),Ft.prototype.clone=function(){return new Ft(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},Ft.error=function(){var y=new Ft(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var be=[301,302,303,307,308];Ft.redirect=function(y,v){if(be.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Ft(null,{status:v,headers:{location:y}})},o.DOMException=i.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,L){this.message=v,this.name=L;var q=Error(v);this.stack=q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function At(y,v){return new Promise(function(L,q){var at=new W(y,v);if(at.signal&&at.signal.aborted)return q(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Eo(){z.abort()}z.onload=function(){var Rt={statusText:z.statusText,headers:ge(z.getAllResponseHeaders()||"")};at.url.indexOf("file://")===0&&(z.status<200||z.status>599)?Rt.status=200:Rt.status=z.status,Rt.url="responseURL"in z?z.responseURL:Rt.headers.get("X-Request-URL");var lr="response"in z?z.response:z.responseText;setTimeout(function(){L(new Ft(lr,Rt))},0)},z.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){q(new o.DOMException("Aborted","AbortError"))},0)};function Vi(Rt){try{return Rt===""&&i.location.href?i.location.href:Rt}catch{return Rt}}if(z.open(at.method,Vi(at.url),!0),at.credentials==="include"?z.withCredentials=!0:at.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(n.blob?z.responseType="blob":n.arrayBuffer&&(z.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof m||i.Headers&&v.headers instanceof i.Headers)){var ua=[];Object.getOwnPropertyNames(v.headers).forEach(function(Rt){ua.push(u(Rt)),z.setRequestHeader(Rt,p(v.headers[Rt]))}),at.headers.forEach(function(Rt,lr){ua.indexOf(lr)===-1&&z.setRequestHeader(lr,Rt)})}else at.headers.forEach(function(Rt,lr){z.setRequestHeader(lr,Rt)});at.signal&&(at.signal.addEventListener("abort",Eo),z.onreadystatechange=function(){z.readyState===4&&at.signal.removeEventListener("abort",Eo)}),z.send(typeof at._bodyInit>"u"?null:at._bodyInit)})}return At.polyfill=!0,i.fetch||(i.fetch=At,i.Headers=m,i.Request=W,i.Response=Ft),o.Headers=m,o.Request=W,o.Response=Ft,o.fetch=At,o}({})})(Ci);Ci.fetch.ponyfill=!0;delete Ci.fetch.polyfill;var Yr=Oi.fetch?Oi:Ci;ar=Yr.fetch;ar.default=Yr.fetch;ar.fetch=Yr.fetch;ar.Headers=Yr.Headers;ar.Request=Yr.Request;ar.Response=Yr.Response;od.exports=ar});var pa=g(R());var Id=g(B()),Qt=g(Z()),Bt=g(R());var ga=g(R()),ba=g(Z());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 Bd=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ji=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Gi=Symbol("registerInterval");function Md(e){var t;class o 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[Gi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Gi]):this.dispatchEvent(new ji)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Gi,Bd([(0,ba.state)()],o.prototype,"stateManager",void 0),o}var Me=class extends Md(ga.FtLitElementRedux){};var yt=g(B()),mt=g(Z()),Wi=g(R());var gs=g(B()),Q=g(R());var ys=g(B()),M=g(R());var wa=g(B()),gt=g(R()),va=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorContent),w={color:va,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",va),opacityContentOnSurfacePressed:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.FtCssVariableFactory.external(gt.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:gt.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},xa=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorPrimary),Sa={color:xa,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",xa)},Oa=gt.FtCssVariableFactory.extend("--ft-ripple-color","",gt.designSystemVariables.colorSecondary),Ca={color:Oa,backgroundColor:gt.FtCssVariableFactory.extend("--ft-ripple-background-color","",Oa)},Ea=wa.css`
3
3
  :host {
4
4
  display: contents;
5
5
  }
@@ -54,19 +54,19 @@
54
54
  }
55
55
 
56
56
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
57
- background-color: ${Sa.backgroundColor};
57
+ background-color: ${Ca.backgroundColor};
58
58
  }
59
59
 
60
60
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
61
- background-color: ${Sa.color};
61
+ background-color: ${Ca.color};
62
62
  }
63
63
 
64
64
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
65
- background-color: ${va.backgroundColor};
65
+ background-color: ${Sa.backgroundColor};
66
66
  }
67
67
 
68
68
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
69
- background-color: ${va.color};
69
+ background-color: ${Sa.color};
70
70
  }
71
71
 
72
72
  .ft-ripple .ft-ripple--background {
@@ -111,8 +111,8 @@
111
111
  opacity: ${w.opacityContentOnSurfacePressed};
112
112
  transform: translate(-50%, -50%) scale(1);
113
113
  }
114
- `;var oe=g(B()),A=g(R());var Ee=g(B(),1),Fe=e=>typeof e=="string"?(0,Ee.unsafeCSS)(e):e,r=class{static create(t,o,i,n){let a=l=>Fe(l??n),s=Ee.css`var(${Fe(t)}, ${a(n)})`;return s.name=t,s.description=o,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Ee.css`var(${Fe(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(t,o,i,n){let a=l=>i.get(l??n),s=Ee.css`var(${Fe(t)}, ${a(n)})`;return s.name=t,s.description=o,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Ee.css`var(${Fe(t)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(t,o){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Fe(a??t.lastResortDefaultValue()),n=Ee.css`var(${Fe(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>Ee.css`var(${Fe(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),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)")},wa={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ea={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Md={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},La={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Pa={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")},Da={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")},$a={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")},Ba={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")},Ma={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")},Fa={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")},Ua={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ao={display:wa,"title-1":Ea,"title-2":Aa,"title-3":Ra,"body-1-regular":Ia,"body-1-medium":Na,"body-1-semibold":Ta,"body-2-regular":_a,"body-2-medium":ka,"body-2-medium-underline":Md,"body-2-semibold":La,"label-1-medium":Pa,"label-1-semibold":Da,"label-1-bold":$a,"label-2-medium":Ba,"label-2-semibold":Ma,"label-2-bold":Fa,"caption-1-medium":Ua,"caption-1-semibold":Wa,"caption-1-bold":za,"caption-2-medium":Ha,"caption-2-semibold":Va,"caption-2-bold":Ga,"caption-3-medium":ja,"caption-3-semibold":Ka,"caption-3-bold":Za};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
115
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.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","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.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","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.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","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.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","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.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","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.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","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.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","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.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","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.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 Rf={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.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","",c.iconSize2)};var kf={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.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","",c.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 Bf={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.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","",c.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","",c.colorBrand100)};var zf={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.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 Kf={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Qf={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.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 ou={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.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","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var cu={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.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","",c.spacing4)};var fu={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var gu={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.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","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Ou={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Ru={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var ku={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Bu={backgroundColor:r.extend("--ft-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var zu={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.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","",c.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","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Ku={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.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","",c.opacity40)};var Qu={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var oh={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var ch={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.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","",c.iconSize3)};var uh={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var gh={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Sh={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Ah={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var _h={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","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var $h={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.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","",c.spacing3)};var Wh={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","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3)};var jh={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var Xh={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.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","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Ro;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ro||(Ro={}));var Er;(function(e){e.large="large",e.medium="medium",e.small="small"})(Er||(Er={}));var Io=g(B());function qa(e){let t=Ao[e];return Io.css`
114
+ `;var ie=g(B()),A=g(R());var Ee=g(B(),1),Fe=e=>typeof e=="string"?(0,Ee.unsafeCSS)(e):e,r=class{static create(t,o,i,n){let a=l=>Fe(l??n),s=Ee.css`var(${Fe(t)}, ${a(n)})`;return s.name=t,s.description=o,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Ee.css`var(${Fe(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(t,o,i,n){let a=l=>i.get(l??n),s=Ee.css`var(${Fe(t)}, ${a(n)})`;return s.name=t,s.description=o,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>Ee.css`var(${Fe(t)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(t,o){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Fe(a??t.lastResortDefaultValue()),n=Ee.css`var(${Fe(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=o,n.defaultCssValue=i,n.get=a=>Ee.css`var(${Fe(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),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)")},Aa={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},La={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Fd={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},$a={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Da={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")},Ba={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")},Ma={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")},Fa={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")},Ua={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")},Wa={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")},za={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},qa={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ya={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ao={display:Aa,"title-1":Ra,"title-2":Ia,"title-3":Na,"body-1-regular":Ta,"body-1-medium":_a,"body-1-semibold":ka,"body-2-regular":La,"body-2-medium":Pa,"body-2-medium-underline":Fd,"body-2-semibold":$a,"label-1-medium":Da,"label-1-semibold":Ba,"label-1-bold":Ma,"label-2-medium":Fa,"label-2-semibold":Ua,"label-2-bold":Wa,"caption-1-medium":za,"caption-1-semibold":Ha,"caption-1-bold":Va,"caption-2-medium":Ga,"caption-2-semibold":ja,"caption-2-bold":Ka,"caption-3-medium":Za,"caption-3-semibold":qa,"caption-3-bold":Ya};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
115
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var f={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.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","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.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","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.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","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.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","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.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","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.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","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.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","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.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","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.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 Nu={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.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","",c.iconSize2)};var Pu={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.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","",c.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 Fu={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.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","",c.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","",c.colorBrand100)};var Vu={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.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 qu={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var tf={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.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 af={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.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","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var pf={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.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","",c.spacing4)};var yf={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var xf={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.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","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Ef={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Tf={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var $f={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Uf={backgroundColor:r.extend("--ft-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Gf={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.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","",c.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","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Yf={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.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","",c.opacity40)};var eh={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var ah={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var ph={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.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","",c.iconSize3)};var mh={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var xh={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var wh={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Nh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Ph={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","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var Fh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.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","",c.spacing3)};var Vh={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","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3)};var qh={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var ty={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.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","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Ro;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ro||(Ro={}));var Ar;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ar||(Ar={}));var Io=g(B());function Xa(e){let t=Ao[e];return Io.css`
116
116
  .ft-typography--${(0,Io.unsafeCSS)(e)} {
117
117
  font-family: ${t.fontFamily};
118
118
  font-size: ${t.fontSize};
@@ -121,7 +121,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
121
121
  line-height: ${t.lineHeight};
122
122
  text-transform: ${t.textCase};
123
123
  }
124
- `}var Ya=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),Ae=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),k={fontFamily:Ae,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")},Ue={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ya),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},We={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ya),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},Ar={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},Rr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},re={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},Ir={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},ce={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},Nr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},Tr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},Mt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},Xa=oe.css`
124
+ `}var Qa=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),Ae=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),k={fontFamily:Ae,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")},Ue={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Qa),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},We={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Qa),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},Rr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},Ir={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},oe={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},Nr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},ce={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},Tr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},_r={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},Ut={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ae),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},Ja=ie.css`
125
125
  .ft-typography--title {
126
126
  font-family: ${Ue.fontFamily};
127
127
  font-size: ${Ue.fontSize};
@@ -130,7 +130,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
130
130
  line-height: ${Ue.lineHeight};
131
131
  text-transform: ${Ue.textTransform};
132
132
  }
133
- `,Qa=oe.css`
133
+ `,ts=ie.css`
134
134
  .ft-typography--title-dense {
135
135
  font-family: ${We.fontFamily};
136
136
  font-size: ${We.fontSize};
@@ -139,17 +139,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
139
139
  line-height: ${We.lineHeight};
140
140
  text-transform: ${We.textTransform};
141
141
  }
142
- `,Ja=oe.css`
142
+ `,es=ie.css`
143
143
  .ft-typography--subtitle1 {
144
- font-family: ${Ar.fontFamily};
145
- font-size: ${Ar.fontSize};
146
- font-weight: ${Ar.fontWeight};
147
- letter-spacing: ${Ar.letterSpacing};
148
- line-height: ${Ar.lineHeight};
149
- text-transform: ${Ar.textTransform};
150
- }
151
- `,ts=oe.css`
152
- .ft-typography--subtitle2 {
153
144
  font-family: ${Rr.fontFamily};
154
145
  font-size: ${Rr.fontSize};
155
146
  font-weight: ${Rr.fontWeight};
@@ -157,18 +148,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
157
148
  line-height: ${Rr.lineHeight};
158
149
  text-transform: ${Rr.textTransform};
159
150
  }
160
-
161
- `,_r=oe.css`
162
- .ft-typography--body1 {
163
- font-family: ${re.fontFamily};
164
- font-size: ${re.fontSize};
165
- font-weight: ${re.fontWeight};
166
- letter-spacing: ${re.letterSpacing};
167
- line-height: ${re.lineHeight};
168
- text-transform: ${re.textTransform};
169
- }
170
- `,es=oe.css`
171
- .ft-typography--body2 {
151
+ `,rs=ie.css`
152
+ .ft-typography--subtitle2 {
172
153
  font-family: ${Ir.fontFamily};
173
154
  font-size: ${Ir.fontSize};
174
155
  font-weight: ${Ir.fontWeight};
@@ -176,7 +157,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
176
157
  line-height: ${Ir.lineHeight};
177
158
  text-transform: ${Ir.textTransform};
178
159
  }
179
- `,No=oe.css`
160
+
161
+ `,kr=ie.css`
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
+ `,os=ie.css`
171
+ .ft-typography--body2 {
172
+ font-family: ${Nr.fontFamily};
173
+ font-size: ${Nr.fontSize};
174
+ font-weight: ${Nr.fontWeight};
175
+ letter-spacing: ${Nr.letterSpacing};
176
+ line-height: ${Nr.lineHeight};
177
+ text-transform: ${Nr.textTransform};
178
+ }
179
+ `,No=ie.css`
180
180
  .ft-typography--caption {
181
181
  font-family: ${ce.fontFamily};
182
182
  font-size: ${ce.fontSize};
@@ -185,17 +185,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
185
185
  line-height: ${ce.lineHeight};
186
186
  text-transform: ${ce.textTransform};
187
187
  }
188
- `,rs=oe.css`
188
+ `,is=ie.css`
189
189
  .ft-typography--breadcrumb {
190
- font-family: ${Nr.fontFamily};
191
- font-size: ${Nr.fontSize};
192
- font-weight: ${Nr.fontWeight};
193
- letter-spacing: ${Nr.letterSpacing};
194
- line-height: ${Nr.lineHeight};
195
- text-transform: ${Nr.textTransform};
196
- }
197
- `,os=oe.css`
198
- .ft-typography--overline {
199
190
  font-family: ${Tr.fontFamily};
200
191
  font-size: ${Tr.fontSize};
201
192
  font-weight: ${Tr.fontWeight};
@@ -203,20 +194,29 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
203
194
  line-height: ${Tr.lineHeight};
204
195
  text-transform: ${Tr.textTransform};
205
196
  }
206
- `,is=oe.css`
197
+ `,ns=ie.css`
198
+ .ft-typography--overline {
199
+ font-family: ${_r.fontFamily};
200
+ font-size: ${_r.fontSize};
201
+ font-weight: ${_r.fontWeight};
202
+ letter-spacing: ${_r.letterSpacing};
203
+ line-height: ${_r.lineHeight};
204
+ text-transform: ${_r.textTransform};
205
+ }
206
+ `,as=ie.css`
207
207
  .ft-typography--button {
208
- font-family: ${Mt.fontFamily};
209
- font-size: ${Mt.fontSize};
210
- font-weight: ${Mt.fontWeight};
211
- letter-spacing: ${Mt.letterSpacing};
212
- line-height: ${Mt.lineHeight};
213
- text-transform: ${Mt.textTransform};
214
- }
215
- `,ns=oe.css`
208
+ font-family: ${Ut.fontFamily};
209
+ font-size: ${Ut.fontSize};
210
+ font-weight: ${Ut.fontWeight};
211
+ letter-spacing: ${Ut.letterSpacing};
212
+ line-height: ${Ut.lineHeight};
213
+ text-transform: ${Ut.textTransform};
214
+ }
215
+ `,ss=ie.css`
216
216
  .ft-typography {
217
217
  vertical-align: inherit;
218
218
  }
219
- `,as=[Object.keys(Ao).map(e=>qa(e))];var ss=g(B()),Jr=g(R()),rt={color:Jr.FtCssVariableFactory.extend("--ft-loader-color","",Jr.designSystemVariables.colorPrimary),size:Jr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},cs=ss.css`
219
+ `,cs=[Object.keys(Ao).map(e=>Xa(e))];var ls=g(B()),Jr=g(R()),rt={color:Jr.FtCssVariableFactory.extend("--ft-loader-color","",Jr.designSystemVariables.colorPrimary),size:Jr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ds=ls.css`
220
220
  :host {
221
221
  line-height: 0;
222
222
  }
@@ -285,7 +285,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
285
285
  transform: translate(calc(0.35 * ${rt.size}), 0);
286
286
  }
287
287
  }
288
- `;var ls=g(B()),Re=g(R()),xt={size:Re.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Re.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ds=ls.css`
288
+ `;var ps=g(B()),Re=g(R()),xt={size:Re.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Re.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Re.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Re.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},us=ps.css`
289
289
  :host, i.ft-icon {
290
290
  display: inline-flex;
291
291
  align-items: center;
@@ -333,32 +333,33 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
333
333
  .ft-icon--material {
334
334
  font-family: ${xt.materialFontFamily}, "Material Icons", sans-serif;
335
335
  }
336
- `;var ps=M.FtCssVariableFactory.extend("--ft-button-color","",M.designSystemVariables.colorPrimary),tt={backgroundColor:M.FtCssVariableFactory.extend("--ft-button-background-color","",M.designSystemVariables.colorSurface),borderRadius:M.FtCssVariableFactory.extend("--ft-button-border-radius","",M.designSystemVariables.borderRadiusL),color:ps,fontSize:M.FtCssVariableFactory.extend("--ft-button-font-size","",Mt.fontSize),iconSize:M.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:M.FtCssVariableFactory.extend("--ft-button-ripple-color","",ps),verticalPadding:M.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:M.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:M.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},fs=M.FtCssVariableFactory.extend("--ft-button-primary-color","",M.FtCssVariableFactory.extend("--ft-button-color","",M.designSystemVariables.colorOnPrimary)),ji={backgroundColor:M.FtCssVariableFactory.extend("--ft-button-primary-background-color","",M.FtCssVariableFactory.extend("--ft-button-background-color","",M.designSystemVariables.colorPrimary)),color:fs,rippleColor:M.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",fs)},ve={borderRadius:M.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",M.FtCssVariableFactory.extend("--ft-button-border-radius","",M.designSystemVariables.borderRadiusM)),verticalPadding:M.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:M.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:M.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},hs=[us.css`
336
+ `;var fs=M.FtCssVariableFactory.extend("--ft-button-color","",M.designSystemVariables.colorPrimary),tt={backgroundColor:M.FtCssVariableFactory.extend("--ft-button-background-color","",M.designSystemVariables.colorSurface),borderRadius:M.FtCssVariableFactory.extend("--ft-button-border-radius","",M.designSystemVariables.borderRadiusL),color:fs,fontSize:M.FtCssVariableFactory.extend("--ft-button-font-size","",Ut.fontSize),iconSize:M.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:M.FtCssVariableFactory.extend("--ft-button-ripple-color","",fs),verticalPadding:M.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:M.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:M.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},hs=M.FtCssVariableFactory.extend("--ft-button-primary-color","",M.FtCssVariableFactory.extend("--ft-button-color","",M.designSystemVariables.colorOnPrimary)),Ki={backgroundColor:M.FtCssVariableFactory.extend("--ft-button-primary-background-color","",M.FtCssVariableFactory.extend("--ft-button-background-color","",M.designSystemVariables.colorPrimary)),color:hs,rippleColor:M.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",hs)},ve={borderRadius:M.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",M.FtCssVariableFactory.extend("--ft-button-border-radius","",M.designSystemVariables.borderRadiusM)),verticalPadding:M.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:M.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:M.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ms=[ys.css`
337
337
  :host {
338
338
  display: inline-block;
339
339
  max-width: 100%;
340
340
  pointer-events: none;
341
341
  }
342
342
 
343
- button {
343
+ .ft-button {
344
344
  box-shadow: 0px 0px 0px transparent;
345
345
  border: 0px solid transparent;
346
346
  text-shadow: 0px 0px 0px transparent;
347
347
  font-size: ${tt.fontSize};
348
+ text-decoration: none;
348
349
  }
349
350
 
350
- button:hover {
351
+ .ft-button:hover {
351
352
  box-shadow: 0px 0px 0px transparent;
352
353
  border: 0px solid transparent;
353
354
  text-shadow: 0px 0px 0px transparent;
354
355
  }
355
356
 
356
- button:active {
357
+ .ft-button:active {
357
358
  outline: none;
358
359
  border: none;
359
360
  }
360
361
 
361
- button:focus {
362
+ .ft-button:focus {
362
363
  outline: 0;
363
364
  }
364
365
 
@@ -418,9 +419,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
418
419
  }
419
420
 
420
421
  .ft-button.ft-button--primary {
421
- background-color: ${ji.backgroundColor};
422
- --ft-button-internal-color: ${ji.color};
423
- ${(0,M.setVariable)(w.color,ji.rippleColor)};
422
+ background-color: ${Ki.backgroundColor};
423
+ --ft-button-internal-color: ${Ki.color};
424
+ ${(0,M.setVariable)(w.color,Ki.rippleColor)};
424
425
  }
425
426
 
426
427
  .ft-button:focus {
@@ -434,8 +435,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
434
435
  text-overflow: ellipsis;
435
436
  display: block;
436
437
  margin: 0 ${tt.iconPadding};
437
- ${(0,M.setVariable)(Mt.fontSize,"1em")};
438
- ${(0,M.setVariable)(Mt.lineHeight,"var(--ft-button-internal-line-height)")};
438
+ ${(0,M.setVariable)(Ut.fontSize,"1em")};
439
+ ${(0,M.setVariable)(Ut.lineHeight,"var(--ft-button-internal-line-height)")};
439
440
  }
440
441
 
441
442
  .ft-button--dense .ft-button--label {
@@ -469,7 +470,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
469
470
  ${(0,M.setVariable)(rt.size,tt.iconSize)};
470
471
  ${(0,M.setVariable)(rt.color,"var(--ft-button-internal-color)")};
471
472
  }
472
- `,M.noTextSelect];var st=g(R());var ct={textColor:st.FtCssVariableFactory.extend("--ft-switch-text-color","",st.designSystemVariables.colorOnSurfaceHigh),backgroundColor:st.FtCssVariableFactory.extend("--ft-switch-background-color","",st.designSystemVariables.colorSurface),selectedTextColor:st.FtCssVariableFactory.extend("--ft-switch-selected-text-color","",st.designSystemVariables.colorPrimary),selectedBackgroundColor:st.FtCssVariableFactory.extend("--ft-switch-selected-background-color","",st.designSystemVariables.colorPrimary),borderColor:st.FtCssVariableFactory.extend("--ft-switch-border-color","",st.designSystemVariables.colorOutline),borderRadius:st.FtCssVariableFactory.extend("--ft-switch-border-radius","",st.designSystemVariables.borderRadiusL),fontSize:st.FtCssVariableFactory.extend("--ft-switch-font-size","",Mt.fontSize),iconSize:st.FtCssVariableFactory.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:st.FtCssVariableFactory.extend("--ft-switch-text-color","",st.designSystemVariables.colorOnSurfaceMedium),rippleColor:st.FtCssVariableFactory.extend("--ft-switch-ripple-color","",st.designSystemVariables.colorPrimary),outlineColor:st.FtCssVariableFactory.extend("--ft-switch-outline-color","",st.designSystemVariables.colorPrimary)};var xe={feedbackInputMinWidth:Q.FtCssVariableFactory.create("--ft-reader-feedback-input-min-width","","SIZE","300px"),ratedDateColor:Q.FtCssVariableFactory.external(Q.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:Q.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-color","",Q.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:Q.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-background-color","",Q.designSystemVariables.colorPrimary),filledRatingColor:Q.FtCssVariableFactory.extend("--ft-reader-feedback-filled-rating-color","",Q.designSystemVariables.colorPrimary),emptyRatingColor:Q.FtCssVariableFactory.extend("--ft-reader-feedback-empty-rating-color","",Q.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:Q.FtCssVariableFactory.external(Ue.fontSize,"Typography"),sectionTitleFontSize:Q.FtCssVariableFactory.external(We.fontSize,"Typography"),starsBackgroundColor:Q.FtCssVariableFactory.create("--ft-reader-feedback-stars-background-color","","COLOR",Q.designSystemVariables.colorSurface)},ms=ys.css`
473
+ `,M.noTextSelect];var ct=g(R());var lt={textColor:ct.FtCssVariableFactory.extend("--ft-switch-text-color","",ct.designSystemVariables.colorOnSurfaceHigh),backgroundColor:ct.FtCssVariableFactory.extend("--ft-switch-background-color","",ct.designSystemVariables.colorSurface),selectedTextColor:ct.FtCssVariableFactory.extend("--ft-switch-selected-text-color","",ct.designSystemVariables.colorPrimary),selectedBackgroundColor:ct.FtCssVariableFactory.extend("--ft-switch-selected-background-color","",ct.designSystemVariables.colorPrimary),borderColor:ct.FtCssVariableFactory.extend("--ft-switch-border-color","",ct.designSystemVariables.colorOutline),borderRadius:ct.FtCssVariableFactory.extend("--ft-switch-border-radius","",ct.designSystemVariables.borderRadiusL),fontSize:ct.FtCssVariableFactory.extend("--ft-switch-font-size","",Ut.fontSize),iconSize:ct.FtCssVariableFactory.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:ct.FtCssVariableFactory.extend("--ft-switch-text-color","",ct.designSystemVariables.colorOnSurfaceMedium),rippleColor:ct.FtCssVariableFactory.extend("--ft-switch-ripple-color","",ct.designSystemVariables.colorPrimary),outlineColor:ct.FtCssVariableFactory.extend("--ft-switch-outline-color","",ct.designSystemVariables.colorPrimary)};var xe={feedbackInputMinWidth:Q.FtCssVariableFactory.create("--ft-reader-feedback-input-min-width","","SIZE","300px"),ratedDateColor:Q.FtCssVariableFactory.external(Q.designSystemVariables.colorOnSurfaceMedium,"Design system"),sendFeedbackColor:Q.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-color","",Q.designSystemVariables.colorOnPrimary),sendFeedbackBackgroundColor:Q.FtCssVariableFactory.extend("--ft-reader-feedback-send-feedback-background-color","",Q.designSystemVariables.colorPrimary),filledRatingColor:Q.FtCssVariableFactory.extend("--ft-reader-feedback-filled-rating-color","",Q.designSystemVariables.colorPrimary),emptyRatingColor:Q.FtCssVariableFactory.extend("--ft-reader-feedback-empty-rating-color","",Q.designSystemVariables.colorOnSurfaceMedium),mainTitleFontSize:Q.FtCssVariableFactory.external(Ue.fontSize,"Typography"),sectionTitleFontSize:Q.FtCssVariableFactory.external(We.fontSize,"Typography"),starsBackgroundColor:Q.FtCssVariableFactory.create("--ft-reader-feedback-stars-background-color","","COLOR",Q.designSystemVariables.colorSurface)},bs=gs.css`
473
474
  .ft-reader-feedback {
474
475
  box-sizing: border-box;
475
476
  display: flex;
@@ -497,8 +498,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
497
498
  .ft-reader-feedback--rating {
498
499
  ${(0,Q.setVariable)(tt.color,xe.emptyRatingColor)};
499
500
  ${(0,Q.setVariable)(tt.rippleColor,xe.filledRatingColor)};
500
- ${(0,Q.setVariable)(ct.textColor,xe.emptyRatingColor)};
501
- ${(0,Q.setVariable)(ct.selectedTextColor,xe.filledRatingColor)};
501
+ ${(0,Q.setVariable)(lt.textColor,xe.emptyRatingColor)};
502
+ ${(0,Q.setVariable)(lt.selectedTextColor,xe.filledRatingColor)};
502
503
  }
503
504
 
504
505
  .ft-reader-feedback--rating .ft-reader-feedback--active {
@@ -525,28 +526,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
525
526
  [part="buttons-container"] {
526
527
  align-self: flex-end;
527
528
  }
528
- `;var $s=g(R());var Ji=globalThis,To=Ji.trustedTypes,gs=To?To.createPolicy("lit-html",{createHTML:e=>e}):void 0,Cs="$lit$",ze=`lit$${(Math.random()+"").slice(9)}$`,ws="?"+ze,Fd=`<${ws}>`,fr=document,_o=()=>fr.createComment(""),eo=e=>e===null||typeof e!="object"&&typeof e!="function",Es=Array.isArray,Ud=e=>Es(e)||typeof e?.[Symbol.iterator]=="function",Ki=`[
529
- \f\r]`,to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bs=/-->/g,vs=/>/g,dr=RegExp(`>|${Ki}(?:([^\\s"'>=/]+)(${Ki}*=${Ki}*(?:[^
530
- \f\r"'\`<>=]|("|')|))|$)`,"g"),xs=/'/g,Ss=/"/g,As=/^(?:script|style|textarea|title)$/i,Rs=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Is=Rs(1),Ns=Rs(2),ro=Symbol.for("lit-noChange"),bt=Symbol.for("lit-nothing"),Os=new WeakMap,pr=fr.createTreeWalker(fr,129);function Ts(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return gs!==void 0?gs.createHTML(t):t}var Wd=(e,t)=>{let o=e.length-1,i=[],n,a=t===2?"<svg>":"",s=to;for(let l=0;l<o;l++){let f=e[l],p,h,m=-1,b=0;for(;b<f.length&&(s.lastIndex=b,h=s.exec(f),h!==null);)b=s.lastIndex,s===to?h[1]==="!--"?s=bs:h[1]!==void 0?s=vs:h[2]!==void 0?(As.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=dr):h[3]!==void 0&&(s=dr):s===dr?h[0]===">"?(s=n??to,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?dr:h[3]==='"'?Ss:xs):s===Ss||s===xs?s=dr:s===bs||s===vs?s=to:(s=dr,n=void 0);let x=s===dr&&e[l+1].startsWith("/>")?" ":"";a+=s===to?f+Fd:m>=0?(i.push(p),f.slice(0,m)+Cs+f.slice(m)+ze+x):f+ze+(m===-2?l:x)}return[Ts(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),i]},oo=class e{constructor({strings:t,_$litType$:o},i){let n;this.parts=[];let a=0,s=0,l=t.length-1,f=this.parts,[p,h]=Wd(t,o);if(this.el=e.createElement(p,i),pr.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=pr.nextNode())!==null&&f.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(Cs)){let b=h[s++],x=n.getAttribute(m).split(ze),S=/([.?@])?(.*)/.exec(b);f.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?qi:S[1]==="?"?Yi:S[1]==="@"?Xi:Lr}),n.removeAttribute(m)}else m.startsWith(ze)&&(f.push({type:6,index:a}),n.removeAttribute(m));if(As.test(n.tagName)){let m=n.textContent.split(ze),b=m.length-1;if(b>0){n.textContent=To?To.emptyScript:"";for(let x=0;x<b;x++)n.append(m[x],_o()),pr.nextNode(),f.push({type:2,index:++a});n.append(m[b],_o())}}}else if(n.nodeType===8)if(n.data===ws)f.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(ze,m+1))!==-1;)f.push({type:7,index:a}),m+=ze.length-1}a++}}static createElement(t,o){let i=fr.createElement("template");return i.innerHTML=t,i}};function kr(e,t,o=e,i){if(t===ro)return t;let n=i!==void 0?o._$Co?.[i]:o._$Cl,a=eo(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,o,i)),i!==void 0?(o._$Co??=[])[i]=n:o._$Cl=n),n!==void 0&&(t=kr(e,n._$AS(e,t.values),n,i)),t}var Zi=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:i}=this._$AD,n=(t?.creationScope??fr).importNode(o,!0);pr.currentNode=n;let a=pr.nextNode(),s=0,l=0,f=i[0];for(;f!==void 0;){if(s===f.index){let p;f.type===2?p=new ko(a,a.nextSibling,this,t):f.type===1?p=new f.ctor(a,f.name,f.strings,this,t):f.type===6&&(p=new Qi(a,this,t)),this._$AV.push(p),f=i[++l]}s!==f?.index&&(a=pr.nextNode(),s++)}return pr.currentNode=fr,n}p(t){let o=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,o),o+=i.strings.length-2):i._$AI(t[o])),o++}},ko=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,i,n){this.type=2,this._$AH=bt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=kr(this,t,o),eo(t)?t===bt||t==null||t===""?(this._$AH!==bt&&this._$AR(),this._$AH=bt):t!==this._$AH&&t!==ro&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ud(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==bt&&eo(this._$AH)?this._$AA.nextSibling.data=t:this.$(fr.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=oo.createElement(Ts(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(o);else{let a=new Zi(n,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Os.get(t.strings);return o===void 0&&Os.set(t.strings,o=new oo(t)),o}T(t){Es(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,i,n=0;for(let a of t)n===o.length?o.push(i=new e(this.k(_o()),this.k(_o()),this,this.options)):i=o[n],i._$AI(a),n++;n<o.length&&(this._$AR(i&&i._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Lr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,i,n,a){this.type=1,this._$AH=bt,this._$AN=void 0,this.element=t,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=bt}_$AI(t,o=this,i,n){let a=this.strings,s=!1;if(a===void 0)t=kr(this,t,o,0),s=!eo(t)||t!==this._$AH&&t!==ro,s&&(this._$AH=t);else{let l=t,f,p;for(t=a[0],f=0;f<a.length-1;f++)p=kr(this,l[i+f],o,f),p===ro&&(p=this._$AH[f]),s||=!eo(p)||p!==this._$AH[f],p===bt?t=bt:t!==bt&&(t+=(p??"")+a[f+1]),this._$AH[f]=p}s&&!n&&this.O(t)}O(t){t===bt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},qi=class extends Lr{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===bt?void 0:t}},Yi=class extends Lr{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==bt)}},Xi=class extends Lr{constructor(t,o,i,n,a){super(t,o,i,n,a),this.type=5}_$AI(t,o=this){if((t=kr(this,t,o,0)??bt)===ro)return;let i=this._$AH,n=t===bt&&i!==bt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==bt&&(i===bt||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)}},Qi=class{constructor(t,o,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){kr(this,t)}};var zd=Ji.litHtmlPolyfillSupport;zd?.(oo,ko),(Ji.litHtmlVersions??=[]).push("3.1.0");var ks=Symbol.for(""),Hd=e=>{if(e?.r===ks)return e?._$litStatic$},tn=e=>({_$litStatic$:e,r:ks});var _s=new Map,Ls=e=>(t,...o)=>{let i=o.length,n,a,s=[],l=[],f,p=0,h=!1;for(;p<i;){for(f=t[p];p<i&&(a=o[p],(n=Hd(a))!==void 0);)f+=n+t[++p],h=!0;p!==i&&l.push(a),s.push(f),p++}if(p===i&&s.push(t[i]),h){let m=s.join("$$lit$$");(t=_s.get(m))===void 0&&(s.raw=s,_s.set(m,t=s)),o=l}return e(t,...o)},en=Ls(Is),Rm=Ls(Ns);var rn=g(Z()),Ds=g(R());var He;(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"})(He||(He={}));var Ps=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},pt=class extends Ds.FtLitElement{constructor(){super(...arguments),this.variant=He.body1}render(){return this.element?en`
531
- <${tn(this.element)}
529
+ `;var Ms=g(R());var tn=globalThis,To=tn.trustedTypes,vs=To?To.createPolicy("lit-html",{createHTML:e=>e}):void 0,Es="$lit$",ze=`lit$${(Math.random()+"").slice(9)}$`,As="?"+ze,Ud=`<${As}>`,fr=document,_o=()=>fr.createComment(""),eo=e=>e===null||typeof e!="object"&&typeof e!="function",Rs=Array.isArray,Wd=e=>Rs(e)||typeof e?.[Symbol.iterator]=="function",Zi=`[
530
+ \f\r]`,to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xs=/-->/g,Ss=/>/g,pr=RegExp(`>|${Zi}(?:([^\\s"'>=/]+)(${Zi}*=${Zi}*(?:[^
531
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Os=/'/g,Cs=/"/g,Is=/^(?:script|style|textarea|title)$/i,Ns=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ts=Ns(1),_s=Ns(2),ro=Symbol.for("lit-noChange"),bt=Symbol.for("lit-nothing"),ws=new WeakMap,ur=fr.createTreeWalker(fr,129);function ks(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return vs!==void 0?vs.createHTML(t):t}var zd=(e,t)=>{let o=e.length-1,i=[],n,a=t===2?"<svg>":"",s=to;for(let l=0;l<o;l++){let u=e[l],p,h,m=-1,b=0;for(;b<u.length&&(s.lastIndex=b,h=s.exec(u),h!==null);)b=s.lastIndex,s===to?h[1]==="!--"?s=xs:h[1]!==void 0?s=Ss:h[2]!==void 0?(Is.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=pr):h[3]!==void 0&&(s=pr):s===pr?h[0]===">"?(s=n??to,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?pr:h[3]==='"'?Cs:Os):s===Cs||s===Os?s=pr:s===xs||s===Ss?s=to:(s=pr,n=void 0);let x=s===pr&&e[l+1].startsWith("/>")?" ":"";a+=s===to?u+Ud:m>=0?(i.push(p),u.slice(0,m)+Es+u.slice(m)+ze+x):u+ze+(m===-2?l:x)}return[ks(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),i]},oo=class e{constructor({strings:t,_$litType$:o},i){let n;this.parts=[];let a=0,s=0,l=t.length-1,u=this.parts,[p,h]=zd(t,o);if(this.el=e.createElement(p,i),ur.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(n=ur.nextNode())!==null&&u.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let m of n.getAttributeNames())if(m.endsWith(Es)){let b=h[s++],x=n.getAttribute(m).split(ze),S=/([.?@])?(.*)/.exec(b);u.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?Yi:S[1]==="?"?Xi:S[1]==="@"?Qi:Pr}),n.removeAttribute(m)}else m.startsWith(ze)&&(u.push({type:6,index:a}),n.removeAttribute(m));if(Is.test(n.tagName)){let m=n.textContent.split(ze),b=m.length-1;if(b>0){n.textContent=To?To.emptyScript:"";for(let x=0;x<b;x++)n.append(m[x],_o()),ur.nextNode(),u.push({type:2,index:++a});n.append(m[b],_o())}}}else if(n.nodeType===8)if(n.data===As)u.push({type:2,index:a});else{let m=-1;for(;(m=n.data.indexOf(ze,m+1))!==-1;)u.push({type:7,index:a}),m+=ze.length-1}a++}}static createElement(t,o){let i=fr.createElement("template");return i.innerHTML=t,i}};function Lr(e,t,o=e,i){if(t===ro)return t;let n=i!==void 0?o._$Co?.[i]:o._$Cl,a=eo(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,o,i)),i!==void 0?(o._$Co??=[])[i]=n:o._$Cl=n),n!==void 0&&(t=Lr(e,n._$AS(e,t.values),n,i)),t}var qi=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:i}=this._$AD,n=(t?.creationScope??fr).importNode(o,!0);ur.currentNode=n;let a=ur.nextNode(),s=0,l=0,u=i[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new ko(a,a.nextSibling,this,t):u.type===1?p=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(p=new Ji(a,this,t)),this._$AV.push(p),u=i[++l]}s!==u?.index&&(a=ur.nextNode(),s++)}return ur.currentNode=fr,n}p(t){let o=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,o),o+=i.strings.length-2):i._$AI(t[o])),o++}},ko=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,i,n){this.type=2,this._$AH=bt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Lr(this,t,o),eo(t)?t===bt||t==null||t===""?(this._$AH!==bt&&this._$AR(),this._$AH=bt):t!==this._$AH&&t!==ro&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Wd(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==bt&&eo(this._$AH)?this._$AA.nextSibling.data=t:this.$(fr.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=oo.createElement(ks(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(o);else{let a=new qi(n,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=ws.get(t.strings);return o===void 0&&ws.set(t.strings,o=new oo(t)),o}T(t){Rs(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,i,n=0;for(let a of t)n===o.length?o.push(i=new e(this.k(_o()),this.k(_o()),this,this.options)):i=o[n],i._$AI(a),n++;n<o.length&&(this._$AR(i&&i._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Pr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,i,n,a){this.type=1,this._$AH=bt,this._$AN=void 0,this.element=t,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=bt}_$AI(t,o=this,i,n){let a=this.strings,s=!1;if(a===void 0)t=Lr(this,t,o,0),s=!eo(t)||t!==this._$AH&&t!==ro,s&&(this._$AH=t);else{let l=t,u,p;for(t=a[0],u=0;u<a.length-1;u++)p=Lr(this,l[i+u],o,u),p===ro&&(p=this._$AH[u]),s||=!eo(p)||p!==this._$AH[u],p===bt?t=bt:t!==bt&&(t+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!n&&this.O(t)}O(t){t===bt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Yi=class extends Pr{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===bt?void 0:t}},Xi=class extends Pr{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==bt)}},Qi=class extends Pr{constructor(t,o,i,n,a){super(t,o,i,n,a),this.type=5}_$AI(t,o=this){if((t=Lr(this,t,o,0)??bt)===ro)return;let i=this._$AH,n=t===bt&&i!==bt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==bt&&(i===bt||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)}},Ji=class{constructor(t,o,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Lr(this,t)}};var Hd=tn.litHtmlPolyfillSupport;Hd?.(oo,ko),(tn.litHtmlVersions??=[]).push("3.1.0");var Ps=Symbol.for(""),Vd=e=>{if(e?.r===Ps)return e?._$litStatic$},en=e=>({_$litStatic$:e,r:Ps});var Ls=new Map,$s=e=>(t,...o)=>{let i=o.length,n,a,s=[],l=[],u,p=0,h=!1;for(;p<i;){for(u=t[p];p<i&&(a=o[p],(n=Vd(a))!==void 0);)u+=n+t[++p],h=!0;p!==i&&l.push(a),s.push(u),p++}if(p===i&&s.push(t[i]),h){let m=s.join("$$lit$$");(t=Ls.get(m))===void 0&&(s.raw=s,Ls.set(m,t=s)),o=l}return e(t,...o)},rn=$s(Ts),Tm=$s(_s);var on=g(Z()),Bs=g(R());var He;(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"})(He||(He={}));var Ds=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ft=class extends Bs.FtLitElement{constructor(){super(...arguments),this.variant=He.body1}render(){return this.element?rn`
532
+ <${en(this.element)}
532
533
  part="text"
533
534
  class="ft-typography ft-typography--${this.variant}">
534
535
  <slot></slot>
535
- </${tn(this.element)}>
536
- `:en`
536
+ </${en(this.element)}>
537
+ `:rn`
537
538
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
538
- `}};pt.styles=[Xa,Qa,Ja,ts,_r,es,No,rs,os,is,ns,...as];Ps([(0,rn.property)()],pt.prototype,"element",void 0);Ps([(0,rn.property)()],pt.prototype,"variant",void 0);(0,$s.customElement)("ft-typography")(pt);var gn=g(R());var Wo=g(B()),Oe=g(Z()),Sc=g(Ve()),ke=g(R());var Mr=g(B()),Kt=g(Z()),Fr=g(R());var Us=g(R());var Ms=g(B()),Rt=g(Z()),Fs=g(Ve()),io=g(R());var Vt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},G=class extends io.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 io.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 io.Debouncer(10),this.moveRipple=t=>{var o,i;let{x:n,y:a}=this.getCoordinates(t),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=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 Ms.html`
539
+ `}};ft.styles=[Ja,ts,es,rs,kr,os,No,is,ns,as,ss,...cs];Ds([(0,on.property)()],ft.prototype,"element",void 0);Ds([(0,on.property)()],ft.prototype,"variant",void 0);(0,Ms.customElement)("ft-typography")(ft);var bn=g(R());var Wo=g(B()),Oe=g(Z()),Cc=g(Ve()),ke=g(R());var Fr=g(B()),Zt=g(Z()),Ur=g(R());var zs=g(R());var Us=g(B()),It=g(Z()),Ws=g(Ve()),io=g(R());var Gt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},G=class extends io.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 io.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 io.Debouncer(10),this.moveRipple=t=>{var o,i;let{x:n,y:a}=this.getCoordinates(t),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=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 Us.html`
539
540
  <style>
540
541
  .ft-ripple .ft-ripple--effect {
541
542
  left: ${this.originX}px;
542
543
  top: ${this.originY}px;
543
544
  }
544
545
  </style>
545
- <div class="${(0,Fs.classMap)(t)}">
546
+ <div class="${(0,Ws.classMap)(t)}">
546
547
  <div class="ft-ripple--background"></div>
547
548
  <div class="ft-ripple--effect"></div>
548
549
  </div>
549
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,i;super.update(t),t.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 t,o;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((o=this.target)!==null&&o!==void 0?o:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>f=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(f)},i=o("mouseup","contextmenu"),n=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},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 o=t,i=t,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(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};G.elementDefinitions={};G.styles=Ca;Vt([(0,Rt.property)({type:Boolean})],G.prototype,"primary",void 0);Vt([(0,Rt.property)({type:Boolean})],G.prototype,"secondary",void 0);Vt([(0,Rt.property)({type:Boolean})],G.prototype,"unbounded",void 0);Vt([(0,Rt.property)({type:Boolean})],G.prototype,"activated",void 0);Vt([(0,Rt.property)({type:Boolean})],G.prototype,"selected",void 0);Vt([(0,Rt.property)({type:Boolean})],G.prototype,"disabled",void 0);Vt([(0,Rt.state)()],G.prototype,"hovered",void 0);Vt([(0,Rt.state)()],G.prototype,"focused",void 0);Vt([(0,Rt.state)()],G.prototype,"pressed",void 0);Vt([(0,Rt.state)()],G.prototype,"rippling",void 0);Vt([(0,Rt.state)()],G.prototype,"originX",void 0);Vt([(0,Rt.state)()],G.prototype,"originY",void 0);Vt([(0,Rt.query)(".ft-ripple")],G.prototype,"ripple",void 0);Vt([(0,Rt.query)(".ft-ripple--effect")],G.prototype,"rippleEffect",void 0);(0,Us.customElement)("ft-ripple")(G);var xc=g(Ve());var fc=g(R());var pc=g(B()),St=g(Z()),po=g(R());var Ws=g(B()),Ie=g(R()),Pr={distance:Ie.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ie.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ie.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ie.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ie.FtCssVariableFactory.external(Ie.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ie.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},zs=Ws.css`
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 o,i;super.update(t),t.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 t,o;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((o=this.target)!==null&&o!==void 0?o:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},i=o("mouseup","contextmenu"),n=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},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 o=t,i=t,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(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};G.elementDefinitions={};G.styles=Ea;Gt([(0,It.property)({type:Boolean})],G.prototype,"primary",void 0);Gt([(0,It.property)({type:Boolean})],G.prototype,"secondary",void 0);Gt([(0,It.property)({type:Boolean})],G.prototype,"unbounded",void 0);Gt([(0,It.property)({type:Boolean})],G.prototype,"activated",void 0);Gt([(0,It.property)({type:Boolean})],G.prototype,"selected",void 0);Gt([(0,It.property)({type:Boolean})],G.prototype,"disabled",void 0);Gt([(0,It.state)()],G.prototype,"hovered",void 0);Gt([(0,It.state)()],G.prototype,"focused",void 0);Gt([(0,It.state)()],G.prototype,"pressed",void 0);Gt([(0,It.state)()],G.prototype,"rippling",void 0);Gt([(0,It.state)()],G.prototype,"originX",void 0);Gt([(0,It.state)()],G.prototype,"originY",void 0);Gt([(0,It.query)(".ft-ripple")],G.prototype,"ripple",void 0);Gt([(0,It.query)(".ft-ripple--effect")],G.prototype,"rippleEffect",void 0);(0,zs.customElement)("ft-ripple")(G);var Oc=g(Ve());var hc=g(R());var fc=g(B()),St=g(Z()),po=g(R());var Hs=g(B()),Ie=g(R()),$r={distance:Ie.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ie.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ie.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ie.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ie.FtCssVariableFactory.external(Ie.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ie.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Vs=Hs.css`
550
551
  .ft-tooltip--container {
551
552
  display: block;
552
553
  }
@@ -561,21 +562,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
561
562
  box-sizing: border-box;
562
563
  overflow: hidden;
563
564
  width: max-content;
564
- max-width: ${Pr.maxWidth};
565
+ max-width: ${$r.maxWidth};
565
566
  text-align: center;
566
- padding: ${Pr.distance};
567
- z-index: ${Pr.zIndex};
567
+ padding: ${$r.distance};
568
+ z-index: ${$r.zIndex};
568
569
  }
569
570
 
570
571
  .ft-tooltip--content {
571
572
  padding: 4px 8px;
572
- border-radius: ${Pr.borderRadiusS};
573
- background-color: ${Pr.backgroundColor};
574
- color: ${Pr.color};
573
+ border-radius: ${$r.borderRadiusS};
574
+ background-color: ${$r.backgroundColor};
575
+ color: ${$r.color};
575
576
  position: relative;
576
577
  word-break: break-word;
577
578
  }
578
- `;var Vs=["top","right","bottom","left"],Hs=["start","end"],nn=Vs.reduce((e,t)=>e.concat(t,t+"-"+Hs[0],t+"-"+Hs[1]),[]),no=Math.min,Ge=Math.max,ao=Math.round;var Ne=e=>({x:e,y:e}),Vd={left:"right",right:"left",bottom:"top",top:"bottom"},Gd={start:"end",end:"start"};function an(e,t,o){return Ge(e,no(t,o))}function Lo(e,t){return typeof e=="function"?e(t):e}function Dr(e){return e.split("-")[0]}function je(e){return e.split("-")[1]}function sn(e){return e==="x"?"y":"x"}function cn(e){return e==="y"?"height":"width"}function Po(e){return["top","bottom"].includes(Dr(e))?"y":"x"}function ln(e){return sn(Po(e))}function Gs(e,t,o){o===void 0&&(o=!1);let i=je(e),n=ln(e),a=cn(n),s=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=on(s)),[s,on(s)]}function js(e){return e.replace(/start|end/g,t=>Gd[t])}function on(e){return e.replace(/left|right|bottom|top/g,t=>Vd[t])}function jd(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ks(e){return typeof e!="number"?jd(e):{top:e,right:e,bottom:e,left:e}}function ur(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Zs(e,t,o){let{reference:i,floating:n}=e,a=Po(t),s=ln(t),l=cn(s),f=Dr(t),p=a==="y",h=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,b=i[l]/2-n[l]/2,x;switch(f){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:m};break;case"left":x={x:i.x-n.width,y:m};break;default:x={x:i.x,y:i.y}}switch(je(t)){case"start":x[s]-=b*(o&&p?-1:1);break;case"end":x[s]+=b*(o&&p?-1:1);break}return x}var qs=async(e,t,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:n}),{x:h,y:m}=Zs(p,i,f),b=i,x={},S=0;for(let O=0;O<l.length;O++){let{name:_,fn:I}=l[O],{x:N,y:$,data:F,reset:W}=await I({x:h,y:m,initialPlacement:i,placement:b,strategy:n,middlewareData:x,rects:p,platform:s,elements:{reference:e,floating:t}});if(h=N??h,m=$??m,x={...x,[_]:{...x[_],...F}},W&&S<=50){S++,typeof W=="object"&&(W.placement&&(b=W.placement),W.rects&&(p=W.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:n}):W.rects),{x:h,y:m}=Zs(p,b,f)),O=-1;continue}}return{x:h,y:m,placement:b,strategy:n,middlewareData:x}};async function dn(e,t){var o;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:f}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:b=!1,padding:x=0}=Lo(t,e),S=Ks(x),_=l[b?m==="floating"?"reference":"floating":m],I=ur(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(_)))==null||o?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:f})),N=m==="floating"?{...s.floating,x:i,y:n}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),F=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},W=ur(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:$,strategy:f}):N);return{top:(I.top-W.top+S.top)/F.y,bottom:(W.bottom-I.bottom+S.bottom)/F.y,left:(I.left-W.left+S.left)/F.x,right:(W.right-I.right+S.right)/F.x}}function Kd(e,t,o){return(e?[...o.filter(n=>je(n)===e),...o.filter(n=>je(n)!==e)]:o.filter(n=>Dr(n)===n)).filter(n=>e?je(n)===e||(t?js(n)!==n:!1):!0)}var pn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,i,n;let{rects:a,middlewareData:s,placement:l,platform:f,elements:p}=t,{crossAxis:h=!1,alignment:m,allowedPlacements:b=nn,autoAlignment:x=!0,...S}=Lo(e,t),O=m!==void 0||b===nn?Kd(m||null,x,b):b,_=await dn(t,S),I=((o=s.autoPlacement)==null?void 0:o.index)||0,N=O[I];if(N==null)return{};let $=Gs(N,a,await(f.isRTL==null?void 0:f.isRTL(p.floating)));if(l!==N)return{reset:{placement:O[0]}};let F=[_[Dr(N)],_[$[0]],_[$[1]]],W=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:N,overflows:F}],Ht=O[I+1];if(Ht)return{data:{index:I+1,overflows:W},reset:{placement:Ht}};let ge=W.map(Et=>{let y=je(Et.placement);return[Et.placement,y&&h?Et.overflows.slice(0,2).reduce((v,L)=>v+L,0):Et.overflows[0],Et.overflows]}).sort((Et,y)=>Et[1]-y[1]),be=((n=ge.filter(Et=>Et[2].slice(0,je(Et[0])?2:3).every(y=>y<=0))[0])==null?void 0:n[0])||ge[0][0];return be!==l?{data:{index:I+1,overflows:W},reset:{placement:be}}:{}}}};var fn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:I,y:N}=_;return{x:I,y:N}}},...f}=Lo(e,t),p={x:o,y:i},h=await dn(t,f),m=Po(Dr(n)),b=sn(m),x=p[b],S=p[m];if(a){let _=b==="y"?"top":"left",I=b==="y"?"bottom":"right",N=x+h[_],$=x-h[I];x=an(N,x,$)}if(s){let _=m==="y"?"top":"left",I=m==="y"?"bottom":"right",N=S+h[_],$=S-h[I];S=an(N,S,$)}let O=l.fn({...t,[b]:x,[m]:S});return{...O,data:{x:O.x-o,y:O.y-i}}}}};function Te(e){return Xs(e)?(e.nodeName||"").toLowerCase():"#document"}function Gt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _e(e){var t;return(t=(Xs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xs(e){return e instanceof Node||e instanceof Gt(e).Node}function Se(e){return e instanceof Element||e instanceof Gt(e).Element}function le(e){return e instanceof HTMLElement||e instanceof Gt(e).HTMLElement}function Ys(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Gt(e).ShadowRoot}function $r(e){let{overflow:t,overflowX:o,overflowY:i,display:n}=Jt(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&!["inline","contents"].includes(n)}function Qs(e){return["table","td","th"].includes(Te(e))}function $o(e){let t=Bo(),o=Jt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function Js(e){let t=hr(e);for(;le(t)&&!so(t);){if($o(t))return t;t=hr(t)}return null}function Bo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function so(e){return["html","body","#document"].includes(Te(e))}function Jt(e){return Gt(e).getComputedStyle(e)}function co(e){return Se(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function hr(e){if(Te(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ys(e)&&e.host||_e(e);return Ys(t)?t.host:t}function tc(e){let t=hr(e);return so(t)?e.ownerDocument?e.ownerDocument.body:e.body:le(t)&&$r(t)?t:tc(t)}function Do(e,t,o){var i;t===void 0&&(t=[]),o===void 0&&(o=!0);let n=tc(e),a=n===((i=e.ownerDocument)==null?void 0:i.body),s=Gt(n);return a?t.concat(s,s.visualViewport||[],$r(n)?n:[],s.frameElement&&o?Do(s.frameElement):[]):t.concat(n,Do(n,[],o))}function oc(e){let t=Jt(e),o=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=le(e),a=n?e.offsetWidth:o,s=n?e.offsetHeight:i,l=ao(o)!==a||ao(i)!==s;return l&&(o=a,i=s),{width:o,height:i,$:l}}function ic(e){return Se(e)?e:e.contextElement}function Br(e){let t=ic(e);if(!le(t))return Ne(1);let o=t.getBoundingClientRect(),{width:i,height:n,$:a}=oc(t),s=(a?ao(o.width):o.width)/i,l=(a?ao(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Yd=Ne(0);function nc(e){let t=Gt(e);return!Bo()||!t.visualViewport?Yd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Xd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Gt(e)?!1:t}function lo(e,t,o,i){t===void 0&&(t=!1),o===void 0&&(o=!1);let n=e.getBoundingClientRect(),a=ic(e),s=Ne(1);t&&(i?Se(i)&&(s=Br(i)):s=Br(e));let l=Xd(a,o,i)?nc(a):Ne(0),f=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,h=n.width/s.x,m=n.height/s.y;if(a){let b=Gt(a),x=i&&Se(i)?Gt(i):i,S=b.frameElement;for(;S&&i&&x!==b;){let O=Br(S),_=S.getBoundingClientRect(),I=Jt(S),N=_.left+(S.clientLeft+parseFloat(I.paddingLeft))*O.x,$=_.top+(S.clientTop+parseFloat(I.paddingTop))*O.y;f*=O.x,p*=O.y,h*=O.x,m*=O.y,f+=N,p+=$,S=Gt(S).frameElement}}return ur({width:h,height:m,x:f,y:p})}function Qd(e){let{rect:t,offsetParent:o,strategy:i}=e,n=le(o),a=_e(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Ne(1),f=Ne(0);if((n||!n&&i!=="fixed")&&((Te(o)!=="body"||$r(a))&&(s=co(o)),le(o))){let p=lo(o);l=Br(o),f.x=p.x+o.clientLeft,f.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+f.x,y:t.y*l.y-s.scrollTop*l.y+f.y}}function Jd(e){return Array.from(e.getClientRects())}function ac(e){return lo(_e(e)).left+co(e).scrollLeft}function tp(e){let t=_e(e),o=co(e),i=e.ownerDocument.body,n=Ge(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=Ge(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-o.scrollLeft+ac(e),l=-o.scrollTop;return Jt(i).direction==="rtl"&&(s+=Ge(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function ep(e,t){let o=Gt(e),i=_e(e),n=o.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,f=0;if(n){a=n.width,s=n.height;let p=Bo();(!p||p&&t==="fixed")&&(l=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:l,y:f}}function rp(e,t){let o=lo(e,!0,t==="fixed"),i=o.top+e.clientTop,n=o.left+e.clientLeft,a=le(e)?Br(e):Ne(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,f=n*a.x,p=i*a.y;return{width:s,height:l,x:f,y:p}}function ec(e,t,o){let i;if(t==="viewport")i=ep(e,o);else if(t==="document")i=tp(_e(e));else if(Se(t))i=rp(t,o);else{let n=nc(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return ur(i)}function sc(e,t){let o=hr(e);return o===t||!Se(o)||so(o)?!1:Jt(o).position==="fixed"||sc(o,t)}function op(e,t){let o=t.get(e);if(o)return o;let i=Do(e,[],!1).filter(l=>Se(l)&&Te(l)!=="body"),n=null,a=Jt(e).position==="fixed",s=a?hr(e):e;for(;Se(s)&&!so(s);){let l=Jt(s),f=$o(s);!f&&l.position==="fixed"&&(n=null),(a?!f&&!n:!f&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||$r(s)&&!f&&sc(e,s))?i=i.filter(h=>h!==s):n=l,s=hr(s)}return t.set(e,i),i}function ip(e){let{element:t,boundary:o,rootBoundary:i,strategy:n}=e,s=[...o==="clippingAncestors"?op(t,this._c):[].concat(o),i],l=s[0],f=s.reduce((p,h)=>{let m=ec(t,h,n);return p.top=Ge(m.top,p.top),p.right=no(m.right,p.right),p.bottom=no(m.bottom,p.bottom),p.left=Ge(m.left,p.left),p},ec(t,l,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function np(e){return oc(e)}function ap(e,t,o){let i=le(t),n=_e(t),a=o==="fixed",s=lo(e,!0,a,t),l={scrollLeft:0,scrollTop:0},f=Ne(0);if(i||!i&&!a)if((Te(t)!=="body"||$r(n))&&(l=co(t)),i){let p=lo(t,!0,a,t);f.x=p.x+t.clientLeft,f.y=p.y+t.clientTop}else n&&(f.x=ac(n));return{x:s.left+l.scrollLeft-f.x,y:s.top+l.scrollTop-f.y,width:s.width,height:s.height}}function rc(e,t){return!le(e)||Jt(e).position==="fixed"?null:t?t(e):e.offsetParent}function cc(e,t){let o=Gt(e);if(!le(e))return o;let i=rc(e,t);for(;i&&Qs(i)&&Jt(i).position==="static";)i=rc(i,t);return i&&(Te(i)==="html"||Te(i)==="body"&&Jt(i).position==="static"&&!$o(i))?o:i||Js(e)||o}var sp=async function(e){let{reference:t,floating:o,strategy:i}=e,n=this.getOffsetParent||cc,a=this.getDimensions;return{reference:ap(t,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function cp(e){return Jt(e).direction==="rtl"}var Mo={convertOffsetParentRelativeRectToViewportRelativeRect:Qd,getDocumentElement:_e,getClippingRect:ip,getOffsetParent:cc,getElementRects:sp,getClientRects:Jd,getDimensions:np,getScale:Br,isElement:Se,isRTL:cp};var lc=(e,t,o)=>{let i=new Map,n={platform:Mo,...o},a={...n.platform,_c:i};return qs(e,t,{...n,platform:a})};function dc(e){return lp(e)}function un(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function lp(e){for(let t=e;t;t=un(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=un(e);t;t=un(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Fo(e,t,o){return lc(e,t,{platform:{...Mo,getOffsetParent:i=>Mo.getOffsetParent(i,dc)},middleware:[fn({crossAxis:!0}),pn({allowedPlacements:[o]})]})}var jt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ot=class extends po.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 po.Debouncer,this.revealDebouncer=new po.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return pc.html`
579
+ `;var js=["top","right","bottom","left"],Gs=["start","end"],an=js.reduce((e,t)=>e.concat(t,t+"-"+Gs[0],t+"-"+Gs[1]),[]),no=Math.min,Ge=Math.max,ao=Math.round;var Ne=e=>({x:e,y:e}),Gd={left:"right",right:"left",bottom:"top",top:"bottom"},jd={start:"end",end:"start"};function sn(e,t,o){return Ge(e,no(t,o))}function Lo(e,t){return typeof e=="function"?e(t):e}function Dr(e){return e.split("-")[0]}function je(e){return e.split("-")[1]}function cn(e){return e==="x"?"y":"x"}function ln(e){return e==="y"?"height":"width"}function Po(e){return["top","bottom"].includes(Dr(e))?"y":"x"}function dn(e){return cn(Po(e))}function Ks(e,t,o){o===void 0&&(o=!1);let i=je(e),n=dn(e),a=ln(n),s=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=nn(s)),[s,nn(s)]}function Zs(e){return e.replace(/start|end/g,t=>jd[t])}function nn(e){return e.replace(/left|right|bottom|top/g,t=>Gd[t])}function Kd(e){return{top:0,right:0,bottom:0,left:0,...e}}function qs(e){return typeof e!="number"?Kd(e):{top:e,right:e,bottom:e,left:e}}function hr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ys(e,t,o){let{reference:i,floating:n}=e,a=Po(t),s=dn(t),l=ln(s),u=Dr(t),p=a==="y",h=i.x+i.width/2-n.width/2,m=i.y+i.height/2-n.height/2,b=i[l]/2-n[l]/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:m};break;case"left":x={x:i.x-n.width,y:m};break;default:x={x:i.x,y:i.y}}switch(je(t)){case"start":x[s]-=b*(o&&p?-1:1);break;case"end":x[s]+=b*(o&&p?-1:1);break}return x}var Xs=async(e,t,o)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=o,l=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:m}=Ys(p,i,u),b=i,x={},S=0;for(let O=0;O<l.length;O++){let{name:_,fn:I}=l[O],{x:T,y:D,data:F,reset:W}=await I({x:h,y:m,initialPlacement:i,placement:b,strategy:n,middlewareData:x,rects:p,platform:s,elements:{reference:e,floating:t}});if(h=T??h,m=D??m,x={...x,[_]:{...x[_],...F}},W&&S<=50){S++,typeof W=="object"&&(W.placement&&(b=W.placement),W.rects&&(p=W.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:n}):W.rects),{x:h,y:m}=Ys(p,b,u)),O=-1;continue}}return{x:h,y:m,placement:b,strategy:n,middlewareData:x}};async function pn(e,t){var o;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:b=!1,padding:x=0}=Lo(t,e),S=qs(x),_=l[b?m==="floating"?"reference":"floating":m],I=hr(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(_)))==null||o?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),T=m==="floating"?{...s.floating,x:i,y:n}:s.reference,D=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),F=await(a.isElement==null?void 0:a.isElement(D))?await(a.getScale==null?void 0:a.getScale(D))||{x:1,y:1}:{x:1,y:1},W=hr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:D,strategy:u}):T);return{top:(I.top-W.top+S.top)/F.y,bottom:(W.bottom-I.bottom+S.bottom)/F.y,left:(I.left-W.left+S.left)/F.x,right:(W.right-I.right+S.right)/F.x}}function Zd(e,t,o){return(e?[...o.filter(n=>je(n)===e),...o.filter(n=>je(n)!==e)]:o.filter(n=>Dr(n)===n)).filter(n=>e?je(n)===e||(t?Zs(n)!==n:!1):!0)}var un=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,i,n;let{rects:a,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:m,allowedPlacements:b=an,autoAlignment:x=!0,...S}=Lo(e,t),O=m!==void 0||b===an?Zd(m||null,x,b):b,_=await pn(t,S),I=((o=s.autoPlacement)==null?void 0:o.index)||0,T=O[I];if(T==null)return{};let D=Ks(T,a,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(l!==T)return{reset:{placement:O[0]}};let F=[_[Dr(T)],_[D[0]],_[D[1]]],W=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:T,overflows:F}],Vt=O[I+1];if(Vt)return{data:{index:I+1,overflows:W},reset:{placement:Vt}};let ge=W.map(At=>{let y=je(At.placement);return[At.placement,y&&h?At.overflows.slice(0,2).reduce((v,L)=>v+L,0):At.overflows[0],At.overflows]}).sort((At,y)=>At[1]-y[1]),be=((n=ge.filter(At=>At[2].slice(0,je(At[0])?2:3).every(y=>y<=0))[0])==null?void 0:n[0])||ge[0][0];return be!==l?{data:{index:I+1,overflows:W},reset:{placement:be}}:{}}}};var fn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:I,y:T}=_;return{x:I,y:T}}},...u}=Lo(e,t),p={x:o,y:i},h=await pn(t,u),m=Po(Dr(n)),b=cn(m),x=p[b],S=p[m];if(a){let _=b==="y"?"top":"left",I=b==="y"?"bottom":"right",T=x+h[_],D=x-h[I];x=sn(T,x,D)}if(s){let _=m==="y"?"top":"left",I=m==="y"?"bottom":"right",T=S+h[_],D=S-h[I];S=sn(T,S,D)}let O=l.fn({...t,[b]:x,[m]:S});return{...O,data:{x:O.x-o,y:O.y-i}}}}};function Te(e){return Js(e)?(e.nodeName||"").toLowerCase():"#document"}function jt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _e(e){var t;return(t=(Js(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Js(e){return e instanceof Node||e instanceof jt(e).Node}function Se(e){return e instanceof Element||e instanceof jt(e).Element}function le(e){return e instanceof HTMLElement||e instanceof jt(e).HTMLElement}function Qs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jt(e).ShadowRoot}function Br(e){let{overflow:t,overflowX:o,overflowY:i,display:n}=te(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&!["inline","contents"].includes(n)}function tc(e){return["table","td","th"].includes(Te(e))}function Do(e){let t=Bo(),o=te(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function ec(e){let t=yr(e);for(;le(t)&&!so(t);){if(Do(t))return t;t=yr(t)}return null}function Bo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function so(e){return["html","body","#document"].includes(Te(e))}function te(e){return jt(e).getComputedStyle(e)}function co(e){return Se(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yr(e){if(Te(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Qs(e)&&e.host||_e(e);return Qs(t)?t.host:t}function rc(e){let t=yr(e);return so(t)?e.ownerDocument?e.ownerDocument.body:e.body:le(t)&&Br(t)?t:rc(t)}function $o(e,t,o){var i;t===void 0&&(t=[]),o===void 0&&(o=!0);let n=rc(e),a=n===((i=e.ownerDocument)==null?void 0:i.body),s=jt(n);return a?t.concat(s,s.visualViewport||[],Br(n)?n:[],s.frameElement&&o?$o(s.frameElement):[]):t.concat(n,$o(n,[],o))}function nc(e){let t=te(e),o=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=le(e),a=n?e.offsetWidth:o,s=n?e.offsetHeight:i,l=ao(o)!==a||ao(i)!==s;return l&&(o=a,i=s),{width:o,height:i,$:l}}function ac(e){return Se(e)?e:e.contextElement}function Mr(e){let t=ac(e);if(!le(t))return Ne(1);let o=t.getBoundingClientRect(),{width:i,height:n,$:a}=nc(t),s=(a?ao(o.width):o.width)/i,l=(a?ao(o.height):o.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Xd=Ne(0);function sc(e){let t=jt(e);return!Bo()||!t.visualViewport?Xd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==jt(e)?!1:t}function lo(e,t,o,i){t===void 0&&(t=!1),o===void 0&&(o=!1);let n=e.getBoundingClientRect(),a=ac(e),s=Ne(1);t&&(i?Se(i)&&(s=Mr(i)):s=Mr(e));let l=Qd(a,o,i)?sc(a):Ne(0),u=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,h=n.width/s.x,m=n.height/s.y;if(a){let b=jt(a),x=i&&Se(i)?jt(i):i,S=b.frameElement;for(;S&&i&&x!==b;){let O=Mr(S),_=S.getBoundingClientRect(),I=te(S),T=_.left+(S.clientLeft+parseFloat(I.paddingLeft))*O.x,D=_.top+(S.clientTop+parseFloat(I.paddingTop))*O.y;u*=O.x,p*=O.y,h*=O.x,m*=O.y,u+=T,p+=D,S=jt(S).frameElement}}return hr({width:h,height:m,x:u,y:p})}function Jd(e){let{rect:t,offsetParent:o,strategy:i}=e,n=le(o),a=_e(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Ne(1),u=Ne(0);if((n||!n&&i!=="fixed")&&((Te(o)!=="body"||Br(a))&&(s=co(o)),le(o))){let p=lo(o);l=Mr(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+u.x,y:t.y*l.y-s.scrollTop*l.y+u.y}}function tp(e){return Array.from(e.getClientRects())}function cc(e){return lo(_e(e)).left+co(e).scrollLeft}function ep(e){let t=_e(e),o=co(e),i=e.ownerDocument.body,n=Ge(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=Ge(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-o.scrollLeft+cc(e),l=-o.scrollTop;return te(i).direction==="rtl"&&(s+=Ge(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function rp(e,t){let o=jt(e),i=_e(e),n=o.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,u=0;if(n){a=n.width,s=n.height;let p=Bo();(!p||p&&t==="fixed")&&(l=n.offsetLeft,u=n.offsetTop)}return{width:a,height:s,x:l,y:u}}function op(e,t){let o=lo(e,!0,t==="fixed"),i=o.top+e.clientTop,n=o.left+e.clientLeft,a=le(e)?Mr(e):Ne(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,u=n*a.x,p=i*a.y;return{width:s,height:l,x:u,y:p}}function oc(e,t,o){let i;if(t==="viewport")i=rp(e,o);else if(t==="document")i=ep(_e(e));else if(Se(t))i=op(t,o);else{let n=sc(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return hr(i)}function lc(e,t){let o=yr(e);return o===t||!Se(o)||so(o)?!1:te(o).position==="fixed"||lc(o,t)}function ip(e,t){let o=t.get(e);if(o)return o;let i=$o(e,[],!1).filter(l=>Se(l)&&Te(l)!=="body"),n=null,a=te(e).position==="fixed",s=a?yr(e):e;for(;Se(s)&&!so(s);){let l=te(s),u=Do(s);!u&&l.position==="fixed"&&(n=null),(a?!u&&!n:!u&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Br(s)&&!u&&lc(e,s))?i=i.filter(h=>h!==s):n=l,s=yr(s)}return t.set(e,i),i}function np(e){let{element:t,boundary:o,rootBoundary:i,strategy:n}=e,s=[...o==="clippingAncestors"?ip(t,this._c):[].concat(o),i],l=s[0],u=s.reduce((p,h)=>{let m=oc(t,h,n);return p.top=Ge(m.top,p.top),p.right=no(m.right,p.right),p.bottom=no(m.bottom,p.bottom),p.left=Ge(m.left,p.left),p},oc(t,l,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ap(e){return nc(e)}function sp(e,t,o){let i=le(t),n=_e(t),a=o==="fixed",s=lo(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=Ne(0);if(i||!i&&!a)if((Te(t)!=="body"||Br(n))&&(l=co(t)),i){let p=lo(t,!0,a,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else n&&(u.x=cc(n));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function ic(e,t){return!le(e)||te(e).position==="fixed"?null:t?t(e):e.offsetParent}function dc(e,t){let o=jt(e);if(!le(e))return o;let i=ic(e,t);for(;i&&tc(i)&&te(i).position==="static";)i=ic(i,t);return i&&(Te(i)==="html"||Te(i)==="body"&&te(i).position==="static"&&!Do(i))?o:i||ec(e)||o}var cp=async function(e){let{reference:t,floating:o,strategy:i}=e,n=this.getOffsetParent||dc,a=this.getDimensions;return{reference:sp(t,await n(o),i),floating:{x:0,y:0,...await a(o)}}};function lp(e){return te(e).direction==="rtl"}var Mo={convertOffsetParentRelativeRectToViewportRelativeRect:Jd,getDocumentElement:_e,getClippingRect:np,getOffsetParent:dc,getElementRects:cp,getClientRects:tp,getDimensions:ap,getScale:Mr,isElement:Se,isRTL:lp};var pc=(e,t,o)=>{let i=new Map,n={platform:Mo,...o},a={...n.platform,_c:i};return Xs(e,t,{...n,platform:a})};function uc(e){return dp(e)}function hn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function dp(e){for(let t=e;t;t=hn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=hn(e);t;t=hn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Fo(e,t,o){return pc(e,t,{platform:{...Mo,getOffsetParent:i=>Mo.getOffsetParent(i,uc)},middleware:[fn({crossAxis:!0}),un({allowedPlacements:[o]})]})}var Kt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ot=class extends po.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 po.Debouncer,this.revealDebouncer=new po.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return fc.html`
579
580
  <div part="container"
580
581
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
581
582
  @mouseenter=${this.onHover}
@@ -593,12 +594,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
593
594
  </div>
594
595
  </div>
595
596
  </div>
596
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fo(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};ot.elementDefinitions={"ft-typography":pt};ot.styles=zs;jt([(0,St.property)()],ot.prototype,"text",void 0);jt([(0,St.property)({type:Boolean})],ot.prototype,"manual",void 0);jt([(0,St.property)({type:Boolean})],ot.prototype,"inline",void 0);jt([(0,St.property)({type:Number})],ot.prototype,"delay",void 0);jt([(0,St.property)()],ot.prototype,"position",void 0);jt([(0,St.queryAssignedNodes)()],ot.prototype,"slotNodes",void 0);jt([(0,St.query)(".ft-tooltip--container")],ot.prototype,"container",void 0);jt([(0,St.query)(".ft-tooltip")],ot.prototype,"tooltip",void 0);jt([(0,St.query)(".ft-tooltip--content")],ot.prototype,"tooltipContent",void 0);jt([(0,St.state)()],ot.prototype,"visible",void 0);jt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onTouch",null);jt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onHover",null);jt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onOut",null);jt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onClick",null);(0,fc.customElement)("ft-tooltip")(ot);var gc=g(R());var fo=g(B()),mr=g(Z()),yc=g(R()),mc=g(hc());var yr;(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.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(yr||(yr={}));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 Ig=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 Ng={[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 Uo=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},vt=class extends yc.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=fo.nothing}render(){let t=this.variant&&Object.values(_t).includes(this.variant)?this.variant:_t.fluid_topics,o=t!==_t.material||!!this.value;return fo.html`
597
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fo(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};ot.elementDefinitions={"ft-typography":ft};ot.styles=Vs;Kt([(0,St.property)()],ot.prototype,"text",void 0);Kt([(0,St.property)({type:Boolean})],ot.prototype,"manual",void 0);Kt([(0,St.property)({type:Boolean})],ot.prototype,"inline",void 0);Kt([(0,St.property)({type:Number})],ot.prototype,"delay",void 0);Kt([(0,St.property)()],ot.prototype,"position",void 0);Kt([(0,St.queryAssignedNodes)()],ot.prototype,"slotNodes",void 0);Kt([(0,St.query)(".ft-tooltip--container")],ot.prototype,"container",void 0);Kt([(0,St.query)(".ft-tooltip")],ot.prototype,"tooltip",void 0);Kt([(0,St.query)(".ft-tooltip--content")],ot.prototype,"tooltipContent",void 0);Kt([(0,St.state)()],ot.prototype,"visible",void 0);Kt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onTouch",null);Kt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onHover",null);Kt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onOut",null);Kt([(0,St.eventOptions)({passive:!0})],ot.prototype,"onClick",null);(0,hc.customElement)("ft-tooltip")(ot);var vc=g(R());var uo=g(B()),gr=g(Z()),gc=g(R()),bc=g(mc());var mr;(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.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(mr||(mr={}));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 _g=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 kg={[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 kt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(kt||(kt={}));var Uo=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},vt=class extends gc.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=uo.nothing}render(){let t=this.variant&&Object.values(kt).includes(this.variant)?this.variant:kt.fluid_topics,o=t!==kt.material||!!this.value;return uo.html`
597
598
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
598
- ${(0,mc.unsafeHTML)(this.resolvedIcon)}
599
+ ${(0,bc.unsafeHTML)(this.resolvedIcon)}
599
600
  <slot ?hidden=${o}></slot>
600
601
  </i>
601
- `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let 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||fo.nothing;break;default:this.resolvedIcon=(o=yr[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};vt.elementDefinitions={};vt.styles=ds;Uo([(0,mr.property)()],vt.prototype,"variant",void 0);Uo([(0,mr.property)()],vt.prototype,"value",void 0);Uo([(0,mr.state)()],vt.prototype,"resolvedIcon",void 0);Uo([(0,mr.query)("slot")],vt.prototype,"slottedContent",void 0);(0,gc.customElement)("ft-icon")(vt);var bc=g(B()),Ft=g(R());var Ot={borderRadiusLeft:Ft.FtCssVariableFactory.extend("--ft-switch-option-border-radius-left","",Ft.designSystemVariables.borderRadiusL),borderRadiusRight:Ft.FtCssVariableFactory.extend("--ft-switch-option-border-radius-right","",Ft.designSystemVariables.borderRadiusL),borderWidthLeft:Ft.FtCssVariableFactory.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:Ft.FtCssVariableFactory.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:Ft.FtCssVariableFactory.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},vc=bc.css`
602
+ `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case kt.file_format:this.resolvedIcon=(t=E[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case kt.material:this.resolvedIcon=this.value||uo.nothing;break;default:this.resolvedIcon=(o=mr[i.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};vt.elementDefinitions={};vt.styles=us;Uo([(0,gr.property)()],vt.prototype,"variant",void 0);Uo([(0,gr.property)()],vt.prototype,"value",void 0);Uo([(0,gr.state)()],vt.prototype,"resolvedIcon",void 0);Uo([(0,gr.query)("slot")],vt.prototype,"slottedContent",void 0);(0,vc.customElement)("ft-icon")(vt);var xc=g(B()),Wt=g(R());var Ot={borderRadiusLeft:Wt.FtCssVariableFactory.extend("--ft-switch-option-border-radius-left","",Wt.designSystemVariables.borderRadiusL),borderRadiusRight:Wt.FtCssVariableFactory.extend("--ft-switch-option-border-radius-right","",Wt.designSystemVariables.borderRadiusL),borderWidthLeft:Wt.FtCssVariableFactory.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:Wt.FtCssVariableFactory.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:Wt.FtCssVariableFactory.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},Sc=xc.css`
602
603
  .ft-switch-option {
603
604
  position: relative;
604
605
  display: inline-block;
@@ -612,20 +613,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
612
613
  }
613
614
 
614
615
  .ft-switch-option--content {
615
- --ft-switch-option-internal-line-height: calc(${ct.fontSize} + 2px);
616
- --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${ct.iconSize});
616
+ --ft-switch-option-internal-line-height: calc(${lt.fontSize} + 2px);
617
+ --ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${lt.iconSize});
617
618
 
618
619
  border-style: solid;
619
- border-color: ${ct.borderColor};
620
+ border-color: ${lt.borderColor};
620
621
  border-width: ${Ot.borderWidthVertical} ${Ot.borderWidthRight} ${Ot.borderWidthVertical} ${Ot.borderWidthLeft};
621
622
  border-radius: ${Ot.borderRadiusLeft} ${Ot.borderRadiusRight} ${Ot.borderRadiusRight} ${Ot.borderRadiusLeft};
622
623
  display: flex;
623
624
  align-items: center;
624
625
  justify-content: center;
625
626
  overflow: hidden;
626
- ${(0,Ft.setVariable)(xt.size,ct.iconSize)};
627
+ ${(0,Wt.setVariable)(xt.size,lt.iconSize)};
627
628
  padding: var(--ft-switch-internal-vertical-padding, 6px) var(--ft-switch-internal-horizontal-padding, 8px);
628
- background-color: ${ct.backgroundColor};
629
+ background-color: ${lt.backgroundColor};
629
630
  -webkit-mask-image: radial-gradient(white, black);
630
631
  }
631
632
 
@@ -634,32 +635,32 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
634
635
  }
635
636
 
636
637
  .ft-switch-option--selected .ft-switch-option--content:before {
637
- background-color: ${ct.selectedBackgroundColor};
638
+ background-color: ${lt.selectedBackgroundColor};
638
639
  border-radius: ${Ot.borderRadiusLeft} ${Ot.borderRadiusRight} ${Ot.borderRadiusRight} ${Ot.borderRadiusLeft};
639
640
  position: absolute;
640
641
  inset: 0;
641
642
  content: "";
642
643
  z-index: 1;
643
- opacity: ${Ft.designSystemVariables.opacityPrimaryOnSurfaceSelected};
644
+ opacity: ${Wt.designSystemVariables.opacityPrimaryOnSurfaceSelected};
644
645
  }
645
646
 
646
647
  .ft-switch-option--label {
647
- color: ${ct.textColor};
648
+ color: ${lt.textColor};
648
649
  overflow: hidden;
649
650
  white-space: nowrap;
650
651
  text-overflow: ellipsis;
651
652
  display: block;
652
653
  margin: 0 8px;
653
- ${(0,Ft.setVariable)(Mt.fontSize,ct.fontSize)};
654
- ${(0,Ft.setVariable)(Mt.lineHeight,"var(--ft-switch-option-internal-content-height)")}
654
+ ${(0,Wt.setVariable)(Ut.fontSize,lt.fontSize)};
655
+ ${(0,Wt.setVariable)(Ut.lineHeight,"var(--ft-switch-option-internal-content-height)")}
655
656
  }
656
657
 
657
658
  .ft-switch-option--selected .ft-switch-option--label {
658
- color: ${ct.selectedTextColor};
659
+ color: ${lt.selectedTextColor};
659
660
  }
660
661
 
661
662
  .ft-switch-option--focused {
662
- outline: 1px solid ${ct.outlineColor};
663
+ outline: 1px solid ${lt.outlineColor};
663
664
  }
664
665
 
665
666
  .ft-switch-option--label[hidden] {
@@ -667,7 +668,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
667
668
  }
668
669
 
669
670
  .ft-switch-option--ripple {
670
- ${(0,Ft.setVariable)(w.color,ct.rippleColor)};
671
+ ${(0,Wt.setVariable)(w.color,lt.rippleColor)};
671
672
  }
672
673
 
673
674
  ft-icon, ft-ripple, ft-typography {
@@ -680,20 +681,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
680
681
 
681
682
  ft-icon {
682
683
  flex-shrink: 0;
683
- color: ${ct.iconColor};
684
+ color: ${lt.iconColor};
684
685
  }
685
686
 
686
687
  .ft-switch-option--selected ft-icon {
687
- color: ${ct.selectedTextColor};
688
+ color: ${lt.selectedTextColor};
688
689
  }
689
- `;var de=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},hn=class extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}},yn=class extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}},ft=class extends Fr.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 yn(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(Mr.html`
690
- <label part="label" for="input" class=${(0,xc.classMap)(t)}
690
+ `;var de=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},yn=class extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}},mn=class extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}},ht=class extends Ur.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 mn(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(Fr.html`
691
+ <label part="label" for="input" class=${(0,Oc.classMap)(t)}
691
692
  @click=${this.onChange}>
692
693
  <div class="ft-switch-option--content">
693
694
  <ft-ripple part="ripple" class="ft-switch-option--ripple"></ft-ripple>
694
695
  <ft-typography part="text"
695
696
  variant="button"
696
- class="ft-switch-option--label ${Fr.isSafari?"ft-safari-ellipsis-fix":""}"
697
+ class="ft-switch-option--label ${Ur.isSafari?"ft-safari-ellipsis-fix":""}"
697
698
  ?hidden=${!this.hasTextContent()}>
698
699
  <slot @slotchange=${this.onSlotchange}></slot>
699
700
  </ft-typography>
@@ -702,29 +703,29 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
702
703
  </label>
703
704
  <input id="input" type="radio" class="ft-switch-option--input"
704
705
  .checked=${this.selected}>
705
- `)}addTooltip(t){return this.hasTextContent()||this.getLabel().trim().length===0?t:Mr.html`
706
+ `)}addTooltip(t){return this.hasTextContent()||this.getLabel().trim().length===0?t:Fr.html`
706
707
  <ft-tooltip part="tooltip"
707
708
  text="${this.getLabel()}"
708
709
  position="${this.tooltipPosition}">
709
710
  ${t}
710
711
  </ft-tooltip>
711
- `}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 hn(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?Mr.html`
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 yn(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?Fr.html`
712
713
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
713
- `:Mr.nothing}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}};ft.elementDefinitions={"ft-ripple":G,"ft-typography":pt,"ft-tooltip":ot,"ft-icon":vt};ft.styles=[Fr.safariEllipsisFix,vc];de([(0,Kt.property)()],ft.prototype,"value",void 0);de([(0,Kt.property)()],ft.prototype,"icon",void 0);de([(0,Kt.property)()],ft.prototype,"iconVariant",void 0);de([(0,Kt.property)()],ft.prototype,"label",void 0);de([(0,Kt.property)()],ft.prototype,"tooltipPosition",void 0);de([(0,Kt.property)({type:Boolean,reflect:!0})],ft.prototype,"selected",void 0);de([(0,Kt.property)({type:Boolean})],ft.prototype,"trailingIcon",void 0);de([(0,Kt.property)({type:Boolean})],ft.prototype,"unselectable",void 0);de([(0,Kt.query)(".ft-switch-option--content slot")],ft.prototype,"slottedContent",void 0);de([(0,Kt.query)(".ft-switch-option--input")],ft.prototype,"input",void 0);de([(0,Kt.state)()],ft.prototype,"isFocused",void 0);var gr=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},mn=class extends CustomEvent{constructor(t){super("change",{detail:t})}},Ut=class extends ke.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(o=>o.unselectable=this.unselectable)}render(){let t={"ft-switch":!0,"ft-switch--dense":this.dense};return Wo.html`
714
- <div @keydown=${this.onKeyDown} tabindex="-1" class="${(0,Sc.classMap)(t)}" role="radiogroup" aria-label=${this.label}>
714
+ `:Fr.nothing}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}};ht.elementDefinitions={"ft-ripple":G,"ft-typography":ft,"ft-tooltip":ot,"ft-icon":vt};ht.styles=[Ur.safariEllipsisFix,Sc];de([(0,Zt.property)()],ht.prototype,"value",void 0);de([(0,Zt.property)()],ht.prototype,"icon",void 0);de([(0,Zt.property)()],ht.prototype,"iconVariant",void 0);de([(0,Zt.property)()],ht.prototype,"label",void 0);de([(0,Zt.property)()],ht.prototype,"tooltipPosition",void 0);de([(0,Zt.property)({type:Boolean,reflect:!0})],ht.prototype,"selected",void 0);de([(0,Zt.property)({type:Boolean})],ht.prototype,"trailingIcon",void 0);de([(0,Zt.property)({type:Boolean})],ht.prototype,"unselectable",void 0);de([(0,Zt.query)(".ft-switch-option--content slot")],ht.prototype,"slottedContent",void 0);de([(0,Zt.query)(".ft-switch-option--input")],ht.prototype,"input",void 0);de([(0,Zt.state)()],ht.prototype,"isFocused",void 0);var br=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},gn=class extends CustomEvent{constructor(t){super("change",{detail:t})}},zt=class extends ke.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(o=>o.unselectable=this.unselectable)}render(){let t={"ft-switch":!0,"ft-switch--dense":this.dense};return Wo.html`
715
+ <div @keydown=${this.onKeyDown} tabindex="-1" class="${(0,Cc.classMap)(t)}" role="radiogroup" aria-label=${this.label}>
715
716
  <slot @slotchange=${this.onSlotchange}
716
717
  @option-change=${this.onOptionChangeByScript}
717
718
  @option-change-by-user=${this.onOptionChangeByUser}
718
719
  ></slot>
719
720
  </div>
720
- `}onKeyDown(t){let o;(t.key=="ArrowDown"||t.key=="ArrowRight")&&(o=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),(t.key=="ArrowUp"||t.key=="ArrowLeft")&&(o=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),t.code=="Space"&&(o=this.options.indexOf(t.target)),o!=null&&(t.preventDefault(),this.options[this.fixIndex(o)].focus(),this.displayFocusWhenUsingKeyboard=!0,this.options[this.fixIndex(o)].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(o=>{o instanceof ft&&this.registerOption(o)}),this.selectedOption=this.options.find(o=>o.selected)}registerOption(t){var o;(o=t.shadowRoot)===null||o===void 0||o.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 o=t.target;this.onOptionChange(o)}onOptionChangeByUser(t){var o;t.stopPropagation(),this.displayFocusWhenUsingKeyboard=!1,this.onOptionChange(t.target),this.dispatchEvent(new mn((o=this.selectedOption)===null||o===void 0?void 0:o.value))}onOptionChange(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find(o=>o.selected)}private(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find(o=>o.selected)}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach(t=>{t.selected=t===this.selectedOption,this.displayFocusWhenUsingKeyboard&&(t.isFocused=t===this.selectedOption)})}};Ut.elementDefinitions={};Ut.styles=Wo.css`
721
+ `}onKeyDown(t){let o;(t.key=="ArrowDown"||t.key=="ArrowRight")&&(o=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),(t.key=="ArrowUp"||t.key=="ArrowLeft")&&(o=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),t.code=="Space"&&(o=this.options.indexOf(t.target)),o!=null&&(t.preventDefault(),this.options[this.fixIndex(o)].focus(),this.displayFocusWhenUsingKeyboard=!0,this.options[this.fixIndex(o)].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(o=>{o instanceof ht&&this.registerOption(o)}),this.selectedOption=this.options.find(o=>o.selected)}registerOption(t){var o;(o=t.shadowRoot)===null||o===void 0||o.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 o=t.target;this.onOptionChange(o)}onOptionChangeByUser(t){var o;t.stopPropagation(),this.displayFocusWhenUsingKeyboard=!1,this.onOptionChange(t.target),this.dispatchEvent(new gn((o=this.selectedOption)===null||o===void 0?void 0:o.value))}onOptionChange(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find(o=>o.selected)}private(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find(o=>o.selected)}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach(t=>{t.selected=t===this.selectedOption,this.displayFocusWhenUsingKeyboard&&(t.isFocused=t===this.selectedOption)})}};zt.elementDefinitions={};zt.styles=Wo.css`
721
722
  :host {
722
723
  display: inline-block;
723
724
  }
724
725
 
725
726
  .ft-switch {
726
- border-radius: ${ct.borderRadius};
727
- outline-color: ${ct.outlineColor};
727
+ border-radius: ${lt.borderRadius};
728
+ outline-color: ${lt.outlineColor};
728
729
  }
729
730
 
730
731
  .ft-switch slot {
@@ -739,19 +740,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
739
740
  }
740
741
 
741
742
  .ft-switch slot::slotted(ft-switch-option:first-child) {
742
- ${(0,ke.setVariable)(Ot.borderRadiusLeft,ct.borderRadius)};
743
+ ${(0,ke.setVariable)(Ot.borderRadiusLeft,lt.borderRadius)};
743
744
  ${(0,ke.setVariable)(Ot.borderWidthLeft,"1px")};
744
745
  }
745
746
 
746
747
  .ft-switch slot::slotted(ft-switch-option:last-child) {
747
- ${(0,ke.setVariable)(Ot.borderRadiusRight,ct.borderRadius)};
748
+ ${(0,ke.setVariable)(Ot.borderRadiusRight,lt.borderRadius)};
748
749
  }
749
750
 
750
751
  .ft-switch--dense slot::slotted(ft-switch-option) {
751
752
  --ft-switch-internal-vertical-padding: 2px;
752
753
  --ft-switch-internal-horizontal-padding: 4px;
753
754
  }
754
- `;gr([(0,Oe.property)({type:Boolean})],Ut.prototype,"dense",void 0);gr([(0,Oe.property)({type:Boolean})],Ut.prototype,"unselectable",void 0);gr([(0,Oe.property)()],Ut.prototype,"label",void 0);gr([(0,Oe.query)(".ft-switch slot")],Ut.prototype,"slottedContent",void 0);gr([(0,Oe.state)()],Ut.prototype,"selectedOption",void 0);gr([(0,Oe.state)()],Ut.prototype,"displayFocusWhenUsingKeyboard",void 0);gr([(0,Oe.query)(".ft-switch")],Ut.prototype,"ftSwitchDiv",void 0);(0,gn.customElement)("ft-switch")(Ut);(0,gn.customElement)("ft-switch-option")(ft);var Pc=g(R());var Vo=g(B()),ie=g(Z()),Lc=g(Ve()),Go=g(R());var Ec=g(R());var zo=g(B()),pe=g(Z()),Ho=g(R());var Cc=g(B()),Ur=g(R()),Oc={colorOutline:Ur.FtCssVariableFactory.external(Ur.designSystemVariables.colorOutline,"Design system"),colorOnSurfaceMedium:Ur.FtCssVariableFactory.external(Ur.designSystemVariables.colorOnSurfaceMedium,"Design system")},wc=Cc.css`
755
+ `;br([(0,Oe.property)({type:Boolean})],zt.prototype,"dense",void 0);br([(0,Oe.property)({type:Boolean})],zt.prototype,"unselectable",void 0);br([(0,Oe.property)()],zt.prototype,"label",void 0);br([(0,Oe.query)(".ft-switch slot")],zt.prototype,"slottedContent",void 0);br([(0,Oe.state)()],zt.prototype,"selectedOption",void 0);br([(0,Oe.state)()],zt.prototype,"displayFocusWhenUsingKeyboard",void 0);br([(0,Oe.query)(".ft-switch")],zt.prototype,"ftSwitchDiv",void 0);(0,bn.customElement)("ft-switch")(zt);(0,bn.customElement)("ft-switch-option")(ht);var Dc=g(R());var Vo=g(B()),ne=g(Z()),$c=g(Ve()),Go=g(R());var Rc=g(R());var zo=g(B()),pe=g(Z()),Ho=g(R());var Ec=g(B()),Wr=g(R()),wc={colorOutline:Wr.FtCssVariableFactory.external(Wr.designSystemVariables.colorOutline,"Design system"),colorOnSurfaceMedium:Wr.FtCssVariableFactory.external(Wr.designSystemVariables.colorOnSurfaceMedium,"Design system")},Ac=Ec.css`
755
756
  :host {
756
757
  display: block;
757
758
  }
@@ -762,14 +763,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
762
763
 
763
764
  ft-icon {
764
765
  transform: rotate(-45deg);
765
- color: ${Oc.colorOutline};
766
+ color: ${wc.colorOutline};
766
767
  }
767
768
 
768
769
  .ft-resizer--dragging ft-icon,
769
770
  .ft-resizer:hover ft-icon {
770
- color: ${Oc.colorOnSurfaceMedium};
771
+ color: ${wc.colorOnSurfaceMedium};
771
772
  }
772
- `;var Ke=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},bn=class extends CustomEvent{constructor(t,o){super("resize",{detail:{width:t,height:o}})}},kt=class extends Ho.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.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 zo.html`
773
+ `;var Ke=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},vn=class extends CustomEvent{constructor(t,o){super("resize",{detail:{width:t,height:o}})}},Lt=class extends Ho.FtLitElement{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=kt.material,this.cursor="nwse-resize",this.dragging=!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 zo.html`
773
774
  <style>
774
775
  .ft-resizer {
775
776
  cursor: ${(0,zo.unsafeCSS)(this.cursor)}
@@ -780,7 +781,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
780
781
  @touchstart=${this.initDragFromTouch}>
781
782
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
782
783
  </div>
783
- `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,o){this.dragging=!0,this.startX=t,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(t,o){let i=this.fixedWidth+t-this.startX,n=this.fixedHeight+o-this.startY;this.dispatchEvent(new bn(i,n))}};kt.elementDefinitions={"ft-icon":vt};kt.styles=[Ho.noTextSelect,wc];Ke([(0,pe.property)({type:Number})],kt.prototype,"initialWidth",void 0);Ke([(0,pe.property)({type:Number})],kt.prototype,"initialHeight",void 0);Ke([(0,pe.property)()],kt.prototype,"icon",void 0);Ke([(0,pe.property)()],kt.prototype,"iconVariant",void 0);Ke([(0,pe.property)()],kt.prototype,"cursor",void 0);Ke([(0,pe.state)()],kt.prototype,"dragging",void 0);Ke([(0,pe.eventOptions)({passive:!0})],kt.prototype,"initDragFromMouse",null);Ke([(0,pe.eventOptions)({passive:!0})],kt.prototype,"initDragFromTouch",null);(0,Ec.customElement)("ft-resizer")(kt);var Tc=g(R());var vn=g(B()),Wr=g(Z()),Ic=g(Ve()),Nc=g(R());var Ac=g(B()),et=g(R());var P={fontSize:et.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:et.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:et.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:et.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:et.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:et.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:et.FtCssVariableFactory.extend("--ft-input-label-border-color","",et.designSystemVariables.colorOutline),textColor:et.FtCssVariableFactory.extend("--ft-input-label-text-color","",et.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:et.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",et.designSystemVariables.colorOnSurfaceDisabled),colorSurface:et.FtCssVariableFactory.external(et.designSystemVariables.colorSurface,"Design system"),borderRadiusS:et.FtCssVariableFactory.external(et.designSystemVariables.borderRadiusS,"Design system"),colorError:et.FtCssVariableFactory.external(et.designSystemVariables.colorError,"Design system")},Rc=Ac.css`
784
+ `}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,o){this.dragging=!0,this.startX=t,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(t,o){let i=this.fixedWidth+t-this.startX,n=this.fixedHeight+o-this.startY;this.dispatchEvent(new vn(i,n))}};Lt.elementDefinitions={"ft-icon":vt};Lt.styles=[Ho.noTextSelect,Ac];Ke([(0,pe.property)({type:Number})],Lt.prototype,"initialWidth",void 0);Ke([(0,pe.property)({type:Number})],Lt.prototype,"initialHeight",void 0);Ke([(0,pe.property)()],Lt.prototype,"icon",void 0);Ke([(0,pe.property)()],Lt.prototype,"iconVariant",void 0);Ke([(0,pe.property)()],Lt.prototype,"cursor",void 0);Ke([(0,pe.state)()],Lt.prototype,"dragging",void 0);Ke([(0,pe.eventOptions)({passive:!0})],Lt.prototype,"initDragFromMouse",null);Ke([(0,pe.eventOptions)({passive:!0})],Lt.prototype,"initDragFromTouch",null);(0,Rc.customElement)("ft-resizer")(Lt);var kc=g(R());var xn=g(B()),zr=g(Z()),Tc=g(Ve()),_c=g(R());var Ic=g(B()),et=g(R());var P={fontSize:et.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:et.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:et.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:et.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:et.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:et.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:et.FtCssVariableFactory.extend("--ft-input-label-border-color","",et.designSystemVariables.colorOutline),textColor:et.FtCssVariableFactory.extend("--ft-input-label-text-color","",et.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:et.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",et.designSystemVariables.colorOnSurfaceDisabled),colorSurface:et.FtCssVariableFactory.external(et.designSystemVariables.colorSurface,"Design system"),borderRadiusS:et.FtCssVariableFactory.external(et.designSystemVariables.borderRadiusS,"Design system"),colorError:et.FtCssVariableFactory.external(et.designSystemVariables.colorError,"Design system")},Nc=Ic.css`
784
785
  .ft-input-label {
785
786
  position: absolute;
786
787
  inset: 0;
@@ -902,16 +903,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
902
903
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
903
904
  border-top: none;
904
905
  }
905
- `;var uo=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Wt=class extends Nc.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 vn.html`
906
- <div class="${(0,Ic.classMap)(t)}">
907
- ${this.text?vn.html`
906
+ `;var fo=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Ht=class extends _c.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 xn.html`
907
+ <div class="${(0,Tc.classMap)(t)}">
908
+ ${this.text?xn.html`
908
909
  <div class="ft-input-label--text ft-typography--caption">
909
910
  <span class="ft-input-label--floating-text">${this.text}</span>
910
911
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
911
912
  </div>
912
913
  `:null}
913
914
  </div>
914
- `}};Wt.elementDefinitions={};Wt.styles=[No,Rc];uo([(0,Wr.property)({type:String})],Wt.prototype,"text",void 0);uo([(0,Wr.property)({type:Boolean})],Wt.prototype,"raised",void 0);uo([(0,Wr.property)({type:Boolean})],Wt.prototype,"outlined",void 0);uo([(0,Wr.property)({type:Boolean})],Wt.prototype,"disabled",void 0);uo([(0,Wr.property)({type:Boolean})],Wt.prototype,"error",void 0);(0,Tc.customElement)("ft-input-label")(Wt);var _c=g(B()),K=g(R());var Y={fontSize:K.FtCssVariableFactory.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:K.FtCssVariableFactory.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:K.FtCssVariableFactory.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:K.FtCssVariableFactory.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:K.FtCssVariableFactory.extend("--ft-text-area-helper-color","",K.designSystemVariables.colorOnSurfaceMedium),colorPrimary:K.FtCssVariableFactory.external(K.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:K.FtCssVariableFactory.external(K.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:K.FtCssVariableFactory.external(K.designSystemVariables.borderRadiusS,"Design system"),colorError:K.FtCssVariableFactory.external(K.designSystemVariables.colorError,"Design system")},kc=_c.css`
915
+ `}};Ht.elementDefinitions={};Ht.styles=[No,Nc];fo([(0,zr.property)({type:String})],Ht.prototype,"text",void 0);fo([(0,zr.property)({type:Boolean})],Ht.prototype,"raised",void 0);fo([(0,zr.property)({type:Boolean})],Ht.prototype,"outlined",void 0);fo([(0,zr.property)({type:Boolean})],Ht.prototype,"disabled",void 0);fo([(0,zr.property)({type:Boolean})],Ht.prototype,"error",void 0);(0,kc.customElement)("ft-input-label")(Ht);var Lc=g(B()),K=g(R());var Y={fontSize:K.FtCssVariableFactory.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:K.FtCssVariableFactory.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:K.FtCssVariableFactory.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:K.FtCssVariableFactory.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:K.FtCssVariableFactory.extend("--ft-text-area-helper-color","",K.designSystemVariables.colorOnSurfaceMedium),colorPrimary:K.FtCssVariableFactory.external(K.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:K.FtCssVariableFactory.external(K.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:K.FtCssVariableFactory.external(K.designSystemVariables.borderRadiusS,"Design system"),colorError:K.FtCssVariableFactory.external(K.designSystemVariables.colorError,"Design system")},Pc=Lc.css`
915
916
  *:focus {
916
917
  outline: none;
917
918
  }
@@ -957,8 +958,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
957
958
  align-self: stretch;
958
959
  resize: none;
959
960
 
960
- ${(0,K.setVariable)(re.fontSize,Y.fontSize)};
961
- ${(0,K.setVariable)(re.lineHeight,Y.fontSize)};
961
+ ${(0,K.setVariable)(oe.fontSize,Y.fontSize)};
962
+ ${(0,K.setVariable)(oe.lineHeight,Y.fontSize)};
962
963
  color: ${Y.colorOnSurface};
963
964
 
964
965
  padding: 0 ${Y.horizontalSpacing};
@@ -1011,7 +1012,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1011
1012
  position: absolute;
1012
1013
  bottom: 0;
1013
1014
  }
1014
- `;var Le=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},It=class extends(0,Go.toFtFormComponent)(Go.FtLitElement,"textbox"){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 Vo.html`
1015
+ `;var Le=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Nt=class extends(0,Go.toFtFormComponent)(Go.FtLitElement,"textbox"){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 Vo.html`
1015
1016
  <style>
1016
1017
  .ft-text-area--main-panel {
1017
1018
  height: calc(4 * ${Y.verticalSpacing} + ${Y.labelSize} + ${Y.fontSize} + ${this.height}px);
@@ -1021,7 +1022,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1021
1022
  right: ${this.textarea!=null?this.textarea.offsetWidth-this.textarea.clientWidth:0}px;
1022
1023
  }
1023
1024
  </style>
1024
- <div class="${(0,Lc.classMap)(t)}">
1025
+ <div class="${(0,$c.classMap)(t)}">
1025
1026
  <div class="ft-text-area--main-panel">
1026
1027
  <ft-input-label text="${this.label}"
1027
1028
  ?disabled=${this.disabled}
@@ -1053,40 +1054,51 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1053
1054
  ${this.helper}
1054
1055
  </ft-typography>`:void 0}
1055
1056
  </div>
1056
- `}setValue(t,o=!1){this.value=t,this.setFormValue(t),o&&(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)}};It.elementDefinitions={"ft-input-label":Wt,"ft-resizer":kt,"ft-ripple":G,"ft-typography":pt};It.styles=[_r,kc];Le([(0,ie.property)({type:String})],It.prototype,"label",void 0);Le([(0,ie.property)({reflect:!0})],It.prototype,"value",void 0);Le([(0,ie.property)({type:String})],It.prototype,"helper",void 0);Le([(0,ie.property)({type:Boolean})],It.prototype,"outlined",void 0);Le([(0,ie.property)({type:Boolean})],It.prototype,"disabled",void 0);Le([(0,ie.property)({type:Boolean})],It.prototype,"error",void 0);Le([(0,ie.property)({type:Number,reflect:!0})],It.prototype,"height",void 0);Le([(0,ie.query)("textarea")],It.prototype,"textarea",void 0);Le([(0,ie.state)()],It.prototype,"focused",void 0);(0,Pc.customElement)("ft-text-area")(It);var Ad=g($c());var xn=g(R());var ho=g(Z()),Wc=g(R());var Ze=g(R());var Fc=g(R());var Bc=g(B()),Mc=g(R());var br=class extends Mc.FtLitElement{render(){return Bc.html`
1057
+ `}setValue(t,o=!1){this.value=t,this.setFormValue(t),o&&(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)}};Nt.elementDefinitions={"ft-input-label":Ht,"ft-resizer":Lt,"ft-ripple":G,"ft-typography":ft};Nt.styles=[kr,Pc];Le([(0,ne.property)({type:String})],Nt.prototype,"label",void 0);Le([(0,ne.property)({reflect:!0})],Nt.prototype,"value",void 0);Le([(0,ne.property)({type:String})],Nt.prototype,"helper",void 0);Le([(0,ne.property)({type:Boolean})],Nt.prototype,"outlined",void 0);Le([(0,ne.property)({type:Boolean})],Nt.prototype,"disabled",void 0);Le([(0,ne.property)({type:Boolean})],Nt.prototype,"error",void 0);Le([(0,ne.property)({type:Number,reflect:!0})],Nt.prototype,"height",void 0);Le([(0,ne.query)("textarea")],Nt.prototype,"textarea",void 0);Le([(0,ne.state)()],Nt.prototype,"focused",void 0);(0,Dc.customElement)("ft-text-area")(Nt);var Rd=g(Mc());var On=g(R());var ho=g(Z()),zc=g(R());var qe=g(R());var Wc=g(R());var Fc=g(B()),Uc=g(R());var vr=class extends Uc.FtLitElement{render(){return Fc.html`
1057
1058
  <div class="ft-loader">
1058
1059
  <div></div>
1059
1060
  <div></div>
1060
1061
  <div></div>
1061
1062
  <div></div>
1062
1063
  </div>
1063
- `}};br.styles=cs;(0,Fc.customElement)("ft-loader")(br);var zr=g(B()),Uc=g(Ve()),Lt=g(Z()),Zt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ut=class extends(0,Ze.toFtFormComponent)(Ze.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",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.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t;return this.addTooltipIfNeeded(zr.html`
1064
+ `}};vr.styles=ds;(0,Wc.customElement)("ft-loader")(vr);var Ze=g(B()),Sn=g(Ve()),Et=g(Z()),Pt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},st=class extends(0,qe.toFtFormComponent)(qe.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",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.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,i;let n=Ze.html`
1065
+ <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1066
+ <ft-typography part="label"
1067
+ variant=${this.typographyVariant}
1068
+ element="span"
1069
+ class="ft-button--label ${qe.isSafari?"ft-safari-ellipsis-fix":""}"
1070
+ ?hidden=${!this.hasTextContent()}>
1071
+ <slot @slotchange=${this.onSlotchange}></slot>
1072
+ </ft-typography>
1073
+ ${this.resolveIcon()}
1074
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?Ze.html`
1075
+ <a href="${a}"
1076
+ target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
1077
+ part="button"
1078
+ class="${(0,Sn.classMap)(this.buttonClasses)}"
1079
+ aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
1080
+ ?disabled=${this.isDisabled()}>
1081
+ ${n}
1082
+ </a>
1083
+ `:Ze.html`
1064
1084
  <button part="button"
1065
- class="${(0,Uc.classMap)(this.buttonClasses)}"
1066
- aria-label="${(t=this.ariaLabel)!==null&&t!==void 0?t:this.getLabel()}"
1085
+ class="${(0,Sn.classMap)(this.buttonClasses)}"
1086
+ aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
1067
1087
  ?disabled=${this.isDisabled()}>
1068
- <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1069
- <ft-typography part="label"
1070
- variant=${this.typographyVariant}
1071
- element="span"
1072
- class="ft-button--label ${Ze.isSafari?"ft-safari-ellipsis-fix":""}"
1073
- ?hidden=${!this.hasTextContent()}>
1074
- <slot @slotchange=${this.onSlotchange}></slot>
1075
- </ft-typography>
1076
- ${this.resolveIcon()}
1088
+ ${n}
1077
1089
  </button>
1078
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?zr.html`
1090
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ze.html`
1079
1091
  <ft-tooltip part="tooltip"
1080
1092
  text="${this.getLabel()}"
1081
1093
  position="${this.tooltipPosition}">
1082
1094
  ${t}
1083
1095
  </ft-tooltip>
1084
- `:t}resolveIcon(){return this.loading?zr.html`
1085
- <ft-loader part="loader icon"></ft-loader> `:this.icon?zr.html`
1096
+ `:t}resolveIcon(){return this.loading?Ze.html`
1097
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Ze.html`
1086
1098
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1087
- `:zr.html`
1099
+ `:Ze.html`
1088
1100
  <slot part="icon" name="icon"></slot>
1089
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Ze.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ut.elementDefinitions={"ft-ripple":G,"ft-tooltip":ot,"ft-typography":pt,"ft-icon":vt,"ft-loader":br};Zt([(0,Lt.property)({type:String,reflect:!0})],ut.prototype,"role",void 0);Zt([(0,Lt.property)()],ut.prototype,"type",void 0);Zt([(0,Lt.property)({type:Boolean})],ut.prototype,"disabled",void 0);Zt([(0,Lt.property)()],ut.prototype,"label",void 0);Zt([(0,Lt.property)()],ut.prototype,"icon",void 0);Zt([(0,Lt.property)()],ut.prototype,"iconVariant",void 0);Zt([(0,Lt.property)({type:Boolean})],ut.prototype,"trailingIcon",void 0);Zt([(0,Lt.property)({type:Boolean})],ut.prototype,"loading",void 0);Zt([(0,Lt.property)({attribute:"aria-label"})],ut.prototype,"ariaLabel",void 0);Zt([(0,Lt.property)()],ut.prototype,"tooltipPosition",void 0);Zt([(0,Lt.property)({type:Boolean})],ut.prototype,"hideTooltip",void 0);Zt([(0,Lt.property)({type:Boolean})],ut.prototype,"forceTooltip",void 0);Zt([(0,Lt.query)(".ft-button")],ut.prototype,"button",void 0);Zt([(0,Lt.query)(".ft-button--label slot")],ut.prototype,"slottedContent",void 0);var jo=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},fe=class extends ut{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"}};fe.styles=[Wc.safariEllipsisFix,hs];jo([(0,ho.property)({type:Boolean})],fe.prototype,"primary",void 0);jo([(0,ho.property)({type:Boolean})],fe.prototype,"outlined",void 0);jo([(0,ho.property)({type:Boolean})],fe.prototype,"dense",void 0);jo([(0,ho.property)({type:Boolean})],fe.prototype,"round",void 0);var yo=g(Z());var Zo=g(R());var zc=g(B()),C=g(R());var Hc=[zc.css`
1101
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,qe.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};st.elementDefinitions={"ft-ripple":G,"ft-tooltip":ot,"ft-typography":ft,"ft-icon":vt,"ft-loader":vr};Pt([(0,Et.property)()],st.prototype,"href",void 0);Pt([(0,Et.property)()],st.prototype,"target",void 0);Pt([(0,Et.property)({type:String,reflect:!0})],st.prototype,"role",void 0);Pt([(0,Et.property)()],st.prototype,"type",void 0);Pt([(0,Et.property)({type:Boolean})],st.prototype,"disabled",void 0);Pt([(0,Et.property)()],st.prototype,"label",void 0);Pt([(0,Et.property)()],st.prototype,"icon",void 0);Pt([(0,Et.property)()],st.prototype,"iconVariant",void 0);Pt([(0,Et.property)({type:Boolean})],st.prototype,"trailingIcon",void 0);Pt([(0,Et.property)({type:Boolean})],st.prototype,"loading",void 0);Pt([(0,Et.property)({attribute:"aria-label"})],st.prototype,"ariaLabel",void 0);Pt([(0,Et.property)()],st.prototype,"tooltipPosition",void 0);Pt([(0,Et.property)({type:Boolean})],st.prototype,"hideTooltip",void 0);Pt([(0,Et.property)({type:Boolean})],st.prototype,"forceTooltip",void 0);Pt([(0,Et.query)(".ft-button")],st.prototype,"button",void 0);Pt([(0,Et.query)(".ft-button--label slot")],st.prototype,"slottedContent",void 0);var jo=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ue=class extends st{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"}};ue.styles=[zc.safariEllipsisFix,ms];jo([(0,ho.property)({type:Boolean})],ue.prototype,"primary",void 0);jo([(0,ho.property)({type:Boolean})],ue.prototype,"outlined",void 0);jo([(0,ho.property)({type:Boolean})],ue.prototype,"dense",void 0);jo([(0,ho.property)({type:Boolean})],ue.prototype,"round",void 0);var yo=g(Z());var Zo=g(R());var Hc=g(B()),C=g(R());var Vc=[Hc.css`
1090
1102
  :host {
1091
1103
  display: inline-block;
1092
1104
  max-width: 100%;
@@ -1095,22 +1107,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1095
1107
 
1096
1108
  /** Remove default button styles **/
1097
1109
 
1098
- button {
1110
+ .ft-button {
1099
1111
  box-shadow: 0 0 0 transparent;
1100
1112
  border: 0 solid transparent;
1101
1113
  text-shadow: 0 0 0 transparent;
1114
+ text-decoration: none;
1102
1115
  }
1103
1116
 
1104
- button:hover {
1117
+ .ft-button:hover {
1105
1118
  box-shadow: 0 0 0 transparent;
1106
1119
  text-shadow: 0 0 0 transparent;
1107
1120
  }
1108
1121
 
1109
- button:active {
1122
+ .ft-button:active {
1110
1123
  outline: none;
1111
1124
  }
1112
1125
 
1113
- button:focus {
1126
+ .ft-button:focus {
1114
1127
  outline: 0;
1115
1128
  }
1116
1129
 
@@ -1136,7 +1149,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1136
1149
  }
1137
1150
 
1138
1151
  .ft-button:focus-visible {
1139
- outline-color: ${u.focusFocusRingColor};
1152
+ outline-color: ${f.focusFocusRingColor};
1140
1153
  outline-style: solid;
1141
1154
  }
1142
1155
 
@@ -1170,396 +1183,396 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1170
1183
  /** Brand Primary styles **/
1171
1184
 
1172
1185
  .ftds--family-brand.ft-button--primary {
1173
- ${(0,C.setVariable)(rt.color,u.primaryBrandIconColor)};
1186
+ ${(0,C.setVariable)(rt.color,f.primaryBrandIconColor)};
1174
1187
 
1175
- ${(0,C.setVariable)(w.color,u.primaryBrandStateLayerColor)};
1176
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.primaryBrandHoverStateLayerOpacity)};
1177
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.primaryBrandFocusStateLayerOpacity)};
1178
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.primaryBrandActiveStateLayerOpacity)};
1179
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.primaryBrandActiveStateLayerOpacity)};
1188
+ ${(0,C.setVariable)(w.color,f.primaryBrandStateLayerColor)};
1189
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
1190
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
1191
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
1192
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
1180
1193
 
1181
- background-color: ${u.primaryBrandBackgroundColor};
1182
- color: ${u.primaryBrandColor};
1194
+ background-color: ${f.primaryBrandBackgroundColor};
1195
+ color: ${f.primaryBrandColor};
1183
1196
  border-style: none;
1184
1197
  }
1185
1198
 
1186
1199
  .ftds--family-brand.ft-button--primary[disabled] {
1187
- opacity: ${u.primaryBrandDisabledComponentOpacity};
1200
+ opacity: ${f.primaryBrandDisabledComponentOpacity};
1188
1201
  }
1189
1202
 
1190
1203
  .ftds--family-brand.ft-button--primary ft-icon {
1191
- color: ${u.primaryBrandIconColor};
1204
+ color: ${f.primaryBrandIconColor};
1192
1205
  }
1193
1206
 
1194
1207
  /** Brand Secondary styles **/
1195
1208
 
1196
1209
  .ftds--family-brand.ft-button--secondary {
1197
- ${(0,C.setVariable)(rt.color,u.secondaryBrandIconColor)};
1210
+ ${(0,C.setVariable)(rt.color,f.secondaryBrandIconColor)};
1198
1211
 
1199
- ${(0,C.setVariable)(w.color,u.secondaryBrandStateLayerColor)};
1200
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryBrandHoverStateLayerOpacity)};
1201
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.secondaryBrandFocusStateLayerOpacity)};
1202
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.secondaryBrandActiveStateLayerOpacity)};
1203
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.secondaryBrandActiveStateLayerOpacity)};
1212
+ ${(0,C.setVariable)(w.color,f.secondaryBrandStateLayerColor)};
1213
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
1214
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
1215
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
1216
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
1204
1217
 
1205
- background-color: ${u.secondaryBrandBackgroundColor};
1206
- color: ${u.secondaryBrandColor};
1207
- border-color: ${u.secondaryBrandBorderColor};
1218
+ background-color: ${f.secondaryBrandBackgroundColor};
1219
+ color: ${f.secondaryBrandColor};
1220
+ border-color: ${f.secondaryBrandBorderColor};
1208
1221
  border-style: solid;
1209
1222
  }
1210
1223
 
1211
1224
  .ftds--family-brand.ft-button--secondary[disabled] {
1212
- opacity: ${u.secondaryBrandDisabledComponentOpacity};
1225
+ opacity: ${f.secondaryBrandDisabledComponentOpacity};
1213
1226
  }
1214
1227
 
1215
1228
  .ftds--family-brand.ft-button--secondary ft-icon {
1216
- color: ${u.secondaryBrandIconColor};
1229
+ color: ${f.secondaryBrandIconColor};
1217
1230
  }
1218
1231
 
1219
1232
  /** Brand Tertiary styles **/
1220
1233
 
1221
1234
  .ftds--family-brand.ft-button--tertiary {
1222
- ${(0,C.setVariable)(rt.color,u.tertiaryBrandIconColor)};
1235
+ ${(0,C.setVariable)(rt.color,f.tertiaryBrandIconColor)};
1223
1236
 
1224
- ${(0,C.setVariable)(w.color,u.tertiaryBrandStateLayerColor)};
1225
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryBrandHoverStateLayerOpacity)};
1226
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.tertiaryBrandFocusStateLayerOpacity)};
1227
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.tertiaryBrandActiveStateLayerOpacity)};
1228
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.tertiaryBrandActiveStateLayerOpacity)};
1237
+ ${(0,C.setVariable)(w.color,f.tertiaryBrandStateLayerColor)};
1238
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
1239
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
1240
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
1241
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
1229
1242
 
1230
- background-color: ${u.tertiaryBrandBackgroundColor};
1231
- color: ${u.tertiaryBrandColor};
1243
+ background-color: ${f.tertiaryBrandBackgroundColor};
1244
+ color: ${f.tertiaryBrandColor};
1232
1245
  border-style: none;
1233
1246
  }
1234
1247
 
1235
1248
  .ftds--family-brand.ft-button--tertiary[disabled] {
1236
- opacity: ${u.tertiaryBrandDisabledComponentOpacity};
1249
+ opacity: ${f.tertiaryBrandDisabledComponentOpacity};
1237
1250
  }
1238
1251
 
1239
1252
  .ftds--family-brand.ft-button--tertiary ft-icon {
1240
- color: ${u.tertiaryBrandIconColor};
1253
+ color: ${f.tertiaryBrandIconColor};
1241
1254
  }
1242
1255
 
1243
1256
  /** Neutral Secondary styles **/
1244
1257
 
1245
1258
  .ftds--family-neutral.ft-button--secondary {
1246
- ${(0,C.setVariable)(rt.color,u.secondaryNeutralIconColor)};
1259
+ ${(0,C.setVariable)(rt.color,f.secondaryNeutralIconColor)};
1247
1260
 
1248
- ${(0,C.setVariable)(w.backgroundColor,u.secondaryNeutralStateLayerColor)};
1249
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryNeutralHoverStateLayerOpacity)};
1250
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.secondaryNeutralFocusStateLayerOpacity)};
1251
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.secondaryNeutralActiveStateLayerOpacity)};
1252
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.secondaryNeutralActiveStateLayerOpacity)};
1261
+ ${(0,C.setVariable)(w.backgroundColor,f.secondaryNeutralStateLayerColor)};
1262
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
1263
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
1264
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
1265
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
1253
1266
 
1254
- background-color: ${u.secondaryNeutralBackgroundColor};
1255
- color: ${u.secondaryNeutralColor};
1256
- border-color: ${u.secondaryNeutralBorderColor};
1267
+ background-color: ${f.secondaryNeutralBackgroundColor};
1268
+ color: ${f.secondaryNeutralColor};
1269
+ border-color: ${f.secondaryNeutralBorderColor};
1257
1270
  border-style: solid;
1258
1271
  }
1259
1272
 
1260
1273
  .ftds--family-neutral.ft-button--secondary[disabled] {
1261
- opacity: ${u.secondaryNeutralDisabledComponentOpacity};
1274
+ opacity: ${f.secondaryNeutralDisabledComponentOpacity};
1262
1275
  }
1263
1276
 
1264
1277
  .ftds--family-neutral.ft-button--secondary ft-icon {
1265
- color: ${u.secondaryNeutralIconColor};
1278
+ color: ${f.secondaryNeutralIconColor};
1266
1279
  }
1267
1280
 
1268
1281
  /** Neutral Tertiary styles **/
1269
1282
 
1270
1283
  .ftds--family-neutral.ft-button--tertiary {
1271
- ${(0,C.setVariable)(rt.color,u.tertiaryNeutralIconColor)};
1284
+ ${(0,C.setVariable)(rt.color,f.tertiaryNeutralIconColor)};
1272
1285
 
1273
- ${(0,C.setVariable)(w.backgroundColor,u.tertiaryNeutralStateLayerColor)};
1274
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryNeutralHoverStateLayerOpacity)};
1275
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.tertiaryNeutralFocusStateLayerOpacity)};
1276
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.tertiaryNeutralActiveStateLayerOpacity)};
1277
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.tertiaryNeutralActiveStateLayerOpacity)};
1286
+ ${(0,C.setVariable)(w.backgroundColor,f.tertiaryNeutralStateLayerColor)};
1287
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
1288
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
1289
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
1290
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
1278
1291
 
1279
- background-color: ${u.tertiaryNeutralBackgroundColor};
1280
- color: ${u.tertiaryNeutralColor};
1292
+ background-color: ${f.tertiaryNeutralBackgroundColor};
1293
+ color: ${f.tertiaryNeutralColor};
1281
1294
  border-style: none;
1282
1295
  }
1283
1296
 
1284
1297
  .ftds--family-neutral.ft-button--tertiary[disabled] {
1285
- opacity: ${u.tertiaryNeutralDisabledComponentOpacity};
1298
+ opacity: ${f.tertiaryNeutralDisabledComponentOpacity};
1286
1299
  }
1287
1300
 
1288
1301
  .ftds--family-neutral.ft-button--tertiary ft-icon {
1289
- color: ${u.tertiaryNeutralIconColor};
1302
+ color: ${f.tertiaryNeutralIconColor};
1290
1303
  }
1291
1304
 
1292
1305
  /** Info Secondary styles **/
1293
1306
 
1294
1307
  .ftds--family-info.ft-button--secondary {
1295
- ${(0,C.setVariable)(rt.color,u.secondaryInfoIconColor)};
1308
+ ${(0,C.setVariable)(rt.color,f.secondaryInfoIconColor)};
1296
1309
 
1297
- ${(0,C.setVariable)(w.backgroundColor,u.secondaryInfoStateLayerColor)};
1298
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryInfoHoverStateLayerOpacity)};
1299
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.secondaryInfoFocusStateLayerOpacity)};
1300
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.secondaryInfoActiveStateLayerOpacity)};
1301
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.secondaryInfoActiveStateLayerOpacity)};
1310
+ ${(0,C.setVariable)(w.backgroundColor,f.secondaryInfoStateLayerColor)};
1311
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
1312
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
1313
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
1314
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
1302
1315
 
1303
- background-color: ${u.secondaryInfoBackgroundColor};
1304
- color: ${u.secondaryInfoColor};
1305
- border-color: ${u.secondaryInfoBorderColor};
1316
+ background-color: ${f.secondaryInfoBackgroundColor};
1317
+ color: ${f.secondaryInfoColor};
1318
+ border-color: ${f.secondaryInfoBorderColor};
1306
1319
  border-style: solid;
1307
1320
  }
1308
1321
 
1309
1322
  .ftds--family-info.ft-button--secondary[disabled] {
1310
- opacity: ${u.secondaryInfoDisabledComponentOpacity};
1323
+ opacity: ${f.secondaryInfoDisabledComponentOpacity};
1311
1324
  }
1312
1325
 
1313
1326
  .ftds--family-info.ft-button--secondary ft-icon {
1314
- color: ${u.secondaryInfoIconColor};
1327
+ color: ${f.secondaryInfoIconColor};
1315
1328
  }
1316
1329
 
1317
1330
  /** Info Tertiary styles **/
1318
1331
 
1319
1332
  .ftds--family-info.ft-button--tertiary {
1320
- ${(0,C.setVariable)(rt.color,u.tertiaryInfoIconColor)};
1333
+ ${(0,C.setVariable)(rt.color,f.tertiaryInfoIconColor)};
1321
1334
 
1322
- ${(0,C.setVariable)(w.backgroundColor,u.tertiaryInfoStateLayerColor)};
1323
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryInfoHoverStateLayerOpacity)};
1324
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.tertiaryInfoFocusStateLayerOpacity)};
1325
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.tertiaryInfoActiveStateLayerOpacity)};
1326
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.tertiaryInfoActiveStateLayerOpacity)};
1335
+ ${(0,C.setVariable)(w.backgroundColor,f.tertiaryInfoStateLayerColor)};
1336
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
1337
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
1338
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
1339
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
1327
1340
 
1328
- background-color: ${u.tertiaryInfoBackgroundColor};
1329
- color: ${u.tertiaryInfoColor};
1341
+ background-color: ${f.tertiaryInfoBackgroundColor};
1342
+ color: ${f.tertiaryInfoColor};
1330
1343
  border-style: none;
1331
1344
  }
1332
1345
 
1333
1346
  .ftds--family-info.ft-button--tertiary[disabled] {
1334
- opacity: ${u.tertiaryInfoDisabledComponentOpacity};
1347
+ opacity: ${f.tertiaryInfoDisabledComponentOpacity};
1335
1348
  }
1336
1349
 
1337
1350
  .ftds--family-info.ft-button--tertiary ft-icon {
1338
- color: ${u.tertiaryInfoIconColor};
1351
+ color: ${f.tertiaryInfoIconColor};
1339
1352
  }
1340
1353
 
1341
1354
  /** Success Secondary styles **/
1342
1355
 
1343
1356
  .ftds--family-success.ft-button--secondary {
1344
- ${(0,C.setVariable)(rt.color,u.secondarySuccessIconColor)};
1357
+ ${(0,C.setVariable)(rt.color,f.secondarySuccessIconColor)};
1345
1358
 
1346
- ${(0,C.setVariable)(w.backgroundColor,u.secondarySuccessStateLayerColor)};
1347
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondarySuccessHoverStateLayerOpacity)};
1348
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.secondarySuccessFocusStateLayerOpacity)};
1349
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.secondarySuccessActiveStateLayerOpacity)};
1350
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.secondarySuccessActiveStateLayerOpacity)};
1359
+ ${(0,C.setVariable)(w.backgroundColor,f.secondarySuccessStateLayerColor)};
1360
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
1361
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
1362
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
1363
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
1351
1364
 
1352
- background-color: ${u.secondarySuccessBackgroundColor};
1353
- color: ${u.secondarySuccessColor};
1354
- border-color: ${u.secondarySuccessBorderColor};
1365
+ background-color: ${f.secondarySuccessBackgroundColor};
1366
+ color: ${f.secondarySuccessColor};
1367
+ border-color: ${f.secondarySuccessBorderColor};
1355
1368
  border-style: solid;
1356
1369
  }
1357
1370
 
1358
1371
  .ftds--family-success.ft-button--secondary[disabled] {
1359
- opacity: ${u.secondarySuccessDisabledComponentOpacity};
1372
+ opacity: ${f.secondarySuccessDisabledComponentOpacity};
1360
1373
  }
1361
1374
 
1362
1375
  .ftds--family-success.ft-button--secondary ft-icon {
1363
- color: ${u.secondarySuccessIconColor};
1376
+ color: ${f.secondarySuccessIconColor};
1364
1377
  }
1365
1378
 
1366
1379
  /** Success Tertiary styles **/
1367
1380
 
1368
1381
  .ftds--family-success.ft-button--tertiary {
1369
- ${(0,C.setVariable)(rt.color,u.tertiarySuccessIconColor)};
1382
+ ${(0,C.setVariable)(rt.color,f.tertiarySuccessIconColor)};
1370
1383
 
1371
- ${(0,C.setVariable)(w.backgroundColor,u.tertiarySuccessStateLayerColor)};
1372
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiarySuccessHoverStateLayerOpacity)};
1373
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.tertiarySuccessFocusStateLayerOpacity)};
1374
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.tertiarySuccessActiveStateLayerOpacity)};
1375
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.tertiarySuccessActiveStateLayerOpacity)};
1384
+ ${(0,C.setVariable)(w.backgroundColor,f.tertiarySuccessStateLayerColor)};
1385
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
1386
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
1387
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
1388
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
1376
1389
 
1377
- background-color: ${u.tertiarySuccessBackgroundColor};
1378
- color: ${u.tertiarySuccessColor};
1390
+ background-color: ${f.tertiarySuccessBackgroundColor};
1391
+ color: ${f.tertiarySuccessColor};
1379
1392
  border-style: none;
1380
1393
  }
1381
1394
 
1382
1395
  .ftds--family-success.ft-button--tertiary[disabled] {
1383
- opacity: ${u.tertiarySuccessDisabledComponentOpacity};
1396
+ opacity: ${f.tertiarySuccessDisabledComponentOpacity};
1384
1397
  }
1385
1398
 
1386
1399
  .ftds--family-success.ft-button--tertiary ft-icon {
1387
- color: ${u.tertiarySuccessIconColor};
1400
+ color: ${f.tertiarySuccessIconColor};
1388
1401
  }
1389
1402
 
1390
1403
  /** Warning Secondary styles **/
1391
1404
 
1392
1405
  .ftds--family-warning.ft-button--secondary {
1393
- ${(0,C.setVariable)(rt.color,u.secondaryWarningIconColor)};
1406
+ ${(0,C.setVariable)(rt.color,f.secondaryWarningIconColor)};
1394
1407
 
1395
- ${(0,C.setVariable)(w.backgroundColor,u.secondaryWarningStateLayerColor)};
1396
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryWarningHoverStateLayerOpacity)};
1397
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.secondaryWarningFocusStateLayerOpacity)};
1398
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.secondaryWarningActiveStateLayerOpacity)};
1399
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.secondaryWarningActiveStateLayerOpacity)};
1408
+ ${(0,C.setVariable)(w.backgroundColor,f.secondaryWarningStateLayerColor)};
1409
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
1410
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
1411
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
1412
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
1400
1413
 
1401
- background-color: ${u.secondaryWarningBackgroundColor};
1402
- color: ${u.secondaryWarningColor};
1403
- border-color: ${u.secondaryWarningBorderColor};
1414
+ background-color: ${f.secondaryWarningBackgroundColor};
1415
+ color: ${f.secondaryWarningColor};
1416
+ border-color: ${f.secondaryWarningBorderColor};
1404
1417
  border-style: solid;
1405
1418
  }
1406
1419
 
1407
1420
  .ftds--family-warning.ft-button--secondary[disabled] {
1408
- opacity: ${u.secondaryWarningDisabledComponentOpacity};
1421
+ opacity: ${f.secondaryWarningDisabledComponentOpacity};
1409
1422
  }
1410
1423
 
1411
1424
  .ftds--family-warning.ft-button--secondary ft-icon {
1412
- color: ${u.secondaryWarningIconColor};
1425
+ color: ${f.secondaryWarningIconColor};
1413
1426
  }
1414
1427
 
1415
1428
  /** Warning Tertiary styles **/
1416
1429
 
1417
1430
  .ftds--family-warning.ft-button--tertiary {
1418
- ${(0,C.setVariable)(rt.color,u.tertiaryWarningIconColor)};
1431
+ ${(0,C.setVariable)(rt.color,f.tertiaryWarningIconColor)};
1419
1432
 
1420
- ${(0,C.setVariable)(w.backgroundColor,u.tertiaryWarningStateLayerColor)};
1421
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryWarningHoverStateLayerOpacity)};
1422
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.tertiaryWarningFocusStateLayerOpacity)};
1423
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.tertiaryWarningActiveStateLayerOpacity)};
1424
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.tertiaryWarningActiveStateLayerOpacity)};
1433
+ ${(0,C.setVariable)(w.backgroundColor,f.tertiaryWarningStateLayerColor)};
1434
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
1435
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
1436
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
1437
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
1425
1438
 
1426
- background-color: ${u.tertiaryWarningBackgroundColor};
1427
- color: ${u.tertiaryWarningColor};
1439
+ background-color: ${f.tertiaryWarningBackgroundColor};
1440
+ color: ${f.tertiaryWarningColor};
1428
1441
  border-style: none;
1429
1442
  }
1430
1443
 
1431
1444
  .ftds--family-warning.ft-button--tertiary[disabled] {
1432
- opacity: ${u.tertiaryWarningDisabledComponentOpacity};
1445
+ opacity: ${f.tertiaryWarningDisabledComponentOpacity};
1433
1446
  }
1434
1447
 
1435
1448
  .ftds--family-warning.ft-button--tertiary ft-icon {
1436
- color: ${u.tertiaryWarningIconColor};
1449
+ color: ${f.tertiaryWarningIconColor};
1437
1450
  }
1438
1451
 
1439
1452
  /** Error Secondary styles **/
1440
1453
 
1441
1454
  .ftds--family-error.ft-button--secondary {
1442
- ${(0,C.setVariable)(rt.color,u.secondaryErrorIconColor)};
1455
+ ${(0,C.setVariable)(rt.color,f.secondaryErrorIconColor)};
1443
1456
 
1444
- ${(0,C.setVariable)(w.backgroundColor,u.secondaryErrorStateLayerColor)};
1445
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.secondaryErrorHoverStateLayerOpacity)};
1446
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.secondaryErrorFocusStateLayerOpacity)};
1447
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.secondaryErrorActiveStateLayerOpacity)};
1448
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.secondaryErrorActiveStateLayerOpacity)};
1457
+ ${(0,C.setVariable)(w.backgroundColor,f.secondaryErrorStateLayerColor)};
1458
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
1459
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
1460
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
1461
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
1449
1462
 
1450
- background-color: ${u.secondaryErrorBackgroundColor};
1451
- color: ${u.secondaryErrorColor};
1452
- border-color: ${u.secondaryErrorBorderColor};
1463
+ background-color: ${f.secondaryErrorBackgroundColor};
1464
+ color: ${f.secondaryErrorColor};
1465
+ border-color: ${f.secondaryErrorBorderColor};
1453
1466
  border-style: solid;
1454
1467
  }
1455
1468
 
1456
1469
  .ftds--family-error.ft-button--secondary[disabled] {
1457
- opacity: ${u.secondaryErrorDisabledComponentOpacity};
1470
+ opacity: ${f.secondaryErrorDisabledComponentOpacity};
1458
1471
  }
1459
1472
 
1460
1473
  .ftds--family-error.ft-button--secondary ft-icon {
1461
- color: ${u.secondaryErrorIconColor};
1474
+ color: ${f.secondaryErrorIconColor};
1462
1475
  }
1463
1476
 
1464
1477
  /** Error Tertiary styles **/
1465
1478
 
1466
1479
  .ftds--family-error.ft-button--tertiary {
1467
- ${(0,C.setVariable)(rt.color,u.tertiaryErrorIconColor)};
1480
+ ${(0,C.setVariable)(rt.color,f.tertiaryErrorIconColor)};
1468
1481
 
1469
- ${(0,C.setVariable)(w.backgroundColor,u.tertiaryErrorStateLayerColor)};
1470
- ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,u.tertiaryErrorHoverStateLayerOpacity)};
1471
- ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,u.tertiaryErrorFocusStateLayerOpacity)};
1472
- ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,u.tertiaryErrorActiveStateLayerOpacity)};
1473
- ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,u.tertiaryErrorActiveStateLayerOpacity)};
1482
+ ${(0,C.setVariable)(w.backgroundColor,f.tertiaryErrorStateLayerColor)};
1483
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
1484
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
1485
+ ${(0,C.setVariable)(w.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
1486
+ ${(0,C.setVariable)(w.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
1474
1487
 
1475
- background-color: ${u.tertiaryErrorBackgroundColor};
1476
- color: ${u.tertiaryErrorColor};
1488
+ background-color: ${f.tertiaryErrorBackgroundColor};
1489
+ color: ${f.tertiaryErrorColor};
1477
1490
  border-style: none;
1478
1491
  }
1479
1492
 
1480
1493
  .ftds--family-error.ft-button--tertiary[disabled] {
1481
- opacity: ${u.tertiaryErrorDisabledComponentOpacity};
1494
+ opacity: ${f.tertiaryErrorDisabledComponentOpacity};
1482
1495
  }
1483
1496
 
1484
1497
  .ftds--family-error.ft-button--tertiary ft-icon {
1485
- color: ${u.tertiaryErrorIconColor};
1498
+ color: ${f.tertiaryErrorIconColor};
1486
1499
  }
1487
1500
 
1488
1501
  /** Large styles **/
1489
1502
 
1490
1503
  .ftds--size-large {
1491
- ${(0,C.setVariable)(xt.size,u.largeIconSize)};
1492
- ${(0,C.setVariable)(rt.size,u.largeIconSize)};
1504
+ ${(0,C.setVariable)(xt.size,f.largeIconSize)};
1505
+ ${(0,C.setVariable)(rt.size,f.largeIconSize)};
1493
1506
 
1494
- height: ${u.largeHeight};
1495
- padding: 0 ${u.largeHorizontalPadding};
1496
- gap: ${u.largeGap};
1497
- border-radius: ${u.largeBorderRadius};
1498
- border-width: ${u.largeBorderWidth};
1507
+ height: ${f.largeHeight};
1508
+ padding: 0 ${f.largeHorizontalPadding};
1509
+ gap: ${f.largeGap};
1510
+ border-radius: ${f.largeBorderRadius};
1511
+ border-width: ${f.largeBorderWidth};
1499
1512
  }
1500
1513
 
1501
1514
  .ftds--size-large:focus-visible {
1502
- outline-width: ${u.largeFocusOutlineWidth};
1503
- outline-offset: ${u.largeFocusOutlineOffset};
1515
+ outline-width: ${f.largeFocusOutlineWidth};
1516
+ outline-offset: ${f.largeFocusOutlineOffset};
1504
1517
  }
1505
1518
 
1506
1519
  .ftds--size-large.ft-button--icon-only {
1507
- width: ${u.largeIconOnlyWidth};
1520
+ width: ${f.largeIconOnlyWidth};
1508
1521
  }
1509
1522
 
1510
1523
  /** Small styles **/
1511
1524
 
1512
1525
  .ftds--size-medium {
1513
- ${(0,C.setVariable)(xt.size,u.mediumIconSize)};
1514
- ${(0,C.setVariable)(rt.size,u.mediumIconSize)};
1526
+ ${(0,C.setVariable)(xt.size,f.mediumIconSize)};
1527
+ ${(0,C.setVariable)(rt.size,f.mediumIconSize)};
1515
1528
 
1516
- height: ${u.mediumHeight};
1517
- padding: 0 ${u.mediumHorizontalPadding};
1518
- gap: ${u.mediumGap};
1519
- border-radius: ${u.mediumBorderRadius};
1520
- border-width: ${u.mediumBorderWidth};
1529
+ height: ${f.mediumHeight};
1530
+ padding: 0 ${f.mediumHorizontalPadding};
1531
+ gap: ${f.mediumGap};
1532
+ border-radius: ${f.mediumBorderRadius};
1533
+ border-width: ${f.mediumBorderWidth};
1521
1534
  }
1522
1535
 
1523
1536
  .ftds--size-medium:focus-visible {
1524
- outline-width: ${u.mediumFocusOutlineWidth};
1525
- outline-offset: ${u.mediumFocusOutlineOffset};
1537
+ outline-width: ${f.mediumFocusOutlineWidth};
1538
+ outline-offset: ${f.mediumFocusOutlineOffset};
1526
1539
  }
1527
1540
 
1528
1541
  .ftds--size-medium.ft-button--icon-only {
1529
- width: ${u.mediumIconOnlyWidth};
1542
+ width: ${f.mediumIconOnlyWidth};
1530
1543
  }
1531
1544
 
1532
1545
 
1533
1546
  /** Small styles **/
1534
1547
 
1535
1548
  .ftds--size-small {
1536
- ${(0,C.setVariable)(xt.size,u.smallIconSize)};
1537
- ${(0,C.setVariable)(rt.size,u.smallIconSize)};
1549
+ ${(0,C.setVariable)(xt.size,f.smallIconSize)};
1550
+ ${(0,C.setVariable)(rt.size,f.smallIconSize)};
1538
1551
 
1539
- height: ${u.smallHeight};
1540
- padding: 0 ${u.smallHorizontalPadding};
1541
- gap: ${u.smallGap};
1542
- border-radius: ${u.smallBorderRadius};
1543
- border-width: ${u.smallBorderWidth};
1552
+ height: ${f.smallHeight};
1553
+ padding: 0 ${f.smallHorizontalPadding};
1554
+ gap: ${f.smallGap};
1555
+ border-radius: ${f.smallBorderRadius};
1556
+ border-width: ${f.smallBorderWidth};
1544
1557
  }
1545
1558
 
1546
1559
  .ftds--size-small:focus-visible {
1547
- outline-width: ${u.smallFocusOutlineWidth};
1548
- outline-offset: ${u.smallFocusOutlineOffset};
1560
+ outline-width: ${f.smallFocusOutlineWidth};
1561
+ outline-offset: ${f.smallFocusOutlineOffset};
1549
1562
  }
1550
1563
 
1551
1564
  .ftds--size-small.ft-button--icon-only {
1552
- width: ${u.smallIconOnlyWidth};
1565
+ width: ${f.smallIconOnlyWidth};
1553
1566
  }
1554
- `,C.noTextSelect];var Ko=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Pe=class extends(0,Zo.toFtdsBase)(ut){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ro.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 Er.large:return He.body2medium;case Er.medium:return He.caption1medium;case Er.small:return He.caption2medium}}};Pe.styles=[Zo.safariEllipsisFix,Hc];Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"primary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"secondary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"tertiary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"round",void 0);(0,xn.customElement)("ft-button")(fe);(0,xn.customElement)("ftds-button")(Pe);var Gl=g(R());var mi=g(B()),gi=g(Z()),bi=g(R());var Vc=g(B());var Gc=Vc.css`
1555
- `;var yi=g(R());var zl=g(R());var Yc=g(B()),ne=g(Z()),ue=g(R());var jc=g(B());var Kc=jc.css`
1556
- `;var qo=g(R()),dp="ft-app-info",Sn=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},pp={session:(e,t)=>{(0,qo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>T.eventBus.dispatchEvent(new Sn(t.payload)),0))}},T=qo.FtReduxStore.get({name:dp,reducers:pp,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var qe=g(R());var On=g(R());var vr=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:i}=T.getState(),n=t??i;if(o&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,n,!0)}static await(t){return new Promise(o=>{let i=e.get(t);if(i)o(i);else{let n=T.subscribe(()=>{i=e.get(t),i&&(n(),o(i))})}})}};var Ce=class{constructor(t=!0,o){var i;this.overrideApi=o;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new On.CacheRegistry,this.cache=t?n.commonCache:new On.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:vr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):vr.await()}clearCache(){this.cache.clearAll()}};var Zc,fp=Symbol("clearAfterUnitTest"),Yo=class extends Ce{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Zc]=()=>{this.defaultMessages={},this.cache=new qe.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 o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...o};(0,qe.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var o,i;return this.fetchContext(t),(i=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(t,o){let i=t.toLowerCase();return this.resolveContext(i)[o]}resolveMessage(t,o,...i){var n;let a=t.toLowerCase(),s=this.resolveContext(a);return new qe.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(o,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(o){console.error(o)}}subscribe(t,o){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(o),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,qe.delay)(0).then(()=>o()).catch(()=>null)))}};Zc=fp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Yo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Yo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var xr=window.FluidTopicsI18nService,qc=window.FluidTopicsCustomI18nService;var zt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ht=class extends ue.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=()=>vr.get(),this.messageContexts=[],this.cache=new ue.CacheRegistry,this.cleanSessionDebouncer=new ue.Debouncer}render(){return Yc.html`
1567
+ `,C.noTextSelect];var Ko=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Pe=class extends(0,Zo.toFtdsBase)(st){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ro.brand,this.iconVariant=kt.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 Ar.large:return He.body2medium;case Ar.medium:return He.caption1medium;case Ar.small:return He.caption2medium}}};Pe.styles=[Zo.safariEllipsisFix,Vc];Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"primary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"secondary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"tertiary",void 0);Ko([(0,yo.property)({type:Boolean})],Pe.prototype,"round",void 0);(0,On.customElement)("ft-button")(ue);(0,On.customElement)("ftds-button")(Pe);var jl=g(R());var gi=g(B()),bi=g(Z()),vi=g(R());var Gc=g(B());var jc=Gc.css`
1568
+ `;var mi=g(R());var Hl=g(R());var Xc=g(B()),qt=g(Z()),fe=g(R());var Kc=g(B());var Zc=Kc.css`
1569
+ `;var qo=g(R()),pp="ft-app-info",Cn=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},up={session:(e,t)=>{(0,qo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>N.dispatchEvent(new Cn(t.payload)),0))}},N=qo.FtReduxStore.get({name:pp,reducers:up,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Ye=g(R());var wn=g(R());var xr=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:i}=N.getState(),n=t??i;if(o&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,n,!0)}static await(t){return new Promise(o=>{let i=e.get(t);if(i)o(i);else{let n=N.subscribe(()=>{i=e.get(t),i&&(n(),o(i))})}})}};var Ce=class{constructor(t=!0,o){var i;this.overrideApi=o;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new wn.CacheRegistry,this.cache=t?n.commonCache:new wn.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:xr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):xr.await()}clearCache(){this.cache.clearAll()}};var qc,fp=Symbol("clearAfterUnitTest"),Yo=class extends Ce{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[qc]=()=>{this.defaultMessages={},this.cache=new Ye.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=N.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...o};(0,Ye.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var o,i;return this.fetchContext(t),(i=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(t,o){let i=t.toLowerCase();return this.resolveContext(i)[o]}resolveMessage(t,o,...i){var n;let a=t.toLowerCase(),s=this.resolveContext(a);return new Ye.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(o,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(o){console.error(o)}}subscribe(t,o){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(o),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,Ye.delay)(0).then(()=>o()).catch(()=>null)))}};qc=fp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Yo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Yo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Sr=window.FluidTopicsI18nService,Yc=window.FluidTopicsCustomI18nService;var $t=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},dt=class extends fe.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=()=>xr.get(),this.messageContexts=[],this.cache=new fe.CacheRegistry,this.cleanSessionDebouncer=new fe.Debouncer}render(){return Xc.html`
1557
1570
  <slot></slot>
1558
- `}update(t){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("availableUiLocales")&&T.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>xr.addContext(o)),t.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ht.elementDefinitions={};ht.styles=Kc;zt([(0,ne.property)()],ht.prototype,"baseUrl",void 0);zt([(0,ne.property)()],ht.prototype,"apiIntegrationIdentifier",void 0);zt([(0,ne.property)()],ht.prototype,"uiLocale",void 0);zt([(0,ue.jsonProperty)(null)],ht.prototype,"availableUiLocales",void 0);zt([(0,ue.jsonProperty)(null)],ht.prototype,"metadataConfiguration",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"editorMode",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"noCustom",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"openExternalDocumentInNewTab",void 0);zt([(0,ne.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],ht.prototype,"noCustomComponent",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"withManualResources",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"navigatorOnline",void 0);zt([(0,ne.property)({type:Boolean})],ht.prototype,"forcedOffline",void 0);zt([(0,ne.property)({type:Object})],ht.prototype,"apiProvider",void 0);zt([(0,ue.jsonProperty)([])],ht.prototype,"messageContexts",void 0);zt([(0,ue.jsonProperty)(void 0)],ht.prototype,"session",void 0);var Qp=g(Z());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 o,i,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!Xo(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(!Xo(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();if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(i=o;i--!==0;){var a=n[i];if(!Xo(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Xo(e,t){try{return up(e,t)}catch{return!1}}function Cn(e,t){return!Xo(e,t)}var hp=g(Z(),1);var Qo=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(i=>i.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(i=>i.type===t);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}};var mo=g(Z(),1);var Xc=g(Z(),1);function Qc(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Xc.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:Cn,...t??{}})}var Jo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let i=[...this.callbacks];this.callbacks=[];let n=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);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 tl=g(B(),1);var ti=window,yp=ti.ShadowRoot&&(ti.ShadyCSS===void 0||ti.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,tx=Symbol();var Jc=(e,t)=>{yp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let i=document.createElement("style"),n=ti.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,e.appendChild(i)})};var ei=class extends tl.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 o={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return Jc(i,t.elementStyles),i}};var ri=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},il,el=Symbol("constructorPrototype"),rl=Symbol("constructorName"),nl=Symbol("exportpartsDebouncer"),ol=Symbol("dynamicDependenciesLoaded"),Ye=class extends ei{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[il]=new Jo(5),this[rl]=this.constructor.name,this[el]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[rl]&&Object.setPrototypeOf(this,this[el])}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 t=this.constructor;t[ol]||(t[ol]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){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(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,o,i;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[nl].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 o,i,n,a,s,l;let f=b=>b!=null&&b.trim().length>0,p=t.filter(f).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=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...S).filter(f).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(b=>p.map(x=>`${b}:${x}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};il=nl;ri([(0,mo.property)()],Ye.prototype,"exportpartsPrefix",void 0);ri([Qc([])],Ye.prototype,"exportpartsPrefixes",void 0);ri([(0,mo.property)()],Ye.prototype,"customStylesheet",void 0);ri([(0,mo.state)()],Ye.prototype,"useAdoptedStyleSheets",void 0);function go(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var al,sl,cl,oi=Symbol("internalReduxEventsUnsubscribers"),Xe=Symbol("internalStoresUnsubscribers"),Sr=Symbol("internalStores"),bo=class extends Ye{constructor(){super(...arguments),this[al]=new Map,this[sl]=new Map,this[cl]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Sr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Sr].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Sr].get(t)}addStore(t,o){var i;o=(i=o??(go(t)?t.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Sr].delete(o)}setupStore(t,o){this[Sr].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Sr].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(t.store);n&&(t.store?this[Xe].has(t.store):this[Xe].size>0)&&(this[o]=t.selector(n.getState(),this))}})}subscribeToStore(t,o){var i;this[Xe].set(t,o.subscribe(()=>this.updateFromStores())),go(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=l=>this[a](l);o.eventBus.addEventListener(n.eventName,s),this[oi].push(()=>o.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xe].forEach((t,o)=>this.unsubscribeFromStore(o)),this[oi].forEach(t=>t()),this[oi]=[]}unsubscribeFromStore(t){this[Xe].has(t)&&this[Xe].get(t)(),this[Xe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};al=Xe,sl=Sr,cl=oi;bo.reduxProperties=new Map;bo.reduxReactiveProperties=new Set;bo.reduxEventListeners=new Map;function ae(e){for(var t=arguments.length,o=Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function De(e){return!!e&&!!e[it]}function he(e){var t;return!!e&&(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)===Cp}(e)||Array.isArray(e)||!!e[yl]||!!(!((t=e.constructor)===null||t===void 0)&&t[yl])||kn(e)||Ln(e))}function Or(e,t,o){o===void 0&&(o=!1),Gr(e)===0?(o?Object.keys:Vr)(e).forEach(function(i){o&&typeof i=="symbol"||t(i,e[i],e)}):e.forEach(function(i,n){return t(n,i,e)})}function Gr(e){var t=e[it];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:kn(e)?2:Ln(e)?3:0}function Hr(e,t){return Gr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function mp(e,t){return Gr(e)===2?e.get(t):e[t]}function ml(e,t,o){var i=Gr(e);i===2?e.set(t,o):i===3?e.add(o):e[t]=o}function gl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function kn(e){return Sp&&e instanceof Map}function Ln(e){return Op&&e instanceof Set}function Qe(e){return e.o||e.t}function Pn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=xl(e);delete t[it];for(var o=Vr(t),i=0;i<o.length;i++){var n=o[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 Dn(e,t){return t===void 0&&(t=!1),$n(e)||De(e)||!he(e)||(Gr(e)>1&&(e.set=e.add=e.clear=e.delete=gp),Object.freeze(e),t&&Or(e,function(o,i){return Dn(i,!0)},!0)),e}function gp(){ae(2)}function $n(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function we(e){var t=_n[e];return t||ae(18,e),t}function bp(e,t){_n[e]||(_n[e]=t)}function In(){return xo}function wn(e,t){t&&(we("Patches"),e.u=[],e.s=[],e.v=t)}function ii(e){Nn(e),e.p.forEach(vp),e.p=null}function Nn(e){e===xo&&(xo=e.l)}function ll(e){return xo={p:[],l:xo,h:e,m:!0,_:0}}function vp(e){var t=e[it];t.i===0||t.i===1?t.j():t.g=!0}function En(e,t){t._=t.p.length;var o=t.p[0],i=e!==void 0&&e!==o;return t.h.O||we("ES5").S(t,e,i),i?(o[it].P&&(ii(t),ae(4)),he(e)&&(e=ni(t,e),t.l||ai(t,e)),t.u&&we("Patches").M(o[it].t,e,t.u,t.s)):e=ni(t,o,[]),ii(t),t.u&&t.v(t.u,t.s),e!==vl?e:void 0}function ni(e,t,o){if($n(t))return t;var i=t[it];if(!i)return Or(t,function(l,f){return dl(e,i,t,l,f,o)},!0),t;if(i.A!==e)return t;if(!i.P)return ai(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Pn(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Or(a,function(l,f){return dl(e,i,n,l,f,o,s)}),ai(e,n,!1),o&&e.u&&we("Patches").N(i,o,e.u,e.s)}return i.o}function dl(e,t,o,i,n,a,s){if(De(n)){var l=ni(e,n,a&&t&&t.i!==3&&!Hr(t.R,i)?a.concat(i):void 0);if(ml(o,i,l),!De(l))return;e.m=!1}else s&&o.add(n);if(he(n)&&!$n(n)){if(!e.h.D&&e._<1)return;ni(e,n),t&&t.A.l||ai(e,n)}}function ai(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Dn(t,o)}function An(e,t){var o=e[it];return(o?Qe(o):e)[t]}function pl(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var i=Object.getOwnPropertyDescriptor(o,t);if(i)return i;o=Object.getPrototypeOf(o)}}function Je(e){e.P||(e.P=!0,e.l&&Je(e.l))}function Rn(e){e.o||(e.o=Pn(e.t))}function Tn(e,t,o){var i=kn(t)?we("MapSet").F(t,o):Ln(t)?we("MapSet").T(t,o):e.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:In(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=l,p=So;s&&(f=[l],p=vo);var h=Proxy.revocable(f,p),m=h.revoke,b=h.proxy;return l.k=b,l.j=m,b}(t,o):we("ES5").J(t,o);return(o?o.A:In()).p.push(i),i}function xp(e){return De(e)||ae(22,e),function t(o){if(!he(o))return o;var i,n=o[it],a=Gr(o);if(n){if(!n.P&&(n.i<4||!we("ES5").K(n)))return n.t;n.I=!0,i=fl(o,a),n.I=!1}else i=fl(o,a);return Or(i,function(s,l){n&&mp(n.t,s)===l||ml(i,s,t(l))}),a===3?new Set(i):i}(e)}function fl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Pn(e)}function bl(){function e(s,l){var f=a[s];return f?f.enumerable=l:a[s]=f={configurable:!0,enumerable:l,get:function(){var p=this[it];return So.get(p,s)},set:function(p){var h=this[it];So.set(h,s,p)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][it];if(!f.P)switch(f.i){case 5:i(f)&&Je(f);break;case 4:o(f)&&Je(f)}}}function o(s){for(var l=s.t,f=s.k,p=Vr(f),h=p.length-1;h>=0;h--){var m=p[h];if(m!==it){var b=l[m];if(b===void 0&&!Hr(l,m))return!0;var x=f[m],S=x&&x[it];if(S?S.t!==b:!gl(x,b))return!0}}var O=!!l[it];return p.length!==Vr(l).length+(O?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&ae(3,JSON.stringify(Qe(s)))}var a={};bp("ES5",{J:function(s,l){var f=Array.isArray(s),p=function(m,b){if(m){for(var x=Array(b.length),S=0;S<b.length;S++)Object.defineProperty(x,""+S,e(S,!0));return x}var O=xl(b);delete O[it];for(var _=Vr(O),I=0;I<_.length;I++){var N=_[I];O[N]=e(N,m||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(f,s),h={i:f?5:4,A:l?l.A:In(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,it,{value:h,writable:!0}),p},S:function(s,l,f){f?De(l)&&l[it].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var m=h[it];if(m){var b=m.t,x=m.k,S=m.R,O=m.i;if(O===4)Or(x,function(F){F!==it&&(b[F]!==void 0||Hr(b,F)?S[F]||p(x[F]):(S[F]=!0,Je(m)))}),Or(b,function(F){x[F]!==void 0||Hr(x,F)||(S[F]=!1,Je(m))});else if(O===5){if(i(m)&&(Je(m),S.length=!0),x.length<b.length)for(var _=x.length;_<b.length;_++)S[_]=!1;else for(var I=b.length;I<x.length;I++)S[I]=!0;for(var N=Math.min(x.length,b.length),$=0;$<N;$++)x.hasOwnProperty($)||(S[$]=!0),S[$]===void 0&&p(x[$])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):i(s)}})}var ul,xo,Bn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Sp=typeof Map<"u",Op=typeof Set<"u",hl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",vl=Bn?Symbol.for("immer-nothing"):((ul={})["immer-nothing"]=!0,ul),yl=Bn?Symbol.for("immer-draftable"):"__$immer_draftable",it=Bn?Symbol.for("immer-state"):"__$immer_state";var Cp=""+Object.prototype.constructor,Vr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,xl=Object.getOwnPropertyDescriptors||function(e){var t={};return Vr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},_n={},So={get:function(e,t){if(t===it)return e;var o=Qe(e);if(!Hr(o,t))return function(n,a,s){var l,f=pl(a,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(n.k):void 0}(e,o,t);var i=o[t];return e.I||!he(i)?i:i===An(e.t,t)?(Rn(e),e.o[t]=Tn(e.A.h,i,e)):i},has:function(e,t){return t in Qe(e)},ownKeys:function(e){return Reflect.ownKeys(Qe(e))},set:function(e,t,o){var i=pl(Qe(e),t);if(i?.set)return i.set.call(e.k,o),!0;if(!e.P){var n=An(Qe(e),t),a=n?.[it];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(gl(o,n)&&(o!==void 0||Hr(e.t,t)))return!0;Rn(e),Je(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return An(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Rn(e),Je(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Qe(e),i=Reflect.getOwnPropertyDescriptor(o,t);return i&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:i.enumerable,value:o[t]}},defineProperty:function(){ae(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ae(12)}},vo={};Or(So,function(e,t){vo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),vo.deleteProperty=function(e,t){return vo.set.call(this,e,t,void 0)},vo.set=function(e,t,o){return So.set.call(this,e[0],t,o,e[0])};var wp=function(){function e(o){var i=this;this.O=hl,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var f=i;return function(O){var _=this;O===void 0&&(O=l);for(var I=arguments.length,N=Array(I>1?I-1:0),$=1;$<I;$++)N[$-1]=arguments[$];return f.produce(O,function(F){var W;return(W=a).call.apply(W,[_,F].concat(N))})}}var p;if(typeof a!="function"&&ae(6),s!==void 0&&typeof s!="function"&&ae(7),he(n)){var h=ll(i),m=Tn(i,n,void 0),b=!0;try{p=a(m),b=!1}finally{b?ii(h):Nn(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return wn(h,s),En(O,h)},function(O){throw ii(h),O}):(wn(h,s),En(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===vl&&(p=void 0),i.D&&Dn(p,!0),s){var x=[],S=[];we("Patches").M(n,p,x,S),s(x,S)}return p}ae(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,m=Array(h>1?h-1:0),b=1;b<h;b++)m[b-1]=arguments[b];return i.produceWithPatches(p,function(x){return n.apply(void 0,[x].concat(m))})};var s,l,f=i.produce(n,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&f instanceof Promise?f.then(function(p){return[p,s,l]}):[f,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){he(o)||ae(8),De(o)&&(o=xp(o));var i=ll(this),n=Tn(this,o,void 0);return n[it].C=!0,Nn(i),n},t.finishDraft=function(o,i){var n=o&&o[it],a=n.A;return wn(a,i),En(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!hl&&ae(20),this.O=o},t.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=we("Patches").$;return De(o)?s(o,i):this.produce(o,function(l){return s(l,i)})},e}(),te=new wp,Ep=te.produce,fx=te.produceWithPatches.bind(te),ux=te.setAutoFreeze.bind(te),hx=te.setUseProxies.bind(te),yx=te.applyPatches.bind(te),mx=te.createDraft.bind(te),gx=te.finishDraft.bind(te),si=Ep;function tr(e){"@babel/helpers - typeof";return tr=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},tr(e)}function Mn(e,t){if(tr(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var i=o.call(e,t||"default");if(tr(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fn(e){var t=Mn(e,"string");return tr(t)==="symbol"?t:String(t)}function Un(e,t,o){return t=Fn(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Sl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),o.push.apply(o,i)}return o}function ci(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Sl(Object(o),!0).forEach(function(i){Un(e,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Sl(Object(o)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i))})}return e}function Pt(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 Ol=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Wn=function(){return Math.random().toString(36).substring(7).split("").join(".")},li={INIT:"@@redux/INIT"+Wn(),REPLACE:"@@redux/REPLACE"+Wn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Wn()}};function Ap(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 zn(e,t,o){var i;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Pt(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Pt(1));return o(zn)(e,t)}if(typeof e!="function")throw new Error(Pt(2));var n=e,a=t,s=[],l=s,f=!1;function p(){l===s&&(l=s.slice())}function h(){if(f)throw new Error(Pt(3));return a}function m(O){if(typeof O!="function")throw new Error(Pt(4));if(f)throw new Error(Pt(5));var _=!0;return p(),l.push(O),function(){if(_){if(f)throw new Error(Pt(6));_=!1,p();var N=l.indexOf(O);l.splice(N,1),s=null}}}function b(O){if(!Ap(O))throw new Error(Pt(7));if(typeof O.type>"u")throw new Error(Pt(8));if(f)throw new Error(Pt(9));try{f=!0,a=n(a,O)}finally{f=!1}for(var _=s=l,I=0;I<_.length;I++){var N=_[I];N()}return O}function x(O){if(typeof O!="function")throw new Error(Pt(10));n=O,b({type:li.REPLACE})}function S(){var O,_=m;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Pt(11));function $(){N.next&&N.next(h())}$();var F=_($);return{unsubscribe:F}}},O[Ol]=function(){return this},O}return b({type:li.INIT}),i={dispatch:b,subscribe:m,getState:h,replaceReducer:x},i[Ol]=S,i}function Rp(e){Object.keys(e).forEach(function(t){var o=e[t],i=o(void 0,{type:li.INIT});if(typeof i>"u")throw new Error(Pt(12));if(typeof o(void 0,{type:li.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Pt(13))})}function Cl(e){for(var t=Object.keys(e),o={},i=0;i<t.length;i++){var n=t[i];typeof e[n]=="function"&&(o[n]=e[n])}var a=Object.keys(o),s,l;try{Rp(o)}catch(f){l=f}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var m;for(var b=!1,x={},S=0;S<a.length;S++){var O=a[S],_=o[O],I=p[O],N=_(I,h);if(typeof N>"u"){var $=h&&h.type;throw new Error(Pt(14))}x[O]=N,b=b||N!==I}return b=b||a.length!==Object.keys(p).length,b?x:p}}function jr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];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 wl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Pt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return a=jr.apply(void 0,l)(n.dispatch),ci(ci({},n),{},{dispatch:a})}}}function El(e){var t=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,e):s(l)}}};return t}var Al=El();Al.withExtraArgument=El;var Hn=Al;var _l=function(){var e=function(t,o){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,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function i(){this.constructor=t}t.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),Ip=function(e,t){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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return f([p,h])}}function f(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=t.call(e,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}}},Kr=function(e,t){for(var o=0,i=t.length,n=e.length;o<i;o++,n++)e[n]=t[o];return e},Np=Object.defineProperty,Tp=Object.defineProperties,_p=Object.getOwnPropertyDescriptors,Rl=Object.getOwnPropertySymbols,kp=Object.prototype.hasOwnProperty,Lp=Object.prototype.propertyIsEnumerable,Il=function(e,t,o){return t in e?Np(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},er=function(e,t){for(var o in t||(t={}))kp.call(t,o)&&Il(e,o,t[o]);if(Rl)for(var i=0,n=Rl(t);i<n.length;i++){var o=n[i];Lp.call(t,o)&&Il(e,o,t[o])}return e},Vn=function(e,t){return Tp(e,_p(t))},Pp=function(e,t,o){return new Promise(function(i,n){var a=function(f){try{l(o.next(f))}catch(p){n(p)}},s=function(f){try{l(o.throw(f))}catch(p){n(p)}},l=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(a,s)};l((o=o.apply(e,t)).next())})};var Dp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?jr:jr.apply(null,arguments)},Dx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function $p(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Bp=function(e){_l(t,e);function t(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=e.apply(this,o)||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 o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,Kr([void 0],o[0].concat(this)))):new(t.bind.apply(t,Kr([void 0],o.concat(this))))},t}(Array),Mp=function(e){_l(t,e);function t(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=e.apply(this,o)||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 o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,Kr([void 0],o[0].concat(this)))):new(t.bind.apply(t,Kr([void 0],o.concat(this))))},t}(Array);function Kn(e){return he(e)?si(e,function(){}):e}function Fp(e){return typeof e=="boolean"}function Up(){return function(t){return Wp(t)}}function Wp(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,i=e.immutableCheck,n=i===void 0?!0:i,a=e.serializableCheck,s=a===void 0?!0:a,l=new Bp;if(o&&(Fp(o)?l.push(Hn):l.push(Hn.withExtraArgument(o.extraArgument))),0){if(n)var f;if(s)var p}return l}var Gn=!0;function kl(e){var t=Up(),o=e||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,s=a===void 0?t():a,l=o.devTools,f=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,m=o.enhancers,b=m===void 0?void 0:m,x;if(typeof n=="function")x=n;else if($p(n))x=Cl(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),!Gn&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Gn&&S.some(function(F){return typeof F!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=wl.apply(void 0,S),_=jr;f&&(_=Dp(er({trace:!Gn},typeof f=="object"&&f)));var I=new Mp(O),N=I;Array.isArray(b)?N=Kr([O],b):typeof b=="function"&&(N=b(I));var $=_.apply(void 0,N);return zn(x,h,$)}function rr(e,t){function o(){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 er(er({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:i[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(i){return i.type===e},o}function Ll(e){var t={},o=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,n},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return e(n),[t,o,i]}function zp(e){return typeof e=="function"}function Hp(e,t,o,i){o===void 0&&(o=[]);var n=typeof t=="function"?Ll(t):[t,o,i],a=n[0],s=n[1],l=n[2],f;if(zp(e))f=function(){return Kn(e())};else{var p=Kn(e);f=function(){return p}}function h(m,b){m===void 0&&(m=f());var x=Kr([a[b.type]],s.filter(function(S){var O=S.matcher;return O(b)}).map(function(S){var O=S.reducer;return O}));return x.filter(function(S){return!!S}).length===0&&(x=[l]),x.reduce(function(S,O){if(O)if(De(S)){var _=S,I=O(_,b);return I===void 0?S:I}else{if(he(S))return si(S,function(N){return O(N,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},m)}return h.getInitialState=f,h}function Vp(e,t){return e+"/"+t}function Pl(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Kn(e.initialState),i=e.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var m=i[h],b=Vp(t,h),x,S;"reducer"in m?(x=m.reducer,S=m.prepare):x=m,a[h]=x,s[b]=x,l[h]=S?rr(b,S):rr(b)});function f(){var h=typeof e.extraReducers=="function"?Ll(e.extraReducers):[e.extraReducers],m=h[0],b=m===void 0?{}:m,x=h[1],S=x===void 0?[]:x,O=h[2],_=O===void 0?void 0:O,I=er(er({},b),s);return Hp(o,function(N){for(var $ in I)N.addCase($,I[$]);for(var F=0,W=S;F<W.length;F++){var Ht=W[F];N.addMatcher(Ht.matcher,Ht.reducer)}_&&N.addDefaultCase(_)})}var p;return{name:t,reducer:function(h,m){return p||(p=f()),p(h,m)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=f()),p.getInitialState()}}}var Gp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",jp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Gp[Math.random()*64|0];return t},Kp=["name","message","stack","code"],jn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Nl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Zp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,i=Kp;o<i.length;o++){var n=i[o];typeof e[n]=="string"&&(t[n]=e[n])}return t}return{message:String(e)}},Fx=function(){function e(t,o,i){var n=rr(t+"/fulfilled",function(h,m,b,x){return{payload:h,meta:Vn(er({},x||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),a=rr(t+"/pending",function(h,m,b){return{payload:void 0,meta:Vn(er({},b||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=rr(t+"/rejected",function(h,m,b,x,S){return{payload:x,error:(i&&i.serializeError||Zp)(h||"Rejected"),meta:Vn(er({},S||{}),{arg:b,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,f=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(m,b,x){var S=i?.idGenerator?i.idGenerator(h):jp(),O=new f,_,I=!1;function N(F){_=F,O.abort()}var $=function(){return Pp(this,null,function(){var F,W,Ht,ge,Bt,be,Et;return Ip(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),ge=(F=i?.condition)==null?void 0:F.call(i,h,{getState:b,extra:x}),Yp(ge)?[4,ge]:[3,2];case 1:ge=y.sent(),y.label=2;case 2:if(ge===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,Bt=new Promise(function(v,L){return O.signal.addEventListener("abort",function(){return L({name:"AbortError",message:_||"Aborted"})})}),m(a(S,h,(W=i?.getPendingMeta)==null?void 0:W.call(i,{requestId:S,arg:h},{getState:b,extra:x}))),[4,Promise.race([Bt,Promise.resolve(o(h,{dispatch:m,getState:b,extra:x,requestId:S,signal:O.signal,abort:N,rejectWithValue:function(v,L){return new jn(v,L)},fulfillWithValue:function(v,L){return new Nl(v,L)}})).then(function(v){if(v instanceof jn)throw v;return v instanceof Nl?n(v.payload,S,h,v.meta):n(v,S,h)})])];case 3:return Ht=y.sent(),[3,5];case 4:return be=y.sent(),Ht=be instanceof jn?s(null,S,h,be.payload,be.meta):s(be,S,h),[3,5];case 5:return Et=i&&!i.dispatchConditionRejection&&s.match(Ht)&&Ht.meta.condition,Et||m(Ht),[2,Ht]}})})}();return Object.assign($,{abort:N,requestId:S,arg:h,unwrap:function(){return $.then(qp)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:t})}return e.withTypes=function(){return e},e}();function qp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Yp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Dl="listener",$l="completed",Bl="cancelled",Ux="task-"+Bl,Wx="task-"+$l,zx=Dl+"-"+Bl,Hx=Dl+"-"+$l;var Zn="listenerMiddleware";var Vx=rr(Zn+"/add"),Gx=rr(Zn+"/removeAll"),jx=rr(Zn+"/remove");var Tl,Kx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Tl||(Tl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Xp=function(e){return function(t){setTimeout(t,e)}},Zx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Xp(10);bl();window.ftReduxStores||(window.ftReduxStores={});var Ml=class e{static get(t){var o;let i=typeof t=="string"?t:t.name,n=typeof t=="string"?void 0:t,a=window.ftReduxStores[i];if(go(a))return a;if(n==null)return;let s=Pl({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),l=kl({reducer:(f,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...p.overwrites}:s.reducer(f,p)});return window.ftReduxStores[n.name]=new e(s,l)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qo,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...f)=>{let p=l(...f);return this.reduxStore.dispatch(p),p}:f=>{this.setState({[s]:f})}}})}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 ui=g(R());var di=class extends Ce{async listMySearches(){let t=T.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var pi=class extends Ce{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 Jp="ft-user-assets",fi=ui.FtReduxStore.get({name:Jp,initialState:{savedSearches:void 0,bookmarks:void 0}}),qn=class{constructor(){this.currentSession=T.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new pi,this.savedSearchesService=new di,T.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=T.getState();(0,ui.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),fi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),fi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();fi.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;fi.actions.bookmarks(o)}}},Fl=new qn;var Yn=class{addCommand(t,o=!1){T.commands.add(t,o)}consumeCommand(t){return T.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Yn;var Ul=g(R()),Xn=class{highlightHtml(t,o,i){(0,Ul.highlightHtml)(t,o,i)}};window.FluidTopicsHighlightHtmlService=new Xn;var Wl=g(R());var Qn=class{isDate(t){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(l=>l.key===t))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(t,o){var i,n,a;return Wl.DateFormatter.format(t,(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 Qn;(0,zl.customElement)("ft-app-context")(ht);var Vl=g(Z()),tf=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},Jn=Symbol("i18nAttributes"),ta=Symbol("i18nListAttributes"),Cr=Symbol("i18nProperties"),Oo=Symbol("i18nUnsubs");function or(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?qc:xr}i18n(n,a,...s){var l;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let f=(l=n.args)!==null&&l!==void 0?l:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...f)}onI18nUpdate(n){var a,s,l;(a=this[Jn])===null||a===void 0||a.forEach((f,p)=>{let h=this.getI18nAttributeValue(p);h&&(this[p]=this.getI18nAttributeMessage(h,f,n))}),(s=this[ta])===null||s===void 0||s.forEach((f,p)=>{let h=this.getI18nListAttributeValues(p);this[p]=h?.map(m=>this.getI18nAttributeMessage(m,f,n))}),(l=this[Cr])===null||l===void 0||l.forEach((f,p)=>{f.context.toLowerCase()===n.toLowerCase()&&(this[p]=this.i18n(f))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(n,a){return{...n,message:this.i18n({context:n.context,key:n.key,...a})}}getI18nAttributeMessage(n,a,s){var l;let f=!s||((l=n.context)===null||l===void 0?void 0:l.toLowerCase())===s.toLowerCase();return n.context&&n.key&&f?this.buildI18nAttributeMessage(n,a):n}update(n){var a,s,l;super.update(n),(a=this[Jn])===null||a===void 0||a.forEach((f,p)=>{let h=this.getI18nAttributeValue(p);h?.context&&h.key&&(n.has(p)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(h,n,p),this[p]=this.getI18nAttributeMessage(h,f))}),(s=this[ta])===null||s===void 0||s.forEach((f,p)=>{let h=this.getI18nListAttributeValues(p);(n.has(p)||f.argsProvider!=null)&&(this[p]=h?.map(m=>(this.addI18nContextIfNeeded(m,n,p),this.getI18nAttributeMessage(m,f))))}),(l=this[Cr])===null||l===void 0||l.forEach((f,p)=>{f.argsProvider!=null&&(this[p]=this.i18n(f))})}getI18nAttributeValue(n){return this[n]}getI18nListAttributeValues(n){return this[n]}addI18nContextIfNeeded(n,a,s){n.context&&n.key&&a.has(s)&&this.addI18nContext(n.context)}connectedCallback(){var n,a,s,l,f,p;super.connectedCallback(),new Set([...(a=(n=this[Cr])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Jn])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(h=>this.getI18nAttributeValue(h)),...[...(p=(f=this[ta])===null||f===void 0?void 0:f.keys())!==null&&p!==void 0?p:[]].flatMap(h=>this.getI18nListAttributeValues(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(n,a){n=n.toLowerCase(),this[Oo].has(n)||this[Oo].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{}),this.onI18nUpdate(n)}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach(n=>n()),this[Oo].clear()}}return t=Oo,tf([(0,Vl.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var Hl=class extends or(yi.FtLitElement){},hi=class extends or(yi.FtLitElementRedux){};var Co=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ye=class extends hi{constructor(){super(),this.editorMode=!1,this.addStore(T)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":mi.nothing:mi.html`
1571
+ `}update(t){var o,i,n,a,s;super.update(t),t.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&N.actions.noCustom(this.noCustom),t.has("editorMode")&&N.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>Sr.addContext(l)),t.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(N.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),N.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),N.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=Zc;$t([(0,qt.property)()],dt.prototype,"baseUrl",void 0);$t([(0,qt.property)()],dt.prototype,"apiIntegrationIdentifier",void 0);$t([(0,qt.property)()],dt.prototype,"uiLocale",void 0);$t([(0,fe.jsonProperty)(null)],dt.prototype,"availableUiLocales",void 0);$t([(0,fe.jsonProperty)(null)],dt.prototype,"metadataConfiguration",void 0);$t([(0,qt.property)({type:Boolean})],dt.prototype,"editorMode",void 0);$t([(0,qt.property)({type:Boolean})],dt.prototype,"noCustom",void 0);$t([(0,qt.property)({type:Boolean})],dt.prototype,"openExternalDocumentInNewTab",void 0);$t([(0,qt.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],dt.prototype,"noCustomComponent",void 0);$t([(0,qt.property)({type:Boolean})],dt.prototype,"withManualResources",void 0);$t([(0,qt.property)({type:Boolean})],dt.prototype,"navigatorOnline",void 0);$t([(0,qt.property)({type:Boolean})],dt.prototype,"forcedOffline",void 0);$t([(0,qt.property)({type:Object})],dt.prototype,"apiProvider",void 0);$t([(0,fe.jsonProperty)([])],dt.prototype,"messageContexts",void 0);$t([(0,fe.jsonProperty)(void 0)],dt.prototype,"session",void 0);$t([(0,qt.state)()],dt.prototype,"localesConfiguration",void 0);var tu=g(Z());function hp(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,i,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(i=o;i--!==0;)if(!Xo(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(!Xo(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();if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(i=o;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(i=o;i--!==0;){var a=n[i];if(!Xo(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Xo(e,t){try{return hp(e,t)}catch{return!1}}function En(e,t){return!Xo(e,t)}var yp=g(Z(),1);var Qo=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(i=>i.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(i=>i.type===t);return o&&(this.queue=this.queue.filter(i=>i!==o)),o}};var mo=g(Z(),1);var Qc=g(Z(),1);function Jc(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Qc.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:En,...t??{}})}var Jo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,i)=>{this.resolvePromise=o,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let i=[...this.callbacks];this.callbacks=[];let n=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);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 el=g(B(),1);var ti=window,mp=ti.ShadowRoot&&(ti.ShadyCSS===void 0||ti.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ox=Symbol();var tl=(e,t)=>{mp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let i=document.createElement("style"),n=ti.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=o.cssText,e.appendChild(i)})};var ei=class extends el.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 o={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(o);return tl(i,t.elementStyles),i}};var ri=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},nl,rl=Symbol("constructorPrototype"),ol=Symbol("constructorName"),al=Symbol("exportpartsDebouncer"),il=Symbol("dynamicDependenciesLoaded"),Xe=class extends ei{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[nl]=new Jo(5),this[ol]=this.constructor.name,this[rl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ol]&&Object.setPrototypeOf(this,this[rl])}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 t=this.constructor;t[il]||(t[il]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){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(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,o,i;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(i=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&i!==void 0&&i)&&this[al].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 o,i,n,a,s,l;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=(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=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...x,...S).filter(u).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(b=>p.map(x=>`${b}:${x}--${b}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};nl=al;ri([(0,mo.property)()],Xe.prototype,"exportpartsPrefix",void 0);ri([Jc([])],Xe.prototype,"exportpartsPrefixes",void 0);ri([(0,mo.property)()],Xe.prototype,"customStylesheet",void 0);ri([(0,mo.state)()],Xe.prototype,"useAdoptedStyleSheets",void 0);function go(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var sl,cl,ll,oi=Symbol("internalReduxEventsUnsubscribers"),Qe=Symbol("internalStoresUnsubscribers"),Or=Symbol("internalStores"),bo=class extends Xe{constructor(){super(...arguments),this[sl]=new Map,this[cl]=new Map,this[ll]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&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,o){var i;o=(i=o??(go(t)?t.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Or].delete(o)}setupStore(t,o){this[Or].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Or].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let i=this.constructor.getPropertyOptions(o);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:o)){let n=this.getStore(t.store);n&&(t.store?this[Qe].has(t.store):this[Qe].size>0)&&(this[o]=t.selector(n.getState(),this))}})}subscribeToStore(t,o){var i;this[Qe].set(t,o.subscribe(()=>this.updateFromStores())),go(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=l=>this[a](l);o.addEventListener(n.eventName,s),this[oi].push(()=>o.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Qe].forEach((t,o)=>this.unsubscribeFromStore(o)),this[oi].forEach(t=>t()),this[oi]=[]}unsubscribeFromStore(t){this[Qe].has(t)&&this[Qe].get(t)(),this[Qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};sl=Qe,cl=Or,ll=oi;bo.reduxProperties=new Map;bo.reduxReactiveProperties=new Set;bo.reduxEventListeners=new Map;function ae(e){for(var t=arguments.length,o=Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function $e(e){return!!e&&!!e[it]}function he(e){var t;return!!e&&(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)===wp}(e)||Array.isArray(e)||!!e[ml]||!!(!((t=e.constructor)===null||t===void 0)&&t[ml])||Pn(e)||$n(e))}function Cr(e,t,o){o===void 0&&(o=!1),Gr(e)===0?(o?Object.keys:Vr)(e).forEach(function(i){o&&typeof i=="symbol"||t(i,e[i],e)}):e.forEach(function(i,n){return t(n,i,e)})}function Gr(e){var t=e[it];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Pn(e)?2:$n(e)?3:0}function Hr(e,t){return Gr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function gp(e,t){return Gr(e)===2?e.get(t):e[t]}function gl(e,t,o){var i=Gr(e);i===2?e.set(t,o):i===3?e.add(o):e[t]=o}function bl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Pn(e){return Op&&e instanceof Map}function $n(e){return Cp&&e instanceof Set}function Je(e){return e.o||e.t}function Dn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Sl(e);delete t[it];for(var o=Vr(t),i=0;i<o.length;i++){var n=o[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 Bn(e,t){return t===void 0&&(t=!1),Mn(e)||$e(e)||!he(e)||(Gr(e)>1&&(e.set=e.add=e.clear=e.delete=bp),Object.freeze(e),t&&Cr(e,function(o,i){return Bn(i,!0)},!0)),e}function bp(){ae(2)}function Mn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function we(e){var t=Ln[e];return t||ae(18,e),t}function vp(e,t){Ln[e]||(Ln[e]=t)}function Tn(){return xo}function An(e,t){t&&(we("Patches"),e.u=[],e.s=[],e.v=t)}function ii(e){_n(e),e.p.forEach(xp),e.p=null}function _n(e){e===xo&&(xo=e.l)}function dl(e){return xo={p:[],l:xo,h:e,m:!0,_:0}}function xp(e){var t=e[it];t.i===0||t.i===1?t.j():t.g=!0}function Rn(e,t){t._=t.p.length;var o=t.p[0],i=e!==void 0&&e!==o;return t.h.O||we("ES5").S(t,e,i),i?(o[it].P&&(ii(t),ae(4)),he(e)&&(e=ni(t,e),t.l||ai(t,e)),t.u&&we("Patches").M(o[it].t,e,t.u,t.s)):e=ni(t,o,[]),ii(t),t.u&&t.v(t.u,t.s),e!==xl?e:void 0}function ni(e,t,o){if(Mn(t))return t;var i=t[it];if(!i)return Cr(t,function(l,u){return pl(e,i,t,l,u,o)},!0),t;if(i.A!==e)return t;if(!i.P)return ai(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Dn(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Cr(a,function(l,u){return pl(e,i,n,l,u,o,s)}),ai(e,n,!1),o&&e.u&&we("Patches").N(i,o,e.u,e.s)}return i.o}function pl(e,t,o,i,n,a,s){if($e(n)){var l=ni(e,n,a&&t&&t.i!==3&&!Hr(t.R,i)?a.concat(i):void 0);if(gl(o,i,l),!$e(l))return;e.m=!1}else s&&o.add(n);if(he(n)&&!Mn(n)){if(!e.h.D&&e._<1)return;ni(e,n),t&&t.A.l||ai(e,n)}}function ai(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Bn(t,o)}function In(e,t){var o=e[it];return(o?Je(o):e)[t]}function ul(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var i=Object.getOwnPropertyDescriptor(o,t);if(i)return i;o=Object.getPrototypeOf(o)}}function tr(e){e.P||(e.P=!0,e.l&&tr(e.l))}function Nn(e){e.o||(e.o=Dn(e.t))}function kn(e,t,o){var i=Pn(t)?we("MapSet").F(t,o):$n(t)?we("MapSet").T(t,o):e.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Tn(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},u=l,p=So;s&&(u=[l],p=vo);var h=Proxy.revocable(u,p),m=h.revoke,b=h.proxy;return l.k=b,l.j=m,b}(t,o):we("ES5").J(t,o);return(o?o.A:Tn()).p.push(i),i}function Sp(e){return $e(e)||ae(22,e),function t(o){if(!he(o))return o;var i,n=o[it],a=Gr(o);if(n){if(!n.P&&(n.i<4||!we("ES5").K(n)))return n.t;n.I=!0,i=fl(o,a),n.I=!1}else i=fl(o,a);return Cr(i,function(s,l){n&&gp(n.t,s)===l||gl(i,s,t(l))}),a===3?new Set(i):i}(e)}function fl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Dn(e)}function vl(){function e(s,l){var u=a[s];return u?u.enumerable=l:a[s]=u={configurable:!0,enumerable:l,get:function(){var p=this[it];return So.get(p,s)},set:function(p){var h=this[it];So.set(h,s,p)}},u}function t(s){for(var l=s.length-1;l>=0;l--){var u=s[l][it];if(!u.P)switch(u.i){case 5:i(u)&&tr(u);break;case 4:o(u)&&tr(u)}}}function o(s){for(var l=s.t,u=s.k,p=Vr(u),h=p.length-1;h>=0;h--){var m=p[h];if(m!==it){var b=l[m];if(b===void 0&&!Hr(l,m))return!0;var x=u[m],S=x&&x[it];if(S?S.t!==b:!bl(x,b))return!0}}var O=!!l[it];return p.length!==Vr(l).length+(O?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&ae(3,JSON.stringify(Je(s)))}var a={};vp("ES5",{J:function(s,l){var u=Array.isArray(s),p=function(m,b){if(m){for(var x=Array(b.length),S=0;S<b.length;S++)Object.defineProperty(x,""+S,e(S,!0));return x}var O=Sl(b);delete O[it];for(var _=Vr(O),I=0;I<_.length;I++){var T=_[I];O[T]=e(T,m||!!O[T].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(u,s),h={i:u?5:4,A:l?l.A:Tn(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,it,{value:h,writable:!0}),p},S:function(s,l,u){u?$e(l)&&l[it].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var m=h[it];if(m){var b=m.t,x=m.k,S=m.R,O=m.i;if(O===4)Cr(x,function(F){F!==it&&(b[F]!==void 0||Hr(b,F)?S[F]||p(x[F]):(S[F]=!0,tr(m)))}),Cr(b,function(F){x[F]!==void 0||Hr(x,F)||(S[F]=!1,tr(m))});else if(O===5){if(i(m)&&(tr(m),S.length=!0),x.length<b.length)for(var _=x.length;_<b.length;_++)S[_]=!1;else for(var I=b.length;I<x.length;I++)S[I]=!0;for(var T=Math.min(x.length,b.length),D=0;D<T;D++)x.hasOwnProperty(D)||(S[D]=!0),S[D]===void 0&&p(x[D])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):i(s)}})}var hl,xo,Fn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Op=typeof Map<"u",Cp=typeof Set<"u",yl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",xl=Fn?Symbol.for("immer-nothing"):((hl={})["immer-nothing"]=!0,hl),ml=Fn?Symbol.for("immer-draftable"):"__$immer_draftable",it=Fn?Symbol.for("immer-state"):"__$immer_state";var wp=""+Object.prototype.constructor,Vr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Sl=Object.getOwnPropertyDescriptors||function(e){var t={};return Vr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Ln={},So={get:function(e,t){if(t===it)return e;var o=Je(e);if(!Hr(o,t))return function(n,a,s){var l,u=ul(a,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(n.k):void 0}(e,o,t);var i=o[t];return e.I||!he(i)?i:i===In(e.t,t)?(Nn(e),e.o[t]=kn(e.A.h,i,e)):i},has:function(e,t){return t in Je(e)},ownKeys:function(e){return Reflect.ownKeys(Je(e))},set:function(e,t,o){var i=ul(Je(e),t);if(i?.set)return i.set.call(e.k,o),!0;if(!e.P){var n=In(Je(e),t),a=n?.[it];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(bl(o,n)&&(o!==void 0||Hr(e.t,t)))return!0;Nn(e),tr(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return In(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Nn(e),tr(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Je(e),i=Reflect.getOwnPropertyDescriptor(o,t);return i&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:i.enumerable,value:o[t]}},defineProperty:function(){ae(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ae(12)}},vo={};Cr(So,function(e,t){vo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),vo.deleteProperty=function(e,t){return vo.set.call(this,e,t,void 0)},vo.set=function(e,t,o){return So.set.call(this,e[0],t,o,e[0])};var Ep=function(){function e(o){var i=this;this.O=yl,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var u=i;return function(O){var _=this;O===void 0&&(O=l);for(var I=arguments.length,T=Array(I>1?I-1:0),D=1;D<I;D++)T[D-1]=arguments[D];return u.produce(O,function(F){var W;return(W=a).call.apply(W,[_,F].concat(T))})}}var p;if(typeof a!="function"&&ae(6),s!==void 0&&typeof s!="function"&&ae(7),he(n)){var h=dl(i),m=kn(i,n,void 0),b=!0;try{p=a(m),b=!1}finally{b?ii(h):_n(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return An(h,s),Rn(O,h)},function(O){throw ii(h),O}):(An(h,s),Rn(p,h))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===xl&&(p=void 0),i.D&&Bn(p,!0),s){var x=[],S=[];we("Patches").M(n,p,x,S),s(x,S)}return p}ae(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var h=arguments.length,m=Array(h>1?h-1:0),b=1;b<h;b++)m[b-1]=arguments[b];return i.produceWithPatches(p,function(x){return n.apply(void 0,[x].concat(m))})};var s,l,u=i.produce(n,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,s,l]}):[u,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){he(o)||ae(8),$e(o)&&(o=Sp(o));var i=dl(this),n=kn(this,o,void 0);return n[it].C=!0,_n(i),n},t.finishDraft=function(o,i){var n=o&&o[it],a=n.A;return An(a,i),Rn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!yl&&ae(20),this.O=o},t.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=we("Patches").$;return $e(o)?s(o,i):this.produce(o,function(l){return s(l,i)})},e}(),ee=new Ep,Ap=ee.produce,yx=ee.produceWithPatches.bind(ee),mx=ee.setAutoFreeze.bind(ee),gx=ee.setUseProxies.bind(ee),bx=ee.applyPatches.bind(ee),vx=ee.createDraft.bind(ee),xx=ee.finishDraft.bind(ee),si=Ap;function er(e){"@babel/helpers - typeof";return er=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},er(e)}function Un(e,t){if(er(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var i=o.call(e,t||"default");if(er(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wn(e){var t=Un(e,"string");return er(t)==="symbol"?t:String(t)}function zn(e,t,o){return t=Wn(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ol(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),o.push.apply(o,i)}return o}function ci(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Ol(Object(o),!0).forEach(function(i){zn(e,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ol(Object(o)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i))})}return e}function Dt(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 Cl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Hn=function(){return Math.random().toString(36).substring(7).split("").join(".")},li={INIT:"@@redux/INIT"+Hn(),REPLACE:"@@redux/REPLACE"+Hn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Hn()}};function Rp(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 Vn(e,t,o){var i;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Dt(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Dt(1));return o(Vn)(e,t)}if(typeof e!="function")throw new Error(Dt(2));var n=e,a=t,s=[],l=s,u=!1;function p(){l===s&&(l=s.slice())}function h(){if(u)throw new Error(Dt(3));return a}function m(O){if(typeof O!="function")throw new Error(Dt(4));if(u)throw new Error(Dt(5));var _=!0;return p(),l.push(O),function(){if(_){if(u)throw new Error(Dt(6));_=!1,p();var T=l.indexOf(O);l.splice(T,1),s=null}}}function b(O){if(!Rp(O))throw new Error(Dt(7));if(typeof O.type>"u")throw new Error(Dt(8));if(u)throw new Error(Dt(9));try{u=!0,a=n(a,O)}finally{u=!1}for(var _=s=l,I=0;I<_.length;I++){var T=_[I];T()}return O}function x(O){if(typeof O!="function")throw new Error(Dt(10));n=O,b({type:li.REPLACE})}function S(){var O,_=m;return O={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(Dt(11));function D(){T.next&&T.next(h())}D();var F=_(D);return{unsubscribe:F}}},O[Cl]=function(){return this},O}return b({type:li.INIT}),i={dispatch:b,subscribe:m,getState:h,replaceReducer:x},i[Cl]=S,i}function Ip(e){Object.keys(e).forEach(function(t){var o=e[t],i=o(void 0,{type:li.INIT});if(typeof i>"u")throw new Error(Dt(12));if(typeof o(void 0,{type:li.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Dt(13))})}function wl(e){for(var t=Object.keys(e),o={},i=0;i<t.length;i++){var n=t[i];typeof e[n]=="function"&&(o[n]=e[n])}var a=Object.keys(o),s,l;try{Ip(o)}catch(u){l=u}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var m;for(var b=!1,x={},S=0;S<a.length;S++){var O=a[S],_=o[O],I=p[O],T=_(I,h);if(typeof T>"u"){var D=h&&h.type;throw new Error(Dt(14))}x[O]=T,b=b||T!==I}return b=b||a.length!==Object.keys(p).length,b?x:p}}function jr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];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 El(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Dt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(u){return u(s)});return a=jr.apply(void 0,l)(n.dispatch),ci(ci({},n),{},{dispatch:a})}}}function Al(e){var t=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,e):s(l)}}};return t}var Rl=Al();Rl.withExtraArgument=Al;var Gn=Rl;var kl=function(){var e=function(t,o){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,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function i(){this.constructor=t}t.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)}}(),Np=function(e,t){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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(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=t.call(e,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}}},Kr=function(e,t){for(var o=0,i=t.length,n=e.length;o<i;o++,n++)e[n]=t[o];return e},Tp=Object.defineProperty,_p=Object.defineProperties,kp=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Lp=Object.prototype.hasOwnProperty,Pp=Object.prototype.propertyIsEnumerable,Nl=function(e,t,o){return t in e?Tp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},rr=function(e,t){for(var o in t||(t={}))Lp.call(t,o)&&Nl(e,o,t[o]);if(Il)for(var i=0,n=Il(t);i<n.length;i++){var o=n[i];Pp.call(t,o)&&Nl(e,o,t[o])}return e},jn=function(e,t){return _p(e,kp(t))},$p=function(e,t,o){return new Promise(function(i,n){var a=function(u){try{l(o.next(u))}catch(p){n(p)}},s=function(u){try{l(o.throw(u))}catch(p){n(p)}},l=function(u){return u.done?i(u.value):Promise.resolve(u.value).then(a,s)};l((o=o.apply(e,t)).next())})};var Dp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?jr:jr.apply(null,arguments)},Mx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Bp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Mp=function(e){kl(t,e);function t(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=e.apply(this,o)||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 o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,Kr([void 0],o[0].concat(this)))):new(t.bind.apply(t,Kr([void 0],o.concat(this))))},t}(Array),Fp=function(e){kl(t,e);function t(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var n=e.apply(this,o)||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 o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,Kr([void 0],o[0].concat(this)))):new(t.bind.apply(t,Kr([void 0],o.concat(this))))},t}(Array);function qn(e){return he(e)?si(e,function(){}):e}function Up(e){return typeof e=="boolean"}function Wp(){return function(t){return zp(t)}}function zp(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,i=e.immutableCheck,n=i===void 0?!0:i,a=e.serializableCheck,s=a===void 0?!0:a,l=new Mp;if(o&&(Up(o)?l.push(Gn):l.push(Gn.withExtraArgument(o.extraArgument))),0){if(n)var u;if(s)var p}return l}var Kn=!0;function Ll(e){var t=Wp(),o=e||{},i=o.reducer,n=i===void 0?void 0:i,a=o.middleware,s=a===void 0?t():a,l=o.devTools,u=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,m=o.enhancers,b=m===void 0?void 0:m,x;if(typeof n=="function")x=n;else if(Bp(n))x=wl(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),!Kn&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Kn&&S.some(function(F){return typeof F!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=El.apply(void 0,S),_=jr;u&&(_=Dp(rr({trace:!Kn},typeof u=="object"&&u)));var I=new Fp(O),T=I;Array.isArray(b)?T=Kr([O],b):typeof b=="function"&&(T=b(I));var D=_.apply(void 0,T);return Vn(x,h,D)}function or(e,t){function o(){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 rr(rr({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:i[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(i){return i.type===e},o}function Pl(e){var t={},o=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,n},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return e(n),[t,o,i]}function Hp(e){return typeof e=="function"}function Vp(e,t,o,i){o===void 0&&(o=[]);var n=typeof t=="function"?Pl(t):[t,o,i],a=n[0],s=n[1],l=n[2],u;if(Hp(e))u=function(){return qn(e())};else{var p=qn(e);u=function(){return p}}function h(m,b){m===void 0&&(m=u());var x=Kr([a[b.type]],s.filter(function(S){var O=S.matcher;return O(b)}).map(function(S){var O=S.reducer;return O}));return x.filter(function(S){return!!S}).length===0&&(x=[l]),x.reduce(function(S,O){if(O)if($e(S)){var _=S,I=O(_,b);return I===void 0?S:I}else{if(he(S))return si(S,function(T){return O(T,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},m)}return h.getInitialState=u,h}function Gp(e,t){return e+"/"+t}function $l(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:qn(e.initialState),i=e.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var m=i[h],b=Gp(t,h),x,S;"reducer"in m?(x=m.reducer,S=m.prepare):x=m,a[h]=x,s[b]=x,l[h]=S?or(b,S):or(b)});function u(){var h=typeof e.extraReducers=="function"?Pl(e.extraReducers):[e.extraReducers],m=h[0],b=m===void 0?{}:m,x=h[1],S=x===void 0?[]:x,O=h[2],_=O===void 0?void 0:O,I=rr(rr({},b),s);return Vp(o,function(T){for(var D in I)T.addCase(D,I[D]);for(var F=0,W=S;F<W.length;F++){var Vt=W[F];T.addMatcher(Vt.matcher,Vt.reducer)}_&&T.addDefaultCase(_)})}var p;return{name:t,reducer:function(h,m){return p||(p=u()),p(h,m)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var jp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Kp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=jp[Math.random()*64|0];return t},Zp=["name","message","stack","code"],Zn=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Tl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),qp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,i=Zp;o<i.length;o++){var n=i[o];typeof e[n]=="string"&&(t[n]=e[n])}return t}return{message:String(e)}},zx=function(){function e(t,o,i){var n=or(t+"/fulfilled",function(h,m,b,x){return{payload:h,meta:jn(rr({},x||{}),{arg:b,requestId:m,requestStatus:"fulfilled"})}}),a=or(t+"/pending",function(h,m,b){return{payload:void 0,meta:jn(rr({},b||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=or(t+"/rejected",function(h,m,b,x,S){return{payload:x,error:(i&&i.serializeError||qp)(h||"Rejected"),meta:jn(rr({},S||{}),{arg:b,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!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(m,b,x){var S=i?.idGenerator?i.idGenerator(h):Kp(),O=new u,_,I=!1;function T(F){_=F,O.abort()}var D=function(){return $p(this,null,function(){var F,W,Vt,ge,Ft,be,At;return Np(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),ge=(F=i?.condition)==null?void 0:F.call(i,h,{getState:b,extra:x}),Xp(ge)?[4,ge]:[3,2];case 1:ge=y.sent(),y.label=2;case 2:if(ge===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,Ft=new Promise(function(v,L){return O.signal.addEventListener("abort",function(){return L({name:"AbortError",message:_||"Aborted"})})}),m(a(S,h,(W=i?.getPendingMeta)==null?void 0:W.call(i,{requestId:S,arg:h},{getState:b,extra:x}))),[4,Promise.race([Ft,Promise.resolve(o(h,{dispatch:m,getState:b,extra:x,requestId:S,signal:O.signal,abort:T,rejectWithValue:function(v,L){return new Zn(v,L)},fulfillWithValue:function(v,L){return new Tl(v,L)}})).then(function(v){if(v instanceof Zn)throw v;return v instanceof Tl?n(v.payload,S,h,v.meta):n(v,S,h)})])];case 3:return Vt=y.sent(),[3,5];case 4:return be=y.sent(),Vt=be instanceof Zn?s(null,S,h,be.payload,be.meta):s(be,S,h),[3,5];case 5:return At=i&&!i.dispatchConditionRejection&&s.match(Vt)&&Vt.meta.condition,At||m(Vt),[2,Vt]}})})}();return Object.assign(D,{abort:T,requestId:S,arg:h,unwrap:function(){return D.then(Yp)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:t})}return e.withTypes=function(){return e},e}();function Yp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Xp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Dl="listener",Bl="completed",Ml="cancelled",Hx="task-"+Ml,Vx="task-"+Bl,Gx=Dl+"-"+Ml,jx=Dl+"-"+Bl;var Yn="listenerMiddleware";var Kx=or(Yn+"/add"),Zx=or(Yn+"/removeAll"),qx=or(Yn+"/remove");var _l,Yx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(_l||(_l=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Qp=function(e){return function(t){setTimeout(t,e)}},Xx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Qp(10);vl();function Jp(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??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 di=class extends Jp(Object){};window.ftReduxStores||(window.ftReduxStores={});var Fl=class e extends di{static get(t){var o;let i=typeof t=="string"?t:t.name,n=typeof t=="string"?void 0:t,a=window.ftReduxStores[i];if(go(a))return a;if(n==null)return;let s=$l({...n,reducers:(o=n.reducers)!==null&&o!==void 0?o:{}}),l=Ll({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,l)}constructor(t,o){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Qo,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...u)=>{let p=l(...u);return this.reduxStore.dispatch(p),p}:u=>{this.setState({[s]:u})}}})}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 hi=g(R());var pi=class extends Ce{async listMySearches(){let t=N.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var ui=class extends Ce{async listMyBookmarks(){let t=N.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var eu="ft-user-assets",fi=hi.FtReduxStore.get({name:eu,initialState:{savedSearches:void 0,bookmarks:void 0}}),Xn=class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ui,this.savedSearchesService=new pi,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=N.getState();(0,hi.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),fi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),fi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();fi.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;fi.actions.bookmarks(o)}}},Ul=new Xn;var Qn=class{addCommand(t,o=!1){N.commands.add(t,o)}consumeCommand(t){return N.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Qn;var Wl=g(R()),Jn=class{highlightHtml(t,o,i){(0,Wl.highlightHtml)(t,o,i)}};window.FluidTopicsHighlightHtmlService=new Jn;var zl=g(R());var ta=class{isDate(t){var o,i,n,a;return(a=(n=((i=(o=N.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===t))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(t,o){var i,n,a;return zl.DateFormatter.format(t,(i=o?.locale)!==null&&i!==void 0?i:N.getState().uiLocale,(n=o?.longFormat)!==null&&n!==void 0?n:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ta;var ru=g(R());(0,Hl.customElement)("ft-app-context")(dt);var Gl=g(Z()),ou=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ea=Symbol("i18nAttributes"),ra=Symbol("i18nListAttributes"),wr=Symbol("i18nProperties"),Oo=Symbol("i18nUnsubs");function ir(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Yc:Sr}i18n(n,a,...s){var l;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let u=(l=n.args)!==null&&l!==void 0?l:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...u)}onI18nUpdate(n){var a,s,l;(a=this[ea])===null||a===void 0||a.forEach((u,p)=>{let h=this.getI18nAttributeValue(p);h&&(this[p]=this.getI18nAttributeMessage(h,u,n))}),(s=this[ra])===null||s===void 0||s.forEach((u,p)=>{let h=this.getI18nListAttributeValues(p);this[p]=h?.map(m=>this.getI18nAttributeMessage(m,u,n))}),(l=this[wr])===null||l===void 0||l.forEach((u,p)=>{u.context.toLowerCase()===n.toLowerCase()&&(this[p]=this.i18n(u))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(n,a){return{...n,message:this.i18n({context:n.context,key:n.key,...a})}}getI18nAttributeMessage(n,a,s){var l;let u=!s||((l=n.context)===null||l===void 0?void 0:l.toLowerCase())===s.toLowerCase();return n.context&&n.key&&u?this.buildI18nAttributeMessage(n,a):n}update(n){var a,s,l;super.update(n),(a=this[ea])===null||a===void 0||a.forEach((u,p)=>{let h=this.getI18nAttributeValue(p);h?.context&&h.key&&(n.has(p)||u.argsProvider!=null)&&(this.addI18nContextIfNeeded(h,n,p),this[p]=this.getI18nAttributeMessage(h,u))}),(s=this[ra])===null||s===void 0||s.forEach((u,p)=>{let h=this.getI18nListAttributeValues(p);(n.has(p)||u.argsProvider!=null)&&(this[p]=h?.map(m=>(this.addI18nContextIfNeeded(m,n,p),this.getI18nAttributeMessage(m,u))))}),(l=this[wr])===null||l===void 0||l.forEach((u,p)=>{u.argsProvider!=null&&(this[p]=this.i18n(u))})}getI18nAttributeValue(n){return this[n]}getI18nListAttributeValues(n){return this[n]}addI18nContextIfNeeded(n,a,s){n.context&&n.key&&a.has(s)&&this.addI18nContext(n.context)}connectedCallback(){var n,a,s,l,u,p;super.connectedCallback(),new Set([...(a=(n=this[wr])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[ea])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(h=>this.getI18nAttributeValue(h)),...[...(p=(u=this[ra])===null||u===void 0?void 0:u.keys())!==null&&p!==void 0?p:[]].flatMap(h=>this.getI18nListAttributeValues(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(n,a){n=n.toLowerCase(),this[Oo].has(n)||this[Oo].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{}),this.onI18nUpdate(n)}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach(n=>n()),this[Oo].clear()}}return t=Oo,ou([(0,Gl.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var Vl=class extends ir(mi.FtLitElement){},yi=class extends ir(mi.FtLitElementRedux){};var Co=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ye=class extends yi{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":gi.nothing:gi.html`
1559
1572
  <span class="ft-i18n">
1560
1573
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1561
1574
  </span>
1562
- `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ye.elementDefinitions={};ye.styles=Gc;Co([(0,bi.redux)()],ye.prototype,"editorMode",void 0);Co([(0,gi.property)()],ye.prototype,"context",void 0);Co([(0,gi.property)()],ye.prototype,"key",void 0);Co([(0,bi.jsonProperty)([])],ye.prototype,"args",void 0);Co([(0,gi.property)()],ye.prototype,"defaultMessage",void 0);var ir=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,i)=>(...n)=>xr.resolveMessage(this.name,i,...n)}),this.rawMessages=new Proxy({},{get:(o,i)=>xr.resolveRawMessage(this.name,i)})}};var vi=(e,t)=>(o,i)=>{var n,a;o.constructor.createProperty(i,t??{attribute:!1,type:String});let s={...e,key:(n=e.key)!==null&&n!==void 0?n:i};o[Cr]=(a=o[Cr])!==null&&a!==void 0?a:new Map,o[Cr].set(i,s)};(0,Gl.customElement)("ft-i18n")(ye);var V=ir.build("integratedFeedbackComponent"),jl={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 ia=g(R());var se=g(B()),j=g(Z()),ql=g(Ve());var ea=e=>e??bt;var Zr=g(R());var Kl=g(B()),D=g(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"),colorSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorSurface,"Design system"),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")},Zl=Kl.css`
1575
+ `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ye.elementDefinitions={};ye.styles=jc;Co([(0,vi.redux)()],ye.prototype,"editorMode",void 0);Co([(0,bi.property)()],ye.prototype,"context",void 0);Co([(0,bi.property)()],ye.prototype,"key",void 0);Co([(0,vi.jsonProperty)([])],ye.prototype,"args",void 0);Co([(0,bi.property)()],ye.prototype,"defaultMessage",void 0);var nr=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,i)=>(...n)=>Sr.resolveMessage(this.name,i,...n)}),this.rawMessages=new Proxy({},{get:(o,i)=>Sr.resolveRawMessage(this.name,i)})}};var xi=(e,t)=>(o,i)=>{var n,a;o.constructor.createProperty(i,t??{attribute:!1,type:String});let s={...e,key:(n=e.key)!==null&&n!==void 0?n:i};o[wr]=(a=o[wr])!==null&&a!==void 0?a:new Map,o[wr].set(i,s)};(0,jl.customElement)("ft-i18n")(ye);var V=nr.build("integratedFeedbackComponent"),Kl={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 aa=g(R());var se=g(B()),j=g(Z()),Yl=g(Ve());var oa=e=>e??bt;var Zr=g(R());var Zl=g(B()),$=g(R());var U={fontSize:$.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:$.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:$.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:$.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:$.FtCssVariableFactory.extend("--ft-text-field-helper-color","",$.designSystemVariables.colorOnSurfaceMedium),colorPrimary:$.FtCssVariableFactory.external($.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:$.FtCssVariableFactory.external($.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:$.FtCssVariableFactory.external($.designSystemVariables.borderRadiusS,"Design system"),colorError:$.FtCssVariableFactory.external($.designSystemVariables.colorError,"Design system"),prefixColor:$.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",$.designSystemVariables.colorOnSurfaceMedium),iconColor:$.FtCssVariableFactory.extend("--ft-text-field-icon-color","",$.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:$.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:$.FtCssVariableFactory.external($.designSystemVariables.colorSurface,"Design system"),colorOutline:$.FtCssVariableFactory.external($.designSystemVariables.colorOutline,"Design system"),elevation02:$.FtCssVariableFactory.external($.designSystemVariables.elevation02,"Design system"),suggestSize:$.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},ql=Zl.css`
1563
1576
  *:focus {
1564
1577
  outline: none;
1565
1578
  }
@@ -1572,10 +1585,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1572
1585
  }
1573
1586
 
1574
1587
  ft-input-label {
1575
- ${(0,D.setVariable)(P.fontSize,U.fontSize)};
1576
- ${(0,D.setVariable)(P.raisedFontSize,U.labelSize)};
1577
- ${(0,D.setVariable)(P.verticalSpacing,U.verticalSpacing)};
1578
- ${(0,D.setVariable)(P.horizontalSpacing,U.horizontalSpacing)};
1588
+ ${(0,$.setVariable)(P.fontSize,U.fontSize)};
1589
+ ${(0,$.setVariable)(P.raisedFontSize,U.labelSize)};
1590
+ ${(0,$.setVariable)(P.verticalSpacing,U.verticalSpacing)};
1591
+ ${(0,$.setVariable)(P.horizontalSpacing,U.horizontalSpacing)};
1579
1592
  }
1580
1593
 
1581
1594
  .ft-text-field--main-panel {
@@ -1592,13 +1605,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1592
1605
  overflow: hidden;
1593
1606
  padding: 0 ${U.horizontalSpacing};
1594
1607
 
1595
- ${(0,D.setVariable)(re.fontSize,U.fontSize)};
1596
- ${(0,D.setVariable)(re.lineHeight,U.fontSize)};
1608
+ ${(0,$.setVariable)(oe.fontSize,U.fontSize)};
1609
+ ${(0,$.setVariable)(oe.lineHeight,U.fontSize)};
1597
1610
  }
1598
1611
 
1599
1612
  .ft-text-field--input-panel ft-ripple {
1600
- ${(0,D.setVariable)(w.opacityContentOnSurfaceHover,"0.08")};
1601
- ${(0,D.setVariable)(w.opacityContentOnSurfacePressed,"0.04")};
1613
+ ${(0,$.setVariable)(w.opacityContentOnSurfaceHover,"0.08")};
1614
+ ${(0,$.setVariable)(w.opacityContentOnSurfacePressed,"0.04")};
1602
1615
  }
1603
1616
 
1604
1617
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
@@ -1647,8 +1660,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1647
1660
  }
1648
1661
 
1649
1662
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
1650
- ${(0,D.setVariable)(P.borderColor,U.colorPrimary)};
1651
- ${(0,D.setVariable)(P.textColor,U.colorPrimary)};
1663
+ ${(0,$.setVariable)(P.borderColor,U.colorPrimary)};
1664
+ ${(0,$.setVariable)(P.textColor,U.colorPrimary)};
1652
1665
  }
1653
1666
 
1654
1667
  .ft-text-field--filled .ft-text-field--input-panel {
@@ -1703,14 +1716,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1703
1716
  }
1704
1717
 
1705
1718
  .ft-text-field--with-icon {
1706
- ${(0,D.setVariable)(P.labelMaxWidth,`calc(100% - ${xt.size} - ${P.horizontalSpacing})`)};
1719
+ ${(0,$.setVariable)(P.labelMaxWidth,`calc(100% - ${xt.size} - ${P.horizontalSpacing})`)};
1707
1720
  }
1708
1721
 
1709
1722
  .ft-text-field--with-password ft-icon:hover {
1710
1723
  cursor: pointer;
1711
1724
  }
1712
- `;var J=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},H=class extends(0,Zr.toFtFormComponent)(Zr.FtLitElement,"textbox"){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=yr.EYE_SLASH,this.passwordRevealedIcon=yr.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){let o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}render(){var t;let o={"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.visibleSuggestions.length===0||this.hideSuggestions,"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return se.html`
1713
- <div class="${(0,ql.classMap)(o)}">
1725
+ `;var J=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},H=class extends(0,Zr.toFtFormComponent)(Zr.FtLitElement,"textbox"){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=mr.EYE_SLASH,this.passwordRevealedIcon=mr.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){let o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}render(){var t;let o={"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.visibleSuggestions.length===0||this.hideSuggestions,"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return se.html`
1726
+ <div class="${(0,Yl.classMap)(o)}">
1714
1727
  <div class="ft-text-field--main-panel"
1715
1728
  @keydown=${this.handleKeyboardNavigation}
1716
1729
  @focusout=${this.onMainPanelBlur}>
@@ -1729,8 +1742,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1729
1742
  </ft-typography>
1730
1743
  `:se.nothing}
1731
1744
  <input type=${(t=this.type)!==null&&t!==void 0?t:this.password&&this.hidePassword?"password":"text"}
1732
- name=${ea(this.name)}
1733
- maxlength=${ea(this.maxLength||void 0)}
1745
+ name=${oa(this.name)}
1746
+ maxlength=${oa(this.maxLength||void 0)}
1734
1747
  aria-label="${this.label}"
1735
1748
  class="ft-typography--body1 ft-text-field--input"
1736
1749
  part="input"
@@ -1762,7 +1775,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1762
1775
  .variant=${this.iconVariant}
1763
1776
  .value=${this.icon}
1764
1777
  @click=${()=>{var t;return(t=this.input)===null||t===void 0?void 0:t.focus()}}></ft-icon>
1765
- `:se.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&t.get("value")!=null&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&t.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach(t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.suggestions.filter(t=>!t.hidden)):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",Fo(this.mainPanel,this.suggestionsContainer,"bottom").then(({x:o,y:i})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${i}px`}))}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;let i=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(i,t.key=="Escape"||t.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;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,(o=this.visibleSuggestions[n])===null||o===void 0||o.focus()}(t.key=="Escape"||t.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.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 t,o;!((t=this.mainPanel)===null||t===void 0)&&t.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}};H.elementDefinitions={"ft-input-label":Wt,"ft-ripple":G,"ft-typography":pt,"ft-icon":vt};H.styles=[_r,Zr.noTextInputDefaultClearButton,Zl];J([(0,j.property)()],H.prototype,"label",void 0);J([(0,j.property)({noAccessor:!0})],H.prototype,"value",null);J([(0,j.state)()],H.prototype,"dispatchedValue",void 0);J([(0,j.property)()],H.prototype,"helper",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"outlined",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"disabled",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"error",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"fixedMenuPosition",void 0);J([(0,j.property)()],H.prototype,"prefix",void 0);J([(0,j.property)()],H.prototype,"icon",void 0);J([(0,j.property)()],H.prototype,"name",void 0);J([(0,j.property)()],H.prototype,"type",void 0);J([(0,j.property)()],H.prototype,"passwordHiddenIcon",void 0);J([(0,j.property)()],H.prototype,"passwordRevealedIcon",void 0);J([(0,j.property)()],H.prototype,"iconVariant",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"filterSuggestions",void 0);J([(0,j.property)({type:Number})],H.prototype,"maxLength",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"password",void 0);J([(0,j.state)()],H.prototype,"focused",void 0);J([(0,j.state)()],H.prototype,"hidePassword",void 0);J([(0,j.state)()],H.prototype,"hideSuggestions",void 0);J([(0,j.state)()],H.prototype,"visibleSuggestions",void 0);J([(0,j.query)(".ft-text-field--main-panel")],H.prototype,"mainPanel",void 0);J([(0,j.query)(".ft-text-field--input")],H.prototype,"input",void 0);J([(0,j.query)(".ft-text-field--suggestions")],H.prototype,"suggestionsContainer",void 0);J([(0,j.queryAssignedElements)({selector:"ft-text-field-suggestion"})],H.prototype,"suggestions",void 0);var Ql=g(R()),Jl=g(B()),qr=g(Z());var Yl=g(B()),Xl=Yl.css`
1778
+ `:se.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&t.get("value")!=null&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&t.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach(t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.suggestions.filter(t=>!t.hidden)):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&(this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px",Fo(this.mainPanel,this.suggestionsContainer,"bottom").then(({x:o,y:i})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${i}px`}))}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;let i=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(i,t.key=="Escape"||t.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;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,(o=this.visibleSuggestions[n])===null||o===void 0||o.focus()}(t.key=="Escape"||t.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.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 t,o;!((t=this.mainPanel)===null||t===void 0)&&t.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}};H.elementDefinitions={"ft-input-label":Ht,"ft-ripple":G,"ft-typography":ft,"ft-icon":vt};H.styles=[kr,Zr.noTextInputDefaultClearButton,ql];J([(0,j.property)()],H.prototype,"label",void 0);J([(0,j.property)({noAccessor:!0})],H.prototype,"value",null);J([(0,j.state)()],H.prototype,"dispatchedValue",void 0);J([(0,j.property)()],H.prototype,"helper",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"outlined",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"disabled",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"error",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"fixedMenuPosition",void 0);J([(0,j.property)()],H.prototype,"prefix",void 0);J([(0,j.property)()],H.prototype,"icon",void 0);J([(0,j.property)()],H.prototype,"name",void 0);J([(0,j.property)()],H.prototype,"type",void 0);J([(0,j.property)()],H.prototype,"passwordHiddenIcon",void 0);J([(0,j.property)()],H.prototype,"passwordRevealedIcon",void 0);J([(0,j.property)()],H.prototype,"iconVariant",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"filterSuggestions",void 0);J([(0,j.property)({type:Number})],H.prototype,"maxLength",void 0);J([(0,j.property)({type:Boolean})],H.prototype,"password",void 0);J([(0,j.state)()],H.prototype,"focused",void 0);J([(0,j.state)()],H.prototype,"hidePassword",void 0);J([(0,j.state)()],H.prototype,"hideSuggestions",void 0);J([(0,j.state)()],H.prototype,"visibleSuggestions",void 0);J([(0,j.query)(".ft-text-field--main-panel")],H.prototype,"mainPanel",void 0);J([(0,j.query)(".ft-text-field--input")],H.prototype,"input",void 0);J([(0,j.query)(".ft-text-field--suggestions")],H.prototype,"suggestionsContainer",void 0);J([(0,j.queryAssignedElements)({selector:"ft-text-field-suggestion"})],H.prototype,"suggestions",void 0);var Jl=g(R()),td=g(B()),qr=g(Z());var Xl=g(B()),Ql=Xl.css`
1766
1779
  .ft-text-field-suggestion {
1767
1780
  position: relative;
1768
1781
  padding: 8px 16px;
@@ -1787,7 +1800,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1787
1800
  slot {
1788
1801
  pointer-events: none;
1789
1802
  }
1790
- `;var oa=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ra=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}},$e=class extends Ql.FtLitElement{render(){return Jl.html`
1803
+ `;var na=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ia=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}},De=class extends Jl.FtLitElement{render(){return td.html`
1791
1804
  <div class="ft-text-field-suggestion"
1792
1805
  tabindex="-1"
1793
1806
  @keydown=${this.onKeyDown}
@@ -1799,15 +1812,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1799
1812
  <slot></slot>
1800
1813
  </ft-typography>
1801
1814
  </div>
1802
- `}focus(t){var o;(o=this.container)===null||o===void 0||o.focus(t)}click(){var t;(t=this.container)===null||t===void 0||t.click()}confirmSuggestion(){this.dispatchEvent(new ra(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())}};$e.elementDefinitions={"ft-ripple":G,"ft-typography":pt,"ft-icon":vt};$e.styles=Xl;oa([(0,qr.property)()],$e.prototype,"value",void 0);oa([(0,qr.query)(".ft-text-field-suggestion")],$e.prototype,"container",void 0);oa([(0,qr.queryAssignedNodes)()],$e.prototype,"assignedNodes",void 0);(0,ia.customElement)("ft-text-field")(H);(0,ia.customElement)("ft-text-field-suggestion")($e);var Ed=g(R());var wo=g(B()),ar=g(Z()),qt=g(R());var me=g(R());var td=g(R()),ed=e=>td.FtReduxStore.get({name:"ft-reader-"+e,initialState:{mapId:void 0,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}});var na=class{constructor(t,o){this.mapId=t,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}}extractPagesToc(t,o,i){return t.flatMap(n=>(n.pageConfiguration&&this.registerPage(this.buildPage(n,i)),n.tocId==null?this.extractPagesToc(n.children,o,i):[{tocId:n.tocId,title:n.title,depth:o,children:this.extractPagesToc(n.children,o+1,n.tocId)}]))}convertNodes(t,o,i){return t.flatMap(n=>{var a,s,l;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 f=(s=n.prettyUrl)===null||s===void 0?void 0:s.replace(/^\//,""),p={tocId:n.tocId,contentId:n.contentId,title:n.title,hasRating:n.hasRating,origin:n.origin,prettyUrl:f,depth:o,parentTocId:i,children:[]};this.register(p);let h=this.convertSectionNodes((l=n.pageToc)!==null&&l!==void 0?l:[],o+1,n.tocId),m=this.convertNodes(n.children,o+1,p.tocId);return p.children=[...h,...m],[p]})}convertSectionNodes(t,o,i){return t.flatMap(n=>{var a;let s=(a=n.prettyUrl)===null||a===void 0?void 0:a.replace(/^\//,""),l={...n,prettyUrl:s,depth:o,parentTocId:i,children:[]};return this.register(l),l.children=this.convertSectionNodes(n.children,o+1,n.tocId),[l]})}buildPage(t,o){var i,n,a,s,l,f;let p={number:this.pages.length+1,title:(i=t.title)!==null&&i!==void 0?i:"",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:o?this.buildBreadcrumb(this.nodeByTocId[o]):[]},h=(b,x)=>(x?p.topics:p.hiddenTopics).push(b),m=(l=(s=t.pageConfiguration)===null||s===void 0?void 0:s.parentsVisibility)!==null&&l!==void 0?l:[];return p.breadcrumb.forEach((b,x)=>{h(b,m[x])}),t.tocId&&h(t.tocId,t.pageConfiguration.isVisible),p.topics.push(...this.tocIds((f=t.pageToc)!==null&&f!==void 0?f:[])),p}registerPage(t){for(let o of[...t.topics,...t.hiddenTopics])this.pageByTocId[o]||(this.pageByTocId[o]=t);this.pages.push(t)}tocIds(t){return t.flatMap(o=>[o.tocId,...this.tocIds(o.children)])}buildBreadcrumb(t){let o=[t.tocId];for(;t?.parentTocId;)o.unshift(t.parentTocId),t=this.nodeByTocId[t.parentTocId];return o}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}},xi=class{convertPaginatedToc(t,o){return new na(t,o).build()}};var rf=g(od(),1);var id;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(id||(id={}));var nd;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(nd||(nd={}));var ad;(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"})(ad||(ad={}));var sd;(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"})(sd||(sd={}));var cd;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(cd||(cd={}));var ld;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(ld||(ld={}));var dd;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(dd||(dd={}));var Be;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Be||(Be={}));var pd;(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"})(pd||(pd={}));var fd;(function(e){e.ASC="ASC",e.DESC="DESC"})(fd||(fd={}));var ud;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ud||(ud={}));var hd;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(hd||(hd={}));var yd;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(yd||(yd={}));var md;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(md||(md={}));var gd;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(gd||(gd={}));var bd;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(bd||(bd={}));var vd;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(vd||(vd={}));var xd;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(xd||(xd={}));var nt;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(nt||(nt={}));var Sd;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Sd||(Sd={}));var ef={[nt.PERSONAL_BOOK_SHARE_USER]:[nt.PERSONAL_BOOK_USER],[nt.HTML_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.PDF_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.KHUB_ADMIN]:[nt.CONTENT_PUBLISHER],[nt.ADMIN]:[nt.KHUB_ADMIN,nt.USERS_ADMIN,nt.PORTAL_ADMIN],[nt.DEVELOPER]:[nt.BETA_USER,nt.DEBUG_USER]};function Od(e,t){return e===t||(ef[e]??[]).some(o=>Od(o,t))}function wr(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=>Od(i,t))}var Ci=class extends Ce{get mapId(){return this._mapId}set mapId(t){t!==this._mapId&&this.clear(),this._mapId=t}constructor(t,o,i){super(!1,o),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(o=>this.converter.convertPaginatedToc(t,o)))),this.cache.register("ratingSummary",()=>{var t,o;return wr((o=(t=T.getState().session)===null||t===void 0?void 0:t.profile.roles)!==null&&o!==void 0?o:[],"RATING_USER")?this.withMapId(n=>this.fetchMapRating(n)):Promise.resolve()})}clear(){this.cache.clearAll()}getMap(){return this.cache.get("map")}getMapNow(){return this.cache.getNow("map")}getConfiguration(){return this.cache.get("configuration")}getEnrichedToc(){return this.cache.get("enrichedToc")}get enrichedToc(){return this.cache.getNow("enrichedToc")}async getPaginationConfiguration(){return(await this.getEnrichedToc()).paginationConfiguration}async getToc(){return(await this.getEnrichedToc()).toc}async getPagesToc(){return(await this.getEnrichedToc()).pagesToc}async getTocNode(t){return(await this.getEnrichedToc()).nodeByTocId[t]}getTocNodeNow(t){var o;return(o=this.enrichedToc)===null||o===void 0?void 0:o.nodeByTocId[t]}getTocNodeNowByUrl(t){var o,i;let n=this.getMapNow();return n?.prettyUrl==t||`${n?.id}/root`===t?(o=this.enrichedToc)===null||o===void 0?void 0:o.toc[0]:(i=this.enrichedToc)===null||i===void 0?void 0:i.nodeByUrl[t]}async getPage(t){let o=await this.getEnrichedToc();return o.pages[t-1]||o.pages[0]}async getPageByTocId(t){let o=await this.getEnrichedToc();return o.pageByTocId[t]||o.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))}getAttachments(){return this.cache.get("map-attachments",()=>this.fetchAttachments())}getRelativesForDocument(t,o){return this.cache.get("document-relatives-"+t+"-"+o.join("-"),()=>this.fetchRelativesForDocument(t,o))}getRelativesForTopicInMap(t,o,i){return this.cache.get("topic-relatives-"+[t,o,...i].join("-"),()=>this.fetchRelativesForTopicInMap(t,o,i))}getAttachmentDownloadLink(t){return this.makeAbsolute(`${this.api.endpoints.khub.maps.mapId(this.mapId).attachments.attachmentId(t).content}?download=true`)}getLink(t,o,i){let n=this.getNavigationData(t,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(t,o,i){var n,a;t=t||"root";let s=this.enrichedToc,l=s?.pageByTocId[t],f=s?.nodeByTocId[t],p=f?.prettyUrl;return{mapId:this.mapId,tocId:t,topicTitle:(n=f?.title)!==null&&n!==void 0?n:"",page:o&&l&&l.number!==o?o:void 0,prettyUrl:p?.replace(/^r\//,""),prettyUrlDuplicated:(a=s?.duplicatedPrettyUrls.has(p??""))!==null&&a!==void 0?a:!1,section:i}}async getAccurateNavigationData(t,o,i){return await this.getEnrichedToc(),this.getNavigationData(t,o,i)}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(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===t)}:void 0})}rateMap(t,o){return this.makeRateMapRequest(t,o).then(()=>this.clearRatingIfNecessary())}unrateMap(){return this.makeUnrateMapRequest().then(()=>this.clearRatingIfNecessary())}sendMapFeedback(t,o){return this.makeMapFeedbackRequest(t,o)}rateTopic(t,o,i){return this.makeRateTopicRequest(t,o,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,o,i){return this.makeTopicFeedbackRequest(t,o,i)}fontsStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.fonts)}themeStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.theme)}buildBreadcrumb(t){let o=this.getTocNodeNow(t),i=[{tocId:o.tocId,title:o.title}],n=this.getTocNodeNow(o.parentTocId);for(;n;)i.unshift({tocId:n.tocId,title:n.title}),n=this.getTocNodeNow(n.parentTocId);return i}isFeatureAccessible(t,{session:o,ratingType:i}){var n;if(!this.isFeatureAvailable(t))return!1;switch(t){case ee.FEEDBACK:return wr(o??[],nt.FEEDBACK_USER);case ee.RATING:return wr(o??[],nt.RATING_USER)&&i!=null&&i!==Be.NO_RATING;case ee.PRINT:return wr(o??[],nt.PRINT_USER);case ee.BOOKMARK:return!!o?.sessionAuthenticated;case ee.COLLECTIONS:return wr(o??[],nt.COLLECTION_USER);case ee.PERSONAL_BOOKS:return wr(o??[],nt.PERSONAL_BOOK_USER)&&!(!((n=this.getMapNow())===null||n===void 0)&&n.pbkConfidential);default:return!1}}makeAbsolute(t){return this.api.makeAbsolute(t)}};var wi=class e extends Ci{static async build(t){return new e(new xi,void 0,t)}clear(){super.clear(),this.fingerprint=void 0}async fetchMap(t){let o=await this.api.getMap(t);return this.fingerprint=o.fingerprint,o}fetchMapRating(t){return this.api.getMapRating(t)}async fetchPages(t){return await this.getMap(),this.api.getPages(t,this.fingerprint)}fetchTopicHTMLContent(t){return this.api.getTopicHTMLContent(this.mapId,t.contentId,"DESIGNED_READER",this.fingerprint)}fetchTopicMetadata(t){return this.api.getTopic(this.mapId,t.contentId,this.fingerprint)}fetchAttachments(){return this.api.getMapAttachments(this.mapId).catch(()=>[])}fetchRelativesForDocument(t,o){let i={query:"",paging:{page:1,perPage:-1},scope:"DOCUMENTS",metadataFilters:[{key:t,valueFilter:{negative:!1,values:o}}],sort:[],facets:[]};return this.api.search(i)}fetchRelativesForTopicInMap(t,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:[t]}}],sort:[],facets:[]};return this.api.search(n)}makeMapFeedbackRequest(t,o){return this.api.sendMapFeedback(this.mapId,t,o)}makeRateMapRequest(t,o){return this.api.rateMap(this.mapId,t,o)}makeRateTopicRequest(t,o,i){return this.api.rateTopic(this.mapId,t,o,i)}makeTopicFeedbackRequest(t,o,i){return this.api.sendTopicFeedback(this.mapId,t,o,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 Ei=class e{static build(t,o){return new e(ed(t.trim()||"context"),o??wi.build)}loaded(){return(0,me.waitUntil)(()=>this._loaded)}constructor(t,o,i){this.store=t,this.clusteringHelperProvider=i,this.metadataForSwitchToRelatives=new Set,this._loaded=!1,this.loadDebouncer=new me.Debouncer(10),this.initService(o)}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())}setVisibleTopics(t){this.store.actions.visibleTopics(t)}async awaitService(){return(0,me.waitFor)(()=>this.service)}async navigateToTopic(t,o,i){await this.loaded();let n=await this.awaitService(),a=await(i!=null?n.getPage(i):n.getPageByTocId(t??"root"));this.store.actions.currentPage(a),this.store.actions.scrollTarget({tocId:this.resolveValidNonRootTocId(t,a),section:o})}resolveValidNonRootTocId(t,o){var i,n,a;let s=(i=t==="root"?void 0:t)!==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(t){await this.loaded();let i=await(await this.awaitService()).getPage(t);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())}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),(t=this.service)===null||t===void 0||t.clear(),this.clusteringHelper=void 0}reload(){return this.clear(),this.load()}async fetchData(){var t,o,i,n,a;try{await Promise.all([(t=this.service)===null||t===void 0?void 0:t.getConfiguration().then(s=>this.store.actions.configuration(s)),(o=this.service)===null||o===void 0?void 0:o.getMap().then(s=>this.store.actions.map(s)),(i=this.service)===null||i===void 0?void 0:i.getToc().then(s=>this.store.actions.toc(s)),(n=this.service)===null||n===void 0?void 0:n.getPagesToc().then(s=>this.store.actions.pagesToc(s)),(a=this.service)===null||a===void 0?void 0:a.getPaginationConfiguration().then(s=>this.store.actions.paginationConfiguration(s))]),this.metadataForSwitchToRelatives.size>0&&this.fetchRelatives(),this._loaded=!0}catch(s){this.errorHandler&&!(s instanceof me.CanceledPromiseError)&&this.errorHandler(s)}}fetchRelatives(){var t,o,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?(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(l=>l.entries);this.store.actions.relatives(s),this.updateClusteringHelper()}):this.updateClusteringHelper()}updateClusteringHelper(){this.clusteringHelper=this.createClusteringHelper(),this.clusteringHelper&&this.store.eventBus.dispatchEvent(new CustomEvent("clustering-helper-created"))}createClusteringHelper(){var t,o;if(this.clusteringHelperProvider)return this.clusteringHelperProvider();let i=this.store.getState().relatives;if(i){let n=i.find(s=>{var l;return((l=s.map)===null||l===void 0?void 0:l.mapId)==this.store.getState().mapId}),a=(o=(t=T.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&o!==void 0?o:[];return new me.ClusteringHelper(i,n,this.metadataForSwitchToRelatives,a)}}async navigateToRelativeTopicIfFound(t){var o,i,n;await this.loaded();let a=await(0,me.waitFor)(()=>{var p;return(p=this.store.getState().configuration)===null||p===void 0?void 0:p.relativeTopicPivotMetadata}),s=this.store.getState().mapId,f=await(await this.awaitService()).getRelativesForTopicInMap(s,a,[t]);if(!((n=(i=(o=f?.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=f.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)}registerMetadataForSwitchToRelatives(t){this.metadataForSwitchToRelatives.add(t),this.store.getState().relatives==null?this.fetchRelatives():this.updateClusteringHelper()}unregisterMetadataForSwitchToRelatives(t){this.metadataForSwitchToRelatives.delete(t),this.updateClusteringHelper()}};var Cd=g(B());var wd=Cd.css`
1803
- `;var Ai=class extends CustomEvent{constructor(t,o){super("ft-reader-map-loaded",{detail:{map:t,toc:o}})}},Ri=class extends CustomEvent{constructor(t,o){super("ft-reader-visible-topics-change",{detail:{visibleTopics:o}})}},Ii=class extends CustomEvent{constructor(t){super("ft-reader-navigation-done",{detail:t})}},Ni=class extends CustomEvent{constructor(t){super("ft-reader-load-error",{detail:t})}},Ti=class extends Event{constructor(){super("ft-reader-map-not-found")}},_i=class extends Event{constructor(){super("ft-reader-map-unauthorized")}},ki=class extends Event{constructor(){super("ft-reader-map-forbidden")}},Li=class extends Event{constructor(){super("ft-reader-topic-relative-not-found",{bubbles:!0,composed:!0})}};var Pi=class{constructor(t){this.stateManager=t}searchInDocument(t){this.stateManager.setSearchInDocumentQuery(t??"")}};var Yt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},of=e=>t=>+(t??"NaN")>0?+t:e,Ct=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 wo.html`
1815
+ `}focus(t){var o;(o=this.container)===null||o===void 0||o.focus(t)}click(){var t;(t=this.container)===null||t===void 0||t.click()}confirmSuggestion(){this.dispatchEvent(new ia(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())}};De.elementDefinitions={"ft-ripple":G,"ft-typography":ft,"ft-icon":vt};De.styles=Ql;na([(0,qr.property)()],De.prototype,"value",void 0);na([(0,qr.query)(".ft-text-field-suggestion")],De.prototype,"container",void 0);na([(0,qr.queryAssignedNodes)()],De.prototype,"assignedNodes",void 0);(0,aa.customElement)("ft-text-field")(H);(0,aa.customElement)("ft-text-field-suggestion")(De);var Ad=g(R());var wo=g(B()),sr=g(Z()),Yt=g(R());var me=g(R());var ed=g(R()),rd=e=>ed.FtReduxStore.get({name:"ft-reader-"+e,initialState:{mapId:void 0,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}});var sa=class{constructor(t,o){this.mapId=t,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}}extractPagesToc(t,o,i){return t.flatMap(n=>(n.pageConfiguration&&this.registerPage(this.buildPage(n,i)),n.tocId==null?this.extractPagesToc(n.children,o,i):[{tocId:n.tocId,title:n.title,depth:o,children:this.extractPagesToc(n.children,o+1,n.tocId)}]))}convertNodes(t,o,i){return t.flatMap(n=>{var a,s,l;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,hasRating:n.hasRating,origin:n.origin,prettyUrl:u,depth:o,parentTocId:i,children:[]};this.register(p);let h=this.convertSectionNodes((l=n.pageToc)!==null&&l!==void 0?l:[],o+1,n.tocId),m=this.convertNodes(n.children,o+1,p.tocId);return p.children=[...h,...m],[p]})}convertSectionNodes(t,o,i){return t.flatMap(n=>{var a;let s=(a=n.prettyUrl)===null||a===void 0?void 0:a.replace(/^\//,""),l={...n,prettyUrl:s,depth:o,parentTocId:i,children:[]};return this.register(l),l.children=this.convertSectionNodes(n.children,o+1,n.tocId),[l]})}buildPage(t,o){var i,n,a,s,l,u;let p={number:this.pages.length+1,title:(i=t.title)!==null&&i!==void 0?i:"",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:o?this.buildBreadcrumb(this.nodeByTocId[o]):[]},h=(b,x)=>(x?p.topics:p.hiddenTopics).push(b),m=(l=(s=t.pageConfiguration)===null||s===void 0?void 0:s.parentsVisibility)!==null&&l!==void 0?l:[];return p.breadcrumb.forEach((b,x)=>{h(b,m[x])}),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 o of[...t.topics,...t.hiddenTopics])this.pageByTocId[o]||(this.pageByTocId[o]=t);this.pages.push(t)}tocIds(t){return t.flatMap(o=>[o.tocId,...this.tocIds(o.children)])}buildBreadcrumb(t){let o=[t.tocId];for(;t?.parentTocId;)o.unshift(t.parentTocId),t=this.nodeByTocId[t.parentTocId];return o}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}},Si=class{convertPaginatedToc(t,o){return new sa(t,o).build()}};var nu=g(id(),1);var nd;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(nd||(nd={}));var ad;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ad||(ad={}));var sd;(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"})(sd||(sd={}));var cd;(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"})(cd||(cd={}));var ld;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ld||(ld={}));var dd;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(dd||(dd={}));var pd;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(pd||(pd={}));var Be;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Be||(Be={}));var ud;(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"})(ud||(ud={}));var fd;(function(e){e.ASC="ASC",e.DESC="DESC"})(fd||(fd={}));var hd;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(hd||(hd={}));var yd;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(yd||(yd={}));var md;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(md||(md={}));var gd;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(gd||(gd={}));var bd;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(bd||(bd={}));var vd;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(vd||(vd={}));var xd;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(xd||(xd={}));var Sd;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Sd||(Sd={}));var nt;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(nt||(nt={}));var Od;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Od||(Od={}));var iu={[nt.PERSONAL_BOOK_SHARE_USER]:[nt.PERSONAL_BOOK_USER],[nt.HTML_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.PDF_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.KHUB_ADMIN]:[nt.CONTENT_PUBLISHER],[nt.ADMIN]:[nt.KHUB_ADMIN,nt.USERS_ADMIN,nt.PORTAL_ADMIN],[nt.DEVELOPER]:[nt.BETA_USER,nt.DEBUG_USER]};function Cd(e,t){return e===t||(iu[e]??[]).some(o=>Cd(o,t))}function Er(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=>Cd(i,t))}var wi=class extends Ce{get mapId(){return this._mapId}set mapId(t){t!==this._mapId&&this.clear(),this._mapId=t}constructor(t,o,i){super(!1,o),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(o=>this.converter.convertPaginatedToc(t,o)))),this.cache.register("ratingSummary",()=>{var t,o;return Er((o=(t=N.getState().session)===null||t===void 0?void 0:t.profile.roles)!==null&&o!==void 0?o:[],"RATING_USER")?this.withMapId(n=>this.fetchMapRating(n)):Promise.resolve()})}clear(){this.cache.clearAll()}getMap(){return this.cache.get("map")}getMapNow(){return this.cache.getNow("map")}getConfiguration(){return this.cache.get("configuration")}getEnrichedToc(){return this.cache.get("enrichedToc")}get enrichedToc(){return this.cache.getNow("enrichedToc")}async getPaginationConfiguration(){return(await this.getEnrichedToc()).paginationConfiguration}async getToc(){return(await this.getEnrichedToc()).toc}async getPagesToc(){return(await this.getEnrichedToc()).pagesToc}async getTocNode(t){return(await this.getEnrichedToc()).nodeByTocId[t]}getTocNodeNow(t){var o;return(o=this.enrichedToc)===null||o===void 0?void 0:o.nodeByTocId[t]}getTocNodeNowByUrl(t){var o,i;let n=this.getMapNow();return n?.prettyUrl==t||`${n?.id}/root`===t?(o=this.enrichedToc)===null||o===void 0?void 0:o.toc[0]:(i=this.enrichedToc)===null||i===void 0?void 0:i.nodeByUrl[t]}async getPage(t){let o=await this.getEnrichedToc();return o.pages[t-1]||o.pages[0]}async getPageByTocId(t){let o=await this.getEnrichedToc();return o.pageByTocId[t]||o.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))}getAttachments(){return this.cache.get("map-attachments",()=>this.fetchAttachments())}getRelativesForDocument(t,o){return this.cache.get("document-relatives-"+t+"-"+o.join("-"),()=>this.fetchRelativesForDocument(t,o))}getRelativesForTopicInMap(t,o,i){return this.cache.get("topic-relatives-"+[t,o,...i].join("-"),()=>this.fetchRelativesForTopicInMap(t,o,i))}getAttachmentDownloadLink(t){return this.makeAbsolute(`${this.api.endpoints.khub.maps.mapId(this.mapId).attachments.attachmentId(t).content}?download=true`)}getLink(t,o,i){let n=this.getNavigationData(t,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(t,o,i){var n,a;t=t||"root";let s=this.enrichedToc,l=s?.pageByTocId[t],u=s?.nodeByTocId[t],p=u?.prettyUrl;return{mapId:this.mapId,tocId:t,topicTitle:(n=u?.title)!==null&&n!==void 0?n:"",page:o&&l&&l.number!==o?o:void 0,prettyUrl:p?.replace(/^r\//,""),prettyUrlDuplicated:(a=s?.duplicatedPrettyUrls.has(p??""))!==null&&a!==void 0?a:!1,section:i}}async getAccurateNavigationData(t,o,i){return await this.getEnrichedToc(),this.getNavigationData(t,o,i)}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(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===t)}:void 0})}rateMap(t,o){return this.makeRateMapRequest(t,o).then(()=>this.clearRatingIfNecessary())}unrateMap(){return this.makeUnrateMapRequest().then(()=>this.clearRatingIfNecessary())}sendMapFeedback(t,o){return this.makeMapFeedbackRequest(t,o)}rateTopic(t,o,i){return this.makeRateTopicRequest(t,o,i).then(()=>this.clearRatingIfNecessary())}unrateTopic(t){return this.makeUnrateTopicRequest(t).then(()=>this.clearRatingIfNecessary())}async clearRatingIfNecessary(){let t=N.getState().session;t?.sessionAuthenticated&&this.cache.clear("ratingSummary")}sendTopicFeedback(t,o,i){return this.makeTopicFeedbackRequest(t,o,i)}fontsStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.fonts)}themeStylesheet(){return this.api.makeAbsolute(this.api.endpoints.stylesheets.theme)}buildBreadcrumb(t){let o=this.getTocNodeNow(t),i=[{tocId:o.tocId,title:o.title}],n=this.getTocNodeNow(o.parentTocId);for(;n;)i.unshift({tocId:n.tocId,title:n.title}),n=this.getTocNodeNow(n.parentTocId);return i}isFeatureAccessible(t,{session:o,ratingType:i}){var n;if(!this.isFeatureAvailable(t))return!1;switch(t){case re.FEEDBACK:return Er(o??[],nt.FEEDBACK_USER);case re.RATING:return Er(o??[],nt.RATING_USER)&&i!=null&&i!==Be.NO_RATING;case re.PRINT:return Er(o??[],nt.PRINT_USER);case re.BOOKMARK:return!!o?.sessionAuthenticated;case re.COLLECTIONS:return Er(o??[],nt.COLLECTION_USER);case re.PERSONAL_BOOKS:return Er(o??[],nt.PERSONAL_BOOK_USER)&&!(!((n=this.getMapNow())===null||n===void 0)&&n.pbkConfidential);default:return!1}}makeAbsolute(t){return this.api.makeAbsolute(t)}};var Ei=class e extends wi{static async build(t){return new e(new Si,void 0,t)}clear(){super.clear(),this.fingerprint=void 0}async fetchMap(t){let o=await this.api.getMap(t);return this.fingerprint=o.fingerprint,o}fetchMapRating(t){return this.api.getMapRating(t)}async fetchPages(t){return await this.getMap(),this.api.getPages(t,this.fingerprint)}fetchTopicHTMLContent(t){return this.api.getTopicHTMLContent(this.mapId,t.contentId,"DESIGNED_READER",this.fingerprint)}fetchTopicMetadata(t){return this.api.getTopic(this.mapId,t.contentId,this.fingerprint)}fetchAttachments(){return this.api.getMapAttachments(this.mapId).catch(()=>[])}fetchRelativesForDocument(t,o){let i={query:"",paging:{page:1,perPage:-1},scope:"DOCUMENTS",metadataFilters:[{key:t,valueFilter:{negative:!1,values:o}}],sort:[],facets:[]};return this.api.search(i)}fetchRelativesForTopicInMap(t,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:[t]}}],sort:[],facets:[]};return this.api.search(n)}makeMapFeedbackRequest(t,o){return this.api.sendMapFeedback(this.mapId,t,o)}makeRateMapRequest(t,o){return this.api.rateMap(this.mapId,t,o)}makeRateTopicRequest(t,o,i){return this.api.rateTopic(this.mapId,t,o,i)}makeTopicFeedbackRequest(t,o,i){return this.api.sendTopicFeedback(this.mapId,t,o,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 Ai=class e{static build(t,o){return new e(rd(t.trim()||"context"),o??Ei.build)}loaded(){return(0,me.waitUntil)(()=>this._loaded)}constructor(t,o,i){this.store=t,this.clusteringHelperProvider=i,this.metadataForSwitchToRelatives=new Set,this._loaded=!1,this.loadDebouncer=new me.Debouncer(10),this.initService(o)}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())}setVisibleTopics(t){this.store.actions.visibleTopics(t)}async awaitService(){return(0,me.waitFor)(()=>this.service)}async navigateToTopic(t,o,i){await this.loaded();let n=await this.awaitService(),a=await(i!=null?n.getPage(i):n.getPageByTocId(t??"root"));this.store.actions.currentPage(a),this.store.actions.scrollTarget({tocId:this.resolveValidNonRootTocId(t,a),section:o})}resolveValidNonRootTocId(t,o){var i,n,a;let s=(i=t==="root"?void 0:t)!==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(t){await this.loaded();let i=await(await this.awaitService()).getPage(t);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())}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),(t=this.service)===null||t===void 0||t.clear(),this.clusteringHelper=void 0}reload(){return this.clear(),this.load()}async fetchData(){var t,o,i,n,a;try{await Promise.all([(t=this.service)===null||t===void 0?void 0:t.getConfiguration().then(s=>this.store.actions.configuration(s)),(o=this.service)===null||o===void 0?void 0:o.getMap().then(s=>this.store.actions.map(s)),(i=this.service)===null||i===void 0?void 0:i.getToc().then(s=>this.store.actions.toc(s)),(n=this.service)===null||n===void 0?void 0:n.getPagesToc().then(s=>this.store.actions.pagesToc(s)),(a=this.service)===null||a===void 0?void 0:a.getPaginationConfiguration().then(s=>this.store.actions.paginationConfiguration(s))]),this.metadataForSwitchToRelatives.size>0&&this.fetchRelatives(),this._loaded=!0}catch(s){this.errorHandler&&!(s instanceof me.CanceledPromiseError)&&this.errorHandler(s)}}fetchRelatives(){var t,o,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?(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(l=>l.entries);this.store.actions.relatives(s),this.updateClusteringHelper()}):this.updateClusteringHelper()}updateClusteringHelper(){this.clusteringHelper=this.createClusteringHelper(),this.clusteringHelper&&this.store.dispatchEvent(new CustomEvent("clustering-helper-created"))}createClusteringHelper(){var t,o;if(this.clusteringHelperProvider)return this.clusteringHelperProvider();let i=this.store.getState().relatives;if(i){let n=i.find(s=>{var l;return((l=s.map)===null||l===void 0?void 0:l.mapId)==this.store.getState().mapId}),a=(o=(t=N.getState().metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&o!==void 0?o:[];return new me.ClusteringHelper(i,n,this.metadataForSwitchToRelatives,a)}}async navigateToRelativeTopicIfFound(t){var o,i,n;await this.loaded();let a=await(0,me.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=(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(t){this.store.actions.searchInDocumentQuery(t)}registerMetadataForSwitchToRelatives(t){this.metadataForSwitchToRelatives.add(t),this.store.getState().relatives==null?this.fetchRelatives():this.updateClusteringHelper()}unregisterMetadataForSwitchToRelatives(t){this.metadataForSwitchToRelatives.delete(t),this.updateClusteringHelper()}};var wd=g(B());var Ed=wd.css`
1816
+ `;var Ri=class extends CustomEvent{constructor(t,o){super("ft-reader-map-loaded",{detail:{map:t,toc:o}})}},Ii=class extends CustomEvent{constructor(t,o){super("ft-reader-visible-topics-change",{detail:{visibleTopics:o}})}},Ni=class extends CustomEvent{constructor(t){super("ft-reader-navigation-done",{detail:t})}},Ti=class extends CustomEvent{constructor(t){super("ft-reader-load-error",{detail:t})}},_i=class extends Event{constructor(){super("ft-reader-map-not-found")}},ki=class extends Event{constructor(){super("ft-reader-map-unauthorized")}},Li=class extends Event{constructor(){super("ft-reader-map-forbidden")}},Pi=class extends Event{constructor(){super("ft-reader-topic-relative-not-found",{bubbles:!0,composed:!0})}};var $i=class{constructor(t){this.stateManager=t}searchInDocument(t){this.stateManager.setSearchInDocumentQuery(t??"")}};var Xt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},au=e=>t=>+(t??"NaN")>0?+t:e,Ct=class extends Yt.FtLitElementRedux{constructor(){super(),this.visibleTopics=[],this.scrollToTargetDebouncer=new Yt.Debouncer(5),this.navigationDebouncer=new Yt.Debouncer(10),this.mapLoadedEventDebouncer=new Yt.Debouncer(50),this.addStore(N)}render(){return wo.html`
1804
1817
  ${this.importStyleIfNeeded()}
1805
1818
  <slot @register-ft-reader-component=${this.registerComponent}></slot>
1806
1819
  `}importStyleIfNeeded(){var t,o;let i=(t=this.stateManager.service)===null||t===void 0?void 0:t.themeStylesheet();return!i||window.location.href.startsWith((o=this.baseUrl)!==null&&o!==void 0?o:"")?wo.nothing:wo.html`
1807
1820
  <style>
1808
1821
  @import "${i}"
1809
1822
  </style>
1810
- `}get stateManager(){return this._stateManager==null&&(this._stateManager=Ei.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 o=t.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 Pi(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(o=>t.has(o))&&this.mapId&&this.navigateToTarget(),t.has("session")&&this.reload()}contentAvailableCallback(t){var o;if(super.contentAvailableCallback(t),(t.has("map")||t.has("toc"))&&this.sendLoadedEventIfLoaded(),t.has("scrollTarget")&&((o=this.scrollTarget)===null||o===void 0?void 0:o.tocId)==null){let i=t.get("scrollTarget");i?.tocId!=null&&this.scrollToTargetDebouncer.run(()=>{var n;return this.stateManager.service.getAccurateNavigationData(i.tocId,(n=this.currentPage)===null||n===void 0?void 0:n.number,i.section).then(a=>this.dispatchEvent(new Ii(a)))})}t.has("visibleTopics")&&Promise.all(this.visibleTopics.map(i=>{var n;return this.stateManager.service.getAccurateNavigationData(i,(n=this.currentPage)===null||n===void 0?void 0:n.number)})).then(i=>{let n=i.filter(a=>a!=null&&a.topicTitle!=="").map(a=>{var s;return{tocId:a.tocId,title:a.topicTitle,page:a.page,prettyUrl:a.prettyUrl,prettyUrlDuplicated:a.prettyUrlDuplicated,breadcrumb:(s=this.stateManager.service)===null||s===void 0?void 0:s.buildBreadcrumb(a.tocId)}});this.dispatchEvent(new Ri(this.map,n))})}clear(){this.stateManager.clear()}async reload(){await this.stateManager.reload()}async navigateToTarget(){await this.navigationDebouncer.run(async()=>{this.topicPivot!=null?!await this.stateManager.navigateToRelativeTopicIfFound(this.topicPivot)&&this.lastNotifiedNotFoundRelative!==this.mapId+this.topicPivot?(this.dispatchEvent(new Li),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)})}registerComponent(t){t.stopPropagation();let o=t.composedPath()[0];this.register(o)}register(t){t.setReaderStateManager(this.stateManager)}handleLoadError(t){let o=t;o.status===401?this.dispatchEvent(new _i):o.status===403?this.dispatchEvent(new ki):o.status===404?this.dispatchEvent(new Ti):this.dispatchEvent(new Ni(t))}reloadBookmarks(){Fl.reloadBookmarks()}async reloadRating(){var t,o;await((t=this.stateManager.service)===null||t===void 0?void 0:t.reloadRating()),(o=this.stateManager.store)===null||o===void 0||o.eventBus.dispatchEvent(new CustomEvent("rating-changed"))}sendLoadedEventIfLoaded(){this.mapLoadedEventDebouncer.run(()=>{this.map&&this.toc&&this.dispatchEvent(new Ai(this.map,this.toc))})}};Ct.styles=wd;Yt([(0,qt.redux)({store:T.name})],Ct.prototype,"baseUrl",void 0);Yt([(0,qt.redux)({store:T.name})],Ct.prototype,"session",void 0);Yt([(0,ar.property)()],Ct.prototype,"mapId",void 0);Yt([(0,ar.property)()],Ct.prototype,"tocId",void 0);Yt([(0,ar.property)()],Ct.prototype,"section",void 0);Yt([(0,ar.property)()],Ct.prototype,"topicPivot",void 0);Yt([(0,ar.property)()],Ct.prototype,"searchInDocumentQuery",void 0);Yt([(0,ar.property)({type:Number,converter:{fromAttribute:of()}})],Ct.prototype,"page",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"map",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"toc",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"visibleTopics",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"currentPage",void 0);Yt([(0,qt.redux)({store:"reader"})],Ct.prototype,"scrollTarget",void 0);Yt([(0,ar.property)({attribute:!1})],Ct.prototype,"readerServiceProvider",void 0);(0,Ed.customElement)("ft-reader-context")(Ct);var Di=class extends CustomEvent{constructor(t){super("send-feedback",{detail:t})}},$i=class extends CustomEvent{constructor(t){super("ft-reader-topic-feedback",{composed:!0,bubbles:!0,detail:t})}},Bi=class extends CustomEvent{constructor(t){super("ft-reader-feedback",{composed:!0,bubbles:!0,detail:t})}},Mi=class extends CustomEvent{constructor(t){super("ft-reader-mailer-topic-feedback",{composed:!0,bubbles:!0,detail:{topic:t}})}},Fi=class extends CustomEvent{constructor(){super("ft-reader-mailer-map-feedback",{composed:!0,bubbles:!0})}};var wt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},X=class extends or(Me){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,jl)}get canAccessFeedback(){var t;return(t=this.service)===null||t===void 0?void 0:t.isFeatureAccessible(ee.FEEDBACK,{session:this.session})}get canAccessRating(){var t,o;return(t=this.service)===null||t===void 0?void 0:t.isFeatureAccessible(ee.RATING,{session:this.session,ratingType:(o=this.ratingSummary)===null||o===void 0?void 0:o.type})}get configuredRatingType(){var t,o;return(o=this.ratingAllowed?(t=this.ratingSummary)===null||t===void 0?void 0:t.type:"NO_RATING")!==null&&o!==void 0?o:"NO_RATING"}get ratingType(){var t,o,i;return(i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.type)!==null&&i!==void 0?i:"NO_RATING"}get ratingValue(){var t,o,i;return(i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.value)!==null&&i!==void 0?i:-1}get ratingDate(){var t,o;let i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.date;return typeof i=="string"?(0,Ui.parseDate)(i):i}render(){return!this.canAccessFeedback&&!this.canAccessRating?yt.nothing:yt.html`
1823
+ `}get stateManager(){return this._stateManager==null&&(this._stateManager=Ai.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 o=t.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 $i(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(o=>t.has(o))&&this.mapId&&this.navigateToTarget(),t.has("session")&&this.reload()}contentAvailableCallback(t){var o;if(super.contentAvailableCallback(t),(t.has("map")||t.has("toc"))&&this.sendLoadedEventIfLoaded(),t.has("scrollTarget")&&((o=this.scrollTarget)===null||o===void 0?void 0:o.tocId)==null){let i=t.get("scrollTarget");i?.tocId!=null&&this.scrollToTargetDebouncer.run(()=>{var n;return this.stateManager.service.getAccurateNavigationData(i.tocId,(n=this.currentPage)===null||n===void 0?void 0:n.number,i.section).then(a=>this.dispatchEvent(new Ni(a)))})}t.has("visibleTopics")&&Promise.all(this.visibleTopics.map(i=>{var n;return this.stateManager.service.getAccurateNavigationData(i,(n=this.currentPage)===null||n===void 0?void 0:n.number)})).then(i=>{let n=i.filter(a=>a!=null&&a.topicTitle!=="").map(a=>{var s;return{tocId:a.tocId,title:a.topicTitle,page:a.page,prettyUrl:a.prettyUrl,prettyUrlDuplicated:a.prettyUrlDuplicated,breadcrumb:(s=this.stateManager.service)===null||s===void 0?void 0:s.buildBreadcrumb(a.tocId)}});this.dispatchEvent(new Ii(this.map,n))})}clear(){this.stateManager.clear()}async reload(){await this.stateManager.reload()}async navigateToTarget(){await this.navigationDebouncer.run(async()=>{this.topicPivot!=null?!await this.stateManager.navigateToRelativeTopicIfFound(this.topicPivot)&&this.lastNotifiedNotFoundRelative!==this.mapId+this.topicPivot?(this.dispatchEvent(new Pi),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)})}registerComponent(t){t.stopPropagation();let o=t.composedPath()[0];this.register(o)}register(t){t.setReaderStateManager(this.stateManager)}handleLoadError(t){let o=t;o.status===401?this.dispatchEvent(new ki):o.status===403?this.dispatchEvent(new Li):o.status===404?this.dispatchEvent(new _i):this.dispatchEvent(new Ti(t))}reloadBookmarks(){Ul.reloadBookmarks()}async reloadRating(){var t,o;await((t=this.stateManager.service)===null||t===void 0?void 0:t.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 Ri(this.map,this.toc))})}};Ct.styles=Ed;Xt([(0,Yt.redux)({store:N.name})],Ct.prototype,"baseUrl",void 0);Xt([(0,Yt.redux)({store:N.name})],Ct.prototype,"session",void 0);Xt([(0,sr.property)()],Ct.prototype,"mapId",void 0);Xt([(0,sr.property)()],Ct.prototype,"tocId",void 0);Xt([(0,sr.property)()],Ct.prototype,"section",void 0);Xt([(0,sr.property)()],Ct.prototype,"topicPivot",void 0);Xt([(0,sr.property)()],Ct.prototype,"searchInDocumentQuery",void 0);Xt([(0,sr.property)({type:Number,converter:{fromAttribute:au()}})],Ct.prototype,"page",void 0);Xt([(0,Yt.redux)({store:"reader"})],Ct.prototype,"map",void 0);Xt([(0,Yt.redux)({store:"reader"})],Ct.prototype,"toc",void 0);Xt([(0,Yt.redux)({store:"reader"})],Ct.prototype,"visibleTopics",void 0);Xt([(0,Yt.redux)({store:"reader"})],Ct.prototype,"currentPage",void 0);Xt([(0,Yt.redux)({store:"reader"})],Ct.prototype,"scrollTarget",void 0);Xt([(0,sr.property)({attribute:!1})],Ct.prototype,"readerServiceProvider",void 0);(0,Ad.customElement)("ft-reader-context")(Ct);var Di=class extends CustomEvent{constructor(t){super("send-feedback",{detail:t})}},Bi=class extends CustomEvent{constructor(t){super("ft-reader-topic-feedback",{composed:!0,bubbles:!0,detail:t})}},Mi=class extends CustomEvent{constructor(t){super("ft-reader-feedback",{composed:!0,bubbles:!0,detail:t})}},Fi=class extends CustomEvent{constructor(t){super("ft-reader-mailer-topic-feedback",{composed:!0,bubbles:!0,detail:{topic:t}})}},Ui=class extends CustomEvent{constructor(){super("ft-reader-mailer-map-feedback",{composed:!0,bubbles:!0})}};var wt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},X=class extends ir(Me){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,Kl)}get canAccessFeedback(){var t;return(t=this.service)===null||t===void 0?void 0:t.isFeatureAccessible(re.FEEDBACK,{session:this.session})}get canAccessRating(){var t,o;return(t=this.service)===null||t===void 0?void 0:t.isFeatureAccessible(re.RATING,{session:this.session,ratingType:(o=this.ratingSummary)===null||o===void 0?void 0:o.type})}get configuredRatingType(){var t,o;return(o=this.ratingAllowed?(t=this.ratingSummary)===null||t===void 0?void 0:t.type:"NO_RATING")!==null&&o!==void 0?o:"NO_RATING"}get ratingType(){var t,o,i;return(i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.type)!==null&&i!==void 0?i:"NO_RATING"}get ratingValue(){var t,o,i;return(i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.value)!==null&&i!==void 0?i:-1}get ratingDate(){var t,o;let i=(o=(t=this.ratingSummary)===null||t===void 0?void 0:t.rating)===null||o===void 0?void 0:o.date;return typeof i=="string"?(0,Wi.parseDate)(i):i}render(){return!this.canAccessFeedback&&!this.canAccessRating?yt.nothing:yt.html`
1811
1824
  <div class="ft-reader-feedback">
1812
1825
  ${this.hideTitle?yt.nothing:yt.html`
1813
1826
  <ft-typography variant="title" part="main-title">
@@ -1829,14 +1842,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1829
1842
  </div>
1830
1843
  `:yt.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 o=new Date().toLocaleDateString(),i=t.toLocaleDateString();return o===i?V.messages.ratedToday():V.messages.ratedOn(t)}renderRating(){switch(this.configuredRatingType){case"STARS":return yt.html`
1831
1844
  <div class="ft-reader-feedback--stars" part="rating rating-stars">
1832
- ${(0,Ad.repeat)(new Array(5),(a,s)=>s,(a,s)=>{let l=this.ratingType==="STARS"&&this.ratingValue>s,f=s+1;return yt.html`
1833
- <ft-button round part="rating-stars-${f}"
1834
- label="${V.messages.starsRating(f)}"
1845
+ ${(0,Rd.repeat)(new Array(5),(a,s)=>s,(a,s)=>{let l=this.ratingType==="STARS"&&this.ratingValue>s,u=s+1;return yt.html`
1846
+ <ft-button round part="rating-stars-${u}"
1847
+ label="${V.messages.starsRating(u)}"
1835
1848
  tooltipPosition="top"
1836
1849
  .iconVariant=${this.iconVariant}
1837
1850
  icon="${l?this.filledStarIcon:this.emptyStarIcon}"
1838
1851
  class="ft-reader-feedback--${l?"active":"inactive"}"
1839
- @click=${()=>this.rate(this.ratingValue===f?void 0:f)}
1852
+ @click=${()=>this.rate(this.ratingValue===u?void 0:u)}
1840
1853
  ></ft-button>
1841
1854
  `})}
1842
1855
  </div>
@@ -1885,7 +1898,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1885
1898
  <a class="ft-reader-feedback--feedback-link" href="${s}">
1886
1899
  ${l}
1887
1900
  </a>
1888
- `);let f=this.withMoreOptionsButton&&(!((t=this.configuration)===null||t===void 0)&&t.mailsSentByFluidTopics||!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers)?yt.html`
1901
+ `);let u=this.withMoreOptionsButton&&(!((t=this.configuration)===null||t===void 0)&&t.mailsSentByFluidTopics||!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers)?yt.html`
1889
1902
  <ft-button outlined
1890
1903
  type="button" name="more-options"
1891
1904
  class="ft-reader-feedback--more-options"
@@ -1914,11 +1927,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1914
1927
  @live-change=${p=>this.feedbackMessage=p.detail.trim()}
1915
1928
  ></ft-text-area>
1916
1929
  <div part="buttons-container">
1917
- ${f}
1930
+ ${u}
1918
1931
  ${l}
1919
1932
  </div>
1920
1933
  </form>
1921
- `}return yt.nothing}onFormSubmitEvent(t,o){t.preventDefault(),o?this.onMailerFeedbackSent():this.sendFeedback()}validFromEmail(){var t,o,i;let n=/^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;return!(((o=(t=this.session)===null||t===void 0?void 0:t.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 t;this.dispatchEvent(new Di({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.value="",0)}};X.elementDefinitions={"ft-button":fe,"ft-typography":pt,"ft-switch":Ut,"ft-switch-option":ft,"ft-text-area":It,"ft-text-field":H};X.styles=ms;wt([(0,mt.property)({type:Boolean})],X.prototype,"editorMode",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"hideTitle",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"withMoreOptionsButton",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"ratingAllowed",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"i18nProperties",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"ratingSummary",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"session",void 0);wt([(0,mt.query)(".ft-reader-feedback--feedback-input")],X.prototype,"feedbackInput",void 0);wt([(0,mt.state)()],X.prototype,"from",void 0);wt([(0,mt.state)()],X.prototype,"feedbackMessage",void 0);wt([(0,mt.property)()],X.prototype,"iconVariant",void 0);wt([(0,mt.property)()],X.prototype,"emptyStarIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledStarIcon",void 0);wt([(0,mt.property)()],X.prototype,"emptyLikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledLikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"emptyDislikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledDislikeIcon",void 0);wt([(0,Ui.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],X.prototype,"configuration",void 0);wt([(0,mt.property)()],X.prototype,"feedbackMailLinkBuilder",void 0);var Xr=ir.fromGwt("server");var Qr=class{constructor(){this.subject="",this.url="",this.subjectMetadata="",this.bodyMetadata="",this.isAuthenticated=!1}update(t,o,i,n,a){var s;this.subject=t,this.url=o,this.configuration=n,this.isAuthenticated=a,this.subjectMetadata=this.filterMetadata(i,n.subjectMetadataIds).map(l=>"["+l.values[l.values.length-1]+"]").join(""),this.bodyMetadata=this.filterMetadata(i,(s=n.bodyMetadataIds)!==null&&s!==void 0?s:[]).map(l=>"["+l.values.join(", ")+"]").join(" ")}filterMetadata(t,o){return o.map(i=>t.find(n=>n.key===i)).filter(i=>i!=null&&i.values.length>0)}shouldUseMailer(){var t,o;let i=this.isAuthenticated&&!(!((t=this.configuration)===null||t===void 0)&&t.mailsSentByFluidTopics),n=!this.isAuthenticated&&!(!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers);return i||n}build(t){var o;if(t!=null&&t.length===0||!this.shouldUseMailer())return;let i=encodeURIComponent(this.subject+" "+this.subjectMetadata),n=encodeURIComponent(`
1934
+ `}return yt.nothing}onFormSubmitEvent(t,o){t.preventDefault(),o?this.onMailerFeedbackSent():this.sendFeedback()}validFromEmail(){var t,o,i;let n=/^[a-zA-Z0-9_+&*-]+(?:\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;return!(((o=(t=this.session)===null||t===void 0?void 0:t.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 t;this.dispatchEvent(new Di({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.value="",0)}};X.elementDefinitions={"ft-button":ue,"ft-typography":ft,"ft-switch":zt,"ft-switch-option":ht,"ft-text-area":Nt,"ft-text-field":H};X.styles=bs;wt([(0,mt.property)({type:Boolean})],X.prototype,"editorMode",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"hideTitle",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"withMoreOptionsButton",void 0);wt([(0,mt.property)({type:Boolean})],X.prototype,"ratingAllowed",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"i18nProperties",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"ratingSummary",void 0);wt([(0,mt.property)({attribute:!1})],X.prototype,"session",void 0);wt([(0,mt.query)(".ft-reader-feedback--feedback-input")],X.prototype,"feedbackInput",void 0);wt([(0,mt.state)()],X.prototype,"from",void 0);wt([(0,mt.state)()],X.prototype,"feedbackMessage",void 0);wt([(0,mt.property)()],X.prototype,"iconVariant",void 0);wt([(0,mt.property)()],X.prototype,"emptyStarIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledStarIcon",void 0);wt([(0,mt.property)()],X.prototype,"emptyLikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledLikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"emptyDislikeIcon",void 0);wt([(0,mt.property)()],X.prototype,"filledDislikeIcon",void 0);wt([(0,Wi.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],X.prototype,"configuration",void 0);wt([(0,mt.property)()],X.prototype,"feedbackMailLinkBuilder",void 0);var Xr=nr.fromGwt("server");var Qr=class{constructor(){this.subject="",this.url="",this.subjectMetadata="",this.bodyMetadata="",this.isAuthenticated=!1}update(t,o,i,n,a){var s;this.subject=t,this.url=o,this.configuration=n,this.isAuthenticated=a,this.subjectMetadata=this.filterMetadata(i,n.subjectMetadataIds).map(l=>"["+l.values[l.values.length-1]+"]").join(""),this.bodyMetadata=this.filterMetadata(i,(s=n.bodyMetadataIds)!==null&&s!==void 0?s:[]).map(l=>"["+l.values.join(", ")+"]").join(" ")}filterMetadata(t,o){return o.map(i=>t.find(n=>n.key===i)).filter(i=>i!=null&&i.values.length>0)}shouldUseMailer(){var t,o;let i=this.isAuthenticated&&!(!((t=this.configuration)===null||t===void 0)&&t.mailsSentByFluidTopics),n=!this.isAuthenticated&&!(!((o=this.configuration)===null||o===void 0)&&o.mailsSentByFluidTopicsForUnauthenticatedUsers);return i||n}build(t){var o;if(t!=null&&t.length===0||!this.shouldUseMailer())return;let i=encodeURIComponent(this.subject+" "+this.subjectMetadata),n=encodeURIComponent(`
1922
1935
  ${this.bodyMetadata}
1923
1936
  ${this.url}
1924
1937
  _________________________________________________________________
@@ -1926,7 +1939,7 @@ _________________________________________________________________
1926
1939
  ${t??""}
1927
1940
 
1928
1941
  _________________________________________________________________
1929
- ${Xr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configuration)===null||o===void 0?void 0:o.recipients.join(",")}?subject=${i}&body=${n}`}};var sr=ir.build("inDesignerFeedbackComponent"),Wi={feedbackAndRatingDisabledInEditor:"Feedback and ratings performed here are not taken into account."};var Nt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},lt=class extends or(Me){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 Qr,this.i18nProperties={feedbackMainTitle:V.properties.mapFeedbackMainTitle(),ratingSectionTitle:V.properties.mapRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.mapDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.mapFeedbackSectionTitle()},this.updateDebouncer=new Dt.Debouncer(100),this.sendRatingDebouncer=new Dt.Debouncer(500),this.addStore(T)}render(){return Rd.html`
1942
+ ${Xr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configuration)===null||o===void 0?void 0:o.recipients.join(",")}?subject=${i}&body=${n}`}};var cr=nr.build("inDesignerFeedbackComponent"),zi={feedbackAndRatingDisabledInEditor:"Feedback and ratings performed here are not taken into account."};var Tt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},pt=class extends ir(Me){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.iconVariant=kt.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 Qr,this.i18nProperties={feedbackMainTitle:V.properties.mapFeedbackMainTitle(),ratingSectionTitle:V.properties.mapRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.mapDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.mapFeedbackSectionTitle()},this.updateDebouncer=new Bt.Debouncer(100),this.sendRatingDebouncer=new Bt.Debouncer(500),this.addStore(N)}render(){return Id.html`
1930
1943
  <ft-reader-feedback
1931
1944
  ratingAllowed
1932
1945
  .i18nProperties=${this.i18nProperties}
@@ -1948,7 +1961,7 @@ ${Xr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configura
1948
1961
  @mailer-feedback=${this.onMailerFeedbackSent}
1949
1962
  @open-more-options=${this.openMoreOptions}
1950
1963
  ></ft-reader-feedback>
1951
- `}update(t){var o,i,n,a;super.update(t),t.has("map")&&this.map&&this.updateData(),t.has("editorMode")&&this.editorMode&&this.addI18nContext(sr,Wi),["map","configuration","user","mailSubject"].some(s=>t.has(s))&&this.map&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(i=(o=this.service)===null||o===void 0?void 0:o.getLink())!==null&&i!==void 0?i:"",this.map.metadata,this.configuration,((a=(n=this.session)===null||n===void 0?void 0:n.profile)===null||a===void 0?void 0:a.userId)!=null)}connectedCallback(){super.connectedCallback(),this.updateData()}onStoreAvailable(t){super.onStoreAvailable(t),this.updateData()}updateData(){this.updateDebouncer.run(async()=>{var t,o;this.map&&(!((o=(t=this.session)===null||t===void 0?void 0:t.profile)===null||o===void 0)&&o.userId||this.ratingSummary==null)&&await this.fetchRatingSummary()})}async fetchRatingSummary(){var t;this.ratingSummary=await((t=this.service)===null||t===void 0?void 0:t.getMapRating())}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 o,i,n;if(!this.editorMode&&this.ratingSummary){try{t==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,t))}catch{this.dispatchEvent(new Dt.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new Dt.FtNotificationEvent({type:"info",message:sr.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var o;try{this.editorMode?this.dispatchEvent(new Dt.FtNotificationEvent({type:"info",message:sr.messages.feedbackAndRatingDisabledInEditor()})):(await((o=this.service)===null||o===void 0?void 0:o.sendMapFeedback(t.detail.message,t.detail.from)),this.dispatchEvent(new Dt.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()}))),this.readerFeedback.clearFeedbackInput()}catch{this.dispatchEvent(new Dt.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){this.dispatchEvent(new Fi)}openMoreOptions(){var t,o,i;this.dispatchEvent(new Bi({mapId:this.map.id,mapTitle:this.map.title,mapMetadata:((t=this.map)===null||t===void 0?void 0:t.metadata)||[],ratingType:((o=this.ratingSummary)===null||o===void 0?void 0:o.type)||Be.NO_RATING,ratingValue:(i=this.ratingSummary)===null||i===void 0?void 0:i.rating}))}};lt.elementDefinitions={"ft-reader-feedback":X};Nt([(0,Dt.redux)({store:T.name})],lt.prototype,"session",void 0);Nt([(0,Dt.redux)({store:"reader"})],lt.prototype,"map",void 0);Nt([(0,Dt.redux)({store:T.name})],lt.prototype,"editorMode",void 0);Nt([(0,Dt.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],lt.prototype,"configuration",void 0);Nt([(0,Xt.state)()],lt.prototype,"ratingSummary",void 0);Nt([(0,Xt.property)({type:Boolean})],lt.prototype,"hideTitle",void 0);Nt([(0,Xt.property)({type:Boolean})],lt.prototype,"withMoreOptionsButton",void 0);Nt([(0,Xt.property)()],lt.prototype,"iconVariant",void 0);Nt([(0,Xt.property)()],lt.prototype,"emptyStarIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"filledStarIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"emptyLikeIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"filledLikeIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"emptyDislikeIcon",void 0);Nt([(0,Xt.property)()],lt.prototype,"filledDislikeIcon",void 0);Nt([(0,Xt.query)("ft-reader-feedback")],lt.prototype,"readerFeedback",void 0);Nt([vi(Xr.properties["mail.map_feedback.subject"](e=>{var t;return[(t=e.map)===null||t===void 0?void 0:t.title]}))],lt.prototype,"mailSubject",void 0);Nt([(0,Dt.reduxEventListener)({eventName:"rating-changed"})],lt.prototype,"fetchRatingSummary",null);var Nd=g(B()),Qt=g(Z()),$t=g(R());var sa=g(Z());var Id=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ca=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},aa=Symbol("registerInterval");function nf(e){var t;class o extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this[t]=0}connectedCallback(){super.connectedCallback(),this[aa]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[aa]):this.dispatchEvent(new ca)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return t=aa,Id([(0,sa.state)()],o.prototype,"tocNode",void 0),Id([(0,sa.state)()],o.prototype,"disableContextInteractions",void 0),o}var zi=class extends nf(Me){};var Tt=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},dt=class extends or(zi){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 Qr,this.i18nProperties={feedbackMainTitle:V.properties.topicFeedbackMainTitle(),ratingSectionTitle:V.properties.topicRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.topicDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.topicFeedbackSectionTitle()},this.updateDebouncer=new $t.Debouncer(100),this.sendRatingDebouncer=new $t.Debouncer(500),this.addStore(T)}render(){var t;return Nd.html`
1964
+ `}update(t){var o,i,n,a;super.update(t),t.has("map")&&this.map&&this.updateData(),t.has("editorMode")&&this.editorMode&&this.addI18nContext(cr,zi),["map","configuration","user","mailSubject"].some(s=>t.has(s))&&this.map&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(i=(o=this.service)===null||o===void 0?void 0:o.getLink())!==null&&i!==void 0?i:"",this.map.metadata,this.configuration,((a=(n=this.session)===null||n===void 0?void 0:n.profile)===null||a===void 0?void 0:a.userId)!=null)}connectedCallback(){super.connectedCallback(),this.updateData()}onStoreAvailable(t){super.onStoreAvailable(t),this.updateData()}updateData(){this.updateDebouncer.run(async()=>{var t,o;this.map&&(!((o=(t=this.session)===null||t===void 0?void 0:t.profile)===null||o===void 0)&&o.userId||this.ratingSummary==null)&&await this.fetchRatingSummary()})}async fetchRatingSummary(){var t;this.ratingSummary=await((t=this.service)===null||t===void 0?void 0:t.getMapRating())}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 o,i,n;if(!this.editorMode&&this.ratingSummary){try{t==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,t))}catch{this.dispatchEvent(new Bt.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new Bt.FtNotificationEvent({type:"info",message:cr.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var o;try{this.editorMode?this.dispatchEvent(new Bt.FtNotificationEvent({type:"info",message:cr.messages.feedbackAndRatingDisabledInEditor()})):(await((o=this.service)===null||o===void 0?void 0:o.sendMapFeedback(t.detail.message,t.detail.from)),this.dispatchEvent(new Bt.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()}))),this.readerFeedback.clearFeedbackInput()}catch{this.dispatchEvent(new Bt.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){this.dispatchEvent(new Ui)}openMoreOptions(){var t,o,i;this.dispatchEvent(new Mi({mapId:this.map.id,mapTitle:this.map.title,mapMetadata:((t=this.map)===null||t===void 0?void 0:t.metadata)||[],ratingType:((o=this.ratingSummary)===null||o===void 0?void 0:o.type)||Be.NO_RATING,ratingValue:(i=this.ratingSummary)===null||i===void 0?void 0:i.rating}))}};pt.elementDefinitions={"ft-reader-feedback":X};Tt([(0,Bt.redux)({store:N.name})],pt.prototype,"session",void 0);Tt([(0,Bt.redux)({store:"reader"})],pt.prototype,"map",void 0);Tt([(0,Bt.redux)({store:N.name})],pt.prototype,"editorMode",void 0);Tt([(0,Bt.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],pt.prototype,"configuration",void 0);Tt([(0,Qt.state)()],pt.prototype,"ratingSummary",void 0);Tt([(0,Qt.property)({type:Boolean})],pt.prototype,"hideTitle",void 0);Tt([(0,Qt.property)({type:Boolean})],pt.prototype,"withMoreOptionsButton",void 0);Tt([(0,Qt.property)()],pt.prototype,"iconVariant",void 0);Tt([(0,Qt.property)()],pt.prototype,"emptyStarIcon",void 0);Tt([(0,Qt.property)()],pt.prototype,"filledStarIcon",void 0);Tt([(0,Qt.property)()],pt.prototype,"emptyLikeIcon",void 0);Tt([(0,Qt.property)()],pt.prototype,"filledLikeIcon",void 0);Tt([(0,Qt.property)()],pt.prototype,"emptyDislikeIcon",void 0);Tt([(0,Qt.property)()],pt.prototype,"filledDislikeIcon",void 0);Tt([(0,Qt.query)("ft-reader-feedback")],pt.prototype,"readerFeedback",void 0);Tt([xi(Xr.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);Tt([(0,Bt.reduxEventListener)({eventName:"rating-changed"})],pt.prototype,"fetchRatingSummary",null);var Td=g(B()),Jt=g(Z()),Mt=g(R());var la=g(Z());var Nd=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},da=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},ca=Symbol("registerInterval");function su(e){var t;class o extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this[t]=0}connectedCallback(){super.connectedCallback(),this[ca]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[ca]):this.dispatchEvent(new da)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return t=ca,Nd([(0,la.state)()],o.prototype,"tocNode",void 0),Nd([(0,la.state)()],o.prototype,"disableContextInteractions",void 0),o}var Hi=class extends su(Me){};var _t=function(e,t,o,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(n<3?s(a):n>3?s(t,o,a):s(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a},ut=class extends ir(Hi){constructor(){super(),this.editorMode=!1,this.hideTitle=!1,this.withMoreOptionsButton=!1,this.iconVariant=kt.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 Qr,this.i18nProperties={feedbackMainTitle:V.properties.topicFeedbackMainTitle(),ratingSectionTitle:V.properties.topicRatingSectionTitle(),dichotomousRatingSectionTitle:V.properties.topicDichotomousRatingSectionTitle(),feedbackSectionTitle:V.properties.topicFeedbackSectionTitle()},this.updateDebouncer=new Mt.Debouncer(100),this.sendRatingDebouncer=new Mt.Debouncer(500),this.addStore(N)}render(){var t;return Td.html`
1952
1965
  <ft-reader-feedback
1953
1966
  .i18nProperties=${this.i18nProperties}
1954
1967
  ?ratingAllowed=${(t=this.tocNode)===null||t===void 0?void 0:t.hasRating}
@@ -1970,7 +1983,7 @@ ${Xr.messages["mail.feedback.disclaimer"]()}`);return`mailto:${(o=this.configura
1970
1983
  @mailer-feedback=${this.onMailerFeedbackSent}
1971
1984
  @open-more-options=${this.openMoreOptions}
1972
1985
  ></ft-reader-feedback>
1973
- `}update(t){var o,i,n,a;super.update(t),["tocNode","user"].some(s=>t.has(s))&&this.tocNode&&this.updateData(),t.has("editorMode")&&this.editorMode&&this.addI18nContext(sr,Wi),["map","tocNode","configuration","user","mailSubject"].some(s=>t.has(s))&&this.map&&this.tocNode&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(i=(o=this.service)===null||o===void 0?void 0:o.getLink(this.tocNode.tocId))!==null&&i!==void 0?i:"",this.map.metadata,this.configuration,((a=(n=this.session)===null||n===void 0?void 0:n.profile)===null||a===void 0?void 0:a.userId)!=null)}connectedCallback(){super.connectedCallback(),this.updateData()}updateData(){this.updateDebouncer.run(async()=>{var t,o;this.tocNode&&(!((o=(t=this.session)===null||t===void 0?void 0:t.profile)===null||o===void 0)&&o.userId||this.ratingSummary==null)&&await this.fetchRatingSummary()})}async fetchRatingSummary(){var t;this.ratingSummary=await((t=this.service)===null||t===void 0?void 0:t.getTopicRating(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 o,i,n;if(!this.editorMode&&this.ratingSummary&&this.tocNode){try{t==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,t))}catch{this.dispatchEvent(new $t.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new $t.FtNotificationEvent({type:"info",message:sr.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var o;try{!this.editorMode&&this.tocNode?(await((o=this.service)===null||o===void 0?void 0:o.sendTopicFeedback(this.tocNode.tocId,t.detail.message,t.detail.from)),this.dispatchEvent(new $t.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()})),this.readerFeedback.clearFeedbackInput()):this.editorMode&&this.dispatchEvent(new $t.FtNotificationEvent({type:"info",message:sr.messages.feedbackAndRatingDisabledInEditor()}))}catch{this.dispatchEvent(new $t.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){let t=this.tocNode;this.dispatchEvent(new Mi(t))}openMoreOptions(){var t,o,i,n,a,s,l,f;this.dispatchEvent(new $i({mapId:this.map.id,mapTitle:this.map.title,tocId:this.tocNode.tocId,topicTitle:this.tocNode.title,topicUrl:(o=(t=this.service)===null||t===void 0?void 0:t.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?(l=this.ratingSummary)===null||l===void 0?void 0:l.type:Be.NO_RATING)||Be.NO_RATING,ratingValue:(f=this.ratingSummary)===null||f===void 0?void 0:f.rating}))}};dt.elementDefinitions={"ft-reader-feedback":X};Tt([(0,$t.redux)({store:T.name})],dt.prototype,"session",void 0);Tt([(0,$t.redux)({store:"reader"})],dt.prototype,"map",void 0);Tt([(0,$t.redux)({store:T.name})],dt.prototype,"editorMode",void 0);Tt([(0,$t.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],dt.prototype,"configuration",void 0);Tt([(0,Qt.state)()],dt.prototype,"ratingSummary",void 0);Tt([(0,Qt.property)({type:Boolean})],dt.prototype,"hideTitle",void 0);Tt([(0,Qt.property)({type:Boolean})],dt.prototype,"withMoreOptionsButton",void 0);Tt([(0,Qt.property)()],dt.prototype,"iconVariant",void 0);Tt([(0,Qt.property)()],dt.prototype,"emptyStarIcon",void 0);Tt([(0,Qt.property)()],dt.prototype,"filledStarIcon",void 0);Tt([(0,Qt.property)()],dt.prototype,"emptyLikeIcon",void 0);Tt([(0,Qt.property)()],dt.prototype,"filledLikeIcon",void 0);Tt([(0,Qt.property)()],dt.prototype,"emptyDislikeIcon",void 0);Tt([(0,Qt.property)()],dt.prototype,"filledDislikeIcon",void 0);Tt([(0,Qt.query)("ft-reader-feedback")],dt.prototype,"readerFeedback",void 0);Tt([vi(Xr.properties["mail.feedback.subject"](e=>{var t,o;return[(t=e.tocNode)===null||t===void 0?void 0:t.title,(o=e.map)===null||o===void 0?void 0:o.title]}))],dt.prototype,"mailSubject",void 0);Tt([(0,$t.reduxEventListener)({eventName:"rating-changed"})],dt.prototype,"fetchRatingSummary",null);(0,la.customElement)("ft-reader-map-feedback")(lt);(0,la.customElement)("ft-reader-topic-feedback")(dt);})();
1986
+ `}update(t){var o,i,n,a;super.update(t),["tocNode","user"].some(s=>t.has(s))&&this.tocNode&&this.updateData(),t.has("editorMode")&&this.editorMode&&this.addI18nContext(cr,zi),["map","tocNode","configuration","user","mailSubject"].some(s=>t.has(s))&&this.map&&this.tocNode&&this.configuration&&this.feedbackLinkBuilder.update(this.mailSubject,(i=(o=this.service)===null||o===void 0?void 0:o.getLink(this.tocNode.tocId))!==null&&i!==void 0?i:"",this.map.metadata,this.configuration,((a=(n=this.session)===null||n===void 0?void 0:n.profile)===null||a===void 0?void 0:a.userId)!=null)}connectedCallback(){super.connectedCallback(),this.updateData()}updateData(){this.updateDebouncer.run(async()=>{var t,o;this.tocNode&&(!((o=(t=this.session)===null||t===void 0?void 0:t.profile)===null||o===void 0)&&o.userId||this.ratingSummary==null)&&await this.fetchRatingSummary()})}async fetchRatingSummary(){var t;this.ratingSummary=await((t=this.service)===null||t===void 0?void 0:t.getTopicRating(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 o,i,n;if(!this.editorMode&&this.ratingSummary&&this.tocNode){try{t==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,t))}catch{this.dispatchEvent(new Mt.FtNotificationEvent({type:"error",message:V.messages.ratingFailure()}))}this.updateData()}else this.editorMode&&this.dispatchEvent(new Mt.FtNotificationEvent({type:"info",message:cr.messages.feedbackAndRatingDisabledInEditor()}))}async sendFeedback(t){var o;try{!this.editorMode&&this.tocNode?(await((o=this.service)===null||o===void 0?void 0:o.sendTopicFeedback(this.tocNode.tocId,t.detail.message,t.detail.from)),this.dispatchEvent(new Mt.FtNotificationEvent({type:"info",message:V.messages.feedbackSuccess()})),this.readerFeedback.clearFeedbackInput()):this.editorMode&&this.dispatchEvent(new Mt.FtNotificationEvent({type:"info",message:cr.messages.feedbackAndRatingDisabledInEditor()}))}catch{this.dispatchEvent(new Mt.FtNotificationEvent({type:"error",message:V.messages.feedbackFailure()}))}}onMailerFeedbackSent(){let t=this.tocNode;this.dispatchEvent(new Fi(t))}openMoreOptions(){var t,o,i,n,a,s,l,u;this.dispatchEvent(new Bi({mapId:this.map.id,mapTitle:this.map.title,tocId:this.tocNode.tocId,topicTitle:this.tocNode.title,topicUrl:(o=(t=this.service)===null||t===void 0?void 0:t.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?(l=this.ratingSummary)===null||l===void 0?void 0:l.type:Be.NO_RATING)||Be.NO_RATING,ratingValue:(u=this.ratingSummary)===null||u===void 0?void 0:u.rating}))}};ut.elementDefinitions={"ft-reader-feedback":X};_t([(0,Mt.redux)({store:N.name})],ut.prototype,"session",void 0);_t([(0,Mt.redux)({store:"reader"})],ut.prototype,"map",void 0);_t([(0,Mt.redux)({store:N.name})],ut.prototype,"editorMode",void 0);_t([(0,Mt.redux)({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.feedback}})],ut.prototype,"configuration",void 0);_t([(0,Jt.state)()],ut.prototype,"ratingSummary",void 0);_t([(0,Jt.property)({type:Boolean})],ut.prototype,"hideTitle",void 0);_t([(0,Jt.property)({type:Boolean})],ut.prototype,"withMoreOptionsButton",void 0);_t([(0,Jt.property)()],ut.prototype,"iconVariant",void 0);_t([(0,Jt.property)()],ut.prototype,"emptyStarIcon",void 0);_t([(0,Jt.property)()],ut.prototype,"filledStarIcon",void 0);_t([(0,Jt.property)()],ut.prototype,"emptyLikeIcon",void 0);_t([(0,Jt.property)()],ut.prototype,"filledLikeIcon",void 0);_t([(0,Jt.property)()],ut.prototype,"emptyDislikeIcon",void 0);_t([(0,Jt.property)()],ut.prototype,"filledDislikeIcon",void 0);_t([(0,Jt.query)("ft-reader-feedback")],ut.prototype,"readerFeedback",void 0);_t([xi(Xr.properties["mail.feedback.subject"](e=>{var t,o;return[(t=e.tocNode)===null||t===void 0?void 0:t.title,(o=e.map)===null||o===void 0?void 0:o.title]}))],ut.prototype,"mailSubject",void 0);_t([(0,Mt.reduxEventListener)({eventName:"rating-changed"})],ut.prototype,"fetchRatingSummary",null);(0,pa.customElement)("ft-reader-map-feedback")(pt);(0,pa.customElement)("ft-reader-topic-feedback")(ut);})();
1974
1987
  /*! Bundled license information:
1975
1988
 
1976
1989
  lit-html/lit-html.js: