@fluid-topics/ft-search-selected-facets 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  "use strict";(()=>{var B4=Object.create;var Ii=Object.defineProperty;var U4=Object.getOwnPropertyDescriptor;var F4=Object.getOwnPropertyNames;var H4=Object.getPrototypeOf,G4=Object.prototype.hasOwnProperty;var Vr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Di=(e,t)=>{for(var r in t)Ii(e,r,{get:t[r],enumerable:!0})},W4=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of F4(t))!G4.call(e,a)&&a!==r&&Ii(e,a,{get:()=>t[a],enumerable:!(n=U4(t,a))||n.enumerable});return e};var y=(e,t,r)=>(r=e!=null?B4(H4(e)):{},W4(t||!e||!e.__esModule?Ii(r,"default",{value:e,enumerable:!0}):r,e));var w=Vr((y5,sl)=>{sl.exports=ftGlobals.wcUtils});var $=Vr((b5,cl)=>{cl.exports=ftGlobals.lit});var q=Vr((v5,ll)=>{ll.exports=ftGlobals.litDecorators});var $i=Vr((x5,dl)=>{dl.exports=ftGlobals.litRepeat});var gl=Vr((hr,ml)=>{var na=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,aa=function(){function e(){this.fetch=!1,this.DOMException=na.DOMException}return e.prototype=na,new e}();(function(e){var t=function(r){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={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 i(x){return x&&DataView.prototype.isPrototypeOf(x)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(x){return x&&s.indexOf(Object.prototype.toString.call(x))>-1};function f(x){if(typeof x!="string"&&(x=String(x)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(x)||x==="")throw new TypeError('Invalid character in header field name: "'+x+'"');return x.toLowerCase()}function u(x){return typeof x!="string"&&(x=String(x)),x}function m(x){var L={next:function(){var F=x.shift();return{done:F===void 0,value:F}}};return a.iterable&&(L[Symbol.iterator]=function(){return L}),L}function g(x){this.map={},x instanceof g?x.forEach(function(L,F){this.append(F,L)},this):Array.isArray(x)?x.forEach(function(L){if(L.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+L.length);this.append(L[0],L[1])},this):x&&Object.getOwnPropertyNames(x).forEach(function(L){this.append(L,x[L])},this)}g.prototype.append=function(x,L){x=f(x),L=u(L);var F=this.map[x];this.map[x]=F?F+", "+L:L},g.prototype.delete=function(x){delete this.map[f(x)]},g.prototype.get=function(x){return x=f(x),this.has(x)?this.map[x]:null},g.prototype.has=function(x){return this.map.hasOwnProperty(f(x))},g.prototype.set=function(x,L){this.map[f(x)]=u(L)},g.prototype.forEach=function(x,L){for(var F in this.map)this.map.hasOwnProperty(F)&&x.call(L,this.map[F],F,this)},g.prototype.keys=function(){var x=[];return this.forEach(function(L,F){x.push(F)}),m(x)},g.prototype.values=function(){var x=[];return this.forEach(function(L){x.push(L)}),m(x)},g.prototype.entries=function(){var x=[];return this.forEach(function(L,F){x.push([F,L])}),m(x)},a.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function b(x){if(!x._noBody){if(x.bodyUsed)return Promise.reject(new TypeError("Already read"));x.bodyUsed=!0}}function S(x){return new Promise(function(L,F){x.onload=function(){L(x.result)},x.onerror=function(){F(x.error)}})}function C(x){var L=new FileReader,F=S(L);return L.readAsArrayBuffer(x),F}function E(x){var L=new FileReader,F=S(L),J=/charset=([A-Za-z0-9_-]+)/.exec(x.type),pe=J?J[1]:"utf-8";return L.readAsText(x,pe),F}function T(x){for(var L=new Uint8Array(x),F=new Array(L.length),J=0;J<L.length;J++)F[J]=String.fromCharCode(L[J]);return F.join("")}function M(x){if(x.slice)return x.slice(0);var L=new Uint8Array(x.byteLength);return L.set(new Uint8Array(x)),L.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(x){this.bodyUsed=this.bodyUsed,this._bodyInit=x,x?typeof x=="string"?this._bodyText=x:a.blob&&Blob.prototype.isPrototypeOf(x)?this._bodyBlob=x:a.formData&&FormData.prototype.isPrototypeOf(x)?this._bodyFormData=x:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)?this._bodyText=x.toString():a.arrayBuffer&&a.blob&&i(x)?(this._bodyArrayBuffer=M(x.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(x)||c(x))?this._bodyArrayBuffer=M(x):this._bodyText=x=Object.prototype.toString.call(x):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof x=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var x=b(this);if(x)return x;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 x=b(this);return x||(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(a.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var x=b(this);if(x)return x;if(this._bodyBlob)return E(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)},a.formData&&(this.formData=function(){return this.text().then(de)}),this.json=function(){return this.text().then(JSON.parse)},this}var D=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(x){var L=x.toUpperCase();return D.indexOf(L)>-1?L:x}function j(x,L){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');L=L||{};var F=L.body;if(x instanceof j){if(x.bodyUsed)throw new TypeError("Already read");this.url=x.url,this.credentials=x.credentials,L.headers||(this.headers=new g(x.headers)),this.method=x.method,this.mode=x.mode,this.signal=x.signal,!F&&x._bodyInit!=null&&(F=x._bodyInit,x.bodyUsed=!0)}else this.url=String(x);if(this.credentials=L.credentials||this.credentials||"same-origin",(L.headers||!this.headers)&&(this.headers=new g(L.headers)),this.method=U(L.method||this.method||"GET"),this.mode=L.mode||this.mode||null,this.signal=L.signal||this.signal||function(){if("AbortController"in n){var K=new AbortController;return K.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(L.cache==="no-store"||L.cache==="no-cache")){var J=/([?&])_=[^&]*/;if(J.test(this.url))this.url=this.url.replace(J,"$1_="+new Date().getTime());else{var pe=/\?/;this.url+=(pe.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function de(x){var L=new FormData;return x.trim().split("&").forEach(function(F){if(F){var J=F.split("="),pe=J.shift().replace(/\+/g," "),K=J.join("=").replace(/\+/g," ");L.append(decodeURIComponent(pe),decodeURIComponent(K))}}),L}function Je(x){var L=new g,F=x.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(J){return J.indexOf(`
2
- `)===0?J.substr(1,J.length):J}).forEach(function(J){var pe=J.split(":"),K=pe.shift().trim();if(K){var oa=pe.join(":").trim();try{L.append(K,oa)}catch(zi){console.warn("Response "+zi.message)}}}),L}N.call(j.prototype);function De(x,L){if(!(this instanceof De))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(L||(L={}),this.type="default",this.status=L.status===void 0?200:L.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=L.statusText===void 0?"":""+L.statusText,this.headers=new g(L.headers),this.url=L.url||"",this._initBody(x)}N.call(De.prototype),De.prototype.clone=function(){return new De(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},De.error=function(){var x=new De(null,{status:200,statusText:""});return x.ok=!1,x.status=0,x.type="error",x};var Wt=[301,302,303,307,308];De.redirect=function(x,L){if(Wt.indexOf(L)===-1)throw new RangeError("Invalid status code");return new De(null,{status:L,headers:{location:x}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(L,F){this.message=L,this.name=F;var J=Error(L);this.stack=J.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function $e(x,L){return new Promise(function(F,J){var pe=new j(x,L);if(pe.signal&&pe.signal.aborted)return J(new r.DOMException("Aborted","AbortError"));var K=new XMLHttpRequest;function oa(){K.abort()}K.onload=function(){var Be={statusText:K.statusText,headers:Je(K.getAllResponseHeaders()||"")};pe.url.indexOf("file://")===0&&(K.status<200||K.status>599)?Be.status=200:Be.status=K.status,Be.url="responseURL"in K?K.responseURL:Be.headers.get("X-Request-URL");var Wr="response"in K?K.response:K.responseText;setTimeout(function(){F(new De(Wr,Be))},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 r.DOMException("Aborted","AbortError"))},0)};function zi(Be){try{return Be===""&&n.location.href?n.location.href:Be}catch{return Be}}if(K.open(pe.method,zi(pe.url),!0),pe.credentials==="include"?K.withCredentials=!0:pe.credentials==="omit"&&(K.withCredentials=!1),"responseType"in K&&(a.blob?K.responseType="blob":a.arrayBuffer&&(K.responseType="arraybuffer")),L&&typeof L.headers=="object"&&!(L.headers instanceof g||n.Headers&&L.headers instanceof n.Headers)){var il=[];Object.getOwnPropertyNames(L.headers).forEach(function(Be){il.push(f(Be)),K.setRequestHeader(Be,u(L.headers[Be]))}),pe.headers.forEach(function(Be,Wr){il.indexOf(Wr)===-1&&K.setRequestHeader(Wr,Be)})}else pe.headers.forEach(function(Be,Wr){K.setRequestHeader(Wr,Be)});pe.signal&&(pe.signal.addEventListener("abort",oa),K.onreadystatechange=function(){K.readyState===4&&pe.signal.removeEventListener("abort",oa)}),K.send(typeof pe._bodyInit>"u"?null:pe._bodyInit)})}return $e.polyfill=!0,n.fetch||(n.fetch=$e,n.Headers=g,n.Request=j,n.Response=De),r.Headers=g,r.Request=j,r.Response=De,r.fetch=$e,r}({})})(aa);aa.fetch.ponyfill=!0;delete aa.fetch.polyfill;var bo=na.fetch?na:aa;hr=bo.fetch;hr.default=bo.fetch;hr.fetch=bo.fetch;hr.Headers=bo.Headers;hr.Request=bo.Request;hr.Response=bo.Response;ml.exports=hr});var Ct=Vr((pv,nd)=>{nd.exports=ftGlobals.litClassMap});var Is=Vr((nL,d2)=>{d2.exports=ftGlobals.litUnsafeHTML});var $4=y(w());var Me=y($()),Pi=y(q()),Mi=y($i()),ye=y(w());var fl=y($()),ul=y(w()),V4={spacing:ul.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},pl=fl.css`
2
+ `)===0?J.substr(1,J.length):J}).forEach(function(J){var pe=J.split(":"),K=pe.shift().trim();if(K){var oa=pe.join(":").trim();try{L.append(K,oa)}catch(zi){console.warn("Response "+zi.message)}}}),L}N.call(j.prototype);function $e(x,L){if(!(this instanceof $e))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(L||(L={}),this.type="default",this.status=L.status===void 0?200:L.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=L.statusText===void 0?"":""+L.statusText,this.headers=new g(L.headers),this.url=L.url||"",this._initBody(x)}N.call($e.prototype),$e.prototype.clone=function(){return new $e(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},$e.error=function(){var x=new $e(null,{status:200,statusText:""});return x.ok=!1,x.status=0,x.type="error",x};var Wt=[301,302,303,307,308];$e.redirect=function(x,L){if(Wt.indexOf(L)===-1)throw new RangeError("Invalid status code");return new $e(null,{status:L,headers:{location:x}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(L,F){this.message=L,this.name=F;var J=Error(L);this.stack=J.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Be(x,L){return new Promise(function(F,J){var pe=new j(x,L);if(pe.signal&&pe.signal.aborted)return J(new r.DOMException("Aborted","AbortError"));var K=new XMLHttpRequest;function oa(){K.abort()}K.onload=function(){var Ue={statusText:K.statusText,headers:Je(K.getAllResponseHeaders()||"")};pe.url.indexOf("file://")===0&&(K.status<200||K.status>599)?Ue.status=200:Ue.status=K.status,Ue.url="responseURL"in K?K.responseURL:Ue.headers.get("X-Request-URL");var Wr="response"in K?K.response:K.responseText;setTimeout(function(){F(new $e(Wr,Ue))},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 r.DOMException("Aborted","AbortError"))},0)};function zi(Ue){try{return Ue===""&&n.location.href?n.location.href:Ue}catch{return Ue}}if(K.open(pe.method,zi(pe.url),!0),pe.credentials==="include"?K.withCredentials=!0:pe.credentials==="omit"&&(K.withCredentials=!1),"responseType"in K&&(a.blob?K.responseType="blob":a.arrayBuffer&&(K.responseType="arraybuffer")),L&&typeof L.headers=="object"&&!(L.headers instanceof g||n.Headers&&L.headers instanceof n.Headers)){var il=[];Object.getOwnPropertyNames(L.headers).forEach(function(Ue){il.push(f(Ue)),K.setRequestHeader(Ue,u(L.headers[Ue]))}),pe.headers.forEach(function(Ue,Wr){il.indexOf(Wr)===-1&&K.setRequestHeader(Wr,Ue)})}else pe.headers.forEach(function(Ue,Wr){K.setRequestHeader(Wr,Ue)});pe.signal&&(pe.signal.addEventListener("abort",oa),K.onreadystatechange=function(){K.readyState===4&&pe.signal.removeEventListener("abort",oa)}),K.send(typeof pe._bodyInit>"u"?null:pe._bodyInit)})}return Be.polyfill=!0,n.fetch||(n.fetch=Be,n.Headers=g,n.Request=j,n.Response=$e),r.Headers=g,r.Request=j,r.Response=$e,r.fetch=Be,r}({})})(aa);aa.fetch.ponyfill=!0;delete aa.fetch.polyfill;var bo=na.fetch?na:aa;hr=bo.fetch;hr.default=bo.fetch;hr.fetch=bo.fetch;hr.Headers=bo.Headers;hr.Request=bo.Request;hr.Response=bo.Response;ml.exports=hr});var Ct=Vr((pv,nd)=>{nd.exports=ftGlobals.litClassMap});var Is=Vr((nL,d2)=>{d2.exports=ftGlobals.litUnsafeHTML});var $4=y(w());var Pe=y($()),Pi=y(q()),Mi=y($i()),ye=y(w());var fl=y($()),ul=y(w()),V4={spacing:ul.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},pl=fl.css`
3
3
  .ft-search-selected-facets--container {
4
4
  display: flex;
5
5
  flex-wrap: wrap;
@@ -9,10 +9,10 @@
9
9
  .ft-search-selected-facets--container > * {
10
10
  min-width: 0;
11
11
  }
12
- `;var wo=y(w()),xs=y(q());var sn;(function(e){e.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(sn||(sn={}));var hn=y(w());var hl=y(w());var K4=y(gl(),1);var yl;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(yl||(yl={}));var bl;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(bl||(bl={}));var vl;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(vl||(vl={}));var xl;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(xl||(xl={}));var Sl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Sl||(Sl={}));var Cl;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Cl||(Cl={}));var Ol;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Ol||(Ol={}));var Ll;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Ll||(Ll={}));var El;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(El||(El={}));var Al;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Al||(Al={}));var Rl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Rl||(Rl={}));var wl;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(wl||(wl={}));var _l;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(_l||(_l={}));var Tl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Tl||(Tl={}));var ar;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(ar||(ar={}));var Nl;(function(e){e.ASC="ASC",e.DESC="DESC"})(Nl||(Nl={}));var kl;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(kl||(kl={}));var ia;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(ia||(ia={}));var Ml;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Ml||(Ml={}));var Pl;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Pl||(Pl={}));var zl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(zl||(zl={}));var sa;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(sa||(sa={}));var Il;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Il||(Il={}));var ca;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ca||(ca={}));var Dl;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Dl||(Dl={}));var xe;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(xe||(xe={}));var vt;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(vt||(vt={}));var $l;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})($l||($l={}));var Bl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Bl||(Bl={}));var Ul;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(Ul||(Ul={}));var Fl;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Fl||(Fl={}));var Hl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Hl||(Hl={}));var Gl;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(Gl||(Gl={}));var Wl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Wl||(Wl={}));var Vl;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Vl||(Vl={}));var jl;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(jl||(jl={}));var j4={[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.BEHAVIOR_DATA_USER],[xe.GENERATIVE_AI_EXPORT_USER]:[xe.GENERATIVE_AI_USER]};function Kl(e,t){return e===t||(j4[e]??[]).some(r=>Kl(r,t))}function ql(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Kl(n,t))}var ls=y(q());function q4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!la(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!la(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!la(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function la(e,t){try{return q4(e,t)}catch{return!1}}function cn(e,t){return!la(e,t)}function Zl(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function da(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let a=t(n);return a[e]=!0,a}}var Yl=y(q(),1);var Bi=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:cn,attribute:!1,...t};(0,Yl.property)(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:c=>c[n],store:t.store})}};var fa=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};var jr=y(q(),1);var Xl=y(q(),1);function Ql(e,t){let r=()=>JSON.parse(JSON.stringify(e));return(0,Xl.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:cn,...t??{}})}var ua=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var e1=y($(),1);var pa=globalThis,Z4=pa.ShadowRoot&&(pa.ShadyCSS===void 0||pa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,q5=Symbol();var Jl=(e,t)=>{if(Z4)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=pa.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}};var ha=class extends e1.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Jl(n,t.elementStyles),n}};function t1(e,t,...r){var n;let a=e.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var xo=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},a1,r1=Symbol("constructorPrototype"),o1=Symbol("constructorName"),i1=Symbol("exportpartsDebouncer"),n1=Symbol("dynamicDependenciesLoaded"),vo=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};vo.eventName="exportparts-updated";var Vt=class extends ha{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[a1]=new ua(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[i1].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[o1]=this.constructor.name,this[r1]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[o1]&&Object.setPrototypeOf(this,this[r1])}connectedCallback(){var t;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 r=this.constructor;r[n1]||(r[n1]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(vo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(vo.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new vo)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=t1(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,n,a,i,s,c;let f=b=>b!=null&&b.trim().length>0,u=t.filter(f).map(b=>b.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let b of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=b.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],C=(c=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],E=[...S,...C].filter(f).map(T=>T.trim());for(let T of E)m.add(T)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(b=>u.map(S=>`${b}:${S}--${b}`));this.exportparts=[...this.part,...g].join(", ")}};a1=i1;xo([(0,jr.property)()],Vt.prototype,"exportpartsPrefix",void 0);xo([Ql([])],Vt.prototype,"exportpartsPrefixes",void 0);xo([(0,jr.property)({reflect:!0})],Vt.prototype,"exportparts",void 0);xo([(0,jr.property)()],Vt.prototype,"customStylesheet",void 0);xo([(0,jr.property)()],Vt.prototype,"elementToFocus",void 0);xo([(0,jr.state)()],Vt.prototype,"useAdoptedStyleSheets",void 0);function ma(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ln=Symbol("internalReduxEventsUnsubscribers"),mr=Symbol("internalStoresUnsubscribers"),Kr=Symbol("internalStores"),Y4=da(Symbol("withRedux"),function(e){var t,r,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Kr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Kr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Kr].get(s)}addStore(s,c){var f;c=(f=c??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(c),this[Kr].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[Kr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Kr].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let f=this.constructor.getPropertyOptions(c);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:c)){let u=this.getStore(s.store);u&&(s.store?this[mr].has(s.store):this[mr].size>0)&&(this[c]=s.selector(u.getState(),this))}})}subscribeToStore(s,c){var f;this[mr].set(s,c.subscribe(()=>this.updateFromStores())),this[ln].set(s,[]),ma(c)&&c.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||c.name===u.store)){let g=b=>this[m](b);c.addEventListener(u.eventName,g),this[ln].get(s).push(()=>c.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[mr].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[mr].has(s)&&this[mr].get(s)(),this[mr].delete(s),(c=this[ln].get(s))===null||c===void 0||c.forEach(f=>f()),this[ln].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=mr,r=Kr,n=ln,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),s1=class extends Y4(Vt){};function xt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ir(e){return!!e&&!!e[fe]}function Mt(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===np}(e)||Array.isArray(e)||!!e[h1]||!!(!((t=e.constructor)===null||t===void 0)&&t[h1])||qi(e)||Zi(e))}function qr(e,t,r){r===void 0&&(r=!1),Oo(e)===0?(r?Object.keys:Co)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Oo(e){var t=e[fe];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:qi(e)?2:Zi(e)?3:0}function So(e,t){return Oo(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function X4(e,t){return Oo(e)===2?e.get(t):e[t]}function m1(e,t,r){var n=Oo(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function g1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function qi(e){return rp&&e instanceof Map}function Zi(e){return op&&e instanceof Set}function gr(e){return e.o||e.t}function Yi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=v1(e);delete t[fe];for(var r=Co(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Xi(e,t){return t===void 0&&(t=!1),Qi(e)||ir(e)||!Mt(e)||(Oo(e)>1&&(e.set=e.add=e.clear=e.delete=Q4),Object.freeze(e),t&&qr(e,function(r,n){return Xi(n,!0)},!0)),e}function Q4(){xt(2)}function Qi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function jt(e){var t=Ki[e];return t||xt(18,e),t}function J4(e,t){Ki[e]||(Ki[e]=t)}function Wi(){return fn}function Ui(e,t){t&&(jt("Patches"),e.u=[],e.s=[],e.v=t)}function ga(e){Vi(e),e.p.forEach(ep),e.p=null}function Vi(e){e===fn&&(fn=e.l)}function c1(e){return fn={p:[],l:fn,h:e,m:!0,_:0}}function ep(e){var t=e[fe];t.i===0||t.i===1?t.j():t.g=!0}function Fi(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||jt("ES5").S(t,e,n),n?(r[fe].P&&(ga(t),xt(4)),Mt(e)&&(e=ya(t,e),t.l||ba(t,e)),t.u&&jt("Patches").M(r[fe].t,e,t.u,t.s)):e=ya(t,r,[]),ga(t),t.u&&t.v(t.u,t.s),e!==b1?e:void 0}function ya(e,t,r){if(Qi(t))return t;var n=t[fe];if(!n)return qr(t,function(c,f){return l1(e,n,t,c,f,r)},!0),t;if(n.A!==e)return t;if(!n.P)return ba(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Yi(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),qr(i,function(c,f){return l1(e,n,a,c,f,r,s)}),ba(e,a,!1),r&&e.u&&jt("Patches").N(n,r,e.u,e.s)}return n.o}function l1(e,t,r,n,a,i,s){if(ir(a)){var c=ya(e,a,i&&t&&t.i!==3&&!So(t.R,n)?i.concat(n):void 0);if(m1(r,n,c),!ir(c))return;e.m=!1}else s&&r.add(a);if(Mt(a)&&!Qi(a)){if(!e.h.D&&e._<1)return;ya(e,a),t&&t.A.l||ba(e,a)}}function ba(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Xi(t,r)}function Hi(e,t){var r=e[fe];return(r?gr(r):e)[t]}function d1(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function yr(e){e.P||(e.P=!0,e.l&&yr(e.l))}function Gi(e){e.o||(e.o=Yi(e.t))}function ji(e,t,r){var n=qi(t)?jt("MapSet").F(t,r):Zi(t)?jt("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Wi(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=c,u=un;s&&(f=[c],u=dn);var m=Proxy.revocable(f,u),g=m.revoke,b=m.proxy;return c.k=b,c.j=g,b}(t,r):jt("ES5").J(t,r);return(r?r.A:Wi()).p.push(n),n}function tp(e){return ir(e)||xt(22,e),function t(r){if(!Mt(r))return r;var n,a=r[fe],i=Oo(r);if(a){if(!a.P&&(a.i<4||!jt("ES5").K(a)))return a.t;a.I=!0,n=f1(r,i),a.I=!1}else n=f1(r,i);return qr(n,function(s,c){a&&X4(a.t,s)===c||m1(n,s,t(c))}),i===3?new Set(n):n}(e)}function f1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Yi(e)}function y1(){function e(s,c){var f=i[s];return f?f.enumerable=c:i[s]=f={configurable:!0,enumerable:c,get:function(){var u=this[fe];return un.get(u,s)},set:function(u){var m=this[fe];un.set(m,s,u)}},f}function t(s){for(var c=s.length-1;c>=0;c--){var f=s[c][fe];if(!f.P)switch(f.i){case 5:n(f)&&yr(f);break;case 4:r(f)&&yr(f)}}}function r(s){for(var c=s.t,f=s.k,u=Co(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==fe){var b=c[g];if(b===void 0&&!So(c,g))return!0;var S=f[g],C=S&&S[fe];if(C?C.t!==b:!g1(S,b))return!0}}var E=!!c[fe];return u.length!==Co(c).length+(E?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(c,c.length-1);if(f&&!f.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&xt(3,JSON.stringify(gr(s)))}var i={};J4("ES5",{J:function(s,c){var f=Array.isArray(s),u=function(g,b){if(g){for(var S=Array(b.length),C=0;C<b.length;C++)Object.defineProperty(S,""+C,e(C,!0));return S}var E=v1(b);delete E[fe];for(var T=Co(E),M=0;M<T.length;M++){var N=T[M];E[N]=e(N,g||!!E[N].enumerable)}return Object.create(Object.getPrototypeOf(b),E)}(f,s),m={i:f?5:4,A:c?c.A:Wi(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,fe,{value:m,writable:!0}),u},S:function(s,c,f){f?ir(c)&&c[fe].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[fe];if(g){var b=g.t,S=g.k,C=g.R,E=g.i;if(E===4)qr(S,function(U){U!==fe&&(b[U]!==void 0||So(b,U)?C[U]||u(S[U]):(C[U]=!0,yr(g)))}),qr(b,function(U){S[U]!==void 0||So(S,U)||(C[U]=!1,yr(g))});else if(E===5){if(n(g)&&(yr(g),C.length=!0),S.length<b.length)for(var T=S.length;T<b.length;T++)C[T]=!1;else for(var M=b.length;M<S.length;M++)C[M]=!0;for(var N=Math.min(S.length,b.length),D=0;D<N;D++)S.hasOwnProperty(D)||(C[D]=!0),C[D]===void 0&&u(S[D])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var u1,fn,Ji=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",rp=typeof Map<"u",op=typeof Set<"u",p1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",b1=Ji?Symbol.for("immer-nothing"):((u1={})["immer-nothing"]=!0,u1),h1=Ji?Symbol.for("immer-draftable"):"__$immer_draftable",fe=Ji?Symbol.for("immer-state"):"__$immer_state";var np=""+Object.prototype.constructor,Co=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,v1=Object.getOwnPropertyDescriptors||function(e){var t={};return Co(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ki={},un={get:function(e,t){if(t===fe)return e;var r=gr(e);if(!So(r,t))return function(a,i,s){var c,f=d1(i,s);return f?"value"in f?f.value:(c=f.get)===null||c===void 0?void 0:c.call(a.k):void 0}(e,r,t);var n=r[t];return e.I||!Mt(n)?n:n===Hi(e.t,t)?(Gi(e),e.o[t]=ji(e.A.h,n,e)):n},has:function(e,t){return t in gr(e)},ownKeys:function(e){return Reflect.ownKeys(gr(e))},set:function(e,t,r){var n=d1(gr(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Hi(gr(e),t),i=a?.[fe];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(g1(r,a)&&(r!==void 0||So(e.t,t)))return!0;Gi(e),yr(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Hi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Gi(e),yr(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=gr(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){xt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){xt(12)}},dn={};qr(un,function(e,t){dn[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),dn.deleteProperty=function(e,t){return dn.set.call(this,e,t,void 0)},dn.set=function(e,t,r){return un.set.call(this,e[0],t,r,e[0])};var ap=function(){function e(r){var n=this;this.O=p1,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var f=n;return function(E){var T=this;E===void 0&&(E=c);for(var M=arguments.length,N=Array(M>1?M-1:0),D=1;D<M;D++)N[D-1]=arguments[D];return f.produce(E,function(U){var j;return(j=i).call.apply(j,[T,U].concat(N))})}}var u;if(typeof i!="function"&&xt(6),s!==void 0&&typeof s!="function"&&xt(7),Mt(a)){var m=c1(n),g=ji(n,a,void 0),b=!0;try{u=i(g),b=!1}finally{b?ga(m):Vi(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return Ui(m,s),Fi(E,m)},function(E){throw ga(m),E}):(Ui(m,s),Fi(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===b1&&(u=void 0),n.D&&Xi(u,!0),s){var S=[],C=[];jt("Patches").M(a,u,S,C),s(S,C)}return u}xt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,g=Array(m>1?m-1:0),b=1;b<m;b++)g[b-1]=arguments[b];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(g))})};var s,c,f=n.produce(a,i,function(u,m){s=u,c=m});return typeof Promise<"u"&&f instanceof Promise?f.then(function(u){return[u,s,c]}):[f,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Mt(r)||xt(8),ir(r)&&(r=tp(r));var n=c1(this),a=ji(this,r,void 0);return a[fe].C=!0,Vi(n),a},t.finishDraft=function(r,n){var a=r&&r[fe],i=a.A;return Ui(i,n),Fi(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!p1&&xt(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=jt("Patches").$;return ir(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},e}(),ft=new ap,ip=ft.produce,l7=ft.produceWithPatches.bind(ft),d7=ft.setAutoFreeze.bind(ft),f7=ft.setUseProxies.bind(ft),u7=ft.applyPatches.bind(ft),p7=ft.createDraft.bind(ft),h7=ft.finishDraft.bind(ft),va=ip;function Zr(e){"@babel/helpers - typeof";return Zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zr(e)}function x1(e,t){if(Zr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Zr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function S1(e){var t=x1(e,"string");return Zr(t)=="symbol"?t:t+""}function C1(e,t,r){return(t=S1(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function es(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?O1(Object(r),!0).forEach(function(n){C1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ke(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var L1=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ts=function(){return Math.random().toString(36).substring(7).split("").join(".")},xa={INIT:"@@redux/INIT"+ts(),REPLACE:"@@redux/REPLACE"+ts(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ts()}};function sp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function rs(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ke(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ke(1));return r(rs)(e,t)}if(typeof e!="function")throw new Error(Ke(2));var a=e,i=t,s=[],c=s,f=!1;function u(){c===s&&(c=s.slice())}function m(){if(f)throw new Error(Ke(3));return i}function g(E){if(typeof E!="function")throw new Error(Ke(4));if(f)throw new Error(Ke(5));var T=!0;return u(),c.push(E),function(){if(T){if(f)throw new Error(Ke(6));T=!1,u();var N=c.indexOf(E);c.splice(N,1),s=null}}}function b(E){if(!sp(E))throw new Error(Ke(7));if(typeof E.type>"u")throw new Error(Ke(8));if(f)throw new Error(Ke(9));try{f=!0,i=a(i,E)}finally{f=!1}for(var T=s=c,M=0;M<T.length;M++){var N=T[M];N()}return E}function S(E){if(typeof E!="function")throw new Error(Ke(10));a=E,b({type:xa.REPLACE})}function C(){var E,T=g;return E={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Ke(11));function D(){N.next&&N.next(m())}D();var U=T(D);return{unsubscribe:U}}},E[L1]=function(){return this},E}return b({type:xa.INIT}),n={dispatch:b,subscribe:g,getState:m,replaceReducer:S},n[L1]=C,n}function cp(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:xa.INIT});if(typeof n>"u")throw new Error(Ke(12));if(typeof r(void 0,{type:xa.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ke(13))})}function E1(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,c;try{cp(r)}catch(f){c=f}return function(u,m){if(u===void 0&&(u={}),c)throw c;if(0)var g;for(var b=!1,S={},C=0;C<i.length;C++){var E=i[C],T=r[E],M=u[E],N=T(M,m);if(typeof N>"u"){var D=m&&m.type;throw new Error(Ke(14))}S[E]=N,b=b||N!==M}return b=b||i.length!==Object.keys(u).length,b?S:u}}function Lo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function A1(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(Ke(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=t.map(function(f){return f(s)});return i=Lo.apply(void 0,c)(a.dispatch),es(es({},a),{},{dispatch:i})}}}function R1(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,e):s(c)}}};return t}var w1=R1();w1.withExtraArgument=R1;var os=w1;var M1=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),lp=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(m){return f([u,m])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Eo=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},dp=Object.defineProperty,fp=Object.defineProperties,up=Object.getOwnPropertyDescriptors,_1=Object.getOwnPropertySymbols,pp=Object.prototype.hasOwnProperty,hp=Object.prototype.propertyIsEnumerable,T1=function(e,t,r){return t in e?dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},br=function(e,t){for(var r in t||(t={}))pp.call(t,r)&&T1(e,r,t[r]);if(_1)for(var n=0,a=_1(t);n<a.length;n++){var r=a[n];hp.call(t,r)&&T1(e,r,t[r])}return e},ns=function(e,t){return fp(e,up(t))},mp=function(e,t,r){return new Promise(function(n,a){var i=function(f){try{c(r.next(f))}catch(u){a(u)}},s=function(f){try{c(r.throw(f))}catch(u){a(u)}},c=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};c((r=r.apply(e,t)).next())})};var gp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Lo:Lo.apply(null,arguments)},k7=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function yp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var bp=function(e){M1(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Eo([void 0],r[0].concat(this)))):new(t.bind.apply(t,Eo([void 0],r.concat(this))))},t}(Array),vp=function(e){M1(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Eo([void 0],r[0].concat(this)))):new(t.bind.apply(t,Eo([void 0],r.concat(this))))},t}(Array);function ss(e){return Mt(e)?va(e,function(){}):e}function xp(e){return typeof e=="boolean"}function Sp(){return function(t){return Cp(t)}}function Cp(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,c=new bp;if(r&&(xp(r)?c.push(os):c.push(os.withExtraArgument(r.extraArgument))),0){if(a)var f;if(s)var u}return c}var as=!0;function P1(e){var t=Sp(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,c=r.devTools,f=c===void 0?!0:c,u=r.preloadedState,m=u===void 0?void 0:u,g=r.enhancers,b=g===void 0?void 0:g,S;if(typeof a=="function")S=a;else if(yp(a))S=E1(a);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 C=s;if(typeof C=="function"&&(C=C(t),!as&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!as&&C.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=A1.apply(void 0,C),T=Lo;f&&(T=gp(br({trace:!as},typeof f=="object"&&f)));var M=new vp(E),N=M;Array.isArray(b)?N=Eo([E],b):typeof b=="function"&&(N=b(M));var D=T.apply(void 0,N);return rs(S,m,D)}function vr(e,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return br(br({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function z1(e){var t={},r=[],n,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,r,n]}function Op(e){return typeof e=="function"}function Lp(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?z1(t):[t,r,n],i=a[0],s=a[1],c=a[2],f;if(Op(e))f=function(){return ss(e())};else{var u=ss(e);f=function(){return u}}function m(g,b){g===void 0&&(g=f());var S=Eo([i[b.type]],s.filter(function(C){var E=C.matcher;return E(b)}).map(function(C){var E=C.reducer;return E}));return S.filter(function(C){return!!C}).length===0&&(S=[c]),S.reduce(function(C,E){if(E)if(ir(C)){var T=C,M=E(T,b);return M===void 0?C:M}else{if(Mt(C))return va(C,function(N){return E(N,b)});var M=E(C,b);if(M===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return M}return C},g)}return m.getInitialState=f,m}function Ep(e,t){return e+"/"+t}function I1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ss(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},c={};a.forEach(function(m){var g=n[m],b=Ep(t,m),S,C;"reducer"in g?(S=g.reducer,C=g.prepare):S=g,i[m]=S,s[b]=S,c[m]=C?vr(b,C):vr(b)});function f(){var m=typeof e.extraReducers=="function"?z1(e.extraReducers):[e.extraReducers],g=m[0],b=g===void 0?{}:g,S=m[1],C=S===void 0?[]:S,E=m[2],T=E===void 0?void 0:E,M=br(br({},b),s);return Lp(r,function(N){for(var D in M)N.addCase(D,M[D]);for(var U=0,j=C;U<j.length;U++){var de=j[U];N.addMatcher(de.matcher,de.reducer)}T&&N.addDefaultCase(T)})}var u;return{name:t,reducer:function(m,g){return u||(u=f()),u(m,g)},actions:c,caseReducers:i,getInitialState:function(){return u||(u=f()),u.getInitialState()}}}var Ap="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Rp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Ap[Math.random()*64|0];return t},wp=["name","message","stack","code"],is=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),N1=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),_p=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=wp;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},I7=function(){function e(t,r,n){var a=vr(t+"/fulfilled",function(m,g,b,S){return{payload:m,meta:ns(br({},S||{}),{arg:b,requestId:g,requestStatus:"fulfilled"})}}),i=vr(t+"/pending",function(m,g,b){return{payload:void 0,meta:ns(br({},b||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=vr(t+"/rejected",function(m,g,b,S,C){return{payload:S,error:(n&&n.serializeError||_p)(m||"Rejected"),meta:ns(br({},C||{}),{arg:b,requestId:g,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),c=!1,f=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(g,b,S){var C=n?.idGenerator?n.idGenerator(m):Rp(),E=new f,T,M=!1;function N(U){T=U,E.abort()}var D=function(){return mp(this,null,function(){var U,j,de,Je,De,Wt,$e;return lp(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Je=(U=n?.condition)==null?void 0:U.call(n,m,{getState:b,extra:S}),Np(Je)?[4,Je]:[3,2];case 1:Je=x.sent(),x.label=2;case 2:if(Je===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return M=!0,De=new Promise(function(L,F){return E.signal.addEventListener("abort",function(){return F({name:"AbortError",message:T||"Aborted"})})}),g(i(C,m,(j=n?.getPendingMeta)==null?void 0:j.call(n,{requestId:C,arg:m},{getState:b,extra:S}))),[4,Promise.race([De,Promise.resolve(r(m,{dispatch:g,getState:b,extra:S,requestId:C,signal:E.signal,abort:N,rejectWithValue:function(L,F){return new is(L,F)},fulfillWithValue:function(L,F){return new N1(L,F)}})).then(function(L){if(L instanceof is)throw L;return L instanceof N1?a(L.payload,C,m,L.meta):a(L,C,m)})])];case 3:return de=x.sent(),[3,5];case 4:return Wt=x.sent(),de=Wt instanceof is?s(null,C,m,Wt.payload,Wt.meta):s(Wt,C,m),[3,5];case 5:return $e=n&&!n.dispatchConditionRejection&&s.match(de)&&de.meta.condition,$e||g(de),[2,de]}})})}();return Object.assign(D,{abort:N,requestId:C,arg:m,unwrap:function(){return D.then(Tp)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Tp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Np(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var D1="listener",$1="completed",B1="cancelled",D7="task-"+B1,$7="task-"+$1,B7=D1+"-"+B1,U7=D1+"-"+$1;var cs="listenerMiddleware";var F7=vr(cs+"/add"),H7=vr(cs+"/removeAll"),G7=vr(cs+"/remove");var k1,W7=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(k1||(k1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},kp=function(e){return function(t){setTimeout(t,e)}},V7=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:kp(10);y1();var Mp=da(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),Sa=class extends Mp(Object){};window.ftReduxStores||(window.ftReduxStores={});var U1=class e extends Sa{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(ma(i))return i;if(a==null)return;let s=I1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=P1({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=Zl(s.getInitialState());for(let g of u.keeping)m[g]=(f??m)[g];return m}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...f,...u.overwrites};return s.reducer(f,u)}});return window.ftReduxStores[a.name]=new e(s,c,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new fa;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,c)=>{let f=s,u=i[f];return u?(...m)=>{let g=u(...m.map(a));return this.reduxStore.dispatch(g),g}:m=>{this.setState({[f]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ca=class{static format(t,r,n,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,r,n,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(i);if(!a)return s;let c=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${c}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var Oa=y(w()),Pp="ft-app-info",Yr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Yr.eventName="authentication-change";var zp={session:(e,t)=>{(0,Oa.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>z.dispatchEvent(new Yr(t.payload)),0))}},z=Oa.FtReduxStore.get({name:Pp,reducers:zp,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 F1=y(w()),La=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},H1=(0,F1.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(z)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(c=>c.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?c=>Ca.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return La([(0,ls.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),La([(0,ls.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),La([Bi({store:z.name,selector:r=>{var n,a;return(a=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),La([Bi({store:z.name})],t.prototype,"uiLocale",void 0),t});var Ta=y(w());var ds=y(w());var Xr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=z.getState(),a=t??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let a=z.subscribe(()=>{n=e.get(t),n&&(a(),r(n))})}})}};var Ea=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Xr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Xr.await()}};var et=class extends Ea{constructor(t=!0,r){var n;super(r),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([c],[f])=>c.localeCompare(f)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ds.CacheRegistry,this.cache=t?a.commonCache:new ds.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Aa=class extends et{async listMySearches(){let{session:t}=z.getState();return ql(t,xe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Ra=class extends et{async listMyBookmarks(){let t=z.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var wa=class extends et{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=z.getState().session;return!!t?.sessionAuthenticated}};var _a=class extends et{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 t=z.getState().session;return!!t?.sessionAuthenticated}};var Ip="ft-user-assets",Dp={setAssetCount:(e,t)=>{let{userAssetType:r,count:n}=t.payload.assetCount;e.assetCounts.allAsset[r]=n},clearAssetCount:e=>{Object.values(vt).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let r=t.payload.mapId;e.assetCounts.bookmarkByMap[r]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:r,mapId:n,asset:a}=t.payload;us(e,r,[...fs(e,r),a]),G1(e,r,1,n),W1(e,a)},editAsset:(e,t)=>{let{assetType:r,asset:n}=t.payload;us(e,r,fs(e,r).map(a=>a.id===n.id?n:a)),W1(e,n)},removeAsset:(e,t)=>{let{assetType:r,mapId:n,assetId:a}=t.payload;us(e,r,fs(e,r).filter(i=>i.id!==a)),G1(e,r,-1,n)}},V1={[vt.SEARCHES]:"savedSearches",[vt.BOOKMARKS]:"bookmarks",[vt.BOOKS]:void 0,[vt.COLLECTIONS]:void 0},fs=(e,t)=>{var r;let n=V1[t];return n?(r=e[n])!==null&&r!==void 0?r:[]:[]},us=(e,t,r)=>{let n=V1[t];n&&(e[n]=r)},G1=(e,t,r,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+r),t===vt.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+r)}},W1=(e,t)=>{let r=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},ut=Ta.FtReduxStore.get({name:Ip,reducers:Dp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(vt).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ps=class{constructor(t=new wa,r=new _a){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ra,this.savedSearchesService=new Aa,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=z.getState();(0,Ta.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),ut.actions.clearAssetCount(),ut.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ut.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ut.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ut.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();ut.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&ut.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&ut.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(ut.getState().assetCounts.bookmarkByMap).length!==0;t===vt.BOOKMARKS&&r&&ut.actions.clearBookmarkCountByMap(),ut.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ut.actions.bookmarks(r)}}},$p=new ps;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=$p);var hs=class{addCommand(t,r=!1){z.commands.add(t,r)}consumeCommand(t){return z.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new hs;var St=y(w());var j1,Ao=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Bp=Symbol("clearAfterUnitTest"),Na=class extends(0,St.withEventBus)(et){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[j1]=()=>{this.defaultMessages={},this.cache=new St.CacheRegistry,this.listeners={}},this.currentUiLocale=z.getState().uiLocale,z.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=z.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,St.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,n;return this.fetchContext(t),(n=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,r){let n=t.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(t,r,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new St.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(t){let r=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(a){!(a instanceof St.CanceledPromiseError)&&r&&console.error(a)}return n}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Ao({loadedContexts:t})),this.dispatchEvent(new Ao({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Ao({loadedContexts:[t]})),this.dispatchEvent(new Ao({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,St.delay)(0).then(()=>n()).catch(()=>null)))}};j1=Bp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Na{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Na{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Ro=window.FluidTopicsI18nService,ka=window.FluidTopicsCustomI18nService;var K1=y(w()),ms=class{highlightHtml(t,r,n){(0,K1.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new ms;var q1=y(w());var gs=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=z.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;if(t==null)return"";try{return q1.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:z.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new gs;var Z1=y(w());var pn=class{static get(t,r){var n,a;let i=z.getState(),{lang:s,region:c}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Z1.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var ys=class{urlToSearchRequest(t){return pn.get().parse(t)}searchRequestToUrl(t){return pn.get().serialize(t)}};window.FluidTopicsUrlService=new ys;var xr=y(w());var Qr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Qr.eventName="change";var bs=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},Y1=new bs;var Ma=class e extends xr.WithEventBus{static build(){return new e(window.history,Y1,()=>window.location,!1)}constructor(t,r,n,a){var i,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,r=!1){let n=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},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,xr.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Qr(this.currentItem())),0)}installProxies(){let t=r=>(n,a,[i,s,c])=>{let f=r(),u={...f===this.currentIndex?this.currentState:void 0,...i,index:f,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(a,[u,s,c]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Qr.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Qr.eventName,t)}currentItem(){return(0,xr.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,xr.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,xr.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let n=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var n;if(!this.hasState(t))return!1;let a=r??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ma.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var X1=y($());var Q1=X1.css`
13
- `;var ed=y($()),Ue=y(q()),Pt=y(w());function J1(e,t){let{authenticationRequired:r,session:n}=z.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var Ee=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ae=class extends Pt.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=()=>Xr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Pt.CacheRegistry,this.cleanSessionDebouncer=new Pt.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return ed.html`
12
+ `;var wo=y(w()),xs=y(q());var sn;(function(e){e.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(sn||(sn={}));var hn=y(w());var hl=y(w());var K4=y(gl(),1);var yl;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(yl||(yl={}));var bl;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(bl||(bl={}));var vl;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(vl||(vl={}));var xl;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(xl||(xl={}));var Sl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Sl||(Sl={}));var Cl;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Cl||(Cl={}));var Ol;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Ol||(Ol={}));var Ll;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Ll||(Ll={}));var El;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(El||(El={}));var Al;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Al||(Al={}));var Rl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Rl||(Rl={}));var wl;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(wl||(wl={}));var _l;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(_l||(_l={}));var Tl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Tl||(Tl={}));var ar;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(ar||(ar={}));var Nl;(function(e){e.ASC="ASC",e.DESC="DESC"})(Nl||(Nl={}));var kl;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(kl||(kl={}));var ia;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(ia||(ia={}));var Ml;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Ml||(Ml={}));var Pl;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Pl||(Pl={}));var zl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(zl||(zl={}));var sa;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(sa||(sa={}));var Il;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Il||(Il={}));var ca;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ca||(ca={}));var Dl;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Dl||(Dl={}));var xe;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(xe||(xe={}));var vt;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(vt||(vt={}));var $l;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})($l||($l={}));var Bl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Bl||(Bl={}));var Ul;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(Ul||(Ul={}));var Fl;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Fl||(Fl={}));var Hl;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Hl||(Hl={}));var Gl;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(Gl||(Gl={}));var Wl;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Wl||(Wl={}));var Vl;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Vl||(Vl={}));var jl;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(jl||(jl={}));var j4={[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.BEHAVIOR_DATA_USER],[xe.GENERATIVE_AI_EXPORT_USER]:[xe.GENERATIVE_AI_USER]};function Kl(e,t){return e===t||(j4[e]??[]).some(r=>Kl(r,t))}function ql(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Kl(n,t))}var ls=y(q());function q4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!la(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!la(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!la(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function la(e,t){try{return q4(e,t)}catch{return!1}}function cn(e,t){return!la(e,t)}function Zl(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function da(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let a=t(n);return a[e]=!0,a}}var Yl=y(q(),1);var Bi=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:cn,attribute:!1,...t};(0,Yl.property)(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:c=>c[n],store:t.store})}};var fa=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};var jr=y(q(),1);var Xl=y(q(),1);function Ql(e,t){let r=()=>JSON.parse(JSON.stringify(e));return(0,Xl.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:cn,...t??{}})}var ua=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var e1=y($(),1);var pa=globalThis,Z4=pa.ShadowRoot&&(pa.ShadyCSS===void 0||pa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,q5=Symbol();var Jl=(e,t)=>{if(Z4)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=pa.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}};var ha=class extends e1.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Jl(n,t.elementStyles),n}};function t1(e,t,...r){var n;let a=e.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var xo=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},a1,r1=Symbol("constructorPrototype"),o1=Symbol("constructorName"),i1=Symbol("exportpartsDebouncer"),n1=Symbol("dynamicDependenciesLoaded"),vo=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};vo.eventName="exportparts-updated";var Vt=class extends ha{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[a1]=new ua(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[i1].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[o1]=this.constructor.name,this[r1]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[o1]&&Object.setPrototypeOf(this,this[r1])}connectedCallback(){var t;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 r=this.constructor;r[n1]||(r[n1]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(vo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(vo.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new vo)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=t1(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,n,a,i,s,c;let f=b=>b!=null&&b.trim().length>0,u=t.filter(f).map(b=>b.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let b of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=b.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],C=(c=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],E=[...S,...C].filter(f).map(T=>T.trim());for(let T of E)m.add(T)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(b=>u.map(S=>`${b}:${S}--${b}`));this.exportparts=[...this.part,...g].join(", ")}};a1=i1;xo([(0,jr.property)()],Vt.prototype,"exportpartsPrefix",void 0);xo([Ql([])],Vt.prototype,"exportpartsPrefixes",void 0);xo([(0,jr.property)({reflect:!0})],Vt.prototype,"exportparts",void 0);xo([(0,jr.property)()],Vt.prototype,"customStylesheet",void 0);xo([(0,jr.property)()],Vt.prototype,"elementToFocus",void 0);xo([(0,jr.state)()],Vt.prototype,"useAdoptedStyleSheets",void 0);function ma(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ln=Symbol("internalReduxEventsUnsubscribers"),mr=Symbol("internalStoresUnsubscribers"),Kr=Symbol("internalStores"),Y4=da(Symbol("withRedux"),function(e){var t,r,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Kr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Kr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Kr].get(s)}addStore(s,c){var f;c=(f=c??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(c),this[Kr].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[Kr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Kr].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let f=this.constructor.getPropertyOptions(c);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:c)){let u=this.getStore(s.store);u&&(s.store?this[mr].has(s.store):this[mr].size>0)&&(this[c]=s.selector(u.getState(),this))}})}subscribeToStore(s,c){var f;this[mr].set(s,c.subscribe(()=>this.updateFromStores())),this[ln].set(s,[]),ma(c)&&c.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||c.name===u.store)){let g=b=>this[m](b);c.addEventListener(u.eventName,g),this[ln].get(s).push(()=>c.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[mr].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[mr].has(s)&&this[mr].get(s)(),this[mr].delete(s),(c=this[ln].get(s))===null||c===void 0||c.forEach(f=>f()),this[ln].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=mr,r=Kr,n=ln,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),s1=class extends Y4(Vt){};function xt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ir(e){return!!e&&!!e[fe]}function Mt(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===np}(e)||Array.isArray(e)||!!e[h1]||!!(!((t=e.constructor)===null||t===void 0)&&t[h1])||qi(e)||Zi(e))}function qr(e,t,r){r===void 0&&(r=!1),Oo(e)===0?(r?Object.keys:Co)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Oo(e){var t=e[fe];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:qi(e)?2:Zi(e)?3:0}function So(e,t){return Oo(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function X4(e,t){return Oo(e)===2?e.get(t):e[t]}function m1(e,t,r){var n=Oo(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function g1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function qi(e){return rp&&e instanceof Map}function Zi(e){return op&&e instanceof Set}function gr(e){return e.o||e.t}function Yi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=v1(e);delete t[fe];for(var r=Co(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Xi(e,t){return t===void 0&&(t=!1),Qi(e)||ir(e)||!Mt(e)||(Oo(e)>1&&(e.set=e.add=e.clear=e.delete=Q4),Object.freeze(e),t&&qr(e,function(r,n){return Xi(n,!0)},!0)),e}function Q4(){xt(2)}function Qi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function jt(e){var t=Ki[e];return t||xt(18,e),t}function J4(e,t){Ki[e]||(Ki[e]=t)}function Wi(){return fn}function Ui(e,t){t&&(jt("Patches"),e.u=[],e.s=[],e.v=t)}function ga(e){Vi(e),e.p.forEach(ep),e.p=null}function Vi(e){e===fn&&(fn=e.l)}function c1(e){return fn={p:[],l:fn,h:e,m:!0,_:0}}function ep(e){var t=e[fe];t.i===0||t.i===1?t.j():t.g=!0}function Fi(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||jt("ES5").S(t,e,n),n?(r[fe].P&&(ga(t),xt(4)),Mt(e)&&(e=ya(t,e),t.l||ba(t,e)),t.u&&jt("Patches").M(r[fe].t,e,t.u,t.s)):e=ya(t,r,[]),ga(t),t.u&&t.v(t.u,t.s),e!==b1?e:void 0}function ya(e,t,r){if(Qi(t))return t;var n=t[fe];if(!n)return qr(t,function(c,f){return l1(e,n,t,c,f,r)},!0),t;if(n.A!==e)return t;if(!n.P)return ba(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Yi(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),qr(i,function(c,f){return l1(e,n,a,c,f,r,s)}),ba(e,a,!1),r&&e.u&&jt("Patches").N(n,r,e.u,e.s)}return n.o}function l1(e,t,r,n,a,i,s){if(ir(a)){var c=ya(e,a,i&&t&&t.i!==3&&!So(t.R,n)?i.concat(n):void 0);if(m1(r,n,c),!ir(c))return;e.m=!1}else s&&r.add(a);if(Mt(a)&&!Qi(a)){if(!e.h.D&&e._<1)return;ya(e,a),t&&t.A.l||ba(e,a)}}function ba(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Xi(t,r)}function Hi(e,t){var r=e[fe];return(r?gr(r):e)[t]}function d1(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function yr(e){e.P||(e.P=!0,e.l&&yr(e.l))}function Gi(e){e.o||(e.o=Yi(e.t))}function ji(e,t,r){var n=qi(t)?jt("MapSet").F(t,r):Zi(t)?jt("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Wi(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=c,u=un;s&&(f=[c],u=dn);var m=Proxy.revocable(f,u),g=m.revoke,b=m.proxy;return c.k=b,c.j=g,b}(t,r):jt("ES5").J(t,r);return(r?r.A:Wi()).p.push(n),n}function tp(e){return ir(e)||xt(22,e),function t(r){if(!Mt(r))return r;var n,a=r[fe],i=Oo(r);if(a){if(!a.P&&(a.i<4||!jt("ES5").K(a)))return a.t;a.I=!0,n=f1(r,i),a.I=!1}else n=f1(r,i);return qr(n,function(s,c){a&&X4(a.t,s)===c||m1(n,s,t(c))}),i===3?new Set(n):n}(e)}function f1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Yi(e)}function y1(){function e(s,c){var f=i[s];return f?f.enumerable=c:i[s]=f={configurable:!0,enumerable:c,get:function(){var u=this[fe];return un.get(u,s)},set:function(u){var m=this[fe];un.set(m,s,u)}},f}function t(s){for(var c=s.length-1;c>=0;c--){var f=s[c][fe];if(!f.P)switch(f.i){case 5:n(f)&&yr(f);break;case 4:r(f)&&yr(f)}}}function r(s){for(var c=s.t,f=s.k,u=Co(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==fe){var b=c[g];if(b===void 0&&!So(c,g))return!0;var S=f[g],C=S&&S[fe];if(C?C.t!==b:!g1(S,b))return!0}}var E=!!c[fe];return u.length!==Co(c).length+(E?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(c,c.length-1);if(f&&!f.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&xt(3,JSON.stringify(gr(s)))}var i={};J4("ES5",{J:function(s,c){var f=Array.isArray(s),u=function(g,b){if(g){for(var S=Array(b.length),C=0;C<b.length;C++)Object.defineProperty(S,""+C,e(C,!0));return S}var E=v1(b);delete E[fe];for(var T=Co(E),M=0;M<T.length;M++){var N=T[M];E[N]=e(N,g||!!E[N].enumerable)}return Object.create(Object.getPrototypeOf(b),E)}(f,s),m={i:f?5:4,A:c?c.A:Wi(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,fe,{value:m,writable:!0}),u},S:function(s,c,f){f?ir(c)&&c[fe].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[fe];if(g){var b=g.t,S=g.k,C=g.R,E=g.i;if(E===4)qr(S,function(U){U!==fe&&(b[U]!==void 0||So(b,U)?C[U]||u(S[U]):(C[U]=!0,yr(g)))}),qr(b,function(U){S[U]!==void 0||So(S,U)||(C[U]=!1,yr(g))});else if(E===5){if(n(g)&&(yr(g),C.length=!0),S.length<b.length)for(var T=S.length;T<b.length;T++)C[T]=!1;else for(var M=b.length;M<S.length;M++)C[M]=!0;for(var N=Math.min(S.length,b.length),D=0;D<N;D++)S.hasOwnProperty(D)||(C[D]=!0),C[D]===void 0&&u(S[D])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var u1,fn,Ji=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",rp=typeof Map<"u",op=typeof Set<"u",p1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",b1=Ji?Symbol.for("immer-nothing"):((u1={})["immer-nothing"]=!0,u1),h1=Ji?Symbol.for("immer-draftable"):"__$immer_draftable",fe=Ji?Symbol.for("immer-state"):"__$immer_state";var np=""+Object.prototype.constructor,Co=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,v1=Object.getOwnPropertyDescriptors||function(e){var t={};return Co(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ki={},un={get:function(e,t){if(t===fe)return e;var r=gr(e);if(!So(r,t))return function(a,i,s){var c,f=d1(i,s);return f?"value"in f?f.value:(c=f.get)===null||c===void 0?void 0:c.call(a.k):void 0}(e,r,t);var n=r[t];return e.I||!Mt(n)?n:n===Hi(e.t,t)?(Gi(e),e.o[t]=ji(e.A.h,n,e)):n},has:function(e,t){return t in gr(e)},ownKeys:function(e){return Reflect.ownKeys(gr(e))},set:function(e,t,r){var n=d1(gr(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Hi(gr(e),t),i=a?.[fe];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(g1(r,a)&&(r!==void 0||So(e.t,t)))return!0;Gi(e),yr(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Hi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Gi(e),yr(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=gr(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){xt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){xt(12)}},dn={};qr(un,function(e,t){dn[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),dn.deleteProperty=function(e,t){return dn.set.call(this,e,t,void 0)},dn.set=function(e,t,r){return un.set.call(this,e[0],t,r,e[0])};var ap=function(){function e(r){var n=this;this.O=p1,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var f=n;return function(E){var T=this;E===void 0&&(E=c);for(var M=arguments.length,N=Array(M>1?M-1:0),D=1;D<M;D++)N[D-1]=arguments[D];return f.produce(E,function(U){var j;return(j=i).call.apply(j,[T,U].concat(N))})}}var u;if(typeof i!="function"&&xt(6),s!==void 0&&typeof s!="function"&&xt(7),Mt(a)){var m=c1(n),g=ji(n,a,void 0),b=!0;try{u=i(g),b=!1}finally{b?ga(m):Vi(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return Ui(m,s),Fi(E,m)},function(E){throw ga(m),E}):(Ui(m,s),Fi(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===b1&&(u=void 0),n.D&&Xi(u,!0),s){var S=[],C=[];jt("Patches").M(a,u,S,C),s(S,C)}return u}xt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,g=Array(m>1?m-1:0),b=1;b<m;b++)g[b-1]=arguments[b];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(g))})};var s,c,f=n.produce(a,i,function(u,m){s=u,c=m});return typeof Promise<"u"&&f instanceof Promise?f.then(function(u){return[u,s,c]}):[f,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Mt(r)||xt(8),ir(r)&&(r=tp(r));var n=c1(this),a=ji(this,r,void 0);return a[fe].C=!0,Vi(n),a},t.finishDraft=function(r,n){var a=r&&r[fe],i=a.A;return Ui(i,n),Fi(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!p1&&xt(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=jt("Patches").$;return ir(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},e}(),ft=new ap,ip=ft.produce,l7=ft.produceWithPatches.bind(ft),d7=ft.setAutoFreeze.bind(ft),f7=ft.setUseProxies.bind(ft),u7=ft.applyPatches.bind(ft),p7=ft.createDraft.bind(ft),h7=ft.finishDraft.bind(ft),va=ip;function Zr(e){"@babel/helpers - typeof";return Zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zr(e)}function x1(e,t){if(Zr(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Zr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function S1(e){var t=x1(e,"string");return Zr(t)=="symbol"?t:t+""}function C1(e,t,r){return(t=S1(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function es(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?O1(Object(r),!0).forEach(function(n){C1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ke(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var L1=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ts=function(){return Math.random().toString(36).substring(7).split("").join(".")},xa={INIT:"@@redux/INIT"+ts(),REPLACE:"@@redux/REPLACE"+ts(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ts()}};function sp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function rs(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ke(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ke(1));return r(rs)(e,t)}if(typeof e!="function")throw new Error(Ke(2));var a=e,i=t,s=[],c=s,f=!1;function u(){c===s&&(c=s.slice())}function m(){if(f)throw new Error(Ke(3));return i}function g(E){if(typeof E!="function")throw new Error(Ke(4));if(f)throw new Error(Ke(5));var T=!0;return u(),c.push(E),function(){if(T){if(f)throw new Error(Ke(6));T=!1,u();var N=c.indexOf(E);c.splice(N,1),s=null}}}function b(E){if(!sp(E))throw new Error(Ke(7));if(typeof E.type>"u")throw new Error(Ke(8));if(f)throw new Error(Ke(9));try{f=!0,i=a(i,E)}finally{f=!1}for(var T=s=c,M=0;M<T.length;M++){var N=T[M];N()}return E}function S(E){if(typeof E!="function")throw new Error(Ke(10));a=E,b({type:xa.REPLACE})}function C(){var E,T=g;return E={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Ke(11));function D(){N.next&&N.next(m())}D();var U=T(D);return{unsubscribe:U}}},E[L1]=function(){return this},E}return b({type:xa.INIT}),n={dispatch:b,subscribe:g,getState:m,replaceReducer:S},n[L1]=C,n}function cp(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:xa.INIT});if(typeof n>"u")throw new Error(Ke(12));if(typeof r(void 0,{type:xa.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ke(13))})}function E1(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,c;try{cp(r)}catch(f){c=f}return function(u,m){if(u===void 0&&(u={}),c)throw c;if(0)var g;for(var b=!1,S={},C=0;C<i.length;C++){var E=i[C],T=r[E],M=u[E],N=T(M,m);if(typeof N>"u"){var D=m&&m.type;throw new Error(Ke(14))}S[E]=N,b=b||N!==M}return b=b||i.length!==Object.keys(u).length,b?S:u}}function Lo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function A1(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(Ke(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=t.map(function(f){return f(s)});return i=Lo.apply(void 0,c)(a.dispatch),es(es({},a),{},{dispatch:i})}}}function R1(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,e):s(c)}}};return t}var w1=R1();w1.withExtraArgument=R1;var os=w1;var M1=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),lp=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(m){return f([u,m])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Eo=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},dp=Object.defineProperty,fp=Object.defineProperties,up=Object.getOwnPropertyDescriptors,_1=Object.getOwnPropertySymbols,pp=Object.prototype.hasOwnProperty,hp=Object.prototype.propertyIsEnumerable,T1=function(e,t,r){return t in e?dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},br=function(e,t){for(var r in t||(t={}))pp.call(t,r)&&T1(e,r,t[r]);if(_1)for(var n=0,a=_1(t);n<a.length;n++){var r=a[n];hp.call(t,r)&&T1(e,r,t[r])}return e},ns=function(e,t){return fp(e,up(t))},mp=function(e,t,r){return new Promise(function(n,a){var i=function(f){try{c(r.next(f))}catch(u){a(u)}},s=function(f){try{c(r.throw(f))}catch(u){a(u)}},c=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};c((r=r.apply(e,t)).next())})};var gp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Lo:Lo.apply(null,arguments)},k7=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function yp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var bp=function(e){M1(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Eo([void 0],r[0].concat(this)))):new(t.bind.apply(t,Eo([void 0],r.concat(this))))},t}(Array),vp=function(e){M1(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Eo([void 0],r[0].concat(this)))):new(t.bind.apply(t,Eo([void 0],r.concat(this))))},t}(Array);function ss(e){return Mt(e)?va(e,function(){}):e}function xp(e){return typeof e=="boolean"}function Sp(){return function(t){return Cp(t)}}function Cp(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,c=new bp;if(r&&(xp(r)?c.push(os):c.push(os.withExtraArgument(r.extraArgument))),0){if(a)var f;if(s)var u}return c}var as=!0;function P1(e){var t=Sp(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,c=r.devTools,f=c===void 0?!0:c,u=r.preloadedState,m=u===void 0?void 0:u,g=r.enhancers,b=g===void 0?void 0:g,S;if(typeof a=="function")S=a;else if(yp(a))S=E1(a);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 C=s;if(typeof C=="function"&&(C=C(t),!as&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!as&&C.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=A1.apply(void 0,C),T=Lo;f&&(T=gp(br({trace:!as},typeof f=="object"&&f)));var M=new vp(E),N=M;Array.isArray(b)?N=Eo([E],b):typeof b=="function"&&(N=b(M));var D=T.apply(void 0,N);return rs(S,m,D)}function vr(e,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return br(br({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function z1(e){var t={},r=[],n,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,r,n]}function Op(e){return typeof e=="function"}function Lp(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?z1(t):[t,r,n],i=a[0],s=a[1],c=a[2],f;if(Op(e))f=function(){return ss(e())};else{var u=ss(e);f=function(){return u}}function m(g,b){g===void 0&&(g=f());var S=Eo([i[b.type]],s.filter(function(C){var E=C.matcher;return E(b)}).map(function(C){var E=C.reducer;return E}));return S.filter(function(C){return!!C}).length===0&&(S=[c]),S.reduce(function(C,E){if(E)if(ir(C)){var T=C,M=E(T,b);return M===void 0?C:M}else{if(Mt(C))return va(C,function(N){return E(N,b)});var M=E(C,b);if(M===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return M}return C},g)}return m.getInitialState=f,m}function Ep(e,t){return e+"/"+t}function I1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ss(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},c={};a.forEach(function(m){var g=n[m],b=Ep(t,m),S,C;"reducer"in g?(S=g.reducer,C=g.prepare):S=g,i[m]=S,s[b]=S,c[m]=C?vr(b,C):vr(b)});function f(){var m=typeof e.extraReducers=="function"?z1(e.extraReducers):[e.extraReducers],g=m[0],b=g===void 0?{}:g,S=m[1],C=S===void 0?[]:S,E=m[2],T=E===void 0?void 0:E,M=br(br({},b),s);return Lp(r,function(N){for(var D in M)N.addCase(D,M[D]);for(var U=0,j=C;U<j.length;U++){var de=j[U];N.addMatcher(de.matcher,de.reducer)}T&&N.addDefaultCase(T)})}var u;return{name:t,reducer:function(m,g){return u||(u=f()),u(m,g)},actions:c,caseReducers:i,getInitialState:function(){return u||(u=f()),u.getInitialState()}}}var Ap="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Rp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Ap[Math.random()*64|0];return t},wp=["name","message","stack","code"],is=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),N1=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),_p=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=wp;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},I7=function(){function e(t,r,n){var a=vr(t+"/fulfilled",function(m,g,b,S){return{payload:m,meta:ns(br({},S||{}),{arg:b,requestId:g,requestStatus:"fulfilled"})}}),i=vr(t+"/pending",function(m,g,b){return{payload:void 0,meta:ns(br({},b||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=vr(t+"/rejected",function(m,g,b,S,C){return{payload:S,error:(n&&n.serializeError||_p)(m||"Rejected"),meta:ns(br({},C||{}),{arg:b,requestId:g,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),c=!1,f=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(g,b,S){var C=n?.idGenerator?n.idGenerator(m):Rp(),E=new f,T,M=!1;function N(U){T=U,E.abort()}var D=function(){return mp(this,null,function(){var U,j,de,Je,$e,Wt,Be;return lp(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Je=(U=n?.condition)==null?void 0:U.call(n,m,{getState:b,extra:S}),Np(Je)?[4,Je]:[3,2];case 1:Je=x.sent(),x.label=2;case 2:if(Je===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return M=!0,$e=new Promise(function(L,F){return E.signal.addEventListener("abort",function(){return F({name:"AbortError",message:T||"Aborted"})})}),g(i(C,m,(j=n?.getPendingMeta)==null?void 0:j.call(n,{requestId:C,arg:m},{getState:b,extra:S}))),[4,Promise.race([$e,Promise.resolve(r(m,{dispatch:g,getState:b,extra:S,requestId:C,signal:E.signal,abort:N,rejectWithValue:function(L,F){return new is(L,F)},fulfillWithValue:function(L,F){return new N1(L,F)}})).then(function(L){if(L instanceof is)throw L;return L instanceof N1?a(L.payload,C,m,L.meta):a(L,C,m)})])];case 3:return de=x.sent(),[3,5];case 4:return Wt=x.sent(),de=Wt instanceof is?s(null,C,m,Wt.payload,Wt.meta):s(Wt,C,m),[3,5];case 5:return Be=n&&!n.dispatchConditionRejection&&s.match(de)&&de.meta.condition,Be||g(de),[2,de]}})})}();return Object.assign(D,{abort:N,requestId:C,arg:m,unwrap:function(){return D.then(Tp)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Tp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Np(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var D1="listener",$1="completed",B1="cancelled",D7="task-"+B1,$7="task-"+$1,B7=D1+"-"+B1,U7=D1+"-"+$1;var cs="listenerMiddleware";var F7=vr(cs+"/add"),H7=vr(cs+"/removeAll"),G7=vr(cs+"/remove");var k1,W7=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(k1||(k1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},kp=function(e){return function(t){setTimeout(t,e)}},V7=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:kp(10);y1();var Mp=da(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),Sa=class extends Mp(Object){};window.ftReduxStores||(window.ftReduxStores={});var U1=class e extends Sa{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(ma(i))return i;if(a==null)return;let s=I1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=P1({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=Zl(s.getInitialState());for(let g of u.keeping)m[g]=(f??m)[g];return m}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...f,...u.overwrites};return s.reducer(f,u)}});return window.ftReduxStores[a.name]=new e(s,c,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new fa;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,c)=>{let f=s,u=i[f];return u?(...m)=>{let g=u(...m.map(a));return this.reduxStore.dispatch(g),g}:m=>{this.setState({[f]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ca=class{static format(t,r,n,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,r,n,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(i);if(!a)return s;let c=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${c}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var Oa=y(w()),Pp="ft-app-info",Yr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Yr.eventName="authentication-change";var zp={session:(e,t)=>{(0,Oa.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>z.dispatchEvent(new Yr(t.payload)),0))}},z=Oa.FtReduxStore.get({name:Pp,reducers:zp,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 F1=y(w()),La=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},H1=(0,F1.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(z)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(c=>c.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?c=>Ca.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return La([(0,ls.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),La([(0,ls.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),La([Bi({store:z.name,selector:r=>{var n,a;return(a=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),La([Bi({store:z.name})],t.prototype,"uiLocale",void 0),t});var Ta=y(w());var ds=y(w());var Xr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=z.getState(),a=t??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let a=z.subscribe(()=>{n=e.get(t),n&&(a(),r(n))})}})}};var Ea=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Xr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Xr.await()}};var et=class extends Ea{constructor(t=!0,r){var n;super(r),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([c],[f])=>c.localeCompare(f)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ds.CacheRegistry,this.cache=t?a.commonCache:new ds.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Aa=class extends et{async listMySearches(){let{session:t}=z.getState();return ql(t,xe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Ra=class extends et{async listMyBookmarks(){let t=z.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var wa=class extends et{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=z.getState().session;return!!t?.sessionAuthenticated}};var _a=class extends et{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 t=z.getState().session;return!!t?.sessionAuthenticated}};var Ip="ft-user-assets",Dp={setAssetCount:(e,t)=>{let{userAssetType:r,count:n}=t.payload.assetCount;e.assetCounts.allAsset[r]=n},clearAssetCount:e=>{Object.values(vt).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let r=t.payload.mapId;e.assetCounts.bookmarkByMap[r]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:r,mapId:n,asset:a}=t.payload;us(e,r,[...fs(e,r),a]),G1(e,r,1,n),W1(e,a)},editAsset:(e,t)=>{let{assetType:r,asset:n}=t.payload;us(e,r,fs(e,r).map(a=>a.id===n.id?n:a)),W1(e,n)},removeAsset:(e,t)=>{let{assetType:r,mapId:n,assetId:a}=t.payload;us(e,r,fs(e,r).filter(i=>i.id!==a)),G1(e,r,-1,n)}},V1={[vt.SEARCHES]:"savedSearches",[vt.BOOKMARKS]:"bookmarks",[vt.BOOKS]:void 0,[vt.COLLECTIONS]:void 0},fs=(e,t)=>{var r;let n=V1[t];return n?(r=e[n])!==null&&r!==void 0?r:[]:[]},us=(e,t,r)=>{let n=V1[t];n&&(e[n]=r)},G1=(e,t,r,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+r),t===vt.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+r)}},W1=(e,t)=>{let r=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},ut=Ta.FtReduxStore.get({name:Ip,reducers:Dp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(vt).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ps=class{constructor(t=new wa,r=new _a){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ra,this.savedSearchesService=new Aa,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=z.getState();(0,Ta.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),ut.actions.clearAssetCount(),ut.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ut.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ut.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ut.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();ut.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&ut.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&ut.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(ut.getState().assetCounts.bookmarkByMap).length!==0;t===vt.BOOKMARKS&&r&&ut.actions.clearBookmarkCountByMap(),ut.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ut.actions.bookmarks(r)}}},$p=new ps;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=$p);var hs=class{addCommand(t,r=!1){z.commands.add(t,r)}consumeCommand(t){return z.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new hs;var St=y(w());var j1,Ao=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Bp=Symbol("clearAfterUnitTest"),Na=class extends(0,St.withEventBus)(et){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[j1]=()=>{this.defaultMessages={},this.cache=new St.CacheRegistry,this.listeners={}},this.currentUiLocale=z.getState().uiLocale,z.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=z.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,St.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,n;return this.fetchContext(t),(n=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,r){let n=t.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(t,r,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new St.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(t){let r=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(a){!(a instanceof St.CanceledPromiseError)&&r&&console.error(a)}return n}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Ao({loadedContexts:t})),this.dispatchEvent(new Ao({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Ao({loadedContexts:[t]})),this.dispatchEvent(new Ao({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,St.delay)(0).then(()=>n()).catch(()=>null)))}};j1=Bp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Na{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Na{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Ro=window.FluidTopicsI18nService,ka=window.FluidTopicsCustomI18nService;var K1=y(w()),ms=class{highlightHtml(t,r,n){(0,K1.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new ms;var q1=y(w());var gs=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=z.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;if(t==null)return"";try{return q1.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:z.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new gs;var Z1=y(w());var pn=class{static get(t,r){var n,a;let i=z.getState(),{lang:s,region:c}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Z1.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var ys=class{urlToSearchRequest(t){return pn.get().parse(t)}searchRequestToUrl(t){return pn.get().serialize(t)}};window.FluidTopicsUrlService=new ys;var xr=y(w());var Qr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Qr.eventName="change";var bs=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},Y1=new bs;var Ma=class e extends xr.WithEventBus{static build(){return new e(window.history,Y1,()=>window.location,!1)}constructor(t,r,n,a){var i,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,r=!1){let n=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},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,xr.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Qr(this.currentItem())),0)}installProxies(){let t=r=>(n,a,[i,s,c])=>{let f=r(),u={...f===this.currentIndex?this.currentState:void 0,...i,index:f,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(a,[u,s,c]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Qr.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Qr.eventName,t)}currentItem(){return(0,xr.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,xr.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,xr.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let n=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var n;if(!this.hasState(t))return!1;let a=r??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ma.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var X1=y($());var Q1=X1.css`
13
+ `;var ed=y($()),Fe=y(q()),Pt=y(w());function J1(e,t){let{authenticationRequired:r,session:n}=z.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var Ee=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ae=class extends Pt.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=()=>Xr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Pt.CacheRegistry,this.cleanSessionDebouncer=new Pt.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return ed.html`
14
14
  <slot></slot>
15
- `}connectedCallback(){super.connectedCallback(),z.addEventListener(Yr.eventName,this.reloadConfiguration)}disconnectedCallback(){z.addEventListener(Yr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,n,a,i,s,c,f;super.update(t),t.has("baseUrl")&&(z.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&z.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&z.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&z.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&z.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&z.actions.noCustom(this.noCustom),t.has("editorMode")&&z.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&z.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&z.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Ro.addContext(u)),t.has("openExternalDocumentInNewTab")&&z.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&z.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&z.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(z.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),z.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),z.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&z.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&z.actions.availableContentLocales((f=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&f!==void 0?f:[]),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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>J1(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};ae.elementDefinitions={};ae.styles=Q1;Ee([(0,Ue.property)()],ae.prototype,"baseUrl",void 0);Ee([(0,Ue.property)()],ae.prototype,"apiIntegrationIdentifier",void 0);Ee([(0,Ue.property)()],ae.prototype,"apiIntegrationAppVersion",void 0);Ee([(0,Ue.property)()],ae.prototype,"uiLocale",void 0);Ee([(0,Pt.jsonProperty)(null)],ae.prototype,"availableUiLocales",void 0);Ee([(0,Pt.jsonProperty)(null)],ae.prototype,"metadataConfiguration",void 0);Ee([(0,Ue.property)({type:Boolean})],ae.prototype,"editorMode",void 0);Ee([(0,Ue.property)({type:Boolean})],ae.prototype,"noCustom",void 0);Ee([(0,Ue.property)({type:Boolean})],ae.prototype,"openExternalDocumentInNewTab",void 0);Ee([(0,Ue.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],ae.prototype,"noCustomComponent",void 0);Ee([(0,Ue.property)({type:Boolean})],ae.prototype,"withManualResources",void 0);Ee([(0,Ue.property)({type:Boolean})],ae.prototype,"navigatorOnline",void 0);Ee([(0,Ue.property)({type:Boolean})],ae.prototype,"forcedOffline",void 0);Ee([(0,Ue.property)({type:Object})],ae.prototype,"apiProvider",void 0);Ee([(0,Ue.property)({type:Boolean})],ae.prototype,"authenticationRequired",void 0);Ee([(0,Pt.jsonProperty)([])],ae.prototype,"messageContexts",void 0);Ee([(0,Pt.jsonProperty)(void 0)],ae.prototype,"session",void 0);Ee([(0,Ue.state)()],ae.prototype,"localesConfiguration",void 0);Ee([(0,Ue.state)()],ae.prototype,"availableContentLocales",void 0);var td=y(w());(0,td.customElement)("ft-app-context")(ae);var Pa=class e extends Event{constructor(){super(e.eventName)}};Pa.eventName="search-context-clear-all-filters";var za=e=>e.request.virtualField===ia.TITLE_ONLY&&e.request.scope===ca.DOCUMENTS,Ia=e=>e.request.keywordMatch==ar.MANDATORY;var rd=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ss=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},od=Symbol("registerInterval"),vs=Symbol("registerAttempts"),Up=40,Fp=(0,wo.applyMixinOnce)(Symbol("toFtSearchComponent"),function(e){class t extends e{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var a,i,s;super.willUpdate(n),n.has("neededSearchRequests")&&((a=this.stateManager)===null||a===void 0||a.unregisterComponent(this,(i=n.get("neededSearchRequests"))!==null&&i!==void 0?i:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[vs]=0,this.tryToRegisterToContext(),this[od]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[vs]>Up?window.clearInterval(this[od]):(this[vs]++,this.dispatchEvent(new Ss))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return rd([(0,xs.state)()],t.prototype,"stateManager",void 0),rd([(0,xs.state)({hasChanged:wo.hasChanged})],t.prototype,"neededSearchRequests",void 0),t}),Sr=class extends Fp(wo.FtLitElementRedux){};var vi=y($()),Ge=y(q()),Uu=y(Ct()),Xo=y(w());var ud=y($()),Fe=y(q()),pd=y(Ct()),mn=y(w());var dd=y($()),Se=y(w()),ad=Se.FtCssVariableFactory.extend("--ft-ripple-color","",Se.designSystemVariables.colorContent),O={color:ad,backgroundColor:Se.FtCssVariableFactory.extend("--ft-ripple-background-color","",ad),opacityContentOnSurfacePressed:Se.FtCssVariableFactory.external(Se.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Se.FtCssVariableFactory.external(Se.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Se.FtCssVariableFactory.external(Se.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Se.FtCssVariableFactory.external(Se.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Se.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},id=Se.FtCssVariableFactory.extend("--ft-ripple-color","",Se.designSystemVariables.colorPrimary),sd={color:id,backgroundColor:Se.FtCssVariableFactory.extend("--ft-ripple-background-color","",id)},cd=Se.FtCssVariableFactory.extend("--ft-ripple-color","",Se.designSystemVariables.colorSecondary),ld={color:cd,backgroundColor:Se.FtCssVariableFactory.extend("--ft-ripple-background-color","",cd)},fd=dd.css`
15
+ `}connectedCallback(){super.connectedCallback(),z.addEventListener(Yr.eventName,this.reloadConfiguration)}disconnectedCallback(){z.addEventListener(Yr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,n,a,i,s,c,f;super.update(t),t.has("baseUrl")&&(z.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&z.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&z.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&z.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&z.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&z.actions.noCustom(this.noCustom),t.has("editorMode")&&z.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&z.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&z.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Ro.addContext(u)),t.has("openExternalDocumentInNewTab")&&z.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&z.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&z.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(z.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),z.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),z.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&z.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&z.actions.availableContentLocales((f=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&f!==void 0?f:[]),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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>J1(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};ae.elementDefinitions={};ae.styles=Q1;Ee([(0,Fe.property)()],ae.prototype,"baseUrl",void 0);Ee([(0,Fe.property)()],ae.prototype,"apiIntegrationIdentifier",void 0);Ee([(0,Fe.property)()],ae.prototype,"apiIntegrationAppVersion",void 0);Ee([(0,Fe.property)()],ae.prototype,"uiLocale",void 0);Ee([(0,Pt.jsonProperty)(null)],ae.prototype,"availableUiLocales",void 0);Ee([(0,Pt.jsonProperty)(null)],ae.prototype,"metadataConfiguration",void 0);Ee([(0,Fe.property)({type:Boolean})],ae.prototype,"editorMode",void 0);Ee([(0,Fe.property)({type:Boolean})],ae.prototype,"noCustom",void 0);Ee([(0,Fe.property)({type:Boolean})],ae.prototype,"openExternalDocumentInNewTab",void 0);Ee([(0,Fe.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],ae.prototype,"noCustomComponent",void 0);Ee([(0,Fe.property)({type:Boolean})],ae.prototype,"withManualResources",void 0);Ee([(0,Fe.property)({type:Boolean})],ae.prototype,"navigatorOnline",void 0);Ee([(0,Fe.property)({type:Boolean})],ae.prototype,"forcedOffline",void 0);Ee([(0,Fe.property)({type:Object})],ae.prototype,"apiProvider",void 0);Ee([(0,Fe.property)({type:Boolean})],ae.prototype,"authenticationRequired",void 0);Ee([(0,Pt.jsonProperty)([])],ae.prototype,"messageContexts",void 0);Ee([(0,Pt.jsonProperty)(void 0)],ae.prototype,"session",void 0);Ee([(0,Fe.state)()],ae.prototype,"localesConfiguration",void 0);Ee([(0,Fe.state)()],ae.prototype,"availableContentLocales",void 0);var td=y(w());(0,td.customElement)("ft-app-context")(ae);var Pa=class e extends Event{constructor(){super(e.eventName)}};Pa.eventName="search-context-clear-all-filters";var za=e=>e.request.virtualField===ia.TITLE_ONLY&&e.request.scope===ca.DOCUMENTS,Ia=e=>e.request.keywordMatch==ar.MANDATORY;var rd=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ss=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},od=Symbol("registerInterval"),vs=Symbol("registerAttempts"),Up=40,Fp=(0,wo.applyMixinOnce)(Symbol("toFtSearchComponent"),function(e){class t extends e{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var a,i,s;super.willUpdate(n),n.has("neededSearchRequests")&&((a=this.stateManager)===null||a===void 0||a.unregisterComponent(this,(i=n.get("neededSearchRequests"))!==null&&i!==void 0?i:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[vs]=0,this.tryToRegisterToContext(),this[od]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[vs]>Up?window.clearInterval(this[od]):(this[vs]++,this.dispatchEvent(new Ss))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return rd([(0,xs.state)()],t.prototype,"stateManager",void 0),rd([(0,xs.state)({hasChanged:wo.hasChanged})],t.prototype,"neededSearchRequests",void 0),t}),Sr=class extends Fp(wo.FtLitElementRedux){};var vi=y($()),Ge=y(q()),Uu=y(Ct()),Xo=y(w());var ud=y($()),He=y(q()),pd=y(Ct()),mn=y(w());var dd=y($()),Se=y(w()),ad=Se.FtCssVariableFactory.extend("--ft-ripple-color","",Se.designSystemVariables.colorContent),O={color:ad,backgroundColor:Se.FtCssVariableFactory.extend("--ft-ripple-background-color","",ad),opacityContentOnSurfacePressed:Se.FtCssVariableFactory.external(Se.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Se.FtCssVariableFactory.external(Se.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Se.FtCssVariableFactory.external(Se.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Se.FtCssVariableFactory.external(Se.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Se.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},id=Se.FtCssVariableFactory.extend("--ft-ripple-color","",Se.designSystemVariables.colorPrimary),sd={color:id,backgroundColor:Se.FtCssVariableFactory.extend("--ft-ripple-background-color","",id)},cd=Se.FtCssVariableFactory.extend("--ft-ripple-color","",Se.designSystemVariables.colorSecondary),ld={color:cd,backgroundColor:Se.FtCssVariableFactory.extend("--ft-ripple-background-color","",cd)},fd=dd.css`
16
16
  :host {
17
17
  display: contents;
18
18
  }
@@ -135,7 +135,7 @@
135
135
  <div class="ft-ripple--background"></div>
136
136
  <div class="ft-ripple--effect"></div>
137
137
  </div>
138
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>f=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(f)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",a,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",i,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",a,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=fd;tt([(0,Fe.property)({type:Boolean})],Y.prototype,"primary",void 0);tt([(0,Fe.property)({type:Boolean})],Y.prototype,"secondary",void 0);tt([(0,Fe.property)({type:Boolean})],Y.prototype,"unbounded",void 0);tt([(0,Fe.property)({type:Boolean})],Y.prototype,"activated",void 0);tt([(0,Fe.property)({type:Boolean})],Y.prototype,"selected",void 0);tt([(0,Fe.property)({type:Boolean})],Y.prototype,"disabled",void 0);tt([(0,Fe.state)()],Y.prototype,"hovered",void 0);tt([(0,Fe.state)()],Y.prototype,"focused",void 0);tt([(0,Fe.state)()],Y.prototype,"pressed",void 0);tt([(0,Fe.state)()],Y.prototype,"rippling",void 0);tt([(0,Fe.state)()],Y.prototype,"originX",void 0);tt([(0,Fe.state)()],Y.prototype,"originY",void 0);tt([(0,Fe.query)(".ft-ripple")],Y.prototype,"ripple",void 0);tt([(0,Fe.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);var hd=y(w());(0,hd.customElement)("ft-ripple")(Y);var ws=globalThis,Da=ws.trustedTypes,md=Da?Da.createPolicy("lit-html",{createHTML:e=>e}):void 0,Sd="$lit$",Cr=`lit$${Math.random().toFixed(9).slice(2)}$`,Cd="?"+Cr,Hp=`<${Cd}>`,to=document,$a=()=>to.createComment(""),yn=e=>e===null||typeof e!="object"&&typeof e!="function",_s=Array.isArray,Gp=e=>_s(e)||typeof e?.[Symbol.iterator]=="function",Cs=`[
138
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>f=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(f)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",a,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",i,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",a,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=fd;tt([(0,He.property)({type:Boolean})],Y.prototype,"primary",void 0);tt([(0,He.property)({type:Boolean})],Y.prototype,"secondary",void 0);tt([(0,He.property)({type:Boolean})],Y.prototype,"unbounded",void 0);tt([(0,He.property)({type:Boolean})],Y.prototype,"activated",void 0);tt([(0,He.property)({type:Boolean})],Y.prototype,"selected",void 0);tt([(0,He.property)({type:Boolean})],Y.prototype,"disabled",void 0);tt([(0,He.state)()],Y.prototype,"hovered",void 0);tt([(0,He.state)()],Y.prototype,"focused",void 0);tt([(0,He.state)()],Y.prototype,"pressed",void 0);tt([(0,He.state)()],Y.prototype,"rippling",void 0);tt([(0,He.state)()],Y.prototype,"originX",void 0);tt([(0,He.state)()],Y.prototype,"originY",void 0);tt([(0,He.query)(".ft-ripple")],Y.prototype,"ripple",void 0);tt([(0,He.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);var hd=y(w());(0,hd.customElement)("ft-ripple")(Y);var ws=globalThis,Da=ws.trustedTypes,md=Da?Da.createPolicy("lit-html",{createHTML:e=>e}):void 0,Sd="$lit$",Cr=`lit$${Math.random().toFixed(9).slice(2)}$`,Cd="?"+Cr,Hp=`<${Cd}>`,to=document,$a=()=>to.createComment(""),yn=e=>e===null||typeof e!="object"&&typeof e!="function",_s=Array.isArray,Gp=e=>_s(e)||typeof e?.[Symbol.iterator]=="function",Cs=`[
139
139
  \f\r]`,gn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gd=/-->/g,yd=/>/g,Jr=RegExp(`>|${Cs}(?:([^\\s"'>=/]+)(${Cs}*=${Cs}*(?:[^
140
140
  \f\r"'\`<>=]|("|')|))|$)`,"g"),bd=/'/g,vd=/"/g,Od=/^(?:script|style|textarea|title)$/i,Ts=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ld=Ts(1),Ed=Ts(2),Ad=Ts(3),bn=Symbol.for("lit-noChange"),Ce=Symbol.for("lit-nothing"),xd=new WeakMap,eo=to.createTreeWalker(to,129);function Rd(e,t){if(!_s(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return md!==void 0?md.createHTML(t):t}var Wp=(e,t)=>{let r=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=gn;for(let c=0;c<r;c++){let f=e[c],u,m,g=-1,b=0;for(;b<f.length&&(s.lastIndex=b,m=s.exec(f),m!==null);)b=s.lastIndex,s===gn?m[1]==="!--"?s=gd:m[1]!==void 0?s=yd:m[2]!==void 0?(Od.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=Jr):m[3]!==void 0&&(s=Jr):s===Jr?m[0]===">"?(s=a??gn,g=-1):m[1]===void 0?g=-2:(g=s.lastIndex-m[2].length,u=m[1],s=m[3]===void 0?Jr:m[3]==='"'?vd:bd):s===vd||s===bd?s=Jr:s===gd||s===yd?s=gn:(s=Jr,a=void 0);let S=s===Jr&&e[c+1].startsWith("/>")?" ":"";i+=s===gn?f+Hp:g>=0?(n.push(u),f.slice(0,g)+Sd+f.slice(g)+Cr+S):f+Cr+(g===-2?c:S)}return[Rd(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},vn=class e{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,c=t.length-1,f=this.parts,[u,m]=Wp(t,r);if(this.el=e.createElement(u,n),eo.currentNode=this.el.content,r===2||r===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(a=eo.nextNode())!==null&&f.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let g of a.getAttributeNames())if(g.endsWith(Sd)){let b=m[s++],S=a.getAttribute(g).split(Cr),C=/([.?@])?(.*)/.exec(b);f.push({type:1,index:i,name:C[2],strings:S,ctor:C[1]==="."?Ls:C[1]==="?"?Es:C[1]==="@"?As:To}),a.removeAttribute(g)}else g.startsWith(Cr)&&(f.push({type:6,index:i}),a.removeAttribute(g));if(Od.test(a.tagName)){let g=a.textContent.split(Cr),b=g.length-1;if(b>0){a.textContent=Da?Da.emptyScript:"";for(let S=0;S<b;S++)a.append(g[S],$a()),eo.nextNode(),f.push({type:2,index:++i});a.append(g[b],$a())}}}else if(a.nodeType===8)if(a.data===Cd)f.push({type:2,index:i});else{let g=-1;for(;(g=a.data.indexOf(Cr,g+1))!==-1;)f.push({type:7,index:i}),g+=Cr.length-1}i++}}static createElement(t,r){let n=to.createElement("template");return n.innerHTML=t,n}};function _o(e,t,r=e,n){if(t===bn)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=yn(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=_o(e,a._$AS(e,t.values),a,n)),t}var Os=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??to).importNode(r,!0);eo.currentNode=a;let i=eo.nextNode(),s=0,c=0,f=n[0];for(;f!==void 0;){if(s===f.index){let u;f.type===2?u=new Ba(i,i.nextSibling,this,t):f.type===1?u=new f.ctor(i,f.name,f.strings,this,t):f.type===6&&(u=new Rs(i,this,t)),this._$AV.push(u),f=n[++c]}s!==f?.index&&(i=eo.nextNode(),s++)}return eo.currentNode=to,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ba=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=Ce,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=_o(this,t,r),yn(t)?t===Ce||t==null||t===""?(this._$AH!==Ce&&this._$AR(),this._$AH=Ce):t!==this._$AH&&t!==bn&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gp(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==Ce&&yn(this._$AH)?this._$AA.nextSibling.data=t:this.T(to.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=vn.createElement(Rd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new Os(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=xd.get(t.strings);return r===void 0&&xd.set(t.strings,r=new vn(t)),r}k(t){_s(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new e(this.O($a()),this.O($a()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},To=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=Ce,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Ce}_$AI(t,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=_o(this,t,r,0),s=!yn(t)||t!==this._$AH&&t!==bn,s&&(this._$AH=t);else{let c=t,f,u;for(t=i[0],f=0;f<i.length-1;f++)u=_o(this,c[n+f],r,f),u===bn&&(u=this._$AH[f]),s||=!yn(u)||u!==this._$AH[f],u===Ce?t=Ce:t!==Ce&&(t+=(u??"")+i[f+1]),this._$AH[f]=u}s&&!a&&this.j(t)}j(t){t===Ce?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ls=class extends To{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ce?void 0:t}},Es=class extends To{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Ce)}},As=class extends To{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=_o(this,t,r,0)??Ce)===bn)return;let n=this._$AH,a=t===Ce&&n!==Ce||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==Ce&&(n===Ce||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Rs=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){_o(this,t)}};var Vp=ws.litHtmlPolyfillSupport;Vp?.(vn,Ba),(ws.litHtmlVersions??=[]).push("3.3.0");var _d=Symbol.for(""),jp=e=>{if(e?.r===_d)return e?._$litStatic$},No=e=>({_$litStatic$:e,r:_d});var wd=new Map,Ns=e=>(t,...r)=>{let n=r.length,a,i,s=[],c=[],f,u=0,m=!1;for(;u<n;){for(f=t[u];u<n&&(i=r[u],(a=jp(i))!==void 0);)f+=a+t[++u],m=!0;u!==n&&c.push(i),s.push(f),u++}if(u===n&&s.push(t[n]),m){let g=s.join("$$lit$$");(t=wd.get(g))===void 0&&(s.raw=s,wd.set(g,t=s)),r=c}return e(t,...r)},ko=Ns(Ld),Ev=Ns(Ed),Av=Ns(Ad);var ks=y(q()),Hd=y(w());var Ae;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(Ae||(Ae={}));var Ot=y($()),k=y(w()),Td=k.FtCssVariableFactory.extend("--ft-typography-font-family","",k.designSystemVariables.titleFont),sr=k.FtCssVariableFactory.extend("--ft-typography-font-family","",k.designSystemVariables.contentFont),P={fontFamily:sr,fontSize:k.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:k.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:k.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:k.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:k.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Mo={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Td),fontSize:k.FtCssVariableFactory.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},Po={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Td),fontSize:k.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},zo={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",sr),fontSize:k.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},Io={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",sr),fontSize:k.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},Do={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",sr),fontSize:k.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},Re={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",sr),fontSize:k.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},$o={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",sr),fontSize:k.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},Bo={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",sr),fontSize:k.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},Uo={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",sr),fontSize:k.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},Kt={fontFamily:k.FtCssVariableFactory.extend("--ft-typography-button-font-family","",sr),fontSize:k.FtCssVariableFactory.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:k.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:k.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:k.FtCssVariableFactory.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:k.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},Nd=Ot.css`
141
141
  .ft-typography--title {
@@ -241,7 +241,7 @@
241
241
  `:ko`
242
242
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
243
243
  `}};ie.styles=[Nd,kd,Md,Pd,zd,Id,Ua,Dd,$d,Bd,Ud];Fd([(0,ks.property)()],ie.prototype,"element",void 0);Fd([(0,ks.property)()],ie.prototype,"variant",void 0);var Ps=y(q()),s2=y(w());var re;(function(e){e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(re||(re={}));var cr=y($(),1),Or=e=>typeof e=="string"?(0,cr.unsafeCSS)(e):e,o=class{static create(t,r,n,a){let i=c=>Or(c??a),s=cr.css`var(${Or(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>Gd(s,c??i(a)),s.get=c=>cr.css`var(${Or(t)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,n,a){let i=c=>n.get(c??a),s=cr.css`var(${Or(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>Gd(s,c??i(a)),s.get=c=>cr.css`var(${Or(t)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,r){let n=i=>t.defaultCssValue(i),a=cr.css`var(${Or(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>cr.css`var(${Or(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Gd(e,t){return Or(`${e.name}: ${t}`)}var l={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Wd={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Vd={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},jd={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Kd={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},qd={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Zd={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Yd={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Xd={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Qd={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Kp={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Jd={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},e2={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},t2={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},r2={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},o2={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},n2={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Ms={display:Wd,"title-1":Vd,"title-2":jd,"title-3":Kd,"body-1-regular":qd,"body-1-medium":Zd,"body-1-semibold":Yd,"body-2-regular":Xd,"body-2-medium":Qd,"body-2-medium-underline":Kp,"body-2-semibold":Jd,"caption-1-medium":e2,"caption-1-semibold":t2,"caption-2-medium":r2,"caption-2-semibold":o2,"caption-2-bold":n2};var d={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
244
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var v={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Yv={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var tx={iconSize:o.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",l.spacing1),color:o.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var ix={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var fx={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var gx={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var H={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var we={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var _x={iconSize:o.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var Px={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var Bx={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Wx={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Zx={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Jx={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var nS={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var lS={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var hS={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var vS={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var LS={backgroundColor:o.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var _S={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var PS={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var BS={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var He={backgroundColor:o.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",l.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var qS={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var JS={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var oC={color1Light:o.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var sC={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var uC={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ftds-notice-gap","",l.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var yC={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",l.spacing3)};var CC={iconSize:o.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",l.spacing8)};var RC={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",l.spacing05)};var kC={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var IC={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var rt;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(rt||(rt={}));var Xe;(function(e){e.large="large",e.medium="medium",e.small="small"})(Xe||(Xe={}));var Fo=y($());function qp(e,t){let r=Ms[e];return Fo.css`
244
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var v={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Yv={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var tx={iconSize:o.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",l.spacing1),color:o.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var ix={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var fx={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var gx={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var H={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var we={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var _x={iconSize:o.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var Px={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var Bx={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Wx={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Zx={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Jx={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var nS={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var lS={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var hS={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var vS={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var LS={backgroundColor:o.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var _S={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var PS={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var BS={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var _e={backgroundColor:o.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",l.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var qS={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var JS={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var oC={color1Light:o.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var sC={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var uC={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ftds-notice-gap","",l.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var yC={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",l.spacing3)};var CC={iconSize:o.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",l.spacing8)};var RC={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",l.spacing05)};var kC={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var IC={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var rt;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(rt||(rt={}));var Xe;(function(e){e.large="large",e.medium="medium",e.small="small"})(Xe||(Xe={}));var Fo=y($());function qp(e,t){let r=Ms[e];return Fo.css`
245
245
  ${t?(0,Fo.unsafeCSS)(t):Fo.css`.ftds-typography--${(0,Fo.unsafeCSS)(e)}`} {
246
246
  font-family: ${r.fontFamily};
247
247
  font-size: ${r.fontSize};
@@ -251,7 +251,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
251
251
  text-decoration: ${r.textDecoration};
252
252
  text-transform: ${r.textCase};
253
253
  }
254
- `}var a2=[Object.keys(Ms).map(e=>qp(e))];var i2=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},_e=class extends s2.FtLitElement{constructor(){super(...arguments),this.variant=re.body2medium}render(){return this.element?ko`
254
+ `}var a2=[Object.keys(Ms).map(e=>qp(e))];var i2=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Te=class extends s2.FtLitElement{constructor(){super(...arguments),this.variant=re.body2medium}render(){return this.element?ko`
255
255
  <${No(this.element)}
256
256
  part="text"
257
257
  class="ftds-typography ftds-typography--${this.variant}">
@@ -259,7 +259,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
259
259
  </${No(this.element)}>
260
260
  `:ko`
261
261
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
262
- `}};_e.styles=[...a2];i2([(0,Ps.property)()],_e.prototype,"element",void 0);i2([(0,Ps.property)()],_e.prototype,"variant",void 0);var zs=y(w());(0,zs.customElement)("ft-typography")(ie);(0,zs.customElement)("ftds-typography")(_e);var c2=y($()),zt=y(w()),ee={size:zt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:zt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},l2=[c2.css`
262
+ `}};Te.styles=[...a2];i2([(0,Ps.property)()],Te.prototype,"element",void 0);i2([(0,Ps.property)()],Te.prototype,"variant",void 0);var zs=y(w());(0,zs.customElement)("ft-typography")(ie);(0,zs.customElement)("ftds-typography")(Te);var c2=y($()),zt=y(w()),ee={size:zt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:zt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},l2=[c2.css`
263
263
  :host, i.ft-icon {
264
264
  display: inline-flex;
265
265
  align-items: center;
@@ -882,7 +882,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
882
882
  .svg-inline--fa mask .fa-secondary {
883
883
  fill: black;
884
884
  }`;function uf(){let e=nf,t=af,r=I.cssPrefix,n=I.replacementClass,a=Dg;if(r!==e||n!==t){let i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),c=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(r,"-")).replace(s,"--".concat(r,"-")).replace(c,".".concat(n))}return a}var N0=!1;function Qs(){I.autoAddCss&&!N0&&(kg(uf()),N0=!0)}var $g={mixout(){return{dom:{css:uf,insertCss:Qs}}},hooks(){return{beforeDOMElementCreation(){Qs()},beforeI2svg(){Qs()}}}},dr=Ar||{};dr[lr]||(dr[lr]={});dr[lr].styles||(dr[lr].styles={});dr[lr].hooks||(dr[lr].hooks={});dr[lr].shims||(dr[lr].shims=[]);var Zt=dr[lr],pf=[],hf=function(){se.removeEventListener("DOMContentLoaded",hf),Ka=1,pf.map(e=>e())},Ka=!1;fr&&(Ka=(se.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(se.readyState),Ka||se.addEventListener("DOMContentLoaded",hf));function Bg(e){fr&&(Ka?setTimeout(e,0):pf.push(e))}function Nn(e){let{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?ff(e):"<".concat(t," ").concat(Pg(r),">").concat(n.map(Nn).join(""),"</").concat(t,">")}function k0(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var Ug=function(t,r){return function(n,a,i,s){return t.call(r,n,a,i,s)}},Js=function(t,r,n,a){var i=Object.keys(t),s=i.length,c=a!==void 0?Ug(r,a):r,f,u,m;for(n===void 0?(f=1,m=t[i[0]]):(f=0,m=n);f<s;f++)u=i[f],m=c(m,t[u],u,t);return m};function Fg(e){let t=[],r=0,n=e.length;for(;r<n;){let a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){let i=e.charCodeAt(r++);(i&64512)==56320?t.push(((a&1023)<<10)+(i&1023)+65536):(t.push(a),r--)}else t.push(a)}return t}function lc(e){let t=Fg(e);return t.length===1?t[0].toString(16):null}function Hg(e,t){let r=e.length,n=e.charCodeAt(t),a;return n>=55296&&n<=56319&&r>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(n-55296)*1024+a-56320+65536:n}function M0(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return!!n.icon?t[n.iconName]=n.icon:t[r]=n,t},{})}function dc(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{skipHooks:n=!1}=r,a=M0(t);typeof Zt.hooks.addPack=="function"&&!n?Zt.hooks.addPack(e,M0(t)):Zt.styles[e]=A(A({},Zt.styles[e]||{}),a),e==="fas"&&dc("fa",t)}var{styles:_n,shims:Gg}=Zt,mf=Object.keys(Cc),Wg=mf.reduce((e,t)=>(e[t]=Object.keys(Cc[t]),e),{}),Ec=null,gf={},yf={},bf={},vf={},xf={};function Vg(e){return~wg.indexOf(e)}function jg(e,t){let r=t.split("-"),n=r[0],a=r.slice(1).join("-");return n===e&&a!==""&&!Vg(a)?a:null}var Sf=()=>{let e=n=>Js(_n,(a,i,s)=>(a[s]=Js(i,n,{}),a),{});gf=e((n,a,i)=>(a[3]&&(n[a[3]]=i),a[2]&&a[2].filter(c=>typeof c=="number").forEach(c=>{n[c.toString(16)]=i}),n)),yf=e((n,a,i)=>(n[i]=i,a[2]&&a[2].filter(c=>typeof c=="string").forEach(c=>{n[c]=i}),n)),xf=e((n,a,i)=>{let s=a[2];return n[i]=i,s.forEach(c=>{n[c]=i}),n});let t="far"in _n||I.autoFetchSvg,r=Js(Gg,(n,a)=>{let i=a[0],s=a[1],c=a[2];return s==="far"&&!t&&(s="fas"),typeof i=="string"&&(n.names[i]={prefix:s,iconName:c}),typeof i=="number"&&(n.unicodes[i.toString(16)]={prefix:s,iconName:c}),n},{names:{},unicodes:{}});bf=r.names,vf=r.unicodes,Ec=Xa(I.styleDefault,{family:I.familyDefault})};Ng(e=>{Ec=Xa(e.styleDefault,{family:I.familyDefault})});Sf();function Ac(e,t){return(gf[e]||{})[t]}function Kg(e,t){return(yf[e]||{})[t]}function ro(e,t){return(xf[e]||{})[t]}function Cf(e){return bf[e]||{prefix:null,iconName:null}}function qg(e){let t=vf[e],r=Ac("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Rr(){return Ec}var Of=()=>({prefix:null,iconName:null,rest:[]});function Zg(e){let t=qe,r=mf.reduce((n,a)=>(n[a]="".concat(I.cssPrefix,"-").concat(a),n),{});return rf.forEach(n=>{(e.includes(r[n])||e.some(a=>Wg[n].includes(a)))&&(t=n)}),t}function Xa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{family:r=qe}=t,n=Og[r][e];if(r===Za&&!e)return"fad";let a=T0[r][e]||T0[r][n],i=e in Zt.styles?e:null;return a||i||null}function Yg(e){let t=[],r=null;return e.forEach(n=>{let a=jg(I.cssPrefix,n);a?r=a:n&&t.push(n)}),{iconName:r,rest:t}}function P0(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function Qa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{skipLookups:r=!1}=t,n=null,a=oc.concat(fg),i=P0(e.filter(g=>a.includes(g))),s=P0(e.filter(g=>!oc.includes(g))),c=i.filter(g=>(n=g,!tf.includes(g))),[f=null]=c,u=Zg(i),m=A(A({},Yg(s)),{},{prefix:Xa(f,{family:u})});return A(A(A({},m),ey({values:e,family:u,styles:_n,config:I,canonical:m,givenPrefix:n})),Xg(r,n,m))}function Xg(e,t,r){let{prefix:n,iconName:a}=r;if(e||!n||!a)return{prefix:n,iconName:a};let i=t==="fa"?Cf(a):{},s=ro(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!_n.far&&_n.fas&&!I.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}var Qg=rf.filter(e=>e!==qe||e!==Za),Jg=Object.keys(rc).filter(e=>e!==qe).map(e=>Object.keys(rc[e])).flat();function ey(e){let{values:t,family:r,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,c=r===Za,f=t.includes("fa-duotone")||t.includes("fad"),u=s.familyDefault==="duotone",m=n.prefix==="fad"||n.prefix==="fa-duotone";if(!c&&(f||u||m)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&Qg.includes(r)&&(Object.keys(i).find(b=>Jg.includes(b))||s.autoFetchSvg)){let b=og.get(r).defaultShortPrefixId;n.prefix=b,n.iconName=ro(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||a==="fa")&&(n.prefix=Rr()||"fas"),n}var fc=class{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];let a=r.reduce(this._pullDefinitions,{});Object.keys(a).forEach(i=>{this.definitions[i]=A(A({},this.definitions[i]||{}),a[i]),dc(i,a[i]);let s=Cc[qe][i];s&&dc(s,a[i]),Sf()})}reset(){this.definitions={}}_pullDefinitions(t,r){let n=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(n).map(a=>{let{prefix:i,iconName:s,icon:c}=n[a],f=c[2];t[i]||(t[i]={}),f.length>0&&f.forEach(u=>{typeof u=="string"&&(t[i][u]=c)}),t[i][s]=c}),t}},z0=[],Ho={},Go={},ty=Object.keys(Go);function ry(e,t){let{mixoutsTo:r}=t;return z0=e,Ho={},Object.keys(Go).forEach(n=>{ty.indexOf(n)===-1&&delete Go[n]}),z0.forEach(n=>{let a=n.mixout?n.mixout():{};if(Object.keys(a).forEach(i=>{typeof a[i]=="function"&&(r[i]=a[i]),typeof a[i]=="object"&&Object.keys(a[i]).forEach(s=>{r[i]||(r[i]={}),r[i][s]=a[i][s]})}),n.hooks){let i=n.hooks();Object.keys(i).forEach(s=>{Ho[s]||(Ho[s]=[]),Ho[s].push(i[s])})}n.provides&&n.provides(Go)}),r}function uc(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return(Ho[e]||[]).forEach(s=>{t=s.apply(null,[t,...n])}),t}function no(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(Ho[e]||[]).forEach(i=>{i.apply(null,r)})}function wr(){let e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Go[e]?Go[e].apply(null,t):void 0}function pc(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e,r=e.prefix||Rr();if(t)return t=ro(r,t)||t,k0(Lf.definitions,r,t)||k0(Zt.styles,r,t)}var Lf=new fc,oy=()=>{I.autoReplaceSvg=!1,I.observeMutations=!1,no("noAuto")},ny={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return fr?(no("beforeI2svg",e),wr("pseudoElements2svg",e),wr("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:t}=e;I.autoReplaceSvg===!1&&(I.autoReplaceSvg=!0),I.observeMutations=!0,Bg(()=>{iy({autoReplaceSvgRoot:t}),no("watch",e)})}},ay={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:ro(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){let t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=Xa(e[0]);return{prefix:r,iconName:ro(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(I.cssPrefix,"-"))>-1||e.match(Lg))){let t=Qa(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Rr(),iconName:ro(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){let t=Rr();return{prefix:t,iconName:ro(t,e)||e}}}},pt={noAuto:oy,config:I,dom:ny,parse:ay,library:Lf,findIconDefinition:pc,toHtml:Nn},iy=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:t=se}=e;(Object.keys(Zt.styles).length>0||I.autoFetchSvg)&&fr&&I.autoReplaceSvg&&pt.dom.i2svg({node:t})};function Ja(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Nn(r))}}),Object.defineProperty(e,"node",{get:function(){if(!fr)return;let r=se.createElement("div");return r.innerHTML=e.html,r.children}}),e}function sy(e){let{children:t,main:r,mask:n,attributes:a,styles:i,transform:s}=e;if(Lc(s)&&r.found&&!n.found){let{width:c,height:f}=r,u={x:c/f/2,y:.5};a.style=Ya(A(A({},i),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function cy(e){let{prefix:t,iconName:r,children:n,attributes:a,symbol:i}=e,s=i===!0?"".concat(t,"-").concat(I.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:A(A({},a),{},{id:s}),children:n}]}]}function Rc(e){let{icons:{main:t,mask:r},prefix:n,iconName:a,transform:i,symbol:s,title:c,maskId:f,titleId:u,extra:m,watchable:g=!1}=e,{width:b,height:S}=r.found?r:t,C=cg.includes(n),E=[I.replacementClass,a?"".concat(I.cssPrefix,"-").concat(a):""].filter(j=>m.classes.indexOf(j)===-1).filter(j=>j!==""||!!j).concat(m.classes).join(" "),T={children:[],attributes:A(A({},m.attributes),{},{"data-prefix":n,"data-icon":a,class:E,role:m.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(b," ").concat(S)})},M=C&&!~m.classes.indexOf("fa-fw")?{width:"".concat(b/S*16*.0625,"em")}:{};g&&(T.attributes[oo]=""),c&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(u||wn())},children:[c]}),delete T.attributes.title);let N=A(A({},T),{},{prefix:n,iconName:a,main:t,mask:r,maskId:f,transform:i,symbol:s,styles:A(A({},M),m.styles)}),{children:D,attributes:U}=r.found&&t.found?wr("generateAbstractMask",N)||{children:[],attributes:{}}:wr("generateAbstractIcon",N)||{children:[],attributes:{}};return N.children=D,N.attributes=U,s?cy(N):sy(N)}function I0(e){let{content:t,width:r,height:n,transform:a,title:i,extra:s,watchable:c=!1}=e,f=A(A(A({},s.attributes),i?{title:i}:{}),{},{class:s.classes.join(" ")});c&&(f[oo]="");let u=A({},s.styles);Lc(a)&&(u.transform=Ig({transform:a,startCentered:!0,width:r,height:n}),u["-webkit-transform"]=u.transform);let m=Ya(u);m.length>0&&(f.style=m);let g=[];return g.push({tag:"span",attributes:f,children:[t]}),i&&g.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),g}function ly(e){let{content:t,title:r,extra:n}=e,a=A(A(A({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=Ya(n.styles);i.length>0&&(a.style=i);let s=[];return s.push({tag:"span",attributes:a,children:[t]}),r&&s.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),s}var{styles:ec}=Zt;function hc(e){let t=e[0],r=e[1],[n]=e.slice(4),a=null;return Array.isArray(n)?a={tag:"g",attributes:{class:"".concat(I.cssPrefix,"-").concat(Xs.GROUP)},children:[{tag:"path",attributes:{class:"".concat(I.cssPrefix,"-").concat(Xs.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(I.cssPrefix,"-").concat(Xs.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:a}}var dy={found:!1,width:512,height:512};function fy(e,t){!sf&&!I.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function mc(e,t){let r=t;return t==="fa"&&I.styleDefault!==null&&(t=Rr()),new Promise((n,a)=>{if(r==="fa"){let i=Cf(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&ec[t]&&ec[t][e]){let i=ec[t][e];return n(hc(i))}fy(e,t),n(A(A({},dy),{},{icon:I.showMissingIcons&&e?wr("missingIconAbstract")||{}:{}}))})}var D0=()=>{},gc=I.measurePerformance&&Ga&&Ga.mark&&Ga.measure?Ga:{mark:D0,measure:D0},En='FA "6.7.2"',uy=e=>(gc.mark("".concat(En," ").concat(e," begins")),()=>Ef(e)),Ef=e=>{gc.mark("".concat(En," ").concat(e," ends")),gc.measure("".concat(En," ").concat(e),"".concat(En," ").concat(e," begins"),"".concat(En," ").concat(e," ends"))},wc={begin:uy,end:Ef},Va=()=>{};function $0(e){return typeof(e.getAttribute?e.getAttribute(oo):null)=="string"}function py(e){let t=e.getAttribute?e.getAttribute(xc):null,r=e.getAttribute?e.getAttribute(Sc):null;return t&&r}function hy(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(I.replacementClass)}function my(){return I.autoReplaceSvg===!0?ja.replace:ja[I.autoReplaceSvg]||ja.replace}function gy(e){return se.createElementNS("http://www.w3.org/2000/svg",e)}function yy(e){return se.createElement(e)}function Af(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{ceFn:r=e.tag==="svg"?gy:yy}=t;if(typeof e=="string")return se.createTextNode(e);let n=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){n.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){n.appendChild(Af(i,{ceFn:r}))}),n}function by(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var ja={replace:function(e){let t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(Af(r),t)}),t.getAttribute(oo)===null&&I.keepOriginalSource){let r=se.createComment(by(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){let t=e[0],r=e[1];if(~Oc(t).indexOf(I.replacementClass))return ja.replace(e);let n=new RegExp("".concat(I.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){let i=r[0].attributes.class.split(" ").reduce((s,c)=>(c===I.replacementClass||c.match(n)?s.toSvg.push(c):s.toNode.push(c),s),{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}let a=r.map(i=>Nn(i)).join(`
885
- `);t.setAttribute(oo,""),t.innerHTML=a}};function B0(e){e()}function Rf(e,t){let r=typeof t=="function"?t:Va;if(e.length===0)r();else{let n=B0;I.mutateApproach===Sg&&(n=Ar.requestAnimationFrame||B0),n(()=>{let a=my(),i=wc.begin("mutate");e.map(a),i(),r()})}}var _c=!1;function wf(){_c=!0}function yc(){_c=!1}var qa=null;function U0(e){if(!A0||!I.observeMutations)return;let{treeCallback:t=Va,nodeCallback:r=Va,pseudoElementsCallback:n=Va,observeMutationsRoot:a=se}=e;qa=new A0(i=>{if(_c)return;let s=Rr();Vo(i).forEach(c=>{if(c.type==="childList"&&c.addedNodes.length>0&&!$0(c.addedNodes[0])&&(I.searchPseudoElements&&n(c.target),t(c.target)),c.type==="attributes"&&c.target.parentNode&&I.searchPseudoElements&&n(c.target.parentNode),c.type==="attributes"&&$0(c.target)&&~Rg.indexOf(c.attributeName))if(c.attributeName==="class"&&py(c.target)){let{prefix:f,iconName:u}=Qa(Oc(c.target));c.target.setAttribute(xc,f||s),u&&c.target.setAttribute(Sc,u)}else hy(c.target)&&r(c.target)})}),fr&&qa.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function vy(){qa&&qa.disconnect()}function xy(e){let t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce((n,a)=>{let i=a.split(":"),s=i[0],c=i.slice(1);return s&&c.length>0&&(n[s]=c.join(":").trim()),n},{})),r}function Sy(e){let t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=Qa(Oc(e));return a.prefix||(a.prefix=Rr()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=Kg(a.prefix,e.innerText)||Ac(a.prefix,lc(e.innerText))),!a.iconName&&I.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Cy(e){let t=Vo(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return I.autoA11y&&(r?t["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(n||wn()):(t["aria-hidden"]="true",t.focusable="false")),t}function Oy(){return{iconName:null,title:null,titleId:null,prefix:null,transform:qt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function F0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:r,prefix:n,rest:a}=Sy(e),i=Cy(e),s=uc("parseNodeAttributes",{},e),c=t.styleParser?xy(e):[];return A({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:qt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:i}},s)}var{styles:Ly}=Zt;function _f(e){let t=I.autoReplaceSvg==="nest"?F0(e,{styleParser:!1}):F0(e);return~t.extra.classes.indexOf(lf)?wr("generateLayersText",e,t):wr("generateSvgReplacementMutation",e,t)}function Ey(){return[...ag,...oc]}function H0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!fr)return Promise.resolve();let r=se.documentElement.classList,n=m=>r.add("".concat(_0,"-").concat(m)),a=m=>r.remove("".concat(_0,"-").concat(m)),i=I.autoFetchSvg?Ey():tf.concat(Object.keys(Ly));i.includes("fa")||i.push("fa");let s=[".".concat(lf,":not([").concat(oo,"])")].concat(i.map(m=>".".concat(m,":not([").concat(oo,"])"))).join(", ");if(s.length===0)return Promise.resolve();let c=[];try{c=Vo(e.querySelectorAll(s))}catch{}if(c.length>0)n("pending"),a("complete");else return Promise.resolve();let f=wc.begin("onTree"),u=c.reduce((m,g)=>{try{let b=_f(g);b&&m.push(b)}catch(b){sf||b.name==="MissingIcon"&&console.error(b)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(b=>{Rf(b,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(b=>{f(),g(b)})})}function Ay(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;_f(e).then(r=>{r&&Rf([r],t)})}function Ry(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:pc(t||{}),{mask:a}=r;return a&&(a=(a||{}).icon?a:pc(a||{})),e(n,A(A({},r),{},{mask:a}))}}var wy=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=qt,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:c=null,classes:f=[],attributes:u={},styles:m={}}=t;if(!e)return;let{prefix:g,iconName:b,icon:S}=e;return Ja(A({type:"icon"},e),()=>(no("beforeDOMElementCreation",{iconDefinition:e,params:t}),I.autoA11y&&(s?u["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(c||wn()):(u["aria-hidden"]="true",u.focusable="false")),Rc({icons:{main:hc(S),mask:a?hc(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:b,transform:A(A({},qt),r),symbol:n,title:s,maskId:i,titleId:c,extra:{attributes:u,styles:m,classes:f}})))},_y={mixout(){return{icon:Ry(wy)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=H0,e.nodeCallback=Ay,e}}},provides(e){e.i2svg=function(t){let{node:r=se,callback:n=()=>{}}=t;return H0(r,n)},e.generateSvgReplacementMutation=function(t,r){let{iconName:n,title:a,titleId:i,prefix:s,transform:c,symbol:f,mask:u,maskId:m,extra:g}=r;return new Promise((b,S)=>{Promise.all([mc(n,s),u.iconName?mc(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(C=>{let[E,T]=C;b([t,Rc({icons:{main:E,mask:T},prefix:s,iconName:n,transform:c,symbol:f,maskId:m,title:a,titleId:i,extra:g,watchable:!0})])}).catch(S)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t,c=Ya(s);c.length>0&&(n.style=c);let f;return Lc(i)&&(f=wr("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(f||a.icon),{children:r,attributes:n}}}},Ty={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:r=[]}=t;return Ja({type:"layer"},()=>{no("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(a=>{Array.isArray(a)?a.map(i=>{n=n.concat(i.abstract)}):n=n.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(I.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Ny={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:r=null,classes:n=[],attributes:a={},styles:i={}}=t;return Ja({type:"counter",content:e},()=>(no("beforeDOMElementCreation",{content:e,params:t}),ly({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(I.cssPrefix,"-layers-counter"),...n]}})))}}}},ky={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=qt,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return Ja({type:"text",content:e},()=>(no("beforeDOMElementCreation",{content:e,params:t}),I0({content:e,transform:A(A({},qt),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(I.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){let{title:n,transform:a,extra:i}=r,s=null,c=null;if(J0){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,c=u.height/f}return I.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,I0({content:t.innerHTML,width:s,height:c,transform:a,title:n,extra:i,watchable:!0})])}}},My=new RegExp('"',"ug"),G0=[1105920,1112319],W0=A(A(A(A({},{FontAwesome:{normal:"fas",400:"fas"}}),rg),vg),ug),bc=Object.keys(W0).reduce((e,t)=>(e[t.toLowerCase()]=W0[t],e),{}),Py=Object.keys(bc).reduce((e,t)=>{let r=bc[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function zy(e){let t=e.replace(My,""),r=Hg(t,0),n=r>=G0[0]&&r<=G0[1],a=t.length===2?t[0]===t[1]:!1;return{value:lc(a?t[0]:t),isSecondary:n||a}}function Iy(e,t){let r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(bc[r]||{})[a]||Py[r]}function V0(e,t){let r="".concat(xg).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();let s=Vo(e.children).filter(b=>b.getAttribute(ac)===t)[0],c=Ar.getComputedStyle(e,t),f=c.getPropertyValue("font-family"),u=f.match(Eg),m=c.getPropertyValue("font-weight"),g=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&g!=="none"&&g!==""){let b=c.getPropertyValue("content"),S=Iy(f,m),{value:C,isSecondary:E}=zy(b),T=u[0].startsWith("FontAwesome"),M=Ac(S,C),N=M;if(T){let D=qg(C);D.iconName&&D.prefix&&(M=D.iconName,S=D.prefix)}if(M&&!E&&(!s||s.getAttribute(xc)!==S||s.getAttribute(Sc)!==N)){e.setAttribute(r,N),s&&e.removeChild(s);let D=Oy(),{extra:U}=D;U.attributes[ac]=t,mc(M,S).then(j=>{let de=Rc(A(A({},D),{},{icons:{main:j,mask:Of()},prefix:S,iconName:N,extra:U,watchable:!0})),Je=se.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Je,e.firstChild):e.appendChild(Je),Je.outerHTML=de.map(De=>Nn(De)).join(`
885
+ `);t.setAttribute(oo,""),t.innerHTML=a}};function B0(e){e()}function Rf(e,t){let r=typeof t=="function"?t:Va;if(e.length===0)r();else{let n=B0;I.mutateApproach===Sg&&(n=Ar.requestAnimationFrame||B0),n(()=>{let a=my(),i=wc.begin("mutate");e.map(a),i(),r()})}}var _c=!1;function wf(){_c=!0}function yc(){_c=!1}var qa=null;function U0(e){if(!A0||!I.observeMutations)return;let{treeCallback:t=Va,nodeCallback:r=Va,pseudoElementsCallback:n=Va,observeMutationsRoot:a=se}=e;qa=new A0(i=>{if(_c)return;let s=Rr();Vo(i).forEach(c=>{if(c.type==="childList"&&c.addedNodes.length>0&&!$0(c.addedNodes[0])&&(I.searchPseudoElements&&n(c.target),t(c.target)),c.type==="attributes"&&c.target.parentNode&&I.searchPseudoElements&&n(c.target.parentNode),c.type==="attributes"&&$0(c.target)&&~Rg.indexOf(c.attributeName))if(c.attributeName==="class"&&py(c.target)){let{prefix:f,iconName:u}=Qa(Oc(c.target));c.target.setAttribute(xc,f||s),u&&c.target.setAttribute(Sc,u)}else hy(c.target)&&r(c.target)})}),fr&&qa.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function vy(){qa&&qa.disconnect()}function xy(e){let t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce((n,a)=>{let i=a.split(":"),s=i[0],c=i.slice(1);return s&&c.length>0&&(n[s]=c.join(":").trim()),n},{})),r}function Sy(e){let t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=Qa(Oc(e));return a.prefix||(a.prefix=Rr()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=Kg(a.prefix,e.innerText)||Ac(a.prefix,lc(e.innerText))),!a.iconName&&I.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Cy(e){let t=Vo(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return I.autoA11y&&(r?t["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(n||wn()):(t["aria-hidden"]="true",t.focusable="false")),t}function Oy(){return{iconName:null,title:null,titleId:null,prefix:null,transform:qt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function F0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:r,prefix:n,rest:a}=Sy(e),i=Cy(e),s=uc("parseNodeAttributes",{},e),c=t.styleParser?xy(e):[];return A({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:qt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:i}},s)}var{styles:Ly}=Zt;function _f(e){let t=I.autoReplaceSvg==="nest"?F0(e,{styleParser:!1}):F0(e);return~t.extra.classes.indexOf(lf)?wr("generateLayersText",e,t):wr("generateSvgReplacementMutation",e,t)}function Ey(){return[...ag,...oc]}function H0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!fr)return Promise.resolve();let r=se.documentElement.classList,n=m=>r.add("".concat(_0,"-").concat(m)),a=m=>r.remove("".concat(_0,"-").concat(m)),i=I.autoFetchSvg?Ey():tf.concat(Object.keys(Ly));i.includes("fa")||i.push("fa");let s=[".".concat(lf,":not([").concat(oo,"])")].concat(i.map(m=>".".concat(m,":not([").concat(oo,"])"))).join(", ");if(s.length===0)return Promise.resolve();let c=[];try{c=Vo(e.querySelectorAll(s))}catch{}if(c.length>0)n("pending"),a("complete");else return Promise.resolve();let f=wc.begin("onTree"),u=c.reduce((m,g)=>{try{let b=_f(g);b&&m.push(b)}catch(b){sf||b.name==="MissingIcon"&&console.error(b)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(b=>{Rf(b,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(b=>{f(),g(b)})})}function Ay(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;_f(e).then(r=>{r&&Rf([r],t)})}function Ry(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:pc(t||{}),{mask:a}=r;return a&&(a=(a||{}).icon?a:pc(a||{})),e(n,A(A({},r),{},{mask:a}))}}var wy=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=qt,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:c=null,classes:f=[],attributes:u={},styles:m={}}=t;if(!e)return;let{prefix:g,iconName:b,icon:S}=e;return Ja(A({type:"icon"},e),()=>(no("beforeDOMElementCreation",{iconDefinition:e,params:t}),I.autoA11y&&(s?u["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(c||wn()):(u["aria-hidden"]="true",u.focusable="false")),Rc({icons:{main:hc(S),mask:a?hc(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:b,transform:A(A({},qt),r),symbol:n,title:s,maskId:i,titleId:c,extra:{attributes:u,styles:m,classes:f}})))},_y={mixout(){return{icon:Ry(wy)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=H0,e.nodeCallback=Ay,e}}},provides(e){e.i2svg=function(t){let{node:r=se,callback:n=()=>{}}=t;return H0(r,n)},e.generateSvgReplacementMutation=function(t,r){let{iconName:n,title:a,titleId:i,prefix:s,transform:c,symbol:f,mask:u,maskId:m,extra:g}=r;return new Promise((b,S)=>{Promise.all([mc(n,s),u.iconName?mc(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(C=>{let[E,T]=C;b([t,Rc({icons:{main:E,mask:T},prefix:s,iconName:n,transform:c,symbol:f,maskId:m,title:a,titleId:i,extra:g,watchable:!0})])}).catch(S)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t,c=Ya(s);c.length>0&&(n.style=c);let f;return Lc(i)&&(f=wr("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(f||a.icon),{children:r,attributes:n}}}},Ty={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:r=[]}=t;return Ja({type:"layer"},()=>{no("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(a=>{Array.isArray(a)?a.map(i=>{n=n.concat(i.abstract)}):n=n.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(I.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Ny={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:r=null,classes:n=[],attributes:a={},styles:i={}}=t;return Ja({type:"counter",content:e},()=>(no("beforeDOMElementCreation",{content:e,params:t}),ly({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(I.cssPrefix,"-layers-counter"),...n]}})))}}}},ky={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=qt,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return Ja({type:"text",content:e},()=>(no("beforeDOMElementCreation",{content:e,params:t}),I0({content:e,transform:A(A({},qt),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(I.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){let{title:n,transform:a,extra:i}=r,s=null,c=null;if(J0){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,c=u.height/f}return I.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,I0({content:t.innerHTML,width:s,height:c,transform:a,title:n,extra:i,watchable:!0})])}}},My=new RegExp('"',"ug"),G0=[1105920,1112319],W0=A(A(A(A({},{FontAwesome:{normal:"fas",400:"fas"}}),rg),vg),ug),bc=Object.keys(W0).reduce((e,t)=>(e[t.toLowerCase()]=W0[t],e),{}),Py=Object.keys(bc).reduce((e,t)=>{let r=bc[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function zy(e){let t=e.replace(My,""),r=Hg(t,0),n=r>=G0[0]&&r<=G0[1],a=t.length===2?t[0]===t[1]:!1;return{value:lc(a?t[0]:t),isSecondary:n||a}}function Iy(e,t){let r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(bc[r]||{})[a]||Py[r]}function V0(e,t){let r="".concat(xg).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();let s=Vo(e.children).filter(b=>b.getAttribute(ac)===t)[0],c=Ar.getComputedStyle(e,t),f=c.getPropertyValue("font-family"),u=f.match(Eg),m=c.getPropertyValue("font-weight"),g=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&g!=="none"&&g!==""){let b=c.getPropertyValue("content"),S=Iy(f,m),{value:C,isSecondary:E}=zy(b),T=u[0].startsWith("FontAwesome"),M=Ac(S,C),N=M;if(T){let D=qg(C);D.iconName&&D.prefix&&(M=D.iconName,S=D.prefix)}if(M&&!E&&(!s||s.getAttribute(xc)!==S||s.getAttribute(Sc)!==N)){e.setAttribute(r,N),s&&e.removeChild(s);let D=Oy(),{extra:U}=D;U.attributes[ac]=t,mc(M,S).then(j=>{let de=Rc(A(A({},D),{},{icons:{main:j,mask:Of()},prefix:S,iconName:N,extra:U,watchable:!0})),Je=se.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Je,e.firstChild):e.appendChild(Je),Je.outerHTML=de.map($e=>Nn($e)).join(`
886
886
  `),e.removeAttribute(r),n()}).catch(a)}else n()}else n()})}function Dy(e){return Promise.all([V0(e,"::before"),V0(e,"::after")])}function $y(e){return e.parentNode!==document.head&&!~Cg.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(ac)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function j0(e){if(fr)return new Promise((t,r)=>{let n=Vo(e.querySelectorAll("*")).filter($y).map(Dy),a=wc.begin("searchPseudoElements");wf(),Promise.all(n).then(()=>{a(),yc(),t()}).catch(()=>{a(),yc(),r()})})}var By={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=j0,e}}},provides(e){e.pseudoElements2svg=function(t){let{node:r=se}=t;I.searchPseudoElements&&j0(r)}}},K0=!1,Uy={mixout(){return{dom:{unwatch(){wf(),K0=!0}}}},hooks(){return{bootstrap(){U0(uc("mutationObserverCallbacks",{}))},noAuto(){vy()},watch(e){let{observeMutationsRoot:t}=e;K0?yc():U0(uc("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},q0=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,n)=>{let a=n.toLowerCase().split("-"),i=a[0],s=a.slice(1).join("-");if(i&&s==="h")return r.flipX=!0,r;if(i&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(i){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},t)},Fy={mixout(){return{parse:{transform:e=>q0(e)}}},hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-transform");return r&&(e.transform=q0(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:n,containerWidth:a,iconWidth:i}=t,s={transform:"translate(".concat(a/2," 256)")},c="translate(".concat(n.x*32,", ").concat(n.y*32,") "),f="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),u="rotate(".concat(n.rotate," 0 0)"),m={transform:"".concat(c," ").concat(f," ").concat(u)},g={transform:"translate(".concat(i/2*-1," -256)")},b={outer:s,inner:m,path:g};return{tag:"g",attributes:A({},b.outer),children:[{tag:"g",attributes:A({},b.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:A(A({},r.icon.attributes),b.path)}]}]}}}},tc={x:0,y:0,width:"100%",height:"100%"};function Z0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Hy(e){return e.tag==="g"?e.children:[e]}var Gy={hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-mask"),n=r?Qa(r.split(" ").map(a=>a.trim())):Of();return n.prefix||(n.prefix=Rr()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:n,main:a,mask:i,maskId:s,transform:c}=t,{width:f,icon:u}=a,{width:m,icon:g}=i,b=zg({transform:c,containerWidth:m,iconWidth:f}),S={tag:"rect",attributes:A(A({},tc),{},{fill:"white"})},C=u.children?{children:u.children.map(Z0)}:{},E={tag:"g",attributes:A({},b.inner),children:[Z0(A({tag:u.tag,attributes:A(A({},u.attributes),b.path)},C))]},T={tag:"g",attributes:A({},b.outer),children:[E]},M="mask-".concat(s||wn()),N="clip-".concat(s||wn()),D={tag:"mask",attributes:A(A({},tc),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[S,T]},U={tag:"defs",children:[{tag:"clipPath",attributes:{id:N},children:Hy(g)},D]};return r.push(U,{tag:"rect",attributes:A({fill:"currentColor","clip-path":"url(#".concat(N,")"),mask:"url(#".concat(M,")")},tc)}),{children:r,attributes:n}}}},Wy={provides(e){let t=!1;Ar.matchMedia&&(t=Ar.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){let r=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:A(A({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});let i=A(A({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:A(A({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:A(A({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:A(A({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:A(A({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:A(A({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:A(A({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:A(A({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},Vy={hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},jy=[$g,_y,Ty,Ny,ky,By,Uy,Fy,Gy,Wy,Vy];ry(jy,{mixoutsTo:pt});var bL=pt.noAuto,vL=pt.config,Tf=pt.library,xL=pt.dom,SL=pt.parse,CL=pt.findIconDefinition,OL=pt.toHtml,Nf=pt.icon,LL=pt.layer,EL=pt.text,AL=pt.counter;var h;(function(e){e.LOCK_KEYHOLE="lock-keyhole",e.LINK_SIMPLE_SLASH="link-simple-slash",e.TABLE_LAYOUT="table-layout",e.LAYER_GROUP="layer-group",e.CIRCLE_INFO="circle-info",e.BARS_PROGRESS="bars-progress",e.CODE_COMPARE="code-compare",e.HOURGLASS_END="hourglass-end",e.BOX_ARCHIVE="box-archive",e.ARROWS_ROTATE="arrows-rotate",e.CIRCLE_DOT="circle-dot",e.ANGLES_LEFT="angles-left",e.ROUTE="route",e.BARS="bars",e.ARROW_DOWN="arrow-down",e.LOCK_KEYHOLE_OPEN="lock-keyhole-open",e.DESKTOP="desktop",e.ANGLES_RIGHT="angles-right",e.PIGGY_BANK="piggy-bank",e.ANGLE_UP="angle-up",e.PEN_NIB="pen-nib",e.ARROW_UP_RIGHT_FROM_SQUARE="arrow-up-right-from-square",e.GRID_2="grid-2",e.BOOKS="books",e.TAG="tag",e.ANGLES_UP_DOWN="angles-up-down",e.ARROW_ROTATE_LEFT="arrow-rotate-left",e.EYE_SLASH="eye-slash",e.CIRCLE_DOLLAR="circle-dollar",e.COMPRESS="compress",e.RADAR="radar",e.ARROW_ROTATE_RIGHT="arrow-rotate-right",e.CHART_NETWORK="chart-network",e.PLUS="plus",e.UNDERLINE="underline",e.ARROW_LEFT="arrow-left",e.UPLOAD="upload",e.GLOBE="globe",e.LANGUAGE="language",e.TOGGLE_ON="toggle-on",e.DOWNLOAD="download",e.MESSAGE_QUOTE="message-quote",e.TRIANGLE_EXCLAMATION="triangle-exclamation",e.STAR="star",e.BELL_SLASH="bell-slash",e.HOURGLASS_HALF="hourglass-half",e.INBOX="inbox",e.COMMENT_DOTS="comment-dots",e.ANGLE_DOWN="angle-down",e.CLOUD_ARROW_DOWN="cloud-arrow-down",e.BOOKMARK_SLASH="bookmark-slash",e.LINK_SIMPLE="link-simple",e.CLOCK_ROTATE_LEFT="clock-rotate-left",e.SPINNER_THIRD="spinner-third",e.PLUG="plug",e.CHART_SIMPLE="chart-simple",e.CIRCLE_PLAY="circle-play",e.FILE_MAGNIFYING_GLASS="file-magnifying-glass",e.PEN="pen",e.TABLET="tablet",e.CIRCLE_CHECK="circle-check",e.FILE_INVOICE="file-invoice",e.XMARK="xmark",e.ARROW_RIGHT="arrow-right",e.BOOKMARK="bookmark",e.EXPAND_WIDE="expand-wide",e.USER="user",e.SERVER="server",e.CALENDAR_RANGE="calendar-range",e.BROOM_WIDE="broom-wide",e.ARROWS_UP_DOWN_LEFT_RIGHT="arrows-up-down-left-right",e.WIFI_SLASH="wifi-slash",e.CHECK="check",e.ITALIC="italic",e.LIFE_RING="life-ring",e.TABLE_CELLS="table-cells",e.TRASH_CAN="trash-can",e.WRENCH="wrench",e.PAPERCLIP="paperclip",e.CABINET_FILING="cabinet-filing",e.ARROW_UP="arrow-up",e.FILE="file",e.CIRCLE_QUESTION="circle-question",e.COLUMNS_3="columns-3",e.GEAR="gear",e.CHART_LINE="chart-line",e.THUMBS_UP="thumbs-up",e.HAND="hand",e.CIRCLE="circle",e.CALENDAR_DAY="calendar-day",e.CLOUD="cloud",e.LIST_TREE="list-tree",e.ANGLE_RIGHT="angle-right",e.CODE="code",e.ALIGN_CENTER="align-center",e.COMMENT_QUESTION="comment-question",e.IMAGE="image",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="arrow-up-right-and-arrow-down-left-from-center",e.THUMBS_DOWN="thumbs-down",e.DIAGRAM_SANKEY="diagram-sankey",e.MESSAGE_CHECK="message-check",e.BOLD="bold",e.CIRCLE_STOP="circle-stop",e.ARROW_RIGHT_TO_BRACKET="arrow-right-to-bracket",e.USERS="users",e.ARROW_TURN_DOWN_RIGHT="arrow-turn-down-right",e.PRINT="print",e.ALIGN_RIGHT="align-right",e.FLASK="flask",e.MAGNIFYING_GLASS_PLUS="magnifying-glass-plus",e.SHIELD_CHECK="shield-check",e.STRIKETHROUGH="strikethrough",e.FOLDER_OPEN="folder-open",e.CLONE="clone",e.HEART="heart",e.PAPER_PLANE="paper-plane",e.MAGNIFYING_GLASS_MINUS="magnifying-glass-minus",e.BOOK="book",e.CLOCK="clock",e.ELLIPSIS_VERTICAL="ellipsis-vertical",e.ARROW_RIGHT_TO_LINE="arrow-right-to-line",e.ANGLE_LEFT="angle-left",e.CALENDAR_CIRCLE_EXCLAMATION="calendar-circle-exclamation",e.EXPAND="expand",e.EQUALS="equals",e.RECEIPT="receipt",e.EYE="eye",e.ALIGN_LEFT="align-left",e.PAINTBRUSH="paintbrush",e.KEY="key",e.PALETTE="palette",e.FLOPPY_DISK="floppy-disk",e.MAGNIFYING_GLASS="magnifying-glass",e.ELLIPSIS="ellipsis",e.SHARE_NODES="share-nodes",e.ARROWS_FROM_LINE="arrows-from-line",e.POWER_OFF="power-off",e.ENVELOPE_OPEN_TEXT="envelope-open-text",e.CIRCLE_PAUSE="circle-pause",e.MOBILE="mobile",e.BELL="bell",e.FILTER="filter",e.MEDAL="medal",e.CLOUD_SLASH="cloud-slash",e.MINUS="minus",e.PASTE="paste",e.CALENDAR_CHECK="calendar-check",e.HEXAGON_XMARK="hexagon-xmark",e.PAUSE="pause",e.CHART_MIXED="chart-mixed",e.ROBOT="robot",e.WAND_MAGIC_SPARKLES="wand-magic-sparkles",e.HEXAGON_EXCLAMATION="hexagon-exclamation",e.CUBES="cubes",e.TURN_RIGHT="turn-right",e.SQUARE_INFO="square-info",e.MESSAGE_BOT="message-bot",e.PLAY="play",e.TURN_LEFT="turn-left",e.ADDRESS_CARD="address-card",e.CROWN="crown",e.GRIP_LINES="grip-lines",e.CHART_AREA="chart-area",e.TRASH="trash",e.USER_TIE="user-tie",e.CIRCLE_SMALL="circle-small",e.REGULAR_FOLDER_OPEN_LOCK="regular-folder-open-lock",e.REGULAR_USER_CIRCLE_CHECK="regular-user-circle-check",e.SOLID_LEFT_PANEL="solid-left-panel",e.REGULAR_BINDER_OPEN="regular-binder-open",e.REGULAR_BOOKMARK_CIRCLE_PLUS="regular-bookmark-circle-plus",e.REGULAR_DIAGRAM_SUNBURST="regular-diagram-sunburst",e.REGULAR_PREVIEW="regular-preview",e.REGULAR_CONTEXT="regular-context",e.REGULAR_MOBILE_LANDSCAPE="regular-mobile-landscape",e.SOLID_FILE_ROTATE_RIGHT="solid-file-rotate-right",e.REGULAR_PIP_WIDE="regular-pip-wide",e.REGULAR_CLONE_LINK_SIMPLE="regular-clone-link-simple",e.REGULAR_LEFT_PANEL="regular-left-panel",e.LIGHT_FILE_LINES_GEAR="light-file-lines-gear",e.REGULAR_FILE_LINES_GEAR="regular-file-lines-gear",e.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION="regular-circle-dashed-dollar-question",e.REGULAR_TABLE_CELLS_SLASH="regular-table-cells-slash",e.REGULAR_BOOK_OPEN_GEAR_SLASH="regular-book-open-gear-slash",e.REGULAR_TABLET_LANDSCAPE="regular-tablet-landscape",e.REGULAR_CHART_BAR_STACKED="regular-chart-bar-stacked",e.SOLID_CIRCLE_USER_CIRCLE_CHECK="solid-circle-user-circle-check",e.REGULAR_BULLETS_LINE="regular-bullets-line",e.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION="regular-language-circle-exclamation",e.SOLID_CODE_COMPARE="solid-code-compare",e.REGULAR_FORMAT_CLEAR="regular-format-clear",e.REGULAR_MAGNIFYING_GLASS_BACK="regular-magnifying-glass-back",e.LIGHT_RECEIPT_GEAR="light-receipt-gear",e.REGULAR_BINDER_OPEN_ARROW_LEFT="regular-binder-open-arrow-left",e.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK="regular-hourglass-half-circle-check",e.REGULAR_THRESHOLD="regular-threshold",e.REGULAR_PIP="regular-pip",e.REGULAR_USER_GEAR="regular-user-gear",e.REGULAR_BELL_CIRCLE_PLUS="regular-bell-circle-plus",e.REGULAR_CLOUD_SLASH_GEAR="regular-cloud-slash-gear",e.REGULAR_HOUSE_MAGNIFYING_GLASS="regular-house-magnifying-glass",e.SOLID_CIRCLE_USER_SLASH="solid-circle-user-slash",e.REGULAR_LIST_MAGNIFYING_GLASS="regular-list-magnifying-glass",e.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS="regular-computer-mouse-magnifying-glass",e.REGULAR_LANGUAGE_SLASH="regular-language-slash",e.REGULAR_CHART_BAR_GROUPED="regular-chart-bar-grouped",e.REGULAR_CONSUMER="regular-consumer",e.REGULAR_CHART_BAR_NORMALIZED="regular-chart-bar-normalized",e.REGULAR_USER_LOCK="regular-user-lock",e.REGULAR_CIRCLE_DOLLAR_SLASH="regular-circle-dollar-slash",e.REGULAR_BINDER_OPEN_ARROW_RIGHT="regular-binder-open-arrow-right",e.REGULAR_BULLETS_LINES="regular-bullets-lines",e.REGULAR_BINDER_OPEN_PEN="regular-binder-open-pen",e.REGULAR_BOOKMARK_CIRCLE_MINUS="regular-bookmark-circle-minus",e.REGULAR_MAGNIFYING_GLASS_ONE="regular-magnifying-glass-one",e.REGULAR_BOOK_OPEN_GEAR="regular-book-open-gear",e.LIGHT_BOOK_OPEN_GEAR="light-book-open-gear"})(h||(h={}));var _L={[h.LOCK_KEYHOLE]:[p.regular,p.solid],[h.LINK_SIMPLE_SLASH]:[p.regular],[h.TABLE_LAYOUT]:[p.regular],[h.LAYER_GROUP]:[p.regular],[h.CIRCLE_INFO]:[p.regular],[h.BARS_PROGRESS]:[p.regular],[h.CODE_COMPARE]:[p.regular,p.solid],[h.HOURGLASS_END]:[p.regular],[h.BOX_ARCHIVE]:[p.regular,p.solid],[h.ARROWS_ROTATE]:[p.regular],[h.CIRCLE_DOT]:[p.regular],[h.ANGLES_LEFT]:[p.regular],[h.ROUTE]:[p.regular],[h.BARS]:[p.regular],[h.ARROW_DOWN]:[p.regular],[h.LOCK_KEYHOLE_OPEN]:[p.regular,p.solid],[h.DESKTOP]:[p.regular],[h.ANGLES_RIGHT]:[p.regular],[h.PIGGY_BANK]:[p.regular],[h.ANGLE_UP]:[p.regular],[h.PEN_NIB]:[p.regular],[h.ARROW_UP_RIGHT_FROM_SQUARE]:[p.regular],[h.GRID_2]:[p.regular],[h.BOOKS]:[p.regular],[h.TAG]:[p.regular,p.solid],[h.ANGLES_UP_DOWN]:[p.regular],[h.ARROW_ROTATE_LEFT]:[p.regular],[h.EYE_SLASH]:[p.regular],[h.CIRCLE_DOLLAR]:[p.regular,p.solid],[h.COMPRESS]:[p.regular],[h.RADAR]:[p.regular],[h.ARROW_ROTATE_RIGHT]:[p.regular],[h.CHART_NETWORK]:[p.regular],[h.PLUS]:[p.regular],[h.UNDERLINE]:[p.regular],[h.ARROW_LEFT]:[p.regular],[h.UPLOAD]:[p.regular],[h.GLOBE]:[p.regular],[h.LANGUAGE]:[p.regular],[h.TOGGLE_ON]:[p.regular],[h.DOWNLOAD]:[p.regular],[h.MESSAGE_QUOTE]:[p.regular,p.solid],[h.TRIANGLE_EXCLAMATION]:[p.regular,p.solid],[h.STAR]:[p.regular,p.solid],[h.BELL_SLASH]:[p.regular,p.solid],[h.HOURGLASS_HALF]:[p.regular],[h.INBOX]:[p.regular],[h.COMMENT_DOTS]:[p.regular],[h.ANGLE_DOWN]:[p.regular],[h.CLOUD_ARROW_DOWN]:[p.regular],[h.BOOKMARK_SLASH]:[p.regular],[h.LINK_SIMPLE]:[p.regular],[h.CLOCK_ROTATE_LEFT]:[p.regular],[h.SPINNER_THIRD]:[p.regular],[h.PLUG]:[p.regular],[h.CHART_SIMPLE]:[p.regular],[h.CIRCLE_PLAY]:[p.regular],[h.FILE_MAGNIFYING_GLASS]:[p.regular],[h.PEN]:[p.regular],[h.TABLET]:[p.regular],[h.CIRCLE_CHECK]:[p.regular,p.solid],[h.FILE_INVOICE]:[p.regular],[h.XMARK]:[p.regular,p.solid],[h.ARROW_RIGHT]:[p.regular],[h.BOOKMARK]:[p.regular,p.solid],[h.EXPAND_WIDE]:[p.regular],[h.USER]:[p.regular,p.solid],[h.SERVER]:[p.regular,p.solid],[h.CALENDAR_RANGE]:[p.regular],[h.BROOM_WIDE]:[p.regular],[h.ARROWS_UP_DOWN_LEFT_RIGHT]:[p.regular],[h.WIFI_SLASH]:[p.regular],[h.CHECK]:[p.regular,p.solid],[h.ITALIC]:[p.regular],[h.LIFE_RING]:[p.regular],[h.TABLE_CELLS]:[p.regular],[h.TRASH_CAN]:[p.regular],[h.WRENCH]:[p.regular],[h.PAPERCLIP]:[p.regular],[h.CABINET_FILING]:[p.regular],[h.ARROW_UP]:[p.regular],[h.FILE]:[p.regular],[h.CIRCLE_QUESTION]:[p.regular,p.solid],[h.COLUMNS_3]:[p.regular],[h.GEAR]:[p.regular,p.solid],[h.CHART_LINE]:[p.regular],[h.THUMBS_UP]:[p.regular,p.solid],[h.HAND]:[p.regular],[h.CIRCLE]:[p.regular,p.solid],[h.CALENDAR_DAY]:[p.regular],[h.CLOUD]:[p.regular],[h.LIST_TREE]:[p.regular],[h.ANGLE_RIGHT]:[p.regular],[h.CODE]:[p.regular],[h.ALIGN_CENTER]:[p.regular],[h.COMMENT_QUESTION]:[p.regular,p.solid],[h.IMAGE]:[p.regular],[h.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER]:[p.regular],[h.THUMBS_DOWN]:[p.regular,p.solid],[h.DIAGRAM_SANKEY]:[p.regular],[h.MESSAGE_CHECK]:[p.regular,p.solid],[h.BOLD]:[p.regular],[h.CIRCLE_STOP]:[p.regular,p.solid],[h.ARROW_RIGHT_TO_BRACKET]:[p.regular],[h.USERS]:[p.regular,p.solid],[h.ARROW_TURN_DOWN_RIGHT]:[p.regular],[h.PRINT]:[p.regular],[h.ALIGN_RIGHT]:[p.regular],[h.FLASK]:[p.regular],[h.MAGNIFYING_GLASS_PLUS]:[p.regular],[h.SHIELD_CHECK]:[p.regular],[h.STRIKETHROUGH]:[p.regular],[h.FOLDER_OPEN]:[p.regular],[h.CLONE]:[p.regular],[h.HEART]:[p.regular,p.solid],[h.PAPER_PLANE]:[p.regular],[h.MAGNIFYING_GLASS_MINUS]:[p.regular],[h.BOOK]:[p.regular],[h.CLOCK]:[p.regular,p.solid],[h.ELLIPSIS_VERTICAL]:[p.regular],[h.ARROW_RIGHT_TO_LINE]:[p.regular],[h.ANGLE_LEFT]:[p.regular],[h.CALENDAR_CIRCLE_EXCLAMATION]:[p.regular],[h.EXPAND]:[p.regular],[h.EQUALS]:[p.regular],[h.RECEIPT]:[p.regular],[h.EYE]:[p.regular],[h.ALIGN_LEFT]:[p.regular],[h.PAINTBRUSH]:[p.regular],[h.KEY]:[p.regular],[h.PALETTE]:[p.regular],[h.FLOPPY_DISK]:[p.regular],[h.MAGNIFYING_GLASS]:[p.regular],[h.ELLIPSIS]:[p.regular],[h.SHARE_NODES]:[p.regular],[h.ARROWS_FROM_LINE]:[p.regular],[h.POWER_OFF]:[p.regular],[h.ENVELOPE_OPEN_TEXT]:[p.regular],[h.CIRCLE_PAUSE]:[p.regular,p.solid],[h.MOBILE]:[p.regular],[h.BELL]:[p.regular,p.solid],[h.FILTER]:[p.regular,p.solid],[h.MEDAL]:[p.regular],[h.CLOUD_SLASH]:[p.regular],[h.MINUS]:[p.regular,p.solid],[h.PASTE]:[p.regular],[h.CALENDAR_CHECK]:[p.regular],[h.HEXAGON_XMARK]:[p.solid],[h.PAUSE]:[p.solid],[h.CHART_MIXED]:[p.solid],[h.ROBOT]:[p.solid],[h.WAND_MAGIC_SPARKLES]:[p.solid],[h.HEXAGON_EXCLAMATION]:[p.solid],[h.CUBES]:[p.solid],[h.TURN_RIGHT]:[p.solid],[h.SQUARE_INFO]:[p.solid],[h.MESSAGE_BOT]:[p.solid],[h.PLAY]:[p.solid],[h.TURN_LEFT]:[p.solid],[h.ADDRESS_CARD]:[p.solid],[h.CROWN]:[p.solid],[h.GRIP_LINES]:[p.solid],[h.CHART_AREA]:[p.solid],[h.TRASH]:[p.solid],[h.USER_TIE]:[p.solid],[h.CIRCLE_SMALL]:[p.solid],[h.REGULAR_FOLDER_OPEN_LOCK]:[p.custom],[h.REGULAR_USER_CIRCLE_CHECK]:[p.custom],[h.SOLID_LEFT_PANEL]:[p.custom],[h.REGULAR_BINDER_OPEN]:[p.custom],[h.REGULAR_BOOKMARK_CIRCLE_PLUS]:[p.custom],[h.REGULAR_DIAGRAM_SUNBURST]:[p.custom],[h.REGULAR_PREVIEW]:[p.custom],[h.REGULAR_CONTEXT]:[p.custom],[h.REGULAR_MOBILE_LANDSCAPE]:[p.custom],[h.SOLID_FILE_ROTATE_RIGHT]:[p.custom],[h.REGULAR_PIP_WIDE]:[p.custom],[h.REGULAR_CLONE_LINK_SIMPLE]:[p.custom],[h.REGULAR_LEFT_PANEL]:[p.custom],[h.LIGHT_FILE_LINES_GEAR]:[p.custom],[h.REGULAR_FILE_LINES_GEAR]:[p.custom],[h.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION]:[p.custom],[h.REGULAR_TABLE_CELLS_SLASH]:[p.custom],[h.REGULAR_BOOK_OPEN_GEAR_SLASH]:[p.custom],[h.REGULAR_TABLET_LANDSCAPE]:[p.custom],[h.REGULAR_CHART_BAR_STACKED]:[p.custom],[h.SOLID_CIRCLE_USER_CIRCLE_CHECK]:[p.custom],[h.REGULAR_BULLETS_LINE]:[p.custom],[h.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION]:[p.custom],[h.SOLID_CODE_COMPARE]:[p.custom],[h.REGULAR_FORMAT_CLEAR]:[p.custom],[h.REGULAR_MAGNIFYING_GLASS_BACK]:[p.custom],[h.LIGHT_RECEIPT_GEAR]:[p.custom],[h.REGULAR_BINDER_OPEN_ARROW_LEFT]:[p.custom],[h.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK]:[p.custom],[h.REGULAR_THRESHOLD]:[p.custom],[h.REGULAR_PIP]:[p.custom],[h.REGULAR_USER_GEAR]:[p.custom],[h.REGULAR_BELL_CIRCLE_PLUS]:[p.custom],[h.REGULAR_CLOUD_SLASH_GEAR]:[p.custom],[h.REGULAR_HOUSE_MAGNIFYING_GLASS]:[p.custom],[h.SOLID_CIRCLE_USER_SLASH]:[p.custom],[h.REGULAR_LIST_MAGNIFYING_GLASS]:[p.custom],[h.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS]:[p.custom],[h.REGULAR_LANGUAGE_SLASH]:[p.custom],[h.REGULAR_CHART_BAR_GROUPED]:[p.custom],[h.REGULAR_CONSUMER]:[p.custom],[h.REGULAR_CHART_BAR_NORMALIZED]:[p.custom],[h.REGULAR_USER_LOCK]:[p.custom],[h.REGULAR_CIRCLE_DOLLAR_SLASH]:[p.custom],[h.REGULAR_BINDER_OPEN_ARROW_RIGHT]:[p.custom],[h.REGULAR_BULLETS_LINES]:[p.custom],[h.REGULAR_BINDER_OPEN_PEN]:[p.custom],[h.REGULAR_BOOKMARK_CIRCLE_MINUS]:[p.custom],[h.REGULAR_MAGNIFYING_GLASS_ONE]:[p.custom],[h.REGULAR_BOOK_OPEN_GEAR]:[p.custom],[h.LIGHT_BOOK_OPEN_GEAR]:[p.custom]},kf={[p.regular]:"far",[p.solid]:"fas",[p.custom]:"fak"};var ei=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Yt=class extends Pf.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return Mf.html`
887
887
  <div class="${(0,If.classMap)(t)}">${(0,zf.unsafeHTML)(this.buildIcon())}</div>
888
888
  `}buildIcon(){let t=this.variant?kf[this.variant]:void 0,r=Zs.find(n=>n.iconName===this.icon&&(t?n.prefix===t:!0));return r?(Tf.add(r),Nf(r).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};Yt.elementDefinitions={};Yt.styles=m2;ei([(0,kn.property)()],Yt.prototype,"variant",void 0);ei([(0,kn.property)()],Yt.prototype,"icon",void 0);ei([(0,kn.property)({type:Boolean})],Yt.prototype,"monospace",void 0);ei([(0,kn.property)({reflect:!0,attribute:"aria-hidden"})],Yt.prototype,"ariaHidden",void 0);var Tc=y(w());(0,Tc.customElement)("ft-icon")(he);(0,Tc.customElement)("ftds-icon")(Yt);var jn=y($()),V=y(w());var Wn=y(q()),Mu=y(w());var Ff=y($()),W=y(w());var Df=y($()),Mn=y(w()),ue={color:Mn.FtCssVariableFactory.extend("--ft-loader-color","",Mn.designSystemVariables.colorPrimary),size:Mn.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},$f=Df.css`
@@ -1122,7 +1122,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1122
1122
  position: relative;
1123
1123
  word-break: break-word;
1124
1124
  }
1125
- `;var jf=["top","right","bottom","left"],Vf=["start","end"],Mc=jf.reduce((e,t)=>e.concat(t,t+"-"+Vf[0],t+"-"+Vf[1]),[]),zn=Math.min,Tr=Math.max,In=Math.round;var It=e=>({x:e,y:e}),Ky={left:"right",right:"left",bottom:"top",top:"bottom"};function Pc(e,t,r){return Tr(e,zn(t,r))}function ti(e,t){return typeof e=="function"?e(t):e}function jo(e){return e.split("-")[0]}function Nr(e){return e.split("-")[1]}function zc(e){return e==="x"?"y":"x"}function Ic(e){return e==="y"?"height":"width"}function ri(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Dc(e){return zc(ri(e))}function Kf(e,t,r){r===void 0&&(r=!1);let n=Nr(e),a=Dc(e),i=Ic(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=kc(s)),[s,kc(s)]}function qf(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function kc(e){let t=jo(e);return Ky[t]+e.slice(t.length)}function qy(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zf(e){return typeof e!="number"?qy(e):{top:e,right:e,bottom:e,left:e}}function ao(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Yf(e,t,r){let{reference:n,floating:a}=e,i=ri(t),s=Dc(t),c=Ic(s),f=jo(t),u=i==="y",m=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,b=n[c]/2-a[c]/2,S;switch(f){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:g};break;case"left":S={x:n.x-a.width,y:g};break;default:S={x:n.x,y:n.y}}switch(Nr(t)){case"start":S[s]-=b*(r&&u?-1:1);break;case"end":S[s]+=b*(r&&u?-1:1);break}return S}async function Xf(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:c,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=ti(t,e),C=Zf(S),T=c[b?g==="floating"?"reference":"floating":g],M=ao(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(T)))==null||r?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:m,strategy:f})),N=g==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),U=await(i.isElement==null?void 0:i.isElement(D))?await(i.getScale==null?void 0:i.getScale(D))||{x:1,y:1}:{x:1,y:1},j=ao(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:N,offsetParent:D,strategy:f}):N);return{top:(M.top-j.top+C.top)/U.y,bottom:(j.bottom-M.bottom+C.bottom)/U.y,left:(M.left-j.left+C.left)/U.x,right:(j.right-M.right+C.right)/U.x}}var Zy=50,Qf=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:Xf},f=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:g}=Yf(u,n,f),b=n,S=0,C={};for(let E=0;E<i.length;E++){let T=i[E];if(!T)continue;let{name:M,fn:N}=T,{x:D,y:U,data:j,reset:de}=await N({x:m,y:g,initialPlacement:n,placement:b,strategy:a,middlewareData:C,rects:u,platform:c,elements:{reference:e,floating:t}});m=D??m,g=U??g,C[M]={...C[M],...j},de&&S<Zy&&(S++,typeof de=="object"&&(de.placement&&(b=de.placement),de.rects&&(u=de.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):de.rects),{x:m,y:g}=Yf(u,b,f)),E=-1)}return{x:m,y:g,placement:b,strategy:a,middlewareData:C}};function Yy(e,t,r){return(e?[...r.filter(a=>Nr(a)===e),...r.filter(a=>Nr(a)!==e)]:r.filter(a=>jo(a)===a)).filter(a=>e?Nr(a)===e||(t?qf(a)!==a:!1):!0)}var Jf=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:c,platform:f,elements:u}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:b=Mc,autoAlignment:S=!0,...C}=ti(e,t),E=g!==void 0||b===Mc?Yy(g||null,S,b):b,T=await f.detectOverflow(t,C),M=((r=s.autoPlacement)==null?void 0:r.index)||0,N=E[M];if(N==null)return{};let D=Kf(N,i,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(c!==N)return{reset:{placement:E[0]}};let U=[T[jo(N)],T[D[0]],T[D[1]]],j=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:U}],de=E[M+1];if(de)return{data:{index:M+1,overflows:j},reset:{placement:de}};let Je=j.map($e=>{let x=Nr($e.placement);return[$e.placement,x&&m?$e.overflows.slice(0,2).reduce((L,F)=>L+F,0):$e.overflows[0],$e.overflows]}).sort(($e,x)=>$e[1]-x[1]),Wt=((a=Je.filter($e=>$e[2].slice(0,Nr($e[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||Je[0][0];return Wt!==c?{data:{index:M+1,overflows:j},reset:{placement:Wt}}:{}}}};var eu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:f={fn:M=>{let{x:N,y:D}=M;return{x:N,y:D}}},...u}=ti(e,t),m={x:r,y:n},g=await i.detectOverflow(t,u),b=ri(jo(a)),S=zc(b),C=m[S],E=m[b];if(s){let M=S==="y"?"top":"left",N=S==="y"?"bottom":"right",D=C+g[M],U=C-g[N];C=Pc(D,C,U)}if(c){let M=b==="y"?"top":"left",N=b==="y"?"bottom":"right",D=E+g[M],U=E-g[N];E=Pc(D,E,U)}let T=f.fn({...t,[S]:C,[b]:E});return{...T,data:{x:T.x-r,y:T.y-n,enabled:{[S]:s,[b]:c}}}}}};function ni(){return typeof window<"u"}function so(e){return ru(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){var t;return(t=(ru(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ru(e){return ni()?e instanceof Node||e instanceof nt(e).Node:!1}function Et(e){return ni()?e instanceof Element||e instanceof nt(e).Element:!1}function Jt(e){return ni()?e instanceof HTMLElement||e instanceof nt(e).HTMLElement:!1}function tu(e){return!ni()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function Ko(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=At(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function ou(e){return/^(table|td|th)$/.test(so(e))}function Dn(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Xy=/transform|translate|scale|rotate|perspective|filter/,Qy=/paint|layout|strict|content/,io=e=>!!e&&e!=="none",$c;function ai(e){let t=Et(e)?At(e):e;return io(t.transform)||io(t.translate)||io(t.scale)||io(t.rotate)||io(t.perspective)||!ii()&&(io(t.backdropFilter)||io(t.filter))||Xy.test(t.willChange||"")||Qy.test(t.contain||"")}function nu(e){let t=ur(e);for(;Jt(t)&&!co(t);){if(ai(t))return t;if(Dn(t))return null;t=ur(t)}return null}function ii(){return $c==null&&($c=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),$c}function co(e){return/^(html|body|#document)$/.test(so(e))}function At(e){return nt(e).getComputedStyle(e)}function $n(e){return Et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ur(e){if(so(e)==="html")return e;let t=e.assignedSlot||e.parentNode||tu(e)&&e.host||Qt(e);return tu(t)?t.host:t}function au(e){let t=ur(e);return co(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jt(t)&&Ko(t)?t:au(t)}function oi(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=au(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=nt(a);if(i){let c=si(s);return t.concat(s,s.visualViewport||[],Ko(a)?a:[],c&&r?oi(c):[])}else return t.concat(a,oi(a,[],r))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lu(e){let t=At(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Jt(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,c=In(r)!==i||In(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function du(e){return Et(e)?e:e.contextElement}function qo(e){let t=du(e);if(!Jt(t))return It(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=lu(t),s=(i?In(r.width):r.width)/n,c=(i?In(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Jy=It(0);function fu(e){let t=nt(e);return!ii()||!t.visualViewport?Jy:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function e5(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==nt(e)?!1:t}function Bn(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=du(e),s=It(1);t&&(n?Et(n)&&(s=qo(n)):s=qo(e));let c=e5(i,r,n)?fu(i):It(0),f=(a.left+c.x)/s.x,u=(a.top+c.y)/s.y,m=a.width/s.x,g=a.height/s.y;if(i){let b=nt(i),S=n&&Et(n)?nt(n):n,C=b,E=si(C);for(;E&&n&&S!==C;){let T=qo(E),M=E.getBoundingClientRect(),N=At(E),D=M.left+(E.clientLeft+parseFloat(N.paddingLeft))*T.x,U=M.top+(E.clientTop+parseFloat(N.paddingTop))*T.y;f*=T.x,u*=T.y,m*=T.x,g*=T.y,f+=D,u+=U,C=nt(E),E=si(C)}}return ao({width:m,height:g,x:f,y:u})}function ci(e,t){let r=$n(e).scrollLeft;return t?t.left+r:Bn(Qt(e)).left+r}function uu(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-ci(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function t5(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=Qt(n),c=t?Dn(t.floating):!1;if(n===s||c&&i)return r;let f={scrollLeft:0,scrollTop:0},u=It(1),m=It(0),g=Jt(n);if((g||!g&&!i)&&((so(n)!=="body"||Ko(s))&&(f=$n(n)),g)){let S=Bn(n);u=qo(n),m.x=S.x+n.clientLeft,m.y=S.y+n.clientTop}let b=s&&!g&&!i?uu(s,f):It(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-f.scrollLeft*u.x+m.x+b.x,y:r.y*u.y-f.scrollTop*u.y+m.y+b.y}}function r5(e){return Array.from(e.getClientRects())}function o5(e){let t=Qt(e),r=$n(e),n=e.ownerDocument.body,a=Tr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Tr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+ci(e),c=-r.scrollTop;return At(n).direction==="rtl"&&(s+=Tr(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:c}}var iu=25;function n5(e,t){let r=nt(e),n=Qt(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,c=0,f=0;if(a){i=a.width,s=a.height;let m=ii();(!m||m&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}let u=ci(n);if(u<=0){let m=n.ownerDocument,g=m.body,b=getComputedStyle(g),S=m.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,C=Math.abs(n.clientWidth-g.clientWidth-S);C<=iu&&(i-=C)}else u<=iu&&(i+=u);return{width:i,height:s,x:c,y:f}}function a5(e,t){let r=Bn(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=Jt(e)?qo(e):It(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,f=a*i.x,u=n*i.y;return{width:s,height:c,x:f,y:u}}function su(e,t,r){let n;if(t==="viewport")n=n5(e,r);else if(t==="document")n=o5(Qt(e));else if(Et(t))n=a5(t,r);else{let a=fu(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return ao(n)}function pu(e,t){let r=ur(e);return r===t||!Et(r)||co(r)?!1:At(r).position==="fixed"||pu(r,t)}function i5(e,t){let r=t.get(e);if(r)return r;let n=oi(e,[],!1).filter(c=>Et(c)&&so(c)!=="body"),a=null,i=At(e).position==="fixed",s=i?ur(e):e;for(;Et(s)&&!co(s);){let c=At(s),f=ai(s);!f&&c.position==="fixed"&&(a=null),(i?!f&&!a:!f&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Ko(s)&&!f&&pu(e,s))?n=n.filter(m=>m!==s):a=c,s=ur(s)}return t.set(e,n),n}function s5(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?Dn(t)?[]:i5(t,this._c):[].concat(r),n],c=su(t,s[0],a),f=c.top,u=c.right,m=c.bottom,g=c.left;for(let b=1;b<s.length;b++){let S=su(t,s[b],a);f=Tr(S.top,f),u=zn(S.right,u),m=zn(S.bottom,m),g=Tr(S.left,g)}return{width:u-g,height:m-f,x:g,y:f}}function c5(e){let{width:t,height:r}=lu(e);return{width:t,height:r}}function l5(e,t,r){let n=Jt(t),a=Qt(t),i=r==="fixed",s=Bn(e,!0,i,t),c={scrollLeft:0,scrollTop:0},f=It(0);function u(){f.x=ci(a)}if(n||!n&&!i)if((so(t)!=="body"||Ko(a))&&(c=$n(t)),n){let S=Bn(t,!0,i,t);f.x=S.x+t.clientLeft,f.y=S.y+t.clientTop}else a&&u();i&&!n&&a&&u();let m=a&&!n&&!i?uu(a,c):It(0),g=s.left+c.scrollLeft-f.x-m.x,b=s.top+c.scrollTop-f.y-m.y;return{x:g,y:b,width:s.width,height:s.height}}function Bc(e){return At(e).position==="static"}function cu(e,t){if(!Jt(e)||At(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Qt(e)===r&&(r=r.ownerDocument.body),r}function hu(e,t){let r=nt(e);if(Dn(e))return r;if(!Jt(e)){let a=ur(e);for(;a&&!co(a);){if(Et(a)&&!Bc(a))return a;a=ur(a)}return r}let n=cu(e,t);for(;n&&ou(n)&&Bc(n);)n=cu(n,t);return n&&co(n)&&Bc(n)&&!ai(n)?r:n||nu(e)||r}var d5=async function(e){let t=this.getOffsetParent||hu,r=this.getDimensions,n=await r(e.floating);return{reference:l5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function f5(e){return At(e).direction==="rtl"}var li={convertOffsetParentRelativeRectToViewportRelativeRect:t5,getDocumentElement:Qt,getClippingRect:s5,getOffsetParent:hu,getElementRects:d5,getClientRects:r5,getDimensions:c5,getScale:qo,isElement:Et,isRTL:f5};var mu=Jf,gu=eu;var yu=(e,t,r)=>{let n=new Map,a={platform:li,...r},i={...a.platform,_c:n};return Qf(e,t,{...a,platform:i})};function bu(e){return u5(e)}function Uc(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function u5(e){for(let t=e;t;t=Uc(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Uc(e);t;t=Uc(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function vu(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},yu(e,t,{strategy:n.strategy,platform:{...li,getOffsetParent:a=>li.getOffsetParent(a,bu)},middleware:[gu({crossAxis:!0}),mu({allowedPlacements:[n.placement]})]})}var Yo=y(w());var xu=y(q());var Fc=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[r,n]=t.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Zo=new Fc;var p5=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Fn=Symbol("i18nAttributes"),Su=Symbol("i18nListAttributes"),Cu=Symbol("i18nProperties"),di=Symbol("i18nContexts"),Un=Symbol("i18nUnsubs"),er=(0,Yo.applyMixinOnce)(Symbol("withI18n"),function(e){var t,r;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?ka:Ro}i18n(i){let{context:s,key:c,message:f}=i,{custom:u,args:m,argsProvider:g}=i;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let b=m??(g?g(this):[]);return this.getI18nService(u).resolveMessage(s,c,...b)}return f}async awaitI18n(i){let{context:s,custom:c}=i;return s&&await this.getI18nService(c).prepareContext(s),this.i18n(i)}customI18n(i,s){if(Zo.isI18nKey(i)){let[c,f]=i.split(".");return this.i18n({custom:!0,context:c,key:f,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,c,f)=>i.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,c,f)=>{var u;return((u=f?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let f=this,u=(m,g,b)=>b?.context&&b.key&&i(m,g,b)?{...b,message:this.i18n({context:b.context,key:b.key,custom:b.custom,...m})}:b;(s=this[Fn])===null||s===void 0||s.forEach((m,g)=>f[g]=u(m,g,f[g])),(c=this[Su])===null||c===void 0||c.forEach((m,g)=>{var b;return f[g]=(b=f[g])===null||b===void 0?void 0:b.map(S=>u(m,g,S))})}updateI18nProperties(i){var s;(s=this[Cu])===null||s===void 0||s.forEach((c,f)=>{i(c,f)&&(this[f]=this.i18n(c))})}addI18nMessages(i,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,c)}addI18nContext(i,s,c){let f=(typeof i=="string"?i:i.name).toLowerCase();c=typeof i=="string"?c:i.custom,this[di].set(f,{isCustomContext:c}),this[Un].has(f)||this[Un].set(f,this.getI18nService(c).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(c).prepareContext(f,s)}hasI18nContext(i){return this[di].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[di].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Un].forEach(i=>i()),this[Un].clear()}}return t=di,r=Un,p5([(0,xu.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),fi=class extends er(Yo.FtLitElement){},ui=class extends er(Yo.FtLitElementRedux){};var Ou=y(w());var Hc=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(n=>typeof n=="string"?Zo.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},h5=new Hc;var Lu=(e,t)=>(r,n)=>{var a;r.constructor.createProperty(n,{type:Object,hasChanged:Ou.hasChanged,converter:Zo,...t}),r[Fn]=(a=r[Fn])!==null&&a!==void 0?a:new Map,r[Fn].set(n,e??{})};var kr=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?ka:Ro}constructor(t,r=!1){this.name=t,this.custom=r,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a}),this.attributes=new Proxy({},{get:(n,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};var Eu=y($());var Au=Eu.css`
1125
+ `;var jf=["top","right","bottom","left"],Vf=["start","end"],Mc=jf.reduce((e,t)=>e.concat(t,t+"-"+Vf[0],t+"-"+Vf[1]),[]),zn=Math.min,Tr=Math.max,In=Math.round;var It=e=>({x:e,y:e}),Ky={left:"right",right:"left",bottom:"top",top:"bottom"};function Pc(e,t,r){return Tr(e,zn(t,r))}function ti(e,t){return typeof e=="function"?e(t):e}function jo(e){return e.split("-")[0]}function Nr(e){return e.split("-")[1]}function zc(e){return e==="x"?"y":"x"}function Ic(e){return e==="y"?"height":"width"}function ri(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Dc(e){return zc(ri(e))}function Kf(e,t,r){r===void 0&&(r=!1);let n=Nr(e),a=Dc(e),i=Ic(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=kc(s)),[s,kc(s)]}function qf(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function kc(e){let t=jo(e);return Ky[t]+e.slice(t.length)}function qy(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zf(e){return typeof e!="number"?qy(e):{top:e,right:e,bottom:e,left:e}}function ao(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Yf(e,t,r){let{reference:n,floating:a}=e,i=ri(t),s=Dc(t),c=Ic(s),f=jo(t),u=i==="y",m=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,b=n[c]/2-a[c]/2,S;switch(f){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:g};break;case"left":S={x:n.x-a.width,y:g};break;default:S={x:n.x,y:n.y}}switch(Nr(t)){case"start":S[s]-=b*(r&&u?-1:1);break;case"end":S[s]+=b*(r&&u?-1:1);break}return S}async function Xf(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:c,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=ti(t,e),C=Zf(S),T=c[b?g==="floating"?"reference":"floating":g],M=ao(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(T)))==null||r?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:m,strategy:f})),N=g==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),U=await(i.isElement==null?void 0:i.isElement(D))?await(i.getScale==null?void 0:i.getScale(D))||{x:1,y:1}:{x:1,y:1},j=ao(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:N,offsetParent:D,strategy:f}):N);return{top:(M.top-j.top+C.top)/U.y,bottom:(j.bottom-M.bottom+C.bottom)/U.y,left:(M.left-j.left+C.left)/U.x,right:(j.right-M.right+C.right)/U.x}}var Zy=50,Qf=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:Xf},f=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:g}=Yf(u,n,f),b=n,S=0,C={};for(let E=0;E<i.length;E++){let T=i[E];if(!T)continue;let{name:M,fn:N}=T,{x:D,y:U,data:j,reset:de}=await N({x:m,y:g,initialPlacement:n,placement:b,strategy:a,middlewareData:C,rects:u,platform:c,elements:{reference:e,floating:t}});m=D??m,g=U??g,C[M]={...C[M],...j},de&&S<Zy&&(S++,typeof de=="object"&&(de.placement&&(b=de.placement),de.rects&&(u=de.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):de.rects),{x:m,y:g}=Yf(u,b,f)),E=-1)}return{x:m,y:g,placement:b,strategy:a,middlewareData:C}};function Yy(e,t,r){return(e?[...r.filter(a=>Nr(a)===e),...r.filter(a=>Nr(a)!==e)]:r.filter(a=>jo(a)===a)).filter(a=>e?Nr(a)===e||(t?qf(a)!==a:!1):!0)}var Jf=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:c,platform:f,elements:u}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:b=Mc,autoAlignment:S=!0,...C}=ti(e,t),E=g!==void 0||b===Mc?Yy(g||null,S,b):b,T=await f.detectOverflow(t,C),M=((r=s.autoPlacement)==null?void 0:r.index)||0,N=E[M];if(N==null)return{};let D=Kf(N,i,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(c!==N)return{reset:{placement:E[0]}};let U=[T[jo(N)],T[D[0]],T[D[1]]],j=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:U}],de=E[M+1];if(de)return{data:{index:M+1,overflows:j},reset:{placement:de}};let Je=j.map(Be=>{let x=Nr(Be.placement);return[Be.placement,x&&m?Be.overflows.slice(0,2).reduce((L,F)=>L+F,0):Be.overflows[0],Be.overflows]}).sort((Be,x)=>Be[1]-x[1]),Wt=((a=Je.filter(Be=>Be[2].slice(0,Nr(Be[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||Je[0][0];return Wt!==c?{data:{index:M+1,overflows:j},reset:{placement:Wt}}:{}}}};var eu=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:f={fn:M=>{let{x:N,y:D}=M;return{x:N,y:D}}},...u}=ti(e,t),m={x:r,y:n},g=await i.detectOverflow(t,u),b=ri(jo(a)),S=zc(b),C=m[S],E=m[b];if(s){let M=S==="y"?"top":"left",N=S==="y"?"bottom":"right",D=C+g[M],U=C-g[N];C=Pc(D,C,U)}if(c){let M=b==="y"?"top":"left",N=b==="y"?"bottom":"right",D=E+g[M],U=E-g[N];E=Pc(D,E,U)}let T=f.fn({...t,[S]:C,[b]:E});return{...T,data:{x:T.x-r,y:T.y-n,enabled:{[S]:s,[b]:c}}}}}};function ni(){return typeof window<"u"}function so(e){return ru(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){var t;return(t=(ru(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ru(e){return ni()?e instanceof Node||e instanceof nt(e).Node:!1}function Et(e){return ni()?e instanceof Element||e instanceof nt(e).Element:!1}function Jt(e){return ni()?e instanceof HTMLElement||e instanceof nt(e).HTMLElement:!1}function tu(e){return!ni()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function Ko(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=At(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function ou(e){return/^(table|td|th)$/.test(so(e))}function Dn(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Xy=/transform|translate|scale|rotate|perspective|filter/,Qy=/paint|layout|strict|content/,io=e=>!!e&&e!=="none",$c;function ai(e){let t=Et(e)?At(e):e;return io(t.transform)||io(t.translate)||io(t.scale)||io(t.rotate)||io(t.perspective)||!ii()&&(io(t.backdropFilter)||io(t.filter))||Xy.test(t.willChange||"")||Qy.test(t.contain||"")}function nu(e){let t=ur(e);for(;Jt(t)&&!co(t);){if(ai(t))return t;if(Dn(t))return null;t=ur(t)}return null}function ii(){return $c==null&&($c=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),$c}function co(e){return/^(html|body|#document)$/.test(so(e))}function At(e){return nt(e).getComputedStyle(e)}function $n(e){return Et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ur(e){if(so(e)==="html")return e;let t=e.assignedSlot||e.parentNode||tu(e)&&e.host||Qt(e);return tu(t)?t.host:t}function au(e){let t=ur(e);return co(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jt(t)&&Ko(t)?t:au(t)}function oi(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=au(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=nt(a);if(i){let c=si(s);return t.concat(s,s.visualViewport||[],Ko(a)?a:[],c&&r?oi(c):[])}else return t.concat(a,oi(a,[],r))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lu(e){let t=At(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Jt(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,c=In(r)!==i||In(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function du(e){return Et(e)?e:e.contextElement}function qo(e){let t=du(e);if(!Jt(t))return It(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=lu(t),s=(i?In(r.width):r.width)/n,c=(i?In(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Jy=It(0);function fu(e){let t=nt(e);return!ii()||!t.visualViewport?Jy:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function e5(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==nt(e)?!1:t}function Bn(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=du(e),s=It(1);t&&(n?Et(n)&&(s=qo(n)):s=qo(e));let c=e5(i,r,n)?fu(i):It(0),f=(a.left+c.x)/s.x,u=(a.top+c.y)/s.y,m=a.width/s.x,g=a.height/s.y;if(i){let b=nt(i),S=n&&Et(n)?nt(n):n,C=b,E=si(C);for(;E&&n&&S!==C;){let T=qo(E),M=E.getBoundingClientRect(),N=At(E),D=M.left+(E.clientLeft+parseFloat(N.paddingLeft))*T.x,U=M.top+(E.clientTop+parseFloat(N.paddingTop))*T.y;f*=T.x,u*=T.y,m*=T.x,g*=T.y,f+=D,u+=U,C=nt(E),E=si(C)}}return ao({width:m,height:g,x:f,y:u})}function ci(e,t){let r=$n(e).scrollLeft;return t?t.left+r:Bn(Qt(e)).left+r}function uu(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-ci(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function t5(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=Qt(n),c=t?Dn(t.floating):!1;if(n===s||c&&i)return r;let f={scrollLeft:0,scrollTop:0},u=It(1),m=It(0),g=Jt(n);if((g||!g&&!i)&&((so(n)!=="body"||Ko(s))&&(f=$n(n)),g)){let S=Bn(n);u=qo(n),m.x=S.x+n.clientLeft,m.y=S.y+n.clientTop}let b=s&&!g&&!i?uu(s,f):It(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-f.scrollLeft*u.x+m.x+b.x,y:r.y*u.y-f.scrollTop*u.y+m.y+b.y}}function r5(e){return Array.from(e.getClientRects())}function o5(e){let t=Qt(e),r=$n(e),n=e.ownerDocument.body,a=Tr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Tr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+ci(e),c=-r.scrollTop;return At(n).direction==="rtl"&&(s+=Tr(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:c}}var iu=25;function n5(e,t){let r=nt(e),n=Qt(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,c=0,f=0;if(a){i=a.width,s=a.height;let m=ii();(!m||m&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}let u=ci(n);if(u<=0){let m=n.ownerDocument,g=m.body,b=getComputedStyle(g),S=m.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,C=Math.abs(n.clientWidth-g.clientWidth-S);C<=iu&&(i-=C)}else u<=iu&&(i+=u);return{width:i,height:s,x:c,y:f}}function a5(e,t){let r=Bn(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=Jt(e)?qo(e):It(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,f=a*i.x,u=n*i.y;return{width:s,height:c,x:f,y:u}}function su(e,t,r){let n;if(t==="viewport")n=n5(e,r);else if(t==="document")n=o5(Qt(e));else if(Et(t))n=a5(t,r);else{let a=fu(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return ao(n)}function pu(e,t){let r=ur(e);return r===t||!Et(r)||co(r)?!1:At(r).position==="fixed"||pu(r,t)}function i5(e,t){let r=t.get(e);if(r)return r;let n=oi(e,[],!1).filter(c=>Et(c)&&so(c)!=="body"),a=null,i=At(e).position==="fixed",s=i?ur(e):e;for(;Et(s)&&!co(s);){let c=At(s),f=ai(s);!f&&c.position==="fixed"&&(a=null),(i?!f&&!a:!f&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Ko(s)&&!f&&pu(e,s))?n=n.filter(m=>m!==s):a=c,s=ur(s)}return t.set(e,n),n}function s5(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?Dn(t)?[]:i5(t,this._c):[].concat(r),n],c=su(t,s[0],a),f=c.top,u=c.right,m=c.bottom,g=c.left;for(let b=1;b<s.length;b++){let S=su(t,s[b],a);f=Tr(S.top,f),u=zn(S.right,u),m=zn(S.bottom,m),g=Tr(S.left,g)}return{width:u-g,height:m-f,x:g,y:f}}function c5(e){let{width:t,height:r}=lu(e);return{width:t,height:r}}function l5(e,t,r){let n=Jt(t),a=Qt(t),i=r==="fixed",s=Bn(e,!0,i,t),c={scrollLeft:0,scrollTop:0},f=It(0);function u(){f.x=ci(a)}if(n||!n&&!i)if((so(t)!=="body"||Ko(a))&&(c=$n(t)),n){let S=Bn(t,!0,i,t);f.x=S.x+t.clientLeft,f.y=S.y+t.clientTop}else a&&u();i&&!n&&a&&u();let m=a&&!n&&!i?uu(a,c):It(0),g=s.left+c.scrollLeft-f.x-m.x,b=s.top+c.scrollTop-f.y-m.y;return{x:g,y:b,width:s.width,height:s.height}}function Bc(e){return At(e).position==="static"}function cu(e,t){if(!Jt(e)||At(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Qt(e)===r&&(r=r.ownerDocument.body),r}function hu(e,t){let r=nt(e);if(Dn(e))return r;if(!Jt(e)){let a=ur(e);for(;a&&!co(a);){if(Et(a)&&!Bc(a))return a;a=ur(a)}return r}let n=cu(e,t);for(;n&&ou(n)&&Bc(n);)n=cu(n,t);return n&&co(n)&&Bc(n)&&!ai(n)?r:n||nu(e)||r}var d5=async function(e){let t=this.getOffsetParent||hu,r=this.getDimensions,n=await r(e.floating);return{reference:l5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function f5(e){return At(e).direction==="rtl"}var li={convertOffsetParentRelativeRectToViewportRelativeRect:t5,getDocumentElement:Qt,getClippingRect:s5,getOffsetParent:hu,getElementRects:d5,getClientRects:r5,getDimensions:c5,getScale:qo,isElement:Et,isRTL:f5};var mu=Jf,gu=eu;var yu=(e,t,r)=>{let n=new Map,a={platform:li,...r},i={...a.platform,_c:n};return Qf(e,t,{...a,platform:i})};function bu(e){return u5(e)}function Uc(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function u5(e){for(let t=e;t;t=Uc(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Uc(e);t;t=Uc(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function vu(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},yu(e,t,{strategy:n.strategy,platform:{...li,getOffsetParent:a=>li.getOffsetParent(a,bu)},middleware:[gu({crossAxis:!0}),mu({allowedPlacements:[n.placement]})]})}var Yo=y(w());var xu=y(q());var Fc=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[r,n]=t.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Zo=new Fc;var p5=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Fn=Symbol("i18nAttributes"),Su=Symbol("i18nListAttributes"),Cu=Symbol("i18nProperties"),di=Symbol("i18nContexts"),Un=Symbol("i18nUnsubs"),er=(0,Yo.applyMixinOnce)(Symbol("withI18n"),function(e){var t,r;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?ka:Ro}i18n(i){let{context:s,key:c,message:f}=i,{custom:u,args:m,argsProvider:g}=i;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let b=m??(g?g(this):[]);return this.getI18nService(u).resolveMessage(s,c,...b)}return f}async awaitI18n(i){let{context:s,custom:c}=i;return s&&await this.getI18nService(c).prepareContext(s),this.i18n(i)}customI18n(i,s){if(Zo.isI18nKey(i)){let[c,f]=i.split(".");return this.i18n({custom:!0,context:c,key:f,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,c,f)=>i.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,c,f)=>{var u;return((u=f?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let f=this,u=(m,g,b)=>b?.context&&b.key&&i(m,g,b)?{...b,message:this.i18n({context:b.context,key:b.key,custom:b.custom,...m})}:b;(s=this[Fn])===null||s===void 0||s.forEach((m,g)=>f[g]=u(m,g,f[g])),(c=this[Su])===null||c===void 0||c.forEach((m,g)=>{var b;return f[g]=(b=f[g])===null||b===void 0?void 0:b.map(S=>u(m,g,S))})}updateI18nProperties(i){var s;(s=this[Cu])===null||s===void 0||s.forEach((c,f)=>{i(c,f)&&(this[f]=this.i18n(c))})}addI18nMessages(i,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,c)}addI18nContext(i,s,c){let f=(typeof i=="string"?i:i.name).toLowerCase();c=typeof i=="string"?c:i.custom,this[di].set(f,{isCustomContext:c}),this[Un].has(f)||this[Un].set(f,this.getI18nService(c).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(c).prepareContext(f,s)}hasI18nContext(i){return this[di].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[di].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Un].forEach(i=>i()),this[Un].clear()}}return t=di,r=Un,p5([(0,xu.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),fi=class extends er(Yo.FtLitElement){},ui=class extends er(Yo.FtLitElementRedux){};var Ou=y(w());var Hc=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(n=>typeof n=="string"?Zo.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},h5=new Hc;var Lu=(e,t)=>(r,n)=>{var a;r.constructor.createProperty(n,{type:Object,hasChanged:Ou.hasChanged,converter:Zo,...t}),r[Fn]=(a=r[Fn])!==null&&a!==void 0?a:new Map,r[Fn].set(n,e??{})};var kr=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?ka:Ro}constructor(t,r=!1){this.name=t,this.custom=r,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a}),this.attributes=new Proxy({},{get:(n,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};var Eu=y($());var Au=Eu.css`
1126
1126
  `;var pi=y($()),hi=y(q()),mi=y(w());var Hn=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Dt=class extends ui{constructor(){super(),this.editorMode=!1,this.addStore(z)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":pi.nothing:pi.html`
1127
1127
  <span class="ft-i18n">
1128
1128
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
@@ -1149,7 +1149,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1149
1149
  <div></div>
1150
1150
  <div></div>
1151
1151
  </div>
1152
- `}};lo.styles=$f;var ku=y(w());(0,ku.customElement)("ft-loader")(lo);var Mr=y($()),Gc=y(Ct()),ve=y(q());var Gn=e=>e??Ce;var Te=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Q=class extends(0,Pr.toFtFormComponent)(Pr.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",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,n;let a=Mr.html`
1152
+ `}};lo.styles=$f;var ku=y(w());(0,ku.customElement)("ft-loader")(lo);var Mr=y($()),Gc=y(Ct()),ve=y(q());var Gn=e=>e??Ce;var Ne=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Q=class extends(0,Pr.toFtFormComponent)(Pr.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",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,n;let a=Mr.html`
1153
1153
  <ft-ripple part="ripple"
1154
1154
  ?disabled=${this.isDisabled()}
1155
1155
  ?activated=${this.activated}
@@ -1191,7 +1191,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1191
1191
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
1192
1192
  `:Mr.html`
1193
1193
  <slot part="icon" name="icon"></slot>
1194
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,r)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Pr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Q.elementDefinitions={"ft-ripple":Y,"ft-tooltip":be,"ft-icon":he,"ft-loader":lo};Te([(0,ve.property)()],Q.prototype,"href",void 0);Te([(0,ve.property)()],Q.prototype,"target",void 0);Te([(0,ve.property)()],Q.prototype,"type",void 0);Te([(0,ve.property)({type:Boolean})],Q.prototype,"disabled",void 0);Te([(0,ve.property)()],Q.prototype,"label",void 0);Te([(0,ve.property)()],Q.prototype,"icon",void 0);Te([(0,ve.property)()],Q.prototype,"iconVariant",void 0);Te([(0,ve.property)({type:Boolean})],Q.prototype,"trailingIcon",void 0);Te([(0,ve.property)({type:Boolean})],Q.prototype,"loading",void 0);Te([(0,ve.property)({attribute:"aria-label"})],Q.prototype,"ariaLabel",void 0);Te([(0,ve.property)()],Q.prototype,"ariaHasPopup",void 0);Te([(0,ve.property)({attribute:"aria-pressed"})],Q.prototype,"ariaPressed",void 0);Te([(0,ve.property)()],Q.prototype,"tooltipPosition",void 0);Te([(0,ve.property)({type:Boolean})],Q.prototype,"hideTooltip",void 0);Te([(0,ve.property)({type:Boolean})],Q.prototype,"forceTooltip",void 0);Te([(0,ve.property)({type:Boolean})],Q.prototype,"activated",void 0);Te([(0,ve.query)(".ft-button")],Q.prototype,"button",void 0);Te([(0,ve.query)(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);Te([(0,ve.query)("[part=tooltip]")],Q.prototype,"tooltip",void 0);var gi=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Pe=class extends Q{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 Ae.button}};Pe.elementDefinitions={...Q.elementDefinitions,"ft-or-ftds-typography":ie};Pe.styles=[Mu.safariEllipsisFix,Hf];gi([(0,Wn.property)({type:Boolean})],Pe.prototype,"primary",void 0);gi([(0,Wn.property)({type:Boolean})],Pe.prototype,"outlined",void 0);gi([(0,Wn.property)({type:Boolean})],Pe.prototype,"dense",void 0);gi([(0,Wn.property)({type:Boolean})],Pe.prototype,"round",void 0);var Vn=y(q()),bi=y(w());var Pu=y($()),R=y(w());var Wc={...v,iconOnlyScale:R.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},zu=[Pu.css`
1194
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,r)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Pr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Q.elementDefinitions={"ft-ripple":Y,"ft-tooltip":be,"ft-icon":he,"ft-loader":lo};Ne([(0,ve.property)()],Q.prototype,"href",void 0);Ne([(0,ve.property)()],Q.prototype,"target",void 0);Ne([(0,ve.property)()],Q.prototype,"type",void 0);Ne([(0,ve.property)({type:Boolean})],Q.prototype,"disabled",void 0);Ne([(0,ve.property)()],Q.prototype,"label",void 0);Ne([(0,ve.property)()],Q.prototype,"icon",void 0);Ne([(0,ve.property)()],Q.prototype,"iconVariant",void 0);Ne([(0,ve.property)({type:Boolean})],Q.prototype,"trailingIcon",void 0);Ne([(0,ve.property)({type:Boolean})],Q.prototype,"loading",void 0);Ne([(0,ve.property)({attribute:"aria-label"})],Q.prototype,"ariaLabel",void 0);Ne([(0,ve.property)()],Q.prototype,"ariaHasPopup",void 0);Ne([(0,ve.property)({attribute:"aria-pressed"})],Q.prototype,"ariaPressed",void 0);Ne([(0,ve.property)()],Q.prototype,"tooltipPosition",void 0);Ne([(0,ve.property)({type:Boolean})],Q.prototype,"hideTooltip",void 0);Ne([(0,ve.property)({type:Boolean})],Q.prototype,"forceTooltip",void 0);Ne([(0,ve.property)({type:Boolean})],Q.prototype,"activated",void 0);Ne([(0,ve.query)(".ft-button")],Q.prototype,"button",void 0);Ne([(0,ve.query)(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);Ne([(0,ve.query)("[part=tooltip]")],Q.prototype,"tooltip",void 0);var gi=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ze=class extends Q{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 Ae.button}};ze.elementDefinitions={...Q.elementDefinitions,"ft-or-ftds-typography":ie};ze.styles=[Mu.safariEllipsisFix,Hf];gi([(0,Wn.property)({type:Boolean})],ze.prototype,"primary",void 0);gi([(0,Wn.property)({type:Boolean})],ze.prototype,"outlined",void 0);gi([(0,Wn.property)({type:Boolean})],ze.prototype,"dense",void 0);gi([(0,Wn.property)({type:Boolean})],ze.prototype,"round",void 0);var Vn=y(q()),bi=y(w());var Pu=y($()),R=y(w());var Wc={...v,iconOnlyScale:R.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},zu=[Pu.css`
1195
1195
  :host {
1196
1196
  display: inline-block;
1197
1197
  max-width: 100%;
@@ -1661,7 +1661,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1661
1661
  .ftds--size-small.ft-button--icon-only {
1662
1662
  width: ${v.smallIconOnlyWidth};
1663
1663
  }
1664
- `,R.noTextSelect];var yi=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},at=class extends(0,bi.toFtdsBase)(Q){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=rt.brand,this.iconVariant=ot.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 Xe.large:return re.body2medium;case Xe.medium:return re.caption1medium;case Xe.small:return re.caption2medium}}};at.elementDefinitions={...Q.elementDefinitions,"ft-or-ftds-typography":_e};at.styles=[bi.safariEllipsisFix,zu];yi([(0,Vn.property)({type:Boolean})],at.prototype,"primary",void 0);yi([(0,Vn.property)({type:Boolean})],at.prototype,"secondary",void 0);yi([(0,Vn.property)({type:Boolean})],at.prototype,"tertiary",void 0);yi([(0,Vn.property)({type:Boolean})],at.prototype,"round",void 0);var Vc=y(w());(0,Vc.customElement)("ft-button")(Pe);(0,Vc.customElement)("ftds-button")(at);var Iu=V.FtCssVariableFactory.extend("--ft-chip-color","",V.designSystemVariables.colorOnSurface),it={backgroundColor:V.FtCssVariableFactory.extend("--ft-chip-background-color","",V.designSystemVariables.colorSurface),color:Iu,fontSize:V.FtCssVariableFactory.extend("--ft-chip-font-size","",Re.fontSize),fontWeight:V.FtCssVariableFactory.extend("--ft-chip-font-weight","",Re.fontWeight),iconSize:V.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:V.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:V.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Iu),horizontalPadding:V.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:V.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:V.FtCssVariableFactory.extend("--ft-chip-border-color","",V.designSystemVariables.colorOutline),opacityDisabled:V.FtCssVariableFactory.external(V.designSystemVariables.colorOpacityDisabled,"Design system")},Du=V.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",V.FtCssVariableFactory.extend("--ft-chip-color","",V.designSystemVariables.colorOnPrimary)),jc={backgroundColor:V.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",V.FtCssVariableFactory.extend("--ft-chip-background-color","",V.designSystemVariables.colorPrimary)),color:Du,rippleColor:V.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Du)},$u={horizontalPadding:V.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:V.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Bu=[V.noTextSelect,jn.css`
1664
+ `,R.noTextSelect];var yi=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},at=class extends(0,bi.toFtdsBase)(Q){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=rt.brand,this.iconVariant=ot.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 Xe.large:return re.body2medium;case Xe.medium:return re.caption1medium;case Xe.small:return re.caption2medium}}};at.elementDefinitions={...Q.elementDefinitions,"ft-or-ftds-typography":Te};at.styles=[bi.safariEllipsisFix,zu];yi([(0,Vn.property)({type:Boolean})],at.prototype,"primary",void 0);yi([(0,Vn.property)({type:Boolean})],at.prototype,"secondary",void 0);yi([(0,Vn.property)({type:Boolean})],at.prototype,"tertiary",void 0);yi([(0,Vn.property)({type:Boolean})],at.prototype,"round",void 0);var Vc=y(w());(0,Vc.customElement)("ft-button")(ze);(0,Vc.customElement)("ftds-button")(at);var Iu=V.FtCssVariableFactory.extend("--ft-chip-color","",V.designSystemVariables.colorOnSurface),it={backgroundColor:V.FtCssVariableFactory.extend("--ft-chip-background-color","",V.designSystemVariables.colorSurface),color:Iu,fontSize:V.FtCssVariableFactory.extend("--ft-chip-font-size","",Re.fontSize),fontWeight:V.FtCssVariableFactory.extend("--ft-chip-font-weight","",Re.fontWeight),iconSize:V.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:V.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:V.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Iu),horizontalPadding:V.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:V.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:V.FtCssVariableFactory.extend("--ft-chip-border-color","",V.designSystemVariables.colorOutline),opacityDisabled:V.FtCssVariableFactory.external(V.designSystemVariables.colorOpacityDisabled,"Design system")},Du=V.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",V.FtCssVariableFactory.extend("--ft-chip-color","",V.designSystemVariables.colorOnPrimary)),jc={backgroundColor:V.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",V.FtCssVariableFactory.extend("--ft-chip-background-color","",V.designSystemVariables.colorPrimary)),color:Du,rippleColor:V.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Du)},$u={horizontalPadding:V.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:V.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Bu=[V.noTextSelect,jn.css`
1665
1665
  :host {
1666
1666
  display: inline-block;
1667
1667
  max-width: 100%;
@@ -1828,7 +1828,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1828
1828
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1829
1829
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
1830
1830
  </div>
1831
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xi))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Xo.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};me.elementDefinitions={"ft-ripple":Y,"ft-typography":ie,"ft-icon":he,"ft-button":Pe};me.styles=Bu;Qe([(0,Ge.property)({type:Boolean})],me.prototype,"highlighted",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"removable",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"disabled",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"clickable",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"iconClickable",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"dense",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"multiLine",void 0);Qe([(0,Ge.property)()],me.prototype,"label",void 0);Qe([(0,Ge.property)()],me.prototype,"iconLabel",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"hideIconTooltip",void 0);Qe([(0,Ge.property)()],me.prototype,"icon",void 0);Qe([(0,Ge.property)()],me.prototype,"iconVariant",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"trailingIcon",void 0);Qe([(0,Ge.property)()],me.prototype,"typographyVariant",void 0);Qe([(0,Ge.query)("ft-typography slot")],me.prototype,"slottedContent",void 0);var zr=y($()),Ir=y(q()),Gu=y(Ct()),Ci=y(w());var Fu=y($());var Si=y(w());var Hu=[Fu.css`
1831
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xi))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Xo.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};me.elementDefinitions={"ft-ripple":Y,"ft-typography":ie,"ft-icon":he,"ft-button":ze};me.styles=Bu;Qe([(0,Ge.property)({type:Boolean})],me.prototype,"highlighted",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"removable",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"disabled",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"clickable",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"iconClickable",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"dense",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"multiLine",void 0);Qe([(0,Ge.property)()],me.prototype,"label",void 0);Qe([(0,Ge.property)()],me.prototype,"iconLabel",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"hideIconTooltip",void 0);Qe([(0,Ge.property)()],me.prototype,"icon",void 0);Qe([(0,Ge.property)()],me.prototype,"iconVariant",void 0);Qe([(0,Ge.property)({type:Boolean})],me.prototype,"trailingIcon",void 0);Qe([(0,Ge.property)()],me.prototype,"typographyVariant",void 0);Qe([(0,Ge.query)("ft-typography slot")],me.prototype,"slottedContent",void 0);var zr=y($()),Ir=y(q()),Gu=y(Ct()),Ci=y(w());var Fu=y($());var Si=y(w());var Hu=[Fu.css`
1832
1832
  :host {
1833
1833
  display: inline-block;
1834
1834
  max-width: 100%;
@@ -2021,7 +2021,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2021
2021
  ></ftds-button>
2022
2022
  `:this.withAction?zr.html`
2023
2023
  <slot name="action"></slot>
2024
- `:zr.nothing}resolveButtonSize(){switch(this.size){case Xe.large:return Xe.medium;default:return Xe.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Kc)}typographyVariant(){switch(this.size){case Xe.large:return re.body2medium;default:return re.caption1medium}}};_t.elementDefinitions={"ftds-typography":_e,"ft-icon":he,"ftds-button":at};_t.styles=Hu;Qo([(0,Ir.property)({type:Boolean})],_t.prototype,"withAction",void 0);Qo([(0,Ir.property)({type:Boolean})],_t.prototype,"removable",void 0);Qo([(0,Ir.property)()],_t.prototype,"removeButtonLabel",void 0);Qo([(0,Ir.property)()],_t.prototype,"label",void 0);Qo([(0,Ir.property)()],_t.prototype,"icon",void 0);Qo([(0,Ir.query)("ftds-typography slot")],_t.prototype,"slottedContent",void 0);var qc=y(w());(0,qc.customElement)("ft-chip")(me);(0,qc.customElement)("ftds-chip")(_t);var Wu=y($());var Vu=Wu.css`
2024
+ `:zr.nothing}resolveButtonSize(){switch(this.size){case Xe.large:return Xe.medium;default:return Xe.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Kc)}typographyVariant(){switch(this.size){case Xe.large:return re.body2medium;default:return re.caption1medium}}};_t.elementDefinitions={"ftds-typography":Te,"ft-icon":he,"ftds-button":at};_t.styles=Hu;Qo([(0,Ir.property)({type:Boolean})],_t.prototype,"withAction",void 0);Qo([(0,Ir.property)({type:Boolean})],_t.prototype,"removable",void 0);Qo([(0,Ir.property)()],_t.prototype,"removeButtonLabel",void 0);Qo([(0,Ir.property)()],_t.prototype,"label",void 0);Qo([(0,Ir.property)()],_t.prototype,"icon",void 0);Qo([(0,Ir.query)("ftds-typography slot")],_t.prototype,"slottedContent",void 0);var qc=y(w());(0,qc.customElement)("ft-chip")(me);(0,qc.customElement)("ftds-chip")(_t);var Wu=y($());var Vu=Wu.css`
2025
2025
  `;var k4=y($()),nl=y(w());var ju=y($()),te=y(w());var Kn={buttonMoreColor:te.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",te.designSystemVariables.colorOnSurface),borderRadiusM:te.FtCssVariableFactory.external(te.designSystemVariables.borderRadiusM,"Design system"),colorOutline:te.FtCssVariableFactory.external(te.designSystemVariables.colorOutline,"Design system"),colorOnSurface:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:te.FtCssVariableFactory.external(te.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:te.FtCssVariableFactory.external(te.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:te.FtCssVariableFactory.external(Re.fontFamily,"Body2 typography"),fontSize:te.FtCssVariableFactory.external(Re.fontSize,"Body2 typography"),fontWeight:te.FtCssVariableFactory.external(Re.fontWeight,"Body2 typography"),letterSpacing:te.FtCssVariableFactory.external(Re.letterSpacing,"Body2 typography"),lineHeight:te.FtCssVariableFactory.external(Re.lineHeight,"Body2 typography"),textTransform:te.FtCssVariableFactory.external(Re.textTransform,"Body2 typography")},Ku=ju.css`
2026
2026
  .ft-filter-level--container {
2027
2027
  display: flex;
@@ -2092,7 +2092,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2092
2092
  margin: 10px 0;
2093
2093
  color: ${Kn.colorOnSurfaceMedium};
2094
2094
  }
2095
- `;var ho=y($()),ne=y(q()),ke=y(w());var yt=y($()),Ne=y(q()),O4=y($i()),kt=y(w());var qn=y($()),st=y(q()),qu=y(w()),Zu=y(Ct());var Tt=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Zc=class extends CustomEvent{constructor(t){super("change",{detail:t})}},Oe=class extends qu.FtLitElement{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.helper="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.rippleUnbounded=!0,this.error=!1,this.legendColor=""}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}get checkboxHelperClasses(){return{"ft-checkbox-helper--disabled":this.disabled,"ft-checkbox-helper--error":this.error,"ft-checkbox-helper--checked":this.indeterminate?!1:this.checked,"ft-checkbox-helper--indeterminate":this.indeterminate,"ft-checkbox-helper--legend-color-displayed":this.legendColor&&this.legendColor.trim().length>0}}get typographyVariant(){return Ae.body2}renderBoxContainer(){return qn.html`
2095
+ `;var ho=y($()),ne=y(q()),Me=y(w());var yt=y($()),ke=y(q()),O4=y($i()),kt=y(w());var qn=y($()),st=y(q()),qu=y(w()),Zu=y(Ct());var Tt=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Zc=class extends CustomEvent{constructor(t){super("change",{detail:t})}},Oe=class extends qu.FtLitElement{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.helper="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.rippleUnbounded=!0,this.error=!1,this.legendColor=""}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}get checkboxHelperClasses(){return{"ft-checkbox-helper--disabled":this.disabled,"ft-checkbox-helper--error":this.error,"ft-checkbox-helper--checked":this.indeterminate?!1:this.checked,"ft-checkbox-helper--indeterminate":this.indeterminate,"ft-checkbox-helper--legend-color-displayed":this.legendColor&&this.legendColor.trim().length>0}}get typographyVariant(){return Ae.body2}renderBoxContainer(){return qn.html`
2096
2096
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
2097
2097
  <ft-ripple part="checkbox-ripple"
2098
2098
  ?disabled=${this.disabled}
@@ -2414,18 +2414,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2414
2414
  display: flex;
2415
2415
  flex-direction: column;
2416
2416
 
2417
- max-width: ${He.maxWidth};
2417
+ max-width: ${_e.maxWidth};
2418
2418
  width: max-content;
2419
2419
 
2420
- padding-left: ${He.horizontalPadding};
2421
- padding-right: ${He.horizontalPadding};
2422
- padding-top: ${He.verticalPadding};
2423
- padding-bottom: ${He.verticalPadding};
2424
- gap: ${He.gap};
2420
+ padding-left: ${_e.horizontalPadding};
2421
+ padding-right: ${_e.horizontalPadding};
2422
+ padding-top: ${_e.verticalPadding};
2423
+ padding-bottom: ${_e.verticalPadding};
2424
+ gap: ${_e.gap};
2425
2425
 
2426
- background-color: ${He.backgroundColor};
2427
- border-radius: ${He.borderRadius};
2428
- box-shadow: ${He.shadow};
2426
+ background-color: ${_e.backgroundColor};
2427
+ border-radius: ${_e.borderRadius};
2428
+ box-shadow: ${_e.shadow};
2429
2429
 
2430
2430
  &.positioned {
2431
2431
  visibility: visible;
@@ -2437,9 +2437,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2437
2437
 
2438
2438
  display: flex;
2439
2439
  align-items: center;
2440
- gap: ${He.gap};
2440
+ gap: ${_e.gap};
2441
2441
 
2442
- color: ${He.titleColor};
2442
+ color: ${_e.titleColor};
2443
2443
  }
2444
2444
 
2445
2445
  [part="heading"] ftds-typography {
@@ -2451,19 +2451,19 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2451
2451
  }
2452
2452
 
2453
2453
  [part="content"] {
2454
- color: ${He.bodyColor};
2454
+ color: ${_e.bodyColor};
2455
2455
  }
2456
2456
 
2457
2457
  [part="popover-sections"] {
2458
2458
  display: flex;
2459
2459
  flex-direction: column;
2460
- gap: ${He.multiSectionVerticalGap};
2460
+ gap: ${_e.multiSectionVerticalGap};
2461
2461
  }
2462
2462
 
2463
2463
  .hidden {
2464
2464
  display: none;
2465
2465
  }
2466
- `;var r4=y(Ct());var ze=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},oe=class extends Jo.FtLitElement{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=Lt.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Xe.medium,this.openButtonFamily=rt.info,this.watchFocusIn=t=>{this.popoverWrapper&&!t.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=t=>{var r;t.key==="Escape"&&(this.close(),(r=this.openingButton)===null||r===void 0||r.focus())}}render(){let t={opened:this.opened};return this.hidden?Dr.nothing:Dr.html`
2466
+ `;var r4=y(Ct());var Ie=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},oe=class extends Jo.FtLitElement{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=Lt.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Xe.medium,this.openButtonFamily=rt.info,this.watchFocusIn=t=>{this.popoverWrapper&&!t.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=t=>{var r;t.key==="Escape"&&(this.close(),(r=this.openingButton)===null||r===void 0||r.focus())}}render(){let t={opened:this.opened};return this.hidden?Dr.nothing:Dr.html`
2467
2467
  <div part="root-container" class="${(0,r4.classMap)(t)}">
2468
2468
  <ftds-button @focusin=${this.close}
2469
2469
  part="opening-button"
@@ -2514,7 +2514,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2514
2514
  </div>
2515
2515
  </div>
2516
2516
  </div>
2517
- `:Dr.nothing}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(t){return(0,Jo.unslotText)(t).trim().length===0}closeAndFocusOpeningButton(){var t,r;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var t,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let n=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:a,y:i}=await(0,Jo.computeOffsetAutoPosition)(this.openingButton,this.popoverWrapper,"bottom-start",n,"fixed");this.popoverWrapper.style.left=`${a}px`,this.popoverWrapper.style.top=`${i}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var t,r,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};oe.elementDefinitions={"ftds-typography":_e,"ftds-button":at};oe.styles=t4;ze([(0,Le.property)()],oe.prototype,"heading",void 0);ze([(0,Le.property)()],oe.prototype,"closeButtonLabel",void 0);ze([(0,Le.property)()],oe.prototype,"openButtonIcon",void 0);ze([(0,Le.property)()],oe.prototype,"openButtonLabel",void 0);ze([(0,Le.property)()],oe.prototype,"openButtonTooltipPosition",void 0);ze([(0,Le.property)({type:Boolean})],oe.prototype,"opened",void 0);ze([(0,Le.property)({type:Boolean})],oe.prototype,"hidden",void 0);ze([(0,Le.property)({type:Xe})],oe.prototype,"openButtonSize",void 0);ze([(0,Le.property)({type:rt})],oe.prototype,"openButtonFamily",void 0);ze([(0,Le.query)('[part="opening-button"]')],oe.prototype,"openingButton",void 0);ze([(0,Le.query)('[part="closing-button"]')],oe.prototype,"closingButton",void 0);ze([(0,Le.query)('[part="wrapper"]')],oe.prototype,"popoverWrapper",void 0);ze([(0,Le.query)('[part="content"]')],oe.prototype,"popoverContentDiv",void 0);ze([(0,Le.query)('[part="popover-content-slot"]')],oe.prototype,"popoverContentSlot",void 0);ze([(0,Le.query)('[part="popover-link"]')],oe.prototype,"slottedLinkContent",void 0);ze([(0,Le.query)('[part="popover-link-typography"]')],oe.prototype,"popoverLinkTypography",void 0);ze([(0,Le.query)('[part="popover-sections"]')],oe.prototype,"popoverSectionsDiv",void 0);ze([(0,Le.query)('[part="popover-sections-slot"]')],oe.prototype,"popoverSectionsSlot",void 0);var Zn=y($()),Yn=y(q()),Oi=y(w());var o4=y($());var n4=o4.css`
2517
+ `:Dr.nothing}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(t){return(0,Jo.unslotText)(t).trim().length===0}closeAndFocusOpeningButton(){var t,r;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var t,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:_e.maxWidth},{x:s,y:c}=await(0,Jo.computeOffsetAutoPosition)(this.openingButton,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${c}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var t,r,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};oe.elementDefinitions={"ftds-typography":Te,"ftds-button":at};oe.styles=t4;Ie([(0,Le.property)()],oe.prototype,"heading",void 0);Ie([(0,Le.property)()],oe.prototype,"closeButtonLabel",void 0);Ie([(0,Le.property)()],oe.prototype,"openButtonIcon",void 0);Ie([(0,Le.property)()],oe.prototype,"openButtonLabel",void 0);Ie([(0,Le.property)()],oe.prototype,"openButtonTooltipPosition",void 0);Ie([(0,Le.property)({type:Boolean})],oe.prototype,"opened",void 0);Ie([(0,Le.property)({type:Boolean})],oe.prototype,"hidden",void 0);Ie([(0,Le.property)({type:Xe})],oe.prototype,"openButtonSize",void 0);Ie([(0,Le.property)({type:rt})],oe.prototype,"openButtonFamily",void 0);Ie([(0,Le.query)('[part="opening-button"]')],oe.prototype,"openingButton",void 0);Ie([(0,Le.query)('[part="closing-button"]')],oe.prototype,"closingButton",void 0);Ie([(0,Le.query)('[part="wrapper"]')],oe.prototype,"popoverWrapper",void 0);Ie([(0,Le.query)('[part="content"]')],oe.prototype,"popoverContentDiv",void 0);Ie([(0,Le.query)('[part="popover-content-slot"]')],oe.prototype,"popoverContentSlot",void 0);Ie([(0,Le.query)('[part="popover-link"]')],oe.prototype,"slottedLinkContent",void 0);Ie([(0,Le.query)('[part="popover-link-typography"]')],oe.prototype,"popoverLinkTypography",void 0);Ie([(0,Le.query)('[part="popover-sections"]')],oe.prototype,"popoverSectionsDiv",void 0);Ie([(0,Le.query)('[part="popover-sections-slot"]')],oe.prototype,"popoverSectionsSlot",void 0);var Zn=y($()),Yn=y(q()),Oi=y(w());var o4=y($());var n4=o4.css`
2518
2518
  .ftds-popover-section--heading ftds-typography {
2519
2519
  flex-grow: 1;
2520
2520
  flex-shrink: 1;
@@ -2524,13 +2524,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2524
2524
  }
2525
2525
 
2526
2526
  .ftds-popover-section--content {
2527
- color: ${He.bodyColor};
2527
+ color: ${_e.bodyColor};
2528
2528
  }
2529
2529
 
2530
2530
  .ftds-popover-section--container {
2531
2531
  display: flex;
2532
2532
  flex-direction: column;
2533
- gap: ${He.contentSectionVerticalGap};
2533
+ gap: ${_e.contentSectionVerticalGap};
2534
2534
  }
2535
2535
  `;var Yc=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},pr=class extends Oi.FtLitElement{constructor(){super(...arguments),this.heading=""}render(){return Zn.html`
2536
2536
  <div class="ftds-popover-section--container">
@@ -2553,7 +2553,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2553
2553
  <div class="ftds-popover-section--heading" part="heading" id="ftds-popover-section-heading">
2554
2554
  <ftds-typography element="span" variant="${re.body2semibold}">${this.heading}</ftds-typography>
2555
2555
  </div>
2556
- `:Zn.nothing}updated(t){super.updated(t),this.popoverSectionLinkTypography.hidden=(0,Oi.unslotText)(this.popoverSectionLinkSlot).trim().length===0}};pr.elementDefinitions={"ftds-typography":_e};pr.styles=n4;Yc([(0,Yn.property)()],pr.prototype,"heading",void 0);Yc([(0,Yn.query)("[part=popover-section-link-typography]")],pr.prototype,"popoverSectionLinkTypography",void 0);Yc([(0,Yn.query)("[part=popover-section-link]")],pr.prototype,"popoverSectionLinkSlot",void 0);var Xc=y(w());(0,Xc.customElement)("ftds-popover")(oe);(0,Xc.customElement)("ftds-popover-section")(pr);var Li=y($()),tn=y(q()),s4=y(Ct()),rn=y(w());var a4=y($());var en=y(w()),i4=a4.css`
2556
+ `:Zn.nothing}updated(t){super.updated(t),this.popoverSectionLinkTypography.hidden=(0,Oi.unslotText)(this.popoverSectionLinkSlot).trim().length===0}};pr.elementDefinitions={"ftds-typography":Te};pr.styles=n4;Yc([(0,Yn.property)()],pr.prototype,"heading",void 0);Yc([(0,Yn.query)("[part=popover-section-link-typography]")],pr.prototype,"popoverSectionLinkTypography",void 0);Yc([(0,Yn.query)("[part=popover-section-link]")],pr.prototype,"popoverSectionLinkSlot",void 0);var Xc=y(w());(0,Xc.customElement)("ftds-popover")(oe);(0,Xc.customElement)("ftds-popover-section")(pr);var Li=y($()),tn=y(q()),s4=y(Ct()),rn=y(w());var a4=y($());var en=y(w()),i4=a4.css`
2557
2557
 
2558
2558
  .ftds-link {
2559
2559
  display: inline-flex;
@@ -2660,7 +2660,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2660
2660
  `}resolveIcon(){return this.target===Ei.BLANK?Li.html`
2661
2661
  <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant=${ot.fluid_topics} .value=${this.icon}>
2662
2662
  </ft-icon>
2663
- `:Li.html``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};mt.elementDefinitions={"ftds-typography":_e,"ft-icon":he};mt.styles=[rn.safariEllipsisFix,i4];Xn([(0,tn.property)()],mt.prototype,"href",void 0);Xn([(0,tn.property)()],mt.prototype,"variant",void 0);Xn([(0,tn.property)({type:Boolean})],mt.prototype,"underlined",void 0);Xn([(0,tn.property)()],mt.prototype,"openInNewTabLabel",void 0);Xn([(0,tn.property)()],mt.prototype,"target",void 0);var c4=y(w());(0,c4.customElement)("ftds-link")(mt);var Jc=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},on=class extends(0,Ai.toFtdsBase)(Oe){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=rt.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return gt.html`
2663
+ `:Li.html``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};mt.elementDefinitions={"ftds-typography":Te,"ft-icon":he};mt.styles=[rn.safariEllipsisFix,i4];Xn([(0,tn.property)()],mt.prototype,"href",void 0);Xn([(0,tn.property)()],mt.prototype,"variant",void 0);Xn([(0,tn.property)({type:Boolean})],mt.prototype,"underlined",void 0);Xn([(0,tn.property)()],mt.prototype,"openInNewTabLabel",void 0);Xn([(0,tn.property)()],mt.prototype,"target",void 0);var c4=y(w());(0,c4.customElement)("ftds-link")(mt);var Jc=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},on=class extends(0,Ai.toFtdsBase)(Oe){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=rt.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return gt.html`
2664
2664
  <div part="checkbox-and-popover">
2665
2665
  <div part="checkbox-label-and-helper">
2666
2666
  <label class="${(0,Qc.classMap)(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
@@ -2689,7 +2689,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2689
2689
  <div part="checkbox-popover-wrapper">
2690
2690
  <slot @slotchange=${this.onSlotchange}></slot>
2691
2691
  </div>
2692
- </div>`}get typographyVariant(){return re.body2medium}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new Jc(this.value,this.checked))}};on.elementDefinitions={...Oe.elementDefinitions,"ftds-popover":oe,"ftds-link":mt,"ftds-typography":_e,"ft-icon":he};on.styles=[Ai.safariEllipsisFix,Ju];var el=y(w());(0,el.customElement)("ft-checkbox")(fo);(0,el.customElement)("ftds-checkbox")(on);var l4=y($()),tr=y(q()),d4=y(w()),f4=y(Ct());var $r=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ri=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},Ve=class extends d4.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return l4.html`
2692
+ </div>`}get typographyVariant(){return re.body2medium}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new Jc(this.value,this.checked))}};on.elementDefinitions={...Oe.elementDefinitions,"ftds-popover":oe,"ftds-link":mt,"ftds-typography":Te,"ft-icon":he};on.styles=[Ai.safariEllipsisFix,Ju];var el=y(w());(0,el.customElement)("ft-checkbox")(fo);(0,el.customElement)("ftds-checkbox")(on);var l4=y($()),tr=y(q()),d4=y(w()),f4=y(Ct());var $r=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ri=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},Ve=class extends d4.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return l4.html`
2693
2693
  <div class="${(0,f4.classMap)(this.radioClasses)}"
2694
2694
  @click=${this.onClick}>
2695
2695
  <div class="ft-radio--box-container">
@@ -3003,7 +3003,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3003
3003
  @change=${r=>this.optionsChanged(r,t)}>
3004
3004
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
3005
3005
  </ft-radio>
3006
- `}onRadioKeyDown(t,r){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,r))}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}updated(t){super.updated(t),t.has("filter")&&t.has("filteredOptions")&&t.get("filteredOptions")!==void 0&&t.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};ge.elementDefinitions={"ft-button":Pe,"ft-ripple":Y,"ft-typography":ie,"ft-checkbox":fo,"ft-icon":he,"ft-radio":rr};ge.styles=Ku;je([(0,Ne.property)({type:String})],ge.prototype,"filterId",void 0);je([(0,Ne.property)({type:Object})],ge.prototype,"parent",void 0);je([(0,Ne.property)({type:Array,hasChanged:kt.hasChanged})],ge.prototype,"options",void 0);je([(0,Ne.property)({type:Boolean})],ge.prototype,"multivalued",void 0);je([(0,Ne.property)({type:Boolean})],ge.prototype,"disabled",void 0);je([(0,Ne.property)({type:Boolean})],ge.prototype,"hideSelectedOptions",void 0);je([(0,Ne.property)({type:Boolean})],ge.prototype,"displayCount",void 0);je([(0,Ne.property)({type:Boolean})],ge.prototype,"preventNavigation",void 0);je([(0,Ne.property)({type:String})],ge.prototype,"filter",void 0);je([(0,Ne.property)({type:String})],ge.prototype,"moreValuesButtonLabel",void 0);je([(0,Ne.property)({type:String})],ge.prototype,"noValuesLabel",void 0);je([(0,Ne.property)()],ge.prototype,"filteredOptionsNumberAriaNotification",void 0);je([(0,kt.numberProperty)()],ge.prototype,"displayedValuesLimit",void 0);je([(0,Ne.query)(".ft-filter-level--container")],ge.prototype,"container",void 0);je([(0,Ne.state)()],ge.prototype,"radios",void 0);je([(0,Ne.state)()],ge.prototype,"displayedPages",void 0);je([(0,Ne.state)()],ge.prototype,"filteredOptions",void 0);var A4=y($()),bt=y(q()),po=y(w());var R4=y(Ct());var L4=y($()),Bt=y(w());var Fr={buttonsColor:Bt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Bt.designSystemVariables.colorPrimary),buttonsZIndex:Bt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Bt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Bt.FtCssVariableFactory.external(Bt.designSystemVariables.colorSurface,"Design system")},E4=L4.css`
3006
+ `}onRadioKeyDown(t,r){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,r))}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}updated(t){super.updated(t),t.has("filter")&&t.has("filteredOptions")&&t.get("filteredOptions")!==void 0&&t.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};ge.elementDefinitions={"ft-button":ze,"ft-ripple":Y,"ft-typography":ie,"ft-checkbox":fo,"ft-icon":he,"ft-radio":rr};ge.styles=Ku;je([(0,ke.property)({type:String})],ge.prototype,"filterId",void 0);je([(0,ke.property)({type:Object})],ge.prototype,"parent",void 0);je([(0,ke.property)({type:Array,hasChanged:kt.hasChanged})],ge.prototype,"options",void 0);je([(0,ke.property)({type:Boolean})],ge.prototype,"multivalued",void 0);je([(0,ke.property)({type:Boolean})],ge.prototype,"disabled",void 0);je([(0,ke.property)({type:Boolean})],ge.prototype,"hideSelectedOptions",void 0);je([(0,ke.property)({type:Boolean})],ge.prototype,"displayCount",void 0);je([(0,ke.property)({type:Boolean})],ge.prototype,"preventNavigation",void 0);je([(0,ke.property)({type:String})],ge.prototype,"filter",void 0);je([(0,ke.property)({type:String})],ge.prototype,"moreValuesButtonLabel",void 0);je([(0,ke.property)({type:String})],ge.prototype,"noValuesLabel",void 0);je([(0,ke.property)()],ge.prototype,"filteredOptionsNumberAriaNotification",void 0);je([(0,kt.numberProperty)()],ge.prototype,"displayedValuesLimit",void 0);je([(0,ke.query)(".ft-filter-level--container")],ge.prototype,"container",void 0);je([(0,ke.state)()],ge.prototype,"radios",void 0);je([(0,ke.state)()],ge.prototype,"displayedPages",void 0);je([(0,ke.state)()],ge.prototype,"filteredOptions",void 0);var A4=y($()),bt=y(q()),po=y(w());var R4=y(Ct());var L4=y($()),Bt=y(w());var Fr={buttonsColor:Bt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Bt.designSystemVariables.colorPrimary),buttonsZIndex:Bt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Bt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Bt.FtCssVariableFactory.external(Bt.designSystemVariables.colorSurface,"Design system")},E4=L4.css`
3007
3007
  .ft-snap-scroll {
3008
3008
  box-sizing: border-box;
3009
3009
  position: relative;
@@ -3128,7 +3128,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3128
3128
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
3129
3129
  background-color: ${Fr.colorSurface};
3130
3130
  }
3131
- `;var or=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},tl=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},Ie=class extends po.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new po.Debouncer(200),this.updateScrollDebouncer=new po.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,a=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<a||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,R4.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":po.isSafari}),r=this.controls&&this.withScroll;return A4.html`
3131
+ `;var or=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},tl=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},De=class extends po.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new po.Debouncer(200),this.updateScrollDebouncer=new po.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,a=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<a||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,R4.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":po.isSafari}),r=this.controls&&this.withScroll;return A4.html`
3132
3132
  <div part="container" class="${t}">
3133
3133
  <ft-button
3134
3134
  class="ft-snap-scroll--previous"
@@ -3152,7 +3152,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3152
3152
  @click=${this.next}
3153
3153
  ></ft-button>
3154
3154
  </div>
3155
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new tl(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,n;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};Ie.elementDefinitions={"ft-button":Pe};Ie.styles=E4;or([(0,bt.property)({type:Boolean})],Ie.prototype,"horizontal",void 0);or([(0,bt.property)({type:Boolean})],Ie.prototype,"hideScrollbar",void 0);or([(0,bt.property)({type:Boolean})],Ie.prototype,"controls",void 0);or([(0,bt.property)({type:Boolean})],Ie.prototype,"limitSize",void 0);or([(0,bt.state)()],Ie.prototype,"elements",void 0);or([(0,bt.state)()],Ie.prototype,"currentElement",void 0);or([(0,bt.state)()],Ie.prototype,"withScroll",void 0);or([(0,bt.state)()],Ie.prototype,"startReached",void 0);or([(0,bt.state)()],Ie.prototype,"endReached",void 0);or([(0,bt.query)(".ft-snap-scroll--content")],Ie.prototype,"contentSlot",void 0);var w4=y(w());(0,w4.customElement)("ft-snap-scroll")(Ie);var _4=y($()),ce=y(w());var lt={colorOutline:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorPrimary,"Design system"),colorSurface:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorSurface,"Design system"),transitionDuration:ce.FtCssVariableFactory.external(ce.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ce.FtCssVariableFactory.external(ce.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ce.FtCssVariableFactory.extend("--ft-filter-label-color","",ce.designSystemVariables.colorOnSurface),labelFontSize:ce.FtCssVariableFactory.extend("--ft-filter-label-font-size","",P.fontSize,"16px")},T4=[Ua,ce.noTextInputDefaultClearButton,_4.css`
3155
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new tl(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,n;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};De.elementDefinitions={"ft-button":ze};De.styles=E4;or([(0,bt.property)({type:Boolean})],De.prototype,"horizontal",void 0);or([(0,bt.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);or([(0,bt.property)({type:Boolean})],De.prototype,"controls",void 0);or([(0,bt.property)({type:Boolean})],De.prototype,"limitSize",void 0);or([(0,bt.state)()],De.prototype,"elements",void 0);or([(0,bt.state)()],De.prototype,"currentElement",void 0);or([(0,bt.state)()],De.prototype,"withScroll",void 0);or([(0,bt.state)()],De.prototype,"startReached",void 0);or([(0,bt.state)()],De.prototype,"endReached",void 0);or([(0,bt.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0);var w4=y(w());(0,w4.customElement)("ft-snap-scroll")(De);var _4=y($()),ce=y(w());var lt={colorOutline:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorPrimary,"Design system"),colorSurface:ce.FtCssVariableFactory.external(ce.designSystemVariables.colorSurface,"Design system"),transitionDuration:ce.FtCssVariableFactory.external(ce.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:ce.FtCssVariableFactory.external(ce.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:ce.FtCssVariableFactory.extend("--ft-filter-label-color","",ce.designSystemVariables.colorOnSurface),labelFontSize:ce.FtCssVariableFactory.extend("--ft-filter-label-font-size","",P.fontSize,"16px")},T4=[Ua,ce.noTextInputDefaultClearButton,_4.css`
3156
3156
  :host {
3157
3157
  display: flex;
3158
3158
  max-height: 100%;
@@ -3269,7 +3269,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3269
3269
  slot:not([name]) {
3270
3270
  display: none;
3271
3271
  }
3272
- `];var le=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},rl=class extends CustomEvent{constructor(t){super("change",{detail:t})}},Z=class extends ke.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new ke.Debouncer(300),this.changeDebouncer=new ke.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,ke.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,ke.flatDeep)(this.options,t=>{var r;return t.selected?[]:(r=t.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(a=>a.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return ho.html`
3272
+ `];var le=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},rl=class extends CustomEvent{constructor(t){super("change",{detail:t})}},Z=class extends Me.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new Me.Debouncer(300),this.changeDebouncer=new Me.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Me.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,Me.flatDeep)(this.options,t=>{var r;return t.selected?[]:(r=t.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(a=>a.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return ho.html`
3273
3273
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
3274
3274
  part="container">
3275
3275
  ${!this.label&&!t?null:ho.html`
@@ -3352,7 +3352,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3352
3352
  noValuesLabel="${this.noValuesLabel}"
3353
3353
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
3354
3354
  ></ft-filter-level>
3355
- `}goBack(t){this.slideOut=t.detail.value,(0,ke.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnExpandButton(t.detail.value)})}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value,(0,ke.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnBackButton()})}focusOnFirstOption(){(0,ke.waitUntil)(()=>this.slideOut===void 0).then(()=>{var t;let r=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let n=this.flatOptions.find(i=>i.value===t.detail.value);n.selected=!n.selected;let a=i=>{var s;i!==n&&(i.selected=!1),(s=i.subOptions)===null||s===void 0||s.forEach(a)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(a):this.options.forEach(a),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,ke.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new rl(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};Z.elementDefinitions={"ft-button":Pe,"ft-filter-level":ge,"ft-snap-scroll":Ie,"ft-typography":ie};Z.styles=T4;le([(0,ne.property)({type:String})],Z.prototype,"id",void 0);le([(0,ne.property)({type:String})],Z.prototype,"label",void 0);le([(0,ne.property)({type:String})],Z.prototype,"filterPlaceHolder",void 0);le([(0,ne.property)({type:String})],Z.prototype,"clearButtonLabel",void 0);le([(0,ne.property)({type:String})],Z.prototype,"moreValuesButtonLabel",void 0);le([(0,ne.property)({type:String})],Z.prototype,"noValuesLabel",void 0);le([(0,ke.jsonProperty)([])],Z.prototype,"options",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"multivalued",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"disabled",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"raiseSelectedOptions",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"displayCount",void 0);le([(0,ke.numberProperty)()],Z.prototype,"displayedValuesLimit",void 0);le([(0,ke.jsonProperty)(void 0)],Z.prototype,"filteredOptionsNumberAriaNotification",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"hideClearButton",void 0);le([(0,ne.query)(".ft-filter--slot")],Z.prototype,"slotElement",void 0);le([(0,ne.query)(".ft-filter--container")],Z.prototype,"container",void 0);le([(0,ne.query)(".ft-filter--values")],Z.prototype,"valuesContainer",void 0);le([(0,ne.query)(".ft-filter--levels")],Z.prototype,"levelsContainer",void 0);le([(0,ne.state)()],Z.prototype,"lastLevelHasHiddenvalues",void 0);le([(0,ne.query)(".ft-filter--filter input")],Z.prototype,"filterInput",void 0);le([(0,ne.queryAll)(".ft-filter--levels ft-filter-level")],Z.prototype,"levels",void 0);le([(0,ne.state)()],Z.prototype,"withScroll",void 0);le([(0,ne.state)()],Z.prototype,"filter",void 0);le([(0,ne.state)()],Z.prototype,"slideIn",void 0);le([(0,ne.state)()],Z.prototype,"slideOut",void 0);var Ti=y(w()),mo=y(q()),N4=y($()),an=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ut=class extends Ti.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return N4.html`
3355
+ `}goBack(t){this.slideOut=t.detail.value,(0,Me.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnExpandButton(t.detail.value)})}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value,(0,Me.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnBackButton()})}focusOnFirstOption(){(0,Me.waitUntil)(()=>this.slideOut===void 0).then(()=>{var t;let r=(t=this.levelsContainer)===null||t===void 0?void 0:t.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let n=this.flatOptions.find(i=>i.value===t.detail.value);n.selected=!n.selected;let a=i=>{var s;i!==n&&(i.selected=!1),(s=i.subOptions)===null||s===void 0||s.forEach(a)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(a):this.options.forEach(a),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,Me.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new rl(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};Z.elementDefinitions={"ft-button":ze,"ft-filter-level":ge,"ft-snap-scroll":De,"ft-typography":ie};Z.styles=T4;le([(0,ne.property)({type:String})],Z.prototype,"id",void 0);le([(0,ne.property)({type:String})],Z.prototype,"label",void 0);le([(0,ne.property)({type:String})],Z.prototype,"filterPlaceHolder",void 0);le([(0,ne.property)({type:String})],Z.prototype,"clearButtonLabel",void 0);le([(0,ne.property)({type:String})],Z.prototype,"moreValuesButtonLabel",void 0);le([(0,ne.property)({type:String})],Z.prototype,"noValuesLabel",void 0);le([(0,Me.jsonProperty)([])],Z.prototype,"options",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"multivalued",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"disabled",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"raiseSelectedOptions",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"displayCount",void 0);le([(0,Me.numberProperty)()],Z.prototype,"displayedValuesLimit",void 0);le([(0,Me.jsonProperty)(void 0)],Z.prototype,"filteredOptionsNumberAriaNotification",void 0);le([(0,ne.property)({type:Boolean})],Z.prototype,"hideClearButton",void 0);le([(0,ne.query)(".ft-filter--slot")],Z.prototype,"slotElement",void 0);le([(0,ne.query)(".ft-filter--container")],Z.prototype,"container",void 0);le([(0,ne.query)(".ft-filter--values")],Z.prototype,"valuesContainer",void 0);le([(0,ne.query)(".ft-filter--levels")],Z.prototype,"levelsContainer",void 0);le([(0,ne.state)()],Z.prototype,"lastLevelHasHiddenvalues",void 0);le([(0,ne.query)(".ft-filter--filter input")],Z.prototype,"filterInput",void 0);le([(0,ne.queryAll)(".ft-filter--levels ft-filter-level")],Z.prototype,"levels",void 0);le([(0,ne.state)()],Z.prototype,"withScroll",void 0);le([(0,ne.state)()],Z.prototype,"filter",void 0);le([(0,ne.state)()],Z.prototype,"slideIn",void 0);le([(0,ne.state)()],Z.prototype,"slideOut",void 0);var Ti=y(w()),mo=y(q()),N4=y($()),an=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ut=class extends Ti.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return N4.html`
3356
3356
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
3357
3357
  `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ut.elementDefinitions={};an([(0,mo.property)({type:String})],Ut.prototype,"label",void 0);an([(0,mo.property)({type:Object,converter:e=>e})],Ut.prototype,"value",void 0);an([(0,mo.property)({type:Boolean,reflect:!0})],Ut.prototype,"selected",void 0);an([(0,mo.property)({type:Object})],Ut.prototype,"subOptions",void 0);an([(0,Ti.jsonProperty)({})],Ut.prototype,"renderOption",void 0);an([(0,mo.query)(".ft-filter-option--slot")],Ut.prototype,"slotElement",void 0);var ol=y(w());(0,ol.customElement)("ft-filter")(Z);(0,ol.customElement)("ft-filter-option")(Ut);var Ft=kr.build("designedSearchType"),Ni={label:"Search scope",documentTitlesOnly:"Search in document titles only",matchAllKeywords:"Match all search terms",clear:"Clear",noFilterValuesAvailable:"No values available"};var ra=y(q());var ta=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ht=class extends er(Sr){constructor(){super(),this.options={searchInDocumentTitlesOnly:{label:()=>Ft.messages.documentTitlesOnly(),selected:()=>!!this.searchInDocumentTitlesOnly,onChange:t=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(t)},display:()=>!this.hideSearchInDocumentTitlesOnly},matchAllKeywords:{label:()=>Ft.messages.matchAllKeywords(),selected:()=>!!this.matchAllKeywords,onChange:t=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setKeywordMatch(t?ar.MANDATORY:ar.OPTIONAL)},display:()=>!!this.displayMatchAllKeywords}},this.addI18nContext(Ft,Ni)}render(){let t=Object.keys(this.options).filter(r=>this.options[r].display()).map(r=>({value:r,label:this.options[r].label(),selected:this.options[r].selected()}));return k4.html`
3358
3358
  <ft-filter
@@ -3427,13 +3427,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3427
3427
  <ft-radio ?checked=${((a=this.dateFilter)===null||a===void 0?void 0:a.type)=="LAST_YEAR"} value="LAST_YEAR">${Ze.messages.LAST_YEAR()}
3428
3428
  </ft-radio>`:Gt.nothing}
3429
3429
  </ft-radio-group>
3430
- </div>`}setPeriodFilter(t){var r,n;let a=sa[t.detail];a?(r=this.stateManager)===null||r===void 0||r.setDateFilter(this.metadataKey,a):(n=this.stateManager)===null||n===void 0||n.removeDateFilter(this.metadataKey)}header(){var t,r,n;return this.metadataKey==="ft:lastEdition"?Ze.messages.label():(n=(r=(t=this.metadataDescriptors)===null||t===void 0?void 0:t.find(a=>a.key==this.metadataKey))===null||r===void 0?void 0:r.label)!==null&&n!==void 0?n:this.metadataKey}};dt.elementDefinitions={"ft-radio-group":uo,"ft-radio":rr,"ft-typography":ie};dt.styles=z4;Hr([(0,yo.property)({type:String})],dt.prototype,"key",void 0);Hr([(0,yo.property)({type:Boolean})],dt.prototype,"lessThanAWeek",void 0);Hr([(0,yo.property)({type:Boolean})],dt.prototype,"lessThanAMonth",void 0);Hr([(0,yo.property)({type:Boolean})],dt.prototype,"lessThanAQuarter",void 0);Hr([(0,yo.property)({type:Boolean})],dt.prototype,"lessThanAYear",void 0);Hr([(0,al.redux)({store:"search",selector:e=>e.request.metadataFilters})],dt.prototype,"filters",void 0);Hr([(0,al.redux)({store:z.name,selector:e=>{var t,r;return(r=(t=e.metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&r!==void 0?r:[]}})],dt.prototype,"metadataDescriptors",void 0);Hr([(0,yo.property)({attribute:!1})],dt.prototype,"dateFilter",void 0);var I4=y(w());(0,I4.customElement)("ft-search-period-filter")(dt);var Gr=kr.build("designedSearchSelectedFacets"),D4={filterGroupLabel:"Filters enabled",removeFilterLabel:"Remove filter"};var nr=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ye=class extends(0,ye.withAriaNotification)(H1(er(Sr))){get hasSomethingToDisplay(){var t,r;return this.searchInDocumentTitlesOnly||this.keywordMatch||((t=this.facets)===null||t===void 0?void 0:t.some(n=>this.getSelectedValues(n).length>0))||((r=this.filters)===null||r===void 0?void 0:r.some(n=>n.dateFilter||n.rangeFilter))}get numberOfChips(){return(0,ye.shadowQuerySelectorAll)(this.shadowRoot,"ft-chip").length}constructor(){super(),this.displayLabel=!1,this.forceTooltip=!1,this.multiLine=!1,this.hierarchicalValueTruncatingLevel=3,this.selectedFacetsAriaNotification={context:"officialContext",key:"searchSelectedFacetsAriaNotification",message:""},this.neededSearchRequests=[sn.CLUSTERED_SEARCH],this.ariaNotificationDebouncer=new ye.Debouncer(100),this.addI18nContext(Ft,Ni),this.addI18nContext(Gr,D4),this.addI18nContext(Ze,ki)}render(){var t,r;return this.hasSomethingToDisplay?Me.html`
3430
+ </div>`}setPeriodFilter(t){var r,n;let a=sa[t.detail];a?(r=this.stateManager)===null||r===void 0||r.setDateFilter(this.metadataKey,a):(n=this.stateManager)===null||n===void 0||n.removeDateFilter(this.metadataKey)}header(){var t,r,n;return this.metadataKey==="ft:lastEdition"?Ze.messages.label():(n=(r=(t=this.metadataDescriptors)===null||t===void 0?void 0:t.find(a=>a.key==this.metadataKey))===null||r===void 0?void 0:r.label)!==null&&n!==void 0?n:this.metadataKey}};dt.elementDefinitions={"ft-radio-group":uo,"ft-radio":rr,"ft-typography":ie};dt.styles=z4;Hr([(0,yo.property)({type:String})],dt.prototype,"key",void 0);Hr([(0,yo.property)({type:Boolean})],dt.prototype,"lessThanAWeek",void 0);Hr([(0,yo.property)({type:Boolean})],dt.prototype,"lessThanAMonth",void 0);Hr([(0,yo.property)({type:Boolean})],dt.prototype,"lessThanAQuarter",void 0);Hr([(0,yo.property)({type:Boolean})],dt.prototype,"lessThanAYear",void 0);Hr([(0,al.redux)({store:"search",selector:e=>e.request.metadataFilters})],dt.prototype,"filters",void 0);Hr([(0,al.redux)({store:z.name,selector:e=>{var t,r;return(r=(t=e.metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&r!==void 0?r:[]}})],dt.prototype,"metadataDescriptors",void 0);Hr([(0,yo.property)({attribute:!1})],dt.prototype,"dateFilter",void 0);var I4=y(w());(0,I4.customElement)("ft-search-period-filter")(dt);var Gr=kr.build("designedSearchSelectedFacets"),D4={filterGroupLabel:"Filters enabled",removeFilterLabel:"Remove filter"};var nr=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ye=class extends(0,ye.withAriaNotification)(H1(er(Sr))){get hasSomethingToDisplay(){var t,r;return this.searchInDocumentTitlesOnly||this.keywordMatch||((t=this.facets)===null||t===void 0?void 0:t.some(n=>this.getSelectedValues(n).length>0))||((r=this.filters)===null||r===void 0?void 0:r.some(n=>n.dateFilter||n.rangeFilter))}get numberOfChips(){return(0,ye.shadowQuerySelectorAll)(this.shadowRoot,"ft-chip").length}constructor(){super(),this.displayLabel=!1,this.forceTooltip=!1,this.multiLine=!1,this.hierarchicalValueTruncatingLevel=3,this.selectedFacetsAriaNotification={context:"officialContext",key:"searchSelectedFacetsAriaNotification",message:""},this.neededSearchRequests=[sn.CLUSTERED_SEARCH],this.ariaNotificationDebouncer=new ye.Debouncer(100),this.addI18nContext(Ft,Ni),this.addI18nContext(Gr,D4),this.addI18nContext(Ze,ki)}render(){var t,r;return this.hasSomethingToDisplay?Pe.html`
3431
3431
  <div role="group" class="ft-search-selected-facets--container" aria-label="${Gr.messages.filterGroupLabel()}">
3432
3432
  ${(0,Mi.repeat)(this.facets||[],n=>n.key,n=>{let a=this.getSelectedValues(n);return(0,Mi.repeat)(a,i=>n.key+"-"+i,i=>this.renderFacet(n.key,n.label,a,i))})}
3433
3433
  ${this.renderSearchScope()}
3434
3434
  ${(0,Mi.repeat)((r=(t=this.filters)===null||t===void 0?void 0:t.filter(n=>n.dateFilter||n.rangeFilter))!==null&&r!==void 0?r:[],n=>n.key,n=>this.renderPeriodFilter(n))}
3435
3435
  </div>
3436
- `:Me.nothing}renderFacet(t,r,n,a){if(t==="ft:publicationId")return Me.nothing;let i=t.replace(":","-"),s=this.getLabelFromValue(t,a),c=this.getBreadcrumbFromValue(t,a),f=r+": "+c,u=!this.forceTooltip&&this.displayLabel&&c==s,m=Me.html`
3436
+ `:Pe.nothing}renderFacet(t,r,n,a){if(t==="ft:publicationId")return Pe.nothing;let i=t.replace(":","-"),s=this.getLabelFromValue(t,a),c=this.getBreadcrumbFromValue(t,a),f=r+": "+c,u=!this.forceTooltip&&this.displayLabel&&c==s,m=Pe.html`
3437
3437
  <ft-chip
3438
3438
  part="ft-search-selected-facets ft-search-selected-facet-${i}"
3439
3439
  removable hideIconTooltip
@@ -3443,20 +3443,20 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3443
3443
  ?multiLine=${this.multiLine}
3444
3444
  data-key="${t}"
3445
3445
  data-value="${a}">
3446
- ${this.displayLabel?Me.html`
3447
- <span part="label">${r}: </span>`:Me.nothing}
3446
+ ${this.displayLabel?Pe.html`
3447
+ <span part="label">${r}: </span>`:Pe.nothing}
3448
3448
  <span part="values">
3449
3449
  ${s}
3450
3450
  </span>
3451
- </ft-chip>`;return u?m:Me.html`
3451
+ </ft-chip>`;return u?m:Pe.html`
3452
3452
  <ft-tooltip inline text="${f}"
3453
3453
  part="tooltips tooltip-${i}">
3454
3454
  ${m}
3455
3455
  </ft-tooltip>
3456
- `}getNextChipToFocusOn(t){let r=(0,ye.shadowQuerySelectorAll)(this.shadowRoot,"ft-chip"),n=r.indexOf(t);return n===-1||r.length<=1?null:n<r.length-1?r[n+1]:r[n-1]}determineAndApplyFocus(t){let r=t.currentTarget,n=this.getNextChipToFocusOn(r);n?n.elementToFocus={selector:"ft-button"}:this.dispatchEvent(new ye.FocusMainContentEvent)}getSelectedValues(t){return(0,ye.flatDeep)(t.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(t,r){return this.readAndFormatValueFromFacet(t,r,this.hierarchicalValueTruncatingLevel)}getBreadcrumbFromValue(t,r){return this.readAndFormatValueFromFacet(t,r)}readAndFormatValueFromFacet(t,r,n){let a=this.getDateFormatter(t);return a?a(r):(0,ye.formatHierarchicalValues)(this.unquote(r).split("|"),n)}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchScope(){return Me.html`
3456
+ `}getNextChipToFocusOn(t){let r=(0,ye.shadowQuerySelectorAll)(this.shadowRoot,"ft-chip"),n=r.indexOf(t);return n===-1||r.length<=1?null:n<r.length-1?r[n+1]:r[n-1]}determineAndApplyFocus(t){let r=t.currentTarget,n=this.getNextChipToFocusOn(r);n?n.elementToFocus={selector:"ft-button"}:this.dispatchEvent(new ye.FocusMainContentEvent)}getSelectedValues(t){return(0,ye.flatDeep)(t.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(t,r){return this.readAndFormatValueFromFacet(t,r,this.hierarchicalValueTruncatingLevel)}getBreadcrumbFromValue(t,r){return this.readAndFormatValueFromFacet(t,r)}readAndFormatValueFromFacet(t,r,n){let a=this.getDateFormatter(t);return a?a(r):(0,ye.formatHierarchicalValues)(this.unquote(r).split("|"),n)}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchScope(){return Pe.html`
3457
3457
  ${this.renderSearchInDocumentTitlesOnly()}
3458
3458
  ${this.renderKeywordMatch()}
3459
- `}renderSearchInDocumentTitlesOnly(){if(!this.searchInDocumentTitlesOnly)return Me.nothing;let t=Ft.messages.documentTitlesOnly(),r=Me.html`
3459
+ `}renderSearchInDocumentTitlesOnly(){if(!this.searchInDocumentTitlesOnly)return Pe.nothing;let t=Ft.messages.documentTitlesOnly(),r=Pe.html`
3460
3460
  <ft-chip
3461
3461
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
3462
3462
  label="${t}"
@@ -3468,11 +3468,11 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3468
3468
  <span part="values">
3469
3469
  ${t}
3470
3470
  </span>
3471
- </ft-chip>`;return this.forceTooltip?Me.html`
3471
+ </ft-chip>`;return this.forceTooltip?Pe.html`
3472
3472
  <ft-tooltip inline text="${t}"
3473
3473
  part="tooltips tooltip-search-in-document-titles-only">
3474
3474
  ${r}
3475
- </ft-tooltip>`:r}renderKeywordMatch(){if(!this.keywordMatch)return Me.nothing;let t=Ft.messages.matchAllKeywords(),r=Me.html`
3475
+ </ft-tooltip>`:r}renderKeywordMatch(){if(!this.keywordMatch)return Pe.nothing;let t=Ft.messages.matchAllKeywords(),r=Pe.html`
3476
3476
  <ft-chip
3477
3477
  part="ft-search-selected-facets ft-search-selected-facet-match-all-keywords"
3478
3478
  label="${t}"
@@ -3484,11 +3484,11 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3484
3484
  <span part="values">
3485
3485
  ${t}
3486
3486
  </span>
3487
- </ft-chip>`;return this.forceTooltip?Me.html`
3487
+ </ft-chip>`;return this.forceTooltip?Pe.html`
3488
3488
  <ft-tooltip inline text="${t}"
3489
3489
  part="tooltips tooltip-match-all-keywords">
3490
3490
  ${r}
3491
- </ft-tooltip>`:r}renderPeriodFilter(t){return t.dateFilter?this.renderDateFilter(t.key,t.dateFilter):t.rangeFilter?this.renderRangeFilter(t.key,t.rangeFilter):Me.nothing}renderDateFilter(t,r){let n=Ze.messages.period(Ze.messages[r.type]());return Me.html`
3491
+ </ft-tooltip>`:r}renderPeriodFilter(t){return t.dateFilter?this.renderDateFilter(t.key,t.dateFilter):t.rangeFilter?this.renderRangeFilter(t.key,t.rangeFilter):Pe.nothing}renderDateFilter(t,r){let n=Ze.messages.period(Ze.messages[r.type]());return Pe.html`
3492
3492
  <ft-tooltip inline text="${n}"
3493
3493
  part=" tooltips tooltip-search-period-filter">
3494
3494
  <ft-chip
@@ -3503,7 +3503,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3503
3503
  ${Ze.messages[r.type]()}
3504
3504
  </span>
3505
3505
  </ft-chip>
3506
- </ft-tooltip>`}renderRangeFilter(t,r){let n=Ze.messages.period(Ze.messages.customPeriod(r.from,r.to));return Me.html`
3506
+ </ft-tooltip>`}renderRangeFilter(t,r){let n=Ze.messages.period(Ze.messages.customPeriod(r.from,r.to));return Pe.html`
3507
3507
  <ft-tooltip inline text="${n}" part=" tooltips tooltip-search-period-filter">
3508
3508
  <ft-chip
3509
3509
  part="ft-search-selected-facets ft-search-selected-facet-period-filter"