@fluid-topics/ft-popover 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.
- package/build/ft-popover.light.js +43 -43
- package/build/ft-popover.min.js +26 -26
- package/build/ftds-popover.js +5 -3
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";(()=>{var v4=Object.create;var zn=Object.defineProperty;var S4=Object.getOwnPropertyDescriptor;var C4=Object.getOwnPropertyNames;var E4=Object.getPrototypeOf,L4=Object.prototype.hasOwnProperty;var tr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kn=(e,t)=>{for(var o in t)zn(e,o,{get:t[o],enumerable:!0})},A4=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of C4(t))!L4.call(e,a)&&a!==o&&zn(e,a,{get:()=>t[a],enumerable:!(n=S4(t,a))||n.enumerable});return e};var A=(e,t,o)=>(o=e!=null?v4(E4(e)):{},A4(t||!e||!e.__esModule?zn(o,"default",{value:e,enumerable:!0}):o,e));var B=tr((qh,Wi)=>{Wi.exports=ftGlobals.wcUtils});var j=tr((Xh,Fi)=>{Fi.exports=ftGlobals.lit});var ae=tr((Qh,ji)=>{ji.exports=ftGlobals.litDecorators});var Gr=tr((Vy,tc)=>{tc.exports=ftGlobals.litClassMap});var Nl=tr((At,_l)=>{var Qo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Jo=function(){function e(){this.fetch=!1,this.DOMException=Qo.DOMException}return e.prototype=Qo,new e}();(function(e){var t=function(o){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 C={next:function(){var U=x.shift();return{done:U===void 0,value:U}}};return a.iterable&&(C[Symbol.iterator]=function(){return C}),C}function g(x){this.map={},x instanceof g?x.forEach(function(C,U){this.append(U,C)},this):Array.isArray(x)?x.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):x&&Object.getOwnPropertyNames(x).forEach(function(C){this.append(C,x[C])},this)}g.prototype.append=function(x,C){x=f(x),C=u(C);var U=this.map[x];this.map[x]=U?U+", "+C:C},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,C){this.map[f(x)]=u(C)},g.prototype.forEach=function(x,C){for(var U in this.map)this.map.hasOwnProperty(U)&&x.call(C,this.map[U],U,this)},g.prototype.keys=function(){var x=[];return this.forEach(function(C,U){x.push(U)}),m(x)},g.prototype.values=function(){var x=[];return this.forEach(function(C){x.push(C)}),m(x)},g.prototype.entries=function(){var x=[];return this.forEach(function(C,U){x.push([U,C])}),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 v(x){return new Promise(function(C,U){x.onload=function(){C(x.result)},x.onerror=function(){U(x.error)}})}function S(x){var C=new FileReader,U=v(C);return C.readAsArrayBuffer(x),U}function E(x){var C=new FileReader,U=v(C),F=/charset=([A-Za-z0-9_-]+)/.exec(x.type),Q=F?F[1]:"utf-8";return C.readAsText(x,Q),U}function _(x){for(var C=new Uint8Array(x),U=new Array(C.length),F=0;F<C.length;F++)U[F]=String.fromCharCode(C[F]);return U.join("")}function M(x){if(x.slice)return x.slice(0);var C=new Uint8Array(x.byteLength);return C.set(new Uint8Array(x)),C.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(x){this.bodyUsed=this.bodyUsed,this._bodyInit=x,x?typeof x=="string"?this._bodyText=x:a.blob&&Blob.prototype.isPrototypeOf(x)?this._bodyBlob=x:a.formData&&FormData.prototype.isPrototypeOf(x)?this._bodyFormData=x:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)?this._bodyText=x.toString():a.arrayBuffer&&a.blob&&i(x)?(this._bodyArrayBuffer=M(x.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(x)||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(S);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(_(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(Z)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function I(x){var C=x.toUpperCase();return k.indexOf(C)>-1?C:x}function G(x,C){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var U=C.body;if(x instanceof G){if(x.bodyUsed)throw new TypeError("Already read");this.url=x.url,this.credentials=x.credentials,C.headers||(this.headers=new g(x.headers)),this.method=x.method,this.mode=x.mode,this.signal=x.signal,!U&&x._bodyInit!=null&&(U=x._bodyInit,x.bodyUsed=!0)}else this.url=String(x);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new g(C.headers)),this.method=I(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in n){var $=new AbortController;return $.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&U)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(U),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var F=/([?&])_=[^&]*/;if(F.test(this.url))this.url=this.url.replace(F,"$1_="+new Date().getTime());else{var Q=/\?/;this.url+=(Q.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}G.prototype.clone=function(){return new G(this,{body:this._bodyInit})};function Z(x){var C=new FormData;return x.trim().split("&").forEach(function(U){if(U){var F=U.split("="),Q=F.shift().replace(/\+/g," "),$=F.join("=").replace(/\+/g," ");C.append(decodeURIComponent(Q),decodeURIComponent($))}}),C}function Se(x){var C=new g,U=x.replace(/\r?\n[\t ]+/g," ");return U.split("\r").map(function(F){return F.indexOf(`
|
|
2
|
-
`)===0?F.substr(1,F.length):F}).forEach(function(F){var Q=F.split(":"),$=Q.shift().trim();if($){var Eo=Q.join(":").trim();try{C.append($,Eo)}catch(Pn){console.warn("Response "+Pn.message)}}}),C}N.call(G.prototype);function
|
|
2
|
+
`)===0?F.substr(1,F.length):F}).forEach(function(F){var Q=F.split(":"),$=Q.shift().trim();if($){var Eo=Q.join(":").trim();try{C.append($,Eo)}catch(Pn){console.warn("Response "+Pn.message)}}}),C}N.call(G.prototype);function ue(x,C){if(!(this instanceof ue))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.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=C.statusText===void 0?"":""+C.statusText,this.headers=new g(C.headers),this.url=C.url||"",this._initBody(x)}N.call(ue.prototype),ue.prototype.clone=function(){return new ue(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},ue.error=function(){var x=new ue(null,{status:200,statusText:""});return x.ok=!1,x.status=0,x.type="error",x};var Ve=[301,302,303,307,308];ue.redirect=function(x,C){if(Ve.indexOf(C)===-1)throw new RangeError("Invalid status code");return new ue(null,{status:C,headers:{location:x}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(C,U){this.message=C,this.name=U;var F=Error(C);this.stack=F.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function pe(x,C){return new Promise(function(U,F){var Q=new G(x,C);if(Q.signal&&Q.signal.aborted)return F(new o.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function Eo(){$.abort()}$.onload=function(){var he={statusText:$.statusText,headers:Se($.getAllResponseHeaders()||"")};Q.url.indexOf("file://")===0&&($.status<200||$.status>599)?he.status=200:he.status=$.status,he.url="responseURL"in $?$.responseURL:he.headers.get("X-Request-URL");var kt="response"in $?$.response:$.responseText;setTimeout(function(){U(new ue(kt,he))},0)},$.onerror=function(){setTimeout(function(){F(new TypeError("Network request failed"))},0)},$.ontimeout=function(){setTimeout(function(){F(new TypeError("Network request timed out"))},0)},$.onabort=function(){setTimeout(function(){F(new o.DOMException("Aborted","AbortError"))},0)};function Pn(he){try{return he===""&&n.location.href?n.location.href:he}catch{return he}}if($.open(Q.method,Pn(Q.url),!0),Q.credentials==="include"?$.withCredentials=!0:Q.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&(a.blob?$.responseType="blob":a.arrayBuffer&&($.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof g||n.Headers&&C.headers instanceof n.Headers)){var $i=[];Object.getOwnPropertyNames(C.headers).forEach(function(he){$i.push(f(he)),$.setRequestHeader(he,u(C.headers[he]))}),Q.headers.forEach(function(he,kt){$i.indexOf(kt)===-1&&$.setRequestHeader(kt,he)})}else Q.headers.forEach(function(he,kt){$.setRequestHeader(kt,he)});Q.signal&&(Q.signal.addEventListener("abort",Eo),$.onreadystatechange=function(){$.readyState===4&&Q.signal.removeEventListener("abort",Eo)}),$.send(typeof Q._bodyInit>"u"?null:Q._bodyInit)})}return pe.polyfill=!0,n.fetch||(n.fetch=pe,n.Headers=g,n.Request=G,n.Response=ue),o.Headers=g,o.Request=G,o.Response=ue,o.fetch=pe,o}({})})(Jo);Jo.fetch.ponyfill=!0;delete Jo.fetch.polyfill;var Or=Qo.fetch?Qo:Jo;At=Or.fetch;At.default=Or.fetch;At.fetch=Or.fetch;At.Headers=Or.Headers;At.Request=Or.Request;At.Response=Or.Response;_l.exports=At});var Wa=tr((WS,D1)=>{D1.exports=ftGlobals.litUnsafeHTML});var Gi=A(B());var zt=A(j()),ne=A(ae());var $n=globalThis,Lo=$n.trustedTypes,Vi=Lo?Lo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Qi="$lit$",pt=`lit$${Math.random().toFixed(9).slice(2)}$`,Ji="?"+pt,O4=`<${Ji}>`,Ut=document,Ao=()=>Ut.createComment(""),Ir=e=>e===null||typeof e!="object"&&typeof e!="function",Wn=Array.isArray,R4=e=>Wn(e)||typeof e?.[Symbol.iterator]=="function",In=`[
|
|
3
3
|
\f\r]`,kr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ki=/-->/g,Zi=/>/g,It=RegExp(`>|${In}(?:([^\\s"'>=/]+)(${In}*=${In}*(?:[^
|
|
4
4
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),Yi=/'/g,qi=/"/g,es=/^(?:script|style|textarea|title)$/i,Fn=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ts=Fn(1),rs=Fn(2),os=Fn(3),Dr=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),Xi=new WeakMap,Dt=Ut.createTreeWalker(Ut,129);function ns(e,t){if(!Wn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vi!==void 0?Vi.createHTML(t):t}var w4=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=kr;for(let l=0;l<o;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===kr?m[1]==="!--"?s=Ki:m[1]!==void 0?s=Zi:m[2]!==void 0?(es.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=It):m[3]!==void 0&&(s=It):s===It?m[0]===">"?(s=a??kr,g=-1):m[1]===void 0?g=-2:(g=s.lastIndex-m[2].length,u=m[1],s=m[3]===void 0?It:m[3]==='"'?qi:Yi):s===qi||s===Yi?s=It:s===Ki||s===Zi?s=kr:(s=It,a=void 0);let v=s===It&&e[l+1].startsWith("/>")?" ":"";i+=s===kr?f+O4:g>=0?(n.push(u),f.slice(0,g)+Qi+f.slice(g)+pt+v):f+pt+(g===-2?l:v)}return[ns(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Ur=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,f=this.parts,[u,m]=w4(t,o);if(this.el=e.createElement(u,n),Dt.currentNode=this.el.content,o===2||o===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(a=Dt.nextNode())!==null&&f.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let g of a.getAttributeNames())if(g.endsWith(Qi)){let y=m[s++],v=a.getAttribute(g).split(pt),S=/([.?@])?(.*)/.exec(y);f.push({type:1,index:i,name:S[2],strings:v,ctor:S[1]==="."?Un:S[1]==="?"?Bn:S[1]==="@"?Hn:or}),a.removeAttribute(g)}else g.startsWith(pt)&&(f.push({type:6,index:i}),a.removeAttribute(g));if(es.test(a.tagName)){let g=a.textContent.split(pt),y=g.length-1;if(y>0){a.textContent=Lo?Lo.emptyScript:"";for(let v=0;v<y;v++)a.append(g[v],Ao()),Dt.nextNode(),f.push({type:2,index:++i});a.append(g[y],Ao())}}}else if(a.nodeType===8)if(a.data===Ji)f.push({type:2,index:i});else{let g=-1;for(;(g=a.data.indexOf(pt,g+1))!==-1;)f.push({type:7,index:i}),g+=pt.length-1}i++}}static createElement(t,o){let n=Ut.createElement("template");return n.innerHTML=t,n}};function rr(e,t,o=e,n){if(t===Dr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Ir(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,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=rr(e,a._$AS(e,t.values),a,n)),t}var Dn=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??Ut).importNode(o,!0);Dt.currentNode=a;let i=Dt.nextNode(),s=0,l=0,f=n[0];for(;f!==void 0;){if(s===f.index){let u;f.type===2?u=new Oo(i,i.nextSibling,this,t):f.type===1?u=new f.ctor(i,f.name,f.strings,this,t):f.type===6&&(u=new Gn(i,this,t)),this._$AV.push(u),f=n[++l]}s!==f?.index&&(i=Dt.nextNode(),s++)}return Dt.currentNode=Ut,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Oo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rr(this,t,o),Ir(t)?t===te||t==null||t===""?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Dr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):R4(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!==te&&Ir(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ut.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Ur.createElement(ns(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Dn(a,this),s=i.u(this.options);i.p(o),this.T(s),this._$AH=i}}_$AC(t){let o=Xi.get(t.strings);return o===void 0&&Xi.set(t.strings,o=new Ur(t)),o}k(t){Wn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.O(Ao()),this.O(Ao()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},or=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=o,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=te}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=rr(this,t,o,0),s=!Ir(t)||t!==this._$AH&&t!==Dr,s&&(this._$AH=t);else{let l=t,f,u;for(t=i[0],f=0;f<i.length-1;f++)u=rr(this,l[n+f],o,f),u===Dr&&(u=this._$AH[f]),s||=!Ir(u)||u!==this._$AH[f],u===te?t=te:t!==te&&(t+=(u??"")+i[f+1]),this._$AH[f]=u}s&&!a&&this.j(t)}j(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Un=class extends or{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===te?void 0:t}},Bn=class extends or{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},Hn=class extends or{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=rr(this,t,o,0)??te)===Dr)return;let n=this._$AH,a=t===te&&n!==te||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==te&&(n===te||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)}},Gn=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){rr(this,t)}};var _4=$n.litHtmlPolyfillSupport;_4?.(Ur,Oo),($n.litHtmlVersions??=[]).push("3.3.0");var Br=e=>e??te;var zr=A(B());var is=Symbol.for(""),N4=e=>{if(e?.r===is)return e?._$litStatic$},nr=e=>({_$litStatic$:e,r:is});var as=new Map,jn=e=>(t,...o)=>{let n=o.length,a,i,s=[],l=[],f,u=0,m=!1;for(;u<n;){for(f=t[u];u<n&&(i=o[u],(a=N4(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=as.get(g))===void 0&&(s.raw=s,as.set(g,t=s)),o=l}return e(t,...o)},ar=jn(ts),am=jn(rs),im=jn(os);var Vn=A(ae()),vs=A(B());var ht;(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"})(ht||(ht={}));var Ne=A(j()),T=A(B()),ss=T.FtCssVariableFactory.extend("--ft-typography-font-family","",T.designSystemVariables.titleFont),at=T.FtCssVariableFactory.extend("--ft-typography-font-family","",T.designSystemVariables.contentFont),D={fontFamily:at,fontSize:T.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:T.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:T.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:T.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:T.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ir={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ss),fontSize:T.FtCssVariableFactory.extend("--ft-typography-title-font-size","",D.fontSize,"20px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",D.fontWeight,"normal"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",D.letterSpacing,"0.15px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-title-line-height","",D.lineHeight,"1.2"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",D.textTransform,"inherit")},sr={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ss),fontSize:T.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",D.fontSize,"14px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",D.fontWeight,"normal"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",D.letterSpacing,"0.105px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",D.lineHeight,"1.7"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",D.textTransform,"inherit")},cr={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",at),fontSize:T.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",D.fontSize,"16px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",D.fontWeight,"600"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",D.letterSpacing,"0.144px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",D.lineHeight,"1.5"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",D.textTransform,"inherit")},lr={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",at),fontSize:T.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",D.fontSize,"14px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",D.fontWeight,"normal"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",D.letterSpacing,"0.098px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",D.lineHeight,"1.7"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",D.textTransform,"inherit")},dr={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",at),fontSize:T.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",D.fontSize,"16px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",D.fontWeight,"normal"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",D.letterSpacing,"0.496px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",D.lineHeight,"1.5"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",D.textTransform,"inherit")},fr={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",at),fontSize:T.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",D.fontSize,"14px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",D.fontWeight,"normal"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",D.letterSpacing,"0.252px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",D.lineHeight,"1.4"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",D.textTransform,"inherit")},ur={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",at),fontSize:T.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",D.fontSize,"12px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",D.fontWeight,"normal"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",D.letterSpacing,"0.396px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",D.lineHeight,"1.33"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",D.textTransform,"inherit")},pr={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",at),fontSize:T.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",D.fontSize,"10px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",D.fontWeight,"normal"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",D.letterSpacing,"0.33px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",D.lineHeight,"1.6"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",D.textTransform,"inherit")},hr={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",at),fontSize:T.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",D.fontSize,"10px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",D.fontWeight,"normal"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",D.letterSpacing,"1.5px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",D.lineHeight,"1.6"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",D.textTransform,"uppercase")},Ke={fontFamily:T.FtCssVariableFactory.extend("--ft-typography-button-font-family","",at),fontSize:T.FtCssVariableFactory.extend("--ft-typography-button-font-size","",D.fontSize,"14px"),fontWeight:T.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",D.fontWeight,"600"),letterSpacing:T.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",D.letterSpacing,"1.246px"),lineHeight:T.FtCssVariableFactory.extend("--ft-typography-button-line-height","",D.lineHeight,"1.15"),textTransform:T.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",D.textTransform,"uppercase")},cs=Ne.css`
|
|
5
5
|
.ft-typography--title {
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
`:ar`
|
|
106
106
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
107
107
|
`}};Be.styles=[cs,ls,ds,fs,us,ps,hs,ms,gs,ys,bs];xs([(0,Vn.property)()],Be.prototype,"element",void 0);xs([(0,Vn.property)()],Be.prototype,"variant",void 0);var Zn=A(ae()),Bs=A(B());var ye;(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"})(ye||(ye={}));var it=A(j(),1),mt=e=>typeof e=="string"?(0,it.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let i=l=>mt(l??a),s=it.css`var(${mt(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Ss(s,l??i(a)),s.get=l=>it.css`var(${mt(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,o,n,a){let i=l=>n.get(l??a),s=it.css`var(${mt(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Ss(s,l??i(a)),s.get=l=>it.css`var(${mt(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,o){let n=i=>t.defaultCssValue(i),a=it.css`var(${mt(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>it.css`var(${mt(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Ss(e,t){return mt(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Cs={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Es={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ls={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},As={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Os={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Rs={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},ws={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},_s={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ns={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},T4={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ts={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ms={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ps={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},zs={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ks={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Is={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Kn={display:Cs,"title-1":Es,"title-2":Ls,"title-3":As,"body-1-regular":Os,"body-1-medium":Rs,"body-1-semibold":ws,"body-2-regular":_s,"body-2-medium":Ns,"body-2-medium-underline":T4,"body-2-semibold":Ts,"caption-1-medium":Ms,"caption-1-semibold":Ps,"caption-2-medium":zs,"caption-2-semibold":ks,"caption-2-bold":Is};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
108
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Nm={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var km={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Hm={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var jm={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var qm={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var t5={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var i5={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var f5={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var g5={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var S5={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var O5={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var T5={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var k5={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var H5={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var j5={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var q5={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var t7={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var i7={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var f7={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var g7={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var S7={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var he={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var N7={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var k7={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var B7={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var W7={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Z7={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var J7={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3)};var ng={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var lg={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var hg={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var bg={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var gt;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(gt||(gt={}));var Ze;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ze||(Ze={}));var mr=A(j());function M4(e,t){let o=Kn[e];return mr.css`
|
|
108
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Nm={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var km={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var Hm={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var jm={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var qm={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var t5={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var i5={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var f5={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var g5={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var S5={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var O5={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var T5={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var k5={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var H5={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var j5={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var q5={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var t7={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var i7={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var f7={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var g7={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var S7={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var ie={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var N7={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var k7={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var B7={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var W7={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Z7={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var J7={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3)};var ng={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var lg={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var hg={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var bg={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var gt;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(gt||(gt={}));var Ze;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ze||(Ze={}));var mr=A(j());function M4(e,t){let o=Kn[e];return mr.css`
|
|
109
109
|
${t?(0,mr.unsafeCSS)(t):mr.css`.ftds-typography--${(0,mr.unsafeCSS)(e)}`} {
|
|
110
110
|
font-family: ${o.fontFamily};
|
|
111
111
|
font-size: ${o.fontSize};
|
|
@@ -352,7 +352,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
352
352
|
.ft-icon--material {
|
|
353
353
|
font-family: ${ve.materialFontFamily}, "Material Icons", sans-serif;
|
|
354
354
|
}
|
|
355
|
-
`,He.noTextSelect];var Xs=H.FtCssVariableFactory.extend("--ft-button-color","",H.designSystemVariables.colorPrimary),
|
|
355
|
+
`,He.noTextSelect];var Xs=H.FtCssVariableFactory.extend("--ft-button-color","",H.designSystemVariables.colorPrimary),de={backgroundColor:H.FtCssVariableFactory.extend("--ft-button-background-color","",H.designSystemVariables.colorSurface),borderRadius:H.FtCssVariableFactory.extend("--ft-button-border-radius","",H.designSystemVariables.borderRadiusL),color:Xs,fontSize:H.FtCssVariableFactory.extend("--ft-button-font-size","",Ke.fontSize),iconSize:H.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:H.FtCssVariableFactory.extend("--ft-button-ripple-color","",Xs),verticalPadding:H.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:H.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:H.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:H.FtCssVariableFactory.external(H.designSystemVariables.colorOpacityDisabled,"Design system")},Qs=H.FtCssVariableFactory.extend("--ft-button-primary-color","",H.FtCssVariableFactory.extend("--ft-button-color","",H.designSystemVariables.colorOnPrimary)),qn={backgroundColor:H.FtCssVariableFactory.extend("--ft-button-primary-background-color","",H.FtCssVariableFactory.extend("--ft-button-background-color","",H.designSystemVariables.colorPrimary)),color:Qs,rippleColor:H.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Qs)},Ye={borderRadius:H.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",H.FtCssVariableFactory.extend("--ft-button-border-radius","",H.designSystemVariables.borderRadiusM)),verticalPadding:H.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:H.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:H.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ec=[Js.css`
|
|
356
356
|
:host {
|
|
357
357
|
display: inline-block;
|
|
358
358
|
max-width: 100%;
|
|
@@ -363,7 +363,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
363
363
|
box-shadow: 0px 0px 0px transparent;
|
|
364
364
|
border: 0px solid transparent;
|
|
365
365
|
text-shadow: 0px 0px 0px transparent;
|
|
366
|
-
font-size: ${
|
|
366
|
+
font-size: ${de.fontSize};
|
|
367
367
|
text-decoration: none;
|
|
368
368
|
}
|
|
369
369
|
|
|
@@ -393,21 +393,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
393
393
|
border: none;
|
|
394
394
|
pointer-events: auto;
|
|
395
395
|
|
|
396
|
-
--button-internal-line-height: max(calc(${
|
|
397
|
-
--button-internal-color: ${
|
|
398
|
-
${(0,H.setVariable)(ve.size,
|
|
399
|
-
${(0,H.setVariable)(R.color,
|
|
396
|
+
--button-internal-line-height: max(calc(${de.fontSize} + 2px), ${de.iconSize});
|
|
397
|
+
--button-internal-color: ${de.color};
|
|
398
|
+
${(0,H.setVariable)(ve.size,de.iconSize)};
|
|
399
|
+
${(0,H.setVariable)(R.color,de.rippleColor)};
|
|
400
400
|
|
|
401
|
-
border-radius: ${
|
|
402
|
-
padding: ${
|
|
403
|
-
background-color: ${
|
|
401
|
+
border-radius: ${de.borderRadius};
|
|
402
|
+
padding: ${de.verticalPadding} ${de.horizontalPadding};
|
|
403
|
+
background-color: ${de.backgroundColor};
|
|
404
404
|
color: var(--button-internal-color);
|
|
405
405
|
-webkit-mask-image: radial-gradient(white, black);
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
.ft-button.ft-button--outlined {
|
|
409
409
|
border: 1px solid var(--button-internal-color);
|
|
410
|
-
padding: calc(${
|
|
410
|
+
padding: calc(${de.verticalPadding} - 1px) calc(${de.horizontalPadding} - 1px);
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
.ft-button.ft-button--dense {
|
|
@@ -425,7 +425,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
.ft-button--round {
|
|
428
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
428
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${de.verticalPadding});
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
.ft-button--round.ft-button--dense {
|
|
@@ -434,7 +434,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
434
434
|
|
|
435
435
|
.ft-button[disabled] {
|
|
436
436
|
filter: grayscale(1);
|
|
437
|
-
opacity: ${
|
|
437
|
+
opacity: ${de.opacityDisabled};
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ft-button.ft-button--primary {
|
|
@@ -453,7 +453,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
453
453
|
white-space: nowrap;
|
|
454
454
|
text-overflow: ellipsis;
|
|
455
455
|
display: block;
|
|
456
|
-
margin: 0 ${
|
|
456
|
+
margin: 0 ${de.iconPadding};
|
|
457
457
|
${(0,H.setVariable)(Ke.fontSize,"1em")};
|
|
458
458
|
${(0,H.setVariable)(Ke.lineHeight,"var(--button-internal-line-height)")};
|
|
459
459
|
}
|
|
@@ -472,8 +472,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
.ft-button--label[hidden] + [part="icon"] {
|
|
475
|
-
margin: 0 calc(${
|
|
476
|
-
padding: 0 ${
|
|
475
|
+
margin: 0 calc(${de.horizontalPadding} * -1);
|
|
476
|
+
padding: 0 ${de.verticalPadding};
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -486,7 +486,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
ft-loader {
|
|
489
|
-
${(0,H.setVariable)(Y.size,
|
|
489
|
+
${(0,H.setVariable)(Y.size,de.iconSize)};
|
|
490
490
|
${(0,H.setVariable)(Y.color,"var(--button-internal-color)")};
|
|
491
491
|
}
|
|
492
492
|
`,H.noTextSelect];var Pt=A(B());var rc=A(j()),me=A(ae()),oc=A(Gr()),$r=A(B());var Ce=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},J=class extends $r.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 $r.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 $r.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:i}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.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 rc.html`
|
|
@@ -531,15 +531,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
531
531
|
position: relative;
|
|
532
532
|
word-break: break-word;
|
|
533
533
|
}
|
|
534
|
-
`;var cc=["top","right","bottom","left"],sc=["start","end"],Qn=cc.reduce((e,t)=>e.concat(t,t+"-"+sc[0],t+"-"+sc[1]),[]),Fr=Math.min,bt=Math.max,jr=Math.round;var Ge=e=>({x:e,y:e}),P4={left:"right",right:"left",bottom:"top",top:"bottom"};function Jn(e,t,o){return bt(e,Fr(t,o))}function Ro(e,t){return typeof e=="function"?e(t):e}function gr(e){return e.split("-")[0]}function xt(e){return e.split("-")[1]}function ea(e){return e==="x"?"y":"x"}function ta(e){return e==="y"?"height":"width"}function wo(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function ra(e){return ea(wo(e))}function lc(e,t,o){o===void 0&&(o=!1);let n=xt(e),a=ra(e),i=ta(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Xn(s)),[s,Xn(s)]}function dc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Xn(e){let t=gr(e);return P4[t]+e.slice(t.length)}function z4(e){return{top:0,right:0,bottom:0,left:0,...e}}function fc(e){return typeof e!="number"?z4(e):{top:e,right:e,bottom:e,left:e}}function Bt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function uc(e,t,o){let{reference:n,floating:a}=e,i=wo(t),s=ra(t),l=ta(s),f=gr(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,v;switch(f){case"top":v={x:m,y:n.y-a.height};break;case"bottom":v={x:m,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-a.width,y:g};break;default:v={x:n.x,y:n.y}}switch(xt(t)){case"start":v[s]-=y*(o&&u?-1:1);break;case"end":v[s]+=y*(o&&u?-1:1);break}return v}async function pc(e,t){var o;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:v=0}=Ro(t,e),S=fc(v),_=l[y?g==="floating"?"reference":"floating":g],M=Bt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(_)))==null||o?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:f})),N=g==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},G=Bt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:k,strategy:f}):N);return{top:(M.top-G.top+S.top)/I.y,bottom:(G.bottom-M.bottom+S.bottom)/I.y,left:(M.left-G.left+S.left)/I.x,right:(G.right-M.right+S.right)/I.x}}var k4=50,hc=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:pc},f=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:g}=uc(u,n,f),y=n,v=0,S={};for(let E=0;E<i.length;E++){let _=i[E];if(!_)continue;let{name:M,fn:N}=_,{x:k,y:I,data:G,reset:Z}=await N({x:m,y:g,initialPlacement:n,placement:y,strategy:a,middlewareData:S,rects:u,platform:l,elements:{reference:e,floating:t}});m=k??m,g=I??g,S[M]={...S[M],...G},Z&&v<k4&&(v++,typeof Z=="object"&&(Z.placement&&(y=Z.placement),Z.rects&&(u=Z.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):Z.rects),{x:m,y:g}=uc(u,y,f)),E=-1)}return{x:m,y:g,placement:y,strategy:a,middlewareData:S}};function I4(e,t,o){return(e?[...o.filter(a=>xt(a)===e),...o.filter(a=>xt(a)!==e)]:o.filter(a=>gr(a)===a)).filter(a=>e?xt(a)===e||(t?dc(a)!==a:!1):!0)}var mc=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:f,elements:u}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:y=Qn,autoAlignment:v=!0,...S}=Ro(e,t),E=g!==void 0||y===Qn?I4(g||null,v,y):y,_=await f.detectOverflow(t,S),M=((o=s.autoPlacement)==null?void 0:o.index)||0,N=E[M];if(N==null)return{};let k=lc(N,i,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(l!==N)return{reset:{placement:E[0]}};let I=[_[gr(N)],_[k[0]],_[k[1]]],G=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:I}],Z=E[M+1];if(Z)return{data:{index:M+1,overflows:G},reset:{placement:Z}};let Se=G.map(ue=>{let x=xt(ue.placement);return[ue.placement,x&&m?ue.overflows.slice(0,2).reduce((C,U)=>C+U,0):ue.overflows[0],ue.overflows]}).sort((ue,x)=>ue[1]-x[1]),Ve=((a=Se.filter(ue=>ue[2].slice(0,xt(ue[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||Se[0][0];return Ve!==l?{data:{index:M+1,overflows:G},reset:{placement:Ve}}:{}}}};var gc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:f={fn:M=>{let{x:N,y:k}=M;return{x:N,y:k}}},...u}=Ro(e,t),m={x:o,y:n},g=await i.detectOverflow(t,u),y=wo(gr(a)),v=ea(y),S=m[v],E=m[y];if(s){let M=v==="y"?"top":"left",N=v==="y"?"bottom":"right",k=S+g[M],I=S-g[N];S=Jn(k,S,I)}if(l){let M=y==="y"?"top":"left",N=y==="y"?"bottom":"right",k=E+g[M],I=E-g[N];E=Jn(k,E,I)}let _=f.fn({...t,[v]:S,[y]:E});return{..._,data:{x:_.x-o,y:_.y-n,enabled:{[v]:s,[y]:l}}}}}};function No(){return typeof window<"u"}function Gt(e){return bc(e)?(e.nodeName||"").toLowerCase():"#document"}function Ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qe(e){var t;return(t=(bc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bc(e){return No()?e instanceof Node||e instanceof Ee(e).Node:!1}function Te(e){return No()?e instanceof Element||e instanceof Ee(e).Element:!1}function Xe(e){return No()?e instanceof HTMLElement||e instanceof Ee(e).HTMLElement:!1}function yc(e){return!No()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ee(e).ShadowRoot}function yr(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Me(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function xc(e){return/^(table|td|th)$/.test(Gt(e))}function Vr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var D4=/transform|translate|scale|rotate|perspective|filter/,U4=/paint|layout|strict|content/,Ht=e=>!!e&&e!=="none",oa;function To(e){let t=Te(e)?Me(e):e;return Ht(t.transform)||Ht(t.translate)||Ht(t.scale)||Ht(t.rotate)||Ht(t.perspective)||!Mo()&&(Ht(t.backdropFilter)||Ht(t.filter))||D4.test(t.willChange||"")||U4.test(t.contain||"")}function vc(e){let t=st(e);for(;Xe(t)&&!$t(t);){if(To(t))return t;if(Vr(t))return null;t=st(t)}return null}function Mo(){return oa==null&&(oa=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),oa}function $t(e){return/^(html|body|#document)$/.test(Gt(e))}function Me(e){return Ee(e).getComputedStyle(e)}function Kr(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function st(e){if(Gt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||yc(e)&&e.host||qe(e);return yc(t)?t.host:t}function Sc(e){let t=st(e);return $t(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xe(t)&&yr(t)?t:Sc(t)}function _o(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Sc(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=Ee(a);if(i){let l=Po(s);return t.concat(s,s.visualViewport||[],yr(a)?a:[],l&&o?_o(l):[])}else return t.concat(a,_o(a,[],o))}function Po(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ac(e){let t=Me(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Xe(e),i=a?e.offsetWidth:o,s=a?e.offsetHeight:n,l=jr(o)!==i||jr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Oc(e){return Te(e)?e:e.contextElement}function br(e){let t=Oc(e);if(!Xe(t))return Ge(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=Ac(t),s=(i?jr(o.width):o.width)/n,l=(i?jr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var B4=Ge(0);function Rc(e){let t=Ee(e);return!Mo()||!t.visualViewport?B4:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function H4(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Ee(e)?!1:t}function Zr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Oc(e),s=Ge(1);t&&(n?Te(n)&&(s=br(n)):s=br(e));let l=H4(i,o,n)?Rc(i):Ge(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=Ee(i),v=n&&Te(n)?Ee(n):n,S=y,E=Po(S);for(;E&&n&&v!==S;){let _=br(E),M=E.getBoundingClientRect(),N=Me(E),k=M.left+(E.clientLeft+parseFloat(N.paddingLeft))*_.x,I=M.top+(E.clientTop+parseFloat(N.paddingTop))*_.y;f*=_.x,u*=_.y,m*=_.x,g*=_.y,f+=k,u+=I,S=Ee(E),E=Po(S)}}return Bt({width:m,height:g,x:f,y:u})}function zo(e,t){let o=Kr(e).scrollLeft;return t?t.left+o:Zr(qe(e)).left+o}function wc(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-zo(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function G4(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,i=a==="fixed",s=qe(n),l=t?Vr(t.floating):!1;if(n===s||l&&i)return o;let f={scrollLeft:0,scrollTop:0},u=Ge(1),m=Ge(0),g=Xe(n);if((g||!g&&!i)&&((Gt(n)!=="body"||yr(s))&&(f=Kr(n)),g)){let v=Zr(n);u=br(n),m.x=v.x+n.clientLeft,m.y=v.y+n.clientTop}let y=s&&!g&&!i?wc(s,f):Ge(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+m.x+y.x,y:o.y*u.y-f.scrollTop*u.y+m.y+y.y}}function $4(e){return Array.from(e.getClientRects())}function W4(e){let t=qe(e),o=Kr(e),n=e.ownerDocument.body,a=bt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=bt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+zo(e),l=-o.scrollTop;return Me(n).direction==="rtl"&&(s+=bt(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var Cc=25;function F4(e,t){let o=Ee(e),n=qe(e),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,f=0;if(a){i=a.width,s=a.height;let m=Mo();(!m||m&&t==="fixed")&&(l=a.offsetLeft,f=a.offsetTop)}let u=zo(n);if(u<=0){let m=n.ownerDocument,g=m.body,y=getComputedStyle(g),v=m.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,S=Math.abs(n.clientWidth-g.clientWidth-v);S<=Cc&&(i-=S)}else u<=Cc&&(i+=u);return{width:i,height:s,x:l,y:f}}function j4(e,t){let o=Zr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Xe(e)?br(e):Ge(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 Ec(e,t,o){let n;if(t==="viewport")n=F4(e,o);else if(t==="document")n=W4(qe(e));else if(Te(t))n=j4(t,o);else{let a=Rc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Bt(n)}function _c(e,t){let o=st(e);return o===t||!Te(o)||$t(o)?!1:Me(o).position==="fixed"||_c(o,t)}function V4(e,t){let o=t.get(e);if(o)return o;let n=_o(e,[],!1).filter(l=>Te(l)&&Gt(l)!=="body"),a=null,i=Me(e).position==="fixed",s=i?st(e):e;for(;Te(s)&&!$t(s);){let l=Me(s),f=To(s);!f&&l.position==="fixed"&&(a=null),(i?!f&&!a:!f&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||yr(s)&&!f&&_c(e,s))?n=n.filter(m=>m!==s):a=l,s=st(s)}return t.set(e,n),n}function K4(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,s=[...o==="clippingAncestors"?Vr(t)?[]:V4(t,this._c):[].concat(o),n],l=Ec(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 v=Ec(t,s[y],a);f=bt(v.top,f),u=Fr(v.right,u),m=Fr(v.bottom,m),g=bt(v.left,g)}return{width:u-g,height:m-f,x:g,y:f}}function Z4(e){let{width:t,height:o}=Ac(e);return{width:t,height:o}}function Y4(e,t,o){let n=Xe(t),a=qe(t),i=o==="fixed",s=Zr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},f=Ge(0);function u(){f.x=zo(a)}if(n||!n&&!i)if((Gt(t)!=="body"||yr(a))&&(l=Kr(t)),n){let v=Zr(t,!0,i,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else a&&u();i&&!n&&a&&u();let m=a&&!n&&!i?wc(a,l):Ge(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 na(e){return Me(e).position==="static"}function Lc(e,t){if(!Xe(e)||Me(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return qe(e)===o&&(o=o.ownerDocument.body),o}function Nc(e,t){let o=Ee(e);if(Vr(e))return o;if(!Xe(e)){let a=st(e);for(;a&&!$t(a);){if(Te(a)&&!na(a))return a;a=st(a)}return o}let n=Lc(e,t);for(;n&&xc(n)&&na(n);)n=Lc(n,t);return n&&$t(n)&&na(n)&&!To(n)?o:n||vc(e)||o}var q4=async function(e){let t=this.getOffsetParent||Nc,o=this.getDimensions,n=await o(e.floating);return{reference:Y4(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function X4(e){return Me(e).direction==="rtl"}var ko={convertOffsetParentRelativeRectToViewportRelativeRect:G4,getDocumentElement:qe,getClippingRect:K4,getOffsetParent:Nc,getElementRects:q4,getClientRects:$4,getDimensions:Z4,getScale:br,isElement:Te,isRTL:X4};var Tc=mc,Mc=gc;var Pc=(e,t,o)=>{let n=new Map,a={platform:ko,...o},i={...a.platform,_c:n};return hc(e,t,{...a,platform:i})};function zc(e){return Q4(e)}function aa(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Q4(e){for(let t=e;t;t=aa(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=aa(e);t;t=aa(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function kc(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},Pc(e,t,{strategy:n.strategy,platform:{...ko,getOffsetParent:a=>ko.getOffsetParent(a,zc)},middleware:[Mc({crossAxis:!0}),Tc({allowedPlacements:[n.placement]})]})}var _r=A(B());var Na=A(ae());function J4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Io(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(!Io(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),o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!Io(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Io(e,t){try{return J4(e,t)}catch{return!1}}function Yr(e,t){return!Io(e,t)}function Ic(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Do(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var Dc=A(ae(),1);var ia=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Yr,attribute:!1,...t};(0,Dc.property)(i)(o,n);let s=o.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 Uo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Wt=A(ae(),1);var Uc=A(ae(),1);function Bc(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Uc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Yr,...t??{}})}var Bo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>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 Gc=A(j(),1);var Ho=globalThis,ed=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,k9=Symbol();var Hc=(e,t)=>{if(ed)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Ho.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Go=class extends Gc.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 o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Hc(n,t.elementStyles),n}};function $c(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var vr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Vc,Wc=Symbol("constructorPrototype"),Fc=Symbol("constructorName"),Kc=Symbol("exportpartsDebouncer"),jc=Symbol("dynamicDependenciesLoaded"),xr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};xr.eventName="exportparts-updated";var Qe=class extends Go{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Vc]=new Bo(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Kc].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[Fc]=this.constructor.name,this[Wc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fc]&&Object.setPrototypeOf(this,this[Wc])}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 o=this.constructor;o[jc]||(o[jc]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(xr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(xr.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 xr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=$c(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.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 o,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=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&l!==void 0?l:[],E=[...v,...S].filter(f).map(_=>_.trim());for(let _ of E)m.add(_)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(y=>u.map(v=>`${y}:${v}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};Vc=Kc;vr([(0,Wt.property)()],Qe.prototype,"exportpartsPrefix",void 0);vr([Bc([])],Qe.prototype,"exportpartsPrefixes",void 0);vr([(0,Wt.property)({reflect:!0})],Qe.prototype,"exportparts",void 0);vr([(0,Wt.property)()],Qe.prototype,"customStylesheet",void 0);vr([(0,Wt.property)()],Qe.prototype,"elementToFocus",void 0);vr([(0,Wt.state)()],Qe.prototype,"useAdoptedStyleSheets",void 0);function $o(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var qr=Symbol("internalReduxEventsUnsubscribers"),vt=Symbol("internalStoresUnsubscribers"),Ft=Symbol("internalStores"),td=Do(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=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[Ft].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ft].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Ft].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[Ft].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Ft].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Ft].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[vt].has(s.store):this[vt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var f;this[vt].set(s,l.subscribe(()=>this.updateFromStores())),this[qr].set(s,[]),$o(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[qr].get(s).push(()=>l.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[vt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[vt].has(s)&&this[vt].get(s)(),this[vt].delete(s),(l=this[qr].get(s))===null||l===void 0||l.forEach(f=>f()),this[qr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=vt,o=Ft,n=qr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Zc=class extends td(Qe){};function Pe(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ct(e){return!!e&&!!e[q]}function $e(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ld}(e)||Array.isArray(e)||!!e[tl]||!!(!((t=e.constructor)===null||t===void 0)&&t[tl])||ma(e)||ga(e))}function jt(e,t,o){o===void 0&&(o=!1),Er(e)===0?(o?Object.keys:Cr)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Er(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ma(e)?2:ga(e)?3:0}function Sr(e,t){return Er(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function rd(e,t){return Er(e)===2?e.get(t):e[t]}function rl(e,t,o){var n=Er(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ol(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ma(e){return sd&&e instanceof Map}function ga(e){return cd&&e instanceof Set}function St(e){return e.o||e.t}function ya(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=il(e);delete t[q];for(var o=Cr(t),n=0;n<o.length;n++){var a=o[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 ba(e,t){return t===void 0&&(t=!1),xa(e)||ct(e)||!$e(e)||(Er(e)>1&&(e.set=e.add=e.clear=e.delete=od),Object.freeze(e),t&&jt(e,function(o,n){return ba(n,!0)},!0)),e}function od(){Pe(2)}function xa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Je(e){var t=ha[e];return t||Pe(18,e),t}function nd(e,t){ha[e]||(ha[e]=t)}function fa(){return Qr}function sa(e,t){t&&(Je("Patches"),e.u=[],e.s=[],e.v=t)}function Wo(e){ua(e),e.p.forEach(ad),e.p=null}function ua(e){e===Qr&&(Qr=e.l)}function Yc(e){return Qr={p:[],l:Qr,h:e,m:!0,_:0}}function ad(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function ca(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Je("ES5").S(t,e,n),n?(o[q].P&&(Wo(t),Pe(4)),$e(e)&&(e=Fo(t,e),t.l||jo(t,e)),t.u&&Je("Patches").M(o[q].t,e,t.u,t.s)):e=Fo(t,o,[]),Wo(t),t.u&&t.v(t.u,t.s),e!==al?e:void 0}function Fo(e,t,o){if(xa(t))return t;var n=t[q];if(!n)return jt(t,function(l,f){return qc(e,n,t,l,f,o)},!0),t;if(n.A!==e)return t;if(!n.P)return jo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ya(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),jt(i,function(l,f){return qc(e,n,a,l,f,o,s)}),jo(e,a,!1),o&&e.u&&Je("Patches").N(n,o,e.u,e.s)}return n.o}function qc(e,t,o,n,a,i,s){if(ct(a)){var l=Fo(e,a,i&&t&&t.i!==3&&!Sr(t.R,n)?i.concat(n):void 0);if(rl(o,n,l),!ct(l))return;e.m=!1}else s&&o.add(a);if($e(a)&&!xa(a)){if(!e.h.D&&e._<1)return;Fo(e,a),t&&t.A.l||jo(e,a)}}function jo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ba(t,o)}function la(e,t){var o=e[q];return(o?St(o):e)[t]}function Xc(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Ct(e){e.P||(e.P=!0,e.l&&Ct(e.l))}function da(e){e.o||(e.o=ya(e.t))}function pa(e,t,o){var n=ma(t)?Je("MapSet").F(t,o):ga(t)?Je("MapSet").T(t,o):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:fa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=l,u=Jr;s&&(f=[l],u=Xr);var m=Proxy.revocable(f,u),g=m.revoke,y=m.proxy;return l.k=y,l.j=g,y}(t,o):Je("ES5").J(t,o);return(o?o.A:fa()).p.push(n),n}function id(e){return ct(e)||Pe(22,e),function t(o){if(!$e(o))return o;var n,a=o[q],i=Er(o);if(a){if(!a.P&&(a.i<4||!Je("ES5").K(a)))return a.t;a.I=!0,n=Qc(o,i),a.I=!1}else n=Qc(o,i);return jt(n,function(s,l){a&&rd(a.t,s)===l||rl(n,s,t(l))}),i===3?new Set(n):n}(e)}function Qc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ya(e)}function nl(){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[q];return Jr.get(u,s)},set:function(u){var m=this[q];Jr.set(m,s,u)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][q];if(!f.P)switch(f.i){case 5:n(f)&&Ct(f);break;case 4:o(f)&&Ct(f)}}}function o(s){for(var l=s.t,f=s.k,u=Cr(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==q){var y=l[g];if(y===void 0&&!Sr(l,g))return!0;var v=f[g],S=v&&v[q];if(S?S.t!==y:!ol(v,y))return!0}}var E=!!l[q];return u.length!==Cr(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&&Pe(3,JSON.stringify(St(s)))}var i={};nd("ES5",{J:function(s,l){var f=Array.isArray(s),u=function(g,y){if(g){for(var v=Array(y.length),S=0;S<y.length;S++)Object.defineProperty(v,""+S,e(S,!0));return v}var E=il(y);delete E[q];for(var _=Cr(E),M=0;M<_.length;M++){var N=_[M];E[N]=e(N,g||!!E[N].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(f,s),m={i:f?5:4,A:l?l.A:fa(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,q,{value:m,writable:!0}),u},S:function(s,l,f){f?ct(l)&&l[q].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[q];if(g){var y=g.t,v=g.k,S=g.R,E=g.i;if(E===4)jt(v,function(I){I!==q&&(y[I]!==void 0||Sr(y,I)?S[I]||u(v[I]):(S[I]=!0,Ct(g)))}),jt(y,function(I){v[I]!==void 0||Sr(v,I)||(S[I]=!1,Ct(g))});else if(E===5){if(n(g)&&(Ct(g),S.length=!0),v.length<y.length)for(var _=v.length;_<y.length;_++)S[_]=!1;else for(var M=y.length;M<v.length;M++)S[M]=!0;for(var N=Math.min(v.length,y.length),k=0;k<N;k++)v.hasOwnProperty(k)||(S[k]=!0),S[k]===void 0&&u(v[k])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Jc,Qr,va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",sd=typeof Map<"u",cd=typeof Set<"u",el=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",al=va?Symbol.for("immer-nothing"):((Jc={})["immer-nothing"]=!0,Jc),tl=va?Symbol.for("immer-draftable"):"__$immer_draftable",q=va?Symbol.for("immer-state"):"__$immer_state";var ld=""+Object.prototype.constructor,Cr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,il=Object.getOwnPropertyDescriptors||function(e){var t={};return Cr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ha={},Jr={get:function(e,t){if(t===q)return e;var o=St(e);if(!Sr(o,t))return function(a,i,s){var l,f=Xc(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,o,t);var n=o[t];return e.I||!$e(n)?n:n===la(e.t,t)?(da(e),e.o[t]=pa(e.A.h,n,e)):n},has:function(e,t){return t in St(e)},ownKeys:function(e){return Reflect.ownKeys(St(e))},set:function(e,t,o){var n=Xc(St(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=la(St(e),t),i=a?.[q];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ol(o,a)&&(o!==void 0||Sr(e.t,t)))return!0;da(e),Ct(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return la(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,da(e),Ct(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=St(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Pe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Pe(12)}},Xr={};jt(Jr,function(e,t){Xr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Xr.deleteProperty=function(e,t){return Xr.set.call(this,e,t,void 0)},Xr.set=function(e,t,o){return Jr.set.call(this,e[0],t,o,e[0])};var dd=function(){function e(o){var n=this;this.O=el,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 _=this;E===void 0&&(E=l);for(var M=arguments.length,N=Array(M>1?M-1:0),k=1;k<M;k++)N[k-1]=arguments[k];return f.produce(E,function(I){var G;return(G=i).call.apply(G,[_,I].concat(N))})}}var u;if(typeof i!="function"&&Pe(6),s!==void 0&&typeof s!="function"&&Pe(7),$e(a)){var m=Yc(n),g=pa(n,a,void 0),y=!0;try{u=i(g),y=!1}finally{y?Wo(m):ua(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return sa(m,s),ca(E,m)},function(E){throw Wo(m),E}):(sa(m,s),ca(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===al&&(u=void 0),n.D&&ba(u,!0),s){var v=[],S=[];Je("Patches").M(a,u,v,S),s(v,S)}return u}Pe(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(v){return a.apply(void 0,[v].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 o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){$e(o)||Pe(8),ct(o)&&(o=id(o));var n=Yc(this),a=pa(this,o,void 0);return a[q].C=!0,ua(n),a},t.finishDraft=function(o,n){var a=o&&o[q],i=a.A;return sa(i,n),ca(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!el&&Pe(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Je("Patches").$;return ct(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),Ae=new dd,fd=Ae.produce,q9=Ae.produceWithPatches.bind(Ae),X9=Ae.setAutoFreeze.bind(Ae),Q9=Ae.setUseProxies.bind(Ae),J9=Ae.applyPatches.bind(Ae),eb=Ae.createDraft.bind(Ae),tb=Ae.finishDraft.bind(Ae),Vo=fd;function Vt(e){"@babel/helpers - typeof";return Vt=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},Vt(e)}function sl(e,t){if(Vt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Vt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cl(e){var t=sl(e,"string");return Vt(t)=="symbol"?t:t+""}function ll(e,t,o){return(t=cl(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function dl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Sa(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?dl(Object(o),!0).forEach(function(n){ll(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function be(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 fl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ca=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ko={INIT:"@@redux/INIT"+Ca(),REPLACE:"@@redux/REPLACE"+Ca(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ca()}};function ud(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 Ea(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(be(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(be(1));return o(Ea)(e,t)}if(typeof e!="function")throw new Error(be(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(be(3));return i}function g(E){if(typeof E!="function")throw new Error(be(4));if(f)throw new Error(be(5));var _=!0;return u(),l.push(E),function(){if(_){if(f)throw new Error(be(6));_=!1,u();var N=l.indexOf(E);l.splice(N,1),s=null}}}function y(E){if(!ud(E))throw new Error(be(7));if(typeof E.type>"u")throw new Error(be(8));if(f)throw new Error(be(9));try{f=!0,i=a(i,E)}finally{f=!1}for(var _=s=l,M=0;M<_.length;M++){var N=_[M];N()}return E}function v(E){if(typeof E!="function")throw new Error(be(10));a=E,y({type:Ko.REPLACE})}function S(){var E,_=g;return E={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(be(11));function k(){N.next&&N.next(m())}k();var I=_(k);return{unsubscribe:I}}},E[fl]=function(){return this},E}return y({type:Ko.INIT}),n={dispatch:y,subscribe:g,getState:m,replaceReducer:v},n[fl]=S,n}function pd(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Ko.INIT});if(typeof n>"u")throw new Error(be(12));if(typeof o(void 0,{type:Ko.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(be(13))})}function ul(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{pd(o)}catch(f){l=f}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var y=!1,v={},S=0;S<i.length;S++){var E=i[S],_=o[E],M=u[E],N=_(M,m);if(typeof N>"u"){var k=m&&m.type;throw new Error(be(14))}v[E]=N,y=y||N!==M}return y=y||i.length!==Object.keys(u).length,y?v:u}}function Lr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];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 pl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(be(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return i=Lr.apply(void 0,l)(a.dispatch),Sa(Sa({},a),{},{dispatch:i})}}}function hl(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 ml=hl();ml.withExtraArgument=hl;var La=ml;var vl=function(){var e=function(t,o){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,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),hd=function(e,t){var o={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(;o;)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 o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}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}}},Ar=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},md=Object.defineProperty,gd=Object.defineProperties,yd=Object.getOwnPropertyDescriptors,gl=Object.getOwnPropertySymbols,bd=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,yl=function(e,t,o){return t in e?md(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Et=function(e,t){for(var o in t||(t={}))bd.call(t,o)&&yl(e,o,t[o]);if(gl)for(var n=0,a=gl(t);n<a.length;n++){var o=a[n];xd.call(t,o)&&yl(e,o,t[o])}return e},Aa=function(e,t){return gd(e,yd(t))},vd=function(e,t,o){return new Promise(function(n,a){var i=function(f){try{l(o.next(f))}catch(u){a(u)}},s=function(f){try{l(o.throw(f))}catch(u){a(u)}},l=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};l((o=o.apply(e,t)).next())})};var Sd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Lr:Lr.apply(null,arguments)},xb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Cd(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Ed=function(e){vl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ar([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ar([void 0],o.concat(this))))},t}(Array),Ld=function(e){vl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ar([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ar([void 0],o.concat(this))))},t}(Array);function wa(e){return $e(e)?Vo(e,function(){}):e}function Ad(e){return typeof e=="boolean"}function Od(){return function(t){return Rd(t)}}function Rd(e){e===void 0&&(e={});var t=e.thunk,o=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 Ed;if(o&&(Ad(o)?l.push(La):l.push(La.withExtraArgument(o.extraArgument))),0){if(a)var f;if(s)var u}return l}var Oa=!0;function Sl(e){var t=Od(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,f=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,g=o.enhancers,y=g===void 0?void 0:g,v;if(typeof a=="function")v=a;else if(Cd(a))v=ul(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 S=s;if(typeof S=="function"&&(S=S(t),!Oa&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Oa&&S.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=pl.apply(void 0,S),_=Lr;f&&(_=Sd(Et({trace:!Oa},typeof f=="object"&&f)));var M=new Ld(E),N=M;Array.isArray(y)?N=Ar([E],y):typeof y=="function"&&(N=y(M));var k=_.apply(void 0,N);return Ea(v,m,k)}function Lt(e,t){function o(){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 Et(Et({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Cl(e){var t={},o=[],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 o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function wd(e){return typeof e=="function"}function _d(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Cl(t):[t,o,n],i=a[0],s=a[1],l=a[2],f;if(wd(e))f=function(){return wa(e())};else{var u=wa(e);f=function(){return u}}function m(g,y){g===void 0&&(g=f());var v=Ar([i[y.type]],s.filter(function(S){var E=S.matcher;return E(y)}).map(function(S){var E=S.reducer;return E}));return v.filter(function(S){return!!S}).length===0&&(v=[l]),v.reduce(function(S,E){if(E)if(ct(S)){var _=S,M=E(_,y);return M===void 0?S:M}else{if($e(S))return Vo(S,function(N){return E(N,y)});var M=E(S,y);if(M===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return M}return S},g)}return m.getInitialState=f,m}function Nd(e,t){return e+"/"+t}function El(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:wa(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var g=n[m],y=Nd(t,m),v,S;"reducer"in g?(v=g.reducer,S=g.prepare):v=g,i[m]=v,s[y]=v,l[m]=S?Lt(y,S):Lt(y)});function f(){var m=typeof e.extraReducers=="function"?Cl(e.extraReducers):[e.extraReducers],g=m[0],y=g===void 0?{}:g,v=m[1],S=v===void 0?[]:v,E=m[2],_=E===void 0?void 0:E,M=Et(Et({},y),s);return _d(o,function(N){for(var k in M)N.addCase(k,M[k]);for(var I=0,G=S;I<G.length;I++){var Z=G[I];N.addMatcher(Z.matcher,Z.reducer)}_&&N.addDefaultCase(_)})}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 Td="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Md=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Td[Math.random()*64|0];return t},Pd=["name","message","stack","code"],Ra=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),bl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),zd=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Pd;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Eb=function(){function e(t,o,n){var a=Lt(t+"/fulfilled",function(m,g,y,v){return{payload:m,meta:Aa(Et({},v||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=Lt(t+"/pending",function(m,g,y){return{payload:void 0,meta:Aa(Et({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=Lt(t+"/rejected",function(m,g,y,v,S){return{payload:v,error:(n&&n.serializeError||zd)(m||"Rejected"),meta:Aa(Et({},S||{}),{arg:y,requestId:g,rejectedWithValue:!!v,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,v){var S=n?.idGenerator?n.idGenerator(m):Md(),E=new f,_,M=!1;function N(I){_=I,E.abort()}var k=function(){return vd(this,null,function(){var I,G,Z,Se,fe,Ve,ue;return hd(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Se=(I=n?.condition)==null?void 0:I.call(n,m,{getState:y,extra:v}),Id(Se)?[4,Se]:[3,2];case 1:Se=x.sent(),x.label=2;case 2:if(Se===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return M=!0,fe=new Promise(function(C,U){return E.signal.addEventListener("abort",function(){return U({name:"AbortError",message:_||"Aborted"})})}),g(i(S,m,(G=n?.getPendingMeta)==null?void 0:G.call(n,{requestId:S,arg:m},{getState:y,extra:v}))),[4,Promise.race([fe,Promise.resolve(o(m,{dispatch:g,getState:y,extra:v,requestId:S,signal:E.signal,abort:N,rejectWithValue:function(C,U){return new Ra(C,U)},fulfillWithValue:function(C,U){return new bl(C,U)}})).then(function(C){if(C instanceof Ra)throw C;return C instanceof bl?a(C.payload,S,m,C.meta):a(C,S,m)})])];case 3:return Z=x.sent(),[3,5];case 4:return Ve=x.sent(),Z=Ve instanceof Ra?s(null,S,m,Ve.payload,Ve.meta):s(Ve,S,m),[3,5];case 5:return ue=n&&!n.dispatchConditionRejection&&s.match(Z)&&Z.meta.condition,ue||g(Z),[2,Z]}})})}();return Object.assign(k,{abort:N,requestId:S,arg:m,unwrap:function(){return k.then(kd)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function kd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Id(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ll="listener",Al="completed",Ol="cancelled",Lb="task-"+Ol,Ab="task-"+Al,Ob=Ll+"-"+Ol,Rb=Ll+"-"+Al;var _a="listenerMiddleware";var wb=Lt(_a+"/add"),_b=Lt(_a+"/removeAll"),Nb=Lt(_a+"/remove");var xl,Tb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(xl||(xl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Dd=function(e){return function(t){setTimeout(t,e)}},Mb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Dd(10);nl();var Ud=Do(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),Zo=class extends Ud(Object){};window.ftReduxStores||(window.ftReduxStores={});var Rl=class e extends Zo{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if($o(i))return i;if(a==null)return;let s=El({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Sl({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=Ic(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,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Uo;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 Yo=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,o,n,a)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(i);if(!a)return s;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(i);return`${s} ${l}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var qo=A(B()),Bd="ft-app-info",Kt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Kt.eventName="authentication-change";var Hd={session:(e,t)=>{(0,qo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>z.dispatchEvent(new Kt(t.payload)),0))}},z=qo.FtReduxStore.get({name:Bd,reducers:Hd,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 wl=A(B()),Xo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ix=(0,wl.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(z)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Yo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Xo([(0,Na.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Xo([(0,Na.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Xo([ia({store:z.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Xo([ia({store:z.name})],t.prototype,"uiLocale",void 0),t});var $d=A(Nl(),1);var Tl;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Tl||(Tl={}));var Ml;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Ml||(Ml={}));var Pl;(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"})(Pl||(Pl={}));var zl;(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"})(zl||(zl={}));var kl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(kl||(kl={}));var Il;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Il||(Il={}));var Dl;(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"})(Dl||(Dl={}));var Ul;(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"})(Ul||(Ul={}));var Bl;(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"})(Bl||(Bl={}));var Hl;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Hl||(Hl={}));var Gl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Gl||(Gl={}));var $l;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})($l||($l={}));var Wl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Wl||(Wl={}));var Fl;(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"})(Fl||(Fl={}));var jl;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(jl||(jl={}));var Vl;(function(e){e.ASC="ASC",e.DESC="DESC"})(Vl||(Vl={}));var Kl;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Kl||(Kl={}));var Zl;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Zl||(Zl={}));var Yl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Yl||(Yl={}));var ql;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ql||(ql={}));var Xl;(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"})(Xl||(Xl={}));var Ql;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ql||(Ql={}));var Jl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Jl||(Jl={}));var e1;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(e1||(e1={}));var t1;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(t1||(t1={}));var oe;(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"})(oe||(oe={}));var ze;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(ze||(ze={}));var r1;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(r1||(r1={}));var o1;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(o1||(o1={}));var n1;(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"})(n1||(n1={}));var a1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(a1||(a1={}));var i1;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(i1||(i1={}));var s1;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(s1||(s1={}));var c1;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(c1||(c1={}));var l1;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(l1||(l1={}));var d1;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(d1||(d1={}));var Gd={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN,oe.BEHAVIOR_DATA_USER],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function f1(e,t){return e===t||(Gd[e]??[]).some(o=>f1(o,t))}function u1(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=>f1(n,t))}var an=A(B());var Ta=A(B());var Zt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=z.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=z.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var en=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Zt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Zt.await()}};var Oe=class extends en{constructor(t=!0,o){var n;super(o),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 Ta.CacheRegistry,this.cache=t?a.commonCache:new Ta.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var tn=class extends Oe{async listMySearches(){let{session:t}=z.getState();return u1(t,oe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var rn=class extends Oe{async listMyBookmarks(){let t=z.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var on=class extends Oe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=z.getState().session;return!!t?.sessionAuthenticated}};var nn=class extends Oe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=z.getState().session;return!!t?.sessionAuthenticated}};var Wd="ft-user-assets",Fd={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(ze).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;Pa(e,o,[...Ma(e,o),a]),p1(e,o,1,n),h1(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;Pa(e,o,Ma(e,o).map(a=>a.id===n.id?n:a)),h1(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;Pa(e,o,Ma(e,o).filter(i=>i.id!==a)),p1(e,o,-1,n)}},m1={[ze.SEARCHES]:"savedSearches",[ze.BOOKMARKS]:"bookmarks",[ze.BOOKS]:void 0,[ze.COLLECTIONS]:void 0},Ma=(e,t)=>{var o;let n=m1[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},Pa=(e,t,o)=>{let n=m1[t];n&&(e[n]=o)},p1=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===ze.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+o)}},h1=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},Re=an.FtReduxStore.get({name:Wd,reducers:Fd,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(ze).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),za=class{constructor(t=new on,o=new nn){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new rn,this.savedSearchesService=new tn,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=z.getState();(0,an.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Re.actions.clearAssetCount(),Re.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Re.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Re.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Re.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Re.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Re.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Re.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Re.getState().assetCounts.bookmarkByMap).length!==0;t===ze.BOOKMARKS&&o&&Re.actions.clearBookmarkCountByMap(),Re.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 o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Re.actions.bookmarks(o)}}},jd=new za;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=jd);var ka=class{addCommand(t,o=!1){z.commands.add(t,o)}consumeCommand(t){return z.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ka;var ke=A(B());var g1,Rr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Vd=Symbol("clearAfterUnitTest"),sn=class extends(0,ke.withEventBus)(Oe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[g1]=()=>{this.defaultMessages={},this.cache=new ke.CacheRegistry,this.listeners={}},this.currentUiLocale=z.getState().uiLocale,z.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=z.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,ke.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new ke.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof ke.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Rr({loadedContexts:t})),this.dispatchEvent(new Rr({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Rr({loadedContexts:[t]})),this.dispatchEvent(new Rr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ke.delay)(0).then(()=>n()).catch(()=>null)))}};g1=Vd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends sn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends sn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var eo=window.FluidTopicsI18nService,Ia=window.FluidTopicsCustomI18nService;var y1=A(B()),Da=class{highlightHtml(t,o,n){(0,y1.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Da;var b1=A(B());var Ua=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=z.getState().metadataConfiguration)===null||o===void 0?void 0:o.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,o){var n,a,i;if(t==null)return"";try{return b1.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:z.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new Ua;var x1=A(B());var to=class{static get(t,o){var n,a;let i=z.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 x1.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,o??`${s}-${l}`)}};var Ba=class{urlToSearchRequest(t){return to.get().parse(t)}searchRequestToUrl(t){return to.get().serialize(t)}};window.FluidTopicsUrlService=new Ba;var Ot=A(B());var Yt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Yt.eventName="change";var Ha=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},v1=new Ha;var cn=class e extends Ot.WithEventBus{static build(){return new e(window.history,v1,()=>window.location,!1)}constructor(t,o,n,a){var i,s;super(),this.history=t,this.historyStorage=o,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,o=!1){let n=o&&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,Ot.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Yt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,s,l])=>{let f=o(),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 o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Yt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Yt.eventName,t)}currentItem(){return(0,Ot.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,Ot.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,Ot.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 o;let n=(o=this.states[t])===null||o===void 0?void 0:o.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,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??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=cn.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 S1=A(j());var C1=S1.css`
|
|
535
|
-
`;var L1=A(j()),ge=A(ae()),We=A(B());function E1(e,t){let{authenticationRequired:o,session:n}=z.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var
|
|
534
|
+
`;var cc=["top","right","bottom","left"],sc=["start","end"],Qn=cc.reduce((e,t)=>e.concat(t,t+"-"+sc[0],t+"-"+sc[1]),[]),Fr=Math.min,bt=Math.max,jr=Math.round;var Ge=e=>({x:e,y:e}),P4={left:"right",right:"left",bottom:"top",top:"bottom"};function Jn(e,t,o){return bt(e,Fr(t,o))}function Ro(e,t){return typeof e=="function"?e(t):e}function gr(e){return e.split("-")[0]}function xt(e){return e.split("-")[1]}function ea(e){return e==="x"?"y":"x"}function ta(e){return e==="y"?"height":"width"}function wo(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function ra(e){return ea(wo(e))}function lc(e,t,o){o===void 0&&(o=!1);let n=xt(e),a=ra(e),i=ta(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Xn(s)),[s,Xn(s)]}function dc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Xn(e){let t=gr(e);return P4[t]+e.slice(t.length)}function z4(e){return{top:0,right:0,bottom:0,left:0,...e}}function fc(e){return typeof e!="number"?z4(e):{top:e,right:e,bottom:e,left:e}}function Bt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function uc(e,t,o){let{reference:n,floating:a}=e,i=wo(t),s=ra(t),l=ta(s),f=gr(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,v;switch(f){case"top":v={x:m,y:n.y-a.height};break;case"bottom":v={x:m,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-a.width,y:g};break;default:v={x:n.x,y:n.y}}switch(xt(t)){case"start":v[s]-=y*(o&&u?-1:1);break;case"end":v[s]+=y*(o&&u?-1:1);break}return v}async function pc(e,t){var o;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:v=0}=Ro(t,e),S=fc(v),_=l[y?g==="floating"?"reference":"floating":g],M=Bt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(_)))==null||o?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:f})),N=g==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},G=Bt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:k,strategy:f}):N);return{top:(M.top-G.top+S.top)/I.y,bottom:(G.bottom-M.bottom+S.bottom)/I.y,left:(M.left-G.left+S.left)/I.x,right:(G.right-M.right+S.right)/I.x}}var k4=50,hc=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:pc},f=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:g}=uc(u,n,f),y=n,v=0,S={};for(let E=0;E<i.length;E++){let _=i[E];if(!_)continue;let{name:M,fn:N}=_,{x:k,y:I,data:G,reset:Z}=await N({x:m,y:g,initialPlacement:n,placement:y,strategy:a,middlewareData:S,rects:u,platform:l,elements:{reference:e,floating:t}});m=k??m,g=I??g,S[M]={...S[M],...G},Z&&v<k4&&(v++,typeof Z=="object"&&(Z.placement&&(y=Z.placement),Z.rects&&(u=Z.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):Z.rects),{x:m,y:g}=uc(u,y,f)),E=-1)}return{x:m,y:g,placement:y,strategy:a,middlewareData:S}};function I4(e,t,o){return(e?[...o.filter(a=>xt(a)===e),...o.filter(a=>xt(a)!==e)]:o.filter(a=>gr(a)===a)).filter(a=>e?xt(a)===e||(t?dc(a)!==a:!1):!0)}var mc=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:f,elements:u}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:y=Qn,autoAlignment:v=!0,...S}=Ro(e,t),E=g!==void 0||y===Qn?I4(g||null,v,y):y,_=await f.detectOverflow(t,S),M=((o=s.autoPlacement)==null?void 0:o.index)||0,N=E[M];if(N==null)return{};let k=lc(N,i,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(l!==N)return{reset:{placement:E[0]}};let I=[_[gr(N)],_[k[0]],_[k[1]]],G=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:I}],Z=E[M+1];if(Z)return{data:{index:M+1,overflows:G},reset:{placement:Z}};let Se=G.map(pe=>{let x=xt(pe.placement);return[pe.placement,x&&m?pe.overflows.slice(0,2).reduce((C,U)=>C+U,0):pe.overflows[0],pe.overflows]}).sort((pe,x)=>pe[1]-x[1]),Ve=((a=Se.filter(pe=>pe[2].slice(0,xt(pe[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||Se[0][0];return Ve!==l?{data:{index:M+1,overflows:G},reset:{placement:Ve}}:{}}}};var gc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:f={fn:M=>{let{x:N,y:k}=M;return{x:N,y:k}}},...u}=Ro(e,t),m={x:o,y:n},g=await i.detectOverflow(t,u),y=wo(gr(a)),v=ea(y),S=m[v],E=m[y];if(s){let M=v==="y"?"top":"left",N=v==="y"?"bottom":"right",k=S+g[M],I=S-g[N];S=Jn(k,S,I)}if(l){let M=y==="y"?"top":"left",N=y==="y"?"bottom":"right",k=E+g[M],I=E-g[N];E=Jn(k,E,I)}let _=f.fn({...t,[v]:S,[y]:E});return{..._,data:{x:_.x-o,y:_.y-n,enabled:{[v]:s,[y]:l}}}}}};function No(){return typeof window<"u"}function Gt(e){return bc(e)?(e.nodeName||"").toLowerCase():"#document"}function Ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qe(e){var t;return(t=(bc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bc(e){return No()?e instanceof Node||e instanceof Ee(e).Node:!1}function Te(e){return No()?e instanceof Element||e instanceof Ee(e).Element:!1}function Xe(e){return No()?e instanceof HTMLElement||e instanceof Ee(e).HTMLElement:!1}function yc(e){return!No()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ee(e).ShadowRoot}function yr(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Me(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function xc(e){return/^(table|td|th)$/.test(Gt(e))}function Vr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var D4=/transform|translate|scale|rotate|perspective|filter/,U4=/paint|layout|strict|content/,Ht=e=>!!e&&e!=="none",oa;function To(e){let t=Te(e)?Me(e):e;return Ht(t.transform)||Ht(t.translate)||Ht(t.scale)||Ht(t.rotate)||Ht(t.perspective)||!Mo()&&(Ht(t.backdropFilter)||Ht(t.filter))||D4.test(t.willChange||"")||U4.test(t.contain||"")}function vc(e){let t=st(e);for(;Xe(t)&&!$t(t);){if(To(t))return t;if(Vr(t))return null;t=st(t)}return null}function Mo(){return oa==null&&(oa=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),oa}function $t(e){return/^(html|body|#document)$/.test(Gt(e))}function Me(e){return Ee(e).getComputedStyle(e)}function Kr(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function st(e){if(Gt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||yc(e)&&e.host||qe(e);return yc(t)?t.host:t}function Sc(e){let t=st(e);return $t(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xe(t)&&yr(t)?t:Sc(t)}function _o(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Sc(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=Ee(a);if(i){let l=Po(s);return t.concat(s,s.visualViewport||[],yr(a)?a:[],l&&o?_o(l):[])}else return t.concat(a,_o(a,[],o))}function Po(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ac(e){let t=Me(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Xe(e),i=a?e.offsetWidth:o,s=a?e.offsetHeight:n,l=jr(o)!==i||jr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Oc(e){return Te(e)?e:e.contextElement}function br(e){let t=Oc(e);if(!Xe(t))return Ge(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=Ac(t),s=(i?jr(o.width):o.width)/n,l=(i?jr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var B4=Ge(0);function Rc(e){let t=Ee(e);return!Mo()||!t.visualViewport?B4:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function H4(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Ee(e)?!1:t}function Zr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Oc(e),s=Ge(1);t&&(n?Te(n)&&(s=br(n)):s=br(e));let l=H4(i,o,n)?Rc(i):Ge(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=Ee(i),v=n&&Te(n)?Ee(n):n,S=y,E=Po(S);for(;E&&n&&v!==S;){let _=br(E),M=E.getBoundingClientRect(),N=Me(E),k=M.left+(E.clientLeft+parseFloat(N.paddingLeft))*_.x,I=M.top+(E.clientTop+parseFloat(N.paddingTop))*_.y;f*=_.x,u*=_.y,m*=_.x,g*=_.y,f+=k,u+=I,S=Ee(E),E=Po(S)}}return Bt({width:m,height:g,x:f,y:u})}function zo(e,t){let o=Kr(e).scrollLeft;return t?t.left+o:Zr(qe(e)).left+o}function wc(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-zo(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function G4(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,i=a==="fixed",s=qe(n),l=t?Vr(t.floating):!1;if(n===s||l&&i)return o;let f={scrollLeft:0,scrollTop:0},u=Ge(1),m=Ge(0),g=Xe(n);if((g||!g&&!i)&&((Gt(n)!=="body"||yr(s))&&(f=Kr(n)),g)){let v=Zr(n);u=br(n),m.x=v.x+n.clientLeft,m.y=v.y+n.clientTop}let y=s&&!g&&!i?wc(s,f):Ge(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+m.x+y.x,y:o.y*u.y-f.scrollTop*u.y+m.y+y.y}}function $4(e){return Array.from(e.getClientRects())}function W4(e){let t=qe(e),o=Kr(e),n=e.ownerDocument.body,a=bt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=bt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+zo(e),l=-o.scrollTop;return Me(n).direction==="rtl"&&(s+=bt(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var Cc=25;function F4(e,t){let o=Ee(e),n=qe(e),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,f=0;if(a){i=a.width,s=a.height;let m=Mo();(!m||m&&t==="fixed")&&(l=a.offsetLeft,f=a.offsetTop)}let u=zo(n);if(u<=0){let m=n.ownerDocument,g=m.body,y=getComputedStyle(g),v=m.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,S=Math.abs(n.clientWidth-g.clientWidth-v);S<=Cc&&(i-=S)}else u<=Cc&&(i+=u);return{width:i,height:s,x:l,y:f}}function j4(e,t){let o=Zr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Xe(e)?br(e):Ge(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 Ec(e,t,o){let n;if(t==="viewport")n=F4(e,o);else if(t==="document")n=W4(qe(e));else if(Te(t))n=j4(t,o);else{let a=Rc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Bt(n)}function _c(e,t){let o=st(e);return o===t||!Te(o)||$t(o)?!1:Me(o).position==="fixed"||_c(o,t)}function V4(e,t){let o=t.get(e);if(o)return o;let n=_o(e,[],!1).filter(l=>Te(l)&&Gt(l)!=="body"),a=null,i=Me(e).position==="fixed",s=i?st(e):e;for(;Te(s)&&!$t(s);){let l=Me(s),f=To(s);!f&&l.position==="fixed"&&(a=null),(i?!f&&!a:!f&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||yr(s)&&!f&&_c(e,s))?n=n.filter(m=>m!==s):a=l,s=st(s)}return t.set(e,n),n}function K4(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,s=[...o==="clippingAncestors"?Vr(t)?[]:V4(t,this._c):[].concat(o),n],l=Ec(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 v=Ec(t,s[y],a);f=bt(v.top,f),u=Fr(v.right,u),m=Fr(v.bottom,m),g=bt(v.left,g)}return{width:u-g,height:m-f,x:g,y:f}}function Z4(e){let{width:t,height:o}=Ac(e);return{width:t,height:o}}function Y4(e,t,o){let n=Xe(t),a=qe(t),i=o==="fixed",s=Zr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},f=Ge(0);function u(){f.x=zo(a)}if(n||!n&&!i)if((Gt(t)!=="body"||yr(a))&&(l=Kr(t)),n){let v=Zr(t,!0,i,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else a&&u();i&&!n&&a&&u();let m=a&&!n&&!i?wc(a,l):Ge(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 na(e){return Me(e).position==="static"}function Lc(e,t){if(!Xe(e)||Me(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return qe(e)===o&&(o=o.ownerDocument.body),o}function Nc(e,t){let o=Ee(e);if(Vr(e))return o;if(!Xe(e)){let a=st(e);for(;a&&!$t(a);){if(Te(a)&&!na(a))return a;a=st(a)}return o}let n=Lc(e,t);for(;n&&xc(n)&&na(n);)n=Lc(n,t);return n&&$t(n)&&na(n)&&!To(n)?o:n||vc(e)||o}var q4=async function(e){let t=this.getOffsetParent||Nc,o=this.getDimensions,n=await o(e.floating);return{reference:Y4(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function X4(e){return Me(e).direction==="rtl"}var ko={convertOffsetParentRelativeRectToViewportRelativeRect:G4,getDocumentElement:qe,getClippingRect:K4,getOffsetParent:Nc,getElementRects:q4,getClientRects:$4,getDimensions:Z4,getScale:br,isElement:Te,isRTL:X4};var Tc=mc,Mc=gc;var Pc=(e,t,o)=>{let n=new Map,a={platform:ko,...o},i={...a.platform,_c:n};return hc(e,t,{...a,platform:i})};function zc(e){return Q4(e)}function aa(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Q4(e){for(let t=e;t;t=aa(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=aa(e);t;t=aa(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function kc(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},Pc(e,t,{strategy:n.strategy,platform:{...ko,getOffsetParent:a=>ko.getOffsetParent(a,zc)},middleware:[Mc({crossAxis:!0}),Tc({allowedPlacements:[n.placement]})]})}var _r=A(B());var Na=A(ae());function J4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Io(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(!Io(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),o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!Io(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Io(e,t){try{return J4(e,t)}catch{return!1}}function Yr(e,t){return!Io(e,t)}function Ic(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Do(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var Dc=A(ae(),1);var ia=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Yr,attribute:!1,...t};(0,Dc.property)(i)(o,n);let s=o.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 Uo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Wt=A(ae(),1);var Uc=A(ae(),1);function Bc(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Uc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Yr,...t??{}})}var Bo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>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 Gc=A(j(),1);var Ho=globalThis,ed=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,k9=Symbol();var Hc=(e,t)=>{if(ed)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Ho.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Go=class extends Gc.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 o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Hc(n,t.elementStyles),n}};function $c(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var vr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Vc,Wc=Symbol("constructorPrototype"),Fc=Symbol("constructorName"),Kc=Symbol("exportpartsDebouncer"),jc=Symbol("dynamicDependenciesLoaded"),xr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};xr.eventName="exportparts-updated";var Qe=class extends Go{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Vc]=new Bo(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Kc].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[Fc]=this.constructor.name,this[Wc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fc]&&Object.setPrototypeOf(this,this[Wc])}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 o=this.constructor;o[jc]||(o[jc]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(xr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(xr.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 xr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=$c(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.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 o,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=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&l!==void 0?l:[],E=[...v,...S].filter(f).map(_=>_.trim());for(let _ of E)m.add(_)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(y=>u.map(v=>`${y}:${v}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};Vc=Kc;vr([(0,Wt.property)()],Qe.prototype,"exportpartsPrefix",void 0);vr([Bc([])],Qe.prototype,"exportpartsPrefixes",void 0);vr([(0,Wt.property)({reflect:!0})],Qe.prototype,"exportparts",void 0);vr([(0,Wt.property)()],Qe.prototype,"customStylesheet",void 0);vr([(0,Wt.property)()],Qe.prototype,"elementToFocus",void 0);vr([(0,Wt.state)()],Qe.prototype,"useAdoptedStyleSheets",void 0);function $o(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var qr=Symbol("internalReduxEventsUnsubscribers"),vt=Symbol("internalStoresUnsubscribers"),Ft=Symbol("internalStores"),td=Do(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=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[Ft].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ft].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Ft].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[Ft].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Ft].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Ft].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[vt].has(s.store):this[vt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var f;this[vt].set(s,l.subscribe(()=>this.updateFromStores())),this[qr].set(s,[]),$o(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[qr].get(s).push(()=>l.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[vt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[vt].has(s)&&this[vt].get(s)(),this[vt].delete(s),(l=this[qr].get(s))===null||l===void 0||l.forEach(f=>f()),this[qr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=vt,o=Ft,n=qr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Zc=class extends td(Qe){};function Pe(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ct(e){return!!e&&!!e[q]}function $e(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ld}(e)||Array.isArray(e)||!!e[tl]||!!(!((t=e.constructor)===null||t===void 0)&&t[tl])||ma(e)||ga(e))}function jt(e,t,o){o===void 0&&(o=!1),Er(e)===0?(o?Object.keys:Cr)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Er(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ma(e)?2:ga(e)?3:0}function Sr(e,t){return Er(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function rd(e,t){return Er(e)===2?e.get(t):e[t]}function rl(e,t,o){var n=Er(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function ol(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ma(e){return sd&&e instanceof Map}function ga(e){return cd&&e instanceof Set}function St(e){return e.o||e.t}function ya(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=il(e);delete t[q];for(var o=Cr(t),n=0;n<o.length;n++){var a=o[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 ba(e,t){return t===void 0&&(t=!1),xa(e)||ct(e)||!$e(e)||(Er(e)>1&&(e.set=e.add=e.clear=e.delete=od),Object.freeze(e),t&&jt(e,function(o,n){return ba(n,!0)},!0)),e}function od(){Pe(2)}function xa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Je(e){var t=ha[e];return t||Pe(18,e),t}function nd(e,t){ha[e]||(ha[e]=t)}function fa(){return Qr}function sa(e,t){t&&(Je("Patches"),e.u=[],e.s=[],e.v=t)}function Wo(e){ua(e),e.p.forEach(ad),e.p=null}function ua(e){e===Qr&&(Qr=e.l)}function Yc(e){return Qr={p:[],l:Qr,h:e,m:!0,_:0}}function ad(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function ca(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Je("ES5").S(t,e,n),n?(o[q].P&&(Wo(t),Pe(4)),$e(e)&&(e=Fo(t,e),t.l||jo(t,e)),t.u&&Je("Patches").M(o[q].t,e,t.u,t.s)):e=Fo(t,o,[]),Wo(t),t.u&&t.v(t.u,t.s),e!==al?e:void 0}function Fo(e,t,o){if(xa(t))return t;var n=t[q];if(!n)return jt(t,function(l,f){return qc(e,n,t,l,f,o)},!0),t;if(n.A!==e)return t;if(!n.P)return jo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ya(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),jt(i,function(l,f){return qc(e,n,a,l,f,o,s)}),jo(e,a,!1),o&&e.u&&Je("Patches").N(n,o,e.u,e.s)}return n.o}function qc(e,t,o,n,a,i,s){if(ct(a)){var l=Fo(e,a,i&&t&&t.i!==3&&!Sr(t.R,n)?i.concat(n):void 0);if(rl(o,n,l),!ct(l))return;e.m=!1}else s&&o.add(a);if($e(a)&&!xa(a)){if(!e.h.D&&e._<1)return;Fo(e,a),t&&t.A.l||jo(e,a)}}function jo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ba(t,o)}function la(e,t){var o=e[q];return(o?St(o):e)[t]}function Xc(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Ct(e){e.P||(e.P=!0,e.l&&Ct(e.l))}function da(e){e.o||(e.o=ya(e.t))}function pa(e,t,o){var n=ma(t)?Je("MapSet").F(t,o):ga(t)?Je("MapSet").T(t,o):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:fa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=l,u=Jr;s&&(f=[l],u=Xr);var m=Proxy.revocable(f,u),g=m.revoke,y=m.proxy;return l.k=y,l.j=g,y}(t,o):Je("ES5").J(t,o);return(o?o.A:fa()).p.push(n),n}function id(e){return ct(e)||Pe(22,e),function t(o){if(!$e(o))return o;var n,a=o[q],i=Er(o);if(a){if(!a.P&&(a.i<4||!Je("ES5").K(a)))return a.t;a.I=!0,n=Qc(o,i),a.I=!1}else n=Qc(o,i);return jt(n,function(s,l){a&&rd(a.t,s)===l||rl(n,s,t(l))}),i===3?new Set(n):n}(e)}function Qc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ya(e)}function nl(){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[q];return Jr.get(u,s)},set:function(u){var m=this[q];Jr.set(m,s,u)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][q];if(!f.P)switch(f.i){case 5:n(f)&&Ct(f);break;case 4:o(f)&&Ct(f)}}}function o(s){for(var l=s.t,f=s.k,u=Cr(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==q){var y=l[g];if(y===void 0&&!Sr(l,g))return!0;var v=f[g],S=v&&v[q];if(S?S.t!==y:!ol(v,y))return!0}}var E=!!l[q];return u.length!==Cr(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&&Pe(3,JSON.stringify(St(s)))}var i={};nd("ES5",{J:function(s,l){var f=Array.isArray(s),u=function(g,y){if(g){for(var v=Array(y.length),S=0;S<y.length;S++)Object.defineProperty(v,""+S,e(S,!0));return v}var E=il(y);delete E[q];for(var _=Cr(E),M=0;M<_.length;M++){var N=_[M];E[N]=e(N,g||!!E[N].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(f,s),m={i:f?5:4,A:l?l.A:fa(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,q,{value:m,writable:!0}),u},S:function(s,l,f){f?ct(l)&&l[q].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[q];if(g){var y=g.t,v=g.k,S=g.R,E=g.i;if(E===4)jt(v,function(I){I!==q&&(y[I]!==void 0||Sr(y,I)?S[I]||u(v[I]):(S[I]=!0,Ct(g)))}),jt(y,function(I){v[I]!==void 0||Sr(v,I)||(S[I]=!1,Ct(g))});else if(E===5){if(n(g)&&(Ct(g),S.length=!0),v.length<y.length)for(var _=v.length;_<y.length;_++)S[_]=!1;else for(var M=y.length;M<v.length;M++)S[M]=!0;for(var N=Math.min(v.length,y.length),k=0;k<N;k++)v.hasOwnProperty(k)||(S[k]=!0),S[k]===void 0&&u(v[k])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Jc,Qr,va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",sd=typeof Map<"u",cd=typeof Set<"u",el=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",al=va?Symbol.for("immer-nothing"):((Jc={})["immer-nothing"]=!0,Jc),tl=va?Symbol.for("immer-draftable"):"__$immer_draftable",q=va?Symbol.for("immer-state"):"__$immer_state";var ld=""+Object.prototype.constructor,Cr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,il=Object.getOwnPropertyDescriptors||function(e){var t={};return Cr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ha={},Jr={get:function(e,t){if(t===q)return e;var o=St(e);if(!Sr(o,t))return function(a,i,s){var l,f=Xc(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,o,t);var n=o[t];return e.I||!$e(n)?n:n===la(e.t,t)?(da(e),e.o[t]=pa(e.A.h,n,e)):n},has:function(e,t){return t in St(e)},ownKeys:function(e){return Reflect.ownKeys(St(e))},set:function(e,t,o){var n=Xc(St(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=la(St(e),t),i=a?.[q];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(ol(o,a)&&(o!==void 0||Sr(e.t,t)))return!0;da(e),Ct(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return la(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,da(e),Ct(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=St(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Pe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Pe(12)}},Xr={};jt(Jr,function(e,t){Xr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Xr.deleteProperty=function(e,t){return Xr.set.call(this,e,t,void 0)},Xr.set=function(e,t,o){return Jr.set.call(this,e[0],t,o,e[0])};var dd=function(){function e(o){var n=this;this.O=el,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 _=this;E===void 0&&(E=l);for(var M=arguments.length,N=Array(M>1?M-1:0),k=1;k<M;k++)N[k-1]=arguments[k];return f.produce(E,function(I){var G;return(G=i).call.apply(G,[_,I].concat(N))})}}var u;if(typeof i!="function"&&Pe(6),s!==void 0&&typeof s!="function"&&Pe(7),$e(a)){var m=Yc(n),g=pa(n,a,void 0),y=!0;try{u=i(g),y=!1}finally{y?Wo(m):ua(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return sa(m,s),ca(E,m)},function(E){throw Wo(m),E}):(sa(m,s),ca(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===al&&(u=void 0),n.D&&ba(u,!0),s){var v=[],S=[];Je("Patches").M(a,u,v,S),s(v,S)}return u}Pe(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(v){return a.apply(void 0,[v].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 o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){$e(o)||Pe(8),ct(o)&&(o=id(o));var n=Yc(this),a=pa(this,o,void 0);return a[q].C=!0,ua(n),a},t.finishDraft=function(o,n){var a=o&&o[q],i=a.A;return sa(i,n),ca(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!el&&Pe(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Je("Patches").$;return ct(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),Ae=new dd,fd=Ae.produce,q9=Ae.produceWithPatches.bind(Ae),X9=Ae.setAutoFreeze.bind(Ae),Q9=Ae.setUseProxies.bind(Ae),J9=Ae.applyPatches.bind(Ae),eb=Ae.createDraft.bind(Ae),tb=Ae.finishDraft.bind(Ae),Vo=fd;function Vt(e){"@babel/helpers - typeof";return Vt=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},Vt(e)}function sl(e,t){if(Vt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Vt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cl(e){var t=sl(e,"string");return Vt(t)=="symbol"?t:t+""}function ll(e,t,o){return(t=cl(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function dl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Sa(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?dl(Object(o),!0).forEach(function(n){ll(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function be(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 fl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ca=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ko={INIT:"@@redux/INIT"+Ca(),REPLACE:"@@redux/REPLACE"+Ca(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ca()}};function ud(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 Ea(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(be(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(be(1));return o(Ea)(e,t)}if(typeof e!="function")throw new Error(be(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(be(3));return i}function g(E){if(typeof E!="function")throw new Error(be(4));if(f)throw new Error(be(5));var _=!0;return u(),l.push(E),function(){if(_){if(f)throw new Error(be(6));_=!1,u();var N=l.indexOf(E);l.splice(N,1),s=null}}}function y(E){if(!ud(E))throw new Error(be(7));if(typeof E.type>"u")throw new Error(be(8));if(f)throw new Error(be(9));try{f=!0,i=a(i,E)}finally{f=!1}for(var _=s=l,M=0;M<_.length;M++){var N=_[M];N()}return E}function v(E){if(typeof E!="function")throw new Error(be(10));a=E,y({type:Ko.REPLACE})}function S(){var E,_=g;return E={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(be(11));function k(){N.next&&N.next(m())}k();var I=_(k);return{unsubscribe:I}}},E[fl]=function(){return this},E}return y({type:Ko.INIT}),n={dispatch:y,subscribe:g,getState:m,replaceReducer:v},n[fl]=S,n}function pd(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Ko.INIT});if(typeof n>"u")throw new Error(be(12));if(typeof o(void 0,{type:Ko.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(be(13))})}function ul(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{pd(o)}catch(f){l=f}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var y=!1,v={},S=0;S<i.length;S++){var E=i[S],_=o[E],M=u[E],N=_(M,m);if(typeof N>"u"){var k=m&&m.type;throw new Error(be(14))}v[E]=N,y=y||N!==M}return y=y||i.length!==Object.keys(u).length,y?v:u}}function Lr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];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 pl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(be(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return i=Lr.apply(void 0,l)(a.dispatch),Sa(Sa({},a),{},{dispatch:i})}}}function hl(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 ml=hl();ml.withExtraArgument=hl;var La=ml;var vl=function(){var e=function(t,o){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,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),hd=function(e,t){var o={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(;o;)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 o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}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}}},Ar=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},md=Object.defineProperty,gd=Object.defineProperties,yd=Object.getOwnPropertyDescriptors,gl=Object.getOwnPropertySymbols,bd=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,yl=function(e,t,o){return t in e?md(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Et=function(e,t){for(var o in t||(t={}))bd.call(t,o)&&yl(e,o,t[o]);if(gl)for(var n=0,a=gl(t);n<a.length;n++){var o=a[n];xd.call(t,o)&&yl(e,o,t[o])}return e},Aa=function(e,t){return gd(e,yd(t))},vd=function(e,t,o){return new Promise(function(n,a){var i=function(f){try{l(o.next(f))}catch(u){a(u)}},s=function(f){try{l(o.throw(f))}catch(u){a(u)}},l=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};l((o=o.apply(e,t)).next())})};var Sd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Lr:Lr.apply(null,arguments)},xb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Cd(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Ed=function(e){vl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ar([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ar([void 0],o.concat(this))))},t}(Array),Ld=function(e){vl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ar([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ar([void 0],o.concat(this))))},t}(Array);function wa(e){return $e(e)?Vo(e,function(){}):e}function Ad(e){return typeof e=="boolean"}function Od(){return function(t){return Rd(t)}}function Rd(e){e===void 0&&(e={});var t=e.thunk,o=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 Ed;if(o&&(Ad(o)?l.push(La):l.push(La.withExtraArgument(o.extraArgument))),0){if(a)var f;if(s)var u}return l}var Oa=!0;function Sl(e){var t=Od(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,f=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,g=o.enhancers,y=g===void 0?void 0:g,v;if(typeof a=="function")v=a;else if(Cd(a))v=ul(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 S=s;if(typeof S=="function"&&(S=S(t),!Oa&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Oa&&S.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=pl.apply(void 0,S),_=Lr;f&&(_=Sd(Et({trace:!Oa},typeof f=="object"&&f)));var M=new Ld(E),N=M;Array.isArray(y)?N=Ar([E],y):typeof y=="function"&&(N=y(M));var k=_.apply(void 0,N);return Ea(v,m,k)}function Lt(e,t){function o(){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 Et(Et({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Cl(e){var t={},o=[],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 o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function wd(e){return typeof e=="function"}function _d(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Cl(t):[t,o,n],i=a[0],s=a[1],l=a[2],f;if(wd(e))f=function(){return wa(e())};else{var u=wa(e);f=function(){return u}}function m(g,y){g===void 0&&(g=f());var v=Ar([i[y.type]],s.filter(function(S){var E=S.matcher;return E(y)}).map(function(S){var E=S.reducer;return E}));return v.filter(function(S){return!!S}).length===0&&(v=[l]),v.reduce(function(S,E){if(E)if(ct(S)){var _=S,M=E(_,y);return M===void 0?S:M}else{if($e(S))return Vo(S,function(N){return E(N,y)});var M=E(S,y);if(M===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return M}return S},g)}return m.getInitialState=f,m}function Nd(e,t){return e+"/"+t}function El(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:wa(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var g=n[m],y=Nd(t,m),v,S;"reducer"in g?(v=g.reducer,S=g.prepare):v=g,i[m]=v,s[y]=v,l[m]=S?Lt(y,S):Lt(y)});function f(){var m=typeof e.extraReducers=="function"?Cl(e.extraReducers):[e.extraReducers],g=m[0],y=g===void 0?{}:g,v=m[1],S=v===void 0?[]:v,E=m[2],_=E===void 0?void 0:E,M=Et(Et({},y),s);return _d(o,function(N){for(var k in M)N.addCase(k,M[k]);for(var I=0,G=S;I<G.length;I++){var Z=G[I];N.addMatcher(Z.matcher,Z.reducer)}_&&N.addDefaultCase(_)})}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 Td="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Md=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Td[Math.random()*64|0];return t},Pd=["name","message","stack","code"],Ra=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),bl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),zd=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Pd;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Eb=function(){function e(t,o,n){var a=Lt(t+"/fulfilled",function(m,g,y,v){return{payload:m,meta:Aa(Et({},v||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=Lt(t+"/pending",function(m,g,y){return{payload:void 0,meta:Aa(Et({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=Lt(t+"/rejected",function(m,g,y,v,S){return{payload:v,error:(n&&n.serializeError||zd)(m||"Rejected"),meta:Aa(Et({},S||{}),{arg:y,requestId:g,rejectedWithValue:!!v,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,v){var S=n?.idGenerator?n.idGenerator(m):Md(),E=new f,_,M=!1;function N(I){_=I,E.abort()}var k=function(){return vd(this,null,function(){var I,G,Z,Se,ue,Ve,pe;return hd(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Se=(I=n?.condition)==null?void 0:I.call(n,m,{getState:y,extra:v}),Id(Se)?[4,Se]:[3,2];case 1:Se=x.sent(),x.label=2;case 2:if(Se===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return M=!0,ue=new Promise(function(C,U){return E.signal.addEventListener("abort",function(){return U({name:"AbortError",message:_||"Aborted"})})}),g(i(S,m,(G=n?.getPendingMeta)==null?void 0:G.call(n,{requestId:S,arg:m},{getState:y,extra:v}))),[4,Promise.race([ue,Promise.resolve(o(m,{dispatch:g,getState:y,extra:v,requestId:S,signal:E.signal,abort:N,rejectWithValue:function(C,U){return new Ra(C,U)},fulfillWithValue:function(C,U){return new bl(C,U)}})).then(function(C){if(C instanceof Ra)throw C;return C instanceof bl?a(C.payload,S,m,C.meta):a(C,S,m)})])];case 3:return Z=x.sent(),[3,5];case 4:return Ve=x.sent(),Z=Ve instanceof Ra?s(null,S,m,Ve.payload,Ve.meta):s(Ve,S,m),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&s.match(Z)&&Z.meta.condition,pe||g(Z),[2,Z]}})})}();return Object.assign(k,{abort:N,requestId:S,arg:m,unwrap:function(){return k.then(kd)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function kd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Id(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ll="listener",Al="completed",Ol="cancelled",Lb="task-"+Ol,Ab="task-"+Al,Ob=Ll+"-"+Ol,Rb=Ll+"-"+Al;var _a="listenerMiddleware";var wb=Lt(_a+"/add"),_b=Lt(_a+"/removeAll"),Nb=Lt(_a+"/remove");var xl,Tb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(xl||(xl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Dd=function(e){return function(t){setTimeout(t,e)}},Mb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Dd(10);nl();var Ud=Do(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),Zo=class extends Ud(Object){};window.ftReduxStores||(window.ftReduxStores={});var Rl=class e extends Zo{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if($o(i))return i;if(a==null)return;let s=El({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Sl({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=Ic(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,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Uo;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 Yo=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,o,n,a)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(i);if(!a)return s;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(i);return`${s} ${l}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var qo=A(B()),Bd="ft-app-info",Kt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Kt.eventName="authentication-change";var Hd={session:(e,t)=>{(0,qo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>z.dispatchEvent(new Kt(t.payload)),0))}},z=qo.FtReduxStore.get({name:Bd,reducers:Hd,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 wl=A(B()),Xo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ix=(0,wl.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(z)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Yo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Xo([(0,Na.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Xo([(0,Na.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Xo([ia({store:z.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Xo([ia({store:z.name})],t.prototype,"uiLocale",void 0),t});var $d=A(Nl(),1);var Tl;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Tl||(Tl={}));var Ml;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Ml||(Ml={}));var Pl;(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"})(Pl||(Pl={}));var zl;(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"})(zl||(zl={}));var kl;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(kl||(kl={}));var Il;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Il||(Il={}));var Dl;(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"})(Dl||(Dl={}));var Ul;(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"})(Ul||(Ul={}));var Bl;(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"})(Bl||(Bl={}));var Hl;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Hl||(Hl={}));var Gl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Gl||(Gl={}));var $l;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})($l||($l={}));var Wl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Wl||(Wl={}));var Fl;(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"})(Fl||(Fl={}));var jl;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(jl||(jl={}));var Vl;(function(e){e.ASC="ASC",e.DESC="DESC"})(Vl||(Vl={}));var Kl;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Kl||(Kl={}));var Zl;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Zl||(Zl={}));var Yl;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Yl||(Yl={}));var ql;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ql||(ql={}));var Xl;(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"})(Xl||(Xl={}));var Ql;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ql||(Ql={}));var Jl;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Jl||(Jl={}));var e1;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(e1||(e1={}));var t1;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(t1||(t1={}));var oe;(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"})(oe||(oe={}));var ze;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(ze||(ze={}));var r1;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(r1||(r1={}));var o1;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(o1||(o1={}));var n1;(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"})(n1||(n1={}));var a1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(a1||(a1={}));var i1;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(i1||(i1={}));var s1;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(s1||(s1={}));var c1;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(c1||(c1={}));var l1;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(l1||(l1={}));var d1;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(d1||(d1={}));var Gd={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN,oe.BEHAVIOR_DATA_USER],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function f1(e,t){return e===t||(Gd[e]??[]).some(o=>f1(o,t))}function u1(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=>f1(n,t))}var an=A(B());var Ta=A(B());var Zt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=z.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=z.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var en=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Zt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Zt.await()}};var Oe=class extends en{constructor(t=!0,o){var n;super(o),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 Ta.CacheRegistry,this.cache=t?a.commonCache:new Ta.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var tn=class extends Oe{async listMySearches(){let{session:t}=z.getState();return u1(t,oe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var rn=class extends Oe{async listMyBookmarks(){let t=z.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var on=class extends Oe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=z.getState().session;return!!t?.sessionAuthenticated}};var nn=class extends Oe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=z.getState().session;return!!t?.sessionAuthenticated}};var Wd="ft-user-assets",Fd={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(ze).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;Pa(e,o,[...Ma(e,o),a]),p1(e,o,1,n),h1(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;Pa(e,o,Ma(e,o).map(a=>a.id===n.id?n:a)),h1(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;Pa(e,o,Ma(e,o).filter(i=>i.id!==a)),p1(e,o,-1,n)}},m1={[ze.SEARCHES]:"savedSearches",[ze.BOOKMARKS]:"bookmarks",[ze.BOOKS]:void 0,[ze.COLLECTIONS]:void 0},Ma=(e,t)=>{var o;let n=m1[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},Pa=(e,t,o)=>{let n=m1[t];n&&(e[n]=o)},p1=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===ze.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+o)}},h1=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},Re=an.FtReduxStore.get({name:Wd,reducers:Fd,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(ze).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),za=class{constructor(t=new on,o=new nn){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new rn,this.savedSearchesService=new tn,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=z.getState();(0,an.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Re.actions.clearAssetCount(),Re.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Re.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Re.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Re.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Re.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Re.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Re.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Re.getState().assetCounts.bookmarkByMap).length!==0;t===ze.BOOKMARKS&&o&&Re.actions.clearBookmarkCountByMap(),Re.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 o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Re.actions.bookmarks(o)}}},jd=new za;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=jd);var ka=class{addCommand(t,o=!1){z.commands.add(t,o)}consumeCommand(t){return z.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ka;var ke=A(B());var g1,Rr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Vd=Symbol("clearAfterUnitTest"),sn=class extends(0,ke.withEventBus)(Oe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[g1]=()=>{this.defaultMessages={},this.cache=new ke.CacheRegistry,this.listeners={}},this.currentUiLocale=z.getState().uiLocale,z.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=z.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,ke.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new ke.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof ke.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Rr({loadedContexts:t})),this.dispatchEvent(new Rr({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Rr({loadedContexts:[t]})),this.dispatchEvent(new Rr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ke.delay)(0).then(()=>n()).catch(()=>null)))}};g1=Vd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends sn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends sn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var eo=window.FluidTopicsI18nService,Ia=window.FluidTopicsCustomI18nService;var y1=A(B()),Da=class{highlightHtml(t,o,n){(0,y1.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Da;var b1=A(B());var Ua=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=z.getState().metadataConfiguration)===null||o===void 0?void 0:o.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,o){var n,a,i;if(t==null)return"";try{return b1.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:z.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new Ua;var x1=A(B());var to=class{static get(t,o){var n,a;let i=z.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 x1.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,o??`${s}-${l}`)}};var Ba=class{urlToSearchRequest(t){return to.get().parse(t)}searchRequestToUrl(t){return to.get().serialize(t)}};window.FluidTopicsUrlService=new Ba;var Ot=A(B());var Yt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Yt.eventName="change";var Ha=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},v1=new Ha;var cn=class e extends Ot.WithEventBus{static build(){return new e(window.history,v1,()=>window.location,!1)}constructor(t,o,n,a){var i,s;super(),this.history=t,this.historyStorage=o,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,o=!1){let n=o&&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,Ot.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Yt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,s,l])=>{let f=o(),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 o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Yt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Yt.eventName,t)}currentItem(){return(0,Ot.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,Ot.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,Ot.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 o;let n=(o=this.states[t])===null||o===void 0?void 0:o.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,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??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=cn.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 S1=A(j());var C1=S1.css`
|
|
535
|
+
`;var L1=A(j()),ge=A(ae()),We=A(B());function E1(e,t){let{authenticationRequired:o,session:n}=z.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var se=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},V=class extends We.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=()=>Zt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new We.CacheRegistry,this.cleanSessionDebouncer=new We.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return L1.html`
|
|
536
536
|
<slot></slot>
|
|
537
|
-
`}connectedCallback(){super.connectedCallback(),z.addEventListener(Kt.eventName,this.reloadConfiguration)}disconnectedCallback(){z.addEventListener(Kt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,i,s,l,f;super.update(t),t.has("baseUrl")&&(z.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&z.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&z.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&z.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&z.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&z.actions.noCustom(this.noCustom),t.has("editorMode")&&z.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&z.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&z.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>eo.addContext(u)),t.has("openExternalDocumentInNewTab")&&z.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&z.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&z.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(z.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),z.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),z.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&z.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&z.actions.availableContentLocales((f=(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",()=>E1(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};V.elementDefinitions={};V.styles=C1;
|
|
537
|
+
`}connectedCallback(){super.connectedCallback(),z.addEventListener(Kt.eventName,this.reloadConfiguration)}disconnectedCallback(){z.addEventListener(Kt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,i,s,l,f;super.update(t),t.has("baseUrl")&&(z.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&z.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&z.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&z.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&z.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&z.actions.noCustom(this.noCustom),t.has("editorMode")&&z.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&z.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&z.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>eo.addContext(u)),t.has("openExternalDocumentInNewTab")&&z.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&z.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&z.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(z.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),z.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),z.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&z.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&z.actions.availableContentLocales((f=(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",()=>E1(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};V.elementDefinitions={};V.styles=C1;se([(0,ge.property)()],V.prototype,"baseUrl",void 0);se([(0,ge.property)()],V.prototype,"apiIntegrationIdentifier",void 0);se([(0,ge.property)()],V.prototype,"apiIntegrationAppVersion",void 0);se([(0,ge.property)()],V.prototype,"uiLocale",void 0);se([(0,We.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);se([(0,We.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);se([(0,ge.property)({type:Boolean})],V.prototype,"editorMode",void 0);se([(0,ge.property)({type:Boolean})],V.prototype,"noCustom",void 0);se([(0,ge.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);se([(0,ge.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],V.prototype,"noCustomComponent",void 0);se([(0,ge.property)({type:Boolean})],V.prototype,"withManualResources",void 0);se([(0,ge.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);se([(0,ge.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);se([(0,ge.property)({type:Object})],V.prototype,"apiProvider",void 0);se([(0,ge.property)({type:Boolean})],V.prototype,"authenticationRequired",void 0);se([(0,We.jsonProperty)([])],V.prototype,"messageContexts",void 0);se([(0,We.jsonProperty)(void 0)],V.prototype,"session",void 0);se([(0,ge.state)()],V.prototype,"localesConfiguration",void 0);se([(0,ge.state)()],V.prototype,"availableContentLocales",void 0);var A1=A(B());(0,A1.customElement)("ft-app-context")(V);var O1=A(ae());var Ga=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[o,n]=t.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},wr=new Ga;var Kd=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},oo=Symbol("i18nAttributes"),R1=Symbol("i18nListAttributes"),w1=Symbol("i18nProperties"),ln=Symbol("i18nContexts"),ro=Symbol("i18nUnsubs"),_1=(0,_r.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Ia:eo}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(wr.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[oo])===null||s===void 0||s.forEach((m,g)=>f[g]=u(m,g,f[g])),(l=this[R1])===null||l===void 0||l.forEach((m,g)=>{var y;return f[g]=(y=f[g])===null||y===void 0?void 0:y.map(v=>u(m,g,v))})}updateI18nProperties(i){var s;(s=this[w1])===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[ln].set(f,{isCustomContext:l}),this[ro].has(f)||this[ro].set(f,this.getI18nService(l).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(l).prepareContext(f,s)}hasI18nContext(i){return this[ln].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ln].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[ro].forEach(i=>i()),this[ro].clear()}}return t=ln,o=ro,Kd([(0,O1.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),dn=class extends _1(_r.FtLitElement){},fn=class extends _1(_r.FtLitElementRedux){};var N1=A(B());var $a=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?wr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},Zd=new $a;var T1=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:N1.hasChanged,converter:wr,...t}),o[oo]=(a=o[oo])!==null&&a!==void 0?a:new Map,o[oo].set(n,e??{})};var M1=A(j());var P1=M1.css`
|
|
538
538
|
`;var un=A(j()),pn=A(ae()),hn=A(B());var no=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Fe=class extends fn{constructor(){super(),this.editorMode=!1,this.addStore(z)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":un.nothing:un.html`
|
|
539
539
|
<span class="ft-i18n">
|
|
540
540
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
541
541
|
</span>
|
|
542
|
-
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Fe.elementDefinitions={};Fe.styles=P1;no([(0,hn.redux)()],Fe.prototype,"editorMode",void 0);no([(0,pn.property)()],Fe.prototype,"context",void 0);no([(0,pn.property)()],Fe.prototype,"key",void 0);no([(0,hn.jsonProperty)([])],Fe.prototype,"args",void 0);no([(0,pn.property)()],Fe.prototype,"defaultMessage",void 0);var z1=A(B());(0,z1.customElement)("ft-i18n")(Fe);var je=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},
|
|
542
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Fe.elementDefinitions={};Fe.styles=P1;no([(0,hn.redux)()],Fe.prototype,"editorMode",void 0);no([(0,pn.property)()],Fe.prototype,"context",void 0);no([(0,pn.property)()],Fe.prototype,"key",void 0);no([(0,hn.jsonProperty)([])],Fe.prototype,"args",void 0);no([(0,pn.property)()],Fe.prototype,"defaultMessage",void 0);var z1=A(B());(0,z1.customElement)("ft-i18n")(Fe);var je=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ce=class extends dn{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ie.Debouncer,this.revealDebouncer=new Ie.Debouncer,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)||this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,o;return k1.html`
|
|
543
543
|
<div part="container"
|
|
544
544
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
545
545
|
<slot part="slot"></slot>
|
|
@@ -554,7 +554,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
554
554
|
</div>
|
|
555
555
|
</div>
|
|
556
556
|
</div>
|
|
557
|
-
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var o,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(o=this.tooltip)===null||o===void 0||o.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&kc(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${o}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Ie.designSystemVariables.transitionDuration}, left ${Ie.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Ie.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};se.elementDefinitions={"ft-typography":Be};se.styles=ic;je([T1()],se.prototype,"text",void 0);je([(0,De.property)({type:Boolean})],se.prototype,"manual",void 0);je([(0,De.property)({type:Boolean})],se.prototype,"inline",void 0);je([(0,Ie.numberProperty)()],se.prototype,"delay",void 0);je([(0,De.property)()],se.prototype,"position",void 0);je([(0,Ie.jsonProperty)([])],se.prototype,"ignoreMatchingElements",void 0);je([(0,De.queryAssignedNodes)()],se.prototype,"slotNodes",void 0);je([(0,De.query)(".ft-tooltip--container")],se.prototype,"container",void 0);je([(0,De.query)(".ft-tooltip")],se.prototype,"tooltip",void 0);je([(0,De.query)(".ft-tooltip--content")],se.prototype,"tooltipContent",void 0);je([(0,De.state)()],se.prototype,"visible",void 0);var I1=A(B());(0,I1.customElement)("ft-tooltip")(se);var et;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(et||(et={}));var ao=A(j()),Rt=A(ae()),U1=A(B()),B1=A(Wa());var qt;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CLOUD_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID="",e.FILE_CODE="",e.BOX_CODE="",e.TOPICS_SOLID="",e.PHOTO_FILM_REGULAR="",e.HYPHEN_SOLID="",e.CROSSHAIRS_REGULAR="",e.PERSON_CHALKBOARD_REGULAR=""})(qt||(qt={}));var w;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(w||(w={}));var FS=new Map([...["abw"].map(e=>[e,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var jS={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var io=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},we=class extends U1.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ao.nothing}render(){let t=this.variant&&Object.values(et).includes(this.variant)?this.variant:et.fluid_topics,o=t!==et.material||!!this.value;return ao.html`
|
|
557
|
+
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var o,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(o=this.tooltip)===null||o===void 0||o.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&kc(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${o}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Ie.designSystemVariables.transitionDuration}, left ${Ie.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Ie.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};ce.elementDefinitions={"ft-typography":Be};ce.styles=ic;je([T1()],ce.prototype,"text",void 0);je([(0,De.property)({type:Boolean})],ce.prototype,"manual",void 0);je([(0,De.property)({type:Boolean})],ce.prototype,"inline",void 0);je([(0,Ie.numberProperty)()],ce.prototype,"delay",void 0);je([(0,De.property)()],ce.prototype,"position",void 0);je([(0,Ie.jsonProperty)([])],ce.prototype,"ignoreMatchingElements",void 0);je([(0,De.queryAssignedNodes)()],ce.prototype,"slotNodes",void 0);je([(0,De.query)(".ft-tooltip--container")],ce.prototype,"container",void 0);je([(0,De.query)(".ft-tooltip")],ce.prototype,"tooltip",void 0);je([(0,De.query)(".ft-tooltip--content")],ce.prototype,"tooltipContent",void 0);je([(0,De.state)()],ce.prototype,"visible",void 0);var I1=A(B());(0,I1.customElement)("ft-tooltip")(ce);var et;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(et||(et={}));var ao=A(j()),Rt=A(ae()),U1=A(B()),B1=A(Wa());var qt;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CLOUD_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID="",e.FILE_CODE="",e.BOX_CODE="",e.TOPICS_SOLID="",e.PHOTO_FILM_REGULAR="",e.HYPHEN_SOLID="",e.CROSSHAIRS_REGULAR="",e.PERSON_CHALKBOARD_REGULAR=""})(qt||(qt={}));var w;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(w||(w={}));var FS=new Map([...["abw"].map(e=>[e,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var jS={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var io=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},we=class extends U1.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ao.nothing}render(){let t=this.variant&&Object.values(et).includes(this.variant)?this.variant:et.fluid_topics,o=t!==et.material||!!this.value;return ao.html`
|
|
558
558
|
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
559
559
|
${(0,B1.unsafeHTML)(this.resolvedIcon)}
|
|
560
560
|
<slot ?hidden=${o}></slot>
|
|
@@ -1129,7 +1129,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1129
1129
|
.svg-inline--fa mask .fa-secondary {
|
|
1130
1130
|
fill: black;
|
|
1131
1131
|
}`;function U0(){let e=T0,t=M0,o=P.cssPrefix,n=P.replacementClass,a=U8;if(o!==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(o,"-")).replace(s,"--".concat(o,"-")).replace(l,".".concat(n))}return a}var n0=!1;function ai(){P.autoAddCss&&!n0&&(P8(U0()),n0=!0)}var B8={mixout(){return{dom:{css:U0,insertCss:ai}}},hooks(){return{beforeDOMElementCreation(){ai()},beforeI2svg(){ai()}}}},dt=_t||{};dt[lt]||(dt[lt]={});dt[lt].styles||(dt[lt].styles={});dt[lt].hooks||(dt[lt].hooks={});dt[lt].shims||(dt[lt].shims=[]);var rt=dt[lt],B0=[],H0=function(){K.removeEventListener("DOMContentLoaded",H0),Sn=1,B0.map(e=>e())},Sn=!1;ft&&(Sn=(K.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(K.readyState),Sn||K.addEventListener("DOMContentLoaded",H0));function H8(e){ft&&(Sn?setTimeout(e,0):B0.push(e))}function yo(e){let{tag:t,attributes:o={},children:n=[]}=e;return typeof e=="string"?D0(e):"<".concat(t," ").concat(k8(o),">").concat(n.map(yo).join(""),"</").concat(t,">")}function a0(e,t,o){if(e&&e[t]&&e[t][o])return{prefix:t,iconName:o,icon:e[t][o]}}var G8=function(t,o){return function(n,a,i,s){return t.call(o,n,a,i,s)}},ii=function(t,o,n,a){var i=Object.keys(t),s=i.length,l=a!==void 0?G8(o,a):o,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 $8(e){let t=[],o=0,n=e.length;for(;o<n;){let a=e.charCodeAt(o++);if(a>=55296&&a<=56319&&o<n){let i=e.charCodeAt(o++);(i&64512)==56320?t.push(((a&1023)<<10)+(i&1023)+65536):(t.push(a),o--)}else t.push(a)}return t}function gi(e){let t=$8(e);return t.length===1?t[0].toString(16):null}function W8(e,t){let o=e.length,n=e.charCodeAt(t),a;return n>=55296&&n<=56319&&o>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(n-55296)*1024+a-56320+65536:n}function i0(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return!!n.icon?t[n.iconName]=n.icon:t[o]=n,t},{})}function yi(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{skipHooks:n=!1}=o,a=i0(t);typeof rt.hooks.addPack=="function"&&!n?rt.hooks.addPack(e,i0(t)):rt.styles[e]=L(L({},rt.styles[e]||{}),a),e==="fas"&&yi("fa",t)}var{styles:mo,shims:F8}=rt,G0=Object.keys(_i),j8=G0.reduce((e,t)=>(e[t]=Object.keys(_i[t]),e),{}),Mi=null,$0={},W0={},F0={},j0={},V0={};function V8(e){return~_8.indexOf(e)}function K8(e,t){let o=t.split("-"),n=o[0],a=o.slice(1).join("-");return n===e&&a!==""&&!V8(a)?a:null}var K0=()=>{let e=n=>ii(mo,(a,i,s)=>(a[s]=ii(i,n,{}),a),{});$0=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)),W0=e((n,a,i)=>(n[i]=i,a[2]&&a[2].filter(l=>typeof l=="string").forEach(l=>{n[l]=i}),n)),V0=e((n,a,i)=>{let s=a[2];return n[i]=i,s.forEach(l=>{n[l]=i}),n});let t="far"in mo||P.autoFetchSvg,o=ii(F8,(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:{}});F0=o.names,j0=o.unicodes,Mi=An(P.styleDefault,{family:P.familyDefault})};M8(e=>{Mi=An(e.styleDefault,{family:P.familyDefault})});K0();function Pi(e,t){return($0[e]||{})[t]}function Z8(e,t){return(W0[e]||{})[t]}function Xt(e,t){return(V0[e]||{})[t]}function Z0(e){return F0[e]||{prefix:null,iconName:null}}function Y8(e){let t=j0[e],o=Pi("fas",e);return t||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function Nt(){return Mi}var Y0=()=>({prefix:null,iconName:null,rest:[]});function q8(e){let t=xe,o=G0.reduce((n,a)=>(n[a]="".concat(P.cssPrefix,"-").concat(a),n),{});return _0.forEach(n=>{(e.includes(o[n])||e.some(a=>j8[n].includes(a)))&&(t=n)}),t}function An(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{family:o=xe}=t,n=L8[o][e];if(o===En&&!e)return"fad";let a=o0[o][e]||o0[o][n],i=e in rt.styles?e:null;return a||i||null}function X8(e){let t=[],o=null;return e.forEach(n=>{let a=K8(P.cssPrefix,n);a?o=a:n&&t.push(n)}),{iconName:o,rest:t}}function s0(e){return e.sort().filter((t,o,n)=>n.indexOf(t)===o)}function On(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{skipLookups:o=!1}=t,n=null,a=di.concat(u8),i=s0(e.filter(g=>a.includes(g))),s=s0(e.filter(g=>!di.includes(g))),l=i.filter(g=>(n=g,!w0.includes(g))),[f=null]=l,u=q8(i),m=L(L({},X8(s)),{},{prefix:An(f,{family:u})});return L(L(L({},m),th({values:e,family:u,styles:mo,config:P,canonical:m,givenPrefix:n})),Q8(o,n,m))}function Q8(e,t,o){let{prefix:n,iconName:a}=o;if(e||!n||!a)return{prefix:n,iconName:a};let i=t==="fa"?Z0(a):{},s=Xt(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!mo.far&&mo.fas&&!P.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}var J8=_0.filter(e=>e!==xe||e!==En),eh=Object.keys(li).filter(e=>e!==xe).map(e=>Object.keys(li[e])).flat();function th(e){let{values:t,family:o,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,l=o===En,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&&J8.includes(o)&&(Object.keys(i).find(y=>eh.includes(y))||s.autoFetchSvg)){let y=n8.get(o).defaultShortPrefixId;n.prefix=y,n.iconName=Xt(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||a==="fa")&&(n.prefix=Nt()||"fas"),n}var bi=class{constructor(){this.definitions={}}add(){for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];let a=o.reduce(this._pullDefinitions,{});Object.keys(a).forEach(i=>{this.definitions[i]=L(L({},this.definitions[i]||{}),a[i]),yi(i,a[i]);let s=_i[xe][i];s&&yi(s,a[i]),K0()})}reset(){this.definitions={}}_pullDefinitions(t,o){let n=o.prefix&&o.iconName&&o.icon?{0:o}:o;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}},c0=[],Nr={},Tr={},rh=Object.keys(Tr);function oh(e,t){let{mixoutsTo:o}=t;return c0=e,Nr={},Object.keys(Tr).forEach(n=>{rh.indexOf(n)===-1&&delete Tr[n]}),c0.forEach(n=>{let a=n.mixout?n.mixout():{};if(Object.keys(a).forEach(i=>{typeof a[i]=="function"&&(o[i]=a[i]),typeof a[i]=="object"&&Object.keys(a[i]).forEach(s=>{o[i]||(o[i]={}),o[i][s]=a[i][s]})}),n.hooks){let i=n.hooks();Object.keys(i).forEach(s=>{Nr[s]||(Nr[s]=[]),Nr[s].push(i[s])})}n.provides&&n.provides(Tr)}),o}function xi(e,t){for(var o=arguments.length,n=new Array(o>2?o-2:0),a=2;a<o;a++)n[a-2]=arguments[a];return(Nr[e]||[]).forEach(s=>{t=s.apply(null,[t,...n])}),t}function Jt(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];(Nr[e]||[]).forEach(i=>{i.apply(null,o)})}function Tt(){let e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Tr[e]?Tr[e].apply(null,t):void 0}function vi(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e,o=e.prefix||Nt();if(t)return t=Xt(o,t)||t,a0(q0.definitions,o,t)||a0(rt.styles,o,t)}var q0=new bi,nh=()=>{P.autoReplaceSvg=!1,P.observeMutations=!1,Jt("noAuto")},ah={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ft?(Jt("beforeI2svg",e),Tt("pseudoElements2svg",e),Tt("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;P.autoReplaceSvg===!1&&(P.autoReplaceSvg=!0),P.observeMutations=!0,H8(()=>{sh({autoReplaceSvgRoot:t}),Jt("watch",e)})}},ih={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Xt(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],o=An(e[0]);return{prefix:o,iconName:Xt(o,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(P.cssPrefix,"-"))>-1||e.match(A8))){let t=On(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Nt(),iconName:Xt(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){let t=Nt();return{prefix:t,iconName:Xt(t,e)||e}}}},_e={noAuto:nh,config:P,dom:ah,parse:ih,library:q0,findIconDefinition:vi,toHtml:yo},sh=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:t=K}=e;(Object.keys(rt.styles).length>0||P.autoFetchSvg)&&ft&&P.autoReplaceSvg&&_e.dom.i2svg({node:t})};function Rn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(o=>yo(o))}}),Object.defineProperty(e,"node",{get:function(){if(!ft)return;let o=K.createElement("div");return o.innerHTML=e.html,o.children}}),e}function ch(e){let{children:t,main:o,mask:n,attributes:a,styles:i,transform:s}=e;if(Ti(s)&&o.found&&!n.found){let{width:l,height:f}=o,u={x:l/f/2,y:.5};a.style=Ln(L(L({},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 lh(e){let{prefix:t,iconName:o,children:n,attributes:a,symbol:i}=e,s=i===!0?"".concat(t,"-").concat(P.cssPrefix,"-").concat(o):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:L(L({},a),{},{id:s}),children:n}]}]}function zi(e){let{icons:{main:t,mask:o},prefix:n,iconName:a,transform:i,symbol:s,title:l,maskId:f,titleId:u,extra:m,watchable:g=!1}=e,{width:y,height:v}=o.found?o:t,S=l8.includes(n),E=[P.replacementClass,a?"".concat(P.cssPrefix,"-").concat(a):""].filter(G=>m.classes.indexOf(G)===-1).filter(G=>G!==""||!!G).concat(m.classes).join(" "),_={children:[],attributes:L(L({},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(v)})},M=S&&!~m.classes.indexOf("fa-fw")?{width:"".concat(y/v*16*.0625,"em")}:{};g&&(_.attributes[Qt]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||ho())},children:[l]}),delete _.attributes.title);let N=L(L({},_),{},{prefix:n,iconName:a,main:t,mask:o,maskId:f,transform:i,symbol:s,styles:L(L({},M),m.styles)}),{children:k,attributes:I}=o.found&&t.found?Tt("generateAbstractMask",N)||{children:[],attributes:{}}:Tt("generateAbstractIcon",N)||{children:[],attributes:{}};return N.children=k,N.attributes=I,s?lh(N):ch(N)}function l0(e){let{content:t,width:o,height:n,transform:a,title:i,extra:s,watchable:l=!1}=e,f=L(L(L({},s.attributes),i?{title:i}:{}),{},{class:s.classes.join(" ")});l&&(f[Qt]="");let u=L({},s.styles);Ti(a)&&(u.transform=D8({transform:a,startCentered:!0,width:o,height:n}),u["-webkit-transform"]=u.transform);let m=Ln(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 dh(e){let{content:t,title:o,extra:n}=e,a=L(L(L({},n.attributes),o?{title:o}:{}),{},{class:n.classes.join(" ")}),i=Ln(n.styles);i.length>0&&(a.style=i);let s=[];return s.push({tag:"span",attributes:a,children:[t]}),o&&s.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),s}var{styles:si}=rt;function Si(e){let t=e[0],o=e[1],[n]=e.slice(4),a=null;return Array.isArray(n)?a={tag:"g",attributes:{class:"".concat(P.cssPrefix,"-").concat(ni.GROUP)},children:[{tag:"path",attributes:{class:"".concat(P.cssPrefix,"-").concat(ni.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(P.cssPrefix,"-").concat(ni.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:o,icon:a}}var fh={found:!1,width:512,height:512};function uh(e,t){!P0&&!P.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ci(e,t){let o=t;return t==="fa"&&P.styleDefault!==null&&(t=Nt()),new Promise((n,a)=>{if(o==="fa"){let i=Z0(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&si[t]&&si[t][e]){let i=si[t][e];return n(Si(i))}uh(e,t),n(L(L({},fh),{},{icon:P.showMissingIcons&&e?Tt("missingIconAbstract")||{}:{}}))})}var d0=()=>{},Ei=P.measurePerformance&&yn&&yn.mark&&yn.measure?yn:{mark:d0,measure:d0},fo='FA "6.7.2"',ph=e=>(Ei.mark("".concat(fo," ").concat(e," begins")),()=>X0(e)),X0=e=>{Ei.mark("".concat(fo," ").concat(e," ends")),Ei.measure("".concat(fo," ").concat(e),"".concat(fo," ").concat(e," begins"),"".concat(fo," ").concat(e," ends"))},ki={begin:ph,end:X0},xn=()=>{};function f0(e){return typeof(e.getAttribute?e.getAttribute(Qt):null)=="string"}function hh(e){let t=e.getAttribute?e.getAttribute(Ri):null,o=e.getAttribute?e.getAttribute(wi):null;return t&&o}function mh(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(P.replacementClass)}function gh(){return P.autoReplaceSvg===!0?vn.replace:vn[P.autoReplaceSvg]||vn.replace}function yh(e){return K.createElementNS("http://www.w3.org/2000/svg",e)}function bh(e){return K.createElement(e)}function Q0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{ceFn:o=e.tag==="svg"?yh:bh}=t;if(typeof e=="string")return K.createTextNode(e);let n=o(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){n.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){n.appendChild(Q0(i,{ceFn:o}))}),n}function xh(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var vn={replace:function(e){let t=e[0];if(t.parentNode)if(e[1].forEach(o=>{t.parentNode.insertBefore(Q0(o),t)}),t.getAttribute(Qt)===null&&P.keepOriginalSource){let o=K.createComment(xh(t));t.parentNode.replaceChild(o,t)}else t.remove()},nest:function(e){let t=e[0],o=e[1];if(~Ni(t).indexOf(P.replacementClass))return vn.replace(e);let n=new RegExp("".concat(P.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){let i=o[0].attributes.class.split(" ").reduce((s,l)=>(l===P.replacementClass||l.match(n)?s.toSvg.push(l):s.toNode.push(l),s),{toNode:[],toSvg:[]});o[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}let a=o.map(i=>yo(i)).join(`
|
|
1132
|
-
`);t.setAttribute(Qt,""),t.innerHTML=a}};function u0(e){e()}function J0(e,t){let o=typeof t=="function"?t:xn;if(e.length===0)o();else{let n=u0;P.mutateApproach===C8&&(n=_t.requestAnimationFrame||u0),n(()=>{let a=gh(),i=ki.begin("mutate");e.map(a),i(),o()})}}var Ii=!1;function e4(){Ii=!0}function Li(){Ii=!1}var Cn=null;function p0(e){if(!J2||!P.observeMutations)return;let{treeCallback:t=xn,nodeCallback:o=xn,pseudoElementsCallback:n=xn,observeMutationsRoot:a=K}=e;Cn=new J2(i=>{if(Ii)return;let s=Nt();Pr(i).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!f0(l.addedNodes[0])&&(P.searchPseudoElements&&n(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&P.searchPseudoElements&&n(l.target.parentNode),l.type==="attributes"&&f0(l.target)&&~w8.indexOf(l.attributeName))if(l.attributeName==="class"&&hh(l.target)){let{prefix:f,iconName:u}=On(Ni(l.target));l.target.setAttribute(Ri,f||s),u&&l.target.setAttribute(wi,u)}else mh(l.target)&&o(l.target)})}),ft&&Cn.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function vh(){Cn&&Cn.disconnect()}function Sh(e){let t=e.getAttribute("style"),o=[];return t&&(o=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},{})),o}function Ch(e){let t=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=On(Ni(e));return a.prefix||(a.prefix=Nt()),t&&o&&(a.prefix=t,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=Z8(a.prefix,e.innerText)||Pi(a.prefix,gi(e.innerText))),!a.iconName&&P.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Eh(e){let t=Pr(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),o=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return P.autoA11y&&(o?t["aria-labelledby"]="".concat(P.replacementClass,"-title-").concat(n||ho()):(t["aria-hidden"]="true",t.focusable="false")),t}function Lh(){return{iconName:null,title:null,titleId:null,prefix:null,transform:tt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function h0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:o,prefix:n,rest:a}=Ch(e),i=Eh(e),s=xi("parseNodeAttributes",{},e),l=t.styleParser?Sh(e):[];return L({iconName:o,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:tt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:i}},s)}var{styles:Ah}=rt;function t4(e){let t=P.autoReplaceSvg==="nest"?h0(e,{styleParser:!1}):h0(e);return~t.extra.classes.indexOf(k0)?Tt("generateLayersText",e,t):Tt("generateSvgReplacementMutation",e,t)}function Oh(){return[...i8,...di]}function m0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ft)return Promise.resolve();let o=K.documentElement.classList,n=m=>o.add("".concat(r0,"-").concat(m)),a=m=>o.remove("".concat(r0,"-").concat(m)),i=P.autoFetchSvg?Oh():w0.concat(Object.keys(Ah));i.includes("fa")||i.push("fa");let s=[".".concat(k0,":not([").concat(Qt,"])")].concat(i.map(m=>".".concat(m,":not([").concat(Qt,"])"))).join(", ");if(s.length===0)return Promise.resolve();let l=[];try{l=Pr(e.querySelectorAll(s))}catch{}if(l.length>0)n("pending"),a("complete");else return Promise.resolve();let f=ki.begin("onTree"),u=l.reduce((m,g)=>{try{let y=t4(g);y&&m.push(y)}catch(y){P0||y.name==="MissingIcon"&&console.error(y)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(y=>{J0(y,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(y=>{f(),g(y)})})}function Rh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;t4(e).then(o=>{o&&J0([o],t)})}function wh(e){return function(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:vi(t||{}),{mask:a}=o;return a&&(a=(a||{}).icon?a:vi(a||{})),e(n,L(L({},o),{},{mask:a}))}}var _h=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:o=tt,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:v}=e;return Rn(L({type:"icon"},e),()=>(Jt("beforeDOMElementCreation",{iconDefinition:e,params:t}),P.autoA11y&&(s?u["aria-labelledby"]="".concat(P.replacementClass,"-title-").concat(l||ho()):(u["aria-hidden"]="true",u.focusable="false")),zi({icons:{main:Si(v),mask:a?Si(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:y,transform:L(L({},tt),o),symbol:n,title:s,maskId:i,titleId:l,extra:{attributes:u,styles:m,classes:f}})))},Nh={mixout(){return{icon:wh(_h)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=m0,e.nodeCallback=Rh,e}}},provides(e){e.i2svg=function(t){let{node:o=K,callback:n=()=>{}}=t;return m0(o,n)},e.generateSvgReplacementMutation=function(t,o){let{iconName:n,title:a,titleId:i,prefix:s,transform:l,symbol:f,mask:u,maskId:m,extra:g}=o;return new Promise((y,v)=>{Promise.all([Ci(n,s),u.iconName?Ci(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(S=>{let[E,_]=S;y([t,zi({icons:{main:E,mask:_},prefix:s,iconName:n,transform:l,symbol:f,maskId:m,title:a,titleId:i,extra:g,watchable:!0})])}).catch(v)})},e.generateAbstractIcon=function(t){let{children:o,attributes:n,main:a,transform:i,styles:s}=t,l=Ln(s);l.length>0&&(n.style=l);let f;return Ti(i)&&(f=Tt("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),o.push(f||a.icon),{children:o,attributes:n}}}},Th={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:o=[]}=t;return Rn({type:"layer"},()=>{Jt("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(P.cssPrefix,"-layers"),...o].join(" ")},children:n}]})}}}},Mh={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:o=null,classes:n=[],attributes:a={},styles:i={}}=t;return Rn({type:"counter",content:e},()=>(Jt("beforeDOMElementCreation",{content:e,params:t}),dh({content:e.toString(),title:o,extra:{attributes:a,styles:i,classes:["".concat(P.cssPrefix,"-layers-counter"),...n]}})))}}}},Ph={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:o=tt,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return Rn({type:"text",content:e},()=>(Jt("beforeDOMElementCreation",{content:e,params:t}),l0({content:e,transform:L(L({},tt),o),title:n,extra:{attributes:i,styles:s,classes:["".concat(P.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,o){let{title:n,transform:a,extra:i}=o,s=null,l=null;if(O0){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,l=u.height/f}return P.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,l0({content:t.innerHTML,width:s,height:l,transform:a,title:n,extra:i,watchable:!0})])}}},zh=new RegExp('"',"ug"),g0=[1105920,1112319],y0=L(L(L(L({},{FontAwesome:{normal:"fas",400:"fas"}}),o8),v8),p8),Ai=Object.keys(y0).reduce((e,t)=>(e[t.toLowerCase()]=y0[t],e),{}),kh=Object.keys(Ai).reduce((e,t)=>{let o=Ai[t];return e[t]=o[900]||[...Object.entries(o)][0][1],e},{});function Ih(e){let t=e.replace(zh,""),o=W8(t,0),n=o>=g0[0]&&o<=g0[1],a=t.length===2?t[0]===t[1]:!1;return{value:gi(a?t[0]:t),isSecondary:n||a}}function Dh(e,t){let o=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(Ai[o]||{})[a]||kh[o]}function b0(e,t){let o="".concat(S8).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(o)!==null)return n();let s=Pr(e.children).filter(y=>y.getAttribute(ui)===t)[0],l=_t.getComputedStyle(e,t),f=l.getPropertyValue("font-family"),u=f.match(O8),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"),v=Dh(f,m),{value:S,isSecondary:E}=Ih(y),_=u[0].startsWith("FontAwesome"),M=Pi(v,S),N=M;if(_){let k=Y8(S);k.iconName&&k.prefix&&(M=k.iconName,v=k.prefix)}if(M&&!E&&(!s||s.getAttribute(Ri)!==v||s.getAttribute(wi)!==N)){e.setAttribute(o,N),s&&e.removeChild(s);let k=Lh(),{extra:I}=k;I.attributes[ui]=t,Ci(M,v).then(G=>{let Z=zi(L(L({},k),{},{icons:{main:G,mask:Y0()},prefix:v,iconName:N,extra:I,watchable:!0})),Se=K.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Se,e.firstChild):e.appendChild(Se),Se.outerHTML=Z.map(
|
|
1132
|
+
`);t.setAttribute(Qt,""),t.innerHTML=a}};function u0(e){e()}function J0(e,t){let o=typeof t=="function"?t:xn;if(e.length===0)o();else{let n=u0;P.mutateApproach===C8&&(n=_t.requestAnimationFrame||u0),n(()=>{let a=gh(),i=ki.begin("mutate");e.map(a),i(),o()})}}var Ii=!1;function e4(){Ii=!0}function Li(){Ii=!1}var Cn=null;function p0(e){if(!J2||!P.observeMutations)return;let{treeCallback:t=xn,nodeCallback:o=xn,pseudoElementsCallback:n=xn,observeMutationsRoot:a=K}=e;Cn=new J2(i=>{if(Ii)return;let s=Nt();Pr(i).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!f0(l.addedNodes[0])&&(P.searchPseudoElements&&n(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&P.searchPseudoElements&&n(l.target.parentNode),l.type==="attributes"&&f0(l.target)&&~w8.indexOf(l.attributeName))if(l.attributeName==="class"&&hh(l.target)){let{prefix:f,iconName:u}=On(Ni(l.target));l.target.setAttribute(Ri,f||s),u&&l.target.setAttribute(wi,u)}else mh(l.target)&&o(l.target)})}),ft&&Cn.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function vh(){Cn&&Cn.disconnect()}function Sh(e){let t=e.getAttribute("style"),o=[];return t&&(o=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},{})),o}function Ch(e){let t=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=On(Ni(e));return a.prefix||(a.prefix=Nt()),t&&o&&(a.prefix=t,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=Z8(a.prefix,e.innerText)||Pi(a.prefix,gi(e.innerText))),!a.iconName&&P.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Eh(e){let t=Pr(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),o=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return P.autoA11y&&(o?t["aria-labelledby"]="".concat(P.replacementClass,"-title-").concat(n||ho()):(t["aria-hidden"]="true",t.focusable="false")),t}function Lh(){return{iconName:null,title:null,titleId:null,prefix:null,transform:tt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function h0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:o,prefix:n,rest:a}=Ch(e),i=Eh(e),s=xi("parseNodeAttributes",{},e),l=t.styleParser?Sh(e):[];return L({iconName:o,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:tt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:i}},s)}var{styles:Ah}=rt;function t4(e){let t=P.autoReplaceSvg==="nest"?h0(e,{styleParser:!1}):h0(e);return~t.extra.classes.indexOf(k0)?Tt("generateLayersText",e,t):Tt("generateSvgReplacementMutation",e,t)}function Oh(){return[...i8,...di]}function m0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ft)return Promise.resolve();let o=K.documentElement.classList,n=m=>o.add("".concat(r0,"-").concat(m)),a=m=>o.remove("".concat(r0,"-").concat(m)),i=P.autoFetchSvg?Oh():w0.concat(Object.keys(Ah));i.includes("fa")||i.push("fa");let s=[".".concat(k0,":not([").concat(Qt,"])")].concat(i.map(m=>".".concat(m,":not([").concat(Qt,"])"))).join(", ");if(s.length===0)return Promise.resolve();let l=[];try{l=Pr(e.querySelectorAll(s))}catch{}if(l.length>0)n("pending"),a("complete");else return Promise.resolve();let f=ki.begin("onTree"),u=l.reduce((m,g)=>{try{let y=t4(g);y&&m.push(y)}catch(y){P0||y.name==="MissingIcon"&&console.error(y)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(y=>{J0(y,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(y=>{f(),g(y)})})}function Rh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;t4(e).then(o=>{o&&J0([o],t)})}function wh(e){return function(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:vi(t||{}),{mask:a}=o;return a&&(a=(a||{}).icon?a:vi(a||{})),e(n,L(L({},o),{},{mask:a}))}}var _h=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:o=tt,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:v}=e;return Rn(L({type:"icon"},e),()=>(Jt("beforeDOMElementCreation",{iconDefinition:e,params:t}),P.autoA11y&&(s?u["aria-labelledby"]="".concat(P.replacementClass,"-title-").concat(l||ho()):(u["aria-hidden"]="true",u.focusable="false")),zi({icons:{main:Si(v),mask:a?Si(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:y,transform:L(L({},tt),o),symbol:n,title:s,maskId:i,titleId:l,extra:{attributes:u,styles:m,classes:f}})))},Nh={mixout(){return{icon:wh(_h)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=m0,e.nodeCallback=Rh,e}}},provides(e){e.i2svg=function(t){let{node:o=K,callback:n=()=>{}}=t;return m0(o,n)},e.generateSvgReplacementMutation=function(t,o){let{iconName:n,title:a,titleId:i,prefix:s,transform:l,symbol:f,mask:u,maskId:m,extra:g}=o;return new Promise((y,v)=>{Promise.all([Ci(n,s),u.iconName?Ci(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(S=>{let[E,_]=S;y([t,zi({icons:{main:E,mask:_},prefix:s,iconName:n,transform:l,symbol:f,maskId:m,title:a,titleId:i,extra:g,watchable:!0})])}).catch(v)})},e.generateAbstractIcon=function(t){let{children:o,attributes:n,main:a,transform:i,styles:s}=t,l=Ln(s);l.length>0&&(n.style=l);let f;return Ti(i)&&(f=Tt("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),o.push(f||a.icon),{children:o,attributes:n}}}},Th={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:o=[]}=t;return Rn({type:"layer"},()=>{Jt("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(P.cssPrefix,"-layers"),...o].join(" ")},children:n}]})}}}},Mh={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:o=null,classes:n=[],attributes:a={},styles:i={}}=t;return Rn({type:"counter",content:e},()=>(Jt("beforeDOMElementCreation",{content:e,params:t}),dh({content:e.toString(),title:o,extra:{attributes:a,styles:i,classes:["".concat(P.cssPrefix,"-layers-counter"),...n]}})))}}}},Ph={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:o=tt,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return Rn({type:"text",content:e},()=>(Jt("beforeDOMElementCreation",{content:e,params:t}),l0({content:e,transform:L(L({},tt),o),title:n,extra:{attributes:i,styles:s,classes:["".concat(P.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,o){let{title:n,transform:a,extra:i}=o,s=null,l=null;if(O0){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,l=u.height/f}return P.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,l0({content:t.innerHTML,width:s,height:l,transform:a,title:n,extra:i,watchable:!0})])}}},zh=new RegExp('"',"ug"),g0=[1105920,1112319],y0=L(L(L(L({},{FontAwesome:{normal:"fas",400:"fas"}}),o8),v8),p8),Ai=Object.keys(y0).reduce((e,t)=>(e[t.toLowerCase()]=y0[t],e),{}),kh=Object.keys(Ai).reduce((e,t)=>{let o=Ai[t];return e[t]=o[900]||[...Object.entries(o)][0][1],e},{});function Ih(e){let t=e.replace(zh,""),o=W8(t,0),n=o>=g0[0]&&o<=g0[1],a=t.length===2?t[0]===t[1]:!1;return{value:gi(a?t[0]:t),isSecondary:n||a}}function Dh(e,t){let o=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(Ai[o]||{})[a]||kh[o]}function b0(e,t){let o="".concat(S8).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(o)!==null)return n();let s=Pr(e.children).filter(y=>y.getAttribute(ui)===t)[0],l=_t.getComputedStyle(e,t),f=l.getPropertyValue("font-family"),u=f.match(O8),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"),v=Dh(f,m),{value:S,isSecondary:E}=Ih(y),_=u[0].startsWith("FontAwesome"),M=Pi(v,S),N=M;if(_){let k=Y8(S);k.iconName&&k.prefix&&(M=k.iconName,v=k.prefix)}if(M&&!E&&(!s||s.getAttribute(Ri)!==v||s.getAttribute(wi)!==N)){e.setAttribute(o,N),s&&e.removeChild(s);let k=Lh(),{extra:I}=k;I.attributes[ui]=t,Ci(M,v).then(G=>{let Z=zi(L(L({},k),{},{icons:{main:G,mask:Y0()},prefix:v,iconName:N,extra:I,watchable:!0})),Se=K.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Se,e.firstChild):e.appendChild(Se),Se.outerHTML=Z.map(ue=>yo(ue)).join(`
|
|
1133
1133
|
`),e.removeAttribute(o),n()}).catch(a)}else n()}else n()})}function Uh(e){return Promise.all([b0(e,"::before"),b0(e,"::after")])}function Bh(e){return e.parentNode!==document.head&&!~E8.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(ui)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function x0(e){if(ft)return new Promise((t,o)=>{let n=Pr(e.querySelectorAll("*")).filter(Bh).map(Uh),a=ki.begin("searchPseudoElements");e4(),Promise.all(n).then(()=>{a(),Li(),t()}).catch(()=>{a(),Li(),o()})})}var Hh={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=x0,e}}},provides(e){e.pseudoElements2svg=function(t){let{node:o=K}=t;P.searchPseudoElements&&x0(o)}}},v0=!1,Gh={mixout(){return{dom:{unwatch(){e4(),v0=!0}}}},hooks(){return{bootstrap(){p0(xi("mutationObserverCallbacks",{}))},noAuto(){vh()},watch(e){let{observeMutationsRoot:t}=e;v0?Li():p0(xi("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},S0=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((o,n)=>{let a=n.toLowerCase().split("-"),i=a[0],s=a.slice(1).join("-");if(i&&s==="h")return o.flipX=!0,o;if(i&&s==="v")return o.flipY=!0,o;if(s=parseFloat(s),isNaN(s))return o;switch(i){case"grow":o.size=o.size+s;break;case"shrink":o.size=o.size-s;break;case"left":o.x=o.x-s;break;case"right":o.x=o.x+s;break;case"up":o.y=o.y-s;break;case"down":o.y=o.y+s;break;case"rotate":o.rotate=o.rotate+s;break}return o},t)},$h={mixout(){return{parse:{transform:e=>S0(e)}}},hooks(){return{parseNodeAttributes(e,t){let o=t.getAttribute("data-fa-transform");return o&&(e.transform=S0(o)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:o,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:L({},y.outer),children:[{tag:"g",attributes:L({},y.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:L(L({},o.icon.attributes),y.path)}]}]}}}},ci={x:0,y:0,width:"100%",height:"100%"};function C0(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 Wh(e){return e.tag==="g"?e.children:[e]}var Fh={hooks(){return{parseNodeAttributes(e,t){let o=t.getAttribute("data-fa-mask"),n=o?On(o.split(" ").map(a=>a.trim())):Y0();return n.prefix||(n.prefix=Nt()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:o,attributes:n,main:a,mask:i,maskId:s,transform:l}=t,{width:f,icon:u}=a,{width:m,icon:g}=i,y=I8({transform:l,containerWidth:m,iconWidth:f}),v={tag:"rect",attributes:L(L({},ci),{},{fill:"white"})},S=u.children?{children:u.children.map(C0)}:{},E={tag:"g",attributes:L({},y.inner),children:[C0(L({tag:u.tag,attributes:L(L({},u.attributes),y.path)},S))]},_={tag:"g",attributes:L({},y.outer),children:[E]},M="mask-".concat(s||ho()),N="clip-".concat(s||ho()),k={tag:"mask",attributes:L(L({},ci),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,_]},I={tag:"defs",children:[{tag:"clipPath",attributes:{id:N},children:Wh(g)},k]};return o.push(I,{tag:"rect",attributes:L({fill:"currentColor","clip-path":"url(#".concat(N,")"),mask:"url(#".concat(M,")")},ci)}),{children:o,attributes:n}}}},jh={provides(e){let t=!1;_t.matchMedia&&(t=_t.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){let o=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:L(L({},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=L(L({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:L(L({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:L(L({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:L(L({},i),{},{values:"1;0;1;1;0;1;"})}),o.push(s),o.push({tag:"path",attributes:L(L({},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:L(L({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||o.push({tag:"path",attributes:L(L({},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:L(L({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},Vh={hooks(){return{parseNodeAttributes(e,t){let o=t.getAttribute("data-fa-symbol"),n=o===null?!1:o===""?!0:o;return e.symbol=n,e}}}},Kh=[B8,Nh,Th,Mh,Ph,Hh,Gh,$h,Fh,jh,Vh];oh(Kh,{mixoutsTo:_e});var oC=_e.noAuto,nC=_e.config,r4=_e.library,aC=_e.dom,iC=_e.parse,sC=_e.findIconDefinition,cC=_e.toHtml,o4=_e.icon,lC=_e.layer,dC=_e.text,fC=_e.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 hC={[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]},n4={[p.regular]:"far",[p.solid]:"fas",[p.custom]:"fak"};var wn=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ot=class extends i4.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return a4.html`
|
|
1134
1134
|
<div class="${(0,c4.classMap)(t)}">${(0,s4.unsafeHTML)(this.buildIcon())}</div>
|
|
1135
1135
|
`}buildIcon(){let t=this.variant?n4[this.variant]:void 0,o=ri.find(n=>n.iconName===this.icon&&(t?n.prefix===t:!0));return o?(r4.add(o),o4(o).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};ot.elementDefinitions={};ot.styles=$1;wn([(0,bo.property)()],ot.prototype,"variant",void 0);wn([(0,bo.property)()],ot.prototype,"icon",void 0);wn([(0,bo.property)({type:Boolean})],ot.prototype,"monospace",void 0);wn([(0,bo.property)({reflect:!0,attribute:"aria-hidden"})],ot.prototype,"ariaHidden",void 0);var Di=A(B());(0,Di.customElement)("ft-icon")(we);(0,Di.customElement)("ftds-icon")(ot);var l4=A(j()),d4=A(B());var er=class extends d4.FtLitElement{render(){return l4.html`
|
|
@@ -1139,7 +1139,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1139
1139
|
<div></div>
|
|
1140
1140
|
<div></div>
|
|
1141
1141
|
</div>
|
|
1142
|
-
`}};er.styles=Zs;var f4=A(B());(0,f4.customElement)("ft-loader")(er);var Mt=A(j()),Ui=A(Gr()),ee=A(ae());var
|
|
1142
|
+
`}};er.styles=Zs;var f4=A(B());(0,f4.customElement)("ft-loader")(er);var Mt=A(j()),Ui=A(Gr()),ee=A(ae());var le=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},W=class extends(0,Pt.toFtFormComponent)(Pt.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 o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=Mt.html`
|
|
1143
1143
|
<ft-ripple part="ripple"
|
|
1144
1144
|
?disabled=${this.isDisabled()}
|
|
1145
1145
|
?activated=${this.activated}
|
|
@@ -1181,7 +1181,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1181
1181
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
1182
1182
|
`:Mt.html`
|
|
1183
1183
|
<slot part="icon" name="icon"></slot>
|
|
1184
|
-
`}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,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}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,Pt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};W.elementDefinitions={"ft-ripple":J,"ft-tooltip":
|
|
1184
|
+
`}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,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}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,Pt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};W.elementDefinitions={"ft-ripple":J,"ft-tooltip":ce,"ft-icon":we,"ft-loader":er};le([(0,ee.property)()],W.prototype,"href",void 0);le([(0,ee.property)()],W.prototype,"target",void 0);le([(0,ee.property)()],W.prototype,"type",void 0);le([(0,ee.property)({type:Boolean})],W.prototype,"disabled",void 0);le([(0,ee.property)()],W.prototype,"label",void 0);le([(0,ee.property)()],W.prototype,"icon",void 0);le([(0,ee.property)()],W.prototype,"iconVariant",void 0);le([(0,ee.property)({type:Boolean})],W.prototype,"trailingIcon",void 0);le([(0,ee.property)({type:Boolean})],W.prototype,"loading",void 0);le([(0,ee.property)({attribute:"aria-label"})],W.prototype,"ariaLabel",void 0);le([(0,ee.property)()],W.prototype,"ariaHasPopup",void 0);le([(0,ee.property)({attribute:"aria-pressed"})],W.prototype,"ariaPressed",void 0);le([(0,ee.property)()],W.prototype,"tooltipPosition",void 0);le([(0,ee.property)({type:Boolean})],W.prototype,"hideTooltip",void 0);le([(0,ee.property)({type:Boolean})],W.prototype,"forceTooltip",void 0);le([(0,ee.property)({type:Boolean})],W.prototype,"activated",void 0);le([(0,ee.query)(".ft-button")],W.prototype,"button",void 0);le([(0,ee.query)(".ft-button--label slot")],W.prototype,"slottedContent",void 0);le([(0,ee.query)("[part=tooltip]")],W.prototype,"tooltip",void 0);var _n=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},nt=class extends W{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 ht.button}};nt.elementDefinitions={...W.elementDefinitions,"ft-or-ftds-typography":Be};nt.styles=[u4.safariEllipsisFix,ec];_n([(0,xo.property)({type:Boolean})],nt.prototype,"primary",void 0);_n([(0,xo.property)({type:Boolean})],nt.prototype,"outlined",void 0);_n([(0,xo.property)({type:Boolean})],nt.prototype,"dense",void 0);_n([(0,xo.property)({type:Boolean})],nt.prototype,"round",void 0);var vo=A(ae()),Tn=A(B());var p4=A(j()),O=A(B());var Zh={...b,iconOnlyScale:O.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},h4=[p4.css`
|
|
1185
1185
|
:host {
|
|
1186
1186
|
display: inline-block;
|
|
1187
1187
|
max-width: 100%;
|
|
@@ -1691,18 +1691,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1691
1691
|
display: flex;
|
|
1692
1692
|
flex-direction: column;
|
|
1693
1693
|
|
|
1694
|
-
max-width: ${
|
|
1694
|
+
max-width: ${ie.maxWidth};
|
|
1695
1695
|
width: max-content;
|
|
1696
1696
|
|
|
1697
|
-
padding-left: ${
|
|
1698
|
-
padding-right: ${
|
|
1699
|
-
padding-top: ${
|
|
1700
|
-
padding-bottom: ${
|
|
1701
|
-
gap: ${
|
|
1697
|
+
padding-left: ${ie.horizontalPadding};
|
|
1698
|
+
padding-right: ${ie.horizontalPadding};
|
|
1699
|
+
padding-top: ${ie.verticalPadding};
|
|
1700
|
+
padding-bottom: ${ie.verticalPadding};
|
|
1701
|
+
gap: ${ie.gap};
|
|
1702
1702
|
|
|
1703
|
-
background-color: ${
|
|
1704
|
-
border-radius: ${
|
|
1705
|
-
box-shadow: ${
|
|
1703
|
+
background-color: ${ie.backgroundColor};
|
|
1704
|
+
border-radius: ${ie.borderRadius};
|
|
1705
|
+
box-shadow: ${ie.shadow};
|
|
1706
1706
|
|
|
1707
1707
|
&.positioned {
|
|
1708
1708
|
visibility: visible;
|
|
@@ -1714,9 +1714,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1714
1714
|
|
|
1715
1715
|
display: flex;
|
|
1716
1716
|
align-items: center;
|
|
1717
|
-
gap: ${
|
|
1717
|
+
gap: ${ie.gap};
|
|
1718
1718
|
|
|
1719
|
-
color: ${
|
|
1719
|
+
color: ${ie.titleColor};
|
|
1720
1720
|
}
|
|
1721
1721
|
|
|
1722
1722
|
[part="heading"] ftds-typography {
|
|
@@ -1728,19 +1728,19 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
1730
|
[part="content"] {
|
|
1731
|
-
color: ${
|
|
1731
|
+
color: ${ie.bodyColor};
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
1734
|
[part="popover-sections"] {
|
|
1735
1735
|
display: flex;
|
|
1736
1736
|
flex-direction: column;
|
|
1737
|
-
gap: ${
|
|
1737
|
+
gap: ${ie.multiSectionVerticalGap};
|
|
1738
1738
|
}
|
|
1739
1739
|
|
|
1740
1740
|
.hidden {
|
|
1741
1741
|
display: none;
|
|
1742
1742
|
}
|
|
1743
|
-
`;var y4=A(Gr());var
|
|
1743
|
+
`;var y4=A(Gr());var fe=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},X=class extends zr.FtLitElement{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=qt.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Ze.medium,this.openButtonFamily=gt.info,this.watchFocusIn=t=>{this.popoverWrapper&&!t.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=t=>{var o;t.key==="Escape"&&(this.close(),(o=this.openingButton)===null||o===void 0||o.focus())}}render(){let t={opened:this.opened};return this.hidden?zt.nothing:zt.html`
|
|
1744
1744
|
<div part="root-container" class="${(0,y4.classMap)(t)}">
|
|
1745
1745
|
<ftds-button @focusin=${this.close}
|
|
1746
1746
|
part="opening-button"
|
|
@@ -1791,7 +1791,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1791
1791
|
</div>
|
|
1792
1792
|
</div>
|
|
1793
1793
|
</div>
|
|
1794
|
-
`:zt.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,zr.unslotText)(t).trim().length===0}closeAndFocusOpeningButton(){var t,o;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((o=this.openingButton)===null||o===void 0||o.showTooltip())}async positionWrapper(){var t,o;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let
|
|
1794
|
+
`:zt.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,zr.unslotText)(t).trim().length===0}closeAndFocusOpeningButton(){var t,o;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((o=this.openingButton)===null||o===void 0||o.showTooltip())}async positionWrapper(){var t,o;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:ie.maxWidth},{x:s,y:l}=await(0,zr.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&&((o=this.closingButton)===null||o===void 0||o.showTooltip())}hideUnusedSlots(){var t,o,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(o=this.popoverContentDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};X.elementDefinitions={"ftds-typography":Le,"ftds-button":Ue};X.styles=g4;fe([(0,ne.property)()],X.prototype,"heading",void 0);fe([(0,ne.property)()],X.prototype,"closeButtonLabel",void 0);fe([(0,ne.property)()],X.prototype,"openButtonIcon",void 0);fe([(0,ne.property)()],X.prototype,"openButtonLabel",void 0);fe([(0,ne.property)()],X.prototype,"openButtonTooltipPosition",void 0);fe([(0,ne.property)({type:Boolean})],X.prototype,"opened",void 0);fe([(0,ne.property)({type:Boolean})],X.prototype,"hidden",void 0);fe([(0,ne.property)({type:Ze})],X.prototype,"openButtonSize",void 0);fe([(0,ne.property)({type:gt})],X.prototype,"openButtonFamily",void 0);fe([(0,ne.query)('[part="opening-button"]')],X.prototype,"openingButton",void 0);fe([(0,ne.query)('[part="closing-button"]')],X.prototype,"closingButton",void 0);fe([(0,ne.query)('[part="wrapper"]')],X.prototype,"popoverWrapper",void 0);fe([(0,ne.query)('[part="content"]')],X.prototype,"popoverContentDiv",void 0);fe([(0,ne.query)('[part="popover-content-slot"]')],X.prototype,"popoverContentSlot",void 0);fe([(0,ne.query)('[part="popover-link"]')],X.prototype,"slottedLinkContent",void 0);fe([(0,ne.query)('[part="popover-link-typography"]')],X.prototype,"popoverLinkTypography",void 0);fe([(0,ne.query)('[part="popover-sections"]')],X.prototype,"popoverSectionsDiv",void 0);fe([(0,ne.query)('[part="popover-sections-slot"]')],X.prototype,"popoverSectionsSlot",void 0);var So=A(j()),Co=A(ae()),Mn=A(B());var b4=A(j());var x4=b4.css`
|
|
1795
1795
|
.ftds-popover-section--heading ftds-typography {
|
|
1796
1796
|
flex-grow: 1;
|
|
1797
1797
|
flex-shrink: 1;
|
|
@@ -1801,13 +1801,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
|
|
1803
1803
|
.ftds-popover-section--content {
|
|
1804
|
-
color: ${
|
|
1804
|
+
color: ${ie.bodyColor};
|
|
1805
1805
|
}
|
|
1806
1806
|
|
|
1807
1807
|
.ftds-popover-section--container {
|
|
1808
1808
|
display: flex;
|
|
1809
1809
|
flex-direction: column;
|
|
1810
|
-
gap: ${
|
|
1810
|
+
gap: ${ie.contentSectionVerticalGap};
|
|
1811
1811
|
}
|
|
1812
1812
|
`;var Hi=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ut=class extends Mn.FtLitElement{constructor(){super(...arguments),this.heading=""}render(){return So.html`
|
|
1813
1813
|
<div class="ftds-popover-section--container">
|