@fluid-topics/ft-combobox 1.3.47 → 1.3.48

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,7 +1,7 @@
1
- "use strict";(()=>{var vd=Object.create;var da=Object.defineProperty;var Sd=Object.getOwnPropertyDescriptor;var Cd=Object.getOwnPropertyNames;var Od=Object.getPrototypeOf,Ed=Object.prototype.hasOwnProperty;var Zt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var wd=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Cd(e))!Ed.call(t,i)&&i!==o&&da(t,i,{get:()=>e[i],enumerable:!(n=Sd(e,i))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?vd(Od(t)):{},wd(e||!t||!t.__esModule?da(o,"default",{value:t,enumerable:!0}):o,t));var N=Zt((Qp,pa)=>{pa.exports=ftGlobals.wcUtils});var Z=Zt((Jp,ua)=>{ua.exports=ftGlobals.lit});var se=Zt((eu,fa)=>{fa.exports=ftGlobals.litDecorators});var vn=Zt((tu,ha)=>{ha.exports=ftGlobals.litRepeat});var bt=Zt((ru,ya)=>{ya.exports=ftGlobals.litClassMap});var hs=Zt((cb,fs)=>{fs.exports=ftGlobals.litUnsafeHTML});var Pl=Zt((Ft,Nl)=>{var Ho=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Wo=function(){function t(){this.fetch=!1,this.DOMException=Ho.DOMException}return t.prototype=Ho,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(y){return y&&l.indexOf(Object.prototype.toString.call(y))>-1};function p(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 u(y){return typeof y!="string"&&(y=String(y)),y}function g(y){var x={next:function(){var k=y.shift();return{done:k===void 0,value:k}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function h(y){this.map={},y instanceof h?y.forEach(function(x,k){this.append(k,x)},this):Array.isArray(y)?y.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(x){this.append(x,y[x])},this)}h.prototype.append=function(y,x){y=p(y),x=u(x);var k=this.map[y];this.map[y]=k?k+", "+x:x},h.prototype.delete=function(y){delete this.map[p(y)]},h.prototype.get=function(y){return y=p(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(p(y))},h.prototype.set=function(y,x){this.map[p(y)]=u(x)},h.prototype.forEach=function(y,x){for(var k in this.map)this.map.hasOwnProperty(k)&&y.call(x,this.map[k],k,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(x,k){y.push(k)}),g(y)},h.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),g(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(x,k){y.push([k,x])}),g(y)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(x,k){y.onload=function(){x(y.result)},y.onerror=function(){k(y.error)}})}function v(y){var x=new FileReader,k=S(x);return x.readAsArrayBuffer(y),k}function O(y){var x=new FileReader,k=S(x),J=/charset=([A-Za-z0-9_-]+)/.exec(y.type),ae=J?J[1]:"utf-8";return x.readAsText(y,ae),k}function T(y){for(var x=new Uint8Array(y),k=new Array(x.length),J=0;J<x.length;J++)k[J]=String.fromCharCode(x[J]);return k.join("")}function R(y){if(y.slice)return y.slice(0);var x=new Uint8Array(y.byteLength);return x.set(new Uint8Array(y)),x.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=R(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):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=m(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=m(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(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(Pe)}),this.json=function(){return this.text().then(JSON.parse)},this}var U=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function V(y){var x=y.toUpperCase();return U.indexOf(x)>-1?x:y}function j(y,x){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var k=x.body;if(y instanceof j){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!k&&y._bodyInit!=null&&(k=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new h(x.headers)),this.method=V(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var K=new AbortController;return K.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var J=/([?&])_=[^&]*/;if(J.test(this.url))this.url=this.url.replace(J,"$1_="+new Date().getTime());else{var ae=/\?/;this.url+=(ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function Pe(y){var x=new FormData;return y.trim().split("&").forEach(function(k){if(k){var J=k.split("="),ae=J.shift().replace(/\+/g," "),K=J.join("=").replace(/\+/g," ");x.append(decodeURIComponent(ae),decodeURIComponent(K))}}),x}function dt(y){var x=new h,k=y.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(J){return J.indexOf(`
2
- `)===0?J.substr(1,J.length):J}).forEach(function(J){var ae=J.split(":"),K=ae.shift().trim();if(K){var mo=ae.join(":").trim();try{x.append(K,mo)}catch(xn){console.warn("Response "+xn.message)}}}),x}L.call(j.prototype);function Ie(y,x){if(!(this instanceof Ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new h(x.headers),this.url=x.url||"",this._initBody(y)}L.call(Ie.prototype),Ie.prototype.clone=function(){return new Ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Ie.error=function(){var y=new Ie(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var pt=[301,302,303,307,308];Ie.redirect=function(y,x){if(pt.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Ie(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,k){this.message=x,this.name=k;var J=Error(x);this.stack=J.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Ce(y,x){return new Promise(function(k,J){var ae=new j(y,x);if(ae.signal&&ae.signal.aborted)return J(new o.DOMException("Aborted","AbortError"));var K=new XMLHttpRequest;function mo(){K.abort()}K.onload=function(){var Oe={statusText:K.statusText,headers:dt(K.getAllResponseHeaders()||"")};ae.url.indexOf("file://")===0&&(K.status<200||K.status>599)?Oe.status=200:Oe.status=K.status,Oe.url="responseURL"in K?K.responseURL:Oe.headers.get("X-Request-URL");var Kt="response"in K?K.response:K.responseText;setTimeout(function(){k(new Ie(Kt,Oe))},0)},K.onerror=function(){setTimeout(function(){J(new TypeError("Network request failed"))},0)},K.ontimeout=function(){setTimeout(function(){J(new TypeError("Network request timed out"))},0)},K.onabort=function(){setTimeout(function(){J(new o.DOMException("Aborted","AbortError"))},0)};function xn(Oe){try{return Oe===""&&n.location.href?n.location.href:Oe}catch{return Oe}}if(K.open(ae.method,xn(ae.url),!0),ae.credentials==="include"?K.withCredentials=!0:ae.credentials==="omit"&&(K.withCredentials=!1),"responseType"in K&&(i.blob?K.responseType="blob":i.arrayBuffer&&(K.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof h||n.Headers&&x.headers instanceof n.Headers)){var ca=[];Object.getOwnPropertyNames(x.headers).forEach(function(Oe){ca.push(p(Oe)),K.setRequestHeader(Oe,u(x.headers[Oe]))}),ae.headers.forEach(function(Oe,Kt){ca.indexOf(Kt)===-1&&K.setRequestHeader(Kt,Oe)})}else ae.headers.forEach(function(Oe,Kt){K.setRequestHeader(Kt,Oe)});ae.signal&&(ae.signal.addEventListener("abort",mo),K.onreadystatechange=function(){K.readyState===4&&ae.signal.removeEventListener("abort",mo)}),K.send(typeof ae._bodyInit>"u"?null:ae._bodyInit)})}return Ce.polyfill=!0,n.fetch||(n.fetch=Ce,n.Headers=h,n.Request=j,n.Response=Ie),o.Headers=h,o.Request=j,o.Response=Ie,o.fetch=Ce,o}({})})(Wo);Wo.fetch.ponyfill=!0;delete Wo.fetch.polyfill;var $r=Ho.fetch?Ho:Wo;Ft=$r.fetch;Ft.default=$r.fetch;Ft.fetch=$r.fetch;Ft.Headers=$r.Headers;Ft.Request=$r.Request;Ft.Response=$r.Response;Nl.exports=Ft});var xd=b(N());var Ne=b(Z()),Q=b(se()),la=b(vn()),bn=b(bt());var Rn=globalThis,bo=Rn.trustedTypes,ga=bo?bo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ca="$lit$",It=`lit$${Math.random().toFixed(9).slice(2)}$`,Oa="?"+It,Ad=`<${Oa}>`,Xt=document,xo=()=>Xt.createComment(""),Gr=t=>t===null||typeof t!="object"&&typeof t!="function",Tn=Array.isArray,Rd=t=>Tn(t)||typeof t?.[Symbol.iterator]=="function",Sn=`[
1
+ "use strict";(()=>{var vd=Object.create;var da=Object.defineProperty;var Sd=Object.getOwnPropertyDescriptor;var Cd=Object.getOwnPropertyNames;var Od=Object.getPrototypeOf,Ed=Object.prototype.hasOwnProperty;var Zt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var wd=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Cd(e))!Ed.call(t,i)&&i!==o&&da(t,i,{get:()=>e[i],enumerable:!(n=Sd(e,i))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?vd(Od(t)):{},wd(e||!t||!t.__esModule?da(o,"default",{value:t,enumerable:!0}):o,t));var N=Zt((Qp,pa)=>{pa.exports=ftGlobals.wcUtils});var Z=Zt((Jp,ua)=>{ua.exports=ftGlobals.lit});var se=Zt((eu,fa)=>{fa.exports=ftGlobals.litDecorators});var vn=Zt((tu,ha)=>{ha.exports=ftGlobals.litRepeat});var bt=Zt((ru,ya)=>{ya.exports=ftGlobals.litClassMap});var hs=Zt((cb,fs)=>{fs.exports=ftGlobals.litUnsafeHTML});var Pl=Zt((Ft,Nl)=>{var Ho=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Wo=function(){function t(){this.fetch=!1,this.DOMException=Ho.DOMException}return t.prototype=Ho,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(y){return y&&l.indexOf(Object.prototype.toString.call(y))>-1};function p(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 u(y){return typeof y!="string"&&(y=String(y)),y}function g(y){var x={next:function(){var k=y.shift();return{done:k===void 0,value:k}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function h(y){this.map={},y instanceof h?y.forEach(function(x,k){this.append(k,x)},this):Array.isArray(y)?y.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(x){this.append(x,y[x])},this)}h.prototype.append=function(y,x){y=p(y),x=u(x);var k=this.map[y];this.map[y]=k?k+", "+x:x},h.prototype.delete=function(y){delete this.map[p(y)]},h.prototype.get=function(y){return y=p(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(p(y))},h.prototype.set=function(y,x){this.map[p(y)]=u(x)},h.prototype.forEach=function(y,x){for(var k in this.map)this.map.hasOwnProperty(k)&&y.call(x,this.map[k],k,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(x,k){y.push(k)}),g(y)},h.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),g(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(x,k){y.push([k,x])}),g(y)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(x,k){y.onload=function(){x(y.result)},y.onerror=function(){k(y.error)}})}function v(y){var x=new FileReader,k=S(x);return x.readAsArrayBuffer(y),k}function O(y){var x=new FileReader,k=S(x),ee=/charset=([A-Za-z0-9_-]+)/.exec(y.type),ae=ee?ee[1]:"utf-8";return x.readAsText(y,ae),k}function T(y){for(var x=new Uint8Array(y),k=new Array(x.length),ee=0;ee<x.length;ee++)k[ee]=String.fromCharCode(x[ee]);return k.join("")}function R(y){if(y.slice)return y.slice(0);var x=new Uint8Array(y.byteLength);return x.set(new Uint8Array(y)),x.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=R(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):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=m(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=m(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(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(Pe)}),this.json=function(){return this.text().then(JSON.parse)},this}var U=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function V(y){var x=y.toUpperCase();return U.indexOf(x)>-1?x:y}function j(y,x){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var k=x.body;if(y instanceof j){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!k&&y._bodyInit!=null&&(k=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new h(x.headers)),this.method=V(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var K=new AbortController;return K.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var ee=/([?&])_=[^&]*/;if(ee.test(this.url))this.url=this.url.replace(ee,"$1_="+new Date().getTime());else{var ae=/\?/;this.url+=(ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function Pe(y){var x=new FormData;return y.trim().split("&").forEach(function(k){if(k){var ee=k.split("="),ae=ee.shift().replace(/\+/g," "),K=ee.join("=").replace(/\+/g," ");x.append(decodeURIComponent(ae),decodeURIComponent(K))}}),x}function dt(y){var x=new h,k=y.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(ee){return ee.indexOf(`
2
+ `)===0?ee.substr(1,ee.length):ee}).forEach(function(ee){var ae=ee.split(":"),K=ae.shift().trim();if(K){var mo=ae.join(":").trim();try{x.append(K,mo)}catch(xn){console.warn("Response "+xn.message)}}}),x}L.call(j.prototype);function Ie(y,x){if(!(this instanceof Ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new h(x.headers),this.url=x.url||"",this._initBody(y)}L.call(Ie.prototype),Ie.prototype.clone=function(){return new Ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Ie.error=function(){var y=new Ie(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var pt=[301,302,303,307,308];Ie.redirect=function(y,x){if(pt.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Ie(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,k){this.message=x,this.name=k;var ee=Error(x);this.stack=ee.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Ce(y,x){return new Promise(function(k,ee){var ae=new j(y,x);if(ae.signal&&ae.signal.aborted)return ee(new o.DOMException("Aborted","AbortError"));var K=new XMLHttpRequest;function mo(){K.abort()}K.onload=function(){var Oe={statusText:K.statusText,headers:dt(K.getAllResponseHeaders()||"")};ae.url.indexOf("file://")===0&&(K.status<200||K.status>599)?Oe.status=200:Oe.status=K.status,Oe.url="responseURL"in K?K.responseURL:Oe.headers.get("X-Request-URL");var Kt="response"in K?K.response:K.responseText;setTimeout(function(){k(new Ie(Kt,Oe))},0)},K.onerror=function(){setTimeout(function(){ee(new TypeError("Network request failed"))},0)},K.ontimeout=function(){setTimeout(function(){ee(new TypeError("Network request timed out"))},0)},K.onabort=function(){setTimeout(function(){ee(new o.DOMException("Aborted","AbortError"))},0)};function xn(Oe){try{return Oe===""&&n.location.href?n.location.href:Oe}catch{return Oe}}if(K.open(ae.method,xn(ae.url),!0),ae.credentials==="include"?K.withCredentials=!0:ae.credentials==="omit"&&(K.withCredentials=!1),"responseType"in K&&(i.blob?K.responseType="blob":i.arrayBuffer&&(K.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof h||n.Headers&&x.headers instanceof n.Headers)){var ca=[];Object.getOwnPropertyNames(x.headers).forEach(function(Oe){ca.push(p(Oe)),K.setRequestHeader(Oe,u(x.headers[Oe]))}),ae.headers.forEach(function(Oe,Kt){ca.indexOf(Kt)===-1&&K.setRequestHeader(Kt,Oe)})}else ae.headers.forEach(function(Oe,Kt){K.setRequestHeader(Kt,Oe)});ae.signal&&(ae.signal.addEventListener("abort",mo),K.onreadystatechange=function(){K.readyState===4&&ae.signal.removeEventListener("abort",mo)}),K.send(typeof ae._bodyInit>"u"?null:ae._bodyInit)})}return Ce.polyfill=!0,n.fetch||(n.fetch=Ce,n.Headers=h,n.Request=j,n.Response=Ie),o.Headers=h,o.Request=j,o.Response=Ie,o.fetch=Ce,o}({})})(Wo);Wo.fetch.ponyfill=!0;delete Wo.fetch.polyfill;var $r=Ho.fetch?Ho:Wo;Ft=$r.fetch;Ft.default=$r.fetch;Ft.fetch=$r.fetch;Ft.Headers=$r.Headers;Ft.Request=$r.Request;Ft.Response=$r.Response;Nl.exports=Ft});var xd=b(N());var Ne=b(Z()),Q=b(se()),la=b(vn()),bn=b(bt());var Rn=globalThis,bo=Rn.trustedTypes,ga=bo?bo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ca="$lit$",It=`lit$${Math.random().toFixed(9).slice(2)}$`,Oa="?"+It,Ad=`<${Oa}>`,Xt=document,xo=()=>Xt.createComment(""),Gr=t=>t===null||typeof t!="object"&&typeof t!="function",Tn=Array.isArray,Rd=t=>Tn(t)||typeof t?.[Symbol.iterator]=="function",Sn=`[
3
3
  \f\r]`,Vr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ma=/-->/g,ba=/>/g,qt=RegExp(`>|${Sn}(?:([^\\s"'>=/]+)(${Sn}*=${Sn}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),xa=/'/g,va=/"/g,Ea=/^(?:script|style|textarea|title)$/i,Ln=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),wa=Ln(1),Aa=Ln(2),Ra=Ln(3),jr=Symbol.for("lit-noChange"),pe=Symbol.for("lit-nothing"),Sa=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);function Ta(t,e){if(!Tn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ga!==void 0?ga.createHTML(e):e}var Td=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",l=Vr;for(let c=0;c<o;c++){let p=t[c],u,g,h=-1,m=0;for(;m<p.length&&(l.lastIndex=m,g=l.exec(p),g!==null);)m=l.lastIndex,l===Vr?g[1]==="!--"?l=ma:g[1]!==void 0?l=ba:g[2]!==void 0?(Ea.test(g[2])&&(i=RegExp("</"+g[2],"g")),l=qt):g[3]!==void 0&&(l=qt):l===qt?g[0]===">"?(l=i??Vr,h=-1):g[1]===void 0?h=-2:(h=l.lastIndex-g[2].length,u=g[1],l=g[3]===void 0?qt:g[3]==='"'?va:xa):l===va||l===xa?l=qt:l===ma||l===ba?l=Vr:(l=qt,i=void 0);let S=l===qt&&t[c+1].startsWith("/>")?" ":"";a+=l===Vr?p+Ad:h>=0?(n.push(u),p.slice(0,h)+Ca+p.slice(h)+It+S):p+It+(h===-2?c:S)}return[Ta(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Kr=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,l=0,c=e.length-1,p=this.parts,[u,g]=Td(e,o);if(this.el=t.createElement(u,n),Yt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Yt.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Ca)){let m=g[l++],S=i.getAttribute(h).split(It),v=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?On:v[1]==="?"?En:v[1]==="@"?wn:fr}),i.removeAttribute(h)}else h.startsWith(It)&&(p.push({type:6,index:a}),i.removeAttribute(h));if(Ea.test(i.tagName)){let h=i.textContent.split(It),m=h.length-1;if(m>0){i.textContent=bo?bo.emptyScript:"";for(let S=0;S<m;S++)i.append(h[S],xo()),Yt.nextNode(),p.push({type:2,index:++a});i.append(h[m],xo())}}}else if(i.nodeType===8)if(i.data===Oa)p.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(It,h+1))!==-1;)p.push({type:7,index:a}),h+=It.length-1}a++}}static createElement(e,o){let n=Xt.createElement("template");return n.innerHTML=e,n}};function ur(t,e,o=t,n){if(e===jr)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Gr(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=ur(t,i._$AS(t,e.values),i,n)),e}var Cn=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Xt).importNode(o,!0);Yt.currentNode=i;let a=Yt.nextNode(),l=0,c=0,p=n[0];for(;p!==void 0;){if(l===p.index){let u;p.type===2?u=new vo(a,a.nextSibling,this,e):p.type===1?u=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(u=new An(a,this,e)),this._$AV.push(u),p=n[++c]}l!==p?.index&&(a=Yt.nextNode(),l++)}return Yt.currentNode=Xt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},vo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=pe,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=ur(this,e,o),Gr(e)?e===pe||e==null||e===""?(this._$AH!==pe&&this._$AR(),this._$AH=pe):e!==this._$AH&&e!==jr&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Rd(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==pe&&Gr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Xt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Kr.createElement(Ta(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Cn(i,this),l=a.u(this.options);a.p(o),this.T(l),this._$AH=a}}_$AC(e){let o=Sa.get(e.strings);return o===void 0&&Sa.set(e.strings,o=new Kr(e)),o}k(e){Tn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(xo()),this.O(xo()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=pe,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=pe}_$AI(e,o=this,n,i){let a=this.strings,l=!1;if(a===void 0)e=ur(this,e,o,0),l=!Gr(e)||e!==this._$AH&&e!==jr,l&&(this._$AH=e);else{let c=e,p,u;for(e=a[0],p=0;p<a.length-1;p++)u=ur(this,c[n+p],o,p),u===jr&&(u=this._$AH[p]),l||=!Gr(u)||u!==this._$AH[p],u===pe?e=pe:e!==pe&&(e+=(u??"")+a[p+1]),this._$AH[p]=u}l&&!i&&this.j(e)}j(e){e===pe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},On=class extends fr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===pe?void 0:e}},En=class extends fr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==pe)}},wn=class extends fr{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=ur(this,e,o,0)??pe)===jr)return;let n=this._$AH,i=e===pe&&n!==pe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==pe&&(n===pe||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},An=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ur(this,e)}};var Ld=Rn.litHtmlPolyfillSupport;Ld?.(Kr,vo),(Rn.litHtmlVersions??=[]).push("3.3.0");var et=t=>t??pe;function Zr(t,e,o){return t?e(t):o?.(t)}var mt=b(N());var Ts=b(Z()),Re=b(N());var Ha=b(Z()),te=b(N());var Ge=b(Z()),A=b(N());var xt=b(Z(),1),Nt=t=>typeof t=="string"?(0,xt.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>Nt(c??i),l=xt.css`var(${Nt(e)}, ${a(i)})`;return l.name=e,l.description=o,l.category=n,l.defaultValue=i,l.defaultCssValue=a,l.set=c=>La(l,c??a(i)),l.get=c=>xt.css`var(${Nt(e)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,o,n,i){let a=c=>n.get(c??i),l=xt.css`var(${Nt(e)}, ${a(i)})`;return l.name=e,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=a,l.set=c=>La(l,c??a(i)),l.get=c=>xt.css`var(${Nt(e)}, ${a(c)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,o){let n=a=>e.defaultCssValue(a),i=xt.css`var(${Nt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>xt.css`var(${Nt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function La(t,e){return Nt(`${t.name}: ${e}`)}var s={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},In={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Nn={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Pn={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},_n={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},kn={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},$n={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Dn={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Bn={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Qt={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Id={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Mn={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Un={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Fn={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},zn={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Hn={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Wn={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Vn={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Gn={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},jn={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Pt={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Jt={display:In,"title-1":Nn,"title-2":Pn,"title-3":_n,"body-1-regular":kn,"body-1-medium":$n,"body-1-semibold":Dn,"body-2-regular":Bn,"body-2-medium":Qt,"body-2-medium-underline":Id,"body-2-semibold":Mn,"label-1-medium":Un,"label-1-semibold":Fn,"label-1-bold":zn,"label-2-medium":Hn,"label-2-semibold":Wn,"label-2-bold":Vn,"caption-1-medium":Gn,"caption-1-semibold":jn,"caption-1-bold":Kn,"caption-2-medium":Pt,"caption-2-semibold":Zn,"caption-2-bold":qn,"caption-3-medium":Yn,"caption-3-semibold":Xn,"caption-3-bold":Qn};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),xa=/'/g,va=/"/g,Ea=/^(?:script|style|textarea|title)$/i,Ln=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),wa=Ln(1),Aa=Ln(2),Ra=Ln(3),jr=Symbol.for("lit-noChange"),ue=Symbol.for("lit-nothing"),Sa=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);function Ta(t,e){if(!Tn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ga!==void 0?ga.createHTML(e):e}var Td=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",l=Vr;for(let c=0;c<o;c++){let p=t[c],u,g,h=-1,m=0;for(;m<p.length&&(l.lastIndex=m,g=l.exec(p),g!==null);)m=l.lastIndex,l===Vr?g[1]==="!--"?l=ma:g[1]!==void 0?l=ba:g[2]!==void 0?(Ea.test(g[2])&&(i=RegExp("</"+g[2],"g")),l=qt):g[3]!==void 0&&(l=qt):l===qt?g[0]===">"?(l=i??Vr,h=-1):g[1]===void 0?h=-2:(h=l.lastIndex-g[2].length,u=g[1],l=g[3]===void 0?qt:g[3]==='"'?va:xa):l===va||l===xa?l=qt:l===ma||l===ba?l=Vr:(l=qt,i=void 0);let S=l===qt&&t[c+1].startsWith("/>")?" ":"";a+=l===Vr?p+Ad:h>=0?(n.push(u),p.slice(0,h)+Ca+p.slice(h)+It+S):p+It+(h===-2?c:S)}return[Ta(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Kr=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,l=0,c=e.length-1,p=this.parts,[u,g]=Td(e,o);if(this.el=t.createElement(u,n),Yt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Yt.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Ca)){let m=g[l++],S=i.getAttribute(h).split(It),v=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?On:v[1]==="?"?En:v[1]==="@"?wn:fr}),i.removeAttribute(h)}else h.startsWith(It)&&(p.push({type:6,index:a}),i.removeAttribute(h));if(Ea.test(i.tagName)){let h=i.textContent.split(It),m=h.length-1;if(m>0){i.textContent=bo?bo.emptyScript:"";for(let S=0;S<m;S++)i.append(h[S],xo()),Yt.nextNode(),p.push({type:2,index:++a});i.append(h[m],xo())}}}else if(i.nodeType===8)if(i.data===Oa)p.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(It,h+1))!==-1;)p.push({type:7,index:a}),h+=It.length-1}a++}}static createElement(e,o){let n=Xt.createElement("template");return n.innerHTML=e,n}};function ur(t,e,o=t,n){if(e===jr)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Gr(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=ur(t,i._$AS(t,e.values),i,n)),e}var Cn=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Xt).importNode(o,!0);Yt.currentNode=i;let a=Yt.nextNode(),l=0,c=0,p=n[0];for(;p!==void 0;){if(l===p.index){let u;p.type===2?u=new vo(a,a.nextSibling,this,e):p.type===1?u=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(u=new An(a,this,e)),this._$AV.push(u),p=n[++c]}l!==p?.index&&(a=Yt.nextNode(),l++)}return Yt.currentNode=Xt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},vo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=ue,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=ur(this,e,o),Gr(e)?e===ue||e==null||e===""?(this._$AH!==ue&&this._$AR(),this._$AH=ue):e!==this._$AH&&e!==jr&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Rd(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==ue&&Gr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Xt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Kr.createElement(Ta(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Cn(i,this),l=a.u(this.options);a.p(o),this.T(l),this._$AH=a}}_$AC(e){let o=Sa.get(e.strings);return o===void 0&&Sa.set(e.strings,o=new Kr(e)),o}k(e){Tn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(xo()),this.O(xo()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},fr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=ue,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ue}_$AI(e,o=this,n,i){let a=this.strings,l=!1;if(a===void 0)e=ur(this,e,o,0),l=!Gr(e)||e!==this._$AH&&e!==jr,l&&(this._$AH=e);else{let c=e,p,u;for(e=a[0],p=0;p<a.length-1;p++)u=ur(this,c[n+p],o,p),u===jr&&(u=this._$AH[p]),l||=!Gr(u)||u!==this._$AH[p],u===ue?e=ue:e!==ue&&(e+=(u??"")+a[p+1]),this._$AH[p]=u}l&&!i&&this.j(e)}j(e){e===ue?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},On=class extends fr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===ue?void 0:e}},En=class extends fr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==ue)}},wn=class extends fr{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=ur(this,e,o,0)??ue)===jr)return;let n=this._$AH,i=e===ue&&n!==ue||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ue&&(n===ue||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},An=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ur(this,e)}};var Ld=Rn.litHtmlPolyfillSupport;Ld?.(Kr,vo),(Rn.litHtmlVersions??=[]).push("3.3.0");var Ve=t=>t??ue;function Zr(t,e,o){return t?e(t):o?.(t)}var mt=b(N());var Ts=b(Z()),Re=b(N());var Ha=b(Z()),te=b(N());var je=b(Z()),A=b(N());var xt=b(Z(),1),Nt=t=>typeof t=="string"?(0,xt.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>Nt(c??i),l=xt.css`var(${Nt(e)}, ${a(i)})`;return l.name=e,l.description=o,l.category=n,l.defaultValue=i,l.defaultCssValue=a,l.set=c=>La(l,c??a(i)),l.get=c=>xt.css`var(${Nt(e)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,o,n,i){let a=c=>n.get(c??i),l=xt.css`var(${Nt(e)}, ${a(i)})`;return l.name=e,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=a,l.set=c=>La(l,c??a(i)),l.get=c=>xt.css`var(${Nt(e)}, ${a(c)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,o){let n=a=>e.defaultCssValue(a),i=xt.css`var(${Nt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>xt.css`var(${Nt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function La(t,e){return Nt(`${t.name}: ${e}`)}var s={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},In={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Nn={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Pn={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},_n={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},kn={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},$n={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Dn={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Bn={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Qt={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Id={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Mn={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Un={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Fn={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},zn={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Hn={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Wn={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Vn={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Gn={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},jn={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Pt={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Jt={display:In,"title-1":Nn,"title-2":Pn,"title-3":_n,"body-1-regular":kn,"body-1-medium":$n,"body-1-semibold":Dn,"body-2-regular":Bn,"body-2-medium":Qt,"body-2-medium-underline":Id,"body-2-semibold":Mn,"label-1-medium":Un,"label-1-semibold":Fn,"label-1-bold":zn,"label-2-medium":Hn,"label-2-semibold":Wn,"label-2-bold":Vn,"caption-1-medium":Gn,"caption-1-semibold":jn,"caption-1-bold":Kn,"caption-2-medium":Pt,"caption-2-semibold":Zn,"caption-2-bold":qn,"caption-3-medium":Yn,"caption-3-semibold":Xn,"caption-3-bold":Qn};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
5
5
  Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ftds-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",s.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",s.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",s.spacing2),smallGap:r.extend("--ftds-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",s.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Eu={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",s.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",s.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",s.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",s.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",s.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",s.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",s.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var Lu={iconSize:r.extend("--ftds-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",s.spacing2)};var ku={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",s.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",s.spacing3)};var Uu={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",s.spacing1)};var Vu={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",s.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",s.iconSize2)};var $={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var Ju={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",s.colorBrand100)};var nf={iconSize:r.extend("--ftds-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var df={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var yf={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var vf={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var wf={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",s.spacing4)};var Lf={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",s.spacing6)};var kf={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ftds-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",s.borderRadiusM)};var Uf={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ftds-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",s.colorGray700)};var Vf={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var qf={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",s.opacity40)};var eh={backgroundColor:r.extend("--ftds-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",s.borderRadiusS)};var ih={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",s.shadowElevation02)};var dh={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",s.opacity40)};var yh={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",s.borderRadiusS)};var vh={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",s.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",s.spacing6)};var wh={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",s.iconSize3)};var Ih={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",s.borderRadiusS)};var kh={color1Light:r.extend("--ftds-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",s.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",s.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",s.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Mh={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Wh={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ftds-notice-gap","",s.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Zh={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",s.spacing3)};var Jh={iconSize:r.extend("--ftds-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",s.spacing8)};var ny={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",s.spacing05)};var cy={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var fy={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",s.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",s.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",s.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",s.spacing2)};var So;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(So||(So={}));var tt;(function(t){t.large="large",t.medium="medium",t.small="small"})(tt||(tt={}));var hr=b(Z());function Ia(t,e){let o=Jt[t];return hr.css`
6
6
  ${e?(0,hr.unsafeCSS)(e):hr.css`.ft-typography--${(0,hr.unsafeCSS)(t)}`} {
7
7
  font-family: ${o.fontFamily};
@@ -12,7 +12,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
12
12
  text-decoration: ${o.textDecoration};
13
13
  text-transform: ${o.textCase};
14
14
  }
15
- `}var Na=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),St=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),P={fontFamily:St,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")},yr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Na),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},gr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Na),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},mr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},br={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},vt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},Ve={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},ve={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},xr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},vr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},ut={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},Pa=Ge.css`
15
+ `}var Na=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),St=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),P={fontFamily:St,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")},yr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Na),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},gr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Na),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},mr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},br={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},vt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},Ge={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},Se={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},xr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},vr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},ut={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",St),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},Pa=je.css`
16
16
  .ft-typography--title {
17
17
  font-family: ${yr.fontFamily};
18
18
  font-size: ${yr.fontSize};
@@ -21,7 +21,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
21
21
  line-height: ${yr.lineHeight};
22
22
  text-transform: ${yr.textTransform};
23
23
  }
24
- `,_a=Ge.css`
24
+ `,_a=je.css`
25
25
  .ft-typography--title-dense {
26
26
  font-family: ${gr.fontFamily};
27
27
  font-size: ${gr.fontSize};
@@ -30,7 +30,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
30
30
  line-height: ${gr.lineHeight};
31
31
  text-transform: ${gr.textTransform};
32
32
  }
33
- `,ka=Ge.css`
33
+ `,ka=je.css`
34
34
  .ft-typography--subtitle1 {
35
35
  font-family: ${mr.fontFamily};
36
36
  font-size: ${mr.fontSize};
@@ -39,7 +39,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
39
39
  line-height: ${mr.lineHeight};
40
40
  text-transform: ${mr.textTransform};
41
41
  }
42
- `,$a=Ge.css`
42
+ `,$a=je.css`
43
43
  .ft-typography--subtitle2 {
44
44
  font-family: ${br.fontFamily};
45
45
  font-size: ${br.fontSize};
@@ -49,7 +49,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
49
49
  text-transform: ${br.textTransform};
50
50
  }
51
51
 
52
- `,Sr=Ge.css`
52
+ `,Sr=je.css`
53
53
  .ft-typography--body1 {
54
54
  font-family: ${vt.fontFamily};
55
55
  font-size: ${vt.fontSize};
@@ -58,25 +58,25 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
58
58
  line-height: ${vt.lineHeight};
59
59
  text-transform: ${vt.textTransform};
60
60
  }
61
- `,Da=Ge.css`
61
+ `,Da=je.css`
62
62
  .ft-typography--body2 {
63
- font-family: ${Ve.fontFamily};
64
- font-size: ${Ve.fontSize};
65
- font-weight: ${Ve.fontWeight};
66
- letter-spacing: ${Ve.letterSpacing};
67
- line-height: ${Ve.lineHeight};
68
- text-transform: ${Ve.textTransform};
69
- }
70
- `,Cr=Ge.css`
63
+ font-family: ${Ge.fontFamily};
64
+ font-size: ${Ge.fontSize};
65
+ font-weight: ${Ge.fontWeight};
66
+ letter-spacing: ${Ge.letterSpacing};
67
+ line-height: ${Ge.lineHeight};
68
+ text-transform: ${Ge.textTransform};
69
+ }
70
+ `,Cr=je.css`
71
71
  .ft-typography--caption {
72
- font-family: ${ve.fontFamily};
73
- font-size: ${ve.fontSize};
74
- font-weight: ${ve.fontWeight};
75
- letter-spacing: ${ve.letterSpacing};
76
- line-height: ${ve.lineHeight};
77
- text-transform: ${ve.textTransform};
78
- }
79
- `,Ba=Ge.css`
72
+ font-family: ${Se.fontFamily};
73
+ font-size: ${Se.fontSize};
74
+ font-weight: ${Se.fontWeight};
75
+ letter-spacing: ${Se.letterSpacing};
76
+ line-height: ${Se.lineHeight};
77
+ text-transform: ${Se.textTransform};
78
+ }
79
+ `,Ba=je.css`
80
80
  .ft-typography--breadcrumb {
81
81
  font-family: ${xr.fontFamily};
82
82
  font-size: ${xr.fontSize};
@@ -85,7 +85,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
85
85
  line-height: ${xr.lineHeight};
86
86
  text-transform: ${xr.textTransform};
87
87
  }
88
- `,Ma=Ge.css`
88
+ `,Ma=je.css`
89
89
  .ft-typography--overline {
90
90
  font-family: ${vr.fontFamily};
91
91
  font-size: ${vr.fontSize};
@@ -94,7 +94,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
94
94
  line-height: ${vr.lineHeight};
95
95
  text-transform: ${vr.textTransform};
96
96
  }
97
- `,Ua=Ge.css`
97
+ `,Ua=je.css`
98
98
  .ft-typography--button {
99
99
  font-family: ${ut.fontFamily};
100
100
  font-size: ${ut.fontSize};
@@ -103,7 +103,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
103
103
  line-height: ${ut.lineHeight};
104
104
  text-transform: ${ut.textTransform};
105
105
  }
106
- `,Fa=Ge.css`
106
+ `,Fa=je.css`
107
107
  .ft-typography {
108
108
  vertical-align: inherit;
109
109
  }
@@ -158,8 +158,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
158
158
  transition: font-size 250ms, line-height 250ms, color 250ms;
159
159
  max-width: calc(${_.labelMaxWidth} - 2 * (${_.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
160
160
  text-overflow: ellipsis;
161
- ${(0,te.setVariable)(ve.fontSize,_.fontSize)};
162
- ${(0,te.setVariable)(ve.lineHeight,_.fontSize)};
161
+ ${(0,te.setVariable)(Se.fontSize,_.fontSize)};
162
+ ${(0,te.setVariable)(Se.lineHeight,_.fontSize)};
163
163
  }
164
164
 
165
165
  .ft-input-label--in-error .ft-input-label--text {
@@ -179,7 +179,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
179
179
 
180
180
  .ft-input-label--floating-text {
181
181
  position: absolute;
182
- top: calc(50% - ${ve.lineHeight} / 2);
182
+ top: calc(50% - ${Se.lineHeight} / 2);
183
183
  transition: top 250ms;
184
184
  overflow: hidden;
185
185
  white-space: nowrap;
@@ -191,8 +191,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
191
191
  }
192
192
 
193
193
  .ft-input-label--raised .ft-input-label--text {
194
- ${(0,te.setVariable)(ve.fontSize,_.raisedFontSize)};
195
- ${(0,te.setVariable)(ve.lineHeight,_.raisedFontSize)};
194
+ ${(0,te.setVariable)(Se.fontSize,_.raisedFontSize)};
195
+ ${(0,te.setVariable)(Se.lineHeight,_.raisedFontSize)};
196
196
  }
197
197
 
198
198
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -223,7 +223,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
223
223
  z-index: ${_.raisedZIndex};
224
224
  background-color: ${_.backgroundColor};
225
225
  border-radius: ${_.borderRadius};
226
- top: calc((${ve.lineHeight} / -2) + 2px);
226
+ top: calc((${Se.lineHeight} / -2) + 2px);
227
227
  }
228
228
 
229
229
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
@@ -264,7 +264,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
264
264
  </div>
265
265
  `)}
266
266
  </div>
267
- `}};Ot.elementDefinitions={};Xa([(0,ni.property)({type:String})],Ot.prototype,"text",void 0);Xa([(0,ni.property)({type:Boolean})],Ot.prototype,"raised",void 0);var ii=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Me=class extends Ot{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"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}}};Me.elementDefinitions={};Me.styles=[Cr,Wa];ii([(0,Co.property)({type:Boolean})],Me.prototype,"outlined",void 0);ii([(0,Co.property)({type:Boolean})],Me.prototype,"error",void 0);ii([(0,Co.property)({type:Boolean})],Me.prototype,"disabled",void 0);var rs=b(N());var es=b(Z());var ue=b(N()),Ae={fontSize:ue.FtCssVariableFactory.extend("--ft-input-label-font-size","",Qt.fontSize),fontSizeRaised:ue.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",Pt.fontSize),lineHeight:ue.FtCssVariableFactory.extend("--ft-input-label-line-height","",Pt.lineHeight),color:ue.FtCssVariableFactory.extend("--ft-input-label-color","",ue.semantic.contentGlobalSubtle),largeFieldHeight:ue.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:ue.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",s.spacing05),largeFieldHorizontalPadding:ue.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",s.spacing4),mediumFieldHeight:ue.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:ue.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:ue.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",s.spacing4),additionalPaddingLeft:ue.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:ue.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},ts=[es.css`
267
+ `}};Ot.elementDefinitions={};Xa([(0,ni.property)({type:String})],Ot.prototype,"text",void 0);Xa([(0,ni.property)({type:Boolean})],Ot.prototype,"raised",void 0);var ii=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Me=class extends Ot{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"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}}};Me.elementDefinitions={};Me.styles=[Cr,Wa];ii([(0,Co.property)({type:Boolean})],Me.prototype,"outlined",void 0);ii([(0,Co.property)({type:Boolean})],Me.prototype,"error",void 0);ii([(0,Co.property)({type:Boolean})],Me.prototype,"disabled",void 0);var rs=b(N());var es=b(Z());var fe=b(N()),Ae={fontSize:fe.FtCssVariableFactory.extend("--ft-input-label-font-size","",Qt.fontSize),fontSizeRaised:fe.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",Pt.fontSize),lineHeight:fe.FtCssVariableFactory.extend("--ft-input-label-line-height","",Pt.lineHeight),color:fe.FtCssVariableFactory.extend("--ft-input-label-color","",fe.semantic.contentGlobalSubtle),largeFieldHeight:fe.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:fe.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",s.spacing05),largeFieldHorizontalPadding:fe.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",s.spacing4),mediumFieldHeight:fe.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:fe.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:fe.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",s.spacing4),additionalPaddingLeft:fe.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:fe.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},ts=[es.css`
268
268
 
269
269
  :root {
270
270
  --field-height: ${Ae.largeFieldHeight};
@@ -306,8 +306,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
306
306
  z-index: 10;
307
307
  width: 100%;
308
308
  transition: font-size 250ms, line-height 250ms, color 250ms;
309
- ${(0,ue.setVariable)(ve.fontSize,Ae.fontSize)};
310
- ${(0,ue.setVariable)(ve.lineHeight,Ae.lineHeight)};
309
+ ${(0,fe.setVariable)(Se.fontSize,Ae.fontSize)};
310
+ ${(0,fe.setVariable)(Se.lineHeight,Ae.lineHeight)};
311
311
  }
312
312
 
313
313
  .ft-input-label--hidden-text {
@@ -338,15 +338,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
338
338
  }
339
339
 
340
340
  .ft-input-label--raised .ft-input-label--text {
341
- ${(0,ue.setVariable)(ve.fontSize,Ae.fontSizeRaised)};
342
- ${(0,ue.setVariable)(ve.lineHeight,Ae.lineHeight)};
341
+ ${(0,fe.setVariable)(Se.fontSize,Ae.fontSizeRaised)};
342
+ ${(0,fe.setVariable)(Se.lineHeight,Ae.lineHeight)};
343
343
  }
344
344
 
345
345
  .ft-input-label--raised .ft-input-label--floating-text {
346
346
  top: var(--input-content-vertical-padding);
347
347
  }
348
348
 
349
- `];var qr=class extends(0,rs.toFtdsBase)(Ot){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};qr.styles=[Cr,ts];(0,ai.customElement)("ft-input-label")(Me);(0,ai.customElement)("ftds-input-label")(qr);var us=b(N());var ds=b(Z()),Ee=b(se()),ps=b(bt()),Yr=b(N());var ls=b(Z()),fe=b(N()),os=fe.FtCssVariableFactory.extend("--ft-ripple-color","",fe.designSystemVariables.colorContent),E={color:os,backgroundColor:fe.FtCssVariableFactory.extend("--ft-ripple-background-color","",os),opacityContentOnSurfacePressed:fe.FtCssVariableFactory.external(fe.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:fe.FtCssVariableFactory.external(fe.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:fe.FtCssVariableFactory.external(fe.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:fe.FtCssVariableFactory.external(fe.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:fe.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ns=fe.FtCssVariableFactory.extend("--ft-ripple-color","",fe.designSystemVariables.colorPrimary),is={color:ns,backgroundColor:fe.FtCssVariableFactory.extend("--ft-ripple-background-color","",ns)},as=fe.FtCssVariableFactory.extend("--ft-ripple-color","",fe.designSystemVariables.colorSecondary),ss={color:as,backgroundColor:fe.FtCssVariableFactory.extend("--ft-ripple-background-color","",as)},cs=ls.css`
349
+ `];var qr=class extends(0,rs.toFtdsBase)(Ot){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};qr.styles=[Cr,ts];(0,ai.customElement)("ft-input-label")(Me);(0,ai.customElement)("ftds-input-label")(qr);var us=b(N());var ds=b(Z()),Ee=b(se()),ps=b(bt()),Yr=b(N());var ls=b(Z()),he=b(N()),os=he.FtCssVariableFactory.extend("--ft-ripple-color","",he.designSystemVariables.colorContent),E={color:os,backgroundColor:he.FtCssVariableFactory.extend("--ft-ripple-background-color","",os),opacityContentOnSurfacePressed:he.FtCssVariableFactory.external(he.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:he.FtCssVariableFactory.external(he.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:he.FtCssVariableFactory.external(he.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:he.FtCssVariableFactory.external(he.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:he.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ns=he.FtCssVariableFactory.extend("--ft-ripple-color","",he.designSystemVariables.colorPrimary),is={color:ns,backgroundColor:he.FtCssVariableFactory.extend("--ft-ripple-background-color","",ns)},as=he.FtCssVariableFactory.extend("--ft-ripple-color","",he.designSystemVariables.colorSecondary),ss={color:as,backgroundColor:he.FtCssVariableFactory.extend("--ft-ripple-background-color","",as)},cs=ls.css`
350
350
  :host {
351
351
  display: contents;
352
352
  }
@@ -517,12 +517,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
517
517
  .ft-icon--material {
518
518
  font-family: ${re.materialFontFamily}, "Material Icons", sans-serif;
519
519
  }
520
- `,nt.noTextSelect];var je;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(je||(je={}));var Qr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},le=class extends ms.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Xr.nothing}render(){let e=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,o=e!==je.material||!!this.value;return Xr.html`
520
+ `,nt.noTextSelect];var Ke;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ke||(Ke={}));var Qr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},le=class extends ms.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Xr.nothing}render(){let e=this.variant&&Object.values(Ke).includes(this.variant)?this.variant:Ke.fluid_topics,o=e!==Ke.material||!!this.value;return Xr.html`
521
521
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
522
522
  ${(0,bs.unsafeHTML)(this.resolvedIcon)}
523
523
  <slot ?hidden=${o}></slot>
524
524
  </i>
525
- `}getTextContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.getTextContent();switch(this.variant){case je.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case je.material:this.resolvedIcon=this.value||Xr.nothing;break;default:this.resolvedIcon=(o=Et[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};le.elementDefinitions={};le.styles=gs;Qr([(0,_t.property)()],le.prototype,"variant",void 0);Qr([(0,_t.property)()],le.prototype,"value",void 0);Qr([(0,_t.property)({reflect:!0,attribute:"aria-hidden"})],le.prototype,"ariaHidden",void 0);Qr([(0,_t.state)()],le.prototype,"resolvedIcon",void 0);Qr([(0,_t.query)("slot")],le.prototype,"slottedContent",void 0);(0,xs.customElement)("ft-icon")(le);var vs=b(Z()),D=b(N());var B={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Ss=vs.css`
525
+ `}getTextContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.getTextContent();switch(this.variant){case Ke.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ke.material:this.resolvedIcon=this.value||Xr.nothing;break;default:this.resolvedIcon=(o=Et[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};le.elementDefinitions={};le.styles=gs;Qr([(0,_t.property)()],le.prototype,"variant",void 0);Qr([(0,_t.property)()],le.prototype,"value",void 0);Qr([(0,_t.property)({reflect:!0,attribute:"aria-hidden"})],le.prototype,"ariaHidden",void 0);Qr([(0,_t.state)()],le.prototype,"resolvedIcon",void 0);Qr([(0,_t.query)("slot")],le.prototype,"slottedContent",void 0);(0,xs.customElement)("ft-icon")(le);var vs=b(Z()),D=b(N());var B={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},Ss=vs.css`
526
526
  *:focus {
527
527
  outline: none;
528
528
  }
@@ -717,7 +717,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
717
717
  slot {
718
718
  pointer-events: none;
719
719
  }
720
- `;var ws=b(bt()),Oo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},si=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Ke=class extends Es.FtLitElement{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return Jr.html`
720
+ `;var ws=b(bt()),Oo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},si=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Ze=class extends Es.FtLitElement{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return Jr.html`
721
721
  <div class="${(0,ws.classMap)(e)}"
722
722
  tabindex="-1"
723
723
  @keydown=${this.onKeyDown}
@@ -733,7 +733,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
733
733
  <slot></slot>
734
734
  </ft-typography>
735
735
  </div>
736
- `}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new si(this.getValue()))}getValue(){return this.value||this.getTextContent()}getTextContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};Ke.elementDefinitions={"ft-ripple":Y,"ft-typography":ye,"ft-icon":le};Ke.styles=Os;Oo([(0,er.property)()],Ke.prototype,"value",void 0);Oo([(0,er.property)()],Ke.prototype,"helper",void 0);Oo([(0,er.query)(".ft-text-field-suggestion")],Ke.prototype,"container",void 0);Oo([(0,er.queryAssignedNodes)()],Ke.prototype,"assignedNodes",void 0);var q=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},H=class extends(0,kt.toFtFormComponent)(kt.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Et.EYE_SLASH,this.passwordRevealedIcon=Et.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let o=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){let e={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},o=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),i=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||o;return ge.html`
736
+ `}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new si(this.getValue()))}getValue(){return this.value||this.getTextContent()}getTextContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};Ze.elementDefinitions={"ft-ripple":Y,"ft-typography":ye,"ft-icon":le};Ze.styles=Os;Oo([(0,er.property)()],Ze.prototype,"value",void 0);Oo([(0,er.property)()],Ze.prototype,"helper",void 0);Oo([(0,er.query)(".ft-text-field-suggestion")],Ze.prototype,"container",void 0);Oo([(0,er.queryAssignedNodes)()],Ze.prototype,"assignedNodes",void 0);var q=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},H=class extends(0,kt.toFtFormComponent)(kt.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Et.EYE_SLASH,this.passwordRevealedIcon=Et.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let o=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){let e={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},o=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),i=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||o;return ge.html`
737
737
  <div class="${(0,Rs.classMap)(e)}">
738
738
  <div class="ft-text-field--main-panel"
739
739
  @keydown=${this.handleKeyboardNavigation}
@@ -753,10 +753,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
753
753
  </ft-typography>
754
754
  `:ge.nothing}
755
755
  <input type="${this.resolveInputType()}"
756
- name="${et(this.name)}"
757
- maxlength="${et(this.maxLength||void 0)}"
756
+ name="${Ve(this.name)}"
757
+ maxlength="${Ve(this.maxLength||void 0)}"
758
758
  aria-label="${this.label}"
759
- autocomplete="${et(this.autocomplete)}"
759
+ autocomplete="${Ve(this.autocomplete)}"
760
760
  class="ft-typography--body1 ft-text-field--input"
761
761
  part="input"
762
762
  ?disabled=${this.disabled}
@@ -802,7 +802,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
802
802
  .variant=${this.iconVariant}
803
803
  .value=${this.icon}
804
804
  @click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
805
- `:ge.nothing}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var o,n,i;!((o=this.input)===null||o===void 0)&&o.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,o=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),o&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var o;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var o;this.setValue(e.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,o;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];(0,kt.computeOffsetAutoPosition)(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:o,y:n})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};H.elementDefinitions={"ft-input-label":Me,"ft-ripple":Y,"ft-typography":ye,"ft-icon":le,"ft-text-field-suggestion":Ke};H.styles=[Sr,kt.noTextInputDefaultClearButton,Ss];q([(0,W.property)()],H.prototype,"label",void 0);q([(0,W.property)({noAccessor:!0})],H.prototype,"value",null);q([(0,W.state)()],H.prototype,"dispatchedValue",void 0);q([(0,W.property)()],H.prototype,"helper",void 0);q([(0,W.property)()],H.prototype,"suggestionsHelper",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"outlined",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"disabled",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"error",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"fixedMenuPosition",void 0);q([(0,W.property)()],H.prototype,"prefix",void 0);q([(0,W.property)()],H.prototype,"icon",void 0);q([(0,W.property)()],H.prototype,"name",void 0);q([(0,W.property)()],H.prototype,"type",void 0);q([(0,W.property)()],H.prototype,"passwordHiddenIcon",void 0);q([(0,W.property)()],H.prototype,"passwordRevealedIcon",void 0);q([(0,W.property)()],H.prototype,"iconVariant",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"filterSuggestions",void 0);q([(0,W.property)({type:Number})],H.prototype,"maxLength",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"password",void 0);q([(0,W.property)({type:String})],H.prototype,"autocomplete",void 0);q([(0,W.property)({attribute:!1})],H.prototype,"suggestionsProvider",void 0);q([(0,W.state)()],H.prototype,"focused",void 0);q([(0,W.state)()],H.prototype,"hidePassword",void 0);q([(0,W.state)()],H.prototype,"hideSuggestions",void 0);q([(0,W.state)()],H.prototype,"visibleSuggestions",void 0);q([(0,W.state)()],H.prototype,"providedSuggestions",void 0);q([(0,W.query)(".ft-text-field--main-panel")],H.prototype,"mainPanel",void 0);q([(0,W.query)(".ft-text-field--input")],H.prototype,"input",void 0);q([(0,W.query)(".ft-text-field-suggestion--new-value")],H.prototype,"newValueSuggestion",void 0);q([(0,W.query)(".ft-text-field--suggestions")],H.prototype,"suggestionsContainer",void 0);q([(0,W.queryAll)("ft-text-field-suggestion")],H.prototype,"providedSuggestionsInDom",void 0);q([(0,W.queryAssignedElements)({selector:"ft-text-field-suggestion"})],H.prototype,"slottedSuggestions",void 0);(0,li.customElement)("ft-text-field")(H);(0,li.customElement)("ft-text-field-suggestion")(Ke);var M={...B,chipGap:Re.FtCssVariableFactory.extend("--ft-combobox-chip-gap","",Re.foundation.spacing1),chipsMarginTop:Re.FtCssVariableFactory.extend("--ft-combobox-chips-margin-top","",Re.foundation.spacing2),suggestSize:Re.FtCssVariableFactory.create("--ft-combobox-suggest-size","","SIZE","370px")},Ls=Ts.css`
805
+ `:ge.nothing}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var o,n,i;!((o=this.input)===null||o===void 0)&&o.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,o=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),o&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var o;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var o;this.setValue(e.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,o;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];(0,kt.computeOffsetAutoPosition)(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:o,y:n})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};H.elementDefinitions={"ft-input-label":Me,"ft-ripple":Y,"ft-typography":ye,"ft-icon":le,"ft-text-field-suggestion":Ze};H.styles=[Sr,kt.noTextInputDefaultClearButton,Ss];q([(0,W.property)()],H.prototype,"label",void 0);q([(0,W.property)({noAccessor:!0})],H.prototype,"value",null);q([(0,W.state)()],H.prototype,"dispatchedValue",void 0);q([(0,W.property)()],H.prototype,"helper",void 0);q([(0,W.property)()],H.prototype,"suggestionsHelper",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"outlined",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"disabled",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"error",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"fixedMenuPosition",void 0);q([(0,W.property)()],H.prototype,"prefix",void 0);q([(0,W.property)()],H.prototype,"icon",void 0);q([(0,W.property)()],H.prototype,"name",void 0);q([(0,W.property)()],H.prototype,"type",void 0);q([(0,W.property)()],H.prototype,"passwordHiddenIcon",void 0);q([(0,W.property)()],H.prototype,"passwordRevealedIcon",void 0);q([(0,W.property)()],H.prototype,"iconVariant",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"filterSuggestions",void 0);q([(0,W.property)({type:Number})],H.prototype,"maxLength",void 0);q([(0,W.property)({type:Boolean})],H.prototype,"password",void 0);q([(0,W.property)({type:String})],H.prototype,"autocomplete",void 0);q([(0,W.property)({attribute:!1})],H.prototype,"suggestionsProvider",void 0);q([(0,W.state)()],H.prototype,"focused",void 0);q([(0,W.state)()],H.prototype,"hidePassword",void 0);q([(0,W.state)()],H.prototype,"hideSuggestions",void 0);q([(0,W.state)()],H.prototype,"visibleSuggestions",void 0);q([(0,W.state)()],H.prototype,"providedSuggestions",void 0);q([(0,W.query)(".ft-text-field--main-panel")],H.prototype,"mainPanel",void 0);q([(0,W.query)(".ft-text-field--input")],H.prototype,"input",void 0);q([(0,W.query)(".ft-text-field-suggestion--new-value")],H.prototype,"newValueSuggestion",void 0);q([(0,W.query)(".ft-text-field--suggestions")],H.prototype,"suggestionsContainer",void 0);q([(0,W.queryAll)("ft-text-field-suggestion")],H.prototype,"providedSuggestionsInDom",void 0);q([(0,W.queryAssignedElements)({selector:"ft-text-field-suggestion"})],H.prototype,"slottedSuggestions",void 0);(0,li.customElement)("ft-text-field")(H);(0,li.customElement)("ft-text-field-suggestion")(Ze);var M={...B,chipGap:Re.FtCssVariableFactory.extend("--ft-combobox-chip-gap","",Re.foundation.spacing1),chipsMarginTop:Re.FtCssVariableFactory.extend("--ft-combobox-chips-margin-top","",Re.foundation.spacing2),suggestSize:Re.FtCssVariableFactory.create("--ft-combobox-suggest-size","","SIZE","370px")},Ls=Ts.css`
806
806
  *:focus {
807
807
  outline: none;
808
808
  }
@@ -1246,7 +1246,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1246
1246
  <div></div>
1247
1247
  <div></div>
1248
1248
  </div>
1249
- `}};or.styles=Ns;(0,fl.customElement)("ft-loader")(or);var Dt=b(Z()),Si=b(bt()),he=b(se());var Se=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ee=class extends(0,Bt.toFtFormComponent)(Bt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let i=Dt.html`
1249
+ `}};or.styles=Ns;(0,fl.customElement)("ft-loader")(or);var Dt=b(Z()),Si=b(bt()),pe=b(se());var be=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},J=class extends(0,Bt.toFtFormComponent)(Bt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let i=Dt.html`
1250
1250
  <ft-ripple part="ripple"
1251
1251
  ?disabled=${this.isDisabled()}
1252
1252
  ?activated=${this.activated}
@@ -1272,7 +1272,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1272
1272
  <button part="button"
1273
1273
  class="${(0,Si.classMap)(this.buttonClasses)}"
1274
1274
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
1275
- aria-haspopup="${et(this.ariaHasPopup)}"
1275
+ aria-haspopup="${Ve(this.ariaHasPopup)}"
1276
+ aria-pressed="${Ve(this.ariaPressed)}"
1276
1277
  ?disabled=${this.isDisabled()}>
1277
1278
  ${i}
1278
1279
  </button>
@@ -1287,7 +1288,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1287
1288
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
1288
1289
  `:Dt.html`
1289
1290
  <slot part="icon" name="icon"></slot>
1290
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,o)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Bt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ee.elementDefinitions={"ft-ripple":Y,"ft-tooltip":me,"ft-icon":le,"ft-loader":or};Se([(0,he.property)()],ee.prototype,"href",void 0);Se([(0,he.property)()],ee.prototype,"target",void 0);Se([(0,he.property)()],ee.prototype,"type",void 0);Se([(0,he.property)({type:Boolean})],ee.prototype,"disabled",void 0);Se([(0,he.property)()],ee.prototype,"label",void 0);Se([(0,he.property)()],ee.prototype,"icon",void 0);Se([(0,he.property)()],ee.prototype,"iconVariant",void 0);Se([(0,he.property)({type:Boolean})],ee.prototype,"trailingIcon",void 0);Se([(0,he.property)({type:Boolean})],ee.prototype,"loading",void 0);Se([(0,he.property)({attribute:"aria-label"})],ee.prototype,"ariaLabel",void 0);Se([(0,he.property)()],ee.prototype,"ariaHasPopup",void 0);Se([(0,he.property)()],ee.prototype,"tooltipPosition",void 0);Se([(0,he.property)({type:Boolean})],ee.prototype,"hideTooltip",void 0);Se([(0,he.property)({type:Boolean})],ee.prototype,"forceTooltip",void 0);Se([(0,he.property)({type:Boolean})],ee.prototype,"activated",void 0);Se([(0,he.query)(".ft-button")],ee.prototype,"button",void 0);Se([(0,he.query)(".ft-button--label slot")],ee.prototype,"slottedContent",void 0);Se([(0,he.query)("[part=tooltip]")],ee.prototype,"tooltip",void 0);var Io=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ze=class extends ee{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 Ct.button}};Ze.elementDefinitions={...ee.elementDefinitions,"ft-or-ftds-typography":ye};Ze.styles=[hl.safariEllipsisFix,$s];Io([(0,io.property)({type:Boolean})],Ze.prototype,"primary",void 0);Io([(0,io.property)({type:Boolean})],Ze.prototype,"outlined",void 0);Io([(0,io.property)({type:Boolean})],Ze.prototype,"dense",void 0);Io([(0,io.property)({type:Boolean})],Ze.prototype,"round",void 0);var ao=b(se()),Po=b(N());var yl=b(Z()),C=b(N());var Ci={...f,iconOnlyScale:C.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},gl=[yl.css`
1291
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,o)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Bt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};J.elementDefinitions={"ft-ripple":Y,"ft-tooltip":me,"ft-icon":le,"ft-loader":or};be([(0,pe.property)()],J.prototype,"href",void 0);be([(0,pe.property)()],J.prototype,"target",void 0);be([(0,pe.property)()],J.prototype,"type",void 0);be([(0,pe.property)({type:Boolean})],J.prototype,"disabled",void 0);be([(0,pe.property)()],J.prototype,"label",void 0);be([(0,pe.property)()],J.prototype,"icon",void 0);be([(0,pe.property)()],J.prototype,"iconVariant",void 0);be([(0,pe.property)({type:Boolean})],J.prototype,"trailingIcon",void 0);be([(0,pe.property)({type:Boolean})],J.prototype,"loading",void 0);be([(0,pe.property)({attribute:"aria-label"})],J.prototype,"ariaLabel",void 0);be([(0,pe.property)()],J.prototype,"ariaHasPopup",void 0);be([(0,pe.property)({attribute:"aria-pressed"})],J.prototype,"ariaPressed",void 0);be([(0,pe.property)()],J.prototype,"tooltipPosition",void 0);be([(0,pe.property)({type:Boolean})],J.prototype,"hideTooltip",void 0);be([(0,pe.property)({type:Boolean})],J.prototype,"forceTooltip",void 0);be([(0,pe.property)({type:Boolean})],J.prototype,"activated",void 0);be([(0,pe.query)(".ft-button")],J.prototype,"button",void 0);be([(0,pe.query)(".ft-button--label slot")],J.prototype,"slottedContent",void 0);be([(0,pe.query)("[part=tooltip]")],J.prototype,"tooltip",void 0);var Io=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},qe=class extends J{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Ct.button}};qe.elementDefinitions={...J.elementDefinitions,"ft-or-ftds-typography":ye};qe.styles=[hl.safariEllipsisFix,$s];Io([(0,io.property)({type:Boolean})],qe.prototype,"primary",void 0);Io([(0,io.property)({type:Boolean})],qe.prototype,"outlined",void 0);Io([(0,io.property)({type:Boolean})],qe.prototype,"dense",void 0);Io([(0,io.property)({type:Boolean})],qe.prototype,"round",void 0);var ao=b(se()),Po=b(N());var yl=b(Z()),C=b(N());var Ci={...f,iconOnlyScale:C.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},gl=[yl.css`
1291
1292
  :host {
1292
1293
  display: inline-block;
1293
1294
  max-width: 100%;
@@ -1757,7 +1758,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1757
1758
  .ftds--size-small.ft-button--icon-only {
1758
1759
  width: ${f.smallIconOnlyWidth};
1759
1760
  }
1760
- `,C.noTextSelect];var No=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},qe=class extends(0,Po.toFtdsBase)(ee){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=So.brand,this.iconVariant=je.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 tt.large:return rt.body2medium;case tt.medium:return rt.caption1medium;case tt.small:return rt.caption2medium}}};qe.elementDefinitions={...ee.elementDefinitions,"ft-or-ftds-typography":ot};qe.styles=[Po.safariEllipsisFix,gl];No([(0,ao.property)({type:Boolean})],qe.prototype,"primary",void 0);No([(0,ao.property)({type:Boolean})],qe.prototype,"secondary",void 0);No([(0,ao.property)({type:Boolean})],qe.prototype,"tertiary",void 0);No([(0,ao.property)({type:Boolean})],qe.prototype,"round",void 0);(0,Oi.customElement)("ft-button")(Ze);(0,Oi.customElement)("ftds-button")(qe);var ml=z.FtCssVariableFactory.extend("--ft-chip-color","",z.designSystemVariables.colorOnSurface),De={backgroundColor:z.FtCssVariableFactory.extend("--ft-chip-background-color","",z.designSystemVariables.colorSurface),color:ml,fontSize:z.FtCssVariableFactory.extend("--ft-chip-font-size","",Ve.fontSize),fontWeight:z.FtCssVariableFactory.extend("--ft-chip-font-weight","",Ve.fontWeight),iconSize:z.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:z.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:z.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ml),horizontalPadding:z.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:z.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:z.FtCssVariableFactory.extend("--ft-chip-border-color","",z.designSystemVariables.colorOutline),opacityDisabled:z.FtCssVariableFactory.external(z.designSystemVariables.colorOpacityDisabled,"Design system")},bl=z.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",z.FtCssVariableFactory.extend("--ft-chip-color","",z.designSystemVariables.colorOnPrimary)),Ei={backgroundColor:z.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",z.FtCssVariableFactory.extend("--ft-chip-background-color","",z.designSystemVariables.colorPrimary)),color:bl,rippleColor:z.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",bl)},xl={horizontalPadding:z.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:z.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},vl=[z.noTextSelect,so.css`
1761
+ `,C.noTextSelect];var No=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ye=class extends(0,Po.toFtdsBase)(J){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=So.brand,this.iconVariant=Ke.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 tt.large:return rt.body2medium;case tt.medium:return rt.caption1medium;case tt.small:return rt.caption2medium}}};Ye.elementDefinitions={...J.elementDefinitions,"ft-or-ftds-typography":ot};Ye.styles=[Po.safariEllipsisFix,gl];No([(0,ao.property)({type:Boolean})],Ye.prototype,"primary",void 0);No([(0,ao.property)({type:Boolean})],Ye.prototype,"secondary",void 0);No([(0,ao.property)({type:Boolean})],Ye.prototype,"tertiary",void 0);No([(0,ao.property)({type:Boolean})],Ye.prototype,"round",void 0);(0,Oi.customElement)("ft-button")(qe);(0,Oi.customElement)("ftds-button")(Ye);var ml=z.FtCssVariableFactory.extend("--ft-chip-color","",z.designSystemVariables.colorOnSurface),De={backgroundColor:z.FtCssVariableFactory.extend("--ft-chip-background-color","",z.designSystemVariables.colorSurface),color:ml,fontSize:z.FtCssVariableFactory.extend("--ft-chip-font-size","",Ge.fontSize),fontWeight:z.FtCssVariableFactory.extend("--ft-chip-font-weight","",Ge.fontWeight),iconSize:z.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:z.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:z.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ml),horizontalPadding:z.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:z.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:z.FtCssVariableFactory.extend("--ft-chip-border-color","",z.designSystemVariables.colorOutline),opacityDisabled:z.FtCssVariableFactory.external(z.designSystemVariables.colorOpacityDisabled,"Design system")},bl=z.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",z.FtCssVariableFactory.extend("--ft-chip-color","",z.designSystemVariables.colorOnPrimary)),Ei={backgroundColor:z.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",z.FtCssVariableFactory.extend("--ft-chip-background-color","",z.designSystemVariables.colorPrimary)),color:bl,rippleColor:z.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",bl)},xl={horizontalPadding:z.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:z.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},vl=[z.noTextSelect,so.css`
1761
1762
  :host {
1762
1763
  display: inline-block;
1763
1764
  max-width: 100%;
@@ -1859,9 +1860,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1859
1860
  vertical-align: bottom;
1860
1861
  display: block;
1861
1862
  margin: 0 var(--chip-internal-horizontal-padding);
1862
- ${(0,z.setVariable)(Ve.fontSize,"var(--chip-internal-font-size)")};
1863
- ${(0,z.setVariable)(Ve.fontWeight,"var(--chip-internal-font-weight)")};
1864
- ${(0,z.setVariable)(Ve.lineHeight,"var(--chip-internal-content-height)")};
1863
+ ${(0,z.setVariable)(Ge.fontSize,"var(--chip-internal-font-size)")};
1864
+ ${(0,z.setVariable)(Ge.fontWeight,"var(--chip-internal-font-weight)")};
1865
+ ${(0,z.setVariable)(Ge.lineHeight,"var(--chip-internal-content-height)")};
1865
1866
  }
