@fluid-topics/ft-search-locale-selector 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 Ff=Object.create;var ei=Object.defineProperty;var Gf=Object.getOwnPropertyDescriptor;var Wf=Object.getOwnPropertyNames;var Vf=Object.getPrototypeOf,jf=Object.prototype.hasOwnProperty;var Or=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ti=(e,t)=>{for(var r in t)ei(e,r,{get:t[r],enumerable:!0})},Kf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Wf(t))!jf.call(e,a)&&a!==r&&ei(e,a,{get:()=>t[a],enumerable:!(n=Gf(t,a))||n.enumerable});return e};var v=(e,t,r)=>(r=e!=null?Ff(Vf(e)):{},Kf(t||!e||!e.__esModule?ei(r,"default",{value:e,enumerable:!0}):r,e));var w=Or((vy,Ec)=>{Ec.exports=ftGlobals.wcUtils});var U=Or((xy,Ac)=>{Ac.exports=ftGlobals.lit});var K=Or((Py,ol)=>{ol.exports=ftGlobals.litDecorators});var yi=Or((hv,Ul)=>{Ul.exports=ftGlobals.litRepeat});var Tt=Or((mv,Hl)=>{Hl.exports=ftGlobals.litClassMap});var h2=Or((cr,p2)=>{var aa=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ia=function(){function e(){this.fetch=!1,this.DOMException=aa.DOMException}return e.prototype=aa,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]"],l=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 H=x.shift();return{done:H===void 0,value:H}}};return a.iterable&&(L[Symbol.iterator]=function(){return L}),L}function g(x){this.map={},x instanceof g?x.forEach(function(L,H){this.append(H,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 H=this.map[x];this.map[x]=H?H+", "+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 H in this.map)this.map.hasOwnProperty(H)&&x.call(L,this.map[H],H,this)},g.prototype.keys=function(){var x=[];return this.forEach(function(L,H){x.push(H)}),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,H){x.push([H,L])}),m(x)},a.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function y(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,H){x.onload=function(){L(x.result)},x.onerror=function(){H(x.error)}})}function C(x){var L=new FileReader,H=S(L);return L.readAsArrayBuffer(x),H}function E(x){var L=new FileReader,H=S(L),Y=/charset=([A-Za-z0-9_-]+)/.exec(x.type),ce=Y?Y[1]:"utf-8";return L.readAsText(x,ce),H}function N(x){for(var L=new Uint8Array(x),H=new Array(L.length),Y=0;Y<L.length;Y++)H[Y]=String.fromCharCode(L[Y]);return H.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 T(){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)||l(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=y(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=y(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=y(this);if(x)return x;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(ae)}),this.json=function(){return this.text().then(JSON.parse)},this}var D=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function $(x){var L=x.toUpperCase();return D.indexOf(L)>-1?L:x}function W(x,L){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');L=L||{};var H=L.body;if(x instanceof W){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,!H&&x._bodyInit!=null&&(H=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=$(L.method||this.method||"GET"),this.mode=L.mode||this.mode||null,this.signal=L.signal||this.signal||function(){if("AbortController"in n){var V=new AbortController;return V.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&H)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(H),(this.method==="GET"||this.method==="HEAD")&&(L.cache==="no-store"||L.cache==="no-cache")){var Y=/([?&])_=[^&]*/;if(Y.test(this.url))this.url=this.url.replace(Y,"$1_="+new Date().getTime());else{var ce=/\?/;this.url+=(ce.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function ae(x){var L=new FormData;return x.trim().split("&").forEach(function(H){if(H){var Y=H.split("="),ce=Y.shift().replace(/\+/g," "),V=Y.join("=").replace(/\+/g," ");L.append(decodeURIComponent(ce),decodeURIComponent(V))}}),L}function Fe(x){var L=new g,H=x.replace(/\r?\n[\t ]+/g," ");return H.split("\r").map(function(Y){return Y.indexOf(`
2
- `)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var ce=Y.split(":"),V=ce.shift().trim();if(V){var _n=ce.join(":").trim();try{L.append(V,_n)}catch(Ja){console.warn("Response "+Ja.message)}}}),L}T.call(W.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)}T.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 Rt=[301,302,303,307,308];_e.redirect=function(x,L){if(Rt.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,H){this.message=L,this.name=H;var Y=Error(L);this.stack=Y.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Ne(x,L){return new Promise(function(H,Y){var ce=new W(x,L);if(ce.signal&&ce.signal.aborted)return Y(new r.DOMException("Aborted","AbortError"));var V=new XMLHttpRequest;function _n(){V.abort()}V.onload=function(){var Te={statusText:V.statusText,headers:Fe(V.getAllResponseHeaders()||"")};ce.url.indexOf("file://")===0&&(V.status<200||V.status>599)?Te.status=200:Te.status=V.status,Te.url="responseURL"in V?V.responseURL:Te.headers.get("X-Request-URL");var Cr="response"in V?V.response:V.responseText;setTimeout(function(){H(new _e(Cr,Te))},0)},V.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},V.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},V.onabort=function(){setTimeout(function(){Y(new r.DOMException("Aborted","AbortError"))},0)};function Ja(Te){try{return Te===""&&n.location.href?n.location.href:Te}catch{return Te}}if(V.open(ce.method,Ja(ce.url),!0),ce.credentials==="include"?V.withCredentials=!0:ce.credentials==="omit"&&(V.withCredentials=!1),"responseType"in V&&(a.blob?V.responseType="blob":a.arrayBuffer&&(V.responseType="arraybuffer")),L&&typeof L.headers=="object"&&!(L.headers instanceof g||n.Headers&&L.headers instanceof n.Headers)){var Lc=[];Object.getOwnPropertyNames(L.headers).forEach(function(Te){Lc.push(f(Te)),V.setRequestHeader(Te,u(L.headers[Te]))}),ce.headers.forEach(function(Te,Cr){Lc.indexOf(Cr)===-1&&V.setRequestHeader(Cr,Te)})}else ce.headers.forEach(function(Te,Cr){V.setRequestHeader(Cr,Te)});ce.signal&&(ce.signal.addEventListener("abort",_n),V.onreadystatechange=function(){V.readyState===4&&ce.signal.removeEventListener("abort",_n)}),V.send(typeof ce._bodyInit>"u"?null:ce._bodyInit)})}return Ne.polyfill=!0,n.fetch||(n.fetch=Ne,n.Headers=g,n.Request=W,n.Response=_e),r.Headers=g,r.Request=W,r.Response=_e,r.fetch=Ne,r}({})})(ia);ia.fetch.ponyfill=!0;delete ia.fetch.polyfill;var vo=aa.fetch?aa:ia;cr=vo.fetch;cr.default=vo.fetch;cr.fetch=vo.fetch;cr.Headers=vo.Headers;cr.Request=vo.Request;cr.Response=vo.Response;p2.exports=cr});var us=Or((fL,yd)=>{yd.exports=ftGlobals.litUnsafeHTML});var Hf=v(w());var qr=v(U());var Pf=v(U()),At=v(w());var Rc=v(U()),Qt=v(w()),Lr={distance:Qt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:Qt.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",Qt.designSystemVariables.borderRadiusS),maxWidth:Qt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},wc=Rc.css`
2
+ `)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var ce=Y.split(":"),V=ce.shift().trim();if(V){var _n=ce.join(":").trim();try{L.append(V,_n)}catch(Ja){console.warn("Response "+Ja.message)}}}),L}T.call(W.prototype);function Ne(x,L){if(!(this instanceof Ne))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)}T.call(Ne.prototype),Ne.prototype.clone=function(){return new Ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},Ne.error=function(){var x=new Ne(null,{status:200,statusText:""});return x.ok=!1,x.status=0,x.type="error",x};var Rt=[301,302,303,307,308];Ne.redirect=function(x,L){if(Rt.indexOf(L)===-1)throw new RangeError("Invalid status code");return new Ne(null,{status:L,headers:{location:x}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(L,H){this.message=L,this.name=H;var Y=Error(L);this.stack=Y.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Te(x,L){return new Promise(function(H,Y){var ce=new W(x,L);if(ce.signal&&ce.signal.aborted)return Y(new r.DOMException("Aborted","AbortError"));var V=new XMLHttpRequest;function _n(){V.abort()}V.onload=function(){var ke={statusText:V.statusText,headers:Fe(V.getAllResponseHeaders()||"")};ce.url.indexOf("file://")===0&&(V.status<200||V.status>599)?ke.status=200:ke.status=V.status,ke.url="responseURL"in V?V.responseURL:ke.headers.get("X-Request-URL");var Cr="response"in V?V.response:V.responseText;setTimeout(function(){H(new Ne(Cr,ke))},0)},V.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},V.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},V.onabort=function(){setTimeout(function(){Y(new r.DOMException("Aborted","AbortError"))},0)};function Ja(ke){try{return ke===""&&n.location.href?n.location.href:ke}catch{return ke}}if(V.open(ce.method,Ja(ce.url),!0),ce.credentials==="include"?V.withCredentials=!0:ce.credentials==="omit"&&(V.withCredentials=!1),"responseType"in V&&(a.blob?V.responseType="blob":a.arrayBuffer&&(V.responseType="arraybuffer")),L&&typeof L.headers=="object"&&!(L.headers instanceof g||n.Headers&&L.headers instanceof n.Headers)){var Lc=[];Object.getOwnPropertyNames(L.headers).forEach(function(ke){Lc.push(f(ke)),V.setRequestHeader(ke,u(L.headers[ke]))}),ce.headers.forEach(function(ke,Cr){Lc.indexOf(Cr)===-1&&V.setRequestHeader(Cr,ke)})}else ce.headers.forEach(function(ke,Cr){V.setRequestHeader(Cr,ke)});ce.signal&&(ce.signal.addEventListener("abort",_n),V.onreadystatechange=function(){V.readyState===4&&ce.signal.removeEventListener("abort",_n)}),V.send(typeof ce._bodyInit>"u"?null:ce._bodyInit)})}return Te.polyfill=!0,n.fetch||(n.fetch=Te,n.Headers=g,n.Request=W,n.Response=Ne),r.Headers=g,r.Request=W,r.Response=Ne,r.fetch=Te,r}({})})(ia);ia.fetch.ponyfill=!0;delete ia.fetch.polyfill;var vo=aa.fetch?aa:ia;cr=vo.fetch;cr.default=vo.fetch;cr.fetch=vo.fetch;cr.Headers=vo.Headers;cr.Request=vo.Request;cr.Response=vo.Response;p2.exports=cr});var us=Or((fL,yd)=>{yd.exports=ftGlobals.litUnsafeHTML});var Hf=v(w());var qr=v(U());var Pf=v(U()),At=v(w());var Rc=v(U()),Qt=v(w()),Lr={distance:Qt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:Qt.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",Qt.designSystemVariables.borderRadiusS),maxWidth:Qt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},wc=Rc.css`
3
3
  .ft-tooltip--container {
4
4
  display: block;
5
5
  }
@@ -561,7 +561,7 @@
561
561
  margin: 10px 0;
562
562
  color: ${Bo.colorOnSurfaceMedium};
563
563
  }
564
- `;var jr=v(U()),ee=v(K()),Ae=v(w());var li=globalThis,Tn=li.trustedTypes,nl=Tn?Tn.createPolicy("lit-html",{createHTML:e=>e}):void 0,dl="$lit$",Jt=`lit$${Math.random().toFixed(9).slice(2)}$`,fl="?"+Jt,qf=`<${fl}>`,Rr=document,kn=()=>Rr.createComment(""),Uo=e=>e===null||typeof e!="object"&&typeof e!="function",di=Array.isArray,Zf=e=>di(e)||typeof e?.[Symbol.iterator]=="function",oi=`[
564
+ `;var jr=v(U()),ee=v(K()),Re=v(w());var li=globalThis,Tn=li.trustedTypes,nl=Tn?Tn.createPolicy("lit-html",{createHTML:e=>e}):void 0,dl="$lit$",Jt=`lit$${Math.random().toFixed(9).slice(2)}$`,fl="?"+Jt,qf=`<${fl}>`,Rr=document,kn=()=>Rr.createComment(""),Uo=e=>e===null||typeof e!="object"&&typeof e!="function",di=Array.isArray,Zf=e=>di(e)||typeof e?.[Symbol.iterator]=="function",oi=`[
565
565
  \f\r]`,$o=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,al=/-->/g,il=/>/g,Er=RegExp(`>|${oi}(?:([^\\s"'>=/]+)(${oi}*=${oi}*(?:[^
566
566
  \f\r"'\`<>=]|("|')|))|$)`,"g"),sl=/'/g,cl=/"/g,ul=/^(?:script|style|textarea|title)$/i,fi=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),pl=fi(1),hl=fi(2),ml=fi(3),Ho=Symbol.for("lit-noChange"),ye=Symbol.for("lit-nothing"),ll=new WeakMap,Ar=Rr.createTreeWalker(Rr,129);function gl(e,t){if(!di(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return nl!==void 0?nl.createHTML(t):t}var Yf=(e,t)=>{let r=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=$o;for(let l=0;l<r;l++){let f=e[l],u,m,g=-1,y=0;for(;y<f.length&&(s.lastIndex=y,m=s.exec(f),m!==null);)y=s.lastIndex,s===$o?m[1]==="!--"?s=al:m[1]!==void 0?s=il:m[2]!==void 0?(ul.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=Er):m[3]!==void 0&&(s=Er):s===Er?m[0]===">"?(s=a??$o,g=-1):m[1]===void 0?g=-2:(g=s.lastIndex-m[2].length,u=m[1],s=m[3]===void 0?Er:m[3]==='"'?cl:sl):s===cl||s===sl?s=Er:s===al||s===il?s=$o:(s=Er,a=void 0);let S=s===Er&&e[l+1].startsWith("/>")?" ":"";i+=s===$o?f+qf:g>=0?(n.push(u),f.slice(0,g)+dl+f.slice(g)+Jt+S):f+Jt+(g===-2?l:S)}return[gl(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Fo=class e{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,f=this.parts,[u,m]=Yf(t,r);if(this.el=e.createElement(u,n),Ar.currentNode=this.el.content,r===2||r===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(a=Ar.nextNode())!==null&&f.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let g of a.getAttributeNames())if(g.endsWith(dl)){let y=m[s++],S=a.getAttribute(g).split(Jt),C=/([.?@])?(.*)/.exec(y);f.push({type:1,index:i,name:C[2],strings:S,ctor:C[1]==="."?ai:C[1]==="?"?ii:C[1]==="@"?si:no}),a.removeAttribute(g)}else g.startsWith(Jt)&&(f.push({type:6,index:i}),a.removeAttribute(g));if(ul.test(a.tagName)){let g=a.textContent.split(Jt),y=g.length-1;if(y>0){a.textContent=Tn?Tn.emptyScript:"";for(let S=0;S<y;S++)a.append(g[S],kn()),Ar.nextNode(),f.push({type:2,index:++i});a.append(g[y],kn())}}}else if(a.nodeType===8)if(a.data===fl)f.push({type:2,index:i});else{let g=-1;for(;(g=a.data.indexOf(Jt,g+1))!==-1;)f.push({type:7,index:i}),g+=Jt.length-1}i++}}static createElement(t,r){let n=Rr.createElement("template");return n.innerHTML=t,n}};function oo(e,t,r=e,n){if(t===Ho)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Uo(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=oo(e,a._$AS(e,t.values),a,n)),t}var ni=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??Rr).importNode(r,!0);Ar.currentNode=a;let i=Ar.nextNode(),s=0,l=0,f=n[0];for(;f!==void 0;){if(s===f.index){let u;f.type===2?u=new Mn(i,i.nextSibling,this,t):f.type===1?u=new f.ctor(i,f.name,f.strings,this,t):f.type===6&&(u=new ci(i,this,t)),this._$AV.push(u),f=n[++l]}s!==f?.index&&(i=Ar.nextNode(),s++)}return Ar.currentNode=Rr,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++}},Mn=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=ye,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=oo(this,t,r),Uo(t)?t===ye||t==null||t===""?(this._$AH!==ye&&this._$AR(),this._$AH=ye):t!==this._$AH&&t!==Ho&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Zf(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!==ye&&Uo(this._$AH)?this._$AA.nextSibling.data=t:this.T(Rr.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=Fo.createElement(gl(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new ni(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=ll.get(t.strings);return r===void 0&&ll.set(t.strings,r=new Fo(t)),r}k(t){di(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(kn()),this.O(kn()),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))}},no=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=ye,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=ye}_$AI(t,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=oo(this,t,r,0),s=!Uo(t)||t!==this._$AH&&t!==Ho,s&&(this._$AH=t);else{let l=t,f,u;for(t=i[0],f=0;f<i.length-1;f++)u=oo(this,l[n+f],r,f),u===Ho&&(u=this._$AH[f]),s||=!Uo(u)||u!==this._$AH[f],u===ye?t=ye:t!==ye&&(t+=(u??"")+i[f+1]),this._$AH[f]=u}s&&!a&&this.j(t)}j(t){t===ye?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ai=class extends no{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ye?void 0:t}},ii=class extends no{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==ye)}},si=class extends no{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=oo(this,t,r,0)??ye)===Ho)return;let n=this._$AH,a=t===ye&&n!==ye||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==ye&&(n===ye||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)}},ci=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){oo(this,t)}};var Xf=li.litHtmlPolyfillSupport;Xf?.(Fo,Mn),(li.litHtmlVersions??=[]).push("3.3.0");var bl=Symbol.for(""),Qf=e=>{if(e?.r===bl)return e?._$litStatic$},ao=e=>({_$litStatic$:e,r:bl});var yl=new Map,ui=e=>(t,...r)=>{let n=r.length,a,i,s=[],l=[],f,u=0,m=!1;for(;u<n;){for(f=t[u];u<n&&(i=r[u],(a=Qf(i))!==void 0);)f+=a+t[++u],m=!0;u!==n&&l.push(i),s.push(f),u++}if(u===n&&s.push(t[n]),m){let g=s.join("$$lit$$");(t=yl.get(g))===void 0&&(s.raw=s,yl.set(g,t=s)),r=l}return e(t,...r)},io=ui(pl),Dy=ui(hl),By=ui(ml);var pi=v(K()),xl=v(w());var Se;(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"})(Se||(Se={}));var vl=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},le=class extends xl.FtLitElement{constructor(){super(...arguments),this.variant=Se.body1}render(){return this.element?io`
567
567
  <${ao(this.element)}
@@ -572,7 +572,7 @@
572
572
  `:io`
573
573
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
574
574
  `}};le.styles=[Nc,Tc,kc,Mc,Pc,zc,Nn,Ic,Dc,Bc,$c];vl([(0,pi.property)()],le.prototype,"element",void 0);vl([(0,pi.property)()],le.prototype,"variant",void 0);var mi=v(K()),$l=v(w());var de;(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"})(de||(de={}));var Vt=v(U(),1),er=e=>typeof e=="string"?(0,Vt.unsafeCSS)(e):e,o=class{static create(t,r,n,a){let i=l=>er(l??a),s=Vt.css`var(${er(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Sl(s,l??i(a)),s.get=l=>Vt.css`var(${er(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,n,a){let i=l=>n.get(l??a),s=Vt.css`var(${er(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=l=>Sl(s,l??i(a)),s.get=l=>Vt.css`var(${er(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,r){let n=i=>t.defaultCssValue(i),a=Vt.css`var(${er(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=>Vt.css`var(${er(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Sl(e,t){return er(`${e.name}: ${t}`)}var c={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)")},Cl={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")},Ol={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")},Ll={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")},El={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")},Al={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")},Rl={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")},wl={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")},_l={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")},Nl={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")},Jf={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")},Tl={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")},kl={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")},Ml={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")},Pl={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")},zl={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")},Il={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")},hi={display:Cl,"title-1":Ol,"title-2":Ll,"title-3":El,"body-1-regular":Al,"body-1-medium":Rl,"body-1-semibold":wl,"body-2-regular":_l,"body-2-medium":Nl,"body-2-medium-underline":Jf,"body-2-semibold":Tl,"caption-1-medium":kl,"caption-1-semibold":Ml,"caption-2-medium":Pl,"caption-2-semibold":zl,"caption-2-bold":Il};var d={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
575
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.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","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.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","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.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","",c.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","",c.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","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.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","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.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","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.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","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.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","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.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","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.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","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.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","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.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 s5={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.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","",c.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","",c.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","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.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","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.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","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.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 u5={iconSize:o.extend("--ftds-checkbox-icon-size","",c.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","",c.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","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.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","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.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","",c.spacing3)};var y5={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","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var C5={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","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.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","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var R5={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.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","",c.iconSize2)};var k5={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.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","",c.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 Ce={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.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","",c.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","",c.colorBrand100)};var H5={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.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 j5={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var X5={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.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 r7={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.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","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var s7={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.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","",c.spacing4)};var f7={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var g7={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.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","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var S7={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var A7={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var T7={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.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","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.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","",c.opacity40)};var I7={backgroundColor:o.extend("--ftds-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var H7={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.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","",c.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","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var j7={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.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","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.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","",c.opacity40)};var X7={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var ke={backgroundColor:o.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.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","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var i9={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.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","",c.iconSize3)};var f9={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var m9={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var v9={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var L9={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.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","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var _9={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.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","",c.spacing3)};var P9={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var $9={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.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","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var W9={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.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","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.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","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.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","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var q9={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Ge;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ge||(Ge={}));var Nt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Nt||(Nt={}));var so=v(U());function eu(e,t){let r=hi[e];return so.css`
575
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.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","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.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","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.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","",c.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","",c.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","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.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","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.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","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.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","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.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","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.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","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.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","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.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","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.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 s5={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.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","",c.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","",c.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","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.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","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.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","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.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 u5={iconSize:o.extend("--ftds-checkbox-icon-size","",c.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","",c.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","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.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","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.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","",c.spacing3)};var y5={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","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var C5={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","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.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","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var R5={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.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","",c.iconSize2)};var k5={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.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","",c.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 Ce={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.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","",c.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","",c.colorBrand100)};var H5={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.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 j5={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var X5={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.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 r7={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.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","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var s7={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.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","",c.spacing4)};var f7={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var g7={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.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","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var S7={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var A7={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var T7={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.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","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.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","",c.opacity40)};var I7={backgroundColor:o.extend("--ftds-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var H7={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.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","",c.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","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var j7={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.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","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.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","",c.opacity40)};var X7={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var Oe={backgroundColor:o.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.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","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var i9={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.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","",c.iconSize3)};var f9={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var m9={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var v9={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var L9={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.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","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var _9={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.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","",c.spacing3)};var P9={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var $9={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.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","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var W9={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.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","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.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","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.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","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var q9={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Ge;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ge||(Ge={}));var Nt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Nt||(Nt={}));var so=v(U());function eu(e,t){let r=hi[e];return so.css`
576
576
  ${t?(0,so.unsafeCSS)(t):so.css`.ftds-typography--${(0,so.unsafeCSS)(e)}`} {
577
577
  font-family: ${r.fontFamily};
578
578
  font-size: ${r.fontSize};
@@ -590,7 +590,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
590
590
  </${ao(this.element)}>
591
591
  `:io`
592
592
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
593
- `}};Me.styles=[...Dl];Bl([(0,mi.property)()],Me.prototype,"element",void 0);Bl([(0,mi.property)()],Me.prototype,"variant",void 0);var gi=v(w());(0,gi.customElement)("ft-typography")(le);(0,gi.customElement)("ftds-typography")(Me);var ot=v(U()),Ee=v(K()),Ef=v(yi()),bt=v(w());var vn=v(K()),j4=v(w());var gr=v(w());var Fl=v(U()),Pe=v(K()),Gl=v(Tt()),Go=v(w());var We=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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 Go.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Go.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Go.Debouncer(10),this.moveRipple=t=>{var r,n;let{x:a,y:i}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Fl.html`
593
+ `}};Me.styles=[...Dl];Bl([(0,mi.property)()],Me.prototype,"element",void 0);Bl([(0,mi.property)()],Me.prototype,"variant",void 0);var gi=v(w());(0,gi.customElement)("ft-typography")(le);(0,gi.customElement)("ftds-typography")(Me);var ot=v(U()),Ae=v(K()),Ef=v(yi()),bt=v(w());var vn=v(K()),j4=v(w());var gr=v(w());var Fl=v(U()),Pe=v(K()),Gl=v(Tt()),Go=v(w());var We=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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 Go.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Go.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Go.Debouncer(10),this.moveRipple=t=>{var r,n;let{x:a,y:i}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Fl.html`
594
594
  <style>
595
595
  .ft-ripple .ft-ripple--effect {
596
596
  left: ${this.originX}px;
@@ -601,10 +601,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
601
601
  <div class="ft-ripple--background"></div>
602
602
  <div class="ft-ripple--effect"></div>
603
603
  </div>
604
- `}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=(...l)=>f=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(f)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",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()}};q.elementDefinitions={};q.styles=jc;We([(0,Pe.property)({type:Boolean})],q.prototype,"primary",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"secondary",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"unbounded",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"activated",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"selected",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"disabled",void 0);We([(0,Pe.state)()],q.prototype,"hovered",void 0);We([(0,Pe.state)()],q.prototype,"focused",void 0);We([(0,Pe.state)()],q.prototype,"pressed",void 0);We([(0,Pe.state)()],q.prototype,"rippling",void 0);We([(0,Pe.state)()],q.prototype,"originX",void 0);We([(0,Pe.state)()],q.prototype,"originY",void 0);We([(0,Pe.query)(".ft-ripple")],q.prototype,"ripple",void 0);We([(0,Pe.query)(".ft-ripple--effect")],q.prototype,"rippleEffect",void 0);var Wl=v(w());(0,Wl.customElement)("ft-ripple")(q);var md=v(U()),pt=v(K()),ut=v(w());var jl=["top","right","bottom","left"],Vl=["start","end"],vi=jl.reduce((e,t)=>e.concat(t,t+"-"+Vl[0],t+"-"+Vl[1]),[]),Wo=Math.min,tr=Math.max,Vo=Math.round;var xt=e=>({x:e,y:e}),tu={left:"right",right:"left",bottom:"top",top:"bottom"};function xi(e,t,r){return tr(e,Wo(t,r))}function Pn(e,t){return typeof e=="function"?e(t):e}function co(e){return e.split("-")[0]}function rr(e){return e.split("-")[1]}function Si(e){return e==="x"?"y":"x"}function Ci(e){return e==="y"?"height":"width"}function zn(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Oi(e){return Si(zn(e))}function Kl(e,t,r){r===void 0&&(r=!1);let n=rr(e),a=Oi(e),i=Ci(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=bi(s)),[s,bi(s)]}function ql(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function bi(e){let t=co(e);return tu[t]+e.slice(t.length)}function ru(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zl(e){return typeof e!="number"?ru(e):{top:e,right:e,bottom:e,left:e}}function wr(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 Yl(e,t,r){let{reference:n,floating:a}=e,i=zn(t),s=Oi(t),l=Ci(s),f=co(t),u=i==="y",m=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/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(rr(t)){case"start":S[s]-=y*(r&&u?-1:1);break;case"end":S[s]+=y*(r&&u?-1:1);break}return S}async function Xl(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:y=!1,padding:S=0}=Pn(t,e),C=Zl(S),N=l[y?g==="floating"?"reference":"floating":g],M=wr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(N)))==null||r?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:f})),T=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(l.floating)),$=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},W=wr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:T,offsetParent:D,strategy:f}):T);return{top:(M.top-W.top+C.top)/$.y,bottom:(W.bottom-M.bottom+C.bottom)/$.y,left:(M.left-W.left+C.left)/$.x,right:(W.right-M.right+C.right)/$.x}}var ou=50,Ql=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Xl},f=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:g}=Yl(u,n,f),y=n,S=0,C={};for(let E=0;E<i.length;E++){let N=i[E];if(!N)continue;let{name:M,fn:T}=N,{x:D,y:$,data:W,reset:ae}=await T({x:m,y:g,initialPlacement:n,placement:y,strategy:a,middlewareData:C,rects:u,platform:l,elements:{reference:e,floating:t}});m=D??m,g=$??g,C[M]={...C[M],...W},ae&&S<ou&&(S++,typeof ae=="object"&&(ae.placement&&(y=ae.placement),ae.rects&&(u=ae.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):ae.rects),{x:m,y:g}=Yl(u,y,f)),E=-1)}return{x:m,y:g,placement:y,strategy:a,middlewareData:C}};function nu(e,t,r){return(e?[...r.filter(a=>rr(a)===e),...r.filter(a=>rr(a)!==e)]:r.filter(a=>co(a)===a)).filter(a=>e?rr(a)===e||(t?ql(a)!==a:!1):!0)}var Jl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:f,elements:u}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:y=vi,autoAlignment:S=!0,...C}=Pn(e,t),E=g!==void 0||y===vi?nu(g||null,S,y):y,N=await f.detectOverflow(t,C),M=((r=s.autoPlacement)==null?void 0:r.index)||0,T=E[M];if(T==null)return{};let D=Kl(T,i,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(l!==T)return{reset:{placement:E[0]}};let $=[N[co(T)],N[D[0]],N[D[1]]],W=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:$}],ae=E[M+1];if(ae)return{data:{index:M+1,overflows:W},reset:{placement:ae}};let Fe=W.map(Ne=>{let x=rr(Ne.placement);return[Ne.placement,x&&m?Ne.overflows.slice(0,2).reduce((L,H)=>L+H,0):Ne.overflows[0],Ne.overflows]}).sort((Ne,x)=>Ne[1]-x[1]),Rt=((a=Fe.filter(Ne=>Ne[2].slice(0,rr(Ne[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||Fe[0][0];return Rt!==l?{data:{index:M+1,overflows:W},reset:{placement:Rt}}:{}}}};var e1=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:l=!1,limiter:f={fn:M=>{let{x:T,y:D}=M;return{x:T,y:D}}},...u}=Pn(e,t),m={x:r,y:n},g=await i.detectOverflow(t,u),y=zn(co(a)),S=Si(y),C=m[S],E=m[y];if(s){let M=S==="y"?"top":"left",T=S==="y"?"bottom":"right",D=C+g[M],$=C-g[T];C=xi(D,C,$)}if(l){let M=y==="y"?"top":"left",T=y==="y"?"bottom":"right",D=E+g[M],$=E-g[T];E=xi(D,E,$)}let N=f.fn({...t,[S]:C,[y]:E});return{...N,data:{x:N.x-r,y:N.y-n,enabled:{[S]:s,[y]:l}}}}}};function Dn(){return typeof window<"u"}function Nr(e){return r1(e)?(e.nodeName||"").toLowerCase():"#document"}function Ve(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function kt(e){var t;return(t=(r1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function r1(e){return Dn()?e instanceof Node||e instanceof Ve(e).Node:!1}function st(e){return Dn()?e instanceof Element||e instanceof Ve(e).Element:!1}function Mt(e){return Dn()?e instanceof HTMLElement||e instanceof Ve(e).HTMLElement:!1}function t1(e){return!Dn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ve(e).ShadowRoot}function lo(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=ct(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function o1(e){return/^(table|td|th)$/.test(Nr(e))}function jo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var au=/transform|translate|scale|rotate|perspective|filter/,iu=/paint|layout|strict|content/,_r=e=>!!e&&e!=="none",Li;function Bn(e){let t=st(e)?ct(e):e;return _r(t.transform)||_r(t.translate)||_r(t.scale)||_r(t.rotate)||_r(t.perspective)||!$n()&&(_r(t.backdropFilter)||_r(t.filter))||au.test(t.willChange||"")||iu.test(t.contain||"")}function n1(e){let t=jt(e);for(;Mt(t)&&!Tr(t);){if(Bn(t))return t;if(jo(t))return null;t=jt(t)}return null}function $n(){return Li==null&&(Li=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Li}function Tr(e){return/^(html|body|#document)$/.test(Nr(e))}function ct(e){return Ve(e).getComputedStyle(e)}function Ko(e){return st(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function jt(e){if(Nr(e)==="html")return e;let t=e.assignedSlot||e.parentNode||t1(e)&&e.host||kt(e);return t1(t)?t.host:t}function a1(e){let t=jt(e);return Tr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Mt(t)&&lo(t)?t:a1(t)}function In(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=a1(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=Ve(a);if(i){let l=Un(s);return t.concat(s,s.visualViewport||[],lo(a)?a:[],l&&r?In(l):[])}else return t.concat(a,In(a,[],r))}function Un(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function l1(e){let t=ct(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Mt(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,l=Vo(r)!==i||Vo(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function d1(e){return st(e)?e:e.contextElement}function fo(e){let t=d1(e);if(!Mt(t))return xt(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=l1(t),s=(i?Vo(r.width):r.width)/n,l=(i?Vo(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var su=xt(0);function f1(e){let t=Ve(e);return!$n()||!t.visualViewport?su:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cu(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ve(e)?!1:t}function qo(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=d1(e),s=xt(1);t&&(n?st(n)&&(s=fo(n)):s=fo(e));let l=cu(i,r,n)?f1(i):xt(0),f=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,m=a.width/s.x,g=a.height/s.y;if(i){let y=Ve(i),S=n&&st(n)?Ve(n):n,C=y,E=Un(C);for(;E&&n&&S!==C;){let N=fo(E),M=E.getBoundingClientRect(),T=ct(E),D=M.left+(E.clientLeft+parseFloat(T.paddingLeft))*N.x,$=M.top+(E.clientTop+parseFloat(T.paddingTop))*N.y;f*=N.x,u*=N.y,m*=N.x,g*=N.y,f+=D,u+=$,C=Ve(E),E=Un(C)}}return wr({width:m,height:g,x:f,y:u})}function Hn(e,t){let r=Ko(e).scrollLeft;return t?t.left+r:qo(kt(e)).left+r}function u1(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Hn(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function lu(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=kt(n),l=t?jo(t.floating):!1;if(n===s||l&&i)return r;let f={scrollLeft:0,scrollTop:0},u=xt(1),m=xt(0),g=Mt(n);if((g||!g&&!i)&&((Nr(n)!=="body"||lo(s))&&(f=Ko(n)),g)){let S=qo(n);u=fo(n),m.x=S.x+n.clientLeft,m.y=S.y+n.clientTop}let y=s&&!g&&!i?u1(s,f):xt(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-f.scrollLeft*u.x+m.x+y.x,y:r.y*u.y-f.scrollTop*u.y+m.y+y.y}}function du(e){return Array.from(e.getClientRects())}function fu(e){let t=kt(e),r=Ko(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+Hn(e),l=-r.scrollTop;return ct(n).direction==="rtl"&&(s+=tr(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var i1=25;function uu(e,t){let r=Ve(e),n=kt(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,f=0;if(a){i=a.width,s=a.height;let m=$n();(!m||m&&t==="fixed")&&(l=a.offsetLeft,f=a.offsetTop)}let u=Hn(n);if(u<=0){let m=n.ownerDocument,g=m.body,y=getComputedStyle(g),S=m.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,C=Math.abs(n.clientWidth-g.clientWidth-S);C<=i1&&(i-=C)}else u<=i1&&(i+=u);return{width:i,height:s,x:l,y:f}}function pu(e,t){let r=qo(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=Mt(e)?fo(e):xt(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,f=a*i.x,u=n*i.y;return{width:s,height:l,x:f,y:u}}function s1(e,t,r){let n;if(t==="viewport")n=uu(e,r);else if(t==="document")n=fu(kt(e));else if(st(t))n=pu(t,r);else{let a=f1(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return wr(n)}function p1(e,t){let r=jt(e);return r===t||!st(r)||Tr(r)?!1:ct(r).position==="fixed"||p1(r,t)}function hu(e,t){let r=t.get(e);if(r)return r;let n=In(e,[],!1).filter(l=>st(l)&&Nr(l)!=="body"),a=null,i=ct(e).position==="fixed",s=i?jt(e):e;for(;st(s)&&!Tr(s);){let l=ct(s),f=Bn(s);!f&&l.position==="fixed"&&(a=null),(i?!f&&!a:!f&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||lo(s)&&!f&&p1(e,s))?n=n.filter(m=>m!==s):a=l,s=jt(s)}return t.set(e,n),n}function mu(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?jo(t)?[]:hu(t,this._c):[].concat(r),n],l=s1(t,s[0],a),f=l.top,u=l.right,m=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let S=s1(t,s[y],a);f=tr(S.top,f),u=Wo(S.right,u),m=Wo(S.bottom,m),g=tr(S.left,g)}return{width:u-g,height:m-f,x:g,y:f}}function gu(e){let{width:t,height:r}=l1(e);return{width:t,height:r}}function yu(e,t,r){let n=Mt(t),a=kt(t),i=r==="fixed",s=qo(e,!0,i,t),l={scrollLeft:0,scrollTop:0},f=xt(0);function u(){f.x=Hn(a)}if(n||!n&&!i)if((Nr(t)!=="body"||lo(a))&&(l=Ko(t)),n){let S=qo(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?u1(a,l):xt(0),g=s.left+l.scrollLeft-f.x-m.x,y=s.top+l.scrollTop-f.y-m.y;return{x:g,y,width:s.width,height:s.height}}function Ei(e){return ct(e).position==="static"}function c1(e,t){if(!Mt(e)||ct(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return kt(e)===r&&(r=r.ownerDocument.body),r}function h1(e,t){let r=Ve(e);if(jo(e))return r;if(!Mt(e)){let a=jt(e);for(;a&&!Tr(a);){if(st(a)&&!Ei(a))return a;a=jt(a)}return r}let n=c1(e,t);for(;n&&o1(n)&&Ei(n);)n=c1(n,t);return n&&Tr(n)&&Ei(n)&&!Bn(n)?r:n||n1(e)||r}var bu=async function(e){let t=this.getOffsetParent||h1,r=this.getDimensions,n=await r(e.floating);return{reference:yu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vu(e){return ct(e).direction==="rtl"}var Fn={convertOffsetParentRelativeRectToViewportRelativeRect:lu,getDocumentElement:kt,getClippingRect:mu,getOffsetParent:h1,getElementRects:bu,getClientRects:du,getDimensions:gu,getScale:fo,isElement:st,isRTL:vu};var m1=Jl,g1=e1;var y1=(e,t,r)=>{let n=new Map,a={platform:Fn,...r},i={...a.platform,_c:n};return Ql(e,t,{...a,platform:i})};function b1(e){return xu(e)}function Ai(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function xu(e){for(let t=e;t;t=Ai(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ai(e);t;t=Ai(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 v1(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},y1(e,t,{strategy:n.strategy,platform:{...Fn,getOffsetParent:a=>Fn.getOffsetParent(a,b1)},middleware:[g1({crossAxis:!0}),m1({allowedPlacements:[n.placement]})]})}var Oo=v(w());var Xi=v(K());function Su(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(!Gn(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(!Gn(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(l=>s[l]!=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(!Gn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Gn(e,t){try{return Su(e,t)}catch{return!1}}function Zo(e,t){return!Gn(e,t)}function x1(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Wn(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 S1=v(K(),1);var Ri=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:Zo,attribute:!1,...t};(0,S1.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:l=>l[n],store:t.store})}};var Vn=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 kr=v(K(),1);var C1=v(K(),1);function O1(e,t){let r=()=>JSON.parse(JSON.stringify(e));return(0,C1.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:Zo,...t??{}})}var jn=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(l){a(l);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=v(U(),1);var Kn=globalThis,Cu=Kn.ShadowRoot&&(Kn.ShadyCSS===void 0||Kn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ox=Symbol();var L1=(e,t)=>{if(Cu)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=Kn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}};var qn=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 L1(n,t.elementStyles),n}};function A1(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 po=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},N1,R1=Symbol("constructorPrototype"),w1=Symbol("constructorName"),T1=Symbol("exportpartsDebouncer"),_1=Symbol("dynamicDependenciesLoaded"),uo=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};uo.eventName="exportparts-updated";var Pt=class extends qn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[N1]=new jn(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[T1].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[w1]=this.constructor.name,this[R1]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[w1]&&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[_1]||(r[_1]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(uo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(uo.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 uo)})}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=A1(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,l;let f=y=>y!=null&&y.trim().length>0,u=t.filter(f).map(y=>y.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],C=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[],E=[...S,...C].filter(f).map(N=>N.trim());for(let N of E)m.add(N)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(y=>u.map(S=>`${y}:${S}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};N1=T1;po([(0,kr.property)()],Pt.prototype,"exportpartsPrefix",void 0);po([O1([])],Pt.prototype,"exportpartsPrefixes",void 0);po([(0,kr.property)({reflect:!0})],Pt.prototype,"exportparts",void 0);po([(0,kr.property)()],Pt.prototype,"customStylesheet",void 0);po([(0,kr.property)()],Pt.prototype,"elementToFocus",void 0);po([(0,kr.state)()],Pt.prototype,"useAdoptedStyleSheets",void 0);function Zn(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Yo=Symbol("internalReduxEventsUnsubscribers"),or=Symbol("internalStoresUnsubscribers"),Mr=Symbol("internalStores"),Ou=Wn(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(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Mr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Mr].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[Mr].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Mr].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Mr].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[or].has(s.store):this[or].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var f;this[or].set(s,l.subscribe(()=>this.updateFromStores())),this[Yo].set(s,[]),Zn(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let g=y=>this[m](y);l.addEventListener(u.eventName,g),this[Yo].get(s).push(()=>l.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[or].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[or].has(s)&&this[or].get(s)(),this[or].delete(s),(l=this[Yo].get(s))===null||l===void 0||l.forEach(f=>f()),this[Yo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=or,r=Mr,n=Yo,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),k1=class extends Ou(Pt){};function lt(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 Kt(e){return!!e&&!!e[se]}function St(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)===Tu}(e)||Array.isArray(e)||!!e[$1]||!!(!((t=e.constructor)===null||t===void 0)&&t[$1])||Ii(e)||Di(e))}function Pr(e,t,r){r===void 0&&(r=!1),go(e)===0?(r?Object.keys:mo)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function go(e){var t=e[se];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ii(e)?2:Di(e)?3:0}function ho(e,t){return go(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Lu(e,t){return go(e)===2?e.get(t):e[t]}function U1(e,t,r){var n=go(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function H1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ii(e){return _u&&e instanceof Map}function Di(e){return Nu&&e instanceof Set}function nr(e){return e.o||e.t}function Bi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=W1(e);delete t[se];for(var r=mo(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 $i(e,t){return t===void 0&&(t=!1),Ui(e)||Kt(e)||!St(e)||(go(e)>1&&(e.set=e.add=e.clear=e.delete=Eu),Object.freeze(e),t&&Pr(e,function(r,n){return $i(n,!0)},!0)),e}function Eu(){lt(2)}function Ui(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function zt(e){var t=zi[e];return t||lt(18,e),t}function Au(e,t){zi[e]||(zi[e]=t)}function ki(){return Qo}function wi(e,t){t&&(zt("Patches"),e.u=[],e.s=[],e.v=t)}function Yn(e){Mi(e),e.p.forEach(Ru),e.p=null}function Mi(e){e===Qo&&(Qo=e.l)}function M1(e){return Qo={p:[],l:Qo,h:e,m:!0,_:0}}function Ru(e){var t=e[se];t.i===0||t.i===1?t.j():t.g=!0}function _i(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||zt("ES5").S(t,e,n),n?(r[se].P&&(Yn(t),lt(4)),St(e)&&(e=Xn(t,e),t.l||Qn(t,e)),t.u&&zt("Patches").M(r[se].t,e,t.u,t.s)):e=Xn(t,r,[]),Yn(t),t.u&&t.v(t.u,t.s),e!==G1?e:void 0}function Xn(e,t,r){if(Ui(t))return t;var n=t[se];if(!n)return Pr(t,function(l,f){return P1(e,n,t,l,f,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Qn(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Bi(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Pr(i,function(l,f){return P1(e,n,a,l,f,r,s)}),Qn(e,a,!1),r&&e.u&&zt("Patches").N(n,r,e.u,e.s)}return n.o}function P1(e,t,r,n,a,i,s){if(Kt(a)){var l=Xn(e,a,i&&t&&t.i!==3&&!ho(t.R,n)?i.concat(n):void 0);if(U1(r,n,l),!Kt(l))return;e.m=!1}else s&&r.add(a);if(St(a)&&!Ui(a)){if(!e.h.D&&e._<1)return;Xn(e,a),t&&t.A.l||Qn(e,a)}}function Qn(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&$i(t,r)}function Ni(e,t){var r=e[se];return(r?nr(r):e)[t]}function z1(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 ar(e){e.P||(e.P=!0,e.l&&ar(e.l))}function Ti(e){e.o||(e.o=Bi(e.t))}function Pi(e,t,r){var n=Ii(t)?zt("MapSet").F(t,r):Di(t)?zt("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:ki(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=l,u=Jo;s&&(f=[l],u=Xo);var m=Proxy.revocable(f,u),g=m.revoke,y=m.proxy;return l.k=y,l.j=g,y}(t,r):zt("ES5").J(t,r);return(r?r.A:ki()).p.push(n),n}function wu(e){return Kt(e)||lt(22,e),function t(r){if(!St(r))return r;var n,a=r[se],i=go(r);if(a){if(!a.P&&(a.i<4||!zt("ES5").K(a)))return a.t;a.I=!0,n=I1(r,i),a.I=!1}else n=I1(r,i);return Pr(n,function(s,l){a&&Lu(a.t,s)===l||U1(n,s,t(l))}),i===3?new Set(n):n}(e)}function I1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Bi(e)}function F1(){function e(s,l){var f=i[s];return f?f.enumerable=l:i[s]=f={configurable:!0,enumerable:l,get:function(){var u=this[se];return Jo.get(u,s)},set:function(u){var m=this[se];Jo.set(m,s,u)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][se];if(!f.P)switch(f.i){case 5:n(f)&&ar(f);break;case 4:r(f)&&ar(f)}}}function r(s){for(var l=s.t,f=s.k,u=mo(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==se){var y=l[g];if(y===void 0&&!ho(l,g))return!0;var S=f[g],C=S&&S[se];if(C?C.t!==y:!H1(S,y))return!0}}var E=!!l[se];return u.length!==mo(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&lt(3,JSON.stringify(nr(s)))}var i={};Au("ES5",{J:function(s,l){var f=Array.isArray(s),u=function(g,y){if(g){for(var S=Array(y.length),C=0;C<y.length;C++)Object.defineProperty(S,""+C,e(C,!0));return S}var E=W1(y);delete E[se];for(var N=mo(E),M=0;M<N.length;M++){var T=N[M];E[T]=e(T,g||!!E[T].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(f,s),m={i:f?5:4,A:l?l.A:ki(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,se,{value:m,writable:!0}),u},S:function(s,l,f){f?Kt(l)&&l[se].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[se];if(g){var y=g.t,S=g.k,C=g.R,E=g.i;if(E===4)Pr(S,function($){$!==se&&(y[$]!==void 0||ho(y,$)?C[$]||u(S[$]):(C[$]=!0,ar(g)))}),Pr(y,function($){S[$]!==void 0||ho(S,$)||(C[$]=!1,ar(g))});else if(E===5){if(n(g)&&(ar(g),C.length=!0),S.length<y.length)for(var N=S.length;N<y.length;N++)C[N]=!1;else for(var M=y.length;M<S.length;M++)C[M]=!0;for(var T=Math.min(S.length,y.length),D=0;D<T;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 D1,Qo,Hi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",_u=typeof Map<"u",Nu=typeof Set<"u",B1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",G1=Hi?Symbol.for("immer-nothing"):((D1={})["immer-nothing"]=!0,D1),$1=Hi?Symbol.for("immer-draftable"):"__$immer_draftable",se=Hi?Symbol.for("immer-state"):"__$immer_state";var Tu=""+Object.prototype.constructor,mo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,W1=Object.getOwnPropertyDescriptors||function(e){var t={};return mo(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},zi={},Jo={get:function(e,t){if(t===se)return e;var r=nr(e);if(!ho(r,t))return function(a,i,s){var l,f=z1(i,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,r,t);var n=r[t];return e.I||!St(n)?n:n===Ni(e.t,t)?(Ti(e),e.o[t]=Pi(e.A.h,n,e)):n},has:function(e,t){return t in nr(e)},ownKeys:function(e){return Reflect.ownKeys(nr(e))},set:function(e,t,r){var n=z1(nr(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Ni(nr(e),t),i=a?.[se];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(H1(r,a)&&(r!==void 0||ho(e.t,t)))return!0;Ti(e),ar(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 Ni(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ti(e),ar(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=nr(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){lt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){lt(12)}},Xo={};Pr(Jo,function(e,t){Xo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Xo.deleteProperty=function(e,t){return Xo.set.call(this,e,t,void 0)},Xo.set=function(e,t,r){return Jo.set.call(this,e[0],t,r,e[0])};var ku=function(){function e(r){var n=this;this.O=B1,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var f=n;return function(E){var N=this;E===void 0&&(E=l);for(var M=arguments.length,T=Array(M>1?M-1:0),D=1;D<M;D++)T[D-1]=arguments[D];return f.produce(E,function($){var W;return(W=i).call.apply(W,[N,$].concat(T))})}}var u;if(typeof i!="function"&&lt(6),s!==void 0&&typeof s!="function"&&lt(7),St(a)){var m=M1(n),g=Pi(n,a,void 0),y=!0;try{u=i(g),y=!1}finally{y?Yn(m):Mi(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return wi(m,s),_i(E,m)},function(E){throw Yn(m),E}):(wi(m,s),_i(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===G1&&(u=void 0),n.D&&$i(u,!0),s){var S=[],C=[];zt("Patches").M(a,u,S,C),s(S,C)}return u}lt(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),y=1;y<m;y++)g[y-1]=arguments[y];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(g))})};var s,l,f=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&f instanceof Promise?f.then(function(u){return[u,s,l]}):[f,s,l]},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){St(r)||lt(8),Kt(r)&&(r=wu(r));var n=M1(this),a=Pi(this,r,void 0);return a[se].C=!0,Mi(n),a},t.finishDraft=function(r,n){var a=r&&r[se],i=a.A;return wi(i,n),_i(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!B1&&lt(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=zt("Patches").$;return Kt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),Xe=new ku,Mu=Xe.produce,bx=Xe.produceWithPatches.bind(Xe),vx=Xe.setAutoFreeze.bind(Xe),xx=Xe.setUseProxies.bind(Xe),Sx=Xe.applyPatches.bind(Xe),Cx=Xe.createDraft.bind(Xe),Ox=Xe.finishDraft.bind(Xe),Jn=Mu;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 V1(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 j1(e){var t=V1(e,"string");return zr(t)=="symbol"?t:t+""}function K1(e,t,r){return(t=j1(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q1(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 Fi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?q1(Object(r),!0).forEach(function(n){K1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $e(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 Z1=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Gi=function(){return Math.random().toString(36).substring(7).split("").join(".")},ea={INIT:"@@redux/INIT"+Gi(),REPLACE:"@@redux/REPLACE"+Gi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Gi()}};function Pu(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 Wi(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error($e(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error($e(1));return r(Wi)(e,t)}if(typeof e!="function")throw new Error($e(2));var a=e,i=t,s=[],l=s,f=!1;function u(){l===s&&(l=s.slice())}function m(){if(f)throw new Error($e(3));return i}function g(E){if(typeof E!="function")throw new Error($e(4));if(f)throw new Error($e(5));var N=!0;return u(),l.push(E),function(){if(N){if(f)throw new Error($e(6));N=!1,u();var T=l.indexOf(E);l.splice(T,1),s=null}}}function y(E){if(!Pu(E))throw new Error($e(7));if(typeof E.type>"u")throw new Error($e(8));if(f)throw new Error($e(9));try{f=!0,i=a(i,E)}finally{f=!1}for(var N=s=l,M=0;M<N.length;M++){var T=N[M];T()}return E}function S(E){if(typeof E!="function")throw new Error($e(10));a=E,y({type:ea.REPLACE})}function C(){var E,N=g;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error($e(11));function D(){T.next&&T.next(m())}D();var $=N(D);return{unsubscribe:$}}},E[Z1]=function(){return this},E}return y({type:ea.INIT}),n={dispatch:y,subscribe:g,getState:m,replaceReducer:S},n[Z1]=C,n}function zu(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:ea.INIT});if(typeof n>"u")throw new Error($e(12));if(typeof r(void 0,{type:ea.PROBE_UNKNOWN_ACTION()})>"u")throw new Error($e(13))})}function Y1(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,l;try{zu(r)}catch(f){l=f}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var y=!1,S={},C=0;C<i.length;C++){var E=i[C],N=r[E],M=u[E],T=N(M,m);if(typeof T>"u"){var D=m&&m.type;throw new Error($e(14))}S[E]=T,y=y||T!==M}return y=y||i.length!==Object.keys(u).length,y?S:u}}function yo(){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 X1(){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($e(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return i=yo.apply(void 0,l)(a.dispatch),Fi(Fi({},a),{},{dispatch:i})}}}function Q1(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var J1=Q1();J1.withExtraArgument=Q1;var Vi=J1;var n2=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)}}(),Iu=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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(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}}},bo=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},Du=Object.defineProperty,Bu=Object.defineProperties,$u=Object.getOwnPropertyDescriptors,e2=Object.getOwnPropertySymbols,Uu=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,t2=function(e,t,r){return t in e?Du(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},ir=function(e,t){for(var r in t||(t={}))Uu.call(t,r)&&t2(e,r,t[r]);if(e2)for(var n=0,a=e2(t);n<a.length;n++){var r=a[n];Hu.call(t,r)&&t2(e,r,t[r])}return e},ji=function(e,t){return Bu(e,$u(t))},Fu=function(e,t,r){return new Promise(function(n,a){var i=function(f){try{l(r.next(f))}catch(u){a(u)}},s=function(f){try{l(r.throw(f))}catch(u){a(u)}},l=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};l((r=r.apply(e,t)).next())})};var Gu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?yo:yo.apply(null,arguments)},Hx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Wu(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 Vu=function(e){n2(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,bo([void 0],r[0].concat(this)))):new(t.bind.apply(t,bo([void 0],r.concat(this))))},t}(Array),ju=function(e){n2(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,bo([void 0],r[0].concat(this)))):new(t.bind.apply(t,bo([void 0],r.concat(this))))},t}(Array);function Zi(e){return St(e)?Jn(e,function(){}):e}function Ku(e){return typeof e=="boolean"}function qu(){return function(t){return Zu(t)}}function Zu(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,l=new Vu;if(r&&(Ku(r)?l.push(Vi):l.push(Vi.withExtraArgument(r.extraArgument))),0){if(a)var f;if(s)var u}return l}var Ki=!0;function a2(e){var t=qu(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,l=r.devTools,f=l===void 0?!0:l,u=r.preloadedState,m=u===void 0?void 0:u,g=r.enhancers,y=g===void 0?void 0:g,S;if(typeof a=="function")S=a;else if(Wu(a))S=Y1(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),!Ki&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ki&&C.some(function($){return typeof $!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=X1.apply(void 0,C),N=yo;f&&(N=Gu(ir({trace:!Ki},typeof f=="object"&&f)));var M=new ju(E),T=M;Array.isArray(y)?T=bo([E],y):typeof y=="function"&&(T=y(M));var D=N.apply(void 0,T);return Wi(S,m,D)}function sr(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 ir(ir({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 i2(e){var t={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=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 Yu(e){return typeof e=="function"}function Xu(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?i2(t):[t,r,n],i=a[0],s=a[1],l=a[2],f;if(Yu(e))f=function(){return Zi(e())};else{var u=Zi(e);f=function(){return u}}function m(g,y){g===void 0&&(g=f());var S=bo([i[y.type]],s.filter(function(C){var E=C.matcher;return E(y)}).map(function(C){var E=C.reducer;return E}));return S.filter(function(C){return!!C}).length===0&&(S=[l]),S.reduce(function(C,E){if(E)if(Kt(C)){var N=C,M=E(N,y);return M===void 0?C:M}else{if(St(C))return Jn(C,function(T){return E(T,y)});var M=E(C,y);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 Qu(e,t){return e+"/"+t}function s2(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:Zi(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var g=n[m],y=Qu(t,m),S,C;"reducer"in g?(S=g.reducer,C=g.prepare):S=g,i[m]=S,s[y]=S,l[m]=C?sr(y,C):sr(y)});function f(){var m=typeof e.extraReducers=="function"?i2(e.extraReducers):[e.extraReducers],g=m[0],y=g===void 0?{}:g,S=m[1],C=S===void 0?[]:S,E=m[2],N=E===void 0?void 0:E,M=ir(ir({},y),s);return Xu(r,function(T){for(var D in M)T.addCase(D,M[D]);for(var $=0,W=C;$<W.length;$++){var ae=W[$];T.addMatcher(ae.matcher,ae.reducer)}N&&T.addDefaultCase(N)})}var u;return{name:t,reducer:function(m,g){return u||(u=f()),u(m,g)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=f()),u.getInitialState()}}}var Ju="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ep=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Ju[Math.random()*64|0];return t},tp=["name","message","stack","code"],qi=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),r2=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),rp=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=tp;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Vx=function(){function e(t,r,n){var a=sr(t+"/fulfilled",function(m,g,y,S){return{payload:m,meta:ji(ir({},S||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=sr(t+"/pending",function(m,g,y){return{payload:void 0,meta:ji(ir({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=sr(t+"/rejected",function(m,g,y,S,C){return{payload:S,error:(n&&n.serializeError||rp)(m||"Rejected"),meta:ji(ir({},C||{}),{arg:y,requestId:g,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!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,y,S){var C=n?.idGenerator?n.idGenerator(m):ep(),E=new f,N,M=!1;function T($){N=$,E.abort()}var D=function(){return Fu(this,null,function(){var $,W,ae,Fe,_e,Rt,Ne;return Iu(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Fe=($=n?.condition)==null?void 0:$.call(n,m,{getState:y,extra:S}),np(Fe)?[4,Fe]:[3,2];case 1:Fe=x.sent(),x.label=2;case 2:if(Fe===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return M=!0,_e=new Promise(function(L,H){return E.signal.addEventListener("abort",function(){return H({name:"AbortError",message:N||"Aborted"})})}),g(i(C,m,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:C,arg:m},{getState:y,extra:S}))),[4,Promise.race([_e,Promise.resolve(r(m,{dispatch:g,getState:y,extra:S,requestId:C,signal:E.signal,abort:T,rejectWithValue:function(L,H){return new qi(L,H)},fulfillWithValue:function(L,H){return new r2(L,H)}})).then(function(L){if(L instanceof qi)throw L;return L instanceof r2?a(L.payload,C,m,L.meta):a(L,C,m)})])];case 3:return ae=x.sent(),[3,5];case 4:return Rt=x.sent(),ae=Rt instanceof qi?s(null,C,m,Rt.payload,Rt.meta):s(Rt,C,m),[3,5];case 5:return Ne=n&&!n.dispatchConditionRejection&&s.match(ae)&&ae.meta.condition,Ne||g(ae),[2,ae]}})})}();return Object.assign(D,{abort:T,requestId:C,arg:m,unwrap:function(){return D.then(op)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function op(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 c2="listener",l2="completed",d2="cancelled",jx="task-"+d2,Kx="task-"+l2,qx=c2+"-"+d2,Zx=c2+"-"+l2;var Yi="listenerMiddleware";var Yx=sr(Yi+"/add"),Xx=sr(Yi+"/removeAll"),Qx=sr(Yi+"/remove");var o2,Jx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(o2||(o2=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},ap=function(e){return function(t){setTimeout(t,e)}},eS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ap(10);F1();var ip=Wn(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)}}}),ta=class extends ip(Object){};window.ftReduxStores||(window.ftReduxStores={});var f2=class e extends ta{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(Zn(i))return i;if(a==null)return;let s=s2({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=a2({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=x1(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,l,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Vn;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{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 ra=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 l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${l}`}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=v(w()),sp="ft-app-info",Ir=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Ir.eventName="authentication-change";var cp={session:(e,t)=>{(0,oa.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>I.dispatchEvent(new Ir(t.payload)),0))}},I=oa.FtReduxStore.get({name:sp,reducers:cp,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 u2=v(w()),na=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},wS=(0,u2.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(I)}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(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>ra.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return na([(0,Xi.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),na([(0,Xi.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),na([Ri({store:I.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),na([Ri({store:I.name})],t.prototype,"uiLocale",void 0),t});var dp=v(h2(),1);var m2;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(m2||(m2={}));var g2;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(g2||(g2={}));var y2;(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"})(y2||(y2={}));var b2;(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"})(b2||(b2={}));var v2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(v2||(v2={}));var x2;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(x2||(x2={}));var S2;(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"})(S2||(S2={}));var C2;(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"})(C2||(C2={}));var O2;(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"})(O2||(O2={}));var L2;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(L2||(L2={}));var E2;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(E2||(E2={}));var A2;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(A2||(A2={}));var R2;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(R2||(R2={}));var w2;(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"})(w2||(w2={}));var Qi;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Qi||(Qi={}));var _2;(function(e){e.ASC="ASC",e.DESC="DESC"})(_2||(_2={}));var N2;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(N2||(N2={}));var Ji;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ji||(Ji={}));var T2;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(T2||(T2={}));var k2;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(k2||(k2={}));var M2;(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"})(M2||(M2={}));var P2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(P2||(P2={}));var z2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(z2||(z2={}));var es;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(es||(es={}));var I2;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(I2||(I2={}));var be;(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"})(be||(be={}));var dt;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(dt||(dt={}));var D2;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(D2||(D2={}));var B2;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(B2||(B2={}));var $2;(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"})($2||($2={}));var U2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(U2||(U2={}));var H2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(H2||(H2={}));var F2;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(F2||(F2={}));var G2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(G2||(G2={}));var W2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(W2||(W2={}));var V2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(V2||(V2={}));var lp={[be.PERSONAL_BOOK_SHARE_USER]:[be.PERSONAL_BOOK_USER],[be.HTML_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.PDF_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.KHUB_ADMIN]:[be.CONTENT_PUBLISHER],[be.ADMIN]:[be.KHUB_ADMIN,be.USERS_ADMIN,be.PORTAL_ADMIN,be.BEHAVIOR_DATA_USER],[be.GENERATIVE_AI_EXPORT_USER]:[be.GENERATIVE_AI_USER]};function j2(e,t){return e===t||(lp[e]??[]).some(r=>j2(r,t))}function K2(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=>j2(n,t))}var ua=v(w());var ts=v(w());var Dr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=I.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=I.subscribe(()=>{n=e.get(t),n&&(a(),r(n))})}})}};var sa=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Dr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Dr.await()}};var je=class extends sa{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(([l],[f])=>l.localeCompare(f)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ts.CacheRegistry,this.cache=t?a.commonCache:new ts.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 ca=class extends je{async listMySearches(){let{session:t}=I.getState();return K2(t,be.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var la=class extends je{async listMyBookmarks(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var da=class extends je{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=I.getState().session;return!!t?.sessionAuthenticated}};var fa=class extends je{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=I.getState().session;return!!t?.sessionAuthenticated}};var fp="ft-user-assets",up={setAssetCount:(e,t)=>{let{userAssetType:r,count:n}=t.payload.assetCount;e.assetCounts.allAsset[r]=n},clearAssetCount:e=>{Object.values(dt).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;os(e,r,[...rs(e,r),a]),q2(e,r,1,n),Z2(e,a)},editAsset:(e,t)=>{let{assetType:r,asset:n}=t.payload;os(e,r,rs(e,r).map(a=>a.id===n.id?n:a)),Z2(e,n)},removeAsset:(e,t)=>{let{assetType:r,mapId:n,assetId:a}=t.payload;os(e,r,rs(e,r).filter(i=>i.id!==a)),q2(e,r,-1,n)}},Y2={[dt.SEARCHES]:"savedSearches",[dt.BOOKMARKS]:"bookmarks",[dt.BOOKS]:void 0,[dt.COLLECTIONS]:void 0},rs=(e,t)=>{var r;let n=Y2[t];return n?(r=e[n])!==null&&r!==void 0?r:[]:[]},os=(e,t,r)=>{let n=Y2[t];n&&(e[n]=r)},q2=(e,t,r,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+r),t===dt.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+r)}},Z2=(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)},Qe=ua.FtReduxStore.get({name:fp,reducers:up,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(dt).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ns=class{constructor(t=new da,r=new fa){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new la,this.savedSearchesService=new ca,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,ua.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(),Qe.actions.clearAssetCount(),Qe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Qe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Qe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Qe.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Qe.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&Qe.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&Qe.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(Qe.getState().assetCounts.bookmarkByMap).length!==0;t===dt.BOOKMARKS&&r&&Qe.actions.clearBookmarkCountByMap(),Qe.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;Qe.actions.bookmarks(r)}}},pp=new ns;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=pp);var as=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new as;var ft=v(w());var X2,xo=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},hp=Symbol("clearAfterUnitTest"),pa=class extends(0,ft.withEventBus)(je){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[X2]=()=>{this.defaultMessages={},this.cache=new ft.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=I.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,ft.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 ft.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 ft.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 xo({loadedContexts:t})),this.dispatchEvent(new xo({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new xo({loadedContexts:[t]})),this.dispatchEvent(new xo({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ft.delay)(0).then(()=>n()).catch(()=>null)))}};X2=hp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends pa{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends pa{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var So=window.FluidTopicsI18nService,ha=window.FluidTopicsCustomI18nService;var Q2=v(w()),is=class{highlightHtml(t,r,n){(0,Q2.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new is;var J2=v(w());var ss=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.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 J2.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:I.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 ss;var ed=v(w());var en=class{static get(t,r){var n,a;let i=I.getState(),{lang:s,region:l}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new ed.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var cs=class{urlToSearchRequest(t){return en.get().parse(t)}searchRequestToUrl(t){return en.get().serialize(t)}};window.FluidTopicsUrlService=new cs;var lr=v(w());var Br=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Br.eventName="change";var ls=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))}},td=new ls;var ma=class e extends lr.WithEventBus{static build(){return new e(window.history,td,()=>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,lr.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Br(this.currentItem())),0)}installProxies(){let t=r=>(n,a,[i,s,l])=>{let f=r(),u={...f===this.currentIndex?this.currentState:void 0,...i,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[u,s,l]),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(Br.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Br.eventName,t)}currentItem(){return(0,lr.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,lr.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,lr.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 rd=v(U());var od=rd.css`
605
- `;var ad=v(U()),ze=v(K()),Ct=v(w());function nd(e,t){let{authenticationRequired:r,session:n}=I.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var Oe=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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 Ct.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=()=>Dr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ct.CacheRegistry,this.cleanSessionDebouncer=new Ct.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return ad.html`
604
+ `}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=(...l)=>f=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(f)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",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()}};q.elementDefinitions={};q.styles=jc;We([(0,Pe.property)({type:Boolean})],q.prototype,"primary",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"secondary",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"unbounded",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"activated",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"selected",void 0);We([(0,Pe.property)({type:Boolean})],q.prototype,"disabled",void 0);We([(0,Pe.state)()],q.prototype,"hovered",void 0);We([(0,Pe.state)()],q.prototype,"focused",void 0);We([(0,Pe.state)()],q.prototype,"pressed",void 0);We([(0,Pe.state)()],q.prototype,"rippling",void 0);We([(0,Pe.state)()],q.prototype,"originX",void 0);We([(0,Pe.state)()],q.prototype,"originY",void 0);We([(0,Pe.query)(".ft-ripple")],q.prototype,"ripple",void 0);We([(0,Pe.query)(".ft-ripple--effect")],q.prototype,"rippleEffect",void 0);var Wl=v(w());(0,Wl.customElement)("ft-ripple")(q);var md=v(U()),pt=v(K()),ut=v(w());var jl=["top","right","bottom","left"],Vl=["start","end"],vi=jl.reduce((e,t)=>e.concat(t,t+"-"+Vl[0],t+"-"+Vl[1]),[]),Wo=Math.min,tr=Math.max,Vo=Math.round;var xt=e=>({x:e,y:e}),tu={left:"right",right:"left",bottom:"top",top:"bottom"};function xi(e,t,r){return tr(e,Wo(t,r))}function Pn(e,t){return typeof e=="function"?e(t):e}function co(e){return e.split("-")[0]}function rr(e){return e.split("-")[1]}function Si(e){return e==="x"?"y":"x"}function Ci(e){return e==="y"?"height":"width"}function zn(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Oi(e){return Si(zn(e))}function Kl(e,t,r){r===void 0&&(r=!1);let n=rr(e),a=Oi(e),i=Ci(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=bi(s)),[s,bi(s)]}function ql(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function bi(e){let t=co(e);return tu[t]+e.slice(t.length)}function ru(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zl(e){return typeof e!="number"?ru(e):{top:e,right:e,bottom:e,left:e}}function wr(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 Yl(e,t,r){let{reference:n,floating:a}=e,i=zn(t),s=Oi(t),l=Ci(s),f=co(t),u=i==="y",m=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/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(rr(t)){case"start":S[s]-=y*(r&&u?-1:1);break;case"end":S[s]+=y*(r&&u?-1:1);break}return S}async function Xl(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:y=!1,padding:S=0}=Pn(t,e),C=Zl(S),N=l[y?g==="floating"?"reference":"floating":g],M=wr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(N)))==null||r?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:f})),T=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(l.floating)),$=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},W=wr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:T,offsetParent:D,strategy:f}):T);return{top:(M.top-W.top+C.top)/$.y,bottom:(W.bottom-M.bottom+C.bottom)/$.y,left:(M.left-W.left+C.left)/$.x,right:(W.right-M.right+C.right)/$.x}}var ou=50,Ql=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Xl},f=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:g}=Yl(u,n,f),y=n,S=0,C={};for(let E=0;E<i.length;E++){let N=i[E];if(!N)continue;let{name:M,fn:T}=N,{x:D,y:$,data:W,reset:ae}=await T({x:m,y:g,initialPlacement:n,placement:y,strategy:a,middlewareData:C,rects:u,platform:l,elements:{reference:e,floating:t}});m=D??m,g=$??g,C[M]={...C[M],...W},ae&&S<ou&&(S++,typeof ae=="object"&&(ae.placement&&(y=ae.placement),ae.rects&&(u=ae.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):ae.rects),{x:m,y:g}=Yl(u,y,f)),E=-1)}return{x:m,y:g,placement:y,strategy:a,middlewareData:C}};function nu(e,t,r){return(e?[...r.filter(a=>rr(a)===e),...r.filter(a=>rr(a)!==e)]:r.filter(a=>co(a)===a)).filter(a=>e?rr(a)===e||(t?ql(a)!==a:!1):!0)}var Jl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:f,elements:u}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:y=vi,autoAlignment:S=!0,...C}=Pn(e,t),E=g!==void 0||y===vi?nu(g||null,S,y):y,N=await f.detectOverflow(t,C),M=((r=s.autoPlacement)==null?void 0:r.index)||0,T=E[M];if(T==null)return{};let D=Kl(T,i,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(l!==T)return{reset:{placement:E[0]}};let $=[N[co(T)],N[D[0]],N[D[1]]],W=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:$}],ae=E[M+1];if(ae)return{data:{index:M+1,overflows:W},reset:{placement:ae}};let Fe=W.map(Te=>{let x=rr(Te.placement);return[Te.placement,x&&m?Te.overflows.slice(0,2).reduce((L,H)=>L+H,0):Te.overflows[0],Te.overflows]}).sort((Te,x)=>Te[1]-x[1]),Rt=((a=Fe.filter(Te=>Te[2].slice(0,rr(Te[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||Fe[0][0];return Rt!==l?{data:{index:M+1,overflows:W},reset:{placement:Rt}}:{}}}};var e1=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:l=!1,limiter:f={fn:M=>{let{x:T,y:D}=M;return{x:T,y:D}}},...u}=Pn(e,t),m={x:r,y:n},g=await i.detectOverflow(t,u),y=zn(co(a)),S=Si(y),C=m[S],E=m[y];if(s){let M=S==="y"?"top":"left",T=S==="y"?"bottom":"right",D=C+g[M],$=C-g[T];C=xi(D,C,$)}if(l){let M=y==="y"?"top":"left",T=y==="y"?"bottom":"right",D=E+g[M],$=E-g[T];E=xi(D,E,$)}let N=f.fn({...t,[S]:C,[y]:E});return{...N,data:{x:N.x-r,y:N.y-n,enabled:{[S]:s,[y]:l}}}}}};function Dn(){return typeof window<"u"}function Nr(e){return r1(e)?(e.nodeName||"").toLowerCase():"#document"}function Ve(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function kt(e){var t;return(t=(r1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function r1(e){return Dn()?e instanceof Node||e instanceof Ve(e).Node:!1}function st(e){return Dn()?e instanceof Element||e instanceof Ve(e).Element:!1}function Mt(e){return Dn()?e instanceof HTMLElement||e instanceof Ve(e).HTMLElement:!1}function t1(e){return!Dn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ve(e).ShadowRoot}function lo(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=ct(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function o1(e){return/^(table|td|th)$/.test(Nr(e))}function jo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var au=/transform|translate|scale|rotate|perspective|filter/,iu=/paint|layout|strict|content/,_r=e=>!!e&&e!=="none",Li;function Bn(e){let t=st(e)?ct(e):e;return _r(t.transform)||_r(t.translate)||_r(t.scale)||_r(t.rotate)||_r(t.perspective)||!$n()&&(_r(t.backdropFilter)||_r(t.filter))||au.test(t.willChange||"")||iu.test(t.contain||"")}function n1(e){let t=jt(e);for(;Mt(t)&&!Tr(t);){if(Bn(t))return t;if(jo(t))return null;t=jt(t)}return null}function $n(){return Li==null&&(Li=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Li}function Tr(e){return/^(html|body|#document)$/.test(Nr(e))}function ct(e){return Ve(e).getComputedStyle(e)}function Ko(e){return st(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function jt(e){if(Nr(e)==="html")return e;let t=e.assignedSlot||e.parentNode||t1(e)&&e.host||kt(e);return t1(t)?t.host:t}function a1(e){let t=jt(e);return Tr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Mt(t)&&lo(t)?t:a1(t)}function In(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=a1(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=Ve(a);if(i){let l=Un(s);return t.concat(s,s.visualViewport||[],lo(a)?a:[],l&&r?In(l):[])}else return t.concat(a,In(a,[],r))}function Un(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function l1(e){let t=ct(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Mt(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,l=Vo(r)!==i||Vo(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function d1(e){return st(e)?e:e.contextElement}function fo(e){let t=d1(e);if(!Mt(t))return xt(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=l1(t),s=(i?Vo(r.width):r.width)/n,l=(i?Vo(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var su=xt(0);function f1(e){let t=Ve(e);return!$n()||!t.visualViewport?su:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cu(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ve(e)?!1:t}function qo(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=d1(e),s=xt(1);t&&(n?st(n)&&(s=fo(n)):s=fo(e));let l=cu(i,r,n)?f1(i):xt(0),f=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,m=a.width/s.x,g=a.height/s.y;if(i){let y=Ve(i),S=n&&st(n)?Ve(n):n,C=y,E=Un(C);for(;E&&n&&S!==C;){let N=fo(E),M=E.getBoundingClientRect(),T=ct(E),D=M.left+(E.clientLeft+parseFloat(T.paddingLeft))*N.x,$=M.top+(E.clientTop+parseFloat(T.paddingTop))*N.y;f*=N.x,u*=N.y,m*=N.x,g*=N.y,f+=D,u+=$,C=Ve(E),E=Un(C)}}return wr({width:m,height:g,x:f,y:u})}function Hn(e,t){let r=Ko(e).scrollLeft;return t?t.left+r:qo(kt(e)).left+r}function u1(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Hn(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function lu(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=kt(n),l=t?jo(t.floating):!1;if(n===s||l&&i)return r;let f={scrollLeft:0,scrollTop:0},u=xt(1),m=xt(0),g=Mt(n);if((g||!g&&!i)&&((Nr(n)!=="body"||lo(s))&&(f=Ko(n)),g)){let S=qo(n);u=fo(n),m.x=S.x+n.clientLeft,m.y=S.y+n.clientTop}let y=s&&!g&&!i?u1(s,f):xt(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-f.scrollLeft*u.x+m.x+y.x,y:r.y*u.y-f.scrollTop*u.y+m.y+y.y}}function du(e){return Array.from(e.getClientRects())}function fu(e){let t=kt(e),r=Ko(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+Hn(e),l=-r.scrollTop;return ct(n).direction==="rtl"&&(s+=tr(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var i1=25;function uu(e,t){let r=Ve(e),n=kt(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,f=0;if(a){i=a.width,s=a.height;let m=$n();(!m||m&&t==="fixed")&&(l=a.offsetLeft,f=a.offsetTop)}let u=Hn(n);if(u<=0){let m=n.ownerDocument,g=m.body,y=getComputedStyle(g),S=m.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,C=Math.abs(n.clientWidth-g.clientWidth-S);C<=i1&&(i-=C)}else u<=i1&&(i+=u);return{width:i,height:s,x:l,y:f}}function pu(e,t){let r=qo(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=Mt(e)?fo(e):xt(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,f=a*i.x,u=n*i.y;return{width:s,height:l,x:f,y:u}}function s1(e,t,r){let n;if(t==="viewport")n=uu(e,r);else if(t==="document")n=fu(kt(e));else if(st(t))n=pu(t,r);else{let a=f1(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return wr(n)}function p1(e,t){let r=jt(e);return r===t||!st(r)||Tr(r)?!1:ct(r).position==="fixed"||p1(r,t)}function hu(e,t){let r=t.get(e);if(r)return r;let n=In(e,[],!1).filter(l=>st(l)&&Nr(l)!=="body"),a=null,i=ct(e).position==="fixed",s=i?jt(e):e;for(;st(s)&&!Tr(s);){let l=ct(s),f=Bn(s);!f&&l.position==="fixed"&&(a=null),(i?!f&&!a:!f&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||lo(s)&&!f&&p1(e,s))?n=n.filter(m=>m!==s):a=l,s=jt(s)}return t.set(e,n),n}function mu(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?jo(t)?[]:hu(t,this._c):[].concat(r),n],l=s1(t,s[0],a),f=l.top,u=l.right,m=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let S=s1(t,s[y],a);f=tr(S.top,f),u=Wo(S.right,u),m=Wo(S.bottom,m),g=tr(S.left,g)}return{width:u-g,height:m-f,x:g,y:f}}function gu(e){let{width:t,height:r}=l1(e);return{width:t,height:r}}function yu(e,t,r){let n=Mt(t),a=kt(t),i=r==="fixed",s=qo(e,!0,i,t),l={scrollLeft:0,scrollTop:0},f=xt(0);function u(){f.x=Hn(a)}if(n||!n&&!i)if((Nr(t)!=="body"||lo(a))&&(l=Ko(t)),n){let S=qo(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?u1(a,l):xt(0),g=s.left+l.scrollLeft-f.x-m.x,y=s.top+l.scrollTop-f.y-m.y;return{x:g,y,width:s.width,height:s.height}}function Ei(e){return ct(e).position==="static"}function c1(e,t){if(!Mt(e)||ct(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return kt(e)===r&&(r=r.ownerDocument.body),r}function h1(e,t){let r=Ve(e);if(jo(e))return r;if(!Mt(e)){let a=jt(e);for(;a&&!Tr(a);){if(st(a)&&!Ei(a))return a;a=jt(a)}return r}let n=c1(e,t);for(;n&&o1(n)&&Ei(n);)n=c1(n,t);return n&&Tr(n)&&Ei(n)&&!Bn(n)?r:n||n1(e)||r}var bu=async function(e){let t=this.getOffsetParent||h1,r=this.getDimensions,n=await r(e.floating);return{reference:yu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vu(e){return ct(e).direction==="rtl"}var Fn={convertOffsetParentRelativeRectToViewportRelativeRect:lu,getDocumentElement:kt,getClippingRect:mu,getOffsetParent:h1,getElementRects:bu,getClientRects:du,getDimensions:gu,getScale:fo,isElement:st,isRTL:vu};var m1=Jl,g1=e1;var y1=(e,t,r)=>{let n=new Map,a={platform:Fn,...r},i={...a.platform,_c:n};return Ql(e,t,{...a,platform:i})};function b1(e){return xu(e)}function Ai(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function xu(e){for(let t=e;t;t=Ai(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ai(e);t;t=Ai(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 v1(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},y1(e,t,{strategy:n.strategy,platform:{...Fn,getOffsetParent:a=>Fn.getOffsetParent(a,b1)},middleware:[g1({crossAxis:!0}),m1({allowedPlacements:[n.placement]})]})}var Oo=v(w());var Xi=v(K());function Su(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(!Gn(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(!Gn(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(l=>s[l]!=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(!Gn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Gn(e,t){try{return Su(e,t)}catch{return!1}}function Zo(e,t){return!Gn(e,t)}function x1(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Wn(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 S1=v(K(),1);var Ri=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:Zo,attribute:!1,...t};(0,S1.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:l=>l[n],store:t.store})}};var Vn=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 kr=v(K(),1);var C1=v(K(),1);function O1(e,t){let r=()=>JSON.parse(JSON.stringify(e));return(0,C1.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:Zo,...t??{}})}var jn=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(l){a(l);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=v(U(),1);var Kn=globalThis,Cu=Kn.ShadowRoot&&(Kn.ShadyCSS===void 0||Kn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ox=Symbol();var L1=(e,t)=>{if(Cu)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=Kn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}};var qn=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 L1(n,t.elementStyles),n}};function A1(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 po=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},N1,R1=Symbol("constructorPrototype"),w1=Symbol("constructorName"),T1=Symbol("exportpartsDebouncer"),_1=Symbol("dynamicDependenciesLoaded"),uo=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};uo.eventName="exportparts-updated";var Pt=class extends qn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[N1]=new jn(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[T1].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[w1]=this.constructor.name,this[R1]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[w1]&&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[_1]||(r[_1]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(uo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(uo.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 uo)})}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=A1(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,l;let f=y=>y!=null&&y.trim().length>0,u=t.filter(f).map(y=>y.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],C=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[],E=[...S,...C].filter(f).map(N=>N.trim());for(let N of E)m.add(N)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(y=>u.map(S=>`${y}:${S}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};N1=T1;po([(0,kr.property)()],Pt.prototype,"exportpartsPrefix",void 0);po([O1([])],Pt.prototype,"exportpartsPrefixes",void 0);po([(0,kr.property)({reflect:!0})],Pt.prototype,"exportparts",void 0);po([(0,kr.property)()],Pt.prototype,"customStylesheet",void 0);po([(0,kr.property)()],Pt.prototype,"elementToFocus",void 0);po([(0,kr.state)()],Pt.prototype,"useAdoptedStyleSheets",void 0);function Zn(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Yo=Symbol("internalReduxEventsUnsubscribers"),or=Symbol("internalStoresUnsubscribers"),Mr=Symbol("internalStores"),Ou=Wn(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(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Mr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Mr].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[Mr].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Mr].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Mr].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[or].has(s.store):this[or].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var f;this[or].set(s,l.subscribe(()=>this.updateFromStores())),this[Yo].set(s,[]),Zn(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let g=y=>this[m](y);l.addEventListener(u.eventName,g),this[Yo].get(s).push(()=>l.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[or].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[or].has(s)&&this[or].get(s)(),this[or].delete(s),(l=this[Yo].get(s))===null||l===void 0||l.forEach(f=>f()),this[Yo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=or,r=Mr,n=Yo,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),k1=class extends Ou(Pt){};function lt(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 Kt(e){return!!e&&!!e[se]}function St(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)===Tu}(e)||Array.isArray(e)||!!e[$1]||!!(!((t=e.constructor)===null||t===void 0)&&t[$1])||Ii(e)||Di(e))}function Pr(e,t,r){r===void 0&&(r=!1),go(e)===0?(r?Object.keys:mo)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function go(e){var t=e[se];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ii(e)?2:Di(e)?3:0}function ho(e,t){return go(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Lu(e,t){return go(e)===2?e.get(t):e[t]}function U1(e,t,r){var n=go(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function H1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ii(e){return _u&&e instanceof Map}function Di(e){return Nu&&e instanceof Set}function nr(e){return e.o||e.t}function Bi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=W1(e);delete t[se];for(var r=mo(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 $i(e,t){return t===void 0&&(t=!1),Ui(e)||Kt(e)||!St(e)||(go(e)>1&&(e.set=e.add=e.clear=e.delete=Eu),Object.freeze(e),t&&Pr(e,function(r,n){return $i(n,!0)},!0)),e}function Eu(){lt(2)}function Ui(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function zt(e){var t=zi[e];return t||lt(18,e),t}function Au(e,t){zi[e]||(zi[e]=t)}function ki(){return Qo}function wi(e,t){t&&(zt("Patches"),e.u=[],e.s=[],e.v=t)}function Yn(e){Mi(e),e.p.forEach(Ru),e.p=null}function Mi(e){e===Qo&&(Qo=e.l)}function M1(e){return Qo={p:[],l:Qo,h:e,m:!0,_:0}}function Ru(e){var t=e[se];t.i===0||t.i===1?t.j():t.g=!0}function _i(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||zt("ES5").S(t,e,n),n?(r[se].P&&(Yn(t),lt(4)),St(e)&&(e=Xn(t,e),t.l||Qn(t,e)),t.u&&zt("Patches").M(r[se].t,e,t.u,t.s)):e=Xn(t,r,[]),Yn(t),t.u&&t.v(t.u,t.s),e!==G1?e:void 0}function Xn(e,t,r){if(Ui(t))return t;var n=t[se];if(!n)return Pr(t,function(l,f){return P1(e,n,t,l,f,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Qn(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Bi(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Pr(i,function(l,f){return P1(e,n,a,l,f,r,s)}),Qn(e,a,!1),r&&e.u&&zt("Patches").N(n,r,e.u,e.s)}return n.o}function P1(e,t,r,n,a,i,s){if(Kt(a)){var l=Xn(e,a,i&&t&&t.i!==3&&!ho(t.R,n)?i.concat(n):void 0);if(U1(r,n,l),!Kt(l))return;e.m=!1}else s&&r.add(a);if(St(a)&&!Ui(a)){if(!e.h.D&&e._<1)return;Xn(e,a),t&&t.A.l||Qn(e,a)}}function Qn(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&$i(t,r)}function Ni(e,t){var r=e[se];return(r?nr(r):e)[t]}function z1(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 ar(e){e.P||(e.P=!0,e.l&&ar(e.l))}function Ti(e){e.o||(e.o=Bi(e.t))}function Pi(e,t,r){var n=Ii(t)?zt("MapSet").F(t,r):Di(t)?zt("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:ki(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=l,u=Jo;s&&(f=[l],u=Xo);var m=Proxy.revocable(f,u),g=m.revoke,y=m.proxy;return l.k=y,l.j=g,y}(t,r):zt("ES5").J(t,r);return(r?r.A:ki()).p.push(n),n}function wu(e){return Kt(e)||lt(22,e),function t(r){if(!St(r))return r;var n,a=r[se],i=go(r);if(a){if(!a.P&&(a.i<4||!zt("ES5").K(a)))return a.t;a.I=!0,n=I1(r,i),a.I=!1}else n=I1(r,i);return Pr(n,function(s,l){a&&Lu(a.t,s)===l||U1(n,s,t(l))}),i===3?new Set(n):n}(e)}function I1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Bi(e)}function F1(){function e(s,l){var f=i[s];return f?f.enumerable=l:i[s]=f={configurable:!0,enumerable:l,get:function(){var u=this[se];return Jo.get(u,s)},set:function(u){var m=this[se];Jo.set(m,s,u)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][se];if(!f.P)switch(f.i){case 5:n(f)&&ar(f);break;case 4:r(f)&&ar(f)}}}function r(s){for(var l=s.t,f=s.k,u=mo(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==se){var y=l[g];if(y===void 0&&!ho(l,g))return!0;var S=f[g],C=S&&S[se];if(C?C.t!==y:!H1(S,y))return!0}}var E=!!l[se];return u.length!==mo(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&lt(3,JSON.stringify(nr(s)))}var i={};Au("ES5",{J:function(s,l){var f=Array.isArray(s),u=function(g,y){if(g){for(var S=Array(y.length),C=0;C<y.length;C++)Object.defineProperty(S,""+C,e(C,!0));return S}var E=W1(y);delete E[se];for(var N=mo(E),M=0;M<N.length;M++){var T=N[M];E[T]=e(T,g||!!E[T].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(f,s),m={i:f?5:4,A:l?l.A:ki(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,se,{value:m,writable:!0}),u},S:function(s,l,f){f?Kt(l)&&l[se].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[se];if(g){var y=g.t,S=g.k,C=g.R,E=g.i;if(E===4)Pr(S,function($){$!==se&&(y[$]!==void 0||ho(y,$)?C[$]||u(S[$]):(C[$]=!0,ar(g)))}),Pr(y,function($){S[$]!==void 0||ho(S,$)||(C[$]=!1,ar(g))});else if(E===5){if(n(g)&&(ar(g),C.length=!0),S.length<y.length)for(var N=S.length;N<y.length;N++)C[N]=!1;else for(var M=y.length;M<S.length;M++)C[M]=!0;for(var T=Math.min(S.length,y.length),D=0;D<T;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 D1,Qo,Hi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",_u=typeof Map<"u",Nu=typeof Set<"u",B1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",G1=Hi?Symbol.for("immer-nothing"):((D1={})["immer-nothing"]=!0,D1),$1=Hi?Symbol.for("immer-draftable"):"__$immer_draftable",se=Hi?Symbol.for("immer-state"):"__$immer_state";var Tu=""+Object.prototype.constructor,mo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,W1=Object.getOwnPropertyDescriptors||function(e){var t={};return mo(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},zi={},Jo={get:function(e,t){if(t===se)return e;var r=nr(e);if(!ho(r,t))return function(a,i,s){var l,f=z1(i,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,r,t);var n=r[t];return e.I||!St(n)?n:n===Ni(e.t,t)?(Ti(e),e.o[t]=Pi(e.A.h,n,e)):n},has:function(e,t){return t in nr(e)},ownKeys:function(e){return Reflect.ownKeys(nr(e))},set:function(e,t,r){var n=z1(nr(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Ni(nr(e),t),i=a?.[se];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(H1(r,a)&&(r!==void 0||ho(e.t,t)))return!0;Ti(e),ar(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 Ni(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ti(e),ar(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=nr(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){lt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){lt(12)}},Xo={};Pr(Jo,function(e,t){Xo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Xo.deleteProperty=function(e,t){return Xo.set.call(this,e,t,void 0)},Xo.set=function(e,t,r){return Jo.set.call(this,e[0],t,r,e[0])};var ku=function(){function e(r){var n=this;this.O=B1,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var f=n;return function(E){var N=this;E===void 0&&(E=l);for(var M=arguments.length,T=Array(M>1?M-1:0),D=1;D<M;D++)T[D-1]=arguments[D];return f.produce(E,function($){var W;return(W=i).call.apply(W,[N,$].concat(T))})}}var u;if(typeof i!="function"&&lt(6),s!==void 0&&typeof s!="function"&&lt(7),St(a)){var m=M1(n),g=Pi(n,a,void 0),y=!0;try{u=i(g),y=!1}finally{y?Yn(m):Mi(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return wi(m,s),_i(E,m)},function(E){throw Yn(m),E}):(wi(m,s),_i(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===G1&&(u=void 0),n.D&&$i(u,!0),s){var S=[],C=[];zt("Patches").M(a,u,S,C),s(S,C)}return u}lt(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),y=1;y<m;y++)g[y-1]=arguments[y];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(g))})};var s,l,f=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&f instanceof Promise?f.then(function(u){return[u,s,l]}):[f,s,l]},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){St(r)||lt(8),Kt(r)&&(r=wu(r));var n=M1(this),a=Pi(this,r,void 0);return a[se].C=!0,Mi(n),a},t.finishDraft=function(r,n){var a=r&&r[se],i=a.A;return wi(i,n),_i(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!B1&&lt(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=zt("Patches").$;return Kt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),Xe=new ku,Mu=Xe.produce,bx=Xe.produceWithPatches.bind(Xe),vx=Xe.setAutoFreeze.bind(Xe),xx=Xe.setUseProxies.bind(Xe),Sx=Xe.applyPatches.bind(Xe),Cx=Xe.createDraft.bind(Xe),Ox=Xe.finishDraft.bind(Xe),Jn=Mu;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 V1(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 j1(e){var t=V1(e,"string");return zr(t)=="symbol"?t:t+""}function K1(e,t,r){return(t=j1(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q1(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 Fi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?q1(Object(r),!0).forEach(function(n){K1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $e(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 Z1=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Gi=function(){return Math.random().toString(36).substring(7).split("").join(".")},ea={INIT:"@@redux/INIT"+Gi(),REPLACE:"@@redux/REPLACE"+Gi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Gi()}};function Pu(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 Wi(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error($e(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error($e(1));return r(Wi)(e,t)}if(typeof e!="function")throw new Error($e(2));var a=e,i=t,s=[],l=s,f=!1;function u(){l===s&&(l=s.slice())}function m(){if(f)throw new Error($e(3));return i}function g(E){if(typeof E!="function")throw new Error($e(4));if(f)throw new Error($e(5));var N=!0;return u(),l.push(E),function(){if(N){if(f)throw new Error($e(6));N=!1,u();var T=l.indexOf(E);l.splice(T,1),s=null}}}function y(E){if(!Pu(E))throw new Error($e(7));if(typeof E.type>"u")throw new Error($e(8));if(f)throw new Error($e(9));try{f=!0,i=a(i,E)}finally{f=!1}for(var N=s=l,M=0;M<N.length;M++){var T=N[M];T()}return E}function S(E){if(typeof E!="function")throw new Error($e(10));a=E,y({type:ea.REPLACE})}function C(){var E,N=g;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error($e(11));function D(){T.next&&T.next(m())}D();var $=N(D);return{unsubscribe:$}}},E[Z1]=function(){return this},E}return y({type:ea.INIT}),n={dispatch:y,subscribe:g,getState:m,replaceReducer:S},n[Z1]=C,n}function zu(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:ea.INIT});if(typeof n>"u")throw new Error($e(12));if(typeof r(void 0,{type:ea.PROBE_UNKNOWN_ACTION()})>"u")throw new Error($e(13))})}function Y1(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,l;try{zu(r)}catch(f){l=f}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var y=!1,S={},C=0;C<i.length;C++){var E=i[C],N=r[E],M=u[E],T=N(M,m);if(typeof T>"u"){var D=m&&m.type;throw new Error($e(14))}S[E]=T,y=y||T!==M}return y=y||i.length!==Object.keys(u).length,y?S:u}}function yo(){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 X1(){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($e(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return i=yo.apply(void 0,l)(a.dispatch),Fi(Fi({},a),{},{dispatch:i})}}}function Q1(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var J1=Q1();J1.withExtraArgument=Q1;var Vi=J1;var n2=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)}}(),Iu=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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(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}}},bo=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},Du=Object.defineProperty,Bu=Object.defineProperties,$u=Object.getOwnPropertyDescriptors,e2=Object.getOwnPropertySymbols,Uu=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,t2=function(e,t,r){return t in e?Du(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},ir=function(e,t){for(var r in t||(t={}))Uu.call(t,r)&&t2(e,r,t[r]);if(e2)for(var n=0,a=e2(t);n<a.length;n++){var r=a[n];Hu.call(t,r)&&t2(e,r,t[r])}return e},ji=function(e,t){return Bu(e,$u(t))},Fu=function(e,t,r){return new Promise(function(n,a){var i=function(f){try{l(r.next(f))}catch(u){a(u)}},s=function(f){try{l(r.throw(f))}catch(u){a(u)}},l=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};l((r=r.apply(e,t)).next())})};var Gu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?yo:yo.apply(null,arguments)},Hx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Wu(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 Vu=function(e){n2(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,bo([void 0],r[0].concat(this)))):new(t.bind.apply(t,bo([void 0],r.concat(this))))},t}(Array),ju=function(e){n2(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,bo([void 0],r[0].concat(this)))):new(t.bind.apply(t,bo([void 0],r.concat(this))))},t}(Array);function Zi(e){return St(e)?Jn(e,function(){}):e}function Ku(e){return typeof e=="boolean"}function qu(){return function(t){return Zu(t)}}function Zu(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,l=new Vu;if(r&&(Ku(r)?l.push(Vi):l.push(Vi.withExtraArgument(r.extraArgument))),0){if(a)var f;if(s)var u}return l}var Ki=!0;function a2(e){var t=qu(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,l=r.devTools,f=l===void 0?!0:l,u=r.preloadedState,m=u===void 0?void 0:u,g=r.enhancers,y=g===void 0?void 0:g,S;if(typeof a=="function")S=a;else if(Wu(a))S=Y1(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),!Ki&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ki&&C.some(function($){return typeof $!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=X1.apply(void 0,C),N=yo;f&&(N=Gu(ir({trace:!Ki},typeof f=="object"&&f)));var M=new ju(E),T=M;Array.isArray(y)?T=bo([E],y):typeof y=="function"&&(T=y(M));var D=N.apply(void 0,T);return Wi(S,m,D)}function sr(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 ir(ir({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 i2(e){var t={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=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 Yu(e){return typeof e=="function"}function Xu(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?i2(t):[t,r,n],i=a[0],s=a[1],l=a[2],f;if(Yu(e))f=function(){return Zi(e())};else{var u=Zi(e);f=function(){return u}}function m(g,y){g===void 0&&(g=f());var S=bo([i[y.type]],s.filter(function(C){var E=C.matcher;return E(y)}).map(function(C){var E=C.reducer;return E}));return S.filter(function(C){return!!C}).length===0&&(S=[l]),S.reduce(function(C,E){if(E)if(Kt(C)){var N=C,M=E(N,y);return M===void 0?C:M}else{if(St(C))return Jn(C,function(T){return E(T,y)});var M=E(C,y);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 Qu(e,t){return e+"/"+t}function s2(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:Zi(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var g=n[m],y=Qu(t,m),S,C;"reducer"in g?(S=g.reducer,C=g.prepare):S=g,i[m]=S,s[y]=S,l[m]=C?sr(y,C):sr(y)});function f(){var m=typeof e.extraReducers=="function"?i2(e.extraReducers):[e.extraReducers],g=m[0],y=g===void 0?{}:g,S=m[1],C=S===void 0?[]:S,E=m[2],N=E===void 0?void 0:E,M=ir(ir({},y),s);return Xu(r,function(T){for(var D in M)T.addCase(D,M[D]);for(var $=0,W=C;$<W.length;$++){var ae=W[$];T.addMatcher(ae.matcher,ae.reducer)}N&&T.addDefaultCase(N)})}var u;return{name:t,reducer:function(m,g){return u||(u=f()),u(m,g)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=f()),u.getInitialState()}}}var Ju="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ep=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Ju[Math.random()*64|0];return t},tp=["name","message","stack","code"],qi=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),r2=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),rp=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=tp;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Vx=function(){function e(t,r,n){var a=sr(t+"/fulfilled",function(m,g,y,S){return{payload:m,meta:ji(ir({},S||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=sr(t+"/pending",function(m,g,y){return{payload:void 0,meta:ji(ir({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=sr(t+"/rejected",function(m,g,y,S,C){return{payload:S,error:(n&&n.serializeError||rp)(m||"Rejected"),meta:ji(ir({},C||{}),{arg:y,requestId:g,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!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,y,S){var C=n?.idGenerator?n.idGenerator(m):ep(),E=new f,N,M=!1;function T($){N=$,E.abort()}var D=function(){return Fu(this,null,function(){var $,W,ae,Fe,Ne,Rt,Te;return Iu(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Fe=($=n?.condition)==null?void 0:$.call(n,m,{getState:y,extra:S}),np(Fe)?[4,Fe]:[3,2];case 1:Fe=x.sent(),x.label=2;case 2:if(Fe===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return M=!0,Ne=new Promise(function(L,H){return E.signal.addEventListener("abort",function(){return H({name:"AbortError",message:N||"Aborted"})})}),g(i(C,m,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:C,arg:m},{getState:y,extra:S}))),[4,Promise.race([Ne,Promise.resolve(r(m,{dispatch:g,getState:y,extra:S,requestId:C,signal:E.signal,abort:T,rejectWithValue:function(L,H){return new qi(L,H)},fulfillWithValue:function(L,H){return new r2(L,H)}})).then(function(L){if(L instanceof qi)throw L;return L instanceof r2?a(L.payload,C,m,L.meta):a(L,C,m)})])];case 3:return ae=x.sent(),[3,5];case 4:return Rt=x.sent(),ae=Rt instanceof qi?s(null,C,m,Rt.payload,Rt.meta):s(Rt,C,m),[3,5];case 5:return Te=n&&!n.dispatchConditionRejection&&s.match(ae)&&ae.meta.condition,Te||g(ae),[2,ae]}})})}();return Object.assign(D,{abort:T,requestId:C,arg:m,unwrap:function(){return D.then(op)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function op(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 c2="listener",l2="completed",d2="cancelled",jx="task-"+d2,Kx="task-"+l2,qx=c2+"-"+d2,Zx=c2+"-"+l2;var Yi="listenerMiddleware";var Yx=sr(Yi+"/add"),Xx=sr(Yi+"/removeAll"),Qx=sr(Yi+"/remove");var o2,Jx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(o2||(o2=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},ap=function(e){return function(t){setTimeout(t,e)}},eS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ap(10);F1();var ip=Wn(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)}}}),ta=class extends ip(Object){};window.ftReduxStores||(window.ftReduxStores={});var f2=class e extends ta{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(Zn(i))return i;if(a==null)return;let s=s2({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=a2({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=x1(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,l,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Vn;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{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 ra=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 l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${l}`}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=v(w()),sp="ft-app-info",Ir=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Ir.eventName="authentication-change";var cp={session:(e,t)=>{(0,oa.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>I.dispatchEvent(new Ir(t.payload)),0))}},I=oa.FtReduxStore.get({name:sp,reducers:cp,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 u2=v(w()),na=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},wS=(0,u2.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(I)}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(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>ra.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return na([(0,Xi.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),na([(0,Xi.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),na([Ri({store:I.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),na([Ri({store:I.name})],t.prototype,"uiLocale",void 0),t});var dp=v(h2(),1);var m2;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(m2||(m2={}));var g2;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(g2||(g2={}));var y2;(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"})(y2||(y2={}));var b2;(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"})(b2||(b2={}));var v2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(v2||(v2={}));var x2;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(x2||(x2={}));var S2;(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"})(S2||(S2={}));var C2;(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"})(C2||(C2={}));var O2;(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"})(O2||(O2={}));var L2;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(L2||(L2={}));var E2;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(E2||(E2={}));var A2;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(A2||(A2={}));var R2;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(R2||(R2={}));var w2;(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"})(w2||(w2={}));var Qi;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Qi||(Qi={}));var _2;(function(e){e.ASC="ASC",e.DESC="DESC"})(_2||(_2={}));var N2;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(N2||(N2={}));var Ji;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ji||(Ji={}));var T2;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(T2||(T2={}));var k2;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(k2||(k2={}));var M2;(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"})(M2||(M2={}));var P2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(P2||(P2={}));var z2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(z2||(z2={}));var es;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(es||(es={}));var I2;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(I2||(I2={}));var be;(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"})(be||(be={}));var dt;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(dt||(dt={}));var D2;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(D2||(D2={}));var B2;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(B2||(B2={}));var $2;(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"})($2||($2={}));var U2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(U2||(U2={}));var H2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(H2||(H2={}));var F2;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(F2||(F2={}));var G2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(G2||(G2={}));var W2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(W2||(W2={}));var V2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(V2||(V2={}));var lp={[be.PERSONAL_BOOK_SHARE_USER]:[be.PERSONAL_BOOK_USER],[be.HTML_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.PDF_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.KHUB_ADMIN]:[be.CONTENT_PUBLISHER],[be.ADMIN]:[be.KHUB_ADMIN,be.USERS_ADMIN,be.PORTAL_ADMIN,be.BEHAVIOR_DATA_USER],[be.GENERATIVE_AI_EXPORT_USER]:[be.GENERATIVE_AI_USER]};function j2(e,t){return e===t||(lp[e]??[]).some(r=>j2(r,t))}function K2(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=>j2(n,t))}var ua=v(w());var ts=v(w());var Dr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=I.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=I.subscribe(()=>{n=e.get(t),n&&(a(),r(n))})}})}};var sa=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Dr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Dr.await()}};var je=class extends sa{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(([l],[f])=>l.localeCompare(f)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ts.CacheRegistry,this.cache=t?a.commonCache:new ts.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 ca=class extends je{async listMySearches(){let{session:t}=I.getState();return K2(t,be.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var la=class extends je{async listMyBookmarks(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var da=class extends je{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=I.getState().session;return!!t?.sessionAuthenticated}};var fa=class extends je{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=I.getState().session;return!!t?.sessionAuthenticated}};var fp="ft-user-assets",up={setAssetCount:(e,t)=>{let{userAssetType:r,count:n}=t.payload.assetCount;e.assetCounts.allAsset[r]=n},clearAssetCount:e=>{Object.values(dt).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;os(e,r,[...rs(e,r),a]),q2(e,r,1,n),Z2(e,a)},editAsset:(e,t)=>{let{assetType:r,asset:n}=t.payload;os(e,r,rs(e,r).map(a=>a.id===n.id?n:a)),Z2(e,n)},removeAsset:(e,t)=>{let{assetType:r,mapId:n,assetId:a}=t.payload;os(e,r,rs(e,r).filter(i=>i.id!==a)),q2(e,r,-1,n)}},Y2={[dt.SEARCHES]:"savedSearches",[dt.BOOKMARKS]:"bookmarks",[dt.BOOKS]:void 0,[dt.COLLECTIONS]:void 0},rs=(e,t)=>{var r;let n=Y2[t];return n?(r=e[n])!==null&&r!==void 0?r:[]:[]},os=(e,t,r)=>{let n=Y2[t];n&&(e[n]=r)},q2=(e,t,r,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+r),t===dt.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+r)}},Z2=(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)},Qe=ua.FtReduxStore.get({name:fp,reducers:up,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(dt).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ns=class{constructor(t=new da,r=new fa){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new la,this.savedSearchesService=new ca,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,ua.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(),Qe.actions.clearAssetCount(),Qe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Qe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Qe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Qe.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Qe.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&Qe.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&Qe.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(Qe.getState().assetCounts.bookmarkByMap).length!==0;t===dt.BOOKMARKS&&r&&Qe.actions.clearBookmarkCountByMap(),Qe.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;Qe.actions.bookmarks(r)}}},pp=new ns;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=pp);var as=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new as;var ft=v(w());var X2,xo=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},hp=Symbol("clearAfterUnitTest"),pa=class extends(0,ft.withEventBus)(je){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[X2]=()=>{this.defaultMessages={},this.cache=new ft.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=I.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,ft.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 ft.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 ft.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 xo({loadedContexts:t})),this.dispatchEvent(new xo({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new xo({loadedContexts:[t]})),this.dispatchEvent(new xo({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ft.delay)(0).then(()=>n()).catch(()=>null)))}};X2=hp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends pa{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends pa{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var So=window.FluidTopicsI18nService,ha=window.FluidTopicsCustomI18nService;var Q2=v(w()),is=class{highlightHtml(t,r,n){(0,Q2.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new is;var J2=v(w());var ss=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.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 J2.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:I.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 ss;var ed=v(w());var en=class{static get(t,r){var n,a;let i=I.getState(),{lang:s,region:l}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new ed.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var cs=class{urlToSearchRequest(t){return en.get().parse(t)}searchRequestToUrl(t){return en.get().serialize(t)}};window.FluidTopicsUrlService=new cs;var lr=v(w());var Br=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Br.eventName="change";var ls=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))}},td=new ls;var ma=class e extends lr.WithEventBus{static build(){return new e(window.history,td,()=>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,lr.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Br(this.currentItem())),0)}installProxies(){let t=r=>(n,a,[i,s,l])=>{let f=r(),u={...f===this.currentIndex?this.currentState:void 0,...i,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[u,s,l]),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(Br.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Br.eventName,t)}currentItem(){return(0,lr.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,lr.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,lr.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 rd=v(U());var od=rd.css`
605
+ `;var ad=v(U()),ze=v(K()),Ct=v(w());function nd(e,t){let{authenticationRequired:r,session:n}=I.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(t):e()}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 l=e.length-1;l>=0;l--)(s=e[l])&&(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 Ct.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=()=>Dr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ct.CacheRegistry,this.cleanSessionDebouncer=new Ct.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return ad.html`
606
606
  <slot></slot>
607
- `}connectedCallback(){super.connectedCallback(),I.addEventListener(Ir.eventName,this.reloadConfiguration)}disconnectedCallback(){I.addEventListener(Ir.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,n,a,i,s,l,f;super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&I.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>So.addContext(u)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(I.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),I.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),I.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&I.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&I.actions.availableContentLocales((f=(l=this.availableContentLocales)===null||l===void 0?void 0:l.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",()=>nd(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};te.elementDefinitions={};te.styles=od;Oe([(0,ze.property)()],te.prototype,"baseUrl",void 0);Oe([(0,ze.property)()],te.prototype,"apiIntegrationIdentifier",void 0);Oe([(0,ze.property)()],te.prototype,"apiIntegrationAppVersion",void 0);Oe([(0,ze.property)()],te.prototype,"uiLocale",void 0);Oe([(0,Ct.jsonProperty)(null)],te.prototype,"availableUiLocales",void 0);Oe([(0,Ct.jsonProperty)(null)],te.prototype,"metadataConfiguration",void 0);Oe([(0,ze.property)({type:Boolean})],te.prototype,"editorMode",void 0);Oe([(0,ze.property)({type:Boolean})],te.prototype,"noCustom",void 0);Oe([(0,ze.property)({type:Boolean})],te.prototype,"openExternalDocumentInNewTab",void 0);Oe([(0,ze.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],te.prototype,"noCustomComponent",void 0);Oe([(0,ze.property)({type:Boolean})],te.prototype,"withManualResources",void 0);Oe([(0,ze.property)({type:Boolean})],te.prototype,"navigatorOnline",void 0);Oe([(0,ze.property)({type:Boolean})],te.prototype,"forcedOffline",void 0);Oe([(0,ze.property)({type:Object})],te.prototype,"apiProvider",void 0);Oe([(0,ze.property)({type:Boolean})],te.prototype,"authenticationRequired",void 0);Oe([(0,Ct.jsonProperty)([])],te.prototype,"messageContexts",void 0);Oe([(0,Ct.jsonProperty)(void 0)],te.prototype,"session",void 0);Oe([(0,ze.state)()],te.prototype,"localesConfiguration",void 0);Oe([(0,ze.state)()],te.prototype,"availableContentLocales",void 0);var id=v(w());(0,id.customElement)("ft-app-context")(te);var sd=v(K());var ds=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-]+$/)}},Co=new ds;var mp=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},rn=Symbol("i18nAttributes"),cd=Symbol("i18nListAttributes"),ld=Symbol("i18nProperties"),ga=Symbol("i18nContexts"),tn=Symbol("i18nUnsubs"),Lo=(0,Oo.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?ha:So}i18n(i){let{context:s,key:l,message:f}=i,{custom:u,args:m,argsProvider:g}=i;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let y=m??(g?g(this):[]);return this.getI18nService(u).resolveMessage(s,l,...y)}return f}async awaitI18n(i){let{context:s,custom:l}=i;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(i)}customI18n(i,s){if(Co.isI18nKey(i)){let[l,f]=i.split(".");return this.i18n({custom:!0,context:l,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,l,f)=>i.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,l,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,l;let f=this,u=(m,g,y)=>y?.context&&y.key&&i(m,g,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...m})}:y;(s=this[rn])===null||s===void 0||s.forEach((m,g)=>f[g]=u(m,g,f[g])),(l=this[cd])===null||l===void 0||l.forEach((m,g)=>{var y;return f[g]=(y=f[g])===null||y===void 0?void 0:y.map(S=>u(m,g,S))})}updateI18nProperties(i){var s;(s=this[ld])===null||s===void 0||s.forEach((l,f)=>{i(l,f)&&(this[f]=this.i18n(l))})}addI18nMessages(i,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,l)}addI18nContext(i,s,l){let f=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[ga].set(f,{isCustomContext:l}),this[tn].has(f)||this[tn].set(f,this.getI18nService(l).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(l).prepareContext(f,s)}hasI18nContext(i){return this[ga].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ga].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[tn].forEach(i=>i()),this[tn].clear()}}return t=ga,r=tn,mp([(0,sd.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),ya=class extends Lo(Oo.FtLitElement){},ba=class extends Lo(Oo.FtLitElementRedux){};var dd=v(w());var fs=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(n=>typeof n=="string"?Co.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},gp=new fs;var fd=(e,t)=>(r,n)=>{var a;r.constructor.createProperty(n,{type:Object,hasChanged:dd.hasChanged,converter:Co,...t}),r[rn]=(a=r[rn])!==null&&a!==void 0?a:new Map,r[rn].set(n,e??{})};var va=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?ha:So}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 ud=v(U());var pd=ud.css`
607
+ `}connectedCallback(){super.connectedCallback(),I.addEventListener(Ir.eventName,this.reloadConfiguration)}disconnectedCallback(){I.addEventListener(Ir.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,n,a,i,s,l,f;super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&I.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>So.addContext(u)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(I.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),I.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),I.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&I.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&I.actions.availableContentLocales((f=(l=this.availableContentLocales)===null||l===void 0?void 0:l.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",()=>nd(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};te.elementDefinitions={};te.styles=od;Le([(0,ze.property)()],te.prototype,"baseUrl",void 0);Le([(0,ze.property)()],te.prototype,"apiIntegrationIdentifier",void 0);Le([(0,ze.property)()],te.prototype,"apiIntegrationAppVersion",void 0);Le([(0,ze.property)()],te.prototype,"uiLocale",void 0);Le([(0,Ct.jsonProperty)(null)],te.prototype,"availableUiLocales",void 0);Le([(0,Ct.jsonProperty)(null)],te.prototype,"metadataConfiguration",void 0);Le([(0,ze.property)({type:Boolean})],te.prototype,"editorMode",void 0);Le([(0,ze.property)({type:Boolean})],te.prototype,"noCustom",void 0);Le([(0,ze.property)({type:Boolean})],te.prototype,"openExternalDocumentInNewTab",void 0);Le([(0,ze.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],te.prototype,"noCustomComponent",void 0);Le([(0,ze.property)({type:Boolean})],te.prototype,"withManualResources",void 0);Le([(0,ze.property)({type:Boolean})],te.prototype,"navigatorOnline",void 0);Le([(0,ze.property)({type:Boolean})],te.prototype,"forcedOffline",void 0);Le([(0,ze.property)({type:Object})],te.prototype,"apiProvider",void 0);Le([(0,ze.property)({type:Boolean})],te.prototype,"authenticationRequired",void 0);Le([(0,Ct.jsonProperty)([])],te.prototype,"messageContexts",void 0);Le([(0,Ct.jsonProperty)(void 0)],te.prototype,"session",void 0);Le([(0,ze.state)()],te.prototype,"localesConfiguration",void 0);Le([(0,ze.state)()],te.prototype,"availableContentLocales",void 0);var id=v(w());(0,id.customElement)("ft-app-context")(te);var sd=v(K());var ds=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-]+$/)}},Co=new ds;var mp=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},rn=Symbol("i18nAttributes"),cd=Symbol("i18nListAttributes"),ld=Symbol("i18nProperties"),ga=Symbol("i18nContexts"),tn=Symbol("i18nUnsubs"),Lo=(0,Oo.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?ha:So}i18n(i){let{context:s,key:l,message:f}=i,{custom:u,args:m,argsProvider:g}=i;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let y=m??(g?g(this):[]);return this.getI18nService(u).resolveMessage(s,l,...y)}return f}async awaitI18n(i){let{context:s,custom:l}=i;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(i)}customI18n(i,s){if(Co.isI18nKey(i)){let[l,f]=i.split(".");return this.i18n({custom:!0,context:l,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,l,f)=>i.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,l,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,l;let f=this,u=(m,g,y)=>y?.context&&y.key&&i(m,g,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...m})}:y;(s=this[rn])===null||s===void 0||s.forEach((m,g)=>f[g]=u(m,g,f[g])),(l=this[cd])===null||l===void 0||l.forEach((m,g)=>{var y;return f[g]=(y=f[g])===null||y===void 0?void 0:y.map(S=>u(m,g,S))})}updateI18nProperties(i){var s;(s=this[ld])===null||s===void 0||s.forEach((l,f)=>{i(l,f)&&(this[f]=this.i18n(l))})}addI18nMessages(i,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,l)}addI18nContext(i,s,l){let f=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[ga].set(f,{isCustomContext:l}),this[tn].has(f)||this[tn].set(f,this.getI18nService(l).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(l).prepareContext(f,s)}hasI18nContext(i){return this[ga].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ga].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[tn].forEach(i=>i()),this[tn].clear()}}return t=ga,r=tn,mp([(0,sd.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),ya=class extends Lo(Oo.FtLitElement){},ba=class extends Lo(Oo.FtLitElementRedux){};var dd=v(w());var fs=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(n=>typeof n=="string"?Co.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},gp=new fs;var fd=(e,t)=>(r,n)=>{var a;r.constructor.createProperty(n,{type:Object,hasChanged:dd.hasChanged,converter:Co,...t}),r[rn]=(a=r[rn])!==null&&a!==void 0?a:new Map,r[rn].set(n,e??{})};var va=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?ha:So}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 ud=v(U());var pd=ud.css`
608
608
  `;var xa=v(U()),Sa=v(K()),Ca=v(w());var on=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},Ot=class extends ba{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":xa.nothing:xa.html`
609
609
  <span class="ft-i18n">
610
610
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
@@ -1199,7 +1199,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1199
1199
  .svg-inline--fa mask .fa-secondary {
1200
1200
  fill: black;
1201
1201
  }`;function b4(){let e=f4,t=u4,r=z.cssPrefix,n=z.replacementClass,a=ag;if(r!==e||n!==t){let i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(r,"-")).replace(s,"--".concat(r,"-")).replace(l,".".concat(n))}return a}var B0=!1;function ws(){z.autoAddCss&&!B0&&(eg(b4()),B0=!0)}var ig={mixout(){return{dom:{css:b4,insertCss:ws}}},hooks(){return{beforeDOMElementCreation(){ws()},beforeI2svg(){ws()}}}},Zt=ur||{};Zt[qt]||(Zt[qt]={});Zt[qt].styles||(Zt[qt].styles={});Zt[qt].hooks||(Zt[qt].hooks={});Zt[qt].shims||(Zt[qt].shims=[]);var Bt=Zt[qt],v4=[],x4=function(){re.removeEventListener("DOMContentLoaded",x4),_a=1,v4.map(e=>e())},_a=!1;Yt&&(_a=(re.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(re.readyState),_a||re.addEventListener("DOMContentLoaded",x4));function sg(e){Yt&&(_a?setTimeout(e,0):v4.push(e))}function gn(e){let{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?y4(e):"<".concat(t," ").concat(rg(r),">").concat(n.map(gn).join(""),"</").concat(t,">")}function $0(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var cg=function(t,r){return function(n,a,i,s){return t.call(r,n,a,i,s)}},_s=function(t,r,n,a){var i=Object.keys(t),s=i.length,l=a!==void 0?cg(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=l(m,t[u],u,t);return m};function lg(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 $s(e){let t=lg(e);return t.length===1?t[0].toString(16):null}function dg(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 U0(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 Us(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{skipHooks:n=!1}=r,a=U0(t);typeof Bt.hooks.addPack=="function"&&!n?Bt.hooks.addPack(e,U0(t)):Bt.styles[e]=A(A({},Bt.styles[e]||{}),a),e==="fas"&&Us("fa",t)}var{styles:hn,shims:fg}=Bt,S4=Object.keys(Qs),ug=S4.reduce((e,t)=>(e[t]=Object.keys(Qs[t]),e),{}),tc=null,C4={},O4={},L4={},E4={},A4={};function pg(e){return~Y8.indexOf(e)}function hg(e,t){let r=t.split("-"),n=r[0],a=r.slice(1).join("-");return n===e&&a!==""&&!pg(a)?a:null}var R4=()=>{let e=n=>_s(hn,(a,i,s)=>(a[s]=_s(i,n,{}),a),{});C4=e((n,a,i)=>(a[3]&&(n[a[3]]=i),a[2]&&a[2].filter(l=>typeof l=="number").forEach(l=>{n[l.toString(16)]=i}),n)),O4=e((n,a,i)=>(n[i]=i,a[2]&&a[2].filter(l=>typeof l=="string").forEach(l=>{n[l]=i}),n)),A4=e((n,a,i)=>{let s=a[2];return n[i]=i,s.forEach(l=>{n[l]=i}),n});let t="far"in hn||z.autoFetchSvg,r=_s(fg,(n,a)=>{let i=a[0],s=a[1],l=a[2];return s==="far"&&!t&&(s="fas"),typeof i=="string"&&(n.names[i]={prefix:s,iconName:l}),typeof i=="number"&&(n.unicodes[i.toString(16)]={prefix:s,iconName:l}),n},{names:{},unicodes:{}});L4=r.names,E4=r.unicodes,tc=Ma(z.styleDefault,{family:z.familyDefault})};J8(e=>{tc=Ma(e.styleDefault,{family:z.familyDefault})});R4();function rc(e,t){return(C4[e]||{})[t]}function mg(e,t){return(O4[e]||{})[t]}function $r(e,t){return(A4[e]||{})[t]}function w4(e){return L4[e]||{prefix:null,iconName:null}}function gg(e){let t=E4[e],r=rc("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function pr(){return tc}var _4=()=>({prefix:null,iconName:null,rest:[]});function yg(e){let t=Ue,r=S4.reduce((n,a)=>(n[a]="".concat(z.cssPrefix,"-").concat(a),n),{});return l4.forEach(n=>{(e.includes(r[n])||e.some(a=>ug[n].includes(a)))&&(t=n)}),t}function Ma(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{family:r=Ue}=t,n=V8[r][e];if(r===Ta&&!e)return"fad";let a=D0[r][e]||D0[r][n],i=e in Bt.styles?e:null;return a||i||null}function bg(e){let t=[],r=null;return e.forEach(n=>{let a=hg(z.cssPrefix,n);a?r=a:n&&t.push(n)}),{iconName:r,rest:t}}function H0(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function Pa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{skipLookups:r=!1}=t,n=null,a=Ms.concat(M8),i=H0(e.filter(g=>a.includes(g))),s=H0(e.filter(g=>!Ms.includes(g))),l=i.filter(g=>(n=g,!c4.includes(g))),[f=null]=l,u=yg(i),m=A(A({},bg(s)),{},{prefix:Ma(f,{family:u})});return A(A(A({},m),Cg({values:e,family:u,styles:hn,config:z,canonical:m,givenPrefix:n})),vg(r,n,m))}function vg(e,t,r){let{prefix:n,iconName:a}=r;if(e||!n||!a)return{prefix:n,iconName:a};let i=t==="fa"?w4(a):{},s=$r(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!hn.far&&hn.fas&&!z.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}var xg=l4.filter(e=>e!==Ue||e!==Ta),Sg=Object.keys(ks).filter(e=>e!==Ue).map(e=>Object.keys(ks[e])).flat();function Cg(e){let{values:t,family:r,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,l=r===Ta,f=t.includes("fa-duotone")||t.includes("fad"),u=s.familyDefault==="duotone",m=n.prefix==="fad"||n.prefix==="fa-duotone";if(!l&&(f||u||m)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&xg.includes(r)&&(Object.keys(i).find(y=>Sg.includes(y))||s.autoFetchSvg)){let y=E8.get(r).defaultShortPrefixId;n.prefix=y,n.iconName=$r(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||a==="fa")&&(n.prefix=pr()||"fas"),n}var Hs=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]),Us(i,a[i]);let s=Qs[Ue][i];s&&Us(s,a[i]),R4()})}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:l}=n[a],f=l[2];t[i]||(t[i]={}),f.length>0&&f.forEach(u=>{typeof u=="string"&&(t[i][u]=l)}),t[i][s]=l}),t}},F0=[],Eo={},Ao={},Og=Object.keys(Ao);function Lg(e,t){let{mixoutsTo:r}=t;return F0=e,Eo={},Object.keys(Ao).forEach(n=>{Og.indexOf(n)===-1&&delete Ao[n]}),F0.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=>{Eo[s]||(Eo[s]=[]),Eo[s].push(i[s])})}n.provides&&n.provides(Ao)}),r}function Fs(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(Eo[e]||[]).forEach(s=>{t=s.apply(null,[t,...n])}),t}function Hr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(Eo[e]||[]).forEach(i=>{i.apply(null,r)})}function hr(){let e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Ao[e]?Ao[e].apply(null,t):void 0}function Gs(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e,r=e.prefix||pr();if(t)return t=$r(r,t)||t,$0(N4.definitions,r,t)||$0(Bt.styles,r,t)}var N4=new Hs,Eg=()=>{z.autoReplaceSvg=!1,z.observeMutations=!1,Hr("noAuto")},Ag={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Yt?(Hr("beforeI2svg",e),hr("pseudoElements2svg",e),hr("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;z.autoReplaceSvg===!1&&(z.autoReplaceSvg=!0),z.observeMutations=!0,sg(()=>{wg({autoReplaceSvgRoot:t}),Hr("watch",e)})}},Rg={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:$r(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=Ma(e[0]);return{prefix:r,iconName:$r(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(z.cssPrefix,"-"))>-1||e.match(j8))){let t=Pa(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||pr(),iconName:$r(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){let t=pr();return{prefix:t,iconName:$r(t,e)||e}}}},Je={noAuto:Eg,config:z,dom:Ag,parse:Rg,library:N4,findIconDefinition:Gs,toHtml:gn},wg=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:t=re}=e;(Object.keys(Bt.styles).length>0||z.autoFetchSvg)&&Yt&&z.autoReplaceSvg&&Je.dom.i2svg({node:t})};function za(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>gn(r))}}),Object.defineProperty(e,"node",{get:function(){if(!Yt)return;let r=re.createElement("div");return r.innerHTML=e.html,r.children}}),e}function _g(e){let{children:t,main:r,mask:n,attributes:a,styles:i,transform:s}=e;if(ec(s)&&r.found&&!n.found){let{width:l,height:f}=r,u={x:l/f/2,y:.5};a.style=ka(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 Ng(e){let{prefix:t,iconName:r,children:n,attributes:a,symbol:i}=e,s=i===!0?"".concat(t,"-").concat(z.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:A(A({},a),{},{id:s}),children:n}]}]}function oc(e){let{icons:{main:t,mask:r},prefix:n,iconName:a,transform:i,symbol:s,title:l,maskId:f,titleId:u,extra:m,watchable:g=!1}=e,{width:y,height:S}=r.found?r:t,C=N8.includes(n),E=[z.replacementClass,a?"".concat(z.cssPrefix,"-").concat(a):""].filter(W=>m.classes.indexOf(W)===-1).filter(W=>W!==""||!!W).concat(m.classes).join(" "),N={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(y," ").concat(S)})},M=C&&!~m.classes.indexOf("fa-fw")?{width:"".concat(y/S*16*.0625,"em")}:{};g&&(N.attributes[Ur]=""),l&&(N.children.push({tag:"title",attributes:{id:N.attributes["aria-labelledby"]||"title-".concat(u||pn())},children:[l]}),delete N.attributes.title);let T=A(A({},N),{},{prefix:n,iconName:a,main:t,mask:r,maskId:f,transform:i,symbol:s,styles:A(A({},M),m.styles)}),{children:D,attributes:$}=r.found&&t.found?hr("generateAbstractMask",T)||{children:[],attributes:{}}:hr("generateAbstractIcon",T)||{children:[],attributes:{}};return T.children=D,T.attributes=$,s?Ng(T):_g(T)}function G0(e){let{content:t,width:r,height:n,transform:a,title:i,extra:s,watchable:l=!1}=e,f=A(A(A({},s.attributes),i?{title:i}:{}),{},{class:s.classes.join(" ")});l&&(f[Ur]="");let u=A({},s.styles);ec(a)&&(u.transform=ng({transform:a,startCentered:!0,width:r,height:n}),u["-webkit-transform"]=u.transform);let m=ka(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 Tg(e){let{content:t,title:r,extra:n}=e,a=A(A(A({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=ka(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:Ns}=Bt;function Ws(e){let t=e[0],r=e[1],[n]=e.slice(4),a=null;return Array.isArray(n)?a={tag:"g",attributes:{class:"".concat(z.cssPrefix,"-").concat(Rs.GROUP)},children:[{tag:"path",attributes:{class:"".concat(z.cssPrefix,"-").concat(Rs.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(z.cssPrefix,"-").concat(Rs.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:a}}var kg={found:!1,width:512,height:512};function Mg(e,t){!p4&&!z.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Vs(e,t){let r=t;return t==="fa"&&z.styleDefault!==null&&(t=pr()),new Promise((n,a)=>{if(r==="fa"){let i=w4(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Ns[t]&&Ns[t][e]){let i=Ns[t][e];return n(Ws(i))}Mg(e,t),n(A(A({},kg),{},{icon:z.showMissingIcons&&e?hr("missingIconAbstract")||{}:{}}))})}var W0=()=>{},js=z.measurePerformance&&Ea&&Ea.mark&&Ea.measure?Ea:{mark:W0,measure:W0},dn='FA "6.7.2"',Pg=e=>(js.mark("".concat(dn," ").concat(e," begins")),()=>T4(e)),T4=e=>{js.mark("".concat(dn," ").concat(e," ends")),js.measure("".concat(dn," ").concat(e),"".concat(dn," ").concat(e," begins"),"".concat(dn," ").concat(e," ends"))},nc={begin:Pg,end:T4},Ra=()=>{};function V0(e){return typeof(e.getAttribute?e.getAttribute(Ur):null)=="string"}function zg(e){let t=e.getAttribute?e.getAttribute(Ys):null,r=e.getAttribute?e.getAttribute(Xs):null;return t&&r}function Ig(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(z.replacementClass)}function Dg(){return z.autoReplaceSvg===!0?wa.replace:wa[z.autoReplaceSvg]||wa.replace}function Bg(e){return re.createElementNS("http://www.w3.org/2000/svg",e)}function $g(e){return re.createElement(e)}function k4(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{ceFn:r=e.tag==="svg"?Bg:$g}=t;if(typeof e=="string")return re.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(k4(i,{ceFn:r}))}),n}function Ug(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var wa={replace:function(e){let t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(k4(r),t)}),t.getAttribute(Ur)===null&&z.keepOriginalSource){let r=re.createComment(Ug(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){let t=e[0],r=e[1];if(~Js(t).indexOf(z.replacementClass))return wa.replace(e);let n=new RegExp("".concat(z.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){let i=r[0].attributes.class.split(" ").reduce((s,l)=>(l===z.replacementClass||l.match(n)?s.toSvg.push(l):s.toNode.push(l),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=>gn(i)).join(`
1202
- `);t.setAttribute(Ur,""),t.innerHTML=a}};function j0(e){e()}function M4(e,t){let r=typeof t=="function"?t:Ra;if(e.length===0)r();else{let n=j0;z.mutateApproach===G8&&(n=ur.requestAnimationFrame||j0),n(()=>{let a=Dg(),i=nc.begin("mutate");e.map(a),i(),r()})}}var ac=!1;function P4(){ac=!0}function Ks(){ac=!1}var Na=null;function K0(e){if(!M0||!z.observeMutations)return;let{treeCallback:t=Ra,nodeCallback:r=Ra,pseudoElementsCallback:n=Ra,observeMutationsRoot:a=re}=e;Na=new M0(i=>{if(ac)return;let s=pr();wo(i).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!V0(l.addedNodes[0])&&(z.searchPseudoElements&&n(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&z.searchPseudoElements&&n(l.target.parentNode),l.type==="attributes"&&V0(l.target)&&~Z8.indexOf(l.attributeName))if(l.attributeName==="class"&&zg(l.target)){let{prefix:f,iconName:u}=Pa(Js(l.target));l.target.setAttribute(Ys,f||s),u&&l.target.setAttribute(Xs,u)}else Ig(l.target)&&r(l.target)})}),Yt&&Na.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Hg(){Na&&Na.disconnect()}function Fg(e){let t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce((n,a)=>{let i=a.split(":"),s=i[0],l=i.slice(1);return s&&l.length>0&&(n[s]=l.join(":").trim()),n},{})),r}function Gg(e){let t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=Pa(Js(e));return a.prefix||(a.prefix=pr()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=mg(a.prefix,e.innerText)||rc(a.prefix,$s(e.innerText))),!a.iconName&&z.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Wg(e){let t=wo(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 z.autoA11y&&(r?t["aria-labelledby"]="".concat(z.replacementClass,"-title-").concat(n||pn()):(t["aria-hidden"]="true",t.focusable="false")),t}function Vg(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Dt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function q0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:r,prefix:n,rest:a}=Gg(e),i=Wg(e),s=Fs("parseNodeAttributes",{},e),l=t.styleParser?Fg(e):[];return A({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:Dt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:i}},s)}var{styles:jg}=Bt;function z4(e){let t=z.autoReplaceSvg==="nest"?q0(e,{styleParser:!1}):q0(e);return~t.extra.classes.indexOf(m4)?hr("generateLayersText",e,t):hr("generateSvgReplacementMutation",e,t)}function Kg(){return[...R8,...Ms]}function Z0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Yt)return Promise.resolve();let r=re.documentElement.classList,n=m=>r.add("".concat(I0,"-").concat(m)),a=m=>r.remove("".concat(I0,"-").concat(m)),i=z.autoFetchSvg?Kg():c4.concat(Object.keys(jg));i.includes("fa")||i.push("fa");let s=[".".concat(m4,":not([").concat(Ur,"])")].concat(i.map(m=>".".concat(m,":not([").concat(Ur,"])"))).join(", ");if(s.length===0)return Promise.resolve();let l=[];try{l=wo(e.querySelectorAll(s))}catch{}if(l.length>0)n("pending"),a("complete");else return Promise.resolve();let f=nc.begin("onTree"),u=l.reduce((m,g)=>{try{let y=z4(g);y&&m.push(y)}catch(y){p4||y.name==="MissingIcon"&&console.error(y)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(y=>{M4(y,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(y=>{f(),g(y)})})}function qg(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;z4(e).then(r=>{r&&M4([r],t)})}function Zg(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:Gs(t||{}),{mask:a}=r;return a&&(a=(a||{}).icon?a:Gs(a||{})),e(n,A(A({},r),{},{mask:a}))}}var Yg=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=Dt,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:l=null,classes:f=[],attributes:u={},styles:m={}}=t;if(!e)return;let{prefix:g,iconName:y,icon:S}=e;return za(A({type:"icon"},e),()=>(Hr("beforeDOMElementCreation",{iconDefinition:e,params:t}),z.autoA11y&&(s?u["aria-labelledby"]="".concat(z.replacementClass,"-title-").concat(l||pn()):(u["aria-hidden"]="true",u.focusable="false")),oc({icons:{main:Ws(S),mask:a?Ws(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:y,transform:A(A({},Dt),r),symbol:n,title:s,maskId:i,titleId:l,extra:{attributes:u,styles:m,classes:f}})))},Xg={mixout(){return{icon:Zg(Yg)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Z0,e.nodeCallback=qg,e}}},provides(e){e.i2svg=function(t){let{node:r=re,callback:n=()=>{}}=t;return Z0(r,n)},e.generateSvgReplacementMutation=function(t,r){let{iconName:n,title:a,titleId:i,prefix:s,transform:l,symbol:f,mask:u,maskId:m,extra:g}=r;return new Promise((y,S)=>{Promise.all([Vs(n,s),u.iconName?Vs(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(C=>{let[E,N]=C;y([t,oc({icons:{main:E,mask:N},prefix:s,iconName:n,transform:l,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,l=ka(s);l.length>0&&(n.style=l);let f;return ec(i)&&(f=hr("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(f||a.icon),{children:r,attributes:n}}}},Qg={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:r=[]}=t;return za({type:"layer"},()=>{Hr("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(z.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Jg={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 za({type:"counter",content:e},()=>(Hr("beforeDOMElementCreation",{content:e,params:t}),Tg({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(z.cssPrefix,"-layers-counter"),...n]}})))}}}},ey={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=Dt,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return za({type:"text",content:e},()=>(Hr("beforeDOMElementCreation",{content:e,params:t}),G0({content:e,transform:A(A({},Dt),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(z.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){let{title:n,transform:a,extra:i}=r,s=null,l=null;if(i4){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,l=u.height/f}return z.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,G0({content:t.innerHTML,width:s,height:l,transform:a,title:n,extra:i,watchable:!0})])}}},ty=new RegExp('"',"ug"),Y0=[1105920,1112319],X0=A(A(A(A({},{FontAwesome:{normal:"fas",400:"fas"}}),L8),H8),P8),qs=Object.keys(X0).reduce((e,t)=>(e[t.toLowerCase()]=X0[t],e),{}),ry=Object.keys(qs).reduce((e,t)=>{let r=qs[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function oy(e){let t=e.replace(ty,""),r=dg(t,0),n=r>=Y0[0]&&r<=Y0[1],a=t.length===2?t[0]===t[1]:!1;return{value:$s(a?t[0]:t),isSecondary:n||a}}function ny(e,t){let r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(qs[r]||{})[a]||ry[r]}function Q0(e,t){let r="".concat(F8).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();let s=wo(e.children).filter(y=>y.getAttribute(zs)===t)[0],l=ur.getComputedStyle(e,t),f=l.getPropertyValue("font-family"),u=f.match(K8),m=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&g!=="none"&&g!==""){let y=l.getPropertyValue("content"),S=ny(f,m),{value:C,isSecondary:E}=oy(y),N=u[0].startsWith("FontAwesome"),M=rc(S,C),T=M;if(N){let D=gg(C);D.iconName&&D.prefix&&(M=D.iconName,S=D.prefix)}if(M&&!E&&(!s||s.getAttribute(Ys)!==S||s.getAttribute(Xs)!==T)){e.setAttribute(r,T),s&&e.removeChild(s);let D=Vg(),{extra:$}=D;$.attributes[zs]=t,Vs(M,S).then(W=>{let ae=oc(A(A({},D),{},{icons:{main:W,mask:_4()},prefix:S,iconName:T,extra:$,watchable:!0})),Fe=re.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Fe,e.firstChild):e.appendChild(Fe),Fe.outerHTML=ae.map(_e=>gn(_e)).join(`
1202
+ `);t.setAttribute(Ur,""),t.innerHTML=a}};function j0(e){e()}function M4(e,t){let r=typeof t=="function"?t:Ra;if(e.length===0)r();else{let n=j0;z.mutateApproach===G8&&(n=ur.requestAnimationFrame||j0),n(()=>{let a=Dg(),i=nc.begin("mutate");e.map(a),i(),r()})}}var ac=!1;function P4(){ac=!0}function Ks(){ac=!1}var Na=null;function K0(e){if(!M0||!z.observeMutations)return;let{treeCallback:t=Ra,nodeCallback:r=Ra,pseudoElementsCallback:n=Ra,observeMutationsRoot:a=re}=e;Na=new M0(i=>{if(ac)return;let s=pr();wo(i).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!V0(l.addedNodes[0])&&(z.searchPseudoElements&&n(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&z.searchPseudoElements&&n(l.target.parentNode),l.type==="attributes"&&V0(l.target)&&~Z8.indexOf(l.attributeName))if(l.attributeName==="class"&&zg(l.target)){let{prefix:f,iconName:u}=Pa(Js(l.target));l.target.setAttribute(Ys,f||s),u&&l.target.setAttribute(Xs,u)}else Ig(l.target)&&r(l.target)})}),Yt&&Na.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Hg(){Na&&Na.disconnect()}function Fg(e){let t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce((n,a)=>{let i=a.split(":"),s=i[0],l=i.slice(1);return s&&l.length>0&&(n[s]=l.join(":").trim()),n},{})),r}function Gg(e){let t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=Pa(Js(e));return a.prefix||(a.prefix=pr()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=mg(a.prefix,e.innerText)||rc(a.prefix,$s(e.innerText))),!a.iconName&&z.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Wg(e){let t=wo(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 z.autoA11y&&(r?t["aria-labelledby"]="".concat(z.replacementClass,"-title-").concat(n||pn()):(t["aria-hidden"]="true",t.focusable="false")),t}function Vg(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Dt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function q0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:r,prefix:n,rest:a}=Gg(e),i=Wg(e),s=Fs("parseNodeAttributes",{},e),l=t.styleParser?Fg(e):[];return A({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:Dt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:i}},s)}var{styles:jg}=Bt;function z4(e){let t=z.autoReplaceSvg==="nest"?q0(e,{styleParser:!1}):q0(e);return~t.extra.classes.indexOf(m4)?hr("generateLayersText",e,t):hr("generateSvgReplacementMutation",e,t)}function Kg(){return[...R8,...Ms]}function Z0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Yt)return Promise.resolve();let r=re.documentElement.classList,n=m=>r.add("".concat(I0,"-").concat(m)),a=m=>r.remove("".concat(I0,"-").concat(m)),i=z.autoFetchSvg?Kg():c4.concat(Object.keys(jg));i.includes("fa")||i.push("fa");let s=[".".concat(m4,":not([").concat(Ur,"])")].concat(i.map(m=>".".concat(m,":not([").concat(Ur,"])"))).join(", ");if(s.length===0)return Promise.resolve();let l=[];try{l=wo(e.querySelectorAll(s))}catch{}if(l.length>0)n("pending"),a("complete");else return Promise.resolve();let f=nc.begin("onTree"),u=l.reduce((m,g)=>{try{let y=z4(g);y&&m.push(y)}catch(y){p4||y.name==="MissingIcon"&&console.error(y)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(y=>{M4(y,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(y=>{f(),g(y)})})}function qg(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;z4(e).then(r=>{r&&M4([r],t)})}function Zg(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:Gs(t||{}),{mask:a}=r;return a&&(a=(a||{}).icon?a:Gs(a||{})),e(n,A(A({},r),{},{mask:a}))}}var Yg=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=Dt,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:l=null,classes:f=[],attributes:u={},styles:m={}}=t;if(!e)return;let{prefix:g,iconName:y,icon:S}=e;return za(A({type:"icon"},e),()=>(Hr("beforeDOMElementCreation",{iconDefinition:e,params:t}),z.autoA11y&&(s?u["aria-labelledby"]="".concat(z.replacementClass,"-title-").concat(l||pn()):(u["aria-hidden"]="true",u.focusable="false")),oc({icons:{main:Ws(S),mask:a?Ws(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:y,transform:A(A({},Dt),r),symbol:n,title:s,maskId:i,titleId:l,extra:{attributes:u,styles:m,classes:f}})))},Xg={mixout(){return{icon:Zg(Yg)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Z0,e.nodeCallback=qg,e}}},provides(e){e.i2svg=function(t){let{node:r=re,callback:n=()=>{}}=t;return Z0(r,n)},e.generateSvgReplacementMutation=function(t,r){let{iconName:n,title:a,titleId:i,prefix:s,transform:l,symbol:f,mask:u,maskId:m,extra:g}=r;return new Promise((y,S)=>{Promise.all([Vs(n,s),u.iconName?Vs(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(C=>{let[E,N]=C;y([t,oc({icons:{main:E,mask:N},prefix:s,iconName:n,transform:l,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,l=ka(s);l.length>0&&(n.style=l);let f;return ec(i)&&(f=hr("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(f||a.icon),{children:r,attributes:n}}}},Qg={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:r=[]}=t;return za({type:"layer"},()=>{Hr("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(z.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Jg={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 za({type:"counter",content:e},()=>(Hr("beforeDOMElementCreation",{content:e,params:t}),Tg({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(z.cssPrefix,"-layers-counter"),...n]}})))}}}},ey={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=Dt,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return za({type:"text",content:e},()=>(Hr("beforeDOMElementCreation",{content:e,params:t}),G0({content:e,transform:A(A({},Dt),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(z.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){let{title:n,transform:a,extra:i}=r,s=null,l=null;if(i4){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,l=u.height/f}return z.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,G0({content:t.innerHTML,width:s,height:l,transform:a,title:n,extra:i,watchable:!0})])}}},ty=new RegExp('"',"ug"),Y0=[1105920,1112319],X0=A(A(A(A({},{FontAwesome:{normal:"fas",400:"fas"}}),L8),H8),P8),qs=Object.keys(X0).reduce((e,t)=>(e[t.toLowerCase()]=X0[t],e),{}),ry=Object.keys(qs).reduce((e,t)=>{let r=qs[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function oy(e){let t=e.replace(ty,""),r=dg(t,0),n=r>=Y0[0]&&r<=Y0[1],a=t.length===2?t[0]===t[1]:!1;return{value:$s(a?t[0]:t),isSecondary:n||a}}function ny(e,t){let r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(qs[r]||{})[a]||ry[r]}function Q0(e,t){let r="".concat(F8).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();let s=wo(e.children).filter(y=>y.getAttribute(zs)===t)[0],l=ur.getComputedStyle(e,t),f=l.getPropertyValue("font-family"),u=f.match(K8),m=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&g!=="none"&&g!==""){let y=l.getPropertyValue("content"),S=ny(f,m),{value:C,isSecondary:E}=oy(y),N=u[0].startsWith("FontAwesome"),M=rc(S,C),T=M;if(N){let D=gg(C);D.iconName&&D.prefix&&(M=D.iconName,S=D.prefix)}if(M&&!E&&(!s||s.getAttribute(Ys)!==S||s.getAttribute(Xs)!==T)){e.setAttribute(r,T),s&&e.removeChild(s);let D=Vg(),{extra:$}=D;$.attributes[zs]=t,Vs(M,S).then(W=>{let ae=oc(A(A({},D),{},{icons:{main:W,mask:_4()},prefix:S,iconName:T,extra:$,watchable:!0})),Fe=re.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Fe,e.firstChild):e.appendChild(Fe),Fe.outerHTML=ae.map(Ne=>gn(Ne)).join(`
1203
1203
  `),e.removeAttribute(r),n()}).catch(a)}else n()}else n()})}function ay(e){return Promise.all([Q0(e,"::before"),Q0(e,"::after")])}function iy(e){return e.parentNode!==document.head&&!~W8.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(zs)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function J0(e){if(Yt)return new Promise((t,r)=>{let n=wo(e.querySelectorAll("*")).filter(iy).map(ay),a=nc.begin("searchPseudoElements");P4(),Promise.all(n).then(()=>{a(),Ks(),t()}).catch(()=>{a(),Ks(),r()})})}var sy={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=J0,e}}},provides(e){e.pseudoElements2svg=function(t){let{node:r=re}=t;z.searchPseudoElements&&J0(r)}}},e4=!1,cy={mixout(){return{dom:{unwatch(){P4(),e4=!0}}}},hooks(){return{bootstrap(){K0(Fs("mutationObserverCallbacks",{}))},noAuto(){Hg()},watch(e){let{observeMutationsRoot:t}=e;e4?Ks():K0(Fs("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},t4=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)},ly={mixout(){return{parse:{transform:e=>t4(e)}}},hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-transform");return r&&(e.transform=t4(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)")},l="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(l," ").concat(f," ").concat(u)},g={transform:"translate(".concat(i/2*-1," -256)")},y={outer:s,inner:m,path:g};return{tag:"g",attributes:A({},y.outer),children:[{tag:"g",attributes:A({},y.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:A(A({},r.icon.attributes),y.path)}]}]}}}},Ts={x:0,y:0,width:"100%",height:"100%"};function r4(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 dy(e){return e.tag==="g"?e.children:[e]}var fy={hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-mask"),n=r?Pa(r.split(" ").map(a=>a.trim())):_4();return n.prefix||(n.prefix=pr()),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:l}=t,{width:f,icon:u}=a,{width:m,icon:g}=i,y=og({transform:l,containerWidth:m,iconWidth:f}),S={tag:"rect",attributes:A(A({},Ts),{},{fill:"white"})},C=u.children?{children:u.children.map(r4)}:{},E={tag:"g",attributes:A({},y.inner),children:[r4(A({tag:u.tag,attributes:A(A({},u.attributes),y.path)},C))]},N={tag:"g",attributes:A({},y.outer),children:[E]},M="mask-".concat(s||pn()),T="clip-".concat(s||pn()),D={tag:"mask",attributes:A(A({},Ts),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[S,N]},$={tag:"defs",children:[{tag:"clipPath",attributes:{id:T},children:dy(g)},D]};return r.push($,{tag:"rect",attributes:A({fill:"currentColor","clip-path":"url(#".concat(T,")"),mask:"url(#".concat(M,")")},Ts)}),{children:r,attributes:n}}}},uy={provides(e){let t=!1;ur.matchMedia&&(t=ur.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}}}},py={hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},hy=[ig,Xg,Qg,Jg,ey,sy,cy,ly,fy,uy,py];Lg(hy,{mixoutsTo:Je});var EL=Je.noAuto,AL=Je.config,I4=Je.library,RL=Je.dom,wL=Je.parse,_L=Je.findIconDefinition,NL=Je.toHtml,D4=Je.icon,TL=Je.layer,kL=Je.text,ML=Je.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 IL={[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]},B4={[p.regular]:"far",[p.solid]:"fas",[p.custom]:"fak"};var Ia=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},$t=class extends U4.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return $4.html`
1204
1204
  <div class="${(0,F4.classMap)(t)}">${(0,H4.unsafeHTML)(this.buildIcon())}</div>
1205
1205
  `}buildIcon(){let t=this.variant?B4[this.variant]:void 0,r=Es.find(n=>n.iconName===this.icon&&(t?n.prefix===t:!0));return r?(I4.add(r),D4(r).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};$t.elementDefinitions={};$t.styles=Cd;Ia([(0,yn.property)()],$t.prototype,"variant",void 0);Ia([(0,yn.property)()],$t.prototype,"icon",void 0);Ia([(0,yn.property)({type:Boolean})],$t.prototype,"monospace",void 0);Ia([(0,yn.property)({reflect:!0,attribute:"aria-hidden"})],$t.prototype,"ariaHidden",void 0);var ic=v(w());(0,ic.customElement)("ft-icon")(he);(0,ic.customElement)("ftds-icon")($t);var G4=v(U()),W4=v(w());var Fr=class extends W4.FtLitElement{render(){return G4.html`
@@ -1209,7 +1209,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1209
1209
  <div></div>
1210
1210
  <div></div>
1211
1211
  </div>
1212
- `}};Fr.styles=qc;var V4=v(w());(0,V4.customElement)("ft-loader")(Fr);var mr=v(U()),sc=v(Tt()),me=v(K());var bn=e=>e??ye;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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},Z=class extends(0,gr.toFtFormComponent)(gr.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`
1212
+ `}};Fr.styles=qc;var V4=v(w());(0,V4.customElement)("ft-loader")(Fr);var mr=v(U()),sc=v(Tt()),me=v(K());var bn=e=>e??ye;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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},Z=class extends(0,gr.toFtFormComponent)(gr.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`
1213
1213
  <ft-ripple part="ripple"
1214
1214
  ?disabled=${this.isDisabled()}
1215
1215
  ?activated=${this.activated}
@@ -1251,7 +1251,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1251
1251
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
1252
1252
  `:mr.html`
1253
1253
  <slot part="icon" name="icon"></slot>
1254
- `}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,gr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Z.elementDefinitions={"ft-ripple":q,"ft-tooltip":pe,"ft-icon":he,"ft-loader":Fr};Le([(0,me.property)()],Z.prototype,"href",void 0);Le([(0,me.property)()],Z.prototype,"target",void 0);Le([(0,me.property)()],Z.prototype,"type",void 0);Le([(0,me.property)({type:Boolean})],Z.prototype,"disabled",void 0);Le([(0,me.property)()],Z.prototype,"label",void 0);Le([(0,me.property)()],Z.prototype,"icon",void 0);Le([(0,me.property)()],Z.prototype,"iconVariant",void 0);Le([(0,me.property)({type:Boolean})],Z.prototype,"trailingIcon",void 0);Le([(0,me.property)({type:Boolean})],Z.prototype,"loading",void 0);Le([(0,me.property)({attribute:"aria-label"})],Z.prototype,"ariaLabel",void 0);Le([(0,me.property)()],Z.prototype,"ariaHasPopup",void 0);Le([(0,me.property)({attribute:"aria-pressed"})],Z.prototype,"ariaPressed",void 0);Le([(0,me.property)()],Z.prototype,"tooltipPosition",void 0);Le([(0,me.property)({type:Boolean})],Z.prototype,"hideTooltip",void 0);Le([(0,me.property)({type:Boolean})],Z.prototype,"forceTooltip",void 0);Le([(0,me.property)({type:Boolean})],Z.prototype,"activated",void 0);Le([(0,me.query)(".ft-button")],Z.prototype,"button",void 0);Le([(0,me.query)(".ft-button--label slot")],Z.prototype,"slottedContent",void 0);Le([(0,me.query)("[part=tooltip]")],Z.prototype,"tooltip",void 0);var Da=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},He=class extends Z{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 Se.button}};He.elementDefinitions={...Z.elementDefinitions,"ft-or-ftds-typography":le};He.styles=[j4.safariEllipsisFix,el];Da([(0,vn.property)({type:Boolean})],He.prototype,"primary",void 0);Da([(0,vn.property)({type:Boolean})],He.prototype,"outlined",void 0);Da([(0,vn.property)({type:Boolean})],He.prototype,"dense",void 0);Da([(0,vn.property)({type:Boolean})],He.prototype,"round",void 0);var xn=v(K()),$a=v(w());var K4=v(U()),R=v(w());var my={...b,iconOnlyScale:R.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},q4=[K4.css`
1254
+ `}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,gr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Z.elementDefinitions={"ft-ripple":q,"ft-tooltip":pe,"ft-icon":he,"ft-loader":Fr};Ee([(0,me.property)()],Z.prototype,"href",void 0);Ee([(0,me.property)()],Z.prototype,"target",void 0);Ee([(0,me.property)()],Z.prototype,"type",void 0);Ee([(0,me.property)({type:Boolean})],Z.prototype,"disabled",void 0);Ee([(0,me.property)()],Z.prototype,"label",void 0);Ee([(0,me.property)()],Z.prototype,"icon",void 0);Ee([(0,me.property)()],Z.prototype,"iconVariant",void 0);Ee([(0,me.property)({type:Boolean})],Z.prototype,"trailingIcon",void 0);Ee([(0,me.property)({type:Boolean})],Z.prototype,"loading",void 0);Ee([(0,me.property)({attribute:"aria-label"})],Z.prototype,"ariaLabel",void 0);Ee([(0,me.property)()],Z.prototype,"ariaHasPopup",void 0);Ee([(0,me.property)({attribute:"aria-pressed"})],Z.prototype,"ariaPressed",void 0);Ee([(0,me.property)()],Z.prototype,"tooltipPosition",void 0);Ee([(0,me.property)({type:Boolean})],Z.prototype,"hideTooltip",void 0);Ee([(0,me.property)({type:Boolean})],Z.prototype,"forceTooltip",void 0);Ee([(0,me.property)({type:Boolean})],Z.prototype,"activated",void 0);Ee([(0,me.query)(".ft-button")],Z.prototype,"button",void 0);Ee([(0,me.query)(".ft-button--label slot")],Z.prototype,"slottedContent",void 0);Ee([(0,me.query)("[part=tooltip]")],Z.prototype,"tooltip",void 0);var Da=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},He=class extends Z{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 Se.button}};He.elementDefinitions={...Z.elementDefinitions,"ft-or-ftds-typography":le};He.styles=[j4.safariEllipsisFix,el];Da([(0,vn.property)({type:Boolean})],He.prototype,"primary",void 0);Da([(0,vn.property)({type:Boolean})],He.prototype,"outlined",void 0);Da([(0,vn.property)({type:Boolean})],He.prototype,"dense",void 0);Da([(0,vn.property)({type:Boolean})],He.prototype,"round",void 0);var xn=v(K()),$a=v(w());var K4=v(U()),R=v(w());var my={...b,iconOnlyScale:R.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},q4=[K4.css`
1255
1255
  :host {
1256
1256
  display: inline-block;
1257
1257
  max-width: 100%;
@@ -2043,18 +2043,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2043
2043
  display: flex;
2044
2044
  flex-direction: column;
2045
2045
 
2046
- max-width: ${ke.maxWidth};
2046
+ max-width: ${Oe.maxWidth};
2047
2047
  width: max-content;
2048
2048
 
2049
- padding-left: ${ke.horizontalPadding};
2050
- padding-right: ${ke.horizontalPadding};
2051
- padding-top: ${ke.verticalPadding};
2052
- padding-bottom: ${ke.verticalPadding};
2053
- gap: ${ke.gap};
2049
+ padding-left: ${Oe.horizontalPadding};
2050
+ padding-right: ${Oe.horizontalPadding};
2051
+ padding-top: ${Oe.verticalPadding};
2052
+ padding-bottom: ${Oe.verticalPadding};
2053
+ gap: ${Oe.gap};
2054
2054
 
2055
- background-color: ${ke.backgroundColor};
2056
- border-radius: ${ke.borderRadius};
2057
- box-shadow: ${ke.shadow};
2055
+ background-color: ${Oe.backgroundColor};
2056
+ border-radius: ${Oe.borderRadius};
2057
+ box-shadow: ${Oe.shadow};
2058
2058
 
2059
2059
  &.positioned {
2060
2060
  visibility: visible;
@@ -2066,9 +2066,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2066
2066
 
2067
2067
  display: flex;
2068
2068
  align-items: center;
2069
- gap: ${ke.gap};
2069
+ gap: ${Oe.gap};
2070
2070
 
2071
- color: ${ke.titleColor};
2071
+ color: ${Oe.titleColor};
2072
2072
  }
2073
2073
 
2074
2074
  [part="heading"] ftds-typography {
@@ -2080,19 +2080,19 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2080
2080
  }
2081
2081
 
2082
2082
  [part="content"] {
2083
- color: ${ke.bodyColor};
2083
+ color: ${Oe.bodyColor};
2084
2084
  }
2085
2085
 
2086
2086
  [part="popover-sections"] {
2087
2087
  display: flex;
2088
2088
  flex-direction: column;
2089
- gap: ${ke.multiSectionVerticalGap};
2089
+ gap: ${Oe.multiSectionVerticalGap};
2090
2090
  }
2091
2091
 
2092
2092
  .hidden {
2093
2093
  display: none;
2094
2094
  }
2095
- `;var of=v(Tt());var Re=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},J=class extends _o.FtLitElement{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=It.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Nt.medium,this.openButtonFamily=Ge.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?yr.nothing:yr.html`
2095
+ `;var of=v(Tt());var we=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},J=class extends _o.FtLitElement{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=It.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Nt.medium,this.openButtonFamily=Ge.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?yr.nothing:yr.html`
2096
2096
  <div part="root-container" class="${(0,of.classMap)(t)}">
2097
2097
  <ftds-button @focusin=${this.close}
2098
2098
  part="opening-button"
@@ -2143,7 +2143,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2143
2143
  </div>
2144
2144
  </div>
2145
2145
  </div>
2146
- `:yr.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,_o.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,_o.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))}};J.elementDefinitions={"ftds-typography":Me,"ftds-button":mt};J.styles=rf;Re([(0,xe.property)()],J.prototype,"heading",void 0);Re([(0,xe.property)()],J.prototype,"closeButtonLabel",void 0);Re([(0,xe.property)()],J.prototype,"openButtonIcon",void 0);Re([(0,xe.property)()],J.prototype,"openButtonLabel",void 0);Re([(0,xe.property)()],J.prototype,"openButtonTooltipPosition",void 0);Re([(0,xe.property)({type:Boolean})],J.prototype,"opened",void 0);Re([(0,xe.property)({type:Boolean})],J.prototype,"hidden",void 0);Re([(0,xe.property)({type:Nt})],J.prototype,"openButtonSize",void 0);Re([(0,xe.property)({type:Ge})],J.prototype,"openButtonFamily",void 0);Re([(0,xe.query)('[part="opening-button"]')],J.prototype,"openingButton",void 0);Re([(0,xe.query)('[part="closing-button"]')],J.prototype,"closingButton",void 0);Re([(0,xe.query)('[part="wrapper"]')],J.prototype,"popoverWrapper",void 0);Re([(0,xe.query)('[part="content"]')],J.prototype,"popoverContentDiv",void 0);Re([(0,xe.query)('[part="popover-content-slot"]')],J.prototype,"popoverContentSlot",void 0);Re([(0,xe.query)('[part="popover-link"]')],J.prototype,"slottedLinkContent",void 0);Re([(0,xe.query)('[part="popover-link-typography"]')],J.prototype,"popoverLinkTypography",void 0);Re([(0,xe.query)('[part="popover-sections"]')],J.prototype,"popoverSectionsDiv",void 0);Re([(0,xe.query)('[part="popover-sections-slot"]')],J.prototype,"popoverSectionsSlot",void 0);var Cn=v(U()),On=v(K()),Ua=v(w());var nf=v(U());var af=nf.css`
2146
+ `:yr.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,_o.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:Oe.maxWidth},{x:s,y:l}=await(0,_o.computeOffsetAutoPosition)(this.openingButton,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${l}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))}};J.elementDefinitions={"ftds-typography":Me,"ftds-button":mt};J.styles=rf;we([(0,xe.property)()],J.prototype,"heading",void 0);we([(0,xe.property)()],J.prototype,"closeButtonLabel",void 0);we([(0,xe.property)()],J.prototype,"openButtonIcon",void 0);we([(0,xe.property)()],J.prototype,"openButtonLabel",void 0);we([(0,xe.property)()],J.prototype,"openButtonTooltipPosition",void 0);we([(0,xe.property)({type:Boolean})],J.prototype,"opened",void 0);we([(0,xe.property)({type:Boolean})],J.prototype,"hidden",void 0);we([(0,xe.property)({type:Nt})],J.prototype,"openButtonSize",void 0);we([(0,xe.property)({type:Ge})],J.prototype,"openButtonFamily",void 0);we([(0,xe.query)('[part="opening-button"]')],J.prototype,"openingButton",void 0);we([(0,xe.query)('[part="closing-button"]')],J.prototype,"closingButton",void 0);we([(0,xe.query)('[part="wrapper"]')],J.prototype,"popoverWrapper",void 0);we([(0,xe.query)('[part="content"]')],J.prototype,"popoverContentDiv",void 0);we([(0,xe.query)('[part="popover-content-slot"]')],J.prototype,"popoverContentSlot",void 0);we([(0,xe.query)('[part="popover-link"]')],J.prototype,"slottedLinkContent",void 0);we([(0,xe.query)('[part="popover-link-typography"]')],J.prototype,"popoverLinkTypography",void 0);we([(0,xe.query)('[part="popover-sections"]')],J.prototype,"popoverSectionsDiv",void 0);we([(0,xe.query)('[part="popover-sections-slot"]')],J.prototype,"popoverSectionsSlot",void 0);var Cn=v(U()),On=v(K()),Ua=v(w());var nf=v(U());var af=nf.css`
2147
2147
  .ftds-popover-section--heading ftds-typography {
2148
2148
  flex-grow: 1;
2149
2149
  flex-shrink: 1;
@@ -2153,13 +2153,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2153
2153
  }
2154
2154
 
2155
2155
  .ftds-popover-section--content {
2156
- color: ${ke.bodyColor};
2156
+ color: ${Oe.bodyColor};
2157
2157
  }
2158
2158
 
2159
2159
  .ftds-popover-section--container {
2160
2160
  display: flex;
2161
2161
  flex-direction: column;
2162
- gap: ${ke.contentSectionVerticalGap};
2162
+ gap: ${Oe.contentSectionVerticalGap};
2163
2163
  }
2164
2164
  `;var dc=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},Xt=class extends Ua.FtLitElement{constructor(){super(...arguments),this.heading=""}render(){return Cn.html`
2165
2165
  <div class="ftds-popover-section--container">
@@ -2632,7 +2632,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2632
2632
  @change=${r=>this.optionsChanged(r,t)}>
2633
2633
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
2634
2634
  </ft-radio>
2635
- `}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)})}};fe.elementDefinitions={"ft-button":He,"ft-ripple":q,"ft-typography":le,"ft-checkbox":Gr,"ft-icon":he,"ft-radio":Ht};fe.styles=rl;Be([(0,Ee.property)({type:String})],fe.prototype,"filterId",void 0);Be([(0,Ee.property)({type:Object})],fe.prototype,"parent",void 0);Be([(0,Ee.property)({type:Array,hasChanged:bt.hasChanged})],fe.prototype,"options",void 0);Be([(0,Ee.property)({type:Boolean})],fe.prototype,"multivalued",void 0);Be([(0,Ee.property)({type:Boolean})],fe.prototype,"disabled",void 0);Be([(0,Ee.property)({type:Boolean})],fe.prototype,"hideSelectedOptions",void 0);Be([(0,Ee.property)({type:Boolean})],fe.prototype,"displayCount",void 0);Be([(0,Ee.property)({type:Boolean})],fe.prototype,"preventNavigation",void 0);Be([(0,Ee.property)({type:String})],fe.prototype,"filter",void 0);Be([(0,Ee.property)({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);Be([(0,Ee.property)({type:String})],fe.prototype,"noValuesLabel",void 0);Be([(0,Ee.property)()],fe.prototype,"filteredOptionsNumberAriaNotification",void 0);Be([(0,bt.numberProperty)()],fe.prototype,"displayedValuesLimit",void 0);Be([(0,Ee.query)(".ft-filter-level--container")],fe.prototype,"container",void 0);Be([(0,Ee.state)()],fe.prototype,"radios",void 0);Be([(0,Ee.state)()],fe.prototype,"displayedPages",void 0);Be([(0,Ee.state)()],fe.prototype,"filteredOptions",void 0);var wf=v(U()),nt=v(K()),Vr=v(w());var _f=v(Tt());var Af=v(U()),Et=v(w());var Sr={buttonsColor:Et.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Et.designSystemVariables.colorPrimary),buttonsZIndex:Et.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Et.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Et.FtCssVariableFactory.external(Et.designSystemVariables.colorSurface,"Design system")},Rf=Af.css`
2635
+ `}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)})}};fe.elementDefinitions={"ft-button":He,"ft-ripple":q,"ft-typography":le,"ft-checkbox":Gr,"ft-icon":he,"ft-radio":Ht};fe.styles=rl;Be([(0,Ae.property)({type:String})],fe.prototype,"filterId",void 0);Be([(0,Ae.property)({type:Object})],fe.prototype,"parent",void 0);Be([(0,Ae.property)({type:Array,hasChanged:bt.hasChanged})],fe.prototype,"options",void 0);Be([(0,Ae.property)({type:Boolean})],fe.prototype,"multivalued",void 0);Be([(0,Ae.property)({type:Boolean})],fe.prototype,"disabled",void 0);Be([(0,Ae.property)({type:Boolean})],fe.prototype,"hideSelectedOptions",void 0);Be([(0,Ae.property)({type:Boolean})],fe.prototype,"displayCount",void 0);Be([(0,Ae.property)({type:Boolean})],fe.prototype,"preventNavigation",void 0);Be([(0,Ae.property)({type:String})],fe.prototype,"filter",void 0);Be([(0,Ae.property)({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);Be([(0,Ae.property)({type:String})],fe.prototype,"noValuesLabel",void 0);Be([(0,Ae.property)()],fe.prototype,"filteredOptionsNumberAriaNotification",void 0);Be([(0,bt.numberProperty)()],fe.prototype,"displayedValuesLimit",void 0);Be([(0,Ae.query)(".ft-filter-level--container")],fe.prototype,"container",void 0);Be([(0,Ae.state)()],fe.prototype,"radios",void 0);Be([(0,Ae.state)()],fe.prototype,"displayedPages",void 0);Be([(0,Ae.state)()],fe.prototype,"filteredOptions",void 0);var wf=v(U()),nt=v(K()),Vr=v(w());var _f=v(Tt());var Af=v(U()),Et=v(w());var Sr={buttonsColor:Et.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Et.designSystemVariables.colorPrimary),buttonsZIndex:Et.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Et.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Et.FtCssVariableFactory.external(Et.designSystemVariables.colorSurface,"Design system")},Rf=Af.css`
2636
2636
  .ft-snap-scroll {
2637
2637
  box-sizing: border-box;
2638
2638
  position: relative;
@@ -2757,7 +2757,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2757
2757
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
2758
2758
  background-color: ${Sr.colorSurface};
2759
2759
  }
2760
- `;var Ft=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},mc=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},we=class extends Vr.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 Vr.Debouncer(200),this.updateScrollDebouncer=new Vr.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,_f.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":Vr.isSafari}),r=this.controls&&this.withScroll;return wf.html`
2760
+ `;var Ft=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},mc=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},_e=class extends Vr.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 Vr.Debouncer(200),this.updateScrollDebouncer=new Vr.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,_f.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":Vr.isSafari}),r=this.controls&&this.withScroll;return wf.html`
2761
2761
  <div part="container" class="${t}">
2762
2762
  <ft-button
2763
2763
  class="ft-snap-scroll--previous"
@@ -2781,7 +2781,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2781
2781
  @click=${this.next}
2782
2782
  ></ft-button>
2783
2783
  </div>
2784
- `}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 mc(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)}};we.elementDefinitions={"ft-button":He};we.styles=Rf;Ft([(0,nt.property)({type:Boolean})],we.prototype,"horizontal",void 0);Ft([(0,nt.property)({type:Boolean})],we.prototype,"hideScrollbar",void 0);Ft([(0,nt.property)({type:Boolean})],we.prototype,"controls",void 0);Ft([(0,nt.property)({type:Boolean})],we.prototype,"limitSize",void 0);Ft([(0,nt.state)()],we.prototype,"elements",void 0);Ft([(0,nt.state)()],we.prototype,"currentElement",void 0);Ft([(0,nt.state)()],we.prototype,"withScroll",void 0);Ft([(0,nt.state)()],we.prototype,"startReached",void 0);Ft([(0,nt.state)()],we.prototype,"endReached",void 0);Ft([(0,nt.query)(".ft-snap-scroll--content")],we.prototype,"contentSlot",void 0);var Nf=v(w());(0,Nf.customElement)("ft-snap-scroll")(we);var Tf=v(U()),oe=v(w());var Ze={colorOutline:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorOutline,"Design system"),colorOnSurface:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorPrimary,"Design system"),colorSurface:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorSurface,"Design system"),transitionDuration:oe.FtCssVariableFactory.external(oe.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:oe.FtCssVariableFactory.external(oe.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:oe.FtCssVariableFactory.extend("--ft-filter-label-color","",oe.designSystemVariables.colorOnSurface),labelFontSize:oe.FtCssVariableFactory.extend("--ft-filter-label-font-size","",P.fontSize,"16px")},kf=[Nn,oe.noTextInputDefaultClearButton,Tf.css`
2784
+ `}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 mc(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)}};_e.elementDefinitions={"ft-button":He};_e.styles=Rf;Ft([(0,nt.property)({type:Boolean})],_e.prototype,"horizontal",void 0);Ft([(0,nt.property)({type:Boolean})],_e.prototype,"hideScrollbar",void 0);Ft([(0,nt.property)({type:Boolean})],_e.prototype,"controls",void 0);Ft([(0,nt.property)({type:Boolean})],_e.prototype,"limitSize",void 0);Ft([(0,nt.state)()],_e.prototype,"elements",void 0);Ft([(0,nt.state)()],_e.prototype,"currentElement",void 0);Ft([(0,nt.state)()],_e.prototype,"withScroll",void 0);Ft([(0,nt.state)()],_e.prototype,"startReached",void 0);Ft([(0,nt.state)()],_e.prototype,"endReached",void 0);Ft([(0,nt.query)(".ft-snap-scroll--content")],_e.prototype,"contentSlot",void 0);var Nf=v(w());(0,Nf.customElement)("ft-snap-scroll")(_e);var Tf=v(U()),oe=v(w());var Ze={colorOutline:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorOutline,"Design system"),colorOnSurface:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorPrimary,"Design system"),colorSurface:oe.FtCssVariableFactory.external(oe.designSystemVariables.colorSurface,"Design system"),transitionDuration:oe.FtCssVariableFactory.external(oe.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:oe.FtCssVariableFactory.external(oe.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:oe.FtCssVariableFactory.extend("--ft-filter-label-color","",oe.designSystemVariables.colorOnSurface),labelFontSize:oe.FtCssVariableFactory.extend("--ft-filter-label-font-size","",P.fontSize,"16px")},kf=[Nn,oe.noTextInputDefaultClearButton,Tf.css`
2785
2785
  :host {
2786
2786
  display: flex;
2787
2787
  max-height: 100%;
@@ -2898,7 +2898,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2898
2898
  slot:not([name]) {
2899
2899
  display: none;
2900
2900
  }
2901
- `];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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},gc=class extends CustomEvent{constructor(t){super("change",{detail:t})}},j=class extends Ae.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 Ae.Debouncer(300),this.changeDebouncer=new Ae.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Ae.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,Ae.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 jr.html`
2901
+ `];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 l=e.length-1;l>=0;l--)(s=e[l])&&(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},gc=class extends CustomEvent{constructor(t){super("change",{detail:t})}},j=class extends Re.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 Re.Debouncer(300),this.changeDebouncer=new Re.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Re.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,Re.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 jr.html`
2902
2902
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
2903
2903
  part="container">
2904
2904
  ${!this.label&&!t?null:jr.html`
@@ -2981,7 +2981,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2981
2981
  noValuesLabel="${this.noValuesLabel}"
2982
2982
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
2983
2983
  ></ft-filter-level>
2984
- `}goBack(t){this.slideOut=t.detail.value,(0,Ae.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,Ae.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,Ae.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,Ae.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new gc(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)}};j.elementDefinitions={"ft-button":He,"ft-filter-level":fe,"ft-snap-scroll":we,"ft-typography":le};j.styles=kf;ne([(0,ee.property)({type:String})],j.prototype,"id",void 0);ne([(0,ee.property)({type:String})],j.prototype,"label",void 0);ne([(0,ee.property)({type:String})],j.prototype,"filterPlaceHolder",void 0);ne([(0,ee.property)({type:String})],j.prototype,"clearButtonLabel",void 0);ne([(0,ee.property)({type:String})],j.prototype,"moreValuesButtonLabel",void 0);ne([(0,ee.property)({type:String})],j.prototype,"noValuesLabel",void 0);ne([(0,Ae.jsonProperty)([])],j.prototype,"options",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"multivalued",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"disabled",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"raiseSelectedOptions",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"displayCount",void 0);ne([(0,Ae.numberProperty)()],j.prototype,"displayedValuesLimit",void 0);ne([(0,Ae.jsonProperty)(void 0)],j.prototype,"filteredOptionsNumberAriaNotification",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"hideClearButton",void 0);ne([(0,ee.query)(".ft-filter--slot")],j.prototype,"slotElement",void 0);ne([(0,ee.query)(".ft-filter--container")],j.prototype,"container",void 0);ne([(0,ee.query)(".ft-filter--values")],j.prototype,"valuesContainer",void 0);ne([(0,ee.query)(".ft-filter--levels")],j.prototype,"levelsContainer",void 0);ne([(0,ee.state)()],j.prototype,"lastLevelHasHiddenvalues",void 0);ne([(0,ee.query)(".ft-filter--filter input")],j.prototype,"filterInput",void 0);ne([(0,ee.queryAll)(".ft-filter--levels ft-filter-level")],j.prototype,"levels",void 0);ne([(0,ee.state)()],j.prototype,"withScroll",void 0);ne([(0,ee.state)()],j.prototype,"filter",void 0);ne([(0,ee.state)()],j.prototype,"slideIn",void 0);ne([(0,ee.state)()],j.prototype,"slideOut",void 0);var Ka=v(w()),Kr=v(K()),Mf=v(U()),zo=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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 Ka.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Mf.html`
2984
+ `}goBack(t){this.slideOut=t.detail.value,(0,Re.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,Re.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,Re.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,Re.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new gc(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)}};j.elementDefinitions={"ft-button":He,"ft-filter-level":fe,"ft-snap-scroll":_e,"ft-typography":le};j.styles=kf;ne([(0,ee.property)({type:String})],j.prototype,"id",void 0);ne([(0,ee.property)({type:String})],j.prototype,"label",void 0);ne([(0,ee.property)({type:String})],j.prototype,"filterPlaceHolder",void 0);ne([(0,ee.property)({type:String})],j.prototype,"clearButtonLabel",void 0);ne([(0,ee.property)({type:String})],j.prototype,"moreValuesButtonLabel",void 0);ne([(0,ee.property)({type:String})],j.prototype,"noValuesLabel",void 0);ne([(0,Re.jsonProperty)([])],j.prototype,"options",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"multivalued",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"disabled",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"raiseSelectedOptions",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"displayCount",void 0);ne([(0,Re.numberProperty)()],j.prototype,"displayedValuesLimit",void 0);ne([(0,Re.jsonProperty)(void 0)],j.prototype,"filteredOptionsNumberAriaNotification",void 0);ne([(0,ee.property)({type:Boolean})],j.prototype,"hideClearButton",void 0);ne([(0,ee.query)(".ft-filter--slot")],j.prototype,"slotElement",void 0);ne([(0,ee.query)(".ft-filter--container")],j.prototype,"container",void 0);ne([(0,ee.query)(".ft-filter--values")],j.prototype,"valuesContainer",void 0);ne([(0,ee.query)(".ft-filter--levels")],j.prototype,"levelsContainer",void 0);ne([(0,ee.state)()],j.prototype,"lastLevelHasHiddenvalues",void 0);ne([(0,ee.query)(".ft-filter--filter input")],j.prototype,"filterInput",void 0);ne([(0,ee.queryAll)(".ft-filter--levels ft-filter-level")],j.prototype,"levels",void 0);ne([(0,ee.state)()],j.prototype,"withScroll",void 0);ne([(0,ee.state)()],j.prototype,"filter",void 0);ne([(0,ee.state)()],j.prototype,"slideIn",void 0);ne([(0,ee.state)()],j.prototype,"slideOut",void 0);var Ka=v(w()),Kr=v(K()),Mf=v(U()),zo=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 l=e.length-1;l>=0;l--)(s=e[l])&&(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 Ka.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Mf.html`
2985
2985
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
2986
2986
  `}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}))}};at.elementDefinitions={};zo([(0,Kr.property)({type:String})],at.prototype,"label",void 0);zo([(0,Kr.property)({type:Object,converter:e=>e})],at.prototype,"value",void 0);zo([(0,Kr.property)({type:Boolean,reflect:!0})],at.prototype,"selected",void 0);zo([(0,Kr.property)({type:Object})],at.prototype,"subOptions",void 0);zo([(0,Ka.jsonProperty)({})],at.prototype,"renderOption",void 0);zo([(0,Kr.query)(".ft-filter-option--slot")],at.prototype,"slotElement",void 0);var yc=v(w());(0,yc.customElement)("ft-filter")(j);(0,yc.customElement)("ft-filter-option")(at);var bc={warningIconColor:At.FtCssVariableFactory.extend("--ft-search-locale-selector-warning-icon-color","",At.designSystemVariables.colorError),warningTooltipMaxWidth:At.FtCssVariableFactory.create("--ft-search-locale-selector-warning-tooltip-max-width","","SIZE","270px"),headerColor:At.FtCssVariableFactory.extend("--ft-search-locale-selector-header-color","",At.designSystemVariables.colorOnSurface)},zf=Pf.css`
2987
2987
  [part="container"] {