1866
1867
 
1867
1868
  .ft-chip--safari-fix .ft-chip--label {
@@ -1924,7 +1925,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1924
1925
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1925
1926
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
1926
1927
  </div>
1927
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ko))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ko))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Nr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};de.elementDefinitions={"ft-ripple":Y,"ft-typography":ye,"ft-icon":le,"ft-button":Ze};de.styles=vl;Be([(0,Te.property)({type:Boolean})],de.prototype,"highlighted",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"removable",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"disabled",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"clickable",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"iconClickable",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"dense",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"multiLine",void 0);Be([(0,Te.property)()],de.prototype,"label",void 0);Be([(0,Te.property)()],de.prototype,"iconLabel",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"hideIconTooltip",void 0);Be([(0,Te.property)()],de.prototype,"icon",void 0);Be([(0,Te.property)()],de.prototype,"iconVariant",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"trailingIcon",void 0);Be([(0,Te.query)("ft-typography slot")],de.prototype,"slottedContent",void 0);var Mt=b(Z()),Ut=b(se()),El=b(bt()),Do=b(N());var Cl=b(Z());var $o=b(N());var Ol=[Cl.css`
1928
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new ko))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new ko))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Nr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};de.elementDefinitions={"ft-ripple":Y,"ft-typography":ye,"ft-icon":le,"ft-button":qe};de.styles=vl;Be([(0,Te.property)({type:Boolean})],de.prototype,"highlighted",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"removable",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"disabled",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"clickable",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"iconClickable",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"dense",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"multiLine",void 0);Be([(0,Te.property)()],de.prototype,"label",void 0);Be([(0,Te.property)()],de.prototype,"iconLabel",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"hideIconTooltip",void 0);Be([(0,Te.property)()],de.prototype,"icon",void 0);Be([(0,Te.property)()],de.prototype,"iconVariant",void 0);Be([(0,Te.property)({type:Boolean})],de.prototype,"trailingIcon",void 0);Be([(0,Te.query)("ft-typography slot")],de.prototype,"slottedContent",void 0);var Mt=b(Z()),Ut=b(se()),El=b(bt()),Do=b(N());var Cl=b(Z());var $o=b(N());var Ol=[Cl.css`
1928
1929
  :host {
1929
1930
  display: inline-block;
1930
1931
  max-width: 100%;
@@ -2091,7 +2092,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2091
2092
  .ftds--family-error .ftds-chip--icon-container {
2092
2093
  color: ${$.errorIconColor};
2093
2094
  }
2094
- `];var Pr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},wi=class extends CustomEvent{constructor(){super("remove")}},Ye=class extends Do.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return Mt.html`
2095
+ `];var Pr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},wi=class extends CustomEvent{constructor(){super("remove")}},Xe=class extends Do.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return Mt.html`
2095
2096
  <div class="${(0,El.classMap)(e)}"
2096
2097
  aria-label="${this.getLabel()}"
2097
2098
  part="chip">
@@ -2103,7 +2104,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2103
2104
  </div>
2104
2105
  `}renderIcon(){return this.icon?Mt.html`
2105
2106
  <div class="ftds-chip--icon-container" part="icon-container">
2106
- <ft-icon .variant=${je.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
2107
+ <ft-icon .variant=${Ke.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
2107
2108
  </div>
2108
2109
  `:Mt.nothing}renderAction(){return this.removable?Mt.html`
2109
2110
  <ftds-button round
@@ -2117,11 +2118,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2117
2118
  ></ftds-button>
2118
2119
  `:this.withAction?Mt.html`
2119
2120
  <slot name="action"></slot>
2120
- `:Mt.nothing}resolveButtonSize(){switch(this.size){case tt.large:return tt.medium;default:return tt.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new wi)}typographyVariant(){switch(this.size){case tt.large:return rt.body2medium;default:return rt.caption1medium}}};Ye.elementDefinitions={"ftds-typography":ot,"ft-icon":le,"ftds-button":qe};Ye.styles=Ol;Pr([(0,Ut.property)({type:Boolean})],Ye.prototype,"withAction",void 0);Pr([(0,Ut.property)({type:Boolean})],Ye.prototype,"removable",void 0);Pr([(0,Ut.property)()],Ye.prototype,"removeButtonLabel",void 0);Pr([(0,Ut.property)()],Ye.prototype,"label",void 0);Pr([(0,Ut.property)()],Ye.prototype,"icon",void 0);Pr([(0,Ut.query)("ftds-typography slot")],Ye.prototype,"slottedContent",void 0);(0,Ai.customElement)("ft-chip")(de);(0,Ai.customElement)("ftds-chip")(Ye);var md=b(N());var hn=b(Z()),yn=b(se()),gn=b(N());var wl=b(Z());var Al=wl.css`
2121
+ `:Mt.nothing}resolveButtonSize(){switch(this.size){case tt.large:return tt.medium;default:return tt.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new wi)}typographyVariant(){switch(this.size){case tt.large:return rt.body2medium;default:return rt.caption1medium}}};Xe.elementDefinitions={"ftds-typography":ot,"ft-icon":le,"ftds-button":Ye};Xe.styles=Ol;Pr([(0,Ut.property)({type:Boolean})],Xe.prototype,"withAction",void 0);Pr([(0,Ut.property)({type:Boolean})],Xe.prototype,"removable",void 0);Pr([(0,Ut.property)()],Xe.prototype,"removeButtonLabel",void 0);Pr([(0,Ut.property)()],Xe.prototype,"label",void 0);Pr([(0,Ut.property)()],Xe.prototype,"icon",void 0);Pr([(0,Ut.query)("ftds-typography slot")],Xe.prototype,"slottedContent",void 0);(0,Ai.customElement)("ft-chip")(de);(0,Ai.customElement)("ftds-chip")(Xe);var md=b(N());var hn=b(Z()),yn=b(se()),gn=b(N());var wl=b(Z());var Al=wl.css`
2121
2122
  `;var Wr=b(N());var ud=b(N());var gc=b(Z()),we=b(se()),st=b(N());var Rl=b(Z());var Tl=Rl.css`
2122
- `;var Bo=b(N()),Jd="ft-app-info",nr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};nr.eventName="authentication-change";var ep={session:(t,e)=>{(0,Bo.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>I.dispatchEvent(new nr(e.payload)),0))}},I=Bo.FtReduxStore.get({name:Jd,reducers:ep,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Ri=b(N());var ir=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=I.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=I.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var Mo=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ir.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ir.await()}};var ze=class extends Mo{constructor(e=!0,o){var n;super(o),this.sortObjectFields=(a,l)=>typeof l!="object"||l==null||Array.isArray(l)?l:Object.fromEntries(Object.entries(l).sort(([c],[p])=>c.localeCompare(p)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Ri.CacheRegistry,this.cache=e?i.commonCache:new Ri.CacheRegistry}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var Uo=class extends ze{async listMyBookmarks(){let e=I.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ti=class{addCommand(e,o=!1){I.commands.add(e,o)}consumeCommand(e){return I.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ti;var Xe=b(N());var Ll,_r=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},tp=Symbol("clearAfterUnitTest"),Fo=class extends(0,Xe.withEventBus)(ze){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ll]=()=>{this.defaultMessages={},this.cache=new Xe.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=I.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,Xe.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let a=e.toLowerCase(),l=this.resolveContext(a);return new Xe.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},l).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(i){!(i instanceof Xe.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new _r({loadedContexts:e})),this.dispatchEvent(new _r({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new _r({loadedContexts:[e]})),this.dispatchEvent(new _r({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>(0,Xe.delay)(0).then(()=>n()).catch(()=>null)))}};Ll=tp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Fo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Fo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var kr=window.FluidTopicsI18nService,zo=window.FluidTopicsCustomI18nService;var Il=b(N()),Li=class{highlightHtml(e,o,n){(0,Il.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Li;var op=b(Pl(),1);var _l;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(_l||(_l={}));var kl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(kl||(kl={}));var $l;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})($l||($l={}));var Dl;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Dl||(Dl={}));var Bl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Bl||(Bl={}));var Ml;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ml||(Ml={}));var Ul;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Ul||(Ul={}));var Fl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Fl||(Fl={}));var zl;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(zl||(zl={}));var Hl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Hl||(Hl={}));var Wl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Wl||(Wl={}));var Vl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Vl||(Vl={}));var Gl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Gl||(Gl={}));var jl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(jl||(jl={}));var Kl;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Kl||(Kl={}));var Zl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Zl||(Zl={}));var ql;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ql||(ql={}));var Yl;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Yl||(Yl={}));var Xl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Xl||(Xl={}));var Ql;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ql||(Ql={}));var Jl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Jl||(Jl={}));var ec;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ec||(ec={}));var tc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(tc||(tc={}));var rc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(rc||(rc={}));var oc;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(oc||(oc={}));var be;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(be||(be={}));var Qe;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Qe||(Qe={}));var nc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(nc||(nc={}));var ic;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ic||(ic={}));var ac;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(ac||(ac={}));var sc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(sc||(sc={}));var lc;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(lc||(lc={}));var rp={[be.PERSONAL_BOOK_SHARE_USER]:[be.PERSONAL_BOOK_USER],[be.HTML_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.PDF_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.KHUB_ADMIN]:[be.CONTENT_PUBLISHER],[be.ADMIN]:[be.KHUB_ADMIN,be.USERS_ADMIN,be.PORTAL_ADMIN],[be.GENERATIVE_AI_EXPORT_USER]:[be.GENERATIVE_AI_USER]};function cc(t,e){return t===e||(rp[t]??[]).some(o=>cc(o,e))}function dc(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>cc(n,e))}var Vo=class extends ze{async listMySearches(){let{session:e}=I.getState();return dc(e,be.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var pc=b(N());var Ii=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=I.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return pc.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:I.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ii;var uc=b(N());var lo=class{static get(e,o){var n,i;let a=I.getState(),{lang:l,region:c}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new uc.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,o??`${l}-${c}`)}};var Ni=class{urlToSearchRequest(e){return lo.get().parse(e)}searchRequestToUrl(e){return lo.get().serialize(e)}};window.FluidTopicsUrlService=new Ni;var zt=b(N());var ar=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};ar.eventName="change";var Pi=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},fc=new Pi;var Go=class t extends zt.WithEventBus{static build(){return new t(window.history,fc,()=>window.location,!1)}constructor(e,o,n,i){var a,l;super(),this.history=e,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(l=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&l!==void 0?l:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,o=!1){let n=o&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,zt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ar(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[a,l,c])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...a,index:p,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(i,[u,l,c]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(ar.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(ar.eventName,e)}currentItem(){return(0,zt.deepCopy)(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,zt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return(0,zt.deepCopy)(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let i=o??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Go.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var hc=I;function yc(t,e){var o;return hc.getState().authenticationRequired&&!(!((o=hc.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(e):t()}var xe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends st.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",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=()=>ir.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new st.CacheRegistry,this.cleanSessionDebouncer=new st.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return gc.html`
2123
+ `;var Bo=b(N()),Jd="ft-app-info",nr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};nr.eventName="authentication-change";var ep={session:(t,e)=>{(0,Bo.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>I.dispatchEvent(new nr(e.payload)),0))}},I=Bo.FtReduxStore.get({name:Jd,reducers:ep,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Ri=b(N());var ir=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=I.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=I.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var Mo=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ir.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ir.await()}};var ze=class extends Mo{constructor(e=!0,o){var n;super(o),this.sortObjectFields=(a,l)=>typeof l!="object"||l==null||Array.isArray(l)?l:Object.fromEntries(Object.entries(l).sort(([c],[p])=>c.localeCompare(p)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Ri.CacheRegistry,this.cache=e?i.commonCache:new Ri.CacheRegistry}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var Uo=class extends ze{async listMyBookmarks(){let e=I.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ti=class{addCommand(e,o=!1){I.commands.add(e,o)}consumeCommand(e){return I.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ti;var Qe=b(N());var Ll,_r=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},tp=Symbol("clearAfterUnitTest"),Fo=class extends(0,Qe.withEventBus)(ze){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ll]=()=>{this.defaultMessages={},this.cache=new Qe.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=I.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,Qe.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let a=e.toLowerCase(),l=this.resolveContext(a);return new Qe.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},l).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(i){!(i instanceof Qe.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new _r({loadedContexts:e})),this.dispatchEvent(new _r({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new _r({loadedContexts:[e]})),this.dispatchEvent(new _r({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>(0,Qe.delay)(0).then(()=>n()).catch(()=>null)))}};Ll=tp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Fo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Fo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var kr=window.FluidTopicsI18nService,zo=window.FluidTopicsCustomI18nService;var Il=b(N()),Li=class{highlightHtml(e,o,n){(0,Il.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Li;var op=b(Pl(),1);var _l;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(_l||(_l={}));var kl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(kl||(kl={}));var $l;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})($l||($l={}));var Dl;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Dl||(Dl={}));var Bl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Bl||(Bl={}));var Ml;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ml||(Ml={}));var Ul;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Ul||(Ul={}));var Fl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Fl||(Fl={}));var zl;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(zl||(zl={}));var Hl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Hl||(Hl={}));var Wl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Wl||(Wl={}));var Vl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Vl||(Vl={}));var Gl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Gl||(Gl={}));var jl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(jl||(jl={}));var Kl;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Kl||(Kl={}));var Zl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Zl||(Zl={}));var ql;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ql||(ql={}));var Yl;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Yl||(Yl={}));var Xl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Xl||(Xl={}));var Ql;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ql||(Ql={}));var Jl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Jl||(Jl={}));var ec;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ec||(ec={}));var tc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(tc||(tc={}));var rc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(rc||(rc={}));var oc;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(oc||(oc={}));var xe;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(xe||(xe={}));var Je;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Je||(Je={}));var nc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(nc||(nc={}));var ic;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ic||(ic={}));var ac;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(ac||(ac={}));var sc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(sc||(sc={}));var lc;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(lc||(lc={}));var rp={[xe.PERSONAL_BOOK_SHARE_USER]:[xe.PERSONAL_BOOK_USER],[xe.HTML_EXPORT_USER]:[xe.PERSONAL_BOOK_USER],[xe.PDF_EXPORT_USER]:[xe.PERSONAL_BOOK_USER],[xe.KHUB_ADMIN]:[xe.CONTENT_PUBLISHER],[xe.ADMIN]:[xe.KHUB_ADMIN,xe.USERS_ADMIN,xe.PORTAL_ADMIN],[xe.GENERATIVE_AI_EXPORT_USER]:[xe.GENERATIVE_AI_USER]};function cc(t,e){return t===e||(rp[t]??[]).some(o=>cc(o,e))}function dc(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>cc(n,e))}var Vo=class extends ze{async listMySearches(){let{session:e}=I.getState();return dc(e,xe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var pc=b(N());var Ii=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=I.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return pc.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:I.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ii;var uc=b(N());var lo=class{static get(e,o){var n,i;let a=I.getState(),{lang:l,region:c}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new uc.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,o??`${l}-${c}`)}};var Ni=class{urlToSearchRequest(e){return lo.get().parse(e)}searchRequestToUrl(e){return lo.get().serialize(e)}};window.FluidTopicsUrlService=new Ni;var zt=b(N());var ar=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};ar.eventName="change";var Pi=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},fc=new Pi;var Go=class t extends zt.WithEventBus{static build(){return new t(window.history,fc,()=>window.location,!1)}constructor(e,o,n,i){var a,l;super(),this.history=e,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(l=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&l!==void 0?l:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,o=!1){let n=o&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,zt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ar(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[a,l,c])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...a,index:p,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(i,[u,l,c]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(ar.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(ar.eventName,e)}currentItem(){return(0,zt.deepCopy)(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,zt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return(0,zt.deepCopy)(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let i=o??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Go.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var hc=I;function yc(t,e){var o;return hc.getState().authenticationRequired&&!(!((o=hc.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(e):t()}var ve=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends st.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",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=()=>ir.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new st.CacheRegistry,this.cleanSessionDebouncer=new st.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return gc.html`
2123
2124
  <slot></slot>
2124
- `}connectedCallback(){super.connectedCallback(),I.addEventListener(nr.eventName,this.reloadConfiguration)}disconnectedCallback(){I.addEventListener(nr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var o,n,i,a,l,c,p;super.update(e),e.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&I.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&I.actions.noCustom(this.noCustom),e.has("editorMode")&&I.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&I.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>kr.addContext(u)),e.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(I.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),I.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),I.actions.searchInAllLanguagesAllowed((l=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),e.has("authenticationRequired")&&I.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&I.actions.availableContentLocales((p=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&p!==void 0?p:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>yc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};oe.elementDefinitions={};oe.styles=Tl;xe([(0,we.property)()],oe.prototype,"baseUrl",void 0);xe([(0,we.property)()],oe.prototype,"apiIntegrationIdentifier",void 0);xe([(0,we.property)()],oe.prototype,"apiIntegrationAppVersion",void 0);xe([(0,we.property)()],oe.prototype,"uiLocale",void 0);xe([(0,st.jsonProperty)(null)],oe.prototype,"availableUiLocales",void 0);xe([(0,st.jsonProperty)(null)],oe.prototype,"metadataConfiguration",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"editorMode",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"noCustom",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"openExternalDocumentInNewTab",void 0);xe([(0,we.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],oe.prototype,"noCustomComponent",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"withManualResources",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"navigatorOnline",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"forcedOffline",void 0);xe([(0,we.property)({type:Object})],oe.prototype,"apiProvider",void 0);xe([(0,we.property)({type:Boolean})],oe.prototype,"authenticationRequired",void 0);xe([(0,st.jsonProperty)([])],oe.prototype,"messageContexts",void 0);xe([(0,st.jsonProperty)(void 0)],oe.prototype,"session",void 0);xe([(0,we.state)()],oe.prototype,"localesConfiguration",void 0);xe([(0,we.state)()],oe.prototype,"availableContentLocales",void 0);var oa=b(se());function np(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!jo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!jo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=l=>Object.keys(l).filter(c=>l[c]!=null);if(i=a(t),o=i.length,o!==a(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){let l=i[n];if(!jo(t[l],e[l]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function jo(t,e){try{return np(t,e)}catch{return!1}}function co(t,e){return!jo(t,e)}function Ko(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}var mc=b(se(),1);var _i=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:co,attribute:!1,...e};(0,mc.property)(a)(o,n);let l=o.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}};var Zo=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};var sr=b(se(),1);var bc=b(se(),1);function xc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,bc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:co,...e??{}})}var qo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Sc=b(Z(),1);var Yo=globalThis,ip=Yo.ShadowRoot&&(Yo.ShadyCSS===void 0||Yo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,P0=Symbol();var vc=(t,e)=>{if(ip)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Yo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}};var Xo=class extends Sc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return vc(n,e.elementStyles),n}};function Cc(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}var Br=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ac,Oc=Symbol("constructorPrototype"),Ec=Symbol("constructorName"),Rc=Symbol("exportpartsDebouncer"),wc=Symbol("dynamicDependenciesLoaded"),Dr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Dr.eventName="exportparts-updated";var yt=class extends Xo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ac]=new qo(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Rc].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Ec]=this.constructor.name,this[Oc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ec]&&Object.setPrototypeOf(this,this[Oc])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[wc]||(o[wc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Dr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Dr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Dr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=Cc(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}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)}}setExportpartsAttribute(e){var o,n,i,a,l,c;let p=m=>m!=null&&m.trim().length>0,u=e.filter(p).map(m=>m.trim());if(u.length===0){this.exportparts=void 0;return}let g=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],O=[...S,...v].filter(p).map(T=>T.trim());for(let T of O)g.add(T)}if(g.size===0){this.exportparts=void 0;return}let h=[...g.values()].flatMap(m=>u.map(S=>`${m}:${S}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};Ac=Rc;Br([(0,sr.property)()],yt.prototype,"exportpartsPrefix",void 0);Br([xc([])],yt.prototype,"exportpartsPrefixes",void 0);Br([(0,sr.property)({reflect:!0})],yt.prototype,"exportparts",void 0);Br([(0,sr.property)()],yt.prototype,"customStylesheet",void 0);Br([(0,sr.property)()],yt.prototype,"elementToFocus",void 0);Br([(0,sr.state)()],yt.prototype,"useAdoptedStyleSheets",void 0);function Qo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var po=Symbol("internalReduxEventsUnsubscribers"),Ht=Symbol("internalStoresUnsubscribers"),lr=Symbol("internalStores"),ap=Ko(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(l){super.willUpdate(l),[...this.reduxConstructor.reduxReactiveProperties].some(c=>l.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[lr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[lr].values()][0]}getStore(l){return l==null?this.getUnnamedStore():this[lr].get(l)}addStore(l,c){var p;c=(p=c??l.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(c),this[lr].set(c,l),this.subscribeToStore(c,l),this.updateFromStores()}removeStore(l){let c=typeof l=="string"?l:l.name;this.unsubscribeFromStore(c),this[lr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[lr].forEach((l,c)=>this.subscribeToStore(c,l)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((l,c)=>{let p=this.constructor.getPropertyOptions(c);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:c)){let u=this.getStore(l.store);u&&(l.store?this[Ht].has(l.store):this[Ht].size>0)&&(this[c]=l.selector(u.getState(),this))}})}subscribeToStore(l,c){var p;this[Ht].set(l,c.subscribe(()=>this.updateFromStores())),this[po].set(l,[]),Qo(c)&&c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((u,g)=>{if(typeof this[g]=="function"&&(!u.store||c.name===u.store)){let h=m=>this[g](m);c.addEventListener(u.eventName,h),this[po].get(l).push(()=>c.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(l)}unsubscribeFromStores(){this[Ht].forEach((l,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(l){var c;this[Ht].has(l)&&this[Ht].get(l)(),this[Ht].delete(l),(c=this[po].get(l))===null||c===void 0||c.forEach(p=>p()),this[po].delete(l)}onStoreAvailable(l){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Ht,o=lr,n=po,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Tc=class extends ap(yt){};function Je(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Lt(t){return!!t&&!!t[ie]}function lt(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===hp}(t)||Array.isArray(t)||!!t[$c]||!!(!((e=t.constructor)===null||e===void 0)&&e[$c])||Hi(t)||Wi(t))}function cr(t,e,o){o===void 0&&(o=!1),Fr(t)===0?(o?Object.keys:Ur)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Fr(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Hi(t)?2:Wi(t)?3:0}function Mr(t,e){return Fr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function sp(t,e){return Fr(t)===2?t.get(e):t[e]}function Dc(t,e,o){var n=Fr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Bc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Hi(t){return up&&t instanceof Map}function Wi(t){return fp&&t instanceof Set}function Wt(t){return t.o||t.t}function Vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Fc(t);delete e[ie];for(var o=Ur(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Gi(t,e){return e===void 0&&(e=!1),ji(t)||Lt(t)||!lt(t)||(Fr(t)>1&&(t.set=t.add=t.clear=t.delete=lp),Object.freeze(t),e&&cr(t,function(o,n){return Gi(n,!0)},!0)),t}function lp(){Je(2)}function ji(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function gt(t){var e=zi[t];return e||Je(18,t),e}function cp(t,e){zi[t]||(zi[t]=e)}function Mi(){return fo}function ki(t,e){e&&(gt("Patches"),t.u=[],t.s=[],t.v=e)}function Jo(t){Ui(t),t.p.forEach(dp),t.p=null}function Ui(t){t===fo&&(fo=t.l)}function Lc(t){return fo={p:[],l:fo,h:t,m:!0,_:0}}function dp(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function $i(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||gt("ES5").S(e,t,n),n?(o[ie].P&&(Jo(e),Je(4)),lt(t)&&(t=en(e,t),e.l||tn(e,t)),e.u&&gt("Patches").M(o[ie].t,t,e.u,e.s)):t=en(e,o,[]),Jo(e),e.u&&e.v(e.u,e.s),t!==Uc?t:void 0}function en(t,e,o){if(ji(e))return e;var n=e[ie];if(!n)return cr(e,function(c,p){return Ic(t,n,e,c,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return tn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Vi(n.k):n.o,a=i,l=!1;n.i===3&&(a=new Set(i),i.clear(),l=!0),cr(a,function(c,p){return Ic(t,n,i,c,p,o,l)}),tn(t,i,!1),o&&t.u&&gt("Patches").N(n,o,t.u,t.s)}return n.o}function Ic(t,e,o,n,i,a,l){if(Lt(i)){var c=en(t,i,a&&e&&e.i!==3&&!Mr(e.R,n)?a.concat(n):void 0);if(Dc(o,n,c),!Lt(c))return;t.m=!1}else l&&o.add(i);if(lt(i)&&!ji(i)){if(!t.h.D&&t._<1)return;en(t,i),e&&e.A.l||tn(t,i)}}function tn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Gi(e,o)}function Di(t,e){var o=t[ie];return(o?Wt(o):t)[e]}function Nc(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Vt(t){t.P||(t.P=!0,t.l&&Vt(t.l))}function Bi(t){t.o||(t.o=Vi(t.t))}function Fi(t,e,o){var n=Hi(e)?gt("MapSet").F(e,o):Wi(e)?gt("MapSet").T(e,o):t.O?function(i,a){var l=Array.isArray(i),c={i:l?1:0,A:a?a.A:Mi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,u=ho;l&&(p=[c],u=uo);var g=Proxy.revocable(p,u),h=g.revoke,m=g.proxy;return c.k=m,c.j=h,m}(e,o):gt("ES5").J(e,o);return(o?o.A:Mi()).p.push(n),n}function pp(t){return Lt(t)||Je(22,t),function e(o){if(!lt(o))return o;var n,i=o[ie],a=Fr(o);if(i){if(!i.P&&(i.i<4||!gt("ES5").K(i)))return i.t;i.I=!0,n=Pc(o,a),i.I=!1}else n=Pc(o,a);return cr(n,function(l,c){i&&sp(i.t,l)===c||Dc(n,l,e(c))}),a===3?new Set(n):n}(t)}function Pc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vi(t)}function Mc(){function t(l,c){var p=a[l];return p?p.enumerable=c:a[l]=p={configurable:!0,enumerable:c,get:function(){var u=this[ie];return ho.get(u,l)},set:function(u){var g=this[ie];ho.set(g,l,u)}},p}function e(l){for(var c=l.length-1;c>=0;c--){var p=l[c][ie];if(!p.P)switch(p.i){case 5:n(p)&&Vt(p);break;case 4:o(p)&&Vt(p)}}}function o(l){for(var c=l.t,p=l.k,u=Ur(p),g=u.length-1;g>=0;g--){var h=u[g];if(h!==ie){var m=c[h];if(m===void 0&&!Mr(c,h))return!0;var S=p[h],v=S&&S[ie];if(v?v.t!==m:!Bc(S,m))return!0}}var O=!!c[ie];return u.length!==Ur(c).length+(O?0:1)}function n(l){var c=l.k;if(c.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(l){l.g&&Je(3,JSON.stringify(Wt(l)))}var a={};cp("ES5",{J:function(l,c){var p=Array.isArray(l),u=function(h,m){if(h){for(var S=Array(m.length),v=0;v<m.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var O=Fc(m);delete O[ie];for(var T=Ur(O),R=0;R<T.length;R++){var L=T[R];O[L]=t(L,h||!!O[L].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(p,l),g={i:p?5:4,A:c?c.A:Mi(),P:!1,I:!1,R:{},l:c,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ie,{value:g,writable:!0}),u},S:function(l,c,p){p?Lt(c)&&c[ie].A===l&&e(l.p):(l.u&&function u(g){if(g&&typeof g=="object"){var h=g[ie];if(h){var m=h.t,S=h.k,v=h.R,O=h.i;if(O===4)cr(S,function(V){V!==ie&&(m[V]!==void 0||Mr(m,V)?v[V]||u(S[V]):(v[V]=!0,Vt(h)))}),cr(m,function(V){S[V]!==void 0||Mr(S,V)||(v[V]=!1,Vt(h))});else if(O===5){if(n(h)&&(Vt(h),v.length=!0),S.length<m.length)for(var T=S.length;T<m.length;T++)v[T]=!1;else for(var R=m.length;R<S.length;R++)v[R]=!0;for(var L=Math.min(S.length,m.length),U=0;U<L;U++)S.hasOwnProperty(U)||(v[U]=!0),v[U]===void 0&&u(S[U])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var _c,fo,Ki=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",up=typeof Map<"u",fp=typeof Set<"u",kc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Uc=Ki?Symbol.for("immer-nothing"):((_c={})["immer-nothing"]=!0,_c),$c=Ki?Symbol.for("immer-draftable"):"__$immer_draftable",ie=Ki?Symbol.for("immer-state"):"__$immer_state";var hp=""+Object.prototype.constructor,Ur=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fc=Object.getOwnPropertyDescriptors||function(t){var e={};return Ur(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},zi={},ho={get:function(t,e){if(e===ie)return t;var o=Wt(t);if(!Mr(o,e))return function(i,a,l){var c,p=Nc(a,l);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!lt(n)?n:n===Di(t.t,e)?(Bi(t),t.o[e]=Fi(t.A.h,n,t)):n},has:function(t,e){return e in Wt(t)},ownKeys:function(t){return Reflect.ownKeys(Wt(t))},set:function(t,e,o){var n=Nc(Wt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Di(Wt(t),e),a=i?.[ie];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Bc(o,i)&&(o!==void 0||Mr(t.t,e)))return!0;Bi(t),Vt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Di(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Bi(t),Vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Wt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Je(12)}},uo={};cr(ho,function(t,e){uo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),uo.deleteProperty=function(t,e){return uo.set.call(this,t,e,void 0)},uo.set=function(t,e,o){return ho.set.call(this,t[0],e,o,t[0])};var yp=function(){function t(o){var n=this;this.O=kc,this.D=!0,this.produce=function(i,a,l){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(O){var T=this;O===void 0&&(O=c);for(var R=arguments.length,L=Array(R>1?R-1:0),U=1;U<R;U++)L[U-1]=arguments[U];return p.produce(O,function(V){var j;return(j=a).call.apply(j,[T,V].concat(L))})}}var u;if(typeof a!="function"&&Je(6),l!==void 0&&typeof l!="function"&&Je(7),lt(i)){var g=Lc(n),h=Fi(n,i,void 0),m=!0;try{u=a(h),m=!1}finally{m?Jo(g):Ui(g)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return ki(g,l),$i(O,g)},function(O){throw Jo(g),O}):(ki(g,l),$i(u,g))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Uc&&(u=void 0),n.D&&Gi(u,!0),l){var S=[],v=[];gt("Patches").M(i,u,S,v),l(S,v)}return u}Je(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var g=arguments.length,h=Array(g>1?g-1:0),m=1;m<g;m++)h[m-1]=arguments[m];return n.produceWithPatches(u,function(S){return i.apply(void 0,[S].concat(h))})};var l,c,p=n.produce(i,a,function(u,g){l=u,c=g});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,l,c]}):[p,l,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){lt(o)||Je(8),Lt(o)&&(o=pp(o));var n=Lc(this),i=Fi(this,o,void 0);return i[ie].C=!0,Ui(n),i},e.finishDraft=function(o,n){var i=o&&o[ie],a=i.A;return ki(a,n),$i(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!kc&&Je(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var l=gt("Patches").$;return Lt(o)?l(o,n):this.produce(o,function(c){return l(c,n)})},t}(),He=new yp,gp=He.produce,K0=He.produceWithPatches.bind(He),Z0=He.setAutoFreeze.bind(He),q0=He.setUseProxies.bind(He),Y0=He.applyPatches.bind(He),X0=He.createDraft.bind(He),Q0=He.finishDraft.bind(He),rn=gp;function dr(t){"@babel/helpers - typeof";return dr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dr(t)}function zc(t,e){if(dr(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(dr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Hc(t){var e=zc(t,"string");return dr(e)=="symbol"?e:e+""}function Wc(t,e,o){return(e=Hc(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Vc(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function Zi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Vc(Object(o),!0).forEach(function(n){Wc(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Vc(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Gc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),qi=function(){return Math.random().toString(36).substring(7).split("").join(".")},on={INIT:"@@redux/INIT"+qi(),REPLACE:"@@redux/REPLACE"+qi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qi()}};function mp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Yi(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Le(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Le(1));return o(Yi)(t,e)}if(typeof t!="function")throw new Error(Le(2));var i=t,a=e,l=[],c=l,p=!1;function u(){c===l&&(c=l.slice())}function g(){if(p)throw new Error(Le(3));return a}function h(O){if(typeof O!="function")throw new Error(Le(4));if(p)throw new Error(Le(5));var T=!0;return u(),c.push(O),function(){if(T){if(p)throw new Error(Le(6));T=!1,u();var L=c.indexOf(O);c.splice(L,1),l=null}}}function m(O){if(!mp(O))throw new Error(Le(7));if(typeof O.type>"u")throw new Error(Le(8));if(p)throw new Error(Le(9));try{p=!0,a=i(a,O)}finally{p=!1}for(var T=l=c,R=0;R<T.length;R++){var L=T[R];L()}return O}function S(O){if(typeof O!="function")throw new Error(Le(10));i=O,m({type:on.REPLACE})}function v(){var O,T=h;return O={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Le(11));function U(){L.next&&L.next(g())}U();var V=T(U);return{unsubscribe:V}}},O[Gc]=function(){return this},O}return m({type:on.INIT}),n={dispatch:m,subscribe:h,getState:g,replaceReducer:S},n[Gc]=v,n}function bp(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:on.INIT});if(typeof n>"u")throw new Error(Le(12));if(typeof o(void 0,{type:on.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Le(13))})}function jc(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),l,c;try{bp(o)}catch(p){c=p}return function(u,g){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var m=!1,S={},v=0;v<a.length;v++){var O=a[v],T=o[O],R=u[O],L=T(R,g);if(typeof L>"u"){var U=g&&g.type;throw new Error(Le(14))}S[O]=L,m=m||L!==R}return m=m||a.length!==Object.keys(u).length,m?S:u}}function zr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Kc(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Le(15))},l={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(l)});return a=zr.apply(void 0,c)(i.dispatch),Zi(Zi({},i),{},{dispatch:a})}}}function Zc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(l){return function(c){return typeof c=="function"?c(i,a,t):l(c)}}};return e}var qc=Zc();qc.withExtraArgument=Zc;var Xi=qc;var ed=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),xp=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(u){return function(g){return p([u,g])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(g){u=[6,g],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Hr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},vp=Object.defineProperty,Sp=Object.defineProperties,Cp=Object.getOwnPropertyDescriptors,Yc=Object.getOwnPropertySymbols,Op=Object.prototype.hasOwnProperty,Ep=Object.prototype.propertyIsEnumerable,Xc=function(t,e,o){return e in t?vp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Gt=function(t,e){for(var o in e||(e={}))Op.call(e,o)&&Xc(t,o,e[o]);if(Yc)for(var n=0,i=Yc(e);n<i.length;n++){var o=i[n];Ep.call(e,o)&&Xc(t,o,e[o])}return t},Qi=function(t,e){return Sp(t,Cp(e))},wp=function(t,e,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(u){i(u)}},l=function(p){try{c(o.throw(p))}catch(u){i(u)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,l)};c((o=o.apply(t,e)).next())})};var Ap=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?zr:zr.apply(null,arguments)},gC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Rp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Tp=function(t){ed(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Hr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],o.concat(this))))},e}(Array),Lp=function(t){ed(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Hr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],o.concat(this))))},e}(Array);function ta(t){return lt(t)?rn(t,function(){}):t}function Ip(t){return typeof t=="boolean"}function Np(){return function(e){return Pp(e)}}function Pp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,l=a===void 0?!0:a,c=new Tp;if(o&&(Ip(o)?c.push(Xi):c.push(Xi.withExtraArgument(o.extraArgument))),0){if(i)var p;if(l)var u}return c}var Ji=!0;function td(t){var e=Np(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,l=a===void 0?e():a,c=o.devTools,p=c===void 0?!0:c,u=o.preloadedState,g=u===void 0?void 0:u,h=o.enhancers,m=h===void 0?void 0:h,S;if(typeof i=="function")S=i;else if(Rp(i))S=jc(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=l;if(typeof v=="function"&&(v=v(e),!Ji&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ji&&v.some(function(V){return typeof V!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Kc.apply(void 0,v),T=zr;p&&(T=Ap(Gt({trace:!Ji},typeof p=="object"&&p)));var R=new Lp(O),L=R;Array.isArray(m)?L=Hr([O],m):typeof m=="function"&&(L=m(R));var U=T.apply(void 0,L);return Yi(S,g,U)}function jt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Gt(Gt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function rd(t){var e={},o=[],n,i={addCase:function(a,l){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=l,i},addMatcher:function(a,l){return o.push({matcher:a,reducer:l}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function _p(t){return typeof t=="function"}function kp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?rd(e):[e,o,n],a=i[0],l=i[1],c=i[2],p;if(_p(t))p=function(){return ta(t())};else{var u=ta(t);p=function(){return u}}function g(h,m){h===void 0&&(h=p());var S=Hr([a[m.type]],l.filter(function(v){var O=v.matcher;return O(m)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[c]),S.reduce(function(v,O){if(O)if(Lt(v)){var T=v,R=O(T,m);return R===void 0?v:R}else{if(lt(v))return rn(v,function(L){return O(L,m)});var R=O(v,m);if(R===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return v},h)}return g.getInitialState=p,g}function $p(t,e){return t+"/"+e}function od(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:ta(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};i.forEach(function(g){var h=n[g],m=$p(e,g),S,v;"reducer"in h?(S=h.reducer,v=h.prepare):S=h,a[g]=S,l[m]=S,c[g]=v?jt(m,v):jt(m)});function p(){var g=typeof t.extraReducers=="function"?rd(t.extraReducers):[t.extraReducers],h=g[0],m=h===void 0?{}:h,S=g[1],v=S===void 0?[]:S,O=g[2],T=O===void 0?void 0:O,R=Gt(Gt({},m),l);return kp(o,function(L){for(var U in R)L.addCase(U,R[U]);for(var V=0,j=v;V<j.length;V++){var Pe=j[V];L.addMatcher(Pe.matcher,Pe.reducer)}T&&L.addDefaultCase(T)})}var u;return{name:e,reducer:function(g,h){return u||(u=p()),u(g,h)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var Dp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Bp=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Dp[Math.random()*64|0];return e},Mp=["name","message","stack","code"],ea=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Qc=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Up=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Mp;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},vC=function(){function t(e,o,n){var i=jt(e+"/fulfilled",function(g,h,m,S){return{payload:g,meta:Qi(Gt({},S||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=jt(e+"/pending",function(g,h,m){return{payload:void 0,meta:Qi(Gt({},m||{}),{arg:h,requestId:g,requestStatus:"pending"})}}),l=jt(e+"/rejected",function(g,h,m,S,v){return{payload:S,error:(n&&n.serializeError||Up)(g||"Rejected"),meta:Qi(Gt({},v||{}),{arg:m,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function u(g){return function(h,m,S){var v=n?.idGenerator?n.idGenerator(g):Bp(),O=new p,T,R=!1;function L(V){T=V,O.abort()}var U=function(){return wp(this,null,function(){var V,j,Pe,dt,Ie,pt,Ce;return xp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),dt=(V=n?.condition)==null?void 0:V.call(n,g,{getState:m,extra:S}),zp(dt)?[4,dt]:[3,2];case 1:dt=y.sent(),y.label=2;case 2:if(dt===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Ie=new Promise(function(x,k){return O.signal.addEventListener("abort",function(){return k({name:"AbortError",message:T||"Aborted"})})}),h(a(v,g,(j=n?.getPendingMeta)==null?void 0:j.call(n,{requestId:v,arg:g},{getState:m,extra:S}))),[4,Promise.race([Ie,Promise.resolve(o(g,{dispatch:h,getState:m,extra:S,requestId:v,signal:O.signal,abort:L,rejectWithValue:function(x,k){return new ea(x,k)},fulfillWithValue:function(x,k){return new Qc(x,k)}})).then(function(x){if(x instanceof ea)throw x;return x instanceof Qc?i(x.payload,v,g,x.meta):i(x,v,g)})])];case 3:return Pe=y.sent(),[3,5];case 4:return pt=y.sent(),Pe=pt instanceof ea?l(null,v,g,pt.payload,pt.meta):l(pt,v,g),[3,5];case 5:return Ce=n&&!n.dispatchConditionRejection&&l.match(Pe)&&Pe.meta.condition,Ce||h(Pe),[2,Pe]}})})}();return Object.assign(U,{abort:L,requestId:v,arg:g,unwrap:function(){return U.then(Fp)}})}}return Object.assign(u,{pending:a,rejected:l,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Fp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function zp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var nd="listener",id="completed",ad="cancelled",SC="task-"+ad,CC="task-"+id,OC=nd+"-"+ad,EC=nd+"-"+id;var ra="listenerMiddleware";var wC=jt(ra+"/add"),AC=jt(ra+"/removeAll"),RC=jt(ra+"/remove");var Jc,TC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Jc||(Jc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Hp=function(t){return function(e){setTimeout(e,t)}},LC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Hp(10);Mc();var Wp=Ko(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),nn=class extends Wp(Object){};window.ftReduxStores||(window.ftReduxStores={});var sd=class t extends nn{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Qo(a))return a;if(i==null)return;let l=od({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=td({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:l.reducer(p,u)});return window.ftReduxStores[i.name]=new t(l,c,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Zo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,l,c)=>{let p=l,u=a[p];return u?(...g)=>{let h=u(...g.map(i));return this.reduxStore.dispatch(h),h}:g=>{this.setState({[p]:i(g)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var an=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,o,n,i)}static getMomentDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i){let a=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return l;let c=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${l} ${c}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var ld=b(N()),sn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},JC=(0,ld.applyMixinOnce)(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(I)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?c=>an.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return sn([(0,oa.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),sn([(0,oa.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),sn([_i({store:I.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),sn([_i({store:I.name})],e.prototype,"uiLocale",void 0),e});var dn=b(N());var ln=class extends ze{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=I.getState().session;return!!e?.sessionAuthenticated}};var cn=class extends ze{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=I.getState().session;return!!e?.sessionAuthenticated}};var Vp="ft-user-assets",Gp={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(Qe).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let o=e.payload.mapId;t.assetCounts.bookmarkByMap[o]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:o,mapId:n,asset:i}=e.payload;ia(t,o,[...na(t,o),i]),cd(t,o,1,n),dd(t,i)},editAsset:(t,e)=>{let{assetType:o,asset:n}=e.payload;ia(t,o,na(t,o).map(i=>i.id===n.id?n:i)),dd(t,n)},removeAsset:(t,e)=>{let{assetType:o,mapId:n,assetId:i}=e.payload;ia(t,o,na(t,o).filter(a=>a.id!==i)),cd(t,o,-1,n)}},pd={[Qe.SEARCHES]:"savedSearches",[Qe.BOOKMARKS]:"bookmarks",[Qe.BOOKS]:void 0,[Qe.COLLECTIONS]:void 0},na=(t,e)=>{var o;let n=pd[e];return n?(o=t[n])!==null&&o!==void 0?o:[]:[]},ia=(t,e,o)=>{let n=pd[e];n&&(t[n]=o)},cd=(t,e,o,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+o),e===Qe.BOOKMARKS&&n)){let a=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,a+o)}},dd=(t,e)=>{let o=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},We=dn.FtReduxStore.get({name:Vp,reducers:Gp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Qe).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),aa=class{constructor(e=new ln,o=new cn){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Uo,this.savedSearchesService=new Vo,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=I.getState();(0,dn.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),We.actions.clearAssetCount(),We.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),We.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),We.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();We.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();We.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&We.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&We.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(We.getState().assetCounts.bookmarkByMap).length!==0;e===Qe.BOOKMARKS&&o&&We.actions.clearBookmarkCountByMap(),We.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;We.actions.bookmarks(o)}}},jp=new aa;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=jp);(0,ud.customElement)("ft-app-context")(oe);var yd=b(se());var sa=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[n,i]=e.split(".");return{context:n,key:i,custom:!0,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},fd=new sa;var Kp=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Zp=Symbol("i18nAttributes"),qp=Symbol("i18nListAttributes"),gd=Symbol("i18nProperties"),pn=Symbol("i18nContexts"),yo=Symbol("i18nUnsubs"),fn=(0,Wr.applyMixinOnce)(Symbol("withI18n"),function(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?zo:kr}i18n(a){let{context:l,key:c,message:p}=a,{custom:u,args:g,argsProvider:h}=a;if(l&&c){this.hasI18nContext(l)||this.addI18nContext(l,void 0,u);let m=g??(h?h(this):[]);return this.getI18nService(u).resolveMessage(l,c,...m)}return p}async awaitI18n(a){let{context:l,custom:c}=a;return l&&await this.getI18nService(c).prepareContext(l),this.i18n(a)}customI18n(a,l){if(fd.isI18nKey(a)){let[c,p]=a.split(".");return this.i18n({custom:!0,context:c,key:p,...l})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((l,c,p)=>a.has(c)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((l,c,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(l=>l.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var l,c;let p=this,u=(g,h,m)=>m?.context&&m.key&&a(g,h,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...g})}:m;(l=this[Zp])===null||l===void 0||l.forEach((g,h)=>p[h]=u(g,h,p[h])),(c=this[qp])===null||c===void 0||c.forEach((g,h)=>{var m;return p[h]=(m=p[h])===null||m===void 0?void 0:m.map(S=>u(g,h,S))})}updateI18nProperties(a){var l;(l=this[gd])===null||l===void 0||l.forEach((c,p)=>{a(c,p)&&(this[p]=this.i18n(c))})}addI18nMessages(a,l,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,l,c)}addI18nContext(a,l,c){let p=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[pn].set(p,{isCustomContext:c}),this[yo].has(p)||this[yo].set(p,this.getI18nService(c).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(c).prepareContext(p,l)}hasI18nContext(a){return this[pn].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[pn].forEach((a,l)=>this.addI18nContext(l,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[yo].forEach(a=>a()),this[yo].clear()}}return e=pn,o=yo,Kp([(0,yd.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),hd=class extends fn(Wr.FtLitElement){},un=class extends fn(Wr.FtLitElementRedux){};var go=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ct=class extends un{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":hn.nothing:hn.html`
2125
+ `}connectedCallback(){super.connectedCallback(),I.addEventListener(nr.eventName,this.reloadConfiguration)}disconnectedCallback(){I.addEventListener(nr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var o,n,i,a,l,c,p;super.update(e),e.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&I.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&I.actions.noCustom(this.noCustom),e.has("editorMode")&&I.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&I.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>kr.addContext(u)),e.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(I.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),I.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),I.actions.searchInAllLanguagesAllowed((l=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),e.has("authenticationRequired")&&I.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&I.actions.availableContentLocales((p=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&p!==void 0?p:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>yc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};oe.elementDefinitions={};oe.styles=Tl;ve([(0,we.property)()],oe.prototype,"baseUrl",void 0);ve([(0,we.property)()],oe.prototype,"apiIntegrationIdentifier",void 0);ve([(0,we.property)()],oe.prototype,"apiIntegrationAppVersion",void 0);ve([(0,we.property)()],oe.prototype,"uiLocale",void 0);ve([(0,st.jsonProperty)(null)],oe.prototype,"availableUiLocales",void 0);ve([(0,st.jsonProperty)(null)],oe.prototype,"metadataConfiguration",void 0);ve([(0,we.property)({type:Boolean})],oe.prototype,"editorMode",void 0);ve([(0,we.property)({type:Boolean})],oe.prototype,"noCustom",void 0);ve([(0,we.property)({type:Boolean})],oe.prototype,"openExternalDocumentInNewTab",void 0);ve([(0,we.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],oe.prototype,"noCustomComponent",void 0);ve([(0,we.property)({type:Boolean})],oe.prototype,"withManualResources",void 0);ve([(0,we.property)({type:Boolean})],oe.prototype,"navigatorOnline",void 0);ve([(0,we.property)({type:Boolean})],oe.prototype,"forcedOffline",void 0);ve([(0,we.property)({type:Object})],oe.prototype,"apiProvider",void 0);ve([(0,we.property)({type:Boolean})],oe.prototype,"authenticationRequired",void 0);ve([(0,st.jsonProperty)([])],oe.prototype,"messageContexts",void 0);ve([(0,st.jsonProperty)(void 0)],oe.prototype,"session",void 0);ve([(0,we.state)()],oe.prototype,"localesConfiguration",void 0);ve([(0,we.state)()],oe.prototype,"availableContentLocales",void 0);var oa=b(se());function np(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!jo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!jo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=l=>Object.keys(l).filter(c=>l[c]!=null);if(i=a(t),o=i.length,o!==a(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){let l=i[n];if(!jo(t[l],e[l]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function jo(t,e){try{return np(t,e)}catch{return!1}}function co(t,e){return!jo(t,e)}function Ko(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}var mc=b(se(),1);var _i=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:co,attribute:!1,...e};(0,mc.property)(a)(o,n);let l=o.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}};var Zo=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};var sr=b(se(),1);var bc=b(se(),1);function xc(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,bc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:co,...e??{}})}var qo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Sc=b(Z(),1);var Yo=globalThis,ip=Yo.ShadowRoot&&(Yo.ShadyCSS===void 0||Yo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,PS=Symbol();var vc=(t,e)=>{if(ip)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Yo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}};var Xo=class extends Sc.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return vc(n,e.elementStyles),n}};function Cc(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}var Br=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ac,Oc=Symbol("constructorPrototype"),Ec=Symbol("constructorName"),Rc=Symbol("exportpartsDebouncer"),wc=Symbol("dynamicDependenciesLoaded"),Dr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Dr.eventName="exportparts-updated";var yt=class extends Xo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ac]=new qo(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Rc].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Ec]=this.constructor.name,this[Oc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ec]&&Object.setPrototypeOf(this,this[Oc])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[wc]||(o[wc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Dr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Dr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Dr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=Cc(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}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)}}setExportpartsAttribute(e){var o,n,i,a,l,c;let p=m=>m!=null&&m.trim().length>0,u=e.filter(p).map(m=>m.trim());if(u.length===0){this.exportparts=void 0;return}let g=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],O=[...S,...v].filter(p).map(T=>T.trim());for(let T of O)g.add(T)}if(g.size===0){this.exportparts=void 0;return}let h=[...g.values()].flatMap(m=>u.map(S=>`${m}:${S}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};Ac=Rc;Br([(0,sr.property)()],yt.prototype,"exportpartsPrefix",void 0);Br([xc([])],yt.prototype,"exportpartsPrefixes",void 0);Br([(0,sr.property)({reflect:!0})],yt.prototype,"exportparts",void 0);Br([(0,sr.property)()],yt.prototype,"customStylesheet",void 0);Br([(0,sr.property)()],yt.prototype,"elementToFocus",void 0);Br([(0,sr.state)()],yt.prototype,"useAdoptedStyleSheets",void 0);function Qo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var po=Symbol("internalReduxEventsUnsubscribers"),Ht=Symbol("internalStoresUnsubscribers"),lr=Symbol("internalStores"),ap=Ko(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(l){super.willUpdate(l),[...this.reduxConstructor.reduxReactiveProperties].some(c=>l.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[lr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[lr].values()][0]}getStore(l){return l==null?this.getUnnamedStore():this[lr].get(l)}addStore(l,c){var p;c=(p=c??l.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(c),this[lr].set(c,l),this.subscribeToStore(c,l),this.updateFromStores()}removeStore(l){let c=typeof l=="string"?l:l.name;this.unsubscribeFromStore(c),this[lr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[lr].forEach((l,c)=>this.subscribeToStore(c,l)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((l,c)=>{let p=this.constructor.getPropertyOptions(c);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:c)){let u=this.getStore(l.store);u&&(l.store?this[Ht].has(l.store):this[Ht].size>0)&&(this[c]=l.selector(u.getState(),this))}})}subscribeToStore(l,c){var p;this[Ht].set(l,c.subscribe(()=>this.updateFromStores())),this[po].set(l,[]),Qo(c)&&c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((u,g)=>{if(typeof this[g]=="function"&&(!u.store||c.name===u.store)){let h=m=>this[g](m);c.addEventListener(u.eventName,h),this[po].get(l).push(()=>c.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(l)}unsubscribeFromStores(){this[Ht].forEach((l,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(l){var c;this[Ht].has(l)&&this[Ht].get(l)(),this[Ht].delete(l),(c=this[po].get(l))===null||c===void 0||c.forEach(p=>p()),this[po].delete(l)}onStoreAvailable(l){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Ht,o=lr,n=po,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Tc=class extends ap(yt){};function et(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Lt(t){return!!t&&!!t[ie]}function lt(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===hp}(t)||Array.isArray(t)||!!t[$c]||!!(!((e=t.constructor)===null||e===void 0)&&e[$c])||Hi(t)||Wi(t))}function cr(t,e,o){o===void 0&&(o=!1),Fr(t)===0?(o?Object.keys:Ur)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Fr(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Hi(t)?2:Wi(t)?3:0}function Mr(t,e){return Fr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function sp(t,e){return Fr(t)===2?t.get(e):t[e]}function Dc(t,e,o){var n=Fr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Bc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Hi(t){return up&&t instanceof Map}function Wi(t){return fp&&t instanceof Set}function Wt(t){return t.o||t.t}function Vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Fc(t);delete e[ie];for(var o=Ur(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Gi(t,e){return e===void 0&&(e=!1),ji(t)||Lt(t)||!lt(t)||(Fr(t)>1&&(t.set=t.add=t.clear=t.delete=lp),Object.freeze(t),e&&cr(t,function(o,n){return Gi(n,!0)},!0)),t}function lp(){et(2)}function ji(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function gt(t){var e=zi[t];return e||et(18,t),e}function cp(t,e){zi[t]||(zi[t]=e)}function Mi(){return fo}function ki(t,e){e&&(gt("Patches"),t.u=[],t.s=[],t.v=e)}function Jo(t){Ui(t),t.p.forEach(dp),t.p=null}function Ui(t){t===fo&&(fo=t.l)}function Lc(t){return fo={p:[],l:fo,h:t,m:!0,_:0}}function dp(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function $i(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||gt("ES5").S(e,t,n),n?(o[ie].P&&(Jo(e),et(4)),lt(t)&&(t=en(e,t),e.l||tn(e,t)),e.u&&gt("Patches").M(o[ie].t,t,e.u,e.s)):t=en(e,o,[]),Jo(e),e.u&&e.v(e.u,e.s),t!==Uc?t:void 0}function en(t,e,o){if(ji(e))return e;var n=e[ie];if(!n)return cr(e,function(c,p){return Ic(t,n,e,c,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return tn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Vi(n.k):n.o,a=i,l=!1;n.i===3&&(a=new Set(i),i.clear(),l=!0),cr(a,function(c,p){return Ic(t,n,i,c,p,o,l)}),tn(t,i,!1),o&&t.u&&gt("Patches").N(n,o,t.u,t.s)}return n.o}function Ic(t,e,o,n,i,a,l){if(Lt(i)){var c=en(t,i,a&&e&&e.i!==3&&!Mr(e.R,n)?a.concat(n):void 0);if(Dc(o,n,c),!Lt(c))return;t.m=!1}else l&&o.add(i);if(lt(i)&&!ji(i)){if(!t.h.D&&t._<1)return;en(t,i),e&&e.A.l||tn(t,i)}}function tn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Gi(e,o)}function Di(t,e){var o=t[ie];return(o?Wt(o):t)[e]}function Nc(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Vt(t){t.P||(t.P=!0,t.l&&Vt(t.l))}function Bi(t){t.o||(t.o=Vi(t.t))}function Fi(t,e,o){var n=Hi(e)?gt("MapSet").F(e,o):Wi(e)?gt("MapSet").T(e,o):t.O?function(i,a){var l=Array.isArray(i),c={i:l?1:0,A:a?a.A:Mi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,u=ho;l&&(p=[c],u=uo);var g=Proxy.revocable(p,u),h=g.revoke,m=g.proxy;return c.k=m,c.j=h,m}(e,o):gt("ES5").J(e,o);return(o?o.A:Mi()).p.push(n),n}function pp(t){return Lt(t)||et(22,t),function e(o){if(!lt(o))return o;var n,i=o[ie],a=Fr(o);if(i){if(!i.P&&(i.i<4||!gt("ES5").K(i)))return i.t;i.I=!0,n=Pc(o,a),i.I=!1}else n=Pc(o,a);return cr(n,function(l,c){i&&sp(i.t,l)===c||Dc(n,l,e(c))}),a===3?new Set(n):n}(t)}function Pc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vi(t)}function Mc(){function t(l,c){var p=a[l];return p?p.enumerable=c:a[l]=p={configurable:!0,enumerable:c,get:function(){var u=this[ie];return ho.get(u,l)},set:function(u){var g=this[ie];ho.set(g,l,u)}},p}function e(l){for(var c=l.length-1;c>=0;c--){var p=l[c][ie];if(!p.P)switch(p.i){case 5:n(p)&&Vt(p);break;case 4:o(p)&&Vt(p)}}}function o(l){for(var c=l.t,p=l.k,u=Ur(p),g=u.length-1;g>=0;g--){var h=u[g];if(h!==ie){var m=c[h];if(m===void 0&&!Mr(c,h))return!0;var S=p[h],v=S&&S[ie];if(v?v.t!==m:!Bc(S,m))return!0}}var O=!!c[ie];return u.length!==Ur(c).length+(O?0:1)}function n(l){var c=l.k;if(c.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(l){l.g&&et(3,JSON.stringify(Wt(l)))}var a={};cp("ES5",{J:function(l,c){var p=Array.isArray(l),u=function(h,m){if(h){for(var S=Array(m.length),v=0;v<m.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var O=Fc(m);delete O[ie];for(var T=Ur(O),R=0;R<T.length;R++){var L=T[R];O[L]=t(L,h||!!O[L].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(p,l),g={i:p?5:4,A:c?c.A:Mi(),P:!1,I:!1,R:{},l:c,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ie,{value:g,writable:!0}),u},S:function(l,c,p){p?Lt(c)&&c[ie].A===l&&e(l.p):(l.u&&function u(g){if(g&&typeof g=="object"){var h=g[ie];if(h){var m=h.t,S=h.k,v=h.R,O=h.i;if(O===4)cr(S,function(V){V!==ie&&(m[V]!==void 0||Mr(m,V)?v[V]||u(S[V]):(v[V]=!0,Vt(h)))}),cr(m,function(V){S[V]!==void 0||Mr(S,V)||(v[V]=!1,Vt(h))});else if(O===5){if(n(h)&&(Vt(h),v.length=!0),S.length<m.length)for(var T=S.length;T<m.length;T++)v[T]=!1;else for(var R=m.length;R<S.length;R++)v[R]=!0;for(var L=Math.min(S.length,m.length),U=0;U<L;U++)S.hasOwnProperty(U)||(v[U]=!0),v[U]===void 0&&u(S[U])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var _c,fo,Ki=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",up=typeof Map<"u",fp=typeof Set<"u",kc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Uc=Ki?Symbol.for("immer-nothing"):((_c={})["immer-nothing"]=!0,_c),$c=Ki?Symbol.for("immer-draftable"):"__$immer_draftable",ie=Ki?Symbol.for("immer-state"):"__$immer_state";var hp=""+Object.prototype.constructor,Ur=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fc=Object.getOwnPropertyDescriptors||function(t){var e={};return Ur(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},zi={},ho={get:function(t,e){if(e===ie)return t;var o=Wt(t);if(!Mr(o,e))return function(i,a,l){var c,p=Nc(a,l);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!lt(n)?n:n===Di(t.t,e)?(Bi(t),t.o[e]=Fi(t.A.h,n,t)):n},has:function(t,e){return e in Wt(t)},ownKeys:function(t){return Reflect.ownKeys(Wt(t))},set:function(t,e,o){var n=Nc(Wt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Di(Wt(t),e),a=i?.[ie];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Bc(o,i)&&(o!==void 0||Mr(t.t,e)))return!0;Bi(t),Vt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Di(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Bi(t),Vt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Wt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){et(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){et(12)}},uo={};cr(ho,function(t,e){uo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),uo.deleteProperty=function(t,e){return uo.set.call(this,t,e,void 0)},uo.set=function(t,e,o){return ho.set.call(this,t[0],e,o,t[0])};var yp=function(){function t(o){var n=this;this.O=kc,this.D=!0,this.produce=function(i,a,l){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(O){var T=this;O===void 0&&(O=c);for(var R=arguments.length,L=Array(R>1?R-1:0),U=1;U<R;U++)L[U-1]=arguments[U];return p.produce(O,function(V){var j;return(j=a).call.apply(j,[T,V].concat(L))})}}var u;if(typeof a!="function"&&et(6),l!==void 0&&typeof l!="function"&&et(7),lt(i)){var g=Lc(n),h=Fi(n,i,void 0),m=!0;try{u=a(h),m=!1}finally{m?Jo(g):Ui(g)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return ki(g,l),$i(O,g)},function(O){throw Jo(g),O}):(ki(g,l),$i(u,g))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Uc&&(u=void 0),n.D&&Gi(u,!0),l){var S=[],v=[];gt("Patches").M(i,u,S,v),l(S,v)}return u}et(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var g=arguments.length,h=Array(g>1?g-1:0),m=1;m<g;m++)h[m-1]=arguments[m];return n.produceWithPatches(u,function(S){return i.apply(void 0,[S].concat(h))})};var l,c,p=n.produce(i,a,function(u,g){l=u,c=g});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,l,c]}):[p,l,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){lt(o)||et(8),Lt(o)&&(o=pp(o));var n=Lc(this),i=Fi(this,o,void 0);return i[ie].C=!0,Ui(n),i},e.finishDraft=function(o,n){var i=o&&o[ie],a=i.A;return ki(a,n),$i(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!kc&&et(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var l=gt("Patches").$;return Lt(o)?l(o,n):this.produce(o,function(c){return l(c,n)})},t}(),He=new yp,gp=He.produce,KS=He.produceWithPatches.bind(He),ZS=He.setAutoFreeze.bind(He),qS=He.setUseProxies.bind(He),YS=He.applyPatches.bind(He),XS=He.createDraft.bind(He),QS=He.finishDraft.bind(He),rn=gp;function dr(t){"@babel/helpers - typeof";return dr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dr(t)}function zc(t,e){if(dr(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(dr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Hc(t){var e=zc(t,"string");return dr(e)=="symbol"?e:e+""}function Wc(t,e,o){return(e=Hc(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Vc(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function Zi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Vc(Object(o),!0).forEach(function(n){Wc(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Vc(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Le(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Gc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),qi=function(){return Math.random().toString(36).substring(7).split("").join(".")},on={INIT:"@@redux/INIT"+qi(),REPLACE:"@@redux/REPLACE"+qi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qi()}};function mp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Yi(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Le(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Le(1));return o(Yi)(t,e)}if(typeof t!="function")throw new Error(Le(2));var i=t,a=e,l=[],c=l,p=!1;function u(){c===l&&(c=l.slice())}function g(){if(p)throw new Error(Le(3));return a}function h(O){if(typeof O!="function")throw new Error(Le(4));if(p)throw new Error(Le(5));var T=!0;return u(),c.push(O),function(){if(T){if(p)throw new Error(Le(6));T=!1,u();var L=c.indexOf(O);c.splice(L,1),l=null}}}function m(O){if(!mp(O))throw new Error(Le(7));if(typeof O.type>"u")throw new Error(Le(8));if(p)throw new Error(Le(9));try{p=!0,a=i(a,O)}finally{p=!1}for(var T=l=c,R=0;R<T.length;R++){var L=T[R];L()}return O}function S(O){if(typeof O!="function")throw new Error(Le(10));i=O,m({type:on.REPLACE})}function v(){var O,T=h;return O={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Le(11));function U(){L.next&&L.next(g())}U();var V=T(U);return{unsubscribe:V}}},O[Gc]=function(){return this},O}return m({type:on.INIT}),n={dispatch:m,subscribe:h,getState:g,replaceReducer:S},n[Gc]=v,n}function bp(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:on.INIT});if(typeof n>"u")throw new Error(Le(12));if(typeof o(void 0,{type:on.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Le(13))})}function jc(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),l,c;try{bp(o)}catch(p){c=p}return function(u,g){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var m=!1,S={},v=0;v<a.length;v++){var O=a[v],T=o[O],R=u[O],L=T(R,g);if(typeof L>"u"){var U=g&&g.type;throw new Error(Le(14))}S[O]=L,m=m||L!==R}return m=m||a.length!==Object.keys(u).length,m?S:u}}function zr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Kc(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Le(15))},l={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(l)});return a=zr.apply(void 0,c)(i.dispatch),Zi(Zi({},i),{},{dispatch:a})}}}function Zc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(l){return function(c){return typeof c=="function"?c(i,a,t):l(c)}}};return e}var qc=Zc();qc.withExtraArgument=Zc;var Xi=qc;var ed=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),xp=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(u){return function(g){return p([u,g])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(g){u=[6,g],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Hr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},vp=Object.defineProperty,Sp=Object.defineProperties,Cp=Object.getOwnPropertyDescriptors,Yc=Object.getOwnPropertySymbols,Op=Object.prototype.hasOwnProperty,Ep=Object.prototype.propertyIsEnumerable,Xc=function(t,e,o){return e in t?vp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Gt=function(t,e){for(var o in e||(e={}))Op.call(e,o)&&Xc(t,o,e[o]);if(Yc)for(var n=0,i=Yc(e);n<i.length;n++){var o=i[n];Ep.call(e,o)&&Xc(t,o,e[o])}return t},Qi=function(t,e){return Sp(t,Cp(e))},wp=function(t,e,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(u){i(u)}},l=function(p){try{c(o.throw(p))}catch(u){i(u)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,l)};c((o=o.apply(t,e)).next())})};var Ap=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?zr:zr.apply(null,arguments)},gC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Rp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Tp=function(t){ed(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Hr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],o.concat(this))))},e}(Array),Lp=function(t){ed(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Hr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],o.concat(this))))},e}(Array);function ta(t){return lt(t)?rn(t,function(){}):t}function Ip(t){return typeof t=="boolean"}function Np(){return function(e){return Pp(e)}}function Pp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,l=a===void 0?!0:a,c=new Tp;if(o&&(Ip(o)?c.push(Xi):c.push(Xi.withExtraArgument(o.extraArgument))),0){if(i)var p;if(l)var u}return c}var Ji=!0;function td(t){var e=Np(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,l=a===void 0?e():a,c=o.devTools,p=c===void 0?!0:c,u=o.preloadedState,g=u===void 0?void 0:u,h=o.enhancers,m=h===void 0?void 0:h,S;if(typeof i=="function")S=i;else if(Rp(i))S=jc(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=l;if(typeof v=="function"&&(v=v(e),!Ji&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ji&&v.some(function(V){return typeof V!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Kc.apply(void 0,v),T=zr;p&&(T=Ap(Gt({trace:!Ji},typeof p=="object"&&p)));var R=new Lp(O),L=R;Array.isArray(m)?L=Hr([O],m):typeof m=="function"&&(L=m(R));var U=T.apply(void 0,L);return Yi(S,g,U)}function jt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Gt(Gt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function rd(t){var e={},o=[],n,i={addCase:function(a,l){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=l,i},addMatcher:function(a,l){return o.push({matcher:a,reducer:l}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function _p(t){return typeof t=="function"}function kp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?rd(e):[e,o,n],a=i[0],l=i[1],c=i[2],p;if(_p(t))p=function(){return ta(t())};else{var u=ta(t);p=function(){return u}}function g(h,m){h===void 0&&(h=p());var S=Hr([a[m.type]],l.filter(function(v){var O=v.matcher;return O(m)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[c]),S.reduce(function(v,O){if(O)if(Lt(v)){var T=v,R=O(T,m);return R===void 0?v:R}else{if(lt(v))return rn(v,function(L){return O(L,m)});var R=O(v,m);if(R===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return v},h)}return g.getInitialState=p,g}function $p(t,e){return t+"/"+e}function od(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:ta(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};i.forEach(function(g){var h=n[g],m=$p(e,g),S,v;"reducer"in h?(S=h.reducer,v=h.prepare):S=h,a[g]=S,l[m]=S,c[g]=v?jt(m,v):jt(m)});function p(){var g=typeof t.extraReducers=="function"?rd(t.extraReducers):[t.extraReducers],h=g[0],m=h===void 0?{}:h,S=g[1],v=S===void 0?[]:S,O=g[2],T=O===void 0?void 0:O,R=Gt(Gt({},m),l);return kp(o,function(L){for(var U in R)L.addCase(U,R[U]);for(var V=0,j=v;V<j.length;V++){var Pe=j[V];L.addMatcher(Pe.matcher,Pe.reducer)}T&&L.addDefaultCase(T)})}var u;return{name:e,reducer:function(g,h){return u||(u=p()),u(g,h)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var Dp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Bp=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Dp[Math.random()*64|0];return e},Mp=["name","message","stack","code"],ea=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Qc=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Up=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Mp;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},vC=function(){function t(e,o,n){var i=jt(e+"/fulfilled",function(g,h,m,S){return{payload:g,meta:Qi(Gt({},S||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=jt(e+"/pending",function(g,h,m){return{payload:void 0,meta:Qi(Gt({},m||{}),{arg:h,requestId:g,requestStatus:"pending"})}}),l=jt(e+"/rejected",function(g,h,m,S,v){return{payload:S,error:(n&&n.serializeError||Up)(g||"Rejected"),meta:Qi(Gt({},v||{}),{arg:m,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function u(g){return function(h,m,S){var v=n?.idGenerator?n.idGenerator(g):Bp(),O=new p,T,R=!1;function L(V){T=V,O.abort()}var U=function(){return wp(this,null,function(){var V,j,Pe,dt,Ie,pt,Ce;return xp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),dt=(V=n?.condition)==null?void 0:V.call(n,g,{getState:m,extra:S}),zp(dt)?[4,dt]:[3,2];case 1:dt=y.sent(),y.label=2;case 2:if(dt===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Ie=new Promise(function(x,k){return O.signal.addEventListener("abort",function(){return k({name:"AbortError",message:T||"Aborted"})})}),h(a(v,g,(j=n?.getPendingMeta)==null?void 0:j.call(n,{requestId:v,arg:g},{getState:m,extra:S}))),[4,Promise.race([Ie,Promise.resolve(o(g,{dispatch:h,getState:m,extra:S,requestId:v,signal:O.signal,abort:L,rejectWithValue:function(x,k){return new ea(x,k)},fulfillWithValue:function(x,k){return new Qc(x,k)}})).then(function(x){if(x instanceof ea)throw x;return x instanceof Qc?i(x.payload,v,g,x.meta):i(x,v,g)})])];case 3:return Pe=y.sent(),[3,5];case 4:return pt=y.sent(),Pe=pt instanceof ea?l(null,v,g,pt.payload,pt.meta):l(pt,v,g),[3,5];case 5:return Ce=n&&!n.dispatchConditionRejection&&l.match(Pe)&&Pe.meta.condition,Ce||h(Pe),[2,Pe]}})})}();return Object.assign(U,{abort:L,requestId:v,arg:g,unwrap:function(){return U.then(Fp)}})}}return Object.assign(u,{pending:a,rejected:l,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Fp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function zp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var nd="listener",id="completed",ad="cancelled",SC="task-"+ad,CC="task-"+id,OC=nd+"-"+ad,EC=nd+"-"+id;var ra="listenerMiddleware";var wC=jt(ra+"/add"),AC=jt(ra+"/removeAll"),RC=jt(ra+"/remove");var Jc,TC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Jc||(Jc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Hp=function(t){return function(e){setTimeout(e,t)}},LC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Hp(10);Mc();var Wp=Ko(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),nn=class extends Wp(Object){};window.ftReduxStores||(window.ftReduxStores={});var sd=class t extends nn{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Qo(a))return a;if(i==null)return;let l=od({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=td({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:l.reducer(p,u)});return window.ftReduxStores[i.name]=new t(l,c,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Zo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,l,c)=>{let p=l,u=a[p];return u?(...g)=>{let h=u(...g.map(i));return this.reduxStore.dispatch(h),h}:g=>{this.setState({[p]:i(g)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var an=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,o,n,i)}static getMomentDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i){let a=typeof e=="string"?new Date(e):e,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return l;let c=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${l} ${c}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var ld=b(N()),sn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},JC=(0,ld.applyMixinOnce)(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(I)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?c=>an.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return sn([(0,oa.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),sn([(0,oa.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),sn([_i({store:I.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),sn([_i({store:I.name})],e.prototype,"uiLocale",void 0),e});var dn=b(N());var ln=class extends ze{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=I.getState().session;return!!e?.sessionAuthenticated}};var cn=class extends ze{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=I.getState().session;return!!e?.sessionAuthenticated}};var Vp="ft-user-assets",Gp={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(Je).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let o=e.payload.mapId;t.assetCounts.bookmarkByMap[o]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:o,mapId:n,asset:i}=e.payload;ia(t,o,[...na(t,o),i]),cd(t,o,1,n),dd(t,i)},editAsset:(t,e)=>{let{assetType:o,asset:n}=e.payload;ia(t,o,na(t,o).map(i=>i.id===n.id?n:i)),dd(t,n)},removeAsset:(t,e)=>{let{assetType:o,mapId:n,assetId:i}=e.payload;ia(t,o,na(t,o).filter(a=>a.id!==i)),cd(t,o,-1,n)}},pd={[Je.SEARCHES]:"savedSearches",[Je.BOOKMARKS]:"bookmarks",[Je.BOOKS]:void 0,[Je.COLLECTIONS]:void 0},na=(t,e)=>{var o;let n=pd[e];return n?(o=t[n])!==null&&o!==void 0?o:[]:[]},ia=(t,e,o)=>{let n=pd[e];n&&(t[n]=o)},cd=(t,e,o,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+o),e===Je.BOOKMARKS&&n)){let a=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,a+o)}},dd=(t,e)=>{let o=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},We=dn.FtReduxStore.get({name:Vp,reducers:Gp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Je).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),aa=class{constructor(e=new ln,o=new cn){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Uo,this.savedSearchesService=new Vo,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=I.getState();(0,dn.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),We.actions.clearAssetCount(),We.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),We.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),We.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();We.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();We.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&We.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&We.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(We.getState().assetCounts.bookmarkByMap).length!==0;e===Je.BOOKMARKS&&o&&We.actions.clearBookmarkCountByMap(),We.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;We.actions.bookmarks(o)}}},jp=new aa;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=jp);(0,ud.customElement)("ft-app-context")(oe);var yd=b(se());var sa=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[n,i]=e.split(".");return{context:n,key:i,custom:!0,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},fd=new sa;var Kp=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Zp=Symbol("i18nAttributes"),qp=Symbol("i18nListAttributes"),gd=Symbol("i18nProperties"),pn=Symbol("i18nContexts"),yo=Symbol("i18nUnsubs"),fn=(0,Wr.applyMixinOnce)(Symbol("withI18n"),function(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?zo:kr}i18n(a){let{context:l,key:c,message:p}=a,{custom:u,args:g,argsProvider:h}=a;if(l&&c){this.hasI18nContext(l)||this.addI18nContext(l,void 0,u);let m=g??(h?h(this):[]);return this.getI18nService(u).resolveMessage(l,c,...m)}return p}async awaitI18n(a){let{context:l,custom:c}=a;return l&&await this.getI18nService(c).prepareContext(l),this.i18n(a)}customI18n(a,l){if(fd.isI18nKey(a)){let[c,p]=a.split(".");return this.i18n({custom:!0,context:c,key:p,...l})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((l,c,p)=>a.has(c)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((l,c,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(l=>l.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var l,c;let p=this,u=(g,h,m)=>m?.context&&m.key&&a(g,h,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...g})}:m;(l=this[Zp])===null||l===void 0||l.forEach((g,h)=>p[h]=u(g,h,p[h])),(c=this[qp])===null||c===void 0||c.forEach((g,h)=>{var m;return p[h]=(m=p[h])===null||m===void 0?void 0:m.map(S=>u(g,h,S))})}updateI18nProperties(a){var l;(l=this[gd])===null||l===void 0||l.forEach((c,p)=>{a(c,p)&&(this[p]=this.i18n(c))})}addI18nMessages(a,l,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,l,c)}addI18nContext(a,l,c){let p=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[pn].set(p,{isCustomContext:c}),this[yo].has(p)||this[yo].set(p,this.getI18nService(c).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(c).prepareContext(p,l)}hasI18nContext(a){return this[pn].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[pn].forEach((a,l)=>this.addI18nContext(l,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[yo].forEach(a=>a()),this[yo].clear()}}return e=pn,o=yo,Kp([(0,yd.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),hd=class extends fn(Wr.FtLitElement){},un=class extends fn(Wr.FtLitElementRedux){};var go=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(a=(i<3?l(a):i>3?l(e,o,a):l(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ct=class extends un{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":hn.nothing:hn.html`
2125
2126
  <span class="ft-i18n">
2126
2127
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
2127
2128
  </span>
@@ -2151,9 +2152,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2151
2152
  aria-expanded="${this.isOpen}"
2152
2153
  aria-controls="combobox-listbox"
2153
2154
  aria-activedescendant="${this.getActiveDescendantId()}"
2154
- aria-label="${et(this.label)}"
2155
- name="${et(this.name)}"
2156
- maxlength="${et(this.maxLength)}"
2155
+ aria-label="${Ve(this.label)}"
2156
+ name="${Ve(this.name)}"
2157
+ maxlength="${Ve(this.maxLength)}"
2157
2158
  ?disabled=${this.disabled}
2158
2159
  .value=${this.value}
2159
2160
  @input=${this.onComboboxInput}
@@ -2172,7 +2173,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2172
2173
  id="combobox-listbox"
2173
2174
  class="${(0,bn.classMap)(o)}"
2174
2175
  role="listbox"
2175
- aria-multiselectable="${et(this.multiValued)}"
2176
+ aria-multiselectable="${Ve(this.multiValued)}"
2176
2177
  aria-label="${this.label||"Options"}"
2177
2178
  data-visible="${this.isOpen}"
2178
2179
  >