@fluid-topics/ft-table 2.0.32 → 2.0.33
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-table.light.js +15 -15
- package/build/ft-table.min.js +13 -13
- package/package.json +6 -6
package/build/ft-table.min.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";(()=>{var x0=Object.create;var aa=Object.defineProperty;var v0=Object.getOwnPropertyDescriptor;var S0=Object.getOwnPropertyNames;var C0=Object.getPrototypeOf,E0=Object.prototype.hasOwnProperty;var A0=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(r){throw e=0,r}},q=(t,e)=>{for(var r in e)aa(t,r,{get:e[r],enumerable:!0})},L0=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of S0(e))!E0.call(t,a)&&a!==r&&aa(t,a,{get:()=>e[a],enumerable:!(o=v0(e,a))||o.enumerable});return t};var O0=(t,e,r)=>(r=t!=null?x0(C0(t)):{},L0(e||!t||!t.__esModule?aa(r,"default",{value:t,enumerable:!0}):r,t));var h1=A0((It,p1)=>{var Rn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,wn=(function(){function t(){this.fetch=!1,this.DOMException=Rn.DOMException}return t.prototype=Rn,new t})();(function(t){var e=(function(r){var o=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function i(b){return b&&DataView.prototype.isPrototypeOf(b)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function d(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function u(b){return typeof b!="string"&&(b=String(b)),b}function p(b){var A={next:function(){var z=b.shift();return{done:z===void 0,value:z}}};return a.iterable&&(A[Symbol.iterator]=function(){return A}),A}function h(b){this.map={},b instanceof h?b.forEach(function(A,z){this.append(z,A)},this):Array.isArray(b)?b.forEach(function(A){if(A.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+A.length);this.append(A[0],A[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(A){this.append(A,b[A])},this)}h.prototype.append=function(b,A){b=d(b),A=u(A);var z=this.map[b];this.map[b]=z?z+", "+A:A},h.prototype.delete=function(b){delete this.map[d(b)]},h.prototype.get=function(b){return b=d(b),this.has(b)?this.map[b]:null},h.prototype.has=function(b){return this.map.hasOwnProperty(d(b))},h.prototype.set=function(b,A){this.map[d(b)]=u(A)},h.prototype.forEach=function(b,A){for(var z in this.map)this.map.hasOwnProperty(z)&&b.call(A,this.map[z],z,this)},h.prototype.keys=function(){var b=[];return this.forEach(function(A,z){b.push(z)}),p(b)},h.prototype.values=function(){var b=[];return this.forEach(function(A){b.push(A)}),p(b)},h.prototype.entries=function(){var b=[];return this.forEach(function(A,z){b.push([z,A])}),p(b)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function v(b){return new Promise(function(A,z){b.onload=function(){A(b.result)},b.onerror=function(){z(b.error)}})}function S(b){var A=new FileReader,z=v(A);return A.readAsArrayBuffer(b),z}function L(b){var A=new FileReader,z=v(A),X=/charset=([A-Za-z0-9_-]+)/.exec(b.type),te=X?X[1]:"utf-8";return A.readAsText(b,te),z}function _(b){for(var A=new Uint8Array(b),z=new Array(A.length),X=0;X<A.length;X++)z[X]=String.fromCharCode(A[X]);return z.join("")}function N(b){if(b.slice)return b.slice(0);var A=new Uint8Array(b.byteLength);return A.set(new Uint8Array(b)),A.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:a.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:a.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():a.arrayBuffer&&a.blob&&i(b)?(this._bodyArrayBuffer=N(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||c(b))?this._bodyArrayBuffer=N(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="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(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var b=g(this);if(b)return b;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 b=g(this);return b||(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 b=g(this);if(b)return b;if(this._bodyBlob)return L(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(I)}),this.json=function(){return this.text().then(JSON.parse)},this}var E=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(b){var A=b.toUpperCase();return E.indexOf(A)>-1?A:b}function O(b,A){if(!(this instanceof O))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A=A||{};var z=A.body;if(b instanceof O){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,A.headers||(this.headers=new h(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!z&&b._bodyInit!=null&&(z=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=A.credentials||this.credentials||"same-origin",(A.headers||!this.headers)&&(this.headers=new h(A.headers)),this.method=C(A.method||this.method||"GET"),this.mode=A.mode||this.mode||null,this.signal=A.signal||this.signal||(function(){if("AbortController"in o){var Y=new AbortController;return Y.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&z)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(z),(this.method==="GET"||this.method==="HEAD")&&(A.cache==="no-store"||A.cache==="no-cache")){var X=/([?&])_=[^&]*/;if(X.test(this.url))this.url=this.url.replace(X,"$1_="+new Date().getTime());else{var te=/\?/;this.url+=(te.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}O.prototype.clone=function(){return new O(this,{body:this._bodyInit})};function I(b){var A=new FormData;return b.trim().split("&").forEach(function(z){if(z){var X=z.split("="),te=X.shift().replace(/\+/g," "),Y=X.join("=").replace(/\+/g," ");A.append(decodeURIComponent(te),decodeURIComponent(Y))}}),A}function H(b){var A=new h,z=b.replace(/\r?\n[\t ]+/g," ");return z.split("\r").map(function(X){return X.indexOf(`
|
|
2
|
-
`)===0?X.substr(1,X.length):X}).forEach(function(X){var te=X.split(":"),Y=te.shift().trim();if(Y){var qo=te.join(":").trim();try{A.append(Y,qo)}catch(na){console.warn("Response "+na.message)}}}),A}M.call(O.prototype);function Z(b,A){if(!(this instanceof Z))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(A||(A={}),this.type="default",this.status=A.status===void 0?200:A.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=A.statusText===void 0?"":""+A.statusText,this.headers=new h(A.headers),this.url=A.url||"",this._initBody(b)}M.call(Z.prototype),Z.prototype.clone=function(){return new Z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Z.error=function(){var b=new Z(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var K=[301,302,303,307,308];Z.redirect=function(b,A){if(K.indexOf(A)===-1)throw new RangeError("Invalid status code");return new Z(null,{status:A,headers:{location:b}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(A,z){this.message=A,this.name=z;var X=Error(A);this.stack=X.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function U(b,A){return new Promise(function(z,X){var te=new O(b,A);if(te.signal&&te.signal.aborted)return X(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function qo(){Y.abort()}Y.onload=function(){var ge={statusText:Y.statusText,headers:H(Y.getAllResponseHeaders()||"")};te.url.indexOf("file://")===0&&(Y.status<200||Y.status>599)?ge.status=200:ge.status=Y.status,ge.url="responseURL"in Y?Y.responseURL:ge.headers.get("X-Request-URL");var Ht="response"in Y?Y.response:Y.responseText;setTimeout(function(){z(new Z(Ht,ge))},0)},Y.onerror=function(){setTimeout(function(){X(new TypeError("Network request failed"))},0)},Y.ontimeout=function(){setTimeout(function(){X(new TypeError("Network request timed out"))},0)},Y.onabort=function(){setTimeout(function(){X(new r.DOMException("Aborted","AbortError"))},0)};function na(ge){try{return ge===""&&o.location.href?o.location.href:ge}catch{return ge}}if(Y.open(te.method,na(te.url),!0),te.credentials==="include"?Y.withCredentials=!0:te.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&(a.blob?Y.responseType="blob":a.arrayBuffer&&(Y.responseType="arraybuffer")),A&&typeof A.headers=="object"&&!(A.headers instanceof h||o.Headers&&A.headers instanceof o.Headers)){var Sc=[];Object.getOwnPropertyNames(A.headers).forEach(function(ge){Sc.push(d(ge)),Y.setRequestHeader(ge,u(A.headers[ge]))}),te.headers.forEach(function(ge,Ht){Sc.indexOf(Ht)===-1&&Y.setRequestHeader(Ht,ge)})}else te.headers.forEach(function(ge,Ht){Y.setRequestHeader(Ht,ge)});te.signal&&(te.signal.addEventListener("abort",qo),Y.onreadystatechange=function(){Y.readyState===4&&te.signal.removeEventListener("abort",qo)}),Y.send(typeof te._bodyInit>"u"?null:te._bodyInit)})}return U.polyfill=!0,o.fetch||(o.fetch=U,o.Headers=h,o.Request=O,o.Response=Z),r.Headers=h,r.Request=O,r.Response=Z,r.fetch=U,r})({})})(wn);wn.fetch.ponyfill=!0;delete wn.fetch.polyfill;var Dr=Rn.fetch?Rn:wn;It=Dr.fetch;It.default=Dr.fetch;It.fetch=Dr.fetch;It.Headers=Dr.Headers;It.Request=Dr.Request;It.Response=Dr.Response;p1.exports=It});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(E,C){if(E=E.toLowerCase(),this._getDefinition(E)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${E}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let O=C.prototype.attributeChangedCallback,I=new Set(C.observedAttributes||[]);g(C,I,O);let H={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:O,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(E,H),this._definitionsByClass.set(C,H);let Z=r.call(o,E);Z||(Z=h(E),e.call(o,E,Z)),this===window.customElements&&(s.set(C,H),H.standInClass=Z);let K=this._awaitingUpgrade.get(E);if(K){this._awaitingUpgrade.delete(E);for(let b of K)i.delete(b),S(b,H,!0)}let U=this._whenDefinedPromises.get(E);return U!==void 0&&(U.resolve(C),this._whenDefinedPromises.delete(E)),C}upgrade(){_.push(this),o.upgrade.apply(o,arguments),_.pop()}get(E){return this._definitionsByTag.get(E)?.elementClass}_getDefinition(E){return this._definitionsByTag.get(E)}whenDefined(E){let C=this._getDefinition(E);if(C!==void 0)return Promise.resolve(C.elementClass);let O=this._whenDefinedPromises.get(E);return O===void 0&&(O={},O.promise=new Promise(I=>O.resolve=I),this._whenDefinedPromises.set(E,O)),O.promise}_upgradeWhenDefined(E,C,O){let I=this._awaitingUpgrade.get(C);I||this._awaitingUpgrade.set(C,I=new Set),O?I.add(E):I.delete(E)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let O=s.get(this.constructor);if(!O)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(t,[],O.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),a.set(C,O),C},window.HTMLElement.prototype=t.prototype;let u=E=>E===document||E instanceof ShadowRoot,p=E=>{let C=E.getRootNode();if(!u(C)){let O=_[_.length-1];if(O instanceof CustomElementRegistry)return O;C=O.getRootNode(),u(C)||(C=c.get(C)?.getRootNode()||document)}return C.customElements},h=E=>class{static get formAssociated(){return!0}constructor(){let O=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(O,HTMLElement.prototype);let I=p(O)||window.customElements,H=I._getDefinition(E);return H?S(O,H):i.set(O,I),O}connectedCallback(){let O=a.get(this);O?O.connectedCallback&&O.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,E,!0)}disconnectedCallback(){let O=a.get(this);O?O.disconnectedCallback&&O.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,E,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let O=a.get(this);O&&O.formAssociated&&O?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let O=a.get(this);O?.formAssociated&&O?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let O=a.get(this);O?.formAssociated&&O?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let O=a.get(this);O?.formAssociated&&O?.formStateRestoreCallback?.apply(this,arguments)}},g=(E,C,O)=>{if(C.size===0||O===void 0)return;let I=E.prototype.setAttribute;I&&(E.prototype.setAttribute=function(K,U){let b=K.toLowerCase();if(C.has(b)){let A=this.getAttribute(b);I.call(this,b,U),O.call(this,b,A,U)}else I.call(this,b,U)});let H=E.prototype.removeAttribute;H&&(E.prototype.removeAttribute=function(K){let U=K.toLowerCase();if(C.has(U)){let b=this.getAttribute(U);H.call(this,U),O.call(this,U,b,null)}else H.call(this,U)});let Z=E.prototype.toggleAttribute;Z&&(E.prototype.toggleAttribute=function(K,U){let b=K.toLowerCase();if(C.has(b)){let A=this.getAttribute(b);Z.call(this,b,U);let z=this.getAttribute(b);O.call(this,b,A,z)}else Z.call(this,b,U)})},v=E=>{let C=Object.getPrototypeOf(E);if(C!==window.HTMLElement)return C===t?Object.setPrototypeOf(E,window.HTMLElement):v(C)},S=(E,C,O=!1)=>{Object.setPrototypeOf(E,C.elementClass.prototype),a.set(E,C),d=E;try{new C.elementClass}catch{v(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(I=>{E.hasAttribute(I)&&C.attributeChangedCallback.call(E,I,null,E.getAttribute(I))}),O&&C.connectedCallback&&E.isConnected&&C.connectedCallback.call(E)},L=Element.prototype.attachShadow;Element.prototype.attachShadow=function(E){let C=L.apply(this,arguments);return E.customElements&&(C.customElements=E.customElements),C};let _=[document],N=(E,C,O=void 0)=>{let I=(O?Object.getPrototypeOf(O):E.prototype)[C];E.prototype[C]=function(){_.push(this);let H=I.apply(O||this,arguments);return H!==void 0&&c.set(H,this),_.pop(),H}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let M=(E,C)=>{let O=Object.getOwnPropertyDescriptor(E.prototype,C);Object.defineProperty(E.prototype,C,{...O,set(I){_.push(this),O.set.call(this,I),_.pop()}})};if(M(Element,"innerHTML"),M(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let E=new WeakMap,C=HTMLElement.prototype.attachInternals,O=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...K){let U=C.call(this,...K);return E.set(U,this),U},O.forEach(K=>{let U=window.ElementInternals.prototype,b=U[K];U[K]=function(...A){let z=E.get(this);if(a.get(z).formAssociated===!0)return b?.call(this,...A);throw new DOMException(`Failed to execute ${b} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(U){super(...U),this._elements=U}get value(){return this._elements.find(U=>U.checked===!0)?.value||""}}class H{constructor(U){let b=new Map;U.forEach((A,z)=>{let X=A.getAttribute("name"),te=b.get(X)||[];this[+z]=A,te.push(A),b.set(X,te)}),this.length=U.length,b.forEach((A,z)=>{A&&(A.length===1?this[z]=A[0]:this[z]=new I(A))})}namedItem(U){return this[U]}}let Z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let K=Z.get.call(this,[]),U=[];for(let b of K){let A=a.get(b);(!A||A.formAssociated===!0)&&U.push(b)}return new H(U)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,a)=>{var i;if(o!==null)try{e.bind(window.customElements)(r,o,a)}catch(s){!((i=s.message)===null||i===void 0)&&i.includes("this constructor has already been used")?window.customElements.define(r,class extends o{},a):console.info(r,o,a,s)}}}var ba={};q(ba,{CSSResult:()=>br,LitElement:()=>qe,ReactiveElement:()=>ze,_$LE:()=>Ic,_$LH:()=>ma,adoptStyles:()=>lo,css:()=>B,defaultConverter:()=>xr,getCompatibleStyle:()=>Jo,html:()=>F,isServer:()=>F3,mathml:()=>ha,noChange:()=>le,notEqual:()=>fo,nothing:()=>G,render:()=>ga,supportsAdoptingStyleSheets:()=>co,svg:()=>pa,unsafeCSS:()=>Lt});var Xo=globalThis,co=Xo.ShadowRoot&&(Xo.ShadyCSS===void 0||Xo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ia=Symbol(),Cc=new WeakMap,br=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==ia)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(co&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Cc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Cc.set(r,e))}return e}toString(){return this.cssText}},Lt=t=>new br(typeof t=="string"?t:t+"",void 0,ia),B=(t,...e)=>{let r=t.length===1?t[0]:e.reduce(((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1]),t[0]);return new br(r,t,ia)},lo=(t,e)=>{if(co)t.adoptedStyleSheets=e.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(let r of e){let o=document.createElement("style"),a=Xo.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)}},Jo=co?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Lt(r)})(t):t;var{is:R0,defineProperty:w0,getOwnPropertyDescriptor:_0,getOwnPropertyNames:T0,getOwnPropertySymbols:N0,getPrototypeOf:M0}=Object,Qo=globalThis,Ec=Qo.trustedTypes,P0=Ec?Ec.emptyScript:"",k0=Qo.reactiveElementPolyfillSupport,uo=(t,e)=>t,xr={toAttribute(t,e){switch(e){case Boolean:t=t?P0:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},fo=(t,e)=>!R0(t,e),Ac={attribute:!0,type:String,converter:xr,reflect:!1,useDefault:!1,hasChanged:fo};Symbol.metadata??=Symbol("metadata"),Qo.litPropertyMetadata??=new WeakMap;var ze=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ac){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(e,o,r);a!==void 0&&w0(this.prototype,e,a)}}static getPropertyDescriptor(e,r,o){let{get:a,set:i}=_0(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let c=a?.call(this);i?.call(this,s),this.requestUpdate(e,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ac}static _$Ei(){if(this.hasOwnProperty(uo("elementProperties")))return;let e=M0(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(uo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(uo("properties"))){let r=this.properties,o=[...T0(r),...N0(r)];for(let a of o)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let a of o)r.unshift(Jo(a))}else e!==void 0&&r.push(Jo(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$ET(e,r){let o=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:xr).toAttribute(r,o.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let o=this.constructor,a=o._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:xr;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,r,o){if(e!==void 0){let a=this.constructor,i=this[e];if(o??=a.getPropertyOptions(e),!((o.hasChanged??fo)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,o))))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),i!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||o||(r=void 0),this._$AL.set(e,r)),a===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){let{wrapped:s}=i,c=this[a];s!==!0||this._$AL.has(a)||c===void 0||this.C(a,void 0,i,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach((o=>o.hostUpdate?.())),this.update(r)):this._$EM()}catch(o){throw e=!1,this._$EM(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}};ze.elementStyles=[],ze.shadowRootOptions={mode:"open"},ze[uo("elementProperties")]=new Map,ze[uo("finalized")]=new Map,k0?.({ReactiveElement:ze}),(Qo.reactiveElementVersions??=[]).push("2.1.0");var ca=globalThis,en=ca.trustedTypes,Lc=en?en.createPolicy("lit-html",{createHTML:t=>t}):void 0,la="$lit$",ft=`lit$${Math.random().toFixed(9).slice(2)}$`,da="?"+ft,I0=`<${da}>`,Wt=document,ho=()=>Wt.createComment(""),mo=t=>t===null||typeof t!="object"&&typeof t!="function",ua=Array.isArray,Nc=t=>ua(t)||typeof t?.[Symbol.iterator]=="function",sa=`[
|
|
2
|
+
`)===0?X.substr(1,X.length):X}).forEach(function(X){var te=X.split(":"),Y=te.shift().trim();if(Y){var qo=te.join(":").trim();try{A.append(Y,qo)}catch(na){console.warn("Response "+na.message)}}}),A}M.call(O.prototype);function Z(b,A){if(!(this instanceof Z))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(A||(A={}),this.type="default",this.status=A.status===void 0?200:A.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=A.statusText===void 0?"":""+A.statusText,this.headers=new h(A.headers),this.url=A.url||"",this._initBody(b)}M.call(Z.prototype),Z.prototype.clone=function(){return new Z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Z.error=function(){var b=new Z(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var K=[301,302,303,307,308];Z.redirect=function(b,A){if(K.indexOf(A)===-1)throw new RangeError("Invalid status code");return new Z(null,{status:A,headers:{location:b}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(A,z){this.message=A,this.name=z;var X=Error(A);this.stack=X.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function U(b,A){return new Promise(function(z,X){var te=new O(b,A);if(te.signal&&te.signal.aborted)return X(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function qo(){Y.abort()}Y.onload=function(){var ge={statusText:Y.statusText,headers:H(Y.getAllResponseHeaders()||"")};te.url.indexOf("file://")===0&&(Y.status<200||Y.status>599)?ge.status=200:ge.status=Y.status,ge.url="responseURL"in Y?Y.responseURL:ge.headers.get("X-Request-URL");var Ht="response"in Y?Y.response:Y.responseText;setTimeout(function(){z(new Z(Ht,ge))},0)},Y.onerror=function(){setTimeout(function(){X(new TypeError("Network request failed"))},0)},Y.ontimeout=function(){setTimeout(function(){X(new TypeError("Network request timed out"))},0)},Y.onabort=function(){setTimeout(function(){X(new r.DOMException("Aborted","AbortError"))},0)};function na(ge){try{return ge===""&&o.location.href?o.location.href:ge}catch{return ge}}if(Y.open(te.method,na(te.url),!0),te.credentials==="include"?Y.withCredentials=!0:te.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&(a.blob?Y.responseType="blob":a.arrayBuffer&&(Y.responseType="arraybuffer")),A&&typeof A.headers=="object"&&!(A.headers instanceof h||o.Headers&&A.headers instanceof o.Headers)){var Sc=[];Object.getOwnPropertyNames(A.headers).forEach(function(ge){Sc.push(d(ge)),Y.setRequestHeader(ge,u(A.headers[ge]))}),te.headers.forEach(function(ge,Ht){Sc.indexOf(Ht)===-1&&Y.setRequestHeader(Ht,ge)})}else te.headers.forEach(function(ge,Ht){Y.setRequestHeader(Ht,ge)});te.signal&&(te.signal.addEventListener("abort",qo),Y.onreadystatechange=function(){Y.readyState===4&&te.signal.removeEventListener("abort",qo)}),Y.send(typeof te._bodyInit>"u"?null:te._bodyInit)})}return U.polyfill=!0,o.fetch||(o.fetch=U,o.Headers=h,o.Request=O,o.Response=Z),r.Headers=h,r.Request=O,r.Response=Z,r.fetch=U,r})({})})(wn);wn.fetch.ponyfill=!0;delete wn.fetch.polyfill;var Dr=Rn.fetch?Rn:wn;It=Dr.fetch;It.default=Dr.fetch;It.fetch=Dr.fetch;It.Headers=Dr.Headers;It.Request=Dr.Request;It.Response=Dr.Response;p1.exports=It});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(E,C){if(E=E.toLowerCase(),this._getDefinition(E)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${E}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let O=C.prototype.attributeChangedCallback,I=new Set(C.observedAttributes||[]);g(C,I,O);let H={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:O,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(E,H),this._definitionsByClass.set(C,H);let Z=r.call(o,E);Z||(Z=h(E),e.call(o,E,Z)),this===window.customElements&&(s.set(C,H),H.standInClass=Z);let K=this._awaitingUpgrade.get(E);if(K){this._awaitingUpgrade.delete(E);for(let b of K)i.delete(b),S(b,H,!0)}let U=this._whenDefinedPromises.get(E);return U!==void 0&&(U.resolve(C),this._whenDefinedPromises.delete(E)),C}upgrade(){_.push(this),o.upgrade.apply(o,arguments),_.pop()}get(E){return this._definitionsByTag.get(E)?.elementClass}_getDefinition(E){return this._definitionsByTag.get(E)}whenDefined(E){let C=this._getDefinition(E);if(C!==void 0)return Promise.resolve(C.elementClass);let O=this._whenDefinedPromises.get(E);return O===void 0&&(O={},O.promise=new Promise(I=>O.resolve=I),this._whenDefinedPromises.set(E,O)),O.promise}_upgradeWhenDefined(E,C,O){let I=this._awaitingUpgrade.get(C);I||this._awaitingUpgrade.set(C,I=new Set),O?I.add(E):I.delete(E)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let O=s.get(this.constructor);if(!O)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(t,[],O.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),a.set(C,O),C},window.HTMLElement.prototype=t.prototype;let u=E=>E===document||E instanceof ShadowRoot,p=E=>{let C=E.getRootNode();if(!u(C)){let O=_[_.length-1];if(O instanceof CustomElementRegistry)return O;C=O.getRootNode(),u(C)||(C=c.get(C)?.getRootNode()||document)}return C.customElements},h=E=>class{static get formAssociated(){return!0}constructor(){let O=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(O,HTMLElement.prototype);let I=p(O)||window.customElements,H=I._getDefinition(E);return H?S(O,H):i.set(O,I),O}connectedCallback(){let O=a.get(this);O?O.connectedCallback&&O.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,E,!0)}disconnectedCallback(){let O=a.get(this);O?O.disconnectedCallback&&O.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,E,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let O=a.get(this);O&&O.formAssociated&&O?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let O=a.get(this);O?.formAssociated&&O?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let O=a.get(this);O?.formAssociated&&O?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let O=a.get(this);O?.formAssociated&&O?.formStateRestoreCallback?.apply(this,arguments)}},g=(E,C,O)=>{if(C.size===0||O===void 0)return;let I=E.prototype.setAttribute;I&&(E.prototype.setAttribute=function(K,U){let b=K.toLowerCase();if(C.has(b)){let A=this.getAttribute(b);I.call(this,b,U),O.call(this,b,A,U)}else I.call(this,b,U)});let H=E.prototype.removeAttribute;H&&(E.prototype.removeAttribute=function(K){let U=K.toLowerCase();if(C.has(U)){let b=this.getAttribute(U);H.call(this,U),O.call(this,U,b,null)}else H.call(this,U)});let Z=E.prototype.toggleAttribute;Z&&(E.prototype.toggleAttribute=function(K,U){let b=K.toLowerCase();if(C.has(b)){let A=this.getAttribute(b);Z.call(this,b,U);let z=this.getAttribute(b);O.call(this,b,A,z)}else Z.call(this,b,U)})},v=E=>{let C=Object.getPrototypeOf(E);if(C!==window.HTMLElement)return C===t?Object.setPrototypeOf(E,window.HTMLElement):v(C)},S=(E,C,O=!1)=>{Object.setPrototypeOf(E,C.elementClass.prototype),a.set(E,C),d=E;try{new C.elementClass}catch{v(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(I=>{E.hasAttribute(I)&&C.attributeChangedCallback.call(E,I,null,E.getAttribute(I))}),O&&C.connectedCallback&&E.isConnected&&C.connectedCallback.call(E)},L=Element.prototype.attachShadow;Element.prototype.attachShadow=function(E){let C=L.apply(this,arguments);return E.customElements&&(C.customElements=E.customElements),C};let _=[document],N=(E,C,O=void 0)=>{let I=(O?Object.getPrototypeOf(O):E.prototype)[C];E.prototype[C]=function(){_.push(this);let H=I.apply(O||this,arguments);return H!==void 0&&c.set(H,this),_.pop(),H}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let M=(E,C)=>{let O=Object.getOwnPropertyDescriptor(E.prototype,C);Object.defineProperty(E.prototype,C,{...O,set(I){_.push(this),O.set.call(this,I),_.pop()}})};if(M(Element,"innerHTML"),M(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let E=new WeakMap,C=HTMLElement.prototype.attachInternals,O=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...K){let U=C.call(this,...K);return E.set(U,this),U},O.forEach(K=>{let U=window.ElementInternals.prototype,b=U[K];U[K]=function(...A){let z=E.get(this);if(a.get(z).formAssociated===!0)return b?.call(this,...A);throw new DOMException(`Failed to execute ${b} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(U){super(...U),this._elements=U}get value(){return this._elements.find(U=>U.checked===!0)?.value||""}}class H{constructor(U){let b=new Map;U.forEach((A,z)=>{let X=A.getAttribute("name"),te=b.get(X)||[];this[+z]=A,te.push(A),b.set(X,te)}),this.length=U.length,b.forEach((A,z)=>{A&&(A.length===1?this[z]=A[0]:this[z]=new I(A))})}namedItem(U){return this[U]}}let Z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let K=Z.get.call(this,[]),U=[];for(let b of K){let A=a.get(b);(!A||A.formAssociated===!0)&&U.push(b)}return new H(U)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,a)=>{var i;if(o!==null)try{e.bind(window.customElements)(r,o,a)}catch(s){!((i=s.message)===null||i===void 0)&&i.includes("this constructor has already been used")?window.customElements.define(r,class extends o{},a):console.info(r,o,a,s)}}}var ba={};q(ba,{CSSResult:()=>br,LitElement:()=>Xe,ReactiveElement:()=>ze,_$LE:()=>Ic,_$LH:()=>ma,adoptStyles:()=>lo,css:()=>B,defaultConverter:()=>xr,getCompatibleStyle:()=>Jo,html:()=>F,isServer:()=>F3,mathml:()=>ha,noChange:()=>le,notEqual:()=>fo,nothing:()=>G,render:()=>ga,supportsAdoptingStyleSheets:()=>co,svg:()=>pa,unsafeCSS:()=>Lt});var Xo=globalThis,co=Xo.ShadowRoot&&(Xo.ShadyCSS===void 0||Xo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ia=Symbol(),Cc=new WeakMap,br=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==ia)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(co&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Cc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Cc.set(r,e))}return e}toString(){return this.cssText}},Lt=t=>new br(typeof t=="string"?t:t+"",void 0,ia),B=(t,...e)=>{let r=t.length===1?t[0]:e.reduce(((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1]),t[0]);return new br(r,t,ia)},lo=(t,e)=>{if(co)t.adoptedStyleSheets=e.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(let r of e){let o=document.createElement("style"),a=Xo.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)}},Jo=co?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Lt(r)})(t):t;var{is:R0,defineProperty:w0,getOwnPropertyDescriptor:_0,getOwnPropertyNames:T0,getOwnPropertySymbols:N0,getPrototypeOf:M0}=Object,Qo=globalThis,Ec=Qo.trustedTypes,P0=Ec?Ec.emptyScript:"",k0=Qo.reactiveElementPolyfillSupport,uo=(t,e)=>t,xr={toAttribute(t,e){switch(e){case Boolean:t=t?P0:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},fo=(t,e)=>!R0(t,e),Ac={attribute:!0,type:String,converter:xr,reflect:!1,useDefault:!1,hasChanged:fo};Symbol.metadata??=Symbol("metadata"),Qo.litPropertyMetadata??=new WeakMap;var ze=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ac){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(e,o,r);a!==void 0&&w0(this.prototype,e,a)}}static getPropertyDescriptor(e,r,o){let{get:a,set:i}=_0(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let c=a?.call(this);i?.call(this,s),this.requestUpdate(e,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ac}static _$Ei(){if(this.hasOwnProperty(uo("elementProperties")))return;let e=M0(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(uo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(uo("properties"))){let r=this.properties,o=[...T0(r),...N0(r)];for(let a of o)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let a of o)r.unshift(Jo(a))}else e!==void 0&&r.push(Jo(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$ET(e,r){let o=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:xr).toAttribute(r,o.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let o=this.constructor,a=o._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:xr;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,r,o){if(e!==void 0){let a=this.constructor,i=this[e];if(o??=a.getPropertyOptions(e),!((o.hasChanged??fo)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,o))))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),i!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||o||(r=void 0),this._$AL.set(e,r)),a===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){let{wrapped:s}=i,c=this[a];s!==!0||this._$AL.has(a)||c===void 0||this.C(a,void 0,i,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach((o=>o.hostUpdate?.())),this.update(r)):this._$EM()}catch(o){throw e=!1,this._$EM(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}};ze.elementStyles=[],ze.shadowRootOptions={mode:"open"},ze[uo("elementProperties")]=new Map,ze[uo("finalized")]=new Map,k0?.({ReactiveElement:ze}),(Qo.reactiveElementVersions??=[]).push("2.1.0");var ca=globalThis,en=ca.trustedTypes,Lc=en?en.createPolicy("lit-html",{createHTML:t=>t}):void 0,la="$lit$",ft=`lit$${Math.random().toFixed(9).slice(2)}$`,da="?"+ft,I0=`<${da}>`,Wt=document,ho=()=>Wt.createComment(""),mo=t=>t===null||typeof t!="object"&&typeof t!="function",ua=Array.isArray,Nc=t=>ua(t)||typeof t?.[Symbol.iterator]=="function",sa=`[
|
|
3
3
|
\f\r]`,po=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Oc=/-->/g,Rc=/>/g,Ft=RegExp(`>|${sa}(?:([^\\s"'>=/]+)(${sa}*=${sa}*(?:[^
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),wc=/'/g,_c=/"/g,Mc=/^(?:script|style|textarea|title)$/i,fa=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),F=fa(1),pa=fa(2),ha=fa(3),le=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Tc=new WeakMap,Gt=Wt.createTreeWalker(Wt,129);function Pc(t,e){if(!ua(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Lc!==void 0?Lc.createHTML(e):e}var kc=(t,e)=>{let r=t.length-1,o=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=po;for(let c=0;c<r;c++){let d=t[c],u,p,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,p=s.exec(d),p!==null);)g=s.lastIndex,s===po?p[1]==="!--"?s=Oc:p[1]!==void 0?s=Rc:p[2]!==void 0?(Mc.test(p[2])&&(a=RegExp("</"+p[2],"g")),s=Ft):p[3]!==void 0&&(s=Ft):s===Ft?p[0]===">"?(s=a??po,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,u=p[1],s=p[3]===void 0?Ft:p[3]==='"'?_c:wc):s===_c||s===wc?s=Ft:s===Oc||s===Rc?s=po:(s=Ft,a=void 0);let v=s===Ft&&t[c+1].startsWith("/>")?" ":"";i+=s===po?d+I0:h>=0?(o.push(u),d.slice(0,h)+la+d.slice(h)+ft+v):d+ft+(h===-2?c:v)}return[Pc(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},go=class t{constructor({strings:e,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[u,p]=kc(e,r);if(this.el=t.createElement(u,o),Gt.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Gt.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(la)){let g=p[s++],v=a.getAttribute(h).split(ft),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:S[2],strings:v,ctor:S[1]==="."?rn:S[1]==="?"?on:S[1]==="@"?nn:jt}),a.removeAttribute(h)}else h.startsWith(ft)&&(d.push({type:6,index:i}),a.removeAttribute(h));if(Mc.test(a.tagName)){let h=a.textContent.split(ft),g=h.length-1;if(g>0){a.textContent=en?en.emptyScript:"";for(let v=0;v<g;v++)a.append(h[v],ho()),Gt.nextNode(),d.push({type:2,index:++i});a.append(h[g],ho())}}}else if(a.nodeType===8)if(a.data===da)d.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(ft,h+1))!==-1;)d.push({type:7,index:i}),h+=ft.length-1}i++}}static createElement(e,r){let o=Wt.createElement("template");return o.innerHTML=e,o}};function Vt(t,e,r=t,o){if(e===le)return e;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=mo(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(e=Vt(t,a._$AS(t,e.values),a,o)),e}var tn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,a=(e?.creationScope??Wt).importNode(r,!0);Gt.currentNode=a;let i=Gt.nextNode(),s=0,c=0,d=o[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new vr(i,i.nextSibling,this,e):d.type===1?u=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(u=new an(i,this,e)),this._$AV.push(u),d=o[++c]}s!==d?.index&&(i=Gt.nextNode(),s++)}return Gt.currentNode=Wt,a}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},vr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,a){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Vt(this,e,r),mo(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==le&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Nc(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==G&&mo(this._$AH)?this._$AA.nextSibling.data=e:this.T(Wt.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=go.createElement(Pc(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new tn(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(e){let r=Tc.get(e.strings);return r===void 0&&Tc.set(e.strings,r=new go(e)),r}k(e){ua(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of e)a===r.length?r.push(o=new t(this.O(ho()),this.O(ho()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,a,i){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=G}_$AI(e,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)e=Vt(this,e,r,0),s=!mo(e)||e!==this._$AH&&e!==le,s&&(this._$AH=e);else{let c=e,d,u;for(e=i[0],d=0;d<i.length-1;d++)u=Vt(this,c[o+d],r,d),u===le&&(u=this._$AH[d]),s||=!mo(u)||u!==this._$AH[d],u===G?e=G:e!==G&&(e+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.j(e)}j(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},rn=class extends jt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===G?void 0:e}},on=class extends jt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},nn=class extends jt{constructor(e,r,o,a,i){super(e,r,o,a,i),this.type=5}_$AI(e,r=this){if((e=Vt(this,e,r,0)??G)===le)return;let o=this._$AH,a=e===G&&o!==G||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,i=e!==G&&(o===G||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},an=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Vt(this,e)}},ma={M:la,P:ft,A:da,C:1,L:kc,R:tn,D:Nc,V:Vt,I:vr,H:jt,N:on,U:nn,B:rn,F:an},z0=ca.litHtmlPolyfillSupport;z0?.(go,vr),(ca.litHtmlVersions??=[]).push("3.3.0");var ga=(t,e,r)=>{let o=r?.renderBefore??e,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new vr(e.insertBefore(ho(),i),i,void 0,r??{})}return a._$AI(t),a};var ya=globalThis,qe=class extends ze{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ga(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return le}};qe._$litElement$=!0,qe.finalized=!0,ya.litElementHydrateSupport?.({LitElement:qe});var D0=ya.litElementPolyfillSupport;D0?.({LitElement:qe});var Ic={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(ya.litElementVersions??=[]).push("4.2.0");var F3=!1;var Sa={};q(Sa,{customElement:()=>U0,eventOptions:()=>$0,property:()=>R,query:()=>Ee,queryAll:()=>xa,queryAssignedElements:()=>G0,queryAssignedNodes:()=>va,queryAsync:()=>F0,standardProperty:()=>zc,state:()=>ae});var U0=t=>(e,r)=>{r!==void 0?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};var B0={attribute:!0,type:String,converter:xr,reflect:!1,hasChanged:fo},zc=(t=B0,e,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(o==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+o)};function R(t){return(e,r)=>typeof r=="object"?zc(t,e,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function ae(t){return R({...t,state:!0,attribute:!1})}function $0(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var We=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function Ee(t,e){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return We(r,o,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return We(r,o,{get(){return i(this)}})}}var H0;function xa(t){return(e,r)=>We(e,r,{get(){return(this.renderRoot??(H0??=document.createDocumentFragment())).querySelectorAll(t)}})}function F0(t){return(e,r)=>We(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function G0(t){return(e,r)=>{let{slot:o,selector:a}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return We(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter((d=>d.matches(a)))}})}}function va(t){return(e,r)=>{let{slot:o}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return We(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Ca={};q(Ca,{repeat:()=>Rt});var Xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},_e=t=>(...e)=>({_$litDirective$:t,values:e}),De=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:W0}=ma;var Uc=t=>t.strings===void 0,Dc=()=>document.createComment(""),Sr=(t,e,r)=>{let o=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=o.insertBefore(Dc(),a),s=o.insertBefore(Dc(),a);r=new W0(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let u=d.nextSibling;o.insertBefore(d,a),d=u}}}return r},Ot=(t,e,r=t)=>(t._$AI(e,r),t),V0={},Bc=(t,e=V0)=>t._$AH=e,$c=t=>t._$AH,sn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var Hc=(t,e,r)=>{let o=new Map;for(let a=e;a<=r;a++)o.set(t[a],a);return o},Rt=_e(class extends De{constructor(t){if(super(t),t.type!==Xe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let a=[],i=[],s=0;for(let c of t)a[s]=o?o(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let a=$c(t),{values:i,keys:s}=this.dt(e,r,o);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],u,p,h=0,g=a.length-1,v=0,S=i.length-1;for(;h<=g&&v<=S;)if(a[h]===null)h++;else if(a[g]===null)g--;else if(c[h]===s[v])d[v]=Ot(a[h],i[v]),h++,v++;else if(c[g]===s[S])d[S]=Ot(a[g],i[S]),g--,S--;else if(c[h]===s[S])d[S]=Ot(a[h],i[S]),Sr(t,d[S+1],a[h]),h++,S--;else if(c[g]===s[v])d[v]=Ot(a[g],i[v]),Sr(t,a[h],a[g]),g--,v++;else if(u===void 0&&(u=Hc(s,v,S),p=Hc(c,h,g)),u.has(c[h]))if(u.has(c[g])){let L=p.get(s[v]),_=L!==void 0?a[L]:null;if(_===null){let N=Sr(t,a[h]);Ot(N,i[v]),d[v]=N}else d[v]=Ot(_,i[v]),Sr(t,a[h],_),a[L]=null;v++}else sn(a[g]),g--;else sn(a[h]),h++;for(;v<=S;){let L=Sr(t,d[S+1]);Ot(L,i[v]),d[v++]=L}for(;h<=g;){let L=a[h++];L!==null&&sn(L)}return this.ut=s,Bc(t,d),le}});var Ea={};q(Ea,{classMap:()=>Ae});var Ae=_e(class extends De{constructor(t){if(super(t),t.type!==Xe.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((o=>o!==""))));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let a=!!e[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return le}});var La={};q(La,{styleMap:()=>Aa});var Fc="important",j0=" !"+Fc,Aa=_e(class extends De{constructor(t){if(super(t),t.type!==Xe.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let a=e[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(j0);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?Fc:""):r[o]=a}}return le}});var Oa={};q(Oa,{UnsafeHTMLDirective:()=>Cr,unsafeHTML:()=>Kt});var Cr=class extends De{constructor(e){if(super(e),this.it=G,e.type!==Xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===G||e==null)return this._t=void 0,this.it=e;if(e===le)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Cr.directiveName="unsafeHTML",Cr.resultType=1;var Kt=_e(Cr);var za={};q(za,{CacheRegistry:()=>Qe,ClearCacheEvent:()=>xo});var wa={};q(wa,{CancelablePromise:()=>cn,CanceledPromiseError:()=>Zt,cancelable:()=>Ra});var Zt=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},cn=class extends Promise{constructor(e){super((r,o)=>e(a=>{this.isCanceled?o(new Zt("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Zt("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ra=t=>new cn((e,r)=>t.then(e).catch(r));var Ia={};q(Ia,{FtNotificationEvent:()=>bo,PostResizeEvent:()=>ka,PreResizeEvent:()=>Pa,WithEventBus:()=>ht,withEventBus:()=>un});var Ma={};q(Ma,{applyMixinOnce:()=>ye,customElements:()=>de,dateReviver:()=>X0,deepCopy:()=>Je,deepEqual:()=>Te,delay:()=>ln,eventPathContainsMatchingElement:()=>Ta,everyDeep:()=>q0,flatDeep:()=>Vc,forEachDeep:()=>jc,getComposedPathTo:()=>Na,hasChanged:()=>pt,ignoreComposingEvents:()=>t4,last:()=>Q0,minmax:()=>qt,parseDate:()=>Zc,randomId:()=>e4,someDeep:()=>Kc,unslotText:()=>dn,waitFor:()=>Wc,waitUntil:()=>Y0});var _a={};q(_a,{customElement:()=>yo,dateProperty:()=>Z0,isNumber:()=>Gc,jsonProperty:()=>he,numberProperty:()=>Yt,optionalNumberProperty:()=>K0});var yo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function he(t,e){return R({type:Object,converter:{fromAttribute:r=>{if(r==null)return Je(t);try{return JSON.parse(r)}catch{return Je(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:pt,...e??{}})}function K0(t){return Yt(t)}function Yt(t){return R({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let a=(r=t?.min)!==null&&r!==void 0?r:-1/0,i=(o=t?.max)!==null&&o!==void 0?o:1/0;return Gc(e)?qt(a,+e,i):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Gc(t){return!isNaN(parseFloat(t))}function Z0(t){return R({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var ln=t=>new Promise(e=>setTimeout(e,t));async function Y0(t,e=10,r=2e4){await Wc(async()=>await t()||void 0,e,r)}async function Wc(t,e=10,r=2e4){let o=await t(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await ln(e),o=await t(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Vc(t,e){return t.flatMap(r=>[r,...Vc(e(r),e)])}function jc(t,e,r){let o=(a,i)=>{var s;for(let c=0;c<a.length;c++){let d=a[c];if(!(((s=r(d,c,a,i))!==null&&s!==void 0?s:!0)&&o(e(d),[...i,d])))return!1}return!0};o(t,[])}function Kc(t,e,r){let o=!1;return jc(t,e,(a,i,s,c)=>(o=!!r(a,i,s,c),!o)),o}function q0(t,e,r){return!Kc(t,e,(o,a,i,s)=>!r(o,a,i,s))}function X0(...t){return(e,r)=>t.includes(e)?Zc(r):r}function Zc(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,a)=>r+o+":"+a),new Date(t)}function J0(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,o,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Te(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!Te(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!Te(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Te(t,e){try{return J0(t,e)}catch{return!1}}function pt(t,e){return!Te(t,e)}function Ta(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function qt(t,e,r){return Math.min(Math.max(t,e),r)}function Q0(t){return t[t.length-1]}function dn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>dn(e)).join(""):t?.textContent||""}function Na(t){let e=[],r=o=>{o.stopPropagation(),e=o.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Je(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function e4(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function ye(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let a=e(o);return a[t]=!0,a}}function t4(){return function(t,e,r){let o=r.value;r.value=function(a){if(!(a.isComposing||a.keyCode===229))return o.apply(this,[a])}}}function de(t){for(let[e,r]of Object.entries(t))yo(e)(r)}var bo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Pa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ka=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},un=ye(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}),ht=class extends un(Object){};var xo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Qe=class extends ht{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var a;let i=this.content[e],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[e]={...i,loader:r,final:o,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new xo(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new xo([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,a;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[e])===null||a===void 0||delete a.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let a=async()=>r,i="RESOLVED";this.content[e]={loader:a,final:o,status:i,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let a=this.content[e];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=Ra(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(e),a.clearTimeout=window.setTimeout(()=>this.clear(e),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Ha={};q(Ha,{ClusteringHelper:()=>$a,formatHierarchicalValues:()=>Ba});var Ua={};q(Ua,{accessBreadcrumb:()=>n4,accessResult:()=>Da,accessResultId:()=>r4,accessResultUrl:()=>o4});function Da(t){var e,r,o,a;return(a=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&a!==void 0?a:t?.htmlPackagePage}function r4(t){var e,r,o,a,i,s,c,d,u;return(d=(s=(a=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&a!==void 0?a:(i=t?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.packageId)!==null&&d!==void 0?d:(u=t?.htmlPackagePage)===null||u===void 0?void 0:u.contentId}function o4(t){var e,r,o,a,i,s,c,d,u;return(d=(s=(a=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&a!==void 0?a:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.viewerUrl)!==null&&d!==void 0?d:(u=t?.htmlPackagePage)===null||u===void 0?void 0:u.viewerUrl}function n4(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function Ba(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var $a=class t{constructor(e,r,o,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static findResultWithMetadataValue(e,r,o){return e?.find(a=>{var i;return((i=this.extractResultMetadata({result:a}).find(s=>s.key==r))===null||i===void 0?void 0:i.value)==o})}static extractResultMetadata(e){var r,o;let a=(o=(r=Da(e.result))===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[];return e.key==null?t.flattenMetadata(a,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(a.find(i=>i.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(Ba(c)),s.push(Ba(c,r))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>o?o(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,o="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),u=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(h=>t.extractResultMetadata({result:h,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(h=>h??{key:e,label:u,value:void 0,displayValue:o}).filter(h=>h.value!=d?.value).filter((h,g,v)=>v.findIndex(S=>S.value===h.value)===g).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,g)=>this.compareMetadata(h.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,o,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of o){let u=this.countMatchingMetadata(d,i);if(u>c&&(c=u,s=d,u===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Fa={};q(Fa,{Debouncer:()=>Le});var Le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),i=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of o)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var si={};q(si,{designSystemVariables:()=>ee});var ii={};q(ii,{DesignSystemFamily:()=>mt,DesignSystemSize:()=>gt,FtCssVariableFactory:()=>n,badge:()=>m4,banner:()=>h4,button:()=>x,card:()=>i4,chart:()=>T4,checkbox:()=>c4,chip:()=>u4,chipChoice:()=>d4,chipGroup:()=>f4,collapsible:()=>w4,combobox:()=>O4,dateRangePicker:()=>D4,drawer:()=>S4,floatingMenu:()=>L4,foundation:()=>l,link:()=>p4,modal:()=>v4,notice:()=>M4,notification:()=>k4,pageDesigner:()=>N4,pageFooter:()=>b4,pageHeader:()=>y4,pageLayout:()=>x4,popover:()=>R4,radio:()=>l4,reorderableList:()=>z4,resolveFamilyClass:()=>ni,resolveSizeClass:()=>ai,semantic:()=>f,setVariable:()=>w,switch_:()=>_4,table:()=>V,tabs:()=>C4,textArea:()=>A4,textInput:()=>E4,titleBreadcrumb:()=>g4,toggle:()=>P4,tooltip:()=>I4,treeList:()=>s4,typographies:()=>fn,typographyBody1Medium:()=>Za,typographyBody1Regular:()=>Ka,typographyBody1Semibold:()=>Ya,typographyBody2Medium:()=>Xa,typographyBody2MediumUnderline:()=>Yc,typographyBody2Regular:()=>qa,typographyBody2Semibold:()=>Ja,typographyCaption1Medium:()=>Qa,typographyCaption1Semibold:()=>ei,typographyCaption2Bold:()=>oi,typographyCaption2Medium:()=>ti,typographyCaption2Semibold:()=>ri,typographyDisplay:()=>Ga,typographyTitle1:()=>Wa,typographyTitle2:()=>Va,typographyTitle3:()=>ja,typographyVariants:()=>a4});var wt=t=>typeof t=="string"?Lt(t):t,n=class{static create(e,r,o,a){let i=c=>wt(c??a),s=B`var(${wt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>w(s,c??i(a)),s.get=c=>B`var(${wt(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,o,a){let i=c=>o.get(c??a),s=B`var(${wt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>w(s,c??i(a)),s.get=c=>B`var(${wt(e)}, ${i(c)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(e,r){let o=i=>e.defaultCssValue(i),a=B`var(${wt(e.name)}, ${o(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>e.set(i),a.get=i=>B`var(${wt(e.name)}, ${o(i)})`,a.breadcrumb=()=>e.breadcrumb(),a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function w(t,e){return wt(`${t.name}: ${e}`)}var l={colorWhite:n.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:n.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:n.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ftds-opacity-0","","NUMBER","0"),opacity4:n.create("--ftds-opacity-4","","NUMBER","0.04"),opacity8:n.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:n.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:n.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:n.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:n.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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)")},Ga={fontFamily:n.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:n.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Wa={fontFamily:n.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:n.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Va={fontFamily:n.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:n.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ja={fontFamily:n.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:n.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Ka={fontFamily:n.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Za={fontFamily:n.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ya={fontFamily:n.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},qa={fontFamily:n.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Xa={fontFamily:n.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Yc={fontFamily:n.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:n.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:n.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ja={fontFamily:n.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Qa={fontFamily:n.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},ei={fontFamily:n.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ti={fontFamily:n.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ri={fontFamily:n.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},oi={fontFamily:n.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},fn={display:Ga,"title-1":Wa,"title-2":Va,"title-3":ja,"body-1-regular":Ka,"body-1-medium":Za,"body-1-semibold":Ya,"body-2-regular":qa,"body-2-medium":Xa,"body-2-medium-underline":Yc,"body-2-semibold":Ja,"caption-1-medium":Qa,"caption-1-semibold":ei,"caption-2-medium":ti,"caption-2-semibold":ri,"caption-2-bold":oi},a4=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var f={backgroundActionPrimary:n.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:n.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:n.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:n.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:n.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:n.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:n.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:n.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:n.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:n.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:n.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:n.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:n.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:n.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:n.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:n.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:n.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:n.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:n.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:n.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:n.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:n.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:n.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:n.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:n.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:n.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:n.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:n.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:n.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:n.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:n.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:n.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:n.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:n.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var x={largeHeight:n.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:n.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:n.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:n.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:n.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:n.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:n.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:n.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:n.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:n.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:n.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:n.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:n.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:n.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ftds-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:n.extend("--ftds-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ftds-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ftds-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:n.extend("--ftds-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ftds-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ftds-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ftds-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:n.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ftds-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ftds-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ftds-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:n.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ftds-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ftds-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ftds-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:n.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ftds-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ftds-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ftds-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:n.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ftds-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ftds-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ftds-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:n.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:n.extend("--ftds-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ftds-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ftds-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:n.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ftds-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:n.extend("--ftds-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ftds-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:n.extend("--ftds-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:n.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ftds-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ftds-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ftds-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ftds-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:n.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:n.extend("--ftds-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:n.extend("--ftds-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ftds-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ftds-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:n.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:n.extend("--ftds-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:n.extend("--ftds-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ftds-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ftds-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:n.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:n.extend("--ftds-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:n.extend("--ftds-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ftds-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ftds-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:n.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:n.extend("--ftds-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:n.extend("--ftds-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ftds-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ftds-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var i4={borderRadius:n.extend("--ftds-card-border-radius","",l.borderRadiusS),focusFocusRingColor:n.extend("--ftds-card-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:n.extend("--ftds-card-header-title-horizontal-padding","",l.spacing4),headerTitleVerticalPadding:n.extend("--ftds-card-header-title-vertical-padding","",l.spacing3),headerActionHorizontalPadding:n.extend("--ftds-card-header-action-horizontal-padding","",l.spacing2),headerActionVerticalPadding:n.extend("--ftds-card-header-action-vertical-padding","",l.spacing2),headerActionGap:n.extend("--ftds-card-header-action-gap","",l.spacing1),bodyHorizontalPadding:n.extend("--ftds-card-body-horizontal-padding","",l.spacing4),bodyVerticalPadding:n.extend("--ftds-card-body-vertical-padding","",l.spacing4),footerActionHorizontalPadding:n.extend("--ftds-card-footer-action-horizontal-padding","",l.spacing2),footerActionVerticalPadding:n.extend("--ftds-card-footer-action-vertical-padding","",l.spacing2),footerActionGap:n.extend("--ftds-card-footer-action-gap","",l.spacing1),footerContentHorizontalPadding:n.extend("--ftds-card-footer-content-horizontal-padding","",l.spacing4),footerContentVerticalPadding:n.extend("--ftds-card-footer-content-vertical-padding","",l.spacing3),sideBarHorizontalPadding:n.extend("--ftds-card-side-bar-horizontal-padding","",l.spacing1),sideBarVerticalPadding:n.extend("--ftds-card-side-bar-vertical-padding","",l.spacing1),sideBarGap:n.extend("--ftds-card-side-bar-gap","",l.spacing1),nonSelectableBorderWidth:n.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:n.extend("--ftds-card-non-selectable-state-layer-color","",f.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:n.extend("--ftds-card-non-selectable-default-background-color","",f.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:n.extend("--ftds-card-non-selectable-default-border-color","",f.borderGlobalSecondary),nonSelectableHoverBorderColor:n.extend("--ftds-card-non-selectable-hover-border-color","",f.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:n.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",l.opacity4),nonSelectableFocusBorderColor:n.extend("--ftds-card-non-selectable-focus-border-color","",f.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:n.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",l.opacity4),internalBorderColor:n.extend("--ftds-card-internal-border-color","",f.borderGlobalSecondary),selectableUnselectedBorderWidth:n.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:n.extend("--ftds-card-selectable-unselected-state-layer-color","",f.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:n.extend("--ftds-card-selectable-unselected-default-background-color","",f.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:n.extend("--ftds-card-selectable-unselected-default-border-color","",f.borderGlobalSecondary),selectableUnselectedHoverBorderColor:n.extend("--ftds-card-selectable-unselected-hover-border-color","",f.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:n.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",l.opacity4),selectableUnselectedFocusBorderColor:n.extend("--ftds-card-selectable-unselected-focus-border-color","",f.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:n.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",l.opacity4),selectableSelectedBorderColor:n.extend("--ftds-card-selectable-selected-border-color","",f.borderActionPrimary),selectableSelectedBorderWidth:n.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:n.extend("--ftds-card-selectable-selected-state-layer-color","",f.contentActionPrimary),selectableSelectedBackgroundColor:n.extend("--ftds-card-selectable-selected-background-color","",f.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:n.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",l.opacity4),selectableSelectedHoverStateLayerOpacity:n.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",l.opacity4),selectableSelectedFocusStateLayerOpacity:n.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",l.opacity4),internalBorderWidth:n.create("--ftds-card-internal-border-width","","SIZE","1px")};var s4={loadMoreIconSize:n.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:n.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-unselected-default-border-color","",f.borderGlobalSubtle),loadMoreIconColor:n.extend("--ftds-tree-list-load-more-icon-color","",f.contentActionPrimary),loadMoreLabelColor:n.extend("--ftds-tree-list-load-more-label-color","",f.contentActionPrimary),loadMoreHoverBorderColor:n.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:n.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:n.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:n.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:n.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:n.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",f.borderGlobalPrimary),loadMoreLabelMarginLeft:n.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:n.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:n.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:n.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:n.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:n.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:n.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:n.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-node-unselected-default-border-color","",f.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ftds-tree-list-node-unselected-icon-color","",f.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ftds-tree-list-node-unselected-label-color","",f.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ftds-tree-list-node-unselected-counter-color","",f.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ftds-tree-list-node-hover-border-color","",f.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ftds-tree-list-node-focus-focus-ring-color","",f.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-selected-default-border-color","",f.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ftds-tree-list-node-selected-icon-color","",f.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ftds-tree-list-node-selected-label-color","",f.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ftds-tree-list-node-selected-counter-color","",f.contentGlobalSecondary),nodeSelectedBackgroundColor:n.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",f.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:n.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:n.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:n.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:n.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:n.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:n.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:n.extend("--ftds-tree-list-header-section-color","",f.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ftds-tree-list-header-section-counter-color","",f.contentGlobalSecondary),listContainerBorderWidth:n.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ftds-tree-list-list-container-background-color","",f.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ftds-tree-list-list-container-border-color","",f.borderGlobalSubtle),emptyStateIllustrationWidth:n.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:n.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:n.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:n.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:n.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:n.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:n.extend("--ftds-tree-list-empty-state-title-label-color","",f.contentGlobalSecondary),emptyStateDescriptionLabelColor:n.extend("--ftds-tree-list-empty-state-description-label-color","",f.contentGlobalSecondary)};var c4={iconSize:n.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:n.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:n.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:n.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:n.extend("--ftds-checkbox-label-horizontal-gap","",l.spacing1),color:n.extend("--ftds-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ftds-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:n.extend("--ftds-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:n.extend("--ftds-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:n.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:n.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:n.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:n.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:n.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:n.extend("--ftds-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:n.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:n.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:n.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),helperPaddingTop:n.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:n.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:n.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:n.extend("--ftds-checkbox-error-unchecked-border-color","",f.borderErrorPrimary),errorStateLayerColor:n.extend("--ftds-checkbox-error-state-layer-color","",f.contentErrorPrimary),errorHelperTextColor:n.extend("--ftds-checkbox-error-helper-text-color","",f.borderErrorPrimary),errorCheckedBackgroundColor:n.extend("--ftds-checkbox-error-checked-background-color","",f.contentErrorPrimary),helperTextColor:n.extend("--ftds-checkbox-helper-text-color","",f.contentGlobalSubtle),groupVerticalGap:n.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var l4={circleSize:n.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ftds-radio-border-width","","SIZE","2px"),color:n.extend("--ftds-radio-color","",f.contentGlobalPrimary),selectedRadioColor:n.extend("--ftds-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:n.extend("--ftds-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:n.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:n.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:n.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:n.extend("--ftds-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:n.extend("--ftds-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:n.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:n.extend("--ftds-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:n.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:n.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var V={headerRowBorderWidth:n.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ftds-table-header-row-background-color","",f.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ftds-table-header-row-border-color","",f.borderGlobalPrimary),headerRowColor:n.extend("--ftds-table-header-row-color","",f.contentGlobalPrimary),dataRowBorderWidth:n.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ftds-table-data-row-background-color","",f.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ftds-table-data-row-border-color","",f.borderGlobalSubtle),dataRowColor:n.extend("--ftds-table-data-row-color","",f.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:n.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:n.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:n.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:n.extend("--ftds-table-data-row-selectable-selected-color","",f.contentActionPrimary),dataRowClickableHoverBackgroundColor:n.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:n.extend("--ftds-table-data-row-clickable-focus-border-color","",f.borderActionFocusRing),dataRowClickableFocusBackgroundColor:n.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:n.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:n.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:n.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:n.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:n.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:n.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:n.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var d4={neutralOffHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:n.extend("--ftds-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ftds-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:n.extend("--ftds-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ftds-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:n.extend("--ftds-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ftds-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:n.extend("--ftds-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:n.extend("--ftds-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ftds-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:n.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:n.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:n.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:n.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:n.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:n.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var u4={largeMinHeight:n.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:n.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:n.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:n.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:n.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:n.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:n.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:n.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:n.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:n.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:n.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:n.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:n.extend("--ftds-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:n.extend("--ftds-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:n.extend("--ftds-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:n.extend("--ftds-chip-neutral-border-color","",f.borderGlobalSecondary),infoBackgroundColor:n.extend("--ftds-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ftds-chip-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ftds-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:n.extend("--ftds-chip-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ftds-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:n.extend("--ftds-chip-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ftds-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:n.extend("--ftds-chip-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ftds-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-chip-error-border-color","",f.borderErrorSubtle)};var f4={horizontalGap:n.extend("--ftds-chip-group-horizontal-gap","",l.spacing2),verticalGap:n.extend("--ftds-chip-group-vertical-gap","",l.spacing2),countChipDefaultBackgroundColor:n.extend("--ftds-chip-group-count-chip-default-background-color","",l.colorBrand10),countChipDefaultBorderColor:n.extend("--ftds-chip-group-count-chip-default-border-color","",l.colorBrand60),countChipDefaultContentColor:n.extend("--ftds-chip-group-count-chip-default-content-color","",f.contentActionPrimary),countChipHoverBackgroundColor:n.extend("--ftds-chip-group-count-chip-hover-background-color","",l.colorBrand20),countChipHoverBorderColor:n.extend("--ftds-chip-group-count-chip-hover-border-color","",l.colorBrand70),countChipHoverContentColor:n.extend("--ftds-chip-group-count-chip-hover-content-color","",f.contentActionPrimary),countChipFocusedBackgroundColor:n.extend("--ftds-chip-group-count-chip-focused-background-color","",l.colorBrand20),countChipFocusedBorderColor:n.extend("--ftds-chip-group-count-chip-focused-border-color","",l.colorBrand70),countChipFocusedContentColor:n.extend("--ftds-chip-group-count-chip-focused-content-color","",f.contentActionPrimary)};var p4={brandHoverOpacity:n.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:n.extend("--ftds-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ftds-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:n.extend("--ftds-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:n.extend("--ftds-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:n.extend("--ftds-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:n.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:n.extend("--ftds-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ftds-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:n.extend("--ftds-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:n.extend("--ftds-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:n.extend("--ftds-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ftds-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:n.extend("--ftds-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:n.extend("--ftds-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:n.extend("--ftds-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:n.extend("--ftds-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:n.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var h4={iconSize:n.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:n.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:n.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:n.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:n.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:n.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:n.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:n.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:n.extend("--ftds-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ftds-banner-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ftds-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-banner-info-border-color","",f.borderInfoSubtle)};var m4={horizontalPadding:n.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:n.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:n.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:n.extend("--ftds-badge-color","",f.contentGlobalOnColor),backgroundColor:n.extend("--ftds-badge-background-color","",f.contentActionPrimary)};var g4={horizontalGap:n.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:n.extend("--ftds-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:n.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:n.extend("--ftds-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var y4={parentHorizontalPadding:n.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:n.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:n.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:n.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:n.extend("--ftds-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:n.extend("--ftds-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:n.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:n.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:n.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:n.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:n.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:n.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:n.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:n.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:n.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:n.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:n.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:n.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:n.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:n.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:n.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:n.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:n.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:n.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:n.extend("--ftds-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:n.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var b4={horizontalPadding:n.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:n.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:n.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:n.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:n.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:n.extend("--ftds-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:n.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var x4={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var v4={smallContainerTargetWidth:n.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:n.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:n.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:n.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:n.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:n.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:n.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:n.extend("--ftds-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:n.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:n.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:n.extend("--ftds-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-modal-header-border-color","",f.borderGlobalSubtle),headerColor:n.extend("--ftds-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ftds-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:n.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:n.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:n.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:n.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:n.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:n.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var S4={overlayOpacity:n.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:n.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:n.extend("--ftds-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:n.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:n.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:n.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:n.extend("--ftds-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:n.extend("--ftds-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ftds-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:n.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:n.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:n.extend("--ftds-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ftds-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:n.extend("--ftds-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:n.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:n.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:n.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var C4={offBorderBottomWidth:n.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:n.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:n.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:n.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:n.extend("--ftds-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:n.extend("--ftds-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:n.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:n.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:n.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:n.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:n.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:n.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:n.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:n.extend("--ftds-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ftds-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ftds-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:n.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:n.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:n.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:n.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var E4={largeFieldHorizontalPadding:n.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:n.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:n.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:n.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:n.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:n.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:n.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:n.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:n.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:n.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:n.extend("--ftds-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:n.extend("--ftds-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-input-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-input-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-input-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var A4={backgroundColor:n.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:n.extend("--ftds-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:n.extend("--ftds-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:n.extend("--ftds-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:n.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:n.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:n.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:n.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:n.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:n.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:n.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var L4={height:n.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:n.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),verticalPadding:n.extend("--ftds-floating-menu-vertical-padding","",l.spacing2),offIconColor:n.extend("--ftds-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:n.extend("--ftds-floating-menu-off-color","",f.contentGlobalPrimary),onColor:n.extend("--ftds-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ftds-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:n.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:n.extend("--ftds-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity24),hoverStateLayerOpacity:n.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:n.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:n.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:n.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:n.extend("--ftds-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:n.extend("--ftds-floating-menu-shadow","",l.shadowElevation02),multiselectCheckedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",f.contentActionPrimary),multiselectCheckedColor:n.extend("--ftds-floating-menu-multiselect-checked-color","",f.contentGlobalPrimary),multiselectCheckedIconColor:n.extend("--ftds-floating-menu-multiselect-checked-icon-color","",f.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",l.opacity8),multiselectCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",l.opacity16),multiselectCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",l.opacity24),multiselectIndeterminatedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",f.contentActionPrimary),multiselectIndeterminatedColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-color","",f.contentGlobalPrimary),multiselectIndeterminatedIconColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",f.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",l.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",l.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",l.opacity24),multiselectUncheckedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",f.contentGlobalPrimary),multiselectUncheckedColor:n.extend("--ftds-floating-menu-multiselect-unchecked-color","",f.contentGlobalPrimary),multiselectUncheckedIconColor:n.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",f.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",l.opacity0),multiselectUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",l.opacity8),multiselectUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",l.opacity16),selectAllCheckedStateLayerColor:n.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",f.contentActionPrimary),selectAllCheckedColor:n.extend("--ftds-floating-menu-select-all-checked-color","",f.contentGlobalPrimary),selectAllCheckedIconColor:n.extend("--ftds-floating-menu-select-all-checked-icon-color","",f.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",l.opacity0),selectAllCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",l.opacity16),selectAllCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",l.opacity24),selectAllIndeterminatedStateLayerColor:n.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",f.contentGlobalPrimary),selectAllIndeterminatedColor:n.extend("--ftds-floating-menu-select-all-indeterminated-color","",f.contentGlobalPrimary),selectAllIndeterminatedIconColor:n.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",f.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",l.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",l.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",l.opacity16),selectAllUncheckedStateLayerColor:n.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",f.contentGlobalPrimary),selectAllUncheckedColor:n.extend("--ftds-floating-menu-select-all-unchecked-color","",f.contentGlobalPrimary),selectAllUncheckedIconColor:n.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",f.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",l.opacity0),selectAllUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",l.opacity8),selectAllUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",l.opacity16),defaultUncheckedStateLayerColor:n.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",f.contentGlobalPrimary),defaultUncheckedColor:n.extend("--ftds-floating-menu-default-unchecked-color","",f.contentGlobalPrimary),defaultUncheckedIconColor:n.extend("--ftds-floating-menu-default-unchecked-icon-color","",f.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",l.opacity0),defaultUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",l.opacity8),defaultUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",l.opacity16),defaultCheckedStateLayerColor:n.extend("--ftds-floating-menu-default-checked-state-layer-color","",f.contentActionPrimary),defaultCheckedColor:n.extend("--ftds-floating-menu-default-checked-color","",f.contentActionPrimary),defaultCheckedIconColor:n.extend("--ftds-floating-menu-default-checked-icon-color","",f.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",l.opacity8),defaultCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",l.opacity16),defaultCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",l.opacity24)};var O4={menuVerticalGap:n.extend("--ftds-combobox-menu-vertical-gap","",l.spacing2),menuNewValuePaddingTop:n.extend("--ftds-combobox-menu-new-value-padding-top","",l.spacing4),menuNewValuePaddingBottom:n.extend("--ftds-combobox-menu-new-value-padding-bottom","",l.spacing1),menuNewValueHorizontalPadding:n.extend("--ftds-combobox-menu-new-value-horizontal-padding","",l.spacing4),menuNewValueLabelColor:n.extend("--ftds-combobox-menu-new-value-label-color","",f.contentGlobalSubtle),menuNewValueBorderColor:n.extend("--ftds-combobox-menu-new-value-border-color","",f.borderGlobalPrimary),menuNewValueBorderWidth:n.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuMessagePaddingTop:n.extend("--ftds-combobox-menu-message-padding-top","",l.spacing2),menuMessagePaddingBottom:n.extend("--ftds-combobox-menu-message-padding-bottom","",l.spacing2),menuMessageHorizontalPadding:n.extend("--ftds-combobox-menu-message-horizontal-padding","",l.spacing4),menuMessageLabelColor:n.extend("--ftds-combobox-menu-message-label-color","",f.contentGlobalSubtle),valuesChipBackgroundColor:n.extend("--ftds-combobox-values-chip-background-color","",f.backgroundGlobalOnSurface),valuesChipBorderColor:n.extend("--ftds-combobox-values-chip-border-color","",f.borderInputPrimary)};var R4={backgroundColor:n.extend("--ftds-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:n.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:n.extend("--ftds-popover-title-color","",f.contentGlobalPrimary),bodyColor:n.extend("--ftds-popover-body-color","",f.contentGlobalSecondary),gap:n.extend("--ftds-popover-gap","",l.spacing2),borderRadius:n.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:n.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:n.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:n.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:n.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var w4={hoverStateLayerOpacity:n.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:n.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:n.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ftds-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:n.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:n.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:n.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:n.extend("--ftds-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:n.extend("--ftds-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:n.extend("--ftds-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:n.extend("--ftds-collapsible-border-color","",f.borderGlobalSubtle),iconSize:n.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var _4={groupHorizontalPadding:n.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:n.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:n.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:n.extend("--ftds-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:n.extend("--ftds-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:n.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:n.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:n.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:n.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:n.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:n.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:n.extend("--ftds-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:n.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:n.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:n.extend("--ftds-switch-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ftds-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:n.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:n.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:n.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:n.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var T4={color1Light:n.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:n.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:n.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:n.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:n.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:n.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:n.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:n.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:n.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:n.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:n.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:n.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:n.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:n.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:n.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:n.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:n.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:n.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:n.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:n.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:n.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:n.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:n.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:n.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:n.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:n.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:n.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:n.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:n.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var N4={color1IconColor:n.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:n.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:n.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:n.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:n.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:n.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:n.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:n.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:n.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:n.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:n.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:n.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:n.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:n.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:n.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:n.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var M4={borderWidth:n.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:n.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:n.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:n.extend("--ftds-notice-gap","",l.spacing2),iconSize:n.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:n.extend("--ftds-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:n.extend("--ftds-notice-info-border-color","",f.borderInfoSubtle),infoColor:n.extend("--ftds-notice-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ftds-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:n.extend("--ftds-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:n.extend("--ftds-notice-warning-border-color","",f.borderWarningSubtle),warningColor:n.extend("--ftds-notice-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ftds-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:n.extend("--ftds-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:n.extend("--ftds-notice-error-border-color","",f.borderErrorSubtle),errorColor:n.extend("--ftds-notice-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ftds-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:n.extend("--ftds-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:n.extend("--ftds-notice-success-border-color","",f.borderSuccessSubtle),successColor:n.extend("--ftds-notice-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ftds-notice-success-icon-color","",f.contentSuccessIconOnly),denseHorizontalPadding:n.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:n.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:n.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:n.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:n.create("--ftds-notice-dense-border-width","","SIZE","0")};var P4={offHoverStateLayerOpacity:n.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:n.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:n.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:n.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:n.extend("--ftds-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:n.extend("--ftds-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:n.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:n.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:n.extend("--ftds-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ftds-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:n.extend("--ftds-toggle-on-icon-color","",f.contentActionPrimary),color:n.extend("--ftds-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:n.extend("--ftds-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:n.extend("--ftds-toggle-gap","",l.spacing3)};var k4={iconSize:n.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:n.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:n.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:n.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:n.extend("--ftds-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ftds-notification-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ftds-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:n.extend("--ftds-notification-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ftds-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:n.extend("--ftds-notification-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ftds-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:n.extend("--ftds-notification-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ftds-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-notification-error-border-color","",f.borderErrorSubtle),borderRadius:n.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:n.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:n.extend("--ftds-notification-trailing-gap","",l.spacing8)};var I4={horizontalPadding:n.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:n.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:n.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:n.extend("--ftds-tooltip-color","",f.contentGlobalOnColor),backgroundColor:n.extend("--ftds-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:n.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:n.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:n.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ftds-tooltip-gap","",l.spacing05)};var z4={verticalPadding:n.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:n.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:n.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:n.extend("--ftds-reorderable-list-reorderable-item-title-color","",f.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:n.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",f.contentGlobalPrimary),reorderableItemUsersCountMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:n.extend("--ftds-reorderable-list-reorderable-item-background-color","",f.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",f.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",f.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ftds-reorderable-list-reorderable-item-grip-color","",f.contentGlobalSecondary),reorderableItemGripOpacity:n.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:n.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:n.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:n.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:n.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:n.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:n.extend("--ftds-reorderable-list-border-color","",f.borderGlobalPrimary),backgroundColor:n.extend("--ftds-reorderable-list-background-color","",f.backgroundGlobalOnSurfaceDark)};var D4={menuHorizontalPadding:n.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:n.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:n.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:n.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var mt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(mt||(mt={}));var gt;(function(t){t.large="large",t.medium="medium",t.small="small"})(gt||(gt={}));function ni(t){return`ftds--family-${t}`}function ai(t){return`ftds--size-${t}`}var ee={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:n.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:n.create("--ft-color-warning","","COLOR","#B74706"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:n.create("--ft-color-success","","COLOR","#187856"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:n.create("--ft-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)"),elevation02:n.create("--ft-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)"),elevation03:n.create("--ft-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)"),elevation04:n.create("--ft-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)"),elevation06:n.create("--ft-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)"),elevation08:n.create("--ft-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)"),elevation12:n.create("--ft-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)"),elevation16:n.create("--ft-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)"),elevation24:n.create("--ft-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)"),borderRadiusS:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ci={};q(ci,{DynamicImporter:()=>pn,dynamicImporter:()=>U4});var pn=class{async import(e){if(e)return import(e)}},U4=new pn;var Ci={};q(Ci,{computeOffsetAutoPosition:()=>su,computeOffsetPosition:()=>Si});var Xc=["top","right","bottom","left"],qc=["start","end"],di=Xc.reduce((t,e)=>t.concat(e,e+"-"+qc[0],e+"-"+qc[1]),[]),Xt=Math.min,Oe=Math.max,vo=Math.round;var Ve=t=>({x:t,y:t}),B4={left:"right",right:"left",bottom:"top",top:"bottom"};function ui(t,e,r){return Oe(t,Xt(e,r))}function Er(t,e){return typeof t=="function"?t(e):t}function _t(t){return t.split("-")[0]}function et(t){return t.split("-")[1]}function fi(t){return t==="x"?"y":"x"}function pi(t){return t==="y"?"height":"width"}function Ar(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function hi(t){return fi(Ar(t))}function Jc(t,e,r){r===void 0&&(r=!1);let o=et(t),a=hi(t),i=pi(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=li(s)),[s,li(s)]}function Qc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function li(t){let e=_t(t);return B4[e]+t.slice(e.length)}function $4(t){return{top:0,right:0,bottom:0,left:0,...t}}function el(t){return typeof t!="number"?$4(t):{top:t,right:t,bottom:t,left:t}}function Jt(t){let{x:e,y:r,width:o,height:a}=t;return{width:o,height:a,top:r,left:e,right:e+o,bottom:r+a,x:e,y:r}}function tl(t,e,r){let{reference:o,floating:a}=t,i=Ar(e),s=hi(e),c=pi(s),d=_t(e),u=i==="y",p=o.x+o.width/2-a.width/2,h=o.y+o.height/2-a.height/2,g=o[c]/2-a[c]/2,v;switch(d){case"top":v={x:p,y:o.y-a.height};break;case"bottom":v={x:p,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:h};break;case"left":v={x:o.x-a.width,y:h};break;default:v={x:o.x,y:o.y}}switch(et(e)){case"start":v[s]-=g*(r&&u?-1:1);break;case"end":v[s]+=g*(r&&u?-1:1);break}return v}async function rl(t,e){var r;e===void 0&&(e={});let{x:o,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:g=!1,padding:v=0}=Er(e,t),S=el(v),_=c[g?h==="floating"?"reference":"floating":h],N=Jt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:p,strategy:d})),M=h==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},O=Jt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:M,offsetParent:E,strategy:d}):M);return{top:(N.top-O.top+S.top)/C.y,bottom:(O.bottom-N.bottom+S.bottom)/C.y,left:(N.left-O.left+S.left)/C.x,right:(O.right-N.right+S.right)/C.x}}var H4=50,ol=async(t,e,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:rl},d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:p,y:h}=tl(u,o,d),g=o,v=0,S={};for(let L=0;L<i.length;L++){let _=i[L];if(!_)continue;let{name:N,fn:M}=_,{x:E,y:C,data:O,reset:I}=await M({x:p,y:h,initialPlacement:o,placement:g,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:t,floating:e}});p=E??p,h=C??h,S[N]={...S[N],...O},I&&v<H4&&(v++,typeof I=="object"&&(I.placement&&(g=I.placement),I.rects&&(u=I.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):I.rects),{x:p,y:h}=tl(u,g,d)),L=-1)}return{x:p,y:h,placement:g,strategy:a,middlewareData:S}};function F4(t,e,r){return(t?[...r.filter(a=>et(a)===t),...r.filter(a=>et(a)!==t)]:r.filter(a=>_t(a)===a)).filter(a=>t?et(a)===t||(e?Qc(a)!==a:!1):!0)}var nl=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:g=di,autoAlignment:v=!0,...S}=Er(t,e),L=h!==void 0||g===di?F4(h||null,v,g):g,_=await d.detectOverflow(e,S),N=((r=s.autoPlacement)==null?void 0:r.index)||0,M=L[N];if(M==null)return{};let E=Jc(M,i,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==M)return{reset:{placement:L[0]}};let C=[_[_t(M)],_[E[0]],_[E[1]]],O=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:M,overflows:C}],I=L[N+1];if(I)return{data:{index:N+1,overflows:O},reset:{placement:I}};let H=O.map(U=>{let b=et(U.placement);return[U.placement,b&&p?U.overflows.slice(0,2).reduce((A,z)=>A+z,0):U.overflows[0],U.overflows]}).sort((U,b)=>U[1]-b[1]),K=((a=H.filter(U=>U[2].slice(0,et(U[0])?2:3).every(b=>b<=0))[0])==null?void 0:a[0])||H[0][0];return K!==c?{data:{index:N+1,overflows:O},reset:{placement:K}}:{}}}};var G4=new Set(["left","top"]);async function W4(t,e){let{placement:r,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=_t(r),c=et(r),d=Ar(r)==="y",u=G4.has(s)?-1:1,p=i&&d?-1:1,h=Er(e,t),{mainAxis:g,crossAxis:v,alignmentAxis:S}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof S=="number"&&(v=c==="end"?S*-1:S),d?{x:v*p,y:g*u}:{x:g*u,y:v*p}}var al=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await W4(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},il=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:a,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:N=>{let{x:M,y:E}=N;return{x:M,y:E}}},...u}=Er(t,e),p={x:r,y:o},h=await i.detectOverflow(e,u),g=Ar(_t(a)),v=fi(g),S=p[v],L=p[g];if(s){let N=v==="y"?"top":"left",M=v==="y"?"bottom":"right",E=S+h[N],C=S-h[M];S=ui(E,S,C)}if(c){let N=g==="y"?"top":"left",M=g==="y"?"bottom":"right",E=L+h[N],C=L-h[M];L=ui(E,L,C)}let _=d.fn({...e,[v]:S,[g]:L});return{..._,data:{x:_.x-r,y:_.y-o,enabled:{[v]:s,[g]:c}}}}}};var sl=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,o;let{placement:a,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...u}=Er(t,e),p=await s.detectOverflow(e,u),h=_t(a),g=et(a),v=Ar(a)==="y",{width:S,height:L}=i.floating,_,N;h==="top"||h==="bottom"?(_=h,N=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(N=h,_=g==="end"?"top":"bottom");let M=L-p.top-p.bottom,E=S-p.left-p.right,C=Xt(L-p[_],M),O=Xt(S-p[N],E),I=!e.middlewareData.shift,H=C,Z=O;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(Z=E),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(H=M),I&&!g){let U=Oe(p.left,0),b=Oe(p.right,0),A=Oe(p.top,0),z=Oe(p.bottom,0);v?Z=S-2*(U!==0||b!==0?U+b:Oe(p.left,p.right)):H=L-2*(A!==0||z!==0?A+z:Oe(p.top,p.bottom))}await d({...e,availableWidth:Z,availableHeight:H});let K=await s.getDimensions(c.floating);return S!==K.width||L!==K.height?{reset:{rects:!0}}:{}}}};function mn(){return typeof window<"u"}function er(t){return ll(t)?(t.nodeName||"").toLowerCase():"#document"}function Re(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function tt(t){var e;return(e=(ll(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ll(t){return mn()?t instanceof Node||t instanceof Re(t).Node:!1}function Ue(t){return mn()?t instanceof Element||t instanceof Re(t).Element:!1}function rt(t){return mn()?t instanceof HTMLElement||t instanceof Re(t).HTMLElement:!1}function cl(t){return!mn()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Re(t).ShadowRoot}function Lr(t){let{overflow:e,overflowX:r,overflowY:o,display:a}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&a!=="inline"&&a!=="contents"}function dl(t){return/^(table|td|th)$/.test(er(t))}function So(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var V4=/transform|translate|scale|rotate|perspective|filter/,j4=/paint|layout|strict|content/,Qt=t=>!!t&&t!=="none",mi;function Or(t){let e=Ue(t)?Be(t):t;return Qt(e.transform)||Qt(e.translate)||Qt(e.scale)||Qt(e.rotate)||Qt(e.perspective)||!gn()&&(Qt(e.backdropFilter)||Qt(e.filter))||V4.test(e.willChange||"")||j4.test(e.contain||"")}function ul(t){let e=yt(t);for(;rt(e)&&!tr(e);){if(Or(e))return e;if(So(e))return null;e=yt(e)}return null}function gn(){return mi==null&&(mi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),mi}function tr(t){return/^(html|body|#document)$/.test(er(t))}function Be(t){return Re(t).getComputedStyle(t)}function Co(t){return Ue(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function yt(t){if(er(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cl(t)&&t.host||tt(t);return cl(e)?e.host:e}function fl(t){let e=yt(t);return tr(e)?t.ownerDocument?t.ownerDocument.body:t.body:rt(e)&&Lr(e)?e:fl(e)}function hn(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=fl(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=Re(a);if(i){let c=yn(s);return e.concat(s,s.visualViewport||[],Lr(a)?a:[],c&&r?hn(c):[])}else return e.concat(a,hn(a,[],r))}function yn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function gl(t){let e=Be(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,a=rt(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:o,c=vo(r)!==i||vo(o)!==s;return c&&(r=i,o=s),{width:r,height:o,$:c}}function yl(t){return Ue(t)?t:t.contextElement}function Rr(t){let e=yl(t);if(!rt(e))return Ve(1);let r=e.getBoundingClientRect(),{width:o,height:a,$:i}=gl(e),s=(i?vo(r.width):r.width)/o,c=(i?vo(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var K4=Ve(0);function bl(t){let e=Re(t);return!gn()||!e.visualViewport?K4:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Z4(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Re(t)?!1:e}function Eo(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=yl(t),s=Ve(1);e&&(o?Ue(o)&&(s=Rr(o)):s=Rr(t));let c=Z4(i,r,o)?bl(i):Ve(0),d=(a.left+c.x)/s.x,u=(a.top+c.y)/s.y,p=a.width/s.x,h=a.height/s.y;if(i){let g=Re(i),v=o&&Ue(o)?Re(o):o,S=g,L=yn(S);for(;L&&o&&v!==S;){let _=Rr(L),N=L.getBoundingClientRect(),M=Be(L),E=N.left+(L.clientLeft+parseFloat(M.paddingLeft))*_.x,C=N.top+(L.clientTop+parseFloat(M.paddingTop))*_.y;d*=_.x,u*=_.y,p*=_.x,h*=_.y,d+=E,u+=C,S=Re(L),L=yn(S)}}return Jt({width:p,height:h,x:d,y:u})}function bn(t,e){let r=Co(t).scrollLeft;return e?e.left+r:Eo(tt(t)).left+r}function xl(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-bn(t,r),a=r.top+e.scrollTop;return{x:o,y:a}}function Y4(t){let{elements:e,rect:r,offsetParent:o,strategy:a}=t,i=a==="fixed",s=tt(o),c=e?So(e.floating):!1;if(o===s||c&&i)return r;let d={scrollLeft:0,scrollTop:0},u=Ve(1),p=Ve(0),h=rt(o);if((h||!h&&!i)&&((er(o)!=="body"||Lr(s))&&(d=Co(o)),h)){let v=Eo(o);u=Rr(o),p.x=v.x+o.clientLeft,p.y=v.y+o.clientTop}let g=s&&!h&&!i?xl(s,d):Ve(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-d.scrollLeft*u.x+p.x+g.x,y:r.y*u.y-d.scrollTop*u.y+p.y+g.y}}function q4(t){return Array.from(t.getClientRects())}function X4(t){let e=tt(t),r=Co(t),o=t.ownerDocument.body,a=Oe(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Oe(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+bn(t),c=-r.scrollTop;return Be(o).direction==="rtl"&&(s+=Oe(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:c}}var pl=25;function J4(t,e){let r=Re(t),o=tt(t),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let p=gn();(!p||p&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}let u=bn(o);if(u<=0){let p=o.ownerDocument,h=p.body,g=getComputedStyle(h),v=p.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,S=Math.abs(o.clientWidth-h.clientWidth-v);S<=pl&&(i-=S)}else u<=pl&&(i+=u);return{width:i,height:s,x:c,y:d}}function Q4(t,e){let r=Eo(t,!0,e==="fixed"),o=r.top+t.clientTop,a=r.left+t.clientLeft,i=rt(t)?Rr(t):Ve(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,u=o*i.y;return{width:s,height:c,x:d,y:u}}function hl(t,e,r){let o;if(e==="viewport")o=J4(t,r);else if(e==="document")o=X4(tt(t));else if(Ue(e))o=Q4(e,r);else{let a=bl(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Jt(o)}function vl(t,e){let r=yt(t);return r===e||!Ue(r)||tr(r)?!1:Be(r).position==="fixed"||vl(r,e)}function eu(t,e){let r=e.get(t);if(r)return r;let o=hn(t,[],!1).filter(c=>Ue(c)&&er(c)!=="body"),a=null,i=Be(t).position==="fixed",s=i?yt(t):t;for(;Ue(s)&&!tr(s);){let c=Be(s),d=Or(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Lr(s)&&!d&&vl(t,s))?o=o.filter(p=>p!==s):a=c,s=yt(s)}return e.set(t,o),o}function tu(t){let{element:e,boundary:r,rootBoundary:o,strategy:a}=t,s=[...r==="clippingAncestors"?So(e)?[]:eu(e,this._c):[].concat(r),o],c=hl(e,s[0],a),d=c.top,u=c.right,p=c.bottom,h=c.left;for(let g=1;g<s.length;g++){let v=hl(e,s[g],a);d=Oe(v.top,d),u=Xt(v.right,u),p=Xt(v.bottom,p),h=Oe(v.left,h)}return{width:u-h,height:p-d,x:h,y:d}}function ru(t){let{width:e,height:r}=gl(t);return{width:e,height:r}}function ou(t,e,r){let o=rt(e),a=tt(e),i=r==="fixed",s=Eo(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=Ve(0);function u(){d.x=bn(a)}if(o||!o&&!i)if((er(e)!=="body"||Lr(a))&&(c=Co(e)),o){let v=Eo(e,!0,i,e);d.x=v.x+e.clientLeft,d.y=v.y+e.clientTop}else a&&u();i&&!o&&a&&u();let p=a&&!o&&!i?xl(a,c):Ve(0),h=s.left+c.scrollLeft-d.x-p.x,g=s.top+c.scrollTop-d.y-p.y;return{x:h,y:g,width:s.width,height:s.height}}function gi(t){return Be(t).position==="static"}function ml(t,e){if(!rt(t)||Be(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return tt(t)===r&&(r=r.ownerDocument.body),r}function Sl(t,e){let r=Re(t);if(So(t))return r;if(!rt(t)){let a=yt(t);for(;a&&!tr(a);){if(Ue(a)&&!gi(a))return a;a=yt(a)}return r}let o=ml(t,e);for(;o&&dl(o)&&gi(o);)o=ml(o,e);return o&&tr(o)&&gi(o)&&!Or(o)?r:o||ul(t)||r}var nu=async function(t){let e=this.getOffsetParent||Sl,r=this.getDimensions,o=await r(t.floating);return{reference:ou(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function au(t){return Be(t).direction==="rtl"}var wr={convertOffsetParentRelativeRectToViewportRelativeRect:Y4,getDocumentElement:tt,getClippingRect:tu,getOffsetParent:Sl,getElementRects:nu,getClientRects:q4,getDimensions:ru,getScale:Rr,isElement:Ue,isRTL:au};var Cl=al,yi=nl,El=il;var Al=sl;var bi=(t,e,r)=>{let o=new Map,a={platform:wr,...r},i={...a.platform,_c:o};return ol(t,e,{...a,platform:i})};function vi(t){return iu(t)}function xi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function iu(t){for(let e=t;e;e=xi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=xi(t);e;e=xi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||Or(r)||e.tagName==="BODY"))return e}return null}async function Si(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},bi(t,e,{strategy:o.strategy,platform:{...wr,getOffsetParent:a=>wr.getOffsetParent(a,vi)},middleware:[El({crossAxis:!0}),yi({allowedPlacements:[o.placement]})]})}async function su(t,e,r,o,a,i,s){let c,d;return typeof r=="object"?(c=r.placement,o=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):c=r,bi(t,e,{placement:c,strategy:a,platform:{...wr,getOffsetParent:u=>wr.getOffsetParent(u,vi)},middleware:[Cl(s??4),yi({allowedPlacements:o}),Al({apply({availableHeight:u,availableWidth:p,elements:h}){typeof i=="string"&&(i=`var(${i})`),i?h.floating.style.maxHeight=`min(${Math.max(0,u)}px, ${i})`:h.floating.style.maxHeight=`${Math.max(0,u)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,p)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,p)}px`}})]})}var Ei={};q(Ei,{isSlotEmptyOrWithoutContent:()=>cu});var cu=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var a;return o.nodeType===Node.TEXT_NODE?((a=o.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var _i={};q(_i,{FtdsBase:()=>wi,toFtdsBase:()=>xn});var Ri={};q(Ri,{ExportpartsUpdatedEvent:()=>rr,FtLitElement:()=>J});var Ai={};q(Ai,{ScopedRegistryLitElement:()=>Ao});var Ao=class extends qe{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return lo(o,e.elementStyles),o}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,o])=>this.defineScopedElement(r,o))}static defineScopedElement(e,r){yo(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};var Oi={};q(Oi,{shadowQuerySelector:()=>Li,shadowQuerySelectorAll:()=>lu});function Li(t,e,...r){var o;let a=t.querySelector(e);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function lu(t,e,...r){let o=[...t.querySelectorAll(e)];for(let a of r)o=o.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return o}var _r=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},wl,Ll=Symbol("constructorPrototype"),Ol=Symbol("constructorName"),_l=Symbol("exportpartsDebouncer"),Rl=Symbol("dynamicDependenciesLoaded"),rr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};rr.eventName="exportparts-updated";var J=class extends Ao{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[wl]=new Le(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[_l].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[Ol]=this.constructor.name,this[Ll]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ol]&&Object.setPrototypeOf(this,this[Ll])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Rl]||(r[Rl]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(rr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(rr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new rr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=Li(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.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(e){var r,o,a,i,s,c;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.exportparts=void 0;return}let p=new Set;for(let g of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let v=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&c!==void 0?c:[],L=[...v,...S].filter(d).map(_=>_.trim());for(let _ of L)p.add(_)}if(p.size===0){this.exportparts=void 0;return}let h=[...p.values()].flatMap(g=>u.map(v=>`${g}:${v}--${g}`));this.exportparts=[...this.part,...h].join(", ")}};wl=_l;_r([R()],J.prototype,"exportpartsPrefix",void 0);_r([he([])],J.prototype,"exportpartsPrefixes",void 0);_r([R({reflect:!0})],J.prototype,"exportparts",void 0);_r([R()],J.prototype,"customStylesheet",void 0);_r([R()],J.prototype,"elementToFocus",void 0);_r([ae()],J.prototype,"useAdoptedStyleSheets",void 0);var Tl=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},xn=ye(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=gt.medium,this.family=mt.neutral}getDesignSystemBaseClasses(){return{[ni(this.family)]:!0,[ai(this.size)]:!0}}}return Tl([R()],e.prototype,"size",void 0),Tl([R()],e.prototype,"family",void 0),e}),wi=class extends xn(J){};var Nl={};var Mi={};q(Mi,{highlightHtml:()=>Ni,highlightHtmlColorCssVariable:()=>Ml,highlightHtmlStyles:()=>uu});var or=class t{constructor(e,r=!0,o=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(e,r){let o=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(e,r,o,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,p=>{r(u)&&(c++,o(p)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let a=e.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===o&&(i=d,s=c.handled)}),this.compareNodeIframe(e,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(e,r,o,a,i){let s=this.createIterator(r,e,a),c=[],d=[],u,p,h=()=>({prevNode:p,node:u}=this.getIteratorNode(s),u);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,p,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,v=>d.push(v),a)}),d.push(u);d.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(c,e,o,a),i()}forEachNode(e,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var Lo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new or(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,o);c&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,a,i=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),a=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:a,valid:i}}checkWhitespaceRanges(e,r,o){let a,i=!0,s=o.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return or.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(o-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,o,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let u=r-s.start,p=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,p),e.value=h+g,e.nodes.forEach((v,S)=>{S>=c&&(e.nodes[S].start>0&&S!==c&&(e.nodes[S].start-=p),e.nodes[S].end-=p)}),o-=p,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!o(u[s],d))continue;let p=u.index;if(s!==0)for(let h=1;h<s;h++)p+=u[h].length;d=this.wrapRangeInTextNode(d,p,p+u[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;let p=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,p,h=>o(d[s],h),(h,g)=>{e.lastIndex=g,a(h)})}i()})}wrapRangeFromIndex(e,r,o,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,d)=>{let{start:u,end:p,valid:h}=this.checkWhitespaceRanges(c,s,i.value);h&&this.wrapRangeInMappedTextNode(i,u,p,g=>r(g,c,i.value.substring(u,p),d),g=>{o(g,c)})}),a()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,o),i,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let p=new RegExp(this.createRegExp(u),`gm${c}`),h=0;this.log(`Searching with expression "${p}"`),this[a](p,1,(g,v)=>this.opt.filter(v,u,o,h),g=>{h++,o++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(o):d(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(e,r){this.opt=r;let o=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,d)=>this.opt.filter(i,s,c,d),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=or.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ti(t){let e=new Lo(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var du=Ti,Ml=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),uu=B`
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),wc=/'/g,_c=/"/g,Mc=/^(?:script|style|textarea|title)$/i,fa=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),F=fa(1),pa=fa(2),ha=fa(3),le=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Tc=new WeakMap,Gt=Wt.createTreeWalker(Wt,129);function Pc(t,e){if(!ua(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Lc!==void 0?Lc.createHTML(e):e}var kc=(t,e)=>{let r=t.length-1,o=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=po;for(let c=0;c<r;c++){let d=t[c],u,p,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,p=s.exec(d),p!==null);)g=s.lastIndex,s===po?p[1]==="!--"?s=Oc:p[1]!==void 0?s=Rc:p[2]!==void 0?(Mc.test(p[2])&&(a=RegExp("</"+p[2],"g")),s=Ft):p[3]!==void 0&&(s=Ft):s===Ft?p[0]===">"?(s=a??po,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,u=p[1],s=p[3]===void 0?Ft:p[3]==='"'?_c:wc):s===_c||s===wc?s=Ft:s===Oc||s===Rc?s=po:(s=Ft,a=void 0);let v=s===Ft&&t[c+1].startsWith("/>")?" ":"";i+=s===po?d+I0:h>=0?(o.push(u),d.slice(0,h)+la+d.slice(h)+ft+v):d+ft+(h===-2?c:v)}return[Pc(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},go=class t{constructor({strings:e,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[u,p]=kc(e,r);if(this.el=t.createElement(u,o),Gt.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Gt.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(la)){let g=p[s++],v=a.getAttribute(h).split(ft),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:S[2],strings:v,ctor:S[1]==="."?rn:S[1]==="?"?on:S[1]==="@"?nn:jt}),a.removeAttribute(h)}else h.startsWith(ft)&&(d.push({type:6,index:i}),a.removeAttribute(h));if(Mc.test(a.tagName)){let h=a.textContent.split(ft),g=h.length-1;if(g>0){a.textContent=en?en.emptyScript:"";for(let v=0;v<g;v++)a.append(h[v],ho()),Gt.nextNode(),d.push({type:2,index:++i});a.append(h[g],ho())}}}else if(a.nodeType===8)if(a.data===da)d.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(ft,h+1))!==-1;)d.push({type:7,index:i}),h+=ft.length-1}i++}}static createElement(e,r){let o=Wt.createElement("template");return o.innerHTML=e,o}};function Vt(t,e,r=t,o){if(e===le)return e;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=mo(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(e=Vt(t,a._$AS(t,e.values),a,o)),e}var tn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,a=(e?.creationScope??Wt).importNode(r,!0);Gt.currentNode=a;let i=Gt.nextNode(),s=0,c=0,d=o[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new vr(i,i.nextSibling,this,e):d.type===1?u=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(u=new an(i,this,e)),this._$AV.push(u),d=o[++c]}s!==d?.index&&(i=Gt.nextNode(),s++)}return Gt.currentNode=Wt,a}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},vr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,a){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Vt(this,e,r),mo(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==le&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Nc(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==G&&mo(this._$AH)?this._$AA.nextSibling.data=e:this.T(Wt.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=go.createElement(Pc(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new tn(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(e){let r=Tc.get(e.strings);return r===void 0&&Tc.set(e.strings,r=new go(e)),r}k(e){ua(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of e)a===r.length?r.push(o=new t(this.O(ho()),this.O(ho()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,a,i){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=G}_$AI(e,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)e=Vt(this,e,r,0),s=!mo(e)||e!==this._$AH&&e!==le,s&&(this._$AH=e);else{let c=e,d,u;for(e=i[0],d=0;d<i.length-1;d++)u=Vt(this,c[o+d],r,d),u===le&&(u=this._$AH[d]),s||=!mo(u)||u!==this._$AH[d],u===G?e=G:e!==G&&(e+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.j(e)}j(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},rn=class extends jt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===G?void 0:e}},on=class extends jt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},nn=class extends jt{constructor(e,r,o,a,i){super(e,r,o,a,i),this.type=5}_$AI(e,r=this){if((e=Vt(this,e,r,0)??G)===le)return;let o=this._$AH,a=e===G&&o!==G||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,i=e!==G&&(o===G||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},an=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Vt(this,e)}},ma={M:la,P:ft,A:da,C:1,L:kc,R:tn,D:Nc,V:Vt,I:vr,H:jt,N:on,U:nn,B:rn,F:an},z0=ca.litHtmlPolyfillSupport;z0?.(go,vr),(ca.litHtmlVersions??=[]).push("3.3.0");var ga=(t,e,r)=>{let o=r?.renderBefore??e,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new vr(e.insertBefore(ho(),i),i,void 0,r??{})}return a._$AI(t),a};var ya=globalThis,Xe=class extends ze{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ga(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return le}};Xe._$litElement$=!0,Xe.finalized=!0,ya.litElementHydrateSupport?.({LitElement:Xe});var D0=ya.litElementPolyfillSupport;D0?.({LitElement:Xe});var Ic={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(ya.litElementVersions??=[]).push("4.2.0");var F3=!1;var Sa={};q(Sa,{customElement:()=>U0,eventOptions:()=>$0,property:()=>R,query:()=>Ee,queryAll:()=>xa,queryAssignedElements:()=>G0,queryAssignedNodes:()=>va,queryAsync:()=>F0,standardProperty:()=>zc,state:()=>ae});var U0=t=>(e,r)=>{r!==void 0?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};var B0={attribute:!0,type:String,converter:xr,reflect:!1,hasChanged:fo},zc=(t=B0,e,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(o==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+o)};function R(t){return(e,r)=>typeof r=="object"?zc(t,e,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function ae(t){return R({...t,state:!0,attribute:!1})}function $0(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var We=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function Ee(t,e){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return We(r,o,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return We(r,o,{get(){return i(this)}})}}var H0;function xa(t){return(e,r)=>We(e,r,{get(){return(this.renderRoot??(H0??=document.createDocumentFragment())).querySelectorAll(t)}})}function F0(t){return(e,r)=>We(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function G0(t){return(e,r)=>{let{slot:o,selector:a}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return We(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter((d=>d.matches(a)))}})}}function va(t){return(e,r)=>{let{slot:o}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return We(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Ca={};q(Ca,{repeat:()=>Rt});var Je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},_e=t=>(...e)=>({_$litDirective$:t,values:e}),De=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:W0}=ma;var Uc=t=>t.strings===void 0,Dc=()=>document.createComment(""),Sr=(t,e,r)=>{let o=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=o.insertBefore(Dc(),a),s=o.insertBefore(Dc(),a);r=new W0(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let u=d.nextSibling;o.insertBefore(d,a),d=u}}}return r},Ot=(t,e,r=t)=>(t._$AI(e,r),t),V0={},Bc=(t,e=V0)=>t._$AH=e,$c=t=>t._$AH,sn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var Hc=(t,e,r)=>{let o=new Map;for(let a=e;a<=r;a++)o.set(t[a],a);return o},Rt=_e(class extends De{constructor(t){if(super(t),t.type!==Je.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let a=[],i=[],s=0;for(let c of t)a[s]=o?o(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let a=$c(t),{values:i,keys:s}=this.dt(e,r,o);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],u,p,h=0,g=a.length-1,v=0,S=i.length-1;for(;h<=g&&v<=S;)if(a[h]===null)h++;else if(a[g]===null)g--;else if(c[h]===s[v])d[v]=Ot(a[h],i[v]),h++,v++;else if(c[g]===s[S])d[S]=Ot(a[g],i[S]),g--,S--;else if(c[h]===s[S])d[S]=Ot(a[h],i[S]),Sr(t,d[S+1],a[h]),h++,S--;else if(c[g]===s[v])d[v]=Ot(a[g],i[v]),Sr(t,a[h],a[g]),g--,v++;else if(u===void 0&&(u=Hc(s,v,S),p=Hc(c,h,g)),u.has(c[h]))if(u.has(c[g])){let L=p.get(s[v]),_=L!==void 0?a[L]:null;if(_===null){let N=Sr(t,a[h]);Ot(N,i[v]),d[v]=N}else d[v]=Ot(_,i[v]),Sr(t,a[h],_),a[L]=null;v++}else sn(a[g]),g--;else sn(a[h]),h++;for(;v<=S;){let L=Sr(t,d[S+1]);Ot(L,i[v]),d[v++]=L}for(;h<=g;){let L=a[h++];L!==null&&sn(L)}return this.ut=s,Bc(t,d),le}});var Ea={};q(Ea,{classMap:()=>Ae});var Ae=_e(class extends De{constructor(t){if(super(t),t.type!==Je.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((o=>o!==""))));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let a=!!e[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return le}});var La={};q(La,{styleMap:()=>Aa});var Fc="important",j0=" !"+Fc,Aa=_e(class extends De{constructor(t){if(super(t),t.type!==Je.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let a=e[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(j0);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?Fc:""):r[o]=a}}return le}});var Oa={};q(Oa,{UnsafeHTMLDirective:()=>Cr,unsafeHTML:()=>Kt});var Cr=class extends De{constructor(e){if(super(e),this.it=G,e.type!==Je.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===G||e==null)return this._t=void 0,this.it=e;if(e===le)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Cr.directiveName="unsafeHTML",Cr.resultType=1;var Kt=_e(Cr);var za={};q(za,{CacheRegistry:()=>Qe,ClearCacheEvent:()=>xo});var wa={};q(wa,{CancelablePromise:()=>cn,CanceledPromiseError:()=>Zt,cancelable:()=>Ra});var Zt=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},cn=class extends Promise{constructor(e){super((r,o)=>e(a=>{this.isCanceled?o(new Zt("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Zt("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ra=t=>new cn((e,r)=>t.then(e).catch(r));var Ia={};q(Ia,{FtNotificationEvent:()=>bo,PostResizeEvent:()=>ka,PreResizeEvent:()=>Pa,WithEventBus:()=>ht,withEventBus:()=>un});var Ma={};q(Ma,{applyMixinOnce:()=>ye,customElements:()=>de,dateReviver:()=>X0,deepCopy:()=>Ve,deepEqual:()=>Te,delay:()=>ln,eventPathContainsMatchingElement:()=>Ta,everyDeep:()=>q0,flatDeep:()=>Vc,forEachDeep:()=>jc,getComposedPathTo:()=>Na,hasChanged:()=>pt,ignoreComposingEvents:()=>t4,last:()=>Q0,minmax:()=>qt,parseDate:()=>Zc,randomId:()=>e4,someDeep:()=>Kc,unslotText:()=>dn,waitFor:()=>Wc,waitUntil:()=>Y0});var _a={};q(_a,{customElement:()=>yo,dateProperty:()=>Z0,isNumber:()=>Gc,jsonProperty:()=>he,numberProperty:()=>Yt,optionalNumberProperty:()=>K0});var yo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function he(t,e){return R({type:Object,converter:{fromAttribute:r=>{if(r==null)return Ve(t);try{return JSON.parse(r)}catch{return Ve(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:pt,...e??{}})}function K0(t){return Yt(t)}function Yt(t){return R({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let a=(r=t?.min)!==null&&r!==void 0?r:-1/0,i=(o=t?.max)!==null&&o!==void 0?o:1/0;return Gc(e)?qt(a,+e,i):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Gc(t){return!isNaN(parseFloat(t))}function Z0(t){return R({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var ln=t=>new Promise(e=>setTimeout(e,t));async function Y0(t,e=10,r=2e4){await Wc(async()=>await t()||void 0,e,r)}async function Wc(t,e=10,r=2e4){let o=await t(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await ln(e),o=await t(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function Vc(t,e){return t.flatMap(r=>[r,...Vc(e(r),e)])}function jc(t,e,r){let o=(a,i)=>{var s;for(let c=0;c<a.length;c++){let d=a[c];if(!(((s=r(d,c,a,i))!==null&&s!==void 0?s:!0)&&o(e(d),[...i,d])))return!1}return!0};o(t,[])}function Kc(t,e,r){let o=!1;return jc(t,e,(a,i,s,c)=>(o=!!r(a,i,s,c),!o)),o}function q0(t,e,r){return!Kc(t,e,(o,a,i,s)=>!r(o,a,i,s))}function X0(...t){return(e,r)=>t.includes(e)?Zc(r):r}function Zc(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,a)=>r+o+":"+a),new Date(t)}function J0(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,o,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Te(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!Te(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!Te(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Te(t,e){try{return J0(t,e)}catch{return!1}}function pt(t,e){return!Te(t,e)}function Ta(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function qt(t,e,r){return Math.min(Math.max(t,e),r)}function Q0(t){return t[t.length-1]}function dn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>dn(e)).join(""):t?.textContent||""}function Na(t){let e=[],r=o=>{o.stopPropagation(),e=o.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Ve(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function e4(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function ye(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let a=e(o);return a[t]=!0,a}}function t4(){return function(t,e,r){let o=r.value;r.value=function(a){if(!(a.isComposing||a.keyCode===229))return o.apply(this,[a])}}}function de(t){for(let[e,r]of Object.entries(t))yo(e)(r)}var bo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Pa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ka=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},un=ye(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}),ht=class extends un(Object){};var xo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Qe=class extends ht{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var a;let i=this.content[e],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[e]={...i,loader:r,final:o,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new xo(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new xo([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,a;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[e])===null||a===void 0||delete a.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let a=async()=>r,i="RESOLVED";this.content[e]={loader:a,final:o,status:i,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let a=this.content[e];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=Ra(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(e),a.clearTimeout=window.setTimeout(()=>this.clear(e),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Ha={};q(Ha,{ClusteringHelper:()=>$a,formatHierarchicalValues:()=>Ba});var Ua={};q(Ua,{accessBreadcrumb:()=>n4,accessResult:()=>Da,accessResultId:()=>r4,accessResultUrl:()=>o4});function Da(t){var e,r,o,a;return(a=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&a!==void 0?a:t?.htmlPackagePage}function r4(t){var e,r,o,a,i,s,c,d,u;return(d=(s=(a=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&a!==void 0?a:(i=t?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.packageId)!==null&&d!==void 0?d:(u=t?.htmlPackagePage)===null||u===void 0?void 0:u.contentId}function o4(t){var e,r,o,a,i,s,c,d,u;return(d=(s=(a=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&a!==void 0?a:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.viewerUrl)!==null&&d!==void 0?d:(u=t?.htmlPackagePage)===null||u===void 0?void 0:u.viewerUrl}function n4(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function Ba(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var $a=class t{constructor(e,r,o,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static findResultWithMetadataValue(e,r,o){return e?.find(a=>{var i;return((i=this.extractResultMetadata({result:a}).find(s=>s.key==r))===null||i===void 0?void 0:i.value)==o})}static extractResultMetadata(e){var r,o;let a=(o=(r=Da(e.result))===null||r===void 0?void 0:r.metadata)!==null&&o!==void 0?o:[];return e.key==null?t.flattenMetadata(a,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(a.find(i=>i.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(Ba(c)),s.push(Ba(c,r))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>o?o(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,o="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),u=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(h=>t.extractResultMetadata({result:h,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(h=>h??{key:e,label:u,value:void 0,displayValue:o}).filter(h=>h.value!=d?.value).filter((h,g,v)=>v.findIndex(S=>S.value===h.value)===g).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,g)=>this.compareMetadata(h.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,o,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of o){let u=this.countMatchingMetadata(d,i);if(u>c&&(c=u,s=d,u===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Fa={};q(Fa,{Debouncer:()=>Le});var Le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),i=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let s of o)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var si={};q(si,{designSystemVariables:()=>ee});var ii={};q(ii,{DesignSystemFamily:()=>mt,DesignSystemSize:()=>gt,FtCssVariableFactory:()=>n,badge:()=>m4,banner:()=>h4,button:()=>x,card:()=>i4,chart:()=>T4,checkbox:()=>c4,chip:()=>u4,chipChoice:()=>d4,chipGroup:()=>f4,collapsible:()=>w4,combobox:()=>O4,dateRangePicker:()=>D4,drawer:()=>S4,floatingMenu:()=>L4,foundation:()=>l,link:()=>p4,modal:()=>v4,notice:()=>M4,notification:()=>k4,pageDesigner:()=>N4,pageFooter:()=>b4,pageHeader:()=>y4,pageLayout:()=>x4,popover:()=>R4,radio:()=>l4,reorderableList:()=>z4,resolveFamilyClass:()=>ni,resolveSizeClass:()=>ai,semantic:()=>f,setVariable:()=>w,switch_:()=>_4,table:()=>V,tabs:()=>C4,textArea:()=>A4,textInput:()=>E4,titleBreadcrumb:()=>g4,toggle:()=>P4,tooltip:()=>I4,treeList:()=>s4,typographies:()=>fn,typographyBody1Medium:()=>Za,typographyBody1Regular:()=>Ka,typographyBody1Semibold:()=>Ya,typographyBody2Medium:()=>Xa,typographyBody2MediumUnderline:()=>Yc,typographyBody2Regular:()=>qa,typographyBody2Semibold:()=>Ja,typographyCaption1Medium:()=>Qa,typographyCaption1Semibold:()=>ei,typographyCaption2Bold:()=>oi,typographyCaption2Medium:()=>ti,typographyCaption2Semibold:()=>ri,typographyDisplay:()=>Ga,typographyTitle1:()=>Wa,typographyTitle2:()=>Va,typographyTitle3:()=>ja,typographyVariants:()=>a4});var wt=t=>typeof t=="string"?Lt(t):t,n=class{static create(e,r,o,a){let i=c=>wt(c??a),s=B`var(${wt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>w(s,c??i(a)),s.get=c=>B`var(${wt(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,o,a){let i=c=>o.get(c??a),s=B`var(${wt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>w(s,c??i(a)),s.get=c=>B`var(${wt(e)}, ${i(c)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(e,r){let o=i=>e.defaultCssValue(i),a=B`var(${wt(e.name)}, ${o(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>e.set(i),a.get=i=>B`var(${wt(e.name)}, ${o(i)})`,a.breadcrumb=()=>e.breadcrumb(),a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function w(t,e){return wt(`${t.name}: ${e}`)}var l={colorWhite:n.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:n.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:n.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ftds-opacity-0","","NUMBER","0"),opacity4:n.create("--ftds-opacity-4","","NUMBER","0.04"),opacity8:n.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:n.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:n.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:n.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:n.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:n.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:n.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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)")},Ga={fontFamily:n.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:n.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Wa={fontFamily:n.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:n.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Va={fontFamily:n.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:n.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ja={fontFamily:n.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:n.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:n.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Ka={fontFamily:n.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Za={fontFamily:n.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ya={fontFamily:n.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:n.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},qa={fontFamily:n.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:n.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Xa={fontFamily:n.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Yc={fontFamily:n.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:n.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:n.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ja={fontFamily:n.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:n.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:n.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:n.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:n.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Qa={fontFamily:n.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},ei={fontFamily:n.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:n.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ti={fontFamily:n.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:n.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ri={fontFamily:n.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:n.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},oi={fontFamily:n.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:n.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:n.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:n.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:n.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:n.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:n.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:n.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},fn={display:Ga,"title-1":Wa,"title-2":Va,"title-3":ja,"body-1-regular":Ka,"body-1-medium":Za,"body-1-semibold":Ya,"body-2-regular":qa,"body-2-medium":Xa,"body-2-medium-underline":Yc,"body-2-semibold":Ja,"caption-1-medium":Qa,"caption-1-semibold":ei,"caption-2-medium":ti,"caption-2-semibold":ri,"caption-2-bold":oi},a4=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var f={backgroundActionPrimary:n.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:n.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:n.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:n.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:n.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:n.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:n.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:n.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:n.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:n.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:n.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:n.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:n.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:n.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:n.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:n.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:n.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:n.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:n.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:n.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:n.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:n.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:n.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:n.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:n.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:n.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:n.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:n.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:n.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:n.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:n.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:n.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:n.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:n.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var x={largeHeight:n.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:n.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:n.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:n.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:n.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:n.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:n.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:n.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:n.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:n.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:n.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:n.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:n.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:n.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ftds-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:n.extend("--ftds-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ftds-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ftds-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:n.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:n.extend("--ftds-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ftds-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ftds-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ftds-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:n.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:n.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:n.extend("--ftds-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ftds-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ftds-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:n.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:n.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:n.extend("--ftds-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ftds-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ftds-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:n.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:n.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:n.extend("--ftds-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ftds-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ftds-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:n.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:n.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:n.extend("--ftds-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ftds-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ftds-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:n.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:n.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:n.extend("--ftds-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ftds-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ftds-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:n.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:n.extend("--ftds-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:n.extend("--ftds-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ftds-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:n.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:n.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:n.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:n.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:n.extend("--ftds-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:n.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:n.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:n.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:n.extend("--ftds-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ftds-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ftds-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ftds-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:n.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:n.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:n.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:n.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:n.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:n.extend("--ftds-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:n.extend("--ftds-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ftds-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ftds-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:n.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:n.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:n.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:n.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:n.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:n.extend("--ftds-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:n.extend("--ftds-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ftds-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ftds-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:n.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:n.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:n.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:n.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:n.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:n.extend("--ftds-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:n.extend("--ftds-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ftds-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ftds-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:n.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:n.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:n.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:n.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:n.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:n.extend("--ftds-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:n.extend("--ftds-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ftds-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ftds-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var i4={borderRadius:n.extend("--ftds-card-border-radius","",l.borderRadiusS),focusFocusRingColor:n.extend("--ftds-card-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:n.extend("--ftds-card-header-title-horizontal-padding","",l.spacing4),headerTitleVerticalPadding:n.extend("--ftds-card-header-title-vertical-padding","",l.spacing3),headerActionHorizontalPadding:n.extend("--ftds-card-header-action-horizontal-padding","",l.spacing2),headerActionVerticalPadding:n.extend("--ftds-card-header-action-vertical-padding","",l.spacing2),headerActionGap:n.extend("--ftds-card-header-action-gap","",l.spacing1),bodyHorizontalPadding:n.extend("--ftds-card-body-horizontal-padding","",l.spacing4),bodyVerticalPadding:n.extend("--ftds-card-body-vertical-padding","",l.spacing4),footerActionHorizontalPadding:n.extend("--ftds-card-footer-action-horizontal-padding","",l.spacing2),footerActionVerticalPadding:n.extend("--ftds-card-footer-action-vertical-padding","",l.spacing2),footerActionGap:n.extend("--ftds-card-footer-action-gap","",l.spacing1),footerContentHorizontalPadding:n.extend("--ftds-card-footer-content-horizontal-padding","",l.spacing4),footerContentVerticalPadding:n.extend("--ftds-card-footer-content-vertical-padding","",l.spacing3),sideBarHorizontalPadding:n.extend("--ftds-card-side-bar-horizontal-padding","",l.spacing1),sideBarVerticalPadding:n.extend("--ftds-card-side-bar-vertical-padding","",l.spacing1),sideBarGap:n.extend("--ftds-card-side-bar-gap","",l.spacing1),nonSelectableBorderWidth:n.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:n.extend("--ftds-card-non-selectable-state-layer-color","",f.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:n.extend("--ftds-card-non-selectable-default-background-color","",f.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:n.extend("--ftds-card-non-selectable-default-border-color","",f.borderGlobalSecondary),nonSelectableHoverBorderColor:n.extend("--ftds-card-non-selectable-hover-border-color","",f.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:n.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",l.opacity4),nonSelectableFocusBorderColor:n.extend("--ftds-card-non-selectable-focus-border-color","",f.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:n.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",l.opacity4),internalBorderColor:n.extend("--ftds-card-internal-border-color","",f.borderGlobalSecondary),selectableUnselectedBorderWidth:n.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:n.extend("--ftds-card-selectable-unselected-state-layer-color","",f.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:n.extend("--ftds-card-selectable-unselected-default-background-color","",f.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:n.extend("--ftds-card-selectable-unselected-default-border-color","",f.borderGlobalSecondary),selectableUnselectedHoverBorderColor:n.extend("--ftds-card-selectable-unselected-hover-border-color","",f.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:n.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",l.opacity4),selectableUnselectedFocusBorderColor:n.extend("--ftds-card-selectable-unselected-focus-border-color","",f.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:n.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",l.opacity4),selectableSelectedBorderColor:n.extend("--ftds-card-selectable-selected-border-color","",f.borderActionPrimary),selectableSelectedBorderWidth:n.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:n.extend("--ftds-card-selectable-selected-state-layer-color","",f.contentActionPrimary),selectableSelectedBackgroundColor:n.extend("--ftds-card-selectable-selected-background-color","",f.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:n.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",l.opacity4),selectableSelectedHoverStateLayerOpacity:n.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",l.opacity4),selectableSelectedFocusStateLayerOpacity:n.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",l.opacity4),internalBorderWidth:n.create("--ftds-card-internal-border-width","","SIZE","1px")};var s4={loadMoreIconSize:n.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:n.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-unselected-default-border-color","",f.borderGlobalSubtle),loadMoreIconColor:n.extend("--ftds-tree-list-load-more-icon-color","",f.contentActionPrimary),loadMoreLabelColor:n.extend("--ftds-tree-list-load-more-label-color","",f.contentActionPrimary),loadMoreHoverBorderColor:n.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:n.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:n.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:n.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:n.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:n.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",f.borderGlobalPrimary),loadMoreLabelMarginLeft:n.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:n.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:n.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:n.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:n.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:n.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:n.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:n.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:n.extend("--ftds-tree-list-node-unselected-default-border-color","",f.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ftds-tree-list-node-unselected-icon-color","",f.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ftds-tree-list-node-unselected-label-color","",f.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ftds-tree-list-node-unselected-counter-color","",f.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ftds-tree-list-node-hover-border-color","",f.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ftds-tree-list-node-focus-focus-ring-color","",f.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-selected-default-border-color","",f.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ftds-tree-list-node-selected-icon-color","",f.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ftds-tree-list-node-selected-label-color","",f.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ftds-tree-list-node-selected-counter-color","",f.contentGlobalSecondary),nodeSelectedBackgroundColor:n.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",f.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",f.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:n.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:n.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:n.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:n.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:n.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:n.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:n.extend("--ftds-tree-list-header-section-color","",f.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ftds-tree-list-header-section-counter-color","",f.contentGlobalSecondary),listContainerBorderWidth:n.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ftds-tree-list-list-container-background-color","",f.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ftds-tree-list-list-container-border-color","",f.borderGlobalSubtle),emptyStateIllustrationWidth:n.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:n.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:n.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:n.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:n.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:n.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:n.extend("--ftds-tree-list-empty-state-title-label-color","",f.contentGlobalSecondary),emptyStateDescriptionLabelColor:n.extend("--ftds-tree-list-empty-state-description-label-color","",f.contentGlobalSecondary)};var c4={iconSize:n.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:n.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:n.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:n.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:n.extend("--ftds-checkbox-label-horizontal-gap","",l.spacing1),color:n.extend("--ftds-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ftds-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:n.extend("--ftds-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:n.extend("--ftds-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:n.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:n.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:n.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:n.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:n.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:n.extend("--ftds-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:n.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:n.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:n.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),helperPaddingTop:n.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:n.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:n.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:n.extend("--ftds-checkbox-error-unchecked-border-color","",f.borderErrorPrimary),errorStateLayerColor:n.extend("--ftds-checkbox-error-state-layer-color","",f.contentErrorPrimary),errorHelperTextColor:n.extend("--ftds-checkbox-error-helper-text-color","",f.borderErrorPrimary),errorCheckedBackgroundColor:n.extend("--ftds-checkbox-error-checked-background-color","",f.contentErrorPrimary),helperTextColor:n.extend("--ftds-checkbox-helper-text-color","",f.contentGlobalSubtle),groupVerticalGap:n.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var l4={circleSize:n.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ftds-radio-border-width","","SIZE","2px"),color:n.extend("--ftds-radio-color","",f.contentGlobalPrimary),selectedRadioColor:n.extend("--ftds-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:n.extend("--ftds-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:n.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:n.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:n.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:n.extend("--ftds-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:n.extend("--ftds-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:n.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:n.extend("--ftds-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:n.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:n.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var V={headerRowBorderWidth:n.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ftds-table-header-row-background-color","",f.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ftds-table-header-row-border-color","",f.borderGlobalPrimary),headerRowColor:n.extend("--ftds-table-header-row-color","",f.contentGlobalPrimary),dataRowBorderWidth:n.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ftds-table-data-row-background-color","",f.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ftds-table-data-row-border-color","",f.borderGlobalSubtle),dataRowColor:n.extend("--ftds-table-data-row-color","",f.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:n.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:n.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:n.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:n.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:n.extend("--ftds-table-data-row-selectable-selected-color","",f.contentActionPrimary),dataRowClickableHoverBackgroundColor:n.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:n.extend("--ftds-table-data-row-clickable-focus-border-color","",f.borderActionFocusRing),dataRowClickableFocusBackgroundColor:n.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:n.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:n.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:n.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:n.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:n.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:n.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:n.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var d4={neutralOffHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:n.extend("--ftds-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ftds-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:n.extend("--ftds-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ftds-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:n.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:n.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:n.extend("--ftds-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ftds-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:n.extend("--ftds-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:n.extend("--ftds-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ftds-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:n.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:n.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:n.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:n.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:n.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:n.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var u4={largeMinHeight:n.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:n.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:n.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:n.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:n.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:n.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:n.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:n.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:n.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:n.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:n.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:n.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:n.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:n.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:n.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:n.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:n.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:n.extend("--ftds-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:n.extend("--ftds-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:n.extend("--ftds-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:n.extend("--ftds-chip-neutral-border-color","",f.borderGlobalSecondary),infoBackgroundColor:n.extend("--ftds-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ftds-chip-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ftds-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:n.extend("--ftds-chip-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ftds-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:n.extend("--ftds-chip-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ftds-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:n.extend("--ftds-chip-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ftds-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-chip-error-border-color","",f.borderErrorSubtle)};var f4={horizontalGap:n.extend("--ftds-chip-group-horizontal-gap","",l.spacing2),verticalGap:n.extend("--ftds-chip-group-vertical-gap","",l.spacing2),countChipDefaultBackgroundColor:n.extend("--ftds-chip-group-count-chip-default-background-color","",l.colorBrand10),countChipDefaultBorderColor:n.extend("--ftds-chip-group-count-chip-default-border-color","",l.colorBrand60),countChipDefaultContentColor:n.extend("--ftds-chip-group-count-chip-default-content-color","",f.contentActionPrimary),countChipHoverBackgroundColor:n.extend("--ftds-chip-group-count-chip-hover-background-color","",l.colorBrand20),countChipHoverBorderColor:n.extend("--ftds-chip-group-count-chip-hover-border-color","",l.colorBrand70),countChipHoverContentColor:n.extend("--ftds-chip-group-count-chip-hover-content-color","",f.contentActionPrimary),countChipFocusedBackgroundColor:n.extend("--ftds-chip-group-count-chip-focused-background-color","",l.colorBrand20),countChipFocusedBorderColor:n.extend("--ftds-chip-group-count-chip-focused-border-color","",l.colorBrand70),countChipFocusedContentColor:n.extend("--ftds-chip-group-count-chip-focused-content-color","",f.contentActionPrimary)};var p4={brandHoverOpacity:n.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:n.extend("--ftds-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ftds-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:n.extend("--ftds-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:n.extend("--ftds-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:n.extend("--ftds-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:n.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:n.extend("--ftds-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ftds-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:n.extend("--ftds-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:n.extend("--ftds-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:n.extend("--ftds-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ftds-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:n.extend("--ftds-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:n.extend("--ftds-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:n.extend("--ftds-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:n.extend("--ftds-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:n.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var h4={iconSize:n.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:n.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:n.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:n.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:n.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:n.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:n.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:n.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:n.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:n.extend("--ftds-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ftds-banner-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ftds-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-banner-info-border-color","",f.borderInfoSubtle)};var m4={horizontalPadding:n.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:n.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:n.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:n.extend("--ftds-badge-color","",f.contentGlobalOnColor),backgroundColor:n.extend("--ftds-badge-background-color","",f.contentActionPrimary)};var g4={horizontalGap:n.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:n.extend("--ftds-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:n.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:n.extend("--ftds-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var y4={parentHorizontalPadding:n.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:n.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:n.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:n.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:n.extend("--ftds-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:n.extend("--ftds-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:n.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:n.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:n.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:n.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:n.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:n.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:n.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:n.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:n.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:n.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:n.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:n.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:n.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:n.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:n.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:n.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:n.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:n.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:n.extend("--ftds-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:n.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var b4={horizontalPadding:n.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:n.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:n.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:n.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:n.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:n.extend("--ftds-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:n.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var x4={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var v4={smallContainerTargetWidth:n.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:n.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:n.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:n.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:n.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:n.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:n.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:n.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:n.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:n.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:n.extend("--ftds-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:n.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:n.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:n.extend("--ftds-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-modal-header-border-color","",f.borderGlobalSubtle),headerColor:n.extend("--ftds-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ftds-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:n.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:n.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:n.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:n.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:n.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:n.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var S4={overlayOpacity:n.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:n.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:n.extend("--ftds-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:n.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:n.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:n.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:n.extend("--ftds-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:n.extend("--ftds-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ftds-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:n.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:n.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:n.extend("--ftds-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ftds-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:n.extend("--ftds-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:n.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:n.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:n.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var C4={offBorderBottomWidth:n.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:n.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:n.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:n.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:n.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:n.extend("--ftds-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:n.extend("--ftds-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:n.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:n.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:n.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:n.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:n.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:n.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:n.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:n.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:n.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:n.extend("--ftds-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ftds-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ftds-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:n.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:n.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:n.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:n.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:n.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var E4={largeFieldHorizontalPadding:n.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:n.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:n.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:n.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:n.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:n.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:n.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:n.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:n.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:n.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:n.extend("--ftds-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:n.extend("--ftds-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-input-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-input-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-input-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var A4={backgroundColor:n.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:n.extend("--ftds-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:n.extend("--ftds-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:n.extend("--ftds-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:n.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:n.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:n.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:n.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:n.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:n.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:n.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var L4={height:n.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:n.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),verticalPadding:n.extend("--ftds-floating-menu-vertical-padding","",l.spacing2),offIconColor:n.extend("--ftds-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:n.extend("--ftds-floating-menu-off-color","",f.contentGlobalPrimary),onColor:n.extend("--ftds-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ftds-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:n.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:n.extend("--ftds-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity24),hoverStateLayerOpacity:n.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:n.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:n.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:n.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:n.extend("--ftds-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:n.extend("--ftds-floating-menu-shadow","",l.shadowElevation02),multiselectCheckedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",f.contentActionPrimary),multiselectCheckedColor:n.extend("--ftds-floating-menu-multiselect-checked-color","",f.contentGlobalPrimary),multiselectCheckedIconColor:n.extend("--ftds-floating-menu-multiselect-checked-icon-color","",f.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",l.opacity8),multiselectCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",l.opacity16),multiselectCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",l.opacity24),multiselectIndeterminatedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",f.contentActionPrimary),multiselectIndeterminatedColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-color","",f.contentGlobalPrimary),multiselectIndeterminatedIconColor:n.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",f.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",l.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",l.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",l.opacity24),multiselectUncheckedStateLayerColor:n.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",f.contentGlobalPrimary),multiselectUncheckedColor:n.extend("--ftds-floating-menu-multiselect-unchecked-color","",f.contentGlobalPrimary),multiselectUncheckedIconColor:n.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",f.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",l.opacity0),multiselectUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",l.opacity8),multiselectUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",l.opacity16),selectAllCheckedStateLayerColor:n.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",f.contentActionPrimary),selectAllCheckedColor:n.extend("--ftds-floating-menu-select-all-checked-color","",f.contentGlobalPrimary),selectAllCheckedIconColor:n.extend("--ftds-floating-menu-select-all-checked-icon-color","",f.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",l.opacity0),selectAllCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",l.opacity16),selectAllCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",l.opacity24),selectAllIndeterminatedStateLayerColor:n.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",f.contentGlobalPrimary),selectAllIndeterminatedColor:n.extend("--ftds-floating-menu-select-all-indeterminated-color","",f.contentGlobalPrimary),selectAllIndeterminatedIconColor:n.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",f.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",l.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",l.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",l.opacity16),selectAllUncheckedStateLayerColor:n.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",f.contentGlobalPrimary),selectAllUncheckedColor:n.extend("--ftds-floating-menu-select-all-unchecked-color","",f.contentGlobalPrimary),selectAllUncheckedIconColor:n.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",f.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",l.opacity0),selectAllUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",l.opacity8),selectAllUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",l.opacity16),defaultUncheckedStateLayerColor:n.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",f.contentGlobalPrimary),defaultUncheckedColor:n.extend("--ftds-floating-menu-default-unchecked-color","",f.contentGlobalPrimary),defaultUncheckedIconColor:n.extend("--ftds-floating-menu-default-unchecked-icon-color","",f.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",l.opacity0),defaultUncheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",l.opacity8),defaultUncheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",l.opacity16),defaultCheckedStateLayerColor:n.extend("--ftds-floating-menu-default-checked-state-layer-color","",f.contentActionPrimary),defaultCheckedColor:n.extend("--ftds-floating-menu-default-checked-color","",f.contentActionPrimary),defaultCheckedIconColor:n.extend("--ftds-floating-menu-default-checked-icon-color","",f.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",l.opacity8),defaultCheckedHoverStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",l.opacity16),defaultCheckedFocusStateLayerOpacity:n.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",l.opacity24)};var O4={menuVerticalGap:n.extend("--ftds-combobox-menu-vertical-gap","",l.spacing2),menuNewValuePaddingTop:n.extend("--ftds-combobox-menu-new-value-padding-top","",l.spacing4),menuNewValuePaddingBottom:n.extend("--ftds-combobox-menu-new-value-padding-bottom","",l.spacing1),menuNewValueHorizontalPadding:n.extend("--ftds-combobox-menu-new-value-horizontal-padding","",l.spacing4),menuNewValueLabelColor:n.extend("--ftds-combobox-menu-new-value-label-color","",f.contentGlobalSubtle),menuNewValueBorderColor:n.extend("--ftds-combobox-menu-new-value-border-color","",f.borderGlobalPrimary),menuNewValueBorderWidth:n.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuMessagePaddingTop:n.extend("--ftds-combobox-menu-message-padding-top","",l.spacing2),menuMessagePaddingBottom:n.extend("--ftds-combobox-menu-message-padding-bottom","",l.spacing2),menuMessageHorizontalPadding:n.extend("--ftds-combobox-menu-message-horizontal-padding","",l.spacing4),menuMessageLabelColor:n.extend("--ftds-combobox-menu-message-label-color","",f.contentGlobalSubtle),valuesChipBackgroundColor:n.extend("--ftds-combobox-values-chip-background-color","",f.backgroundGlobalOnSurface),valuesChipBorderColor:n.extend("--ftds-combobox-values-chip-border-color","",f.borderInputPrimary)};var R4={backgroundColor:n.extend("--ftds-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:n.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:n.extend("--ftds-popover-title-color","",f.contentGlobalPrimary),bodyColor:n.extend("--ftds-popover-body-color","",f.contentGlobalSecondary),gap:n.extend("--ftds-popover-gap","",l.spacing2),borderRadius:n.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:n.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:n.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:n.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:n.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var w4={hoverStateLayerOpacity:n.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:n.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:n.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ftds-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:n.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:n.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:n.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:n.extend("--ftds-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:n.extend("--ftds-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:n.extend("--ftds-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:n.extend("--ftds-collapsible-border-color","",f.borderGlobalSubtle),iconSize:n.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var _4={groupHorizontalPadding:n.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:n.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:n.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:n.extend("--ftds-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:n.extend("--ftds-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:n.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:n.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:n.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:n.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:n.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:n.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:n.extend("--ftds-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:n.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:n.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:n.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:n.extend("--ftds-switch-on-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ftds-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:n.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:n.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:n.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:n.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var T4={color1Light:n.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:n.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:n.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:n.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:n.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:n.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:n.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:n.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:n.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:n.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:n.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:n.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:n.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:n.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:n.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:n.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:n.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:n.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:n.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:n.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:n.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:n.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:n.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:n.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:n.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:n.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:n.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:n.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:n.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:n.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:n.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var N4={color1IconColor:n.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:n.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:n.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:n.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:n.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:n.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:n.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:n.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:n.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:n.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:n.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:n.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:n.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:n.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:n.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:n.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var M4={borderWidth:n.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:n.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:n.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:n.extend("--ftds-notice-gap","",l.spacing2),iconSize:n.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:n.extend("--ftds-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:n.extend("--ftds-notice-info-border-color","",f.borderInfoSubtle),infoColor:n.extend("--ftds-notice-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ftds-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:n.extend("--ftds-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:n.extend("--ftds-notice-warning-border-color","",f.borderWarningSubtle),warningColor:n.extend("--ftds-notice-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ftds-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:n.extend("--ftds-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:n.extend("--ftds-notice-error-border-color","",f.borderErrorSubtle),errorColor:n.extend("--ftds-notice-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ftds-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:n.extend("--ftds-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:n.extend("--ftds-notice-success-border-color","",f.borderSuccessSubtle),successColor:n.extend("--ftds-notice-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ftds-notice-success-icon-color","",f.contentSuccessIconOnly),denseHorizontalPadding:n.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:n.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:n.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:n.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:n.create("--ftds-notice-dense-border-width","","SIZE","0")};var P4={offHoverStateLayerOpacity:n.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:n.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:n.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:n.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:n.extend("--ftds-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:n.extend("--ftds-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:n.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:n.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:n.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:n.extend("--ftds-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:n.extend("--ftds-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:n.extend("--ftds-toggle-on-icon-color","",f.contentActionPrimary),color:n.extend("--ftds-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:n.extend("--ftds-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:n.extend("--ftds-toggle-gap","",l.spacing3)};var k4={iconSize:n.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:n.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:n.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:n.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:n.extend("--ftds-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:n.extend("--ftds-notification-info-color","",f.contentInfoPrimary),infoIconColor:n.extend("--ftds-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:n.extend("--ftds-notification-success-color","",f.contentSuccessPrimary),successIconColor:n.extend("--ftds-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:n.extend("--ftds-notification-warning-color","",f.contentWarningPrimary),warningIconColor:n.extend("--ftds-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:n.extend("--ftds-notification-error-color","",f.contentErrorPrimary),errorIconColor:n.extend("--ftds-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-notification-error-border-color","",f.borderErrorSubtle),borderRadius:n.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:n.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:n.extend("--ftds-notification-trailing-gap","",l.spacing8)};var I4={horizontalPadding:n.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:n.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:n.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:n.extend("--ftds-tooltip-color","",f.contentGlobalOnColor),backgroundColor:n.extend("--ftds-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:n.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:n.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:n.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ftds-tooltip-gap","",l.spacing05)};var z4={verticalPadding:n.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:n.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:n.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:n.extend("--ftds-reorderable-list-reorderable-item-title-color","",f.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:n.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:n.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",f.contentGlobalPrimary),reorderableItemUsersCountMarginRight:n.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:n.extend("--ftds-reorderable-list-reorderable-item-background-color","",f.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",f.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",f.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ftds-reorderable-list-reorderable-item-grip-color","",f.contentGlobalSecondary),reorderableItemGripOpacity:n.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:n.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:n.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:n.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:n.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:n.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:n.extend("--ftds-reorderable-list-border-color","",f.borderGlobalPrimary),backgroundColor:n.extend("--ftds-reorderable-list-background-color","",f.backgroundGlobalOnSurfaceDark)};var D4={menuHorizontalPadding:n.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:n.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:n.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:n.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var mt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(mt||(mt={}));var gt;(function(t){t.large="large",t.medium="medium",t.small="small"})(gt||(gt={}));function ni(t){return`ftds--family-${t}`}function ai(t){return`ftds--size-${t}`}var ee={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:n.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:n.create("--ft-color-warning","","COLOR","#B74706"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:n.create("--ft-color-success","","COLOR","#187856"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:n.create("--ft-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)"),elevation02:n.create("--ft-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)"),elevation03:n.create("--ft-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)"),elevation04:n.create("--ft-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)"),elevation06:n.create("--ft-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)"),elevation08:n.create("--ft-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)"),elevation12:n.create("--ft-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)"),elevation16:n.create("--ft-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)"),elevation24:n.create("--ft-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)"),borderRadiusS:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ci={};q(ci,{DynamicImporter:()=>pn,dynamicImporter:()=>U4});var pn=class{async import(e){if(e)return import(e)}},U4=new pn;var Ci={};q(Ci,{computeOffsetAutoPosition:()=>su,computeOffsetPosition:()=>Si});var Xc=["top","right","bottom","left"],qc=["start","end"],di=Xc.reduce((t,e)=>t.concat(e,e+"-"+qc[0],e+"-"+qc[1]),[]),Xt=Math.min,Oe=Math.max,vo=Math.round;var je=t=>({x:t,y:t}),B4={left:"right",right:"left",bottom:"top",top:"bottom"};function ui(t,e,r){return Oe(t,Xt(e,r))}function Er(t,e){return typeof t=="function"?t(e):t}function _t(t){return t.split("-")[0]}function et(t){return t.split("-")[1]}function fi(t){return t==="x"?"y":"x"}function pi(t){return t==="y"?"height":"width"}function Ar(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function hi(t){return fi(Ar(t))}function Jc(t,e,r){r===void 0&&(r=!1);let o=et(t),a=hi(t),i=pi(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=li(s)),[s,li(s)]}function Qc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function li(t){let e=_t(t);return B4[e]+t.slice(e.length)}function $4(t){return{top:0,right:0,bottom:0,left:0,...t}}function el(t){return typeof t!="number"?$4(t):{top:t,right:t,bottom:t,left:t}}function Jt(t){let{x:e,y:r,width:o,height:a}=t;return{width:o,height:a,top:r,left:e,right:e+o,bottom:r+a,x:e,y:r}}function tl(t,e,r){let{reference:o,floating:a}=t,i=Ar(e),s=hi(e),c=pi(s),d=_t(e),u=i==="y",p=o.x+o.width/2-a.width/2,h=o.y+o.height/2-a.height/2,g=o[c]/2-a[c]/2,v;switch(d){case"top":v={x:p,y:o.y-a.height};break;case"bottom":v={x:p,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:h};break;case"left":v={x:o.x-a.width,y:h};break;default:v={x:o.x,y:o.y}}switch(et(e)){case"start":v[s]-=g*(r&&u?-1:1);break;case"end":v[s]+=g*(r&&u?-1:1);break}return v}async function rl(t,e){var r;e===void 0&&(e={});let{x:o,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:g=!1,padding:v=0}=Er(e,t),S=el(v),_=c[g?h==="floating"?"reference":"floating":h],N=Jt(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:p,strategy:d})),M=h==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},O=Jt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:M,offsetParent:E,strategy:d}):M);return{top:(N.top-O.top+S.top)/C.y,bottom:(O.bottom-N.bottom+S.bottom)/C.y,left:(N.left-O.left+S.left)/C.x,right:(O.right-N.right+S.right)/C.x}}var H4=50,ol=async(t,e,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:rl},d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:p,y:h}=tl(u,o,d),g=o,v=0,S={};for(let L=0;L<i.length;L++){let _=i[L];if(!_)continue;let{name:N,fn:M}=_,{x:E,y:C,data:O,reset:I}=await M({x:p,y:h,initialPlacement:o,placement:g,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:t,floating:e}});p=E??p,h=C??h,S[N]={...S[N],...O},I&&v<H4&&(v++,typeof I=="object"&&(I.placement&&(g=I.placement),I.rects&&(u=I.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):I.rects),{x:p,y:h}=tl(u,g,d)),L=-1)}return{x:p,y:h,placement:g,strategy:a,middlewareData:S}};function F4(t,e,r){return(t?[...r.filter(a=>et(a)===t),...r.filter(a=>et(a)!==t)]:r.filter(a=>_t(a)===a)).filter(a=>t?et(a)===t||(e?Qc(a)!==a:!1):!0)}var nl=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:g=di,autoAlignment:v=!0,...S}=Er(t,e),L=h!==void 0||g===di?F4(h||null,v,g):g,_=await d.detectOverflow(e,S),N=((r=s.autoPlacement)==null?void 0:r.index)||0,M=L[N];if(M==null)return{};let E=Jc(M,i,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==M)return{reset:{placement:L[0]}};let C=[_[_t(M)],_[E[0]],_[E[1]]],O=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:M,overflows:C}],I=L[N+1];if(I)return{data:{index:N+1,overflows:O},reset:{placement:I}};let H=O.map(U=>{let b=et(U.placement);return[U.placement,b&&p?U.overflows.slice(0,2).reduce((A,z)=>A+z,0):U.overflows[0],U.overflows]}).sort((U,b)=>U[1]-b[1]),K=((a=H.filter(U=>U[2].slice(0,et(U[0])?2:3).every(b=>b<=0))[0])==null?void 0:a[0])||H[0][0];return K!==c?{data:{index:N+1,overflows:O},reset:{placement:K}}:{}}}};var G4=new Set(["left","top"]);async function W4(t,e){let{placement:r,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=_t(r),c=et(r),d=Ar(r)==="y",u=G4.has(s)?-1:1,p=i&&d?-1:1,h=Er(e,t),{mainAxis:g,crossAxis:v,alignmentAxis:S}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof S=="number"&&(v=c==="end"?S*-1:S),d?{x:v*p,y:g*u}:{x:g*u,y:v*p}}var al=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await W4(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},il=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:a,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:N=>{let{x:M,y:E}=N;return{x:M,y:E}}},...u}=Er(t,e),p={x:r,y:o},h=await i.detectOverflow(e,u),g=Ar(_t(a)),v=fi(g),S=p[v],L=p[g];if(s){let N=v==="y"?"top":"left",M=v==="y"?"bottom":"right",E=S+h[N],C=S-h[M];S=ui(E,S,C)}if(c){let N=g==="y"?"top":"left",M=g==="y"?"bottom":"right",E=L+h[N],C=L-h[M];L=ui(E,L,C)}let _=d.fn({...e,[v]:S,[g]:L});return{..._,data:{x:_.x-r,y:_.y-o,enabled:{[v]:s,[g]:c}}}}}};var sl=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,o;let{placement:a,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...u}=Er(t,e),p=await s.detectOverflow(e,u),h=_t(a),g=et(a),v=Ar(a)==="y",{width:S,height:L}=i.floating,_,N;h==="top"||h==="bottom"?(_=h,N=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(N=h,_=g==="end"?"top":"bottom");let M=L-p.top-p.bottom,E=S-p.left-p.right,C=Xt(L-p[_],M),O=Xt(S-p[N],E),I=!e.middlewareData.shift,H=C,Z=O;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(Z=E),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(H=M),I&&!g){let U=Oe(p.left,0),b=Oe(p.right,0),A=Oe(p.top,0),z=Oe(p.bottom,0);v?Z=S-2*(U!==0||b!==0?U+b:Oe(p.left,p.right)):H=L-2*(A!==0||z!==0?A+z:Oe(p.top,p.bottom))}await d({...e,availableWidth:Z,availableHeight:H});let K=await s.getDimensions(c.floating);return S!==K.width||L!==K.height?{reset:{rects:!0}}:{}}}};function mn(){return typeof window<"u"}function er(t){return ll(t)?(t.nodeName||"").toLowerCase():"#document"}function Re(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function tt(t){var e;return(e=(ll(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ll(t){return mn()?t instanceof Node||t instanceof Re(t).Node:!1}function Ue(t){return mn()?t instanceof Element||t instanceof Re(t).Element:!1}function rt(t){return mn()?t instanceof HTMLElement||t instanceof Re(t).HTMLElement:!1}function cl(t){return!mn()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Re(t).ShadowRoot}function Lr(t){let{overflow:e,overflowX:r,overflowY:o,display:a}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&a!=="inline"&&a!=="contents"}function dl(t){return/^(table|td|th)$/.test(er(t))}function So(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var V4=/transform|translate|scale|rotate|perspective|filter/,j4=/paint|layout|strict|content/,Qt=t=>!!t&&t!=="none",mi;function Or(t){let e=Ue(t)?Be(t):t;return Qt(e.transform)||Qt(e.translate)||Qt(e.scale)||Qt(e.rotate)||Qt(e.perspective)||!gn()&&(Qt(e.backdropFilter)||Qt(e.filter))||V4.test(e.willChange||"")||j4.test(e.contain||"")}function ul(t){let e=yt(t);for(;rt(e)&&!tr(e);){if(Or(e))return e;if(So(e))return null;e=yt(e)}return null}function gn(){return mi==null&&(mi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),mi}function tr(t){return/^(html|body|#document)$/.test(er(t))}function Be(t){return Re(t).getComputedStyle(t)}function Co(t){return Ue(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function yt(t){if(er(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cl(t)&&t.host||tt(t);return cl(e)?e.host:e}function fl(t){let e=yt(t);return tr(e)?t.ownerDocument?t.ownerDocument.body:t.body:rt(e)&&Lr(e)?e:fl(e)}function hn(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=fl(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=Re(a);if(i){let c=yn(s);return e.concat(s,s.visualViewport||[],Lr(a)?a:[],c&&r?hn(c):[])}else return e.concat(a,hn(a,[],r))}function yn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function gl(t){let e=Be(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,a=rt(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:o,c=vo(r)!==i||vo(o)!==s;return c&&(r=i,o=s),{width:r,height:o,$:c}}function yl(t){return Ue(t)?t:t.contextElement}function Rr(t){let e=yl(t);if(!rt(e))return je(1);let r=e.getBoundingClientRect(),{width:o,height:a,$:i}=gl(e),s=(i?vo(r.width):r.width)/o,c=(i?vo(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var K4=je(0);function bl(t){let e=Re(t);return!gn()||!e.visualViewport?K4:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Z4(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Re(t)?!1:e}function Eo(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=yl(t),s=je(1);e&&(o?Ue(o)&&(s=Rr(o)):s=Rr(t));let c=Z4(i,r,o)?bl(i):je(0),d=(a.left+c.x)/s.x,u=(a.top+c.y)/s.y,p=a.width/s.x,h=a.height/s.y;if(i){let g=Re(i),v=o&&Ue(o)?Re(o):o,S=g,L=yn(S);for(;L&&o&&v!==S;){let _=Rr(L),N=L.getBoundingClientRect(),M=Be(L),E=N.left+(L.clientLeft+parseFloat(M.paddingLeft))*_.x,C=N.top+(L.clientTop+parseFloat(M.paddingTop))*_.y;d*=_.x,u*=_.y,p*=_.x,h*=_.y,d+=E,u+=C,S=Re(L),L=yn(S)}}return Jt({width:p,height:h,x:d,y:u})}function bn(t,e){let r=Co(t).scrollLeft;return e?e.left+r:Eo(tt(t)).left+r}function xl(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-bn(t,r),a=r.top+e.scrollTop;return{x:o,y:a}}function Y4(t){let{elements:e,rect:r,offsetParent:o,strategy:a}=t,i=a==="fixed",s=tt(o),c=e?So(e.floating):!1;if(o===s||c&&i)return r;let d={scrollLeft:0,scrollTop:0},u=je(1),p=je(0),h=rt(o);if((h||!h&&!i)&&((er(o)!=="body"||Lr(s))&&(d=Co(o)),h)){let v=Eo(o);u=Rr(o),p.x=v.x+o.clientLeft,p.y=v.y+o.clientTop}let g=s&&!h&&!i?xl(s,d):je(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-d.scrollLeft*u.x+p.x+g.x,y:r.y*u.y-d.scrollTop*u.y+p.y+g.y}}function q4(t){return Array.from(t.getClientRects())}function X4(t){let e=tt(t),r=Co(t),o=t.ownerDocument.body,a=Oe(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Oe(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+bn(t),c=-r.scrollTop;return Be(o).direction==="rtl"&&(s+=Oe(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:c}}var pl=25;function J4(t,e){let r=Re(t),o=tt(t),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let p=gn();(!p||p&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}let u=bn(o);if(u<=0){let p=o.ownerDocument,h=p.body,g=getComputedStyle(h),v=p.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,S=Math.abs(o.clientWidth-h.clientWidth-v);S<=pl&&(i-=S)}else u<=pl&&(i+=u);return{width:i,height:s,x:c,y:d}}function Q4(t,e){let r=Eo(t,!0,e==="fixed"),o=r.top+t.clientTop,a=r.left+t.clientLeft,i=rt(t)?Rr(t):je(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,u=o*i.y;return{width:s,height:c,x:d,y:u}}function hl(t,e,r){let o;if(e==="viewport")o=J4(t,r);else if(e==="document")o=X4(tt(t));else if(Ue(e))o=Q4(e,r);else{let a=bl(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Jt(o)}function vl(t,e){let r=yt(t);return r===e||!Ue(r)||tr(r)?!1:Be(r).position==="fixed"||vl(r,e)}function eu(t,e){let r=e.get(t);if(r)return r;let o=hn(t,[],!1).filter(c=>Ue(c)&&er(c)!=="body"),a=null,i=Be(t).position==="fixed",s=i?yt(t):t;for(;Ue(s)&&!tr(s);){let c=Be(s),d=Or(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Lr(s)&&!d&&vl(t,s))?o=o.filter(p=>p!==s):a=c,s=yt(s)}return e.set(t,o),o}function tu(t){let{element:e,boundary:r,rootBoundary:o,strategy:a}=t,s=[...r==="clippingAncestors"?So(e)?[]:eu(e,this._c):[].concat(r),o],c=hl(e,s[0],a),d=c.top,u=c.right,p=c.bottom,h=c.left;for(let g=1;g<s.length;g++){let v=hl(e,s[g],a);d=Oe(v.top,d),u=Xt(v.right,u),p=Xt(v.bottom,p),h=Oe(v.left,h)}return{width:u-h,height:p-d,x:h,y:d}}function ru(t){let{width:e,height:r}=gl(t);return{width:e,height:r}}function ou(t,e,r){let o=rt(e),a=tt(e),i=r==="fixed",s=Eo(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=je(0);function u(){d.x=bn(a)}if(o||!o&&!i)if((er(e)!=="body"||Lr(a))&&(c=Co(e)),o){let v=Eo(e,!0,i,e);d.x=v.x+e.clientLeft,d.y=v.y+e.clientTop}else a&&u();i&&!o&&a&&u();let p=a&&!o&&!i?xl(a,c):je(0),h=s.left+c.scrollLeft-d.x-p.x,g=s.top+c.scrollTop-d.y-p.y;return{x:h,y:g,width:s.width,height:s.height}}function gi(t){return Be(t).position==="static"}function ml(t,e){if(!rt(t)||Be(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return tt(t)===r&&(r=r.ownerDocument.body),r}function Sl(t,e){let r=Re(t);if(So(t))return r;if(!rt(t)){let a=yt(t);for(;a&&!tr(a);){if(Ue(a)&&!gi(a))return a;a=yt(a)}return r}let o=ml(t,e);for(;o&&dl(o)&&gi(o);)o=ml(o,e);return o&&tr(o)&&gi(o)&&!Or(o)?r:o||ul(t)||r}var nu=async function(t){let e=this.getOffsetParent||Sl,r=this.getDimensions,o=await r(t.floating);return{reference:ou(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function au(t){return Be(t).direction==="rtl"}var wr={convertOffsetParentRelativeRectToViewportRelativeRect:Y4,getDocumentElement:tt,getClippingRect:tu,getOffsetParent:Sl,getElementRects:nu,getClientRects:q4,getDimensions:ru,getScale:Rr,isElement:Ue,isRTL:au};var Cl=al,yi=nl,El=il;var Al=sl;var bi=(t,e,r)=>{let o=new Map,a={platform:wr,...r},i={...a.platform,_c:o};return ol(t,e,{...a,platform:i})};function vi(t){return iu(t)}function xi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function iu(t){for(let e=t;e;e=xi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=xi(t);e;e=xi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||Or(r)||e.tagName==="BODY"))return e}return null}async function Si(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},bi(t,e,{strategy:o.strategy,platform:{...wr,getOffsetParent:a=>wr.getOffsetParent(a,vi)},middleware:[El({crossAxis:!0}),yi({allowedPlacements:[o.placement]})]})}async function su(t,e,r,o,a,i,s){let c,d;return typeof r=="object"?(c=r.placement,o=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):c=r,bi(t,e,{placement:c,strategy:a,platform:{...wr,getOffsetParent:u=>wr.getOffsetParent(u,vi)},middleware:[Cl(s??4),yi({allowedPlacements:o}),Al({apply({availableHeight:u,availableWidth:p,elements:h}){typeof i=="string"&&(i=`var(${i})`),i?h.floating.style.maxHeight=`min(${Math.max(0,u)}px, ${i})`:h.floating.style.maxHeight=`${Math.max(0,u)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,p)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,p)}px`}})]})}var Ei={};q(Ei,{isSlotEmptyOrWithoutContent:()=>cu});var cu=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var a;return o.nodeType===Node.TEXT_NODE?((a=o.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var _i={};q(_i,{FtdsBase:()=>wi,toFtdsBase:()=>xn});var Ri={};q(Ri,{ExportpartsUpdatedEvent:()=>rr,FtLitElement:()=>J});var Ai={};q(Ai,{ScopedRegistryLitElement:()=>Ao});var Ao=class extends Xe{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return lo(o,e.elementStyles),o}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,o])=>this.defineScopedElement(r,o))}static defineScopedElement(e,r){yo(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};var Oi={};q(Oi,{shadowQuerySelector:()=>Li,shadowQuerySelectorAll:()=>lu});function Li(t,e,...r){var o;let a=t.querySelector(e);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function lu(t,e,...r){let o=[...t.querySelectorAll(e)];for(let a of r)o=o.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return o}var _r=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},wl,Ll=Symbol("constructorPrototype"),Ol=Symbol("constructorName"),_l=Symbol("exportpartsDebouncer"),Rl=Symbol("dynamicDependenciesLoaded"),rr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};rr.eventName="exportparts-updated";var J=class extends Ao{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[wl]=new Le(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[_l].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[Ol]=this.constructor.name,this[Ll]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ol]&&Object.setPrototypeOf(this,this[Ll])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Rl]||(r[Rl]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(rr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(rr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new rr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=Li(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.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(e){var r,o,a,i,s,c;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.exportparts=void 0;return}let p=new Set;for(let g of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let v=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&c!==void 0?c:[],L=[...v,...S].filter(d).map(_=>_.trim());for(let _ of L)p.add(_)}if(p.size===0){this.exportparts=void 0;return}let h=[...p.values()].flatMap(g=>u.map(v=>`${g}:${v}--${g}`));this.exportparts=[...this.part,...h].join(", ")}};wl=_l;_r([R()],J.prototype,"exportpartsPrefix",void 0);_r([he([])],J.prototype,"exportpartsPrefixes",void 0);_r([R({reflect:!0})],J.prototype,"exportparts",void 0);_r([R()],J.prototype,"customStylesheet",void 0);_r([R()],J.prototype,"elementToFocus",void 0);_r([ae()],J.prototype,"useAdoptedStyleSheets",void 0);var Tl=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},xn=ye(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=gt.medium,this.family=mt.neutral}getDesignSystemBaseClasses(){return{[ni(this.family)]:!0,[ai(this.size)]:!0}}}return Tl([R()],e.prototype,"size",void 0),Tl([R()],e.prototype,"family",void 0),e}),wi=class extends xn(J){};var Nl={};var Mi={};q(Mi,{highlightHtml:()=>Ni,highlightHtmlColorCssVariable:()=>Ml,highlightHtmlStyles:()=>uu});var or=class t{constructor(e,r=!0,o=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(e,r){let o=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(e,r,o,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,p=>{r(u)&&(c++,o(p)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let a=e.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===o&&(i=d,s=c.handled)}),this.compareNodeIframe(e,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(e,r,o,a,i){let s=this.createIterator(r,e,a),c=[],d=[],u,p,h=()=>({prevNode:p,node:u}=this.getIteratorNode(s),u);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,p,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,v=>d.push(v),a)}),d.push(u);d.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(c,e,o,a),i()}forEachNode(e,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var Lo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new or(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,o);c&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,a,i=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),a=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:a,valid:i}}checkWhitespaceRanges(e,r,o){let a,i=!0,s=o.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return or.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(o-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,o,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let u=r-s.start,p=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,p),e.value=h+g,e.nodes.forEach((v,S)=>{S>=c&&(e.nodes[S].start>0&&S!==c&&(e.nodes[S].start-=p),e.nodes[S].end-=p)}),o-=p,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!o(u[s],d))continue;let p=u.index;if(s!==0)for(let h=1;h<s;h++)p+=u[h].length;d=this.wrapRangeInTextNode(d,p,p+u[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;let p=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,p,h=>o(d[s],h),(h,g)=>{e.lastIndex=g,a(h)})}i()})}wrapRangeFromIndex(e,r,o,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,d)=>{let{start:u,end:p,valid:h}=this.checkWhitespaceRanges(c,s,i.value);h&&this.wrapRangeInMappedTextNode(i,u,p,g=>r(g,c,i.value.substring(u,p),d),g=>{o(g,c)})}),a()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,o),i,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let p=new RegExp(this.createRegExp(u),`gm${c}`),h=0;this.log(`Searching with expression "${p}"`),this[a](p,1,(g,v)=>this.opt.filter(v,u,o,h),g=>{h++,o++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(o):d(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(e,r){this.opt=r;let o=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,d)=>this.opt.filter(i,s,c,d),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=or.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ti(t){let e=new Lo(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var du=Ti,Ml=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),uu=B`
|
|
6
6
|
.highlight-html-match {
|
|
7
7
|
background: ${Ml};
|
|
8
8
|
}
|
|
@@ -45,7 +45,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
45
45
|
input::-webkit-search-results-decoration {
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
|
-
`;var Pl={};var ki={};q(ki,{ParametrizedLabelResolver:()=>Ro});var Ro=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,a;e=this.resolvePluralKey(e,r);let i=(a=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let a=`${String(e)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var ns={};q(ns,{FtCommandQueue:()=>wo,FtLitElementRedux:()=>ar,FtReduxStore:()=>cr,FtStateManager:()=>Po,ReduxWatcher:()=>Ln,clearAllStores:()=>Ju,isFtReduxStore:()=>Nr,redux:()=>Tr,reduxEventListener:()=>mu,reduxReactive:()=>hu,watch:()=>Qu,withRedux:()=>kl});var hu=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},Tr=t=>{let e=t??{};return(r,o)=>{var a;let i={hasChanged:pt,attribute:!1,...e};R(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=e.selector)!==null&&a!==void 0?a:(c=>c[o]),store:e.store})}},mu=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var wo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Nr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var _o=Symbol("internalReduxEventsUnsubscribers"),Tt=Symbol("internalStoresUnsubscribers"),nr=Symbol("internalStores"),kl=ye(Symbol("withRedux"),function(t){var e,r,o;class a extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[nr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[nr].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[nr].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[nr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[nr].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let u=this.getStore(s.store);u&&(s.store?this[Tt].has(s.store):this[Tt].size>0)&&(this[c]=s.selector(u.getState(),this))}})}subscribeToStore(s,c){var d;this[Tt].set(s,c.subscribe(()=>this.updateFromStores())),this[_o].set(s,[]),Nr(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,p)=>{if(typeof this[p]=="function"&&(!u.store||c.name===u.store)){let h=g=>this[p](g);c.addEventListener(u.eventName,h),this[_o].get(s).push(()=>c.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Tt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[Tt].has(s)&&this[Tt].get(s)(),this[Tt].delete(s),(c=this[_o].get(s))===null||c===void 0||c.forEach(d=>d()),this[_o].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Tt,r=nr,o=_o,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),ar=class extends kl(J){};function $e(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function xt(t){return!!t&&!!t[oe]}function je(t){var e;return!!t&&((function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Eu})(t)||Array.isArray(t)||!!t[Hl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Hl])||Gi(t)||Wi(t))}function ir(t,e,r){r===void 0&&(r=!1),kr(t)===0?(r?Object.keys:Pr)(t).forEach((function(o){r&&typeof o=="symbol"||e(o,t[o],t)})):t.forEach((function(o,a){return e(a,o,t)}))}function kr(t){var e=t[oe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Gi(t)?2:Wi(t)?3:0}function Mr(t,e){return kr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function gu(t,e){return kr(t)===2?t.get(e):t[e]}function Fl(t,e,r){var o=kr(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Gl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Gi(t){return Su&&t instanceof Map}function Wi(t){return Cu&&t instanceof Set}function Nt(t){return t.o||t.t}function Vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=jl(t);delete e[oe];for(var r=Pr(e),o=0;o<r.length;o++){var a=r[o],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ji(t,e){return e===void 0&&(e=!1),Ki(t)||xt(t)||!je(t)||(kr(t)>1&&(t.set=t.add=t.clear=t.delete=yu),Object.freeze(t),e&&ir(t,(function(r,o){return ji(o,!0)}),!0)),t}function yu(){$e(2)}function Ki(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ot(t){var e=Fi[t];return e||$e(18,t),e}function bu(t,e){Fi[t]||(Fi[t]=e)}function Bi(){return No}function Ii(t,e){e&&(ot("Patches"),t.u=[],t.s=[],t.v=e)}function vn(t){$i(t),t.p.forEach(xu),t.p=null}function $i(t){t===No&&(No=t.l)}function Il(t){return No={p:[],l:No,h:t,m:!0,_:0}}function xu(t){var e=t[oe];e.i===0||e.i===1?e.j():e.g=!0}function zi(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||ot("ES5").S(e,t,o),o?(r[oe].P&&(vn(e),$e(4)),je(t)&&(t=Sn(e,t),e.l||Cn(e,t)),e.u&&ot("Patches").M(r[oe].t,t,e.u,e.s)):t=Sn(e,r,[]),vn(e),e.u&&e.v(e.u,e.s),t!==Vl?t:void 0}function Sn(t,e,r){if(Ki(e))return e;var o=e[oe];if(!o)return ir(e,(function(c,d){return zl(t,o,e,c,d,r)}),!0),e;if(o.A!==t)return e;if(!o.P)return Cn(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Vi(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),ir(i,(function(c,d){return zl(t,o,a,c,d,r,s)})),Cn(t,a,!1),r&&t.u&&ot("Patches").N(o,r,t.u,t.s)}return o.o}function zl(t,e,r,o,a,i,s){if(xt(a)){var c=Sn(t,a,i&&e&&e.i!==3&&!Mr(e.R,o)?i.concat(o):void 0);if(Fl(r,o,c),!xt(c))return;t.m=!1}else s&&r.add(a);if(je(a)&&!Ki(a)){if(!t.h.D&&t._<1)return;Sn(t,a),e&&e.A.l||Cn(t,a)}}function Cn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ji(e,r)}function Di(t,e){var r=t[oe];return(r?Nt(r):t)[e]}function Dl(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function Mt(t){t.P||(t.P=!0,t.l&&Mt(t.l))}function Ui(t){t.o||(t.o=Vi(t.t))}function Hi(t,e,r){var o=Gi(e)?ot("MapSet").F(e,r):Wi(e)?ot("MapSet").T(e,r):t.O?(function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Bi(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,u=Mo;s&&(d=[c],u=To);var p=Proxy.revocable(d,u),h=p.revoke,g=p.proxy;return c.k=g,c.j=h,g})(e,r):ot("ES5").J(e,r);return(r?r.A:Bi()).p.push(o),o}function vu(t){return xt(t)||$e(22,t),(function e(r){if(!je(r))return r;var o,a=r[oe],i=kr(r);if(a){if(!a.P&&(a.i<4||!ot("ES5").K(a)))return a.t;a.I=!0,o=Ul(r,i),a.I=!1}else o=Ul(r,i);return ir(o,(function(s,c){a&&gu(a.t,s)===c||Fl(o,s,e(c))})),i===3?new Set(o):o})(t)}function Ul(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vi(t)}function Wl(){function t(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[oe];return Mo.get(u,s)},set:function(u){var p=this[oe];Mo.set(p,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][oe];if(!d.P)switch(d.i){case 5:o(d)&&Mt(d);break;case 4:r(d)&&Mt(d)}}}function r(s){for(var c=s.t,d=s.k,u=Pr(d),p=u.length-1;p>=0;p--){var h=u[p];if(h!==oe){var g=c[h];if(g===void 0&&!Mr(c,h))return!0;var v=d[h],S=v&&v[oe];if(S?S.t!==g:!Gl(v,g))return!0}}var L=!!c[oe];return u.length!==Pr(c).length+(L?0:1)}function o(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&$e(3,JSON.stringify(Nt(s)))}var i={};bu("ES5",{J:function(s,c){var d=Array.isArray(s),u=(function(h,g){if(h){for(var v=Array(g.length),S=0;S<g.length;S++)Object.defineProperty(v,""+S,t(S,!0));return v}var L=jl(g);delete L[oe];for(var _=Pr(L),N=0;N<_.length;N++){var M=_[N];L[M]=t(M,h||!!L[M].enumerable)}return Object.create(Object.getPrototypeOf(g),L)})(d,s),p={i:d?5:4,A:c?c.A:Bi(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,oe,{value:p,writable:!0}),u},S:function(s,c,d){d?xt(c)&&c[oe].A===s&&e(s.p):(s.u&&(function u(p){if(p&&typeof p=="object"){var h=p[oe];if(h){var g=h.t,v=h.k,S=h.R,L=h.i;if(L===4)ir(v,(function(C){C!==oe&&(g[C]!==void 0||Mr(g,C)?S[C]||u(v[C]):(S[C]=!0,Mt(h)))})),ir(g,(function(C){v[C]!==void 0||Mr(v,C)||(S[C]=!1,Mt(h))}));else if(L===5){if(o(h)&&(Mt(h),S.length=!0),v.length<g.length)for(var _=v.length;_<g.length;_++)S[_]=!1;else for(var N=g.length;N<v.length;N++)S[N]=!0;for(var M=Math.min(v.length,g.length),E=0;E<M;E++)v.hasOwnProperty(E)||(S[E]=!0),S[E]===void 0&&u(v[E])}}}})(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Bl,No,Zi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Su=typeof Map<"u",Cu=typeof Set<"u",$l=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Vl=Zi?Symbol.for("immer-nothing"):((Bl={})["immer-nothing"]=!0,Bl),Hl=Zi?Symbol.for("immer-draftable"):"__$immer_draftable",oe=Zi?Symbol.for("immer-state"):"__$immer_state";var Eu=""+Object.prototype.constructor,Pr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,jl=Object.getOwnPropertyDescriptors||function(t){var e={};return Pr(t).forEach((function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)})),e},Fi={},Mo={get:function(t,e){if(e===oe)return t;var r=Nt(t);if(!Mr(r,e))return(function(a,i,s){var c,d=Dl(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0})(t,r,e);var o=r[e];return t.I||!je(o)?o:o===Di(t.t,e)?(Ui(t),t.o[e]=Hi(t.A.h,o,t)):o},has:function(t,e){return e in Nt(t)},ownKeys:function(t){return Reflect.ownKeys(Nt(t))},set:function(t,e,r){var o=Dl(Nt(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var a=Di(Nt(t),e),i=a?.[oe];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Gl(r,a)&&(r!==void 0||Mr(t.t,e)))return!0;Ui(t),Mt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Di(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ui(t),Mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Nt(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){$e(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){$e(12)}},To={};ir(Mo,(function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,r){return Mo.set.call(this,t[0],e,r,t[0])};var Au=(function(){function t(r){var o=this;this.O=$l,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var d=o;return function(L){var _=this;L===void 0&&(L=c);for(var N=arguments.length,M=Array(N>1?N-1:0),E=1;E<N;E++)M[E-1]=arguments[E];return d.produce(L,(function(C){var O;return(O=i).call.apply(O,[_,C].concat(M))}))}}var u;if(typeof i!="function"&&$e(6),s!==void 0&&typeof s!="function"&&$e(7),je(a)){var p=Il(o),h=Hi(o,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?vn(p):$i(p)}return typeof Promise<"u"&&u instanceof Promise?u.then((function(L){return Ii(p,s),zi(L,p)}),(function(L){throw vn(p),L})):(Ii(p,s),zi(u,p))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Vl&&(u=void 0),o.D&&ji(u,!0),s){var v=[],S=[];ot("Patches").M(a,u,v,S),s(v,S)}return u}$e(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var p=arguments.length,h=Array(p>1?p-1:0),g=1;g<p;g++)h[g-1]=arguments[g];return o.produceWithPatches(u,(function(v){return a.apply(void 0,[v].concat(h))}))};var s,c,d=o.produce(a,i,(function(u,p){s=u,c=p}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(u){return[u,s,c]})):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){je(r)||$e(8),xt(r)&&(r=vu(r));var o=Il(this),a=Hi(this,r,void 0);return a[oe].C=!0,$i(o),a},e.finishDraft=function(r,o){var a=r&&r[oe],i=a.A;return Ii(i,o),zi(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!$l&&$e(20),this.O=r},e.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=ot("Patches").$;return xt(r)?s(r,o):this.produce(r,(function(c){return s(c,o)}))},t})(),Ne=new Au,Lu=Ne.produce,mg=Ne.produceWithPatches.bind(Ne),gg=Ne.setAutoFreeze.bind(Ne),yg=Ne.setUseProxies.bind(Ne),bg=Ne.applyPatches.bind(Ne),xg=Ne.createDraft.bind(Ne),vg=Ne.finishDraft.bind(Ne),En=Lu;function sr(t){"@babel/helpers - typeof";return sr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sr(t)}function Kl(t,e){if(sr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(sr(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Zl(t){var e=Kl(t,"string");return sr(e)=="symbol"?e:e+""}function Yl(t,e,r){return(e=Zl(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ql(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,o)}return r}function Yi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ql(Object(r),!0).forEach(function(o){Yl(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ql(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function xe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Xl=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),qi=function(){return Math.random().toString(36).substring(7).split("").join(".")},An={INIT:"@@redux/INIT"+qi(),REPLACE:"@@redux/REPLACE"+qi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qi()}};function Ou(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Xi(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(xe(1));return r(Xi)(t,e)}if(typeof t!="function")throw new Error(xe(2));var a=t,i=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function p(){if(d)throw new Error(xe(3));return i}function h(L){if(typeof L!="function")throw new Error(xe(4));if(d)throw new Error(xe(5));var _=!0;return u(),c.push(L),function(){if(_){if(d)throw new Error(xe(6));_=!1,u();var M=c.indexOf(L);c.splice(M,1),s=null}}}function g(L){if(!Ou(L))throw new Error(xe(7));if(typeof L.type>"u")throw new Error(xe(8));if(d)throw new Error(xe(9));try{d=!0,i=a(i,L)}finally{d=!1}for(var _=s=c,N=0;N<_.length;N++){var M=_[N];M()}return L}function v(L){if(typeof L!="function")throw new Error(xe(10));a=L,g({type:An.REPLACE})}function S(){var L,_=h;return L={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(xe(11));function E(){M.next&&M.next(p())}E();var C=_(E);return{unsubscribe:C}}},L[Xl]=function(){return this},L}return g({type:An.INIT}),o={dispatch:g,subscribe:h,getState:p,replaceReducer:v},o[Xl]=S,o}function Ru(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:An.INIT});if(typeof o>"u")throw new Error(xe(12));if(typeof r(void 0,{type:An.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function Jl(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var a=e[o];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{Ru(r)}catch(d){c=d}return function(u,p){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var g=!1,v={},S=0;S<i.length;S++){var L=i[S],_=r[L],N=u[L],M=_(N,p);if(typeof M>"u"){var E=p&&p.type;throw new Error(xe(14))}v[L]=M,g=g||M!==N}return g=g||i.length!==Object.keys(u).length,g?v:u}}function Ir(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Ql(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(xe(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return i=Ir.apply(void 0,c)(a.dispatch),Yi(Yi({},a),{},{dispatch:i})}}}function e1(t){var e=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var t1=e1();t1.withExtraArgument=e1;var Ji=t1;var i1=(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}})(),wu=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(p){return d([u,p])}}function d(u){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(p){u=[6,p],a=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},zr=function(t,e){for(var r=0,o=e.length,a=t.length;r<o;r++,a++)t[a]=e[r];return t},_u=Object.defineProperty,Tu=Object.defineProperties,Nu=Object.getOwnPropertyDescriptors,r1=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,Pu=Object.prototype.propertyIsEnumerable,o1=function(t,e,r){return e in t?_u(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Pt=function(t,e){for(var r in e||(e={}))Mu.call(e,r)&&o1(t,r,e[r]);if(r1)for(var o=0,a=r1(e);o<a.length;o++){var r=a[o];Pu.call(e,r)&&o1(t,r,e[r])}return t},Qi=function(t,e){return Tu(t,Nu(e))},ku=function(t,e,r){return new Promise(function(o,a){var i=function(d){try{c(r.next(d))}catch(u){a(u)}},s=function(d){try{c(r.throw(d))}catch(u){a(u)}},c=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(t,e)).next())})};var Iu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ir:Ir.apply(null,arguments)},Ug=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function zu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function kt(t,e){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Pt(Pt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}var Du=(function(t){i1(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,zr([void 0],r[0].concat(this)))):new(e.bind.apply(e,zr([void 0],r.concat(this))))},e})(Array),Uu=(function(t){i1(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,zr([void 0],r[0].concat(this)))):new(e.bind.apply(e,zr([void 0],r.concat(this))))},e})(Array);function rs(t){return je(t)?En(t,function(){}):t}function Bu(t){return typeof t=="boolean"}function $u(){return function(e){return Hu(e)}}function Hu(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,a=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,c=t.actionCreatorCheck,d=c===void 0?!0:c,u=new Du;if(r&&(Bu(r)?u.push(Ji):u.push(Ji.withExtraArgument(r.extraArgument))),0){if(a)var p;if(s)var h;if(d)var g}return u}var es=!0;function s1(t){var e=$u(),r=t||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,p=u===void 0?void 0:u,h=r.enhancers,g=h===void 0?void 0:h,v;if(typeof a=="function")v=a;else if(zu(a))v=Jl(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(e),!es&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!es&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var L=Ql.apply(void 0,S),_=Ir;d&&(_=Iu(Pt({trace:!es},typeof d=="object"&&d)));var N=new Uu(L),M=N;Array.isArray(g)?M=zr([L],g):typeof g=="function"&&(M=g(N));var E=_.apply(void 0,M);return Xi(v,p,E)}function c1(t){var e={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(!c)throw new Error("`builder.addCase` cannot be called with an empty action type");if(c in e)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return t(a),[e,r,o]}function Fu(t){return typeof t=="function"}function Gu(t,e,r,o){r===void 0&&(r=[]);var a=typeof e=="function"?c1(e):[e,r,o],i=a[0],s=a[1],c=a[2],d;if(Fu(t))d=function(){return rs(t())};else{var u=rs(t);d=function(){return u}}function p(h,g){h===void 0&&(h=d());var v=zr([i[g.type]],s.filter(function(S){var L=S.matcher;return L(g)}).map(function(S){var L=S.reducer;return L}));return v.filter(function(S){return!!S}).length===0&&(v=[c]),v.reduce(function(S,L){if(L)if(xt(S)){var _=S,N=L(_,g);return N===void 0?S:N}else{if(je(S))return En(S,function(M){return L(M,g)});var N=L(S,g);if(N===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return S},h)}return p.getInitialState=d,p}function Wu(t,e){return t+"/"+e}function l1(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:rs(t.initialState),o=t.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(p){var h=o[p],g=Wu(e,p),v,S;"reducer"in h?(v=h.reducer,S=h.prepare):v=h,i[p]=v,s[g]=v,c[p]=S?kt(g,S):kt(g)});function d(){var p=typeof t.extraReducers=="function"?c1(t.extraReducers):[t.extraReducers],h=p[0],g=h===void 0?{}:h,v=p[1],S=v===void 0?[]:v,L=p[2],_=L===void 0?void 0:L,N=Pt(Pt({},g),s);return Gu(r,function(M){for(var E in N)M.addCase(E,N[E]);for(var C=0,O=S;C<O.length;C++){var I=O[C];M.addMatcher(I.matcher,I.reducer)}_&&M.addDefaultCase(_)})}var u;return{name:e,reducer:function(p,h){return u||(u=d()),u(p,h)},actions:c,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Vu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ju=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Vu[Math.random()*64|0];return e},Ku=["name","message","stack","code"],ts=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),n1=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),Zu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Ku;r<o.length;r++){var a=o[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},Fg=(function(){function t(e,r,o){var a=kt(e+"/fulfilled",function(p,h,g,v){return{payload:p,meta:Qi(Pt({},v||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=kt(e+"/pending",function(p,h,g){return{payload:void 0,meta:Qi(Pt({},g||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=kt(e+"/rejected",function(p,h,g,v,S){return{payload:v,error:(o&&o.serializeError||Zu)(p||"Rejected"),meta:Qi(Pt({},S||{}),{arg:g,requestId:h,rejectedWithValue:!!v,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:(function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p})();function u(p){return function(h,g,v){var S=o?.idGenerator?o.idGenerator(p):ju(),L=new d,_,N=!1;function M(C){_=C,L.abort()}var E=(function(){return ku(this,null,function(){var C,O,I,H,Z,K,U;return wu(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),H=(C=o?.condition)==null?void 0:C.call(o,p,{getState:g,extra:v}),qu(H)?[4,H]:[3,2];case 1:H=b.sent(),b.label=2;case 2:if(H===!1||L.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,Z=new Promise(function(A,z){return L.signal.addEventListener("abort",function(){return z({name:"AbortError",message:_||"Aborted"})})}),h(i(S,p,(O=o?.getPendingMeta)==null?void 0:O.call(o,{requestId:S,arg:p},{getState:g,extra:v}))),[4,Promise.race([Z,Promise.resolve(r(p,{dispatch:h,getState:g,extra:v,requestId:S,signal:L.signal,abort:M,rejectWithValue:function(A,z){return new ts(A,z)},fulfillWithValue:function(A,z){return new n1(A,z)}})).then(function(A){if(A instanceof ts)throw A;return A instanceof n1?a(A.payload,S,p,A.meta):a(A,S,p)})])];case 3:return I=b.sent(),[3,5];case 4:return K=b.sent(),I=K instanceof ts?s(null,S,p,K.payload,K.meta):s(K,S,p),[3,5];case 5:return U=o&&!o.dispatchConditionRejection&&s.match(I)&&I.meta.condition,U||h(I),[2,I]}})})})();return Object.assign(E,{abort:M,requestId:S,arg:p,unwrap:function(){return E.then(Yu)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t})();function Yu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function qu(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var d1="listener",u1="completed",f1="cancelled",Gg="task-"+f1,Wg="task-"+u1,Vg=d1+"-"+f1,jg=d1+"-"+u1;var os="listenerMiddleware";var Kg=kt(os+"/add"),Zg=kt(os+"/removeAll"),Yg=kt(os+"/remove");var a1,qg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(a1||(a1=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Xu=function(t){return function(e){setTimeout(e,t)}},Xg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Xu(10);Wl();window.ftReduxStores||(window.ftReduxStores={});var cr=class t extends ht{static get(e){var r;let o=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if(Nr(i))return i;if(a==null)return;let s=l1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=s1({reducer:(d,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let p=Je(s.getInitialState());for(let h of u.keeping)p[h]=(d??p)[h];return p}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...u.overwrites};return s.reducer(d,u)}});return window.ftReduxStores[a.name]=new t(s,c,a.eventBus)}constructor(e,r,o){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new wo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,c)=>{let d=s,u=i[d];return u?(...p)=>{let h=u(...p.map(a));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[d]:a(p)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Ju(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Nr(e)&&e.clear()}var Ln=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);pt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Qu(t,e,r){return new Ln(t,e,r).watch()}var Po=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var ss={};q(ss,{scrollHelper:()=>ef});var as,On=new Map,is=class{lock(e,r){if(r){let o=On.get(r);if(o==null||o===e)return On.set(r,e),r}}release(e,r){r&&On.get(r)===e&&On.delete(r)}findFirstScrollableParent(e){var r;let o,a;for(let i of Na(e)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else c&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var o,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,e),i=a-o.clientHeight+e.clientHeight,s=a,c=qt(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(as=window.FluidTopicsScrollHelper)!==null&&as!==void 0?as:new is;var ef=window.FluidTopicsScrollHelper;var ls={};q(ls,{SearchPlaceConverter:()=>$r,SearchPlaceQueryParams:()=>j,isSearchPlaceQueryParams:()=>e2,serializeRequest:()=>nf});var rf=O0(h1(),1);var m1;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(m1||(m1={}));var g1;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(g1||(g1={}));var y1;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(y1||(y1={}));var b1;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(b1||(b1={}));var x1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(x1||(x1={}));var v1;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(v1||(v1={}));var S1;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(S1||(S1={}));var C1;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(C1||(C1={}));var E1;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(E1||(E1={}));var A1;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(A1||(A1={}));var L1;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(L1||(L1={}));var O1;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(O1||(O1={}));var R1;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(R1||(R1={}));var w1;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(w1||(w1={}));var _1;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(_1||(_1={}));var T1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(T1||(T1={}));var Ur;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ur||(Ur={}));var N1;(function(t){t.ASC="ASC",t.DESC="DESC"})(N1||(N1={}));var M1;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(M1||(M1={}));var cs;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(cs||(cs={}));var $1=t=>Object.keys(cs).includes(t);var P1;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(P1||(P1={}));var k1;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(k1||(k1={}));var I1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(I1||(I1={}));var Br;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Br||(Br={}));var H1=t=>Object.keys(Br).includes(t);var z1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(z1||(z1={}));var D1;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(D1||(D1={}));var U1;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(U1||(U1={}));var ce;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(ce||(ce={}));var He;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(He||(He={}));var B1;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(B1||(B1={}));var F1;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(F1||(F1={}));var G1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(G1||(G1={}));var W1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(W1||(W1={}));var V1;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(V1||(V1={}));var j1;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(j1||(j1={}));var K1;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(K1||(K1={}));var Z1;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Z1||(Z1={}));var Y1;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Y1||(Y1={}));var q1;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(q1||(q1={}));var tf={[ce.PERSONAL_BOOK_SHARE_USER]:[ce.PERSONAL_BOOK_USER],[ce.HTML_EXPORT_USER]:[ce.PERSONAL_BOOK_USER],[ce.PDF_EXPORT_USER]:[ce.PERSONAL_BOOK_USER],[ce.KHUB_ADMIN]:[ce.CONTENT_PUBLISHER],[ce.ADMIN]:[ce.KHUB_ADMIN,ce.USERS_ADMIN,ce.PORTAL_ADMIN,ce.BEHAVIOR_DATA_USER],[ce.GENERATIVE_AI_EXPORT_USER]:[ce.GENERATIVE_AI_USER]};function X1(t,e){return t===e||(tf[t]??[]).some(r=>X1(r,e))}function J1(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(o=>X1(o,e))}function of(t){return`"${t}"`}function Q1(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function nf(t,e){return new $r(t).serialize(e)}var j;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(j||(j={}));var af=new Set(Object.values(j));function e2(t){return af.has(t)}var $r=class{constructor(e,r=20,o=!1,a="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,r=!1){var o,a,i,s,c,d,u,p,h,g,v;let S=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&S.append(j.LOCALE,e.contentLocale):S.append(j.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&S.append(j.QUERY,e.query);let L=(i=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter&&!C.valueFilter.negative))!==null&&i!==void 0?i:[];if(L.length>0){let C=L.map(O=>{var I,H;let Z=((H=(I=O.valueFilter)===null||I===void 0?void 0:I.values)!==null&&H!==void 0?H:[]).map(K=>this.escapeFilters(K)).map(K=>of(Q1(K))).join("_");return`${O.key}~${Z}`}).join("*");S.append(j.VALUE_FILTERS,C)}let _=(c=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(C=>C.dateFilter))!==null&&c!==void 0?c:[];if(_.length>0){let C=_.map(O=>{var I;return`${O.key}~${(I=O.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");S.append(j.DATE_FILTERS,C)}let N=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&u!==void 0?u:[];if(N.length>0){let C=N.map(O=>{var I,H;return`${O.key}~${(I=O.rangeFilter)===null||I===void 0?void 0:I.from}_${(H=O.rangeFilter)===null||H===void 0?void 0:H.to}`}).join("*");S.append(j.RANGE_FILTERS,C)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(j.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&S.append(j.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&S.append(j.SORT,e.sortId),!((p=e.paging)===null||p===void 0)&&p.perPage&&((g=(h=e.paging)===null||h===void 0?void 0:h.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&S.append(j.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&S.append(j.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let M=(v=e.otherQueryParams)!==null&&v!==void 0?v:{};for(let C in M)S.append(C,M[C]);let E=new Array;return S.forEach((C,O)=>{E.push(this.encodeQueryString(O)+"="+this.encodeQueryString(C))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,o,a,i,s,c;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let d=new URLSearchParams(e),u=d.get(j.LOCALE)==="all"?void 0:d.get(j.LOCALE),p=((r=d.get(j.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(o=d.get(j.SORT))===null||o===void 0?void 0:o.toLowerCase(),g=(a=d.get(j.SCOPE))!==null&&a!==void 0?a:"default",v=+((i=d.get(j.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S=d.get(j.KEYWORD_MATCH),L=S?S.toUpperCase()===Ur.MANDATORY?Ur.MANDATORY:Ur.OPTIONAL:void 0,_={};for(let N of d.keys())e2(N)||(_[N]=d.get(N));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(j.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:$1(p)?p:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:qt(1,isNaN(v)?this.defaultPerPage:v,1e3)},keywordMatch:L,otherQueryParams:_}}parseCompatFilters(e){var r,o,a,i,s,c;let d=[];return e.has(j.FILTERS)&&(d=this.parseValueFilters((r=e.get(j.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(j.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(j.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(j.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(j.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(j.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Q1).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Br[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(o,a);return e}unescapeFilterValue(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(H1(e))return[{key:"ft:lastEdition",dateFilter:{type:Br[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}static clearSearchParamsInUrl(e){let r=new URL(e);return[j.LOCALE,j.FILTERS,j.VALUE_FILTERS,j.DATE_FILTERS,j.RANGE_FILTERS].forEach(a=>{r.searchParams.delete(a)}),r.toString()}static updateLocaleParamInUrl(e,r){let o=new URL(e);return o.searchParams.delete(j.LOCALE),r!==void 0&&o.searchParams.append(j.LOCALE,r),o.toString()}};var fs={};q(fs,{toFtFormComponent:()=>us});var ds=Symbol("elementInternals"),us=ye(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[ds].form}constructor(...o){super(o),this[ds]=this.attachInternals()}setFormValue(o){this[ds].setFormValue(o)}}return e});var ps={};q(ps,{DateFormatter:()=>lr});var lr=class{static format(e,r,o,a,i){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,a,!!i)):this.getIntlDateTime(e,r,o,a,!!i)}static getMomentDateFormat(e,r,o){return o?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,a,i){let s=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${c} ${d}`:c}static getTimezoneAsString(){let e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var ms={};q(ms,{ALL_KEYS_VALUE:()=>hs,SameWindowStorageEvent:()=>Hr});var hs="__all__",Hr=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==hs}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Hr(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Hr(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Hr(hs))}});var ys={};q(ys,{FocusMainContentEvent:()=>gs});var gs=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var t2={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function sf(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function cf(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",sf);document.addEventListener("click",cf);var r2=B`
|
|
48
|
+
`;var Pl={};var ki={};q(ki,{ParametrizedLabelResolver:()=>Ro});var Ro=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,a;e=this.resolvePluralKey(e,r);let i=(a=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let a=`${String(e)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var ns={};q(ns,{FtCommandQueue:()=>wo,FtLitElementRedux:()=>ar,FtReduxStore:()=>cr,FtStateManager:()=>Po,ReduxWatcher:()=>Ln,clearAllStores:()=>Ju,isFtReduxStore:()=>Nr,redux:()=>Tr,reduxEventListener:()=>mu,reduxReactive:()=>hu,watch:()=>Qu,withRedux:()=>kl});var hu=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},Tr=t=>{let e=t??{};return(r,o)=>{var a;let i={hasChanged:pt,attribute:!1,...e};R(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=e.selector)!==null&&a!==void 0?a:(c=>c[o]),store:e.store})}},mu=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var wo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Nr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var _o=Symbol("internalReduxEventsUnsubscribers"),Tt=Symbol("internalStoresUnsubscribers"),nr=Symbol("internalStores"),kl=ye(Symbol("withRedux"),function(t){var e,r,o;class a extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[nr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[nr].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[nr].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[nr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[nr].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let u=this.getStore(s.store);u&&(s.store?this[Tt].has(s.store):this[Tt].size>0)&&(this[c]=s.selector(u.getState(),this))}})}subscribeToStore(s,c){var d;this[Tt].set(s,c.subscribe(()=>this.updateFromStores())),this[_o].set(s,[]),Nr(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,p)=>{if(typeof this[p]=="function"&&(!u.store||c.name===u.store)){let h=g=>this[p](g);c.addEventListener(u.eventName,h),this[_o].get(s).push(()=>c.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Tt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[Tt].has(s)&&this[Tt].get(s)(),this[Tt].delete(s),(c=this[_o].get(s))===null||c===void 0||c.forEach(d=>d()),this[_o].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Tt,r=nr,o=_o,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),ar=class extends kl(J){};function $e(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function xt(t){return!!t&&!!t[oe]}function Ke(t){var e;return!!t&&((function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Eu})(t)||Array.isArray(t)||!!t[Hl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Hl])||Gi(t)||Wi(t))}function ir(t,e,r){r===void 0&&(r=!1),kr(t)===0?(r?Object.keys:Pr)(t).forEach((function(o){r&&typeof o=="symbol"||e(o,t[o],t)})):t.forEach((function(o,a){return e(a,o,t)}))}function kr(t){var e=t[oe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Gi(t)?2:Wi(t)?3:0}function Mr(t,e){return kr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function gu(t,e){return kr(t)===2?t.get(e):t[e]}function Fl(t,e,r){var o=kr(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Gl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Gi(t){return Su&&t instanceof Map}function Wi(t){return Cu&&t instanceof Set}function Nt(t){return t.o||t.t}function Vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=jl(t);delete e[oe];for(var r=Pr(e),o=0;o<r.length;o++){var a=r[o],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ji(t,e){return e===void 0&&(e=!1),Ki(t)||xt(t)||!Ke(t)||(kr(t)>1&&(t.set=t.add=t.clear=t.delete=yu),Object.freeze(t),e&&ir(t,(function(r,o){return ji(o,!0)}),!0)),t}function yu(){$e(2)}function Ki(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ot(t){var e=Fi[t];return e||$e(18,t),e}function bu(t,e){Fi[t]||(Fi[t]=e)}function Bi(){return No}function Ii(t,e){e&&(ot("Patches"),t.u=[],t.s=[],t.v=e)}function vn(t){$i(t),t.p.forEach(xu),t.p=null}function $i(t){t===No&&(No=t.l)}function Il(t){return No={p:[],l:No,h:t,m:!0,_:0}}function xu(t){var e=t[oe];e.i===0||e.i===1?e.j():e.g=!0}function zi(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||ot("ES5").S(e,t,o),o?(r[oe].P&&(vn(e),$e(4)),Ke(t)&&(t=Sn(e,t),e.l||Cn(e,t)),e.u&&ot("Patches").M(r[oe].t,t,e.u,e.s)):t=Sn(e,r,[]),vn(e),e.u&&e.v(e.u,e.s),t!==Vl?t:void 0}function Sn(t,e,r){if(Ki(e))return e;var o=e[oe];if(!o)return ir(e,(function(c,d){return zl(t,o,e,c,d,r)}),!0),e;if(o.A!==t)return e;if(!o.P)return Cn(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Vi(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),ir(i,(function(c,d){return zl(t,o,a,c,d,r,s)})),Cn(t,a,!1),r&&t.u&&ot("Patches").N(o,r,t.u,t.s)}return o.o}function zl(t,e,r,o,a,i,s){if(xt(a)){var c=Sn(t,a,i&&e&&e.i!==3&&!Mr(e.R,o)?i.concat(o):void 0);if(Fl(r,o,c),!xt(c))return;t.m=!1}else s&&r.add(a);if(Ke(a)&&!Ki(a)){if(!t.h.D&&t._<1)return;Sn(t,a),e&&e.A.l||Cn(t,a)}}function Cn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&ji(e,r)}function Di(t,e){var r=t[oe];return(r?Nt(r):t)[e]}function Dl(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function Mt(t){t.P||(t.P=!0,t.l&&Mt(t.l))}function Ui(t){t.o||(t.o=Vi(t.t))}function Hi(t,e,r){var o=Gi(e)?ot("MapSet").F(e,r):Wi(e)?ot("MapSet").T(e,r):t.O?(function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Bi(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,u=Mo;s&&(d=[c],u=To);var p=Proxy.revocable(d,u),h=p.revoke,g=p.proxy;return c.k=g,c.j=h,g})(e,r):ot("ES5").J(e,r);return(r?r.A:Bi()).p.push(o),o}function vu(t){return xt(t)||$e(22,t),(function e(r){if(!Ke(r))return r;var o,a=r[oe],i=kr(r);if(a){if(!a.P&&(a.i<4||!ot("ES5").K(a)))return a.t;a.I=!0,o=Ul(r,i),a.I=!1}else o=Ul(r,i);return ir(o,(function(s,c){a&&gu(a.t,s)===c||Fl(o,s,e(c))})),i===3?new Set(o):o})(t)}function Ul(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vi(t)}function Wl(){function t(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[oe];return Mo.get(u,s)},set:function(u){var p=this[oe];Mo.set(p,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][oe];if(!d.P)switch(d.i){case 5:o(d)&&Mt(d);break;case 4:r(d)&&Mt(d)}}}function r(s){for(var c=s.t,d=s.k,u=Pr(d),p=u.length-1;p>=0;p--){var h=u[p];if(h!==oe){var g=c[h];if(g===void 0&&!Mr(c,h))return!0;var v=d[h],S=v&&v[oe];if(S?S.t!==g:!Gl(v,g))return!0}}var L=!!c[oe];return u.length!==Pr(c).length+(L?0:1)}function o(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&$e(3,JSON.stringify(Nt(s)))}var i={};bu("ES5",{J:function(s,c){var d=Array.isArray(s),u=(function(h,g){if(h){for(var v=Array(g.length),S=0;S<g.length;S++)Object.defineProperty(v,""+S,t(S,!0));return v}var L=jl(g);delete L[oe];for(var _=Pr(L),N=0;N<_.length;N++){var M=_[N];L[M]=t(M,h||!!L[M].enumerable)}return Object.create(Object.getPrototypeOf(g),L)})(d,s),p={i:d?5:4,A:c?c.A:Bi(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,oe,{value:p,writable:!0}),u},S:function(s,c,d){d?xt(c)&&c[oe].A===s&&e(s.p):(s.u&&(function u(p){if(p&&typeof p=="object"){var h=p[oe];if(h){var g=h.t,v=h.k,S=h.R,L=h.i;if(L===4)ir(v,(function(C){C!==oe&&(g[C]!==void 0||Mr(g,C)?S[C]||u(v[C]):(S[C]=!0,Mt(h)))})),ir(g,(function(C){v[C]!==void 0||Mr(v,C)||(S[C]=!1,Mt(h))}));else if(L===5){if(o(h)&&(Mt(h),S.length=!0),v.length<g.length)for(var _=v.length;_<g.length;_++)S[_]=!1;else for(var N=g.length;N<v.length;N++)S[N]=!0;for(var M=Math.min(v.length,g.length),E=0;E<M;E++)v.hasOwnProperty(E)||(S[E]=!0),S[E]===void 0&&u(v[E])}}}})(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Bl,No,Zi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Su=typeof Map<"u",Cu=typeof Set<"u",$l=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Vl=Zi?Symbol.for("immer-nothing"):((Bl={})["immer-nothing"]=!0,Bl),Hl=Zi?Symbol.for("immer-draftable"):"__$immer_draftable",oe=Zi?Symbol.for("immer-state"):"__$immer_state";var Eu=""+Object.prototype.constructor,Pr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,jl=Object.getOwnPropertyDescriptors||function(t){var e={};return Pr(t).forEach((function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)})),e},Fi={},Mo={get:function(t,e){if(e===oe)return t;var r=Nt(t);if(!Mr(r,e))return(function(a,i,s){var c,d=Dl(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0})(t,r,e);var o=r[e];return t.I||!Ke(o)?o:o===Di(t.t,e)?(Ui(t),t.o[e]=Hi(t.A.h,o,t)):o},has:function(t,e){return e in Nt(t)},ownKeys:function(t){return Reflect.ownKeys(Nt(t))},set:function(t,e,r){var o=Dl(Nt(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var a=Di(Nt(t),e),i=a?.[oe];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Gl(r,a)&&(r!==void 0||Mr(t.t,e)))return!0;Ui(t),Mt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Di(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ui(t),Mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Nt(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){$e(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){$e(12)}},To={};ir(Mo,(function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,r){return Mo.set.call(this,t[0],e,r,t[0])};var Au=(function(){function t(r){var o=this;this.O=$l,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var d=o;return function(L){var _=this;L===void 0&&(L=c);for(var N=arguments.length,M=Array(N>1?N-1:0),E=1;E<N;E++)M[E-1]=arguments[E];return d.produce(L,(function(C){var O;return(O=i).call.apply(O,[_,C].concat(M))}))}}var u;if(typeof i!="function"&&$e(6),s!==void 0&&typeof s!="function"&&$e(7),Ke(a)){var p=Il(o),h=Hi(o,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?vn(p):$i(p)}return typeof Promise<"u"&&u instanceof Promise?u.then((function(L){return Ii(p,s),zi(L,p)}),(function(L){throw vn(p),L})):(Ii(p,s),zi(u,p))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Vl&&(u=void 0),o.D&&ji(u,!0),s){var v=[],S=[];ot("Patches").M(a,u,v,S),s(v,S)}return u}$e(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var p=arguments.length,h=Array(p>1?p-1:0),g=1;g<p;g++)h[g-1]=arguments[g];return o.produceWithPatches(u,(function(v){return a.apply(void 0,[v].concat(h))}))};var s,c,d=o.produce(a,i,(function(u,p){s=u,c=p}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(u){return[u,s,c]})):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ke(r)||$e(8),xt(r)&&(r=vu(r));var o=Il(this),a=Hi(this,r,void 0);return a[oe].C=!0,$i(o),a},e.finishDraft=function(r,o){var a=r&&r[oe],i=a.A;return Ii(i,o),zi(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!$l&&$e(20),this.O=r},e.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=ot("Patches").$;return xt(r)?s(r,o):this.produce(r,(function(c){return s(c,o)}))},t})(),Ne=new Au,Lu=Ne.produce,mg=Ne.produceWithPatches.bind(Ne),gg=Ne.setAutoFreeze.bind(Ne),yg=Ne.setUseProxies.bind(Ne),bg=Ne.applyPatches.bind(Ne),xg=Ne.createDraft.bind(Ne),vg=Ne.finishDraft.bind(Ne),En=Lu;function sr(t){"@babel/helpers - typeof";return sr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sr(t)}function Kl(t,e){if(sr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(sr(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Zl(t){var e=Kl(t,"string");return sr(e)=="symbol"?e:e+""}function Yl(t,e,r){return(e=Zl(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ql(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,o)}return r}function Yi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ql(Object(r),!0).forEach(function(o){Yl(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ql(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function xe(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Xl=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),qi=function(){return Math.random().toString(36).substring(7).split("").join(".")},An={INIT:"@@redux/INIT"+qi(),REPLACE:"@@redux/REPLACE"+qi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qi()}};function Ou(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Xi(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(xe(1));return r(Xi)(t,e)}if(typeof t!="function")throw new Error(xe(2));var a=t,i=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function p(){if(d)throw new Error(xe(3));return i}function h(L){if(typeof L!="function")throw new Error(xe(4));if(d)throw new Error(xe(5));var _=!0;return u(),c.push(L),function(){if(_){if(d)throw new Error(xe(6));_=!1,u();var M=c.indexOf(L);c.splice(M,1),s=null}}}function g(L){if(!Ou(L))throw new Error(xe(7));if(typeof L.type>"u")throw new Error(xe(8));if(d)throw new Error(xe(9));try{d=!0,i=a(i,L)}finally{d=!1}for(var _=s=c,N=0;N<_.length;N++){var M=_[N];M()}return L}function v(L){if(typeof L!="function")throw new Error(xe(10));a=L,g({type:An.REPLACE})}function S(){var L,_=h;return L={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(xe(11));function E(){M.next&&M.next(p())}E();var C=_(E);return{unsubscribe:C}}},L[Xl]=function(){return this},L}return g({type:An.INIT}),o={dispatch:g,subscribe:h,getState:p,replaceReducer:v},o[Xl]=S,o}function Ru(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:An.INIT});if(typeof o>"u")throw new Error(xe(12));if(typeof r(void 0,{type:An.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function Jl(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var a=e[o];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{Ru(r)}catch(d){c=d}return function(u,p){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var g=!1,v={},S=0;S<i.length;S++){var L=i[S],_=r[L],N=u[L],M=_(N,p);if(typeof M>"u"){var E=p&&p.type;throw new Error(xe(14))}v[L]=M,g=g||M!==N}return g=g||i.length!==Object.keys(u).length,g?v:u}}function Ir(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Ql(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(xe(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return i=Ir.apply(void 0,c)(a.dispatch),Yi(Yi({},a),{},{dispatch:i})}}}function e1(t){var e=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var t1=e1();t1.withExtraArgument=e1;var Ji=t1;var i1=(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}})(),wu=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(p){return d([u,p])}}function d(u){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(p){u=[6,p],a=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},zr=function(t,e){for(var r=0,o=e.length,a=t.length;r<o;r++,a++)t[a]=e[r];return t},_u=Object.defineProperty,Tu=Object.defineProperties,Nu=Object.getOwnPropertyDescriptors,r1=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,Pu=Object.prototype.propertyIsEnumerable,o1=function(t,e,r){return e in t?_u(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Pt=function(t,e){for(var r in e||(e={}))Mu.call(e,r)&&o1(t,r,e[r]);if(r1)for(var o=0,a=r1(e);o<a.length;o++){var r=a[o];Pu.call(e,r)&&o1(t,r,e[r])}return t},Qi=function(t,e){return Tu(t,Nu(e))},ku=function(t,e,r){return new Promise(function(o,a){var i=function(d){try{c(r.next(d))}catch(u){a(u)}},s=function(d){try{c(r.throw(d))}catch(u){a(u)}},c=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(t,e)).next())})};var Iu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ir:Ir.apply(null,arguments)},Ug=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function zu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function kt(t,e){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Pt(Pt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}var Du=(function(t){i1(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,zr([void 0],r[0].concat(this)))):new(e.bind.apply(e,zr([void 0],r.concat(this))))},e})(Array),Uu=(function(t){i1(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,zr([void 0],r[0].concat(this)))):new(e.bind.apply(e,zr([void 0],r.concat(this))))},e})(Array);function rs(t){return Ke(t)?En(t,function(){}):t}function Bu(t){return typeof t=="boolean"}function $u(){return function(e){return Hu(e)}}function Hu(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,a=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,c=t.actionCreatorCheck,d=c===void 0?!0:c,u=new Du;if(r&&(Bu(r)?u.push(Ji):u.push(Ji.withExtraArgument(r.extraArgument))),0){if(a)var p;if(s)var h;if(d)var g}return u}var es=!0;function s1(t){var e=$u(),r=t||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,p=u===void 0?void 0:u,h=r.enhancers,g=h===void 0?void 0:h,v;if(typeof a=="function")v=a;else if(zu(a))v=Jl(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(e),!es&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!es&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var L=Ql.apply(void 0,S),_=Ir;d&&(_=Iu(Pt({trace:!es},typeof d=="object"&&d)));var N=new Uu(L),M=N;Array.isArray(g)?M=zr([L],g):typeof g=="function"&&(M=g(N));var E=_.apply(void 0,M);return Xi(v,p,E)}function c1(t){var e={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(!c)throw new Error("`builder.addCase` cannot be called with an empty action type");if(c in e)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return t(a),[e,r,o]}function Fu(t){return typeof t=="function"}function Gu(t,e,r,o){r===void 0&&(r=[]);var a=typeof e=="function"?c1(e):[e,r,o],i=a[0],s=a[1],c=a[2],d;if(Fu(t))d=function(){return rs(t())};else{var u=rs(t);d=function(){return u}}function p(h,g){h===void 0&&(h=d());var v=zr([i[g.type]],s.filter(function(S){var L=S.matcher;return L(g)}).map(function(S){var L=S.reducer;return L}));return v.filter(function(S){return!!S}).length===0&&(v=[c]),v.reduce(function(S,L){if(L)if(xt(S)){var _=S,N=L(_,g);return N===void 0?S:N}else{if(Ke(S))return En(S,function(M){return L(M,g)});var N=L(S,g);if(N===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return S},h)}return p.getInitialState=d,p}function Wu(t,e){return t+"/"+e}function l1(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:rs(t.initialState),o=t.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(p){var h=o[p],g=Wu(e,p),v,S;"reducer"in h?(v=h.reducer,S=h.prepare):v=h,i[p]=v,s[g]=v,c[p]=S?kt(g,S):kt(g)});function d(){var p=typeof t.extraReducers=="function"?c1(t.extraReducers):[t.extraReducers],h=p[0],g=h===void 0?{}:h,v=p[1],S=v===void 0?[]:v,L=p[2],_=L===void 0?void 0:L,N=Pt(Pt({},g),s);return Gu(r,function(M){for(var E in N)M.addCase(E,N[E]);for(var C=0,O=S;C<O.length;C++){var I=O[C];M.addMatcher(I.matcher,I.reducer)}_&&M.addDefaultCase(_)})}var u;return{name:e,reducer:function(p,h){return u||(u=d()),u(p,h)},actions:c,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Vu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ju=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Vu[Math.random()*64|0];return e},Ku=["name","message","stack","code"],ts=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),n1=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),Zu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Ku;r<o.length;r++){var a=o[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},Fg=(function(){function t(e,r,o){var a=kt(e+"/fulfilled",function(p,h,g,v){return{payload:p,meta:Qi(Pt({},v||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=kt(e+"/pending",function(p,h,g){return{payload:void 0,meta:Qi(Pt({},g||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=kt(e+"/rejected",function(p,h,g,v,S){return{payload:v,error:(o&&o.serializeError||Zu)(p||"Rejected"),meta:Qi(Pt({},S||{}),{arg:g,requestId:h,rejectedWithValue:!!v,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:(function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p})();function u(p){return function(h,g,v){var S=o?.idGenerator?o.idGenerator(p):ju(),L=new d,_,N=!1;function M(C){_=C,L.abort()}var E=(function(){return ku(this,null,function(){var C,O,I,H,Z,K,U;return wu(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),H=(C=o?.condition)==null?void 0:C.call(o,p,{getState:g,extra:v}),qu(H)?[4,H]:[3,2];case 1:H=b.sent(),b.label=2;case 2:if(H===!1||L.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,Z=new Promise(function(A,z){return L.signal.addEventListener("abort",function(){return z({name:"AbortError",message:_||"Aborted"})})}),h(i(S,p,(O=o?.getPendingMeta)==null?void 0:O.call(o,{requestId:S,arg:p},{getState:g,extra:v}))),[4,Promise.race([Z,Promise.resolve(r(p,{dispatch:h,getState:g,extra:v,requestId:S,signal:L.signal,abort:M,rejectWithValue:function(A,z){return new ts(A,z)},fulfillWithValue:function(A,z){return new n1(A,z)}})).then(function(A){if(A instanceof ts)throw A;return A instanceof n1?a(A.payload,S,p,A.meta):a(A,S,p)})])];case 3:return I=b.sent(),[3,5];case 4:return K=b.sent(),I=K instanceof ts?s(null,S,p,K.payload,K.meta):s(K,S,p),[3,5];case 5:return U=o&&!o.dispatchConditionRejection&&s.match(I)&&I.meta.condition,U||h(I),[2,I]}})})})();return Object.assign(E,{abort:M,requestId:S,arg:p,unwrap:function(){return E.then(Yu)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t})();function Yu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function qu(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var d1="listener",u1="completed",f1="cancelled",Gg="task-"+f1,Wg="task-"+u1,Vg=d1+"-"+f1,jg=d1+"-"+u1;var os="listenerMiddleware";var Kg=kt(os+"/add"),Zg=kt(os+"/removeAll"),Yg=kt(os+"/remove");var a1,qg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(a1||(a1=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Xu=function(t){return function(e){setTimeout(e,t)}},Xg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Xu(10);Wl();window.ftReduxStores||(window.ftReduxStores={});var cr=class t extends ht{static get(e){var r;let o=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if(Nr(i))return i;if(a==null)return;let s=l1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=s1({reducer:(d,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let p=Ve(s.getInitialState());for(let h of u.keeping)p[h]=(d??p)[h];return p}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...u.overwrites};return s.reducer(d,u)}});return window.ftReduxStores[a.name]=new t(s,c,a.eventBus)}constructor(e,r,o){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new wo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,c)=>{let d=s,u=i[d];return u?(...p)=>{let h=u(...p.map(a));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[d]:a(p)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Ju(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Nr(e)&&e.clear()}var Ln=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);pt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Qu(t,e,r){return new Ln(t,e,r).watch()}var Po=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var ss={};q(ss,{scrollHelper:()=>ef});var as,On=new Map,is=class{lock(e,r){if(r){let o=On.get(r);if(o==null||o===e)return On.set(r,e),r}}release(e,r){r&&On.get(r)===e&&On.delete(r)}findFirstScrollableParent(e){var r;let o,a;for(let i of Na(e)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else c&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var o,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,e),i=a-o.clientHeight+e.clientHeight,s=a,c=qt(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(as=window.FluidTopicsScrollHelper)!==null&&as!==void 0?as:new is;var ef=window.FluidTopicsScrollHelper;var ls={};q(ls,{SearchPlaceConverter:()=>$r,SearchPlaceQueryParams:()=>j,isSearchPlaceQueryParams:()=>e2,serializeRequest:()=>nf});var rf=O0(h1(),1);var m1;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(m1||(m1={}));var g1;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(g1||(g1={}));var y1;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(y1||(y1={}));var b1;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(b1||(b1={}));var x1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(x1||(x1={}));var v1;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(v1||(v1={}));var S1;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(S1||(S1={}));var C1;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(C1||(C1={}));var E1;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(E1||(E1={}));var A1;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(A1||(A1={}));var L1;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(L1||(L1={}));var O1;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(O1||(O1={}));var R1;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(R1||(R1={}));var w1;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(w1||(w1={}));var _1;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(_1||(_1={}));var T1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(T1||(T1={}));var Ur;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ur||(Ur={}));var N1;(function(t){t.ASC="ASC",t.DESC="DESC"})(N1||(N1={}));var M1;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(M1||(M1={}));var cs;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(cs||(cs={}));var $1=t=>Object.keys(cs).includes(t);var P1;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(P1||(P1={}));var k1;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(k1||(k1={}));var I1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(I1||(I1={}));var Br;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Br||(Br={}));var H1=t=>Object.keys(Br).includes(t);var z1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(z1||(z1={}));var D1;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(D1||(D1={}));var U1;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(U1||(U1={}));var ce;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(ce||(ce={}));var He;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(He||(He={}));var B1;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(B1||(B1={}));var F1;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(F1||(F1={}));var G1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(G1||(G1={}));var W1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(W1||(W1={}));var V1;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(V1||(V1={}));var j1;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(j1||(j1={}));var K1;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(K1||(K1={}));var Z1;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Z1||(Z1={}));var Y1;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Y1||(Y1={}));var q1;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(q1||(q1={}));var tf={[ce.PERSONAL_BOOK_SHARE_USER]:[ce.PERSONAL_BOOK_USER],[ce.HTML_EXPORT_USER]:[ce.PERSONAL_BOOK_USER],[ce.PDF_EXPORT_USER]:[ce.PERSONAL_BOOK_USER],[ce.KHUB_ADMIN]:[ce.CONTENT_PUBLISHER],[ce.ADMIN]:[ce.KHUB_ADMIN,ce.USERS_ADMIN,ce.PORTAL_ADMIN,ce.BEHAVIOR_DATA_USER],[ce.GENERATIVE_AI_EXPORT_USER]:[ce.GENERATIVE_AI_USER]};function X1(t,e){return t===e||(tf[t]??[]).some(r=>X1(r,e))}function J1(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(o=>X1(o,e))}function of(t){return`"${t}"`}function Q1(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function nf(t,e){return new $r(t).serialize(e)}var j;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(j||(j={}));var af=new Set(Object.values(j));function e2(t){return af.has(t)}var $r=class{constructor(e,r=20,o=!1,a="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,r=!1){var o,a,i,s,c,d,u,p,h,g,v;let S=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&S.append(j.LOCALE,e.contentLocale):S.append(j.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&S.append(j.QUERY,e.query);let L=(i=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter&&!C.valueFilter.negative))!==null&&i!==void 0?i:[];if(L.length>0){let C=L.map(O=>{var I,H;let Z=((H=(I=O.valueFilter)===null||I===void 0?void 0:I.values)!==null&&H!==void 0?H:[]).map(K=>this.escapeFilters(K)).map(K=>of(Q1(K))).join("_");return`${O.key}~${Z}`}).join("*");S.append(j.VALUE_FILTERS,C)}let _=(c=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(C=>C.dateFilter))!==null&&c!==void 0?c:[];if(_.length>0){let C=_.map(O=>{var I;return`${O.key}~${(I=O.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");S.append(j.DATE_FILTERS,C)}let N=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&u!==void 0?u:[];if(N.length>0){let C=N.map(O=>{var I,H;return`${O.key}~${(I=O.rangeFilter)===null||I===void 0?void 0:I.from}_${(H=O.rangeFilter)===null||H===void 0?void 0:H.to}`}).join("*");S.append(j.RANGE_FILTERS,C)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(j.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&S.append(j.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&S.append(j.SORT,e.sortId),!((p=e.paging)===null||p===void 0)&&p.perPage&&((g=(h=e.paging)===null||h===void 0?void 0:h.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&S.append(j.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&S.append(j.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let M=(v=e.otherQueryParams)!==null&&v!==void 0?v:{};for(let C in M)S.append(C,M[C]);let E=new Array;return S.forEach((C,O)=>{E.push(this.encodeQueryString(O)+"="+this.encodeQueryString(C))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,o,a,i,s,c;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let d=new URLSearchParams(e),u=d.get(j.LOCALE)==="all"?void 0:d.get(j.LOCALE),p=((r=d.get(j.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(o=d.get(j.SORT))===null||o===void 0?void 0:o.toLowerCase(),g=(a=d.get(j.SCOPE))!==null&&a!==void 0?a:"default",v=+((i=d.get(j.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S=d.get(j.KEYWORD_MATCH),L=S?S.toUpperCase()===Ur.MANDATORY?Ur.MANDATORY:Ur.OPTIONAL:void 0,_={};for(let N of d.keys())e2(N)||(_[N]=d.get(N));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(j.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:$1(p)?p:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:qt(1,isNaN(v)?this.defaultPerPage:v,1e3)},keywordMatch:L,otherQueryParams:_}}parseCompatFilters(e){var r,o,a,i,s,c;let d=[];return e.has(j.FILTERS)&&(d=this.parseValueFilters((r=e.get(j.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(j.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(j.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(j.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(j.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(j.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Q1).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Br[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(o,a);return e}unescapeFilterValue(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(H1(e))return[{key:"ft:lastEdition",dateFilter:{type:Br[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}static clearSearchParamsInUrl(e){let r=new URL(e);return[j.LOCALE,j.FILTERS,j.VALUE_FILTERS,j.DATE_FILTERS,j.RANGE_FILTERS].forEach(a=>{r.searchParams.delete(a)}),r.toString()}static updateLocaleParamInUrl(e,r){let o=new URL(e);return o.searchParams.delete(j.LOCALE),r!==void 0&&o.searchParams.append(j.LOCALE,r),o.toString()}};var fs={};q(fs,{toFtFormComponent:()=>us});var ds=Symbol("elementInternals"),us=ye(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[ds].form}constructor(...o){super(o),this[ds]=this.attachInternals()}setFormValue(o){this[ds].setFormValue(o)}}return e});var ps={};q(ps,{DateFormatter:()=>lr});var lr=class{static format(e,r,o,a,i){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,a,!!i)):this.getIntlDateTime(e,r,o,a,!!i)}static getMomentDateFormat(e,r,o){return o?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,a,i){let s=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${c} ${d}`:c}static getTimezoneAsString(){let e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var ms={};q(ms,{ALL_KEYS_VALUE:()=>hs,SameWindowStorageEvent:()=>Hr});var hs="__all__",Hr=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==hs}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Hr(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Hr(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Hr(hs))}});var ys={};q(ys,{FocusMainContentEvent:()=>gs});var gs=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var t2={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function sf(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function cf(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",sf);document.addEventListener("click",cf);var r2=B`
|
|
49
49
|
.sr-only {
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:-10000px;
|
|
@@ -82,7 +82,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
82
82
|
<li>${this.helperText}</li>
|
|
83
83
|
`)}
|
|
84
84
|
</ul>
|
|
85
|
-
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?ur.error:this.warningMessages.length?ur.warning:ur.default}processRules(o){return o.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return be([R()],e.prototype,"warningRules",void 0),be([R()],e.prototype,"errorRules",void 0),be([R()],e.prototype,"validateOn",void 0),be([R({type:Boolean})],e.prototype,"validateAtRender",void 0),be([R()],e.prototype,"label",void 0),be([R({type:Boolean})],e.prototype,"hideLabel",void 0),be([R()],e.prototype,"name",void 0),be([R({type:Boolean})],e.prototype,"disabled",void 0),be([R()],e.prototype,"helperText",void 0),be([R()],e.prototype,"forceStatus",void 0),be([R({reflect:!0})],e.prototype,"value",void 0),be([ae()],e.prototype,"errorMessages",void 0),be([ae()],e.prototype,"warningMessages",void 0),be([ae()],e.prototype,"status",void 0),be([ae()],e.prototype,"focused",void 0),be([ae()],e.prototype,"additionalWarningRules",void 0),be([ae()],e.prototype,"additionalErrorRules",void 0),e});var ko=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(e,!1),ko(o,e);return!0},_n=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},n2=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),pf(e)}};function uf(t){this._$AN!==void 0?(_n(this),this._$AM=t,n2(this)):this._$AM=t}function ff(t,e=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(e)if(Array.isArray(o))for(let i=r;i<o.length;i++)ko(o[i],!1),_n(o[i]);else o!=null&&(ko(o,!1),_n(o));else ko(this,t)}var pf=t=>{t.type==
|
|
85
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?ur.error:this.warningMessages.length?ur.warning:ur.default}processRules(o){return o.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return be([R()],e.prototype,"warningRules",void 0),be([R()],e.prototype,"errorRules",void 0),be([R()],e.prototype,"validateOn",void 0),be([R({type:Boolean})],e.prototype,"validateAtRender",void 0),be([R()],e.prototype,"label",void 0),be([R({type:Boolean})],e.prototype,"hideLabel",void 0),be([R()],e.prototype,"name",void 0),be([R({type:Boolean})],e.prototype,"disabled",void 0),be([R()],e.prototype,"helperText",void 0),be([R()],e.prototype,"forceStatus",void 0),be([R({reflect:!0})],e.prototype,"value",void 0),be([ae()],e.prototype,"errorMessages",void 0),be([ae()],e.prototype,"warningMessages",void 0),be([ae()],e.prototype,"status",void 0),be([ae()],e.prototype,"focused",void 0),be([ae()],e.prototype,"additionalWarningRules",void 0),be([ae()],e.prototype,"additionalErrorRules",void 0),e});var ko=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(e,!1),ko(o,e);return!0},_n=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},n2=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),pf(e)}};function uf(t){this._$AN!==void 0?(_n(this),this._$AM=t,n2(this)):this._$AM=t}function ff(t,e=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(e)if(Array.isArray(o))for(let i=r;i<o.length;i++)ko(o[i],!1),_n(o[i]);else o!=null&&(ko(o,!1),_n(o));else ko(this,t)}var pf=t=>{t.type==Je.CHILD&&(t._$AP??=ff,t._$AQ??=uf)},Fr=class extends De{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),n2(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(ko(this,e),_n(this))}setValue(e){if(Uc(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var vs=class extends Fr{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let o=r.relatedTarget;this.isInsideElement(o,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return le}update(e){return this.part=e,this.ensureFocusTrap(e.element),le}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,o;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((o=this.lastTrap)===null||o===void 0?void 0:o.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,o,a;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.removeEventListener("focus",this.onLastTrapFocus),(o=this.firstTrap)===null||o===void 0||o.remove(),(a=this.lastTrap)===null||a===void 0||a.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let o=0;o<r.length;o++){let a=r[o];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusFirstDescendant(a)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let o=r.length-1;o>=0;o--){let a=r[o];if(a instanceof HTMLElement&&(this.attemptFocus(a)||await this.focusLastDescendant(a)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof ze&&await e.updateComplete}isInsideElement(e,r){for(let o=e;o;o=o.parentNode){if(o===r)return!0;o instanceof ShadowRoot?o=o.host:o.assignedSlot&&(o=o.assignedSlot)}return!1}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},p7=_e(vs);var a2;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(a2||(a2={}));var hf={sm:640,md:768,lg:1024,xl:1280},Ss=class extends Fr{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,o,a]){return this.lastArgs=[r,o,a],this.render(r,o,a)}render(e,r,o){let a=this.resolveThreshold(e),i=o??(()=>G);return this.size>a?r():i()}resolveThreshold(e){return typeof e=="number"?e:hf[e]}},y7=_e(Ss);var Cs,Es,As,Ls,Os=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((As=(Es=(Cs=window.safari)===null||Cs===void 0?void 0:Cs.pushNotification)===null||Es===void 0?void 0:Es.toString())!==null&&As!==void 0?As:"")==="[object SafariRemoteNotification]",mf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ls=window.ftGlobals)!==null&&Ls!==void 0?Ls:{lit:ba,litDecorators:Sa,litRepeat:Ca,litClassMap:Ea,litStyleMap:La,litUnsafeHTML:Oa,wcUtils:{...za,...wa,...Ha,...ps,...Fa,..._a,...si,...Ia,...Ci,...ys,...t2,...ss,...Ei,...ii,..._i,...fs,...Ri,...bs,...Nl,...Ma,...Mi,...ci,...Pi,...r2,...Pl,...ki,...ns,...ms,...Ai,...Oi,...ls,...Ua,isSafari:Os,isTouchScreen:mf,setVariable:w}};var i2=n.extend("--ft-ripple-color","",ee.colorContent),P={color:i2,backgroundColor:n.extend("--ft-ripple-background-color","",i2),opacityContentOnSurfacePressed:n.external(ee.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:n.external(ee.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:n.external(ee.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:n.external(ee.opacityContentOnSurfaceSelected,"Design system"),borderRadius:n.create("--ft-ripple-border-radius","","SIZE","0px")},s2=n.extend("--ft-ripple-color","",ee.colorPrimary),c2={color:s2,backgroundColor:n.extend("--ft-ripple-background-color","",s2)},l2=n.extend("--ft-ripple-color","",ee.colorSecondary),d2={color:l2,backgroundColor:n.extend("--ft-ripple-background-color","",l2)},u2=B`
|
|
86
86
|
:host {
|
|
87
87
|
display: contents;
|
|
88
88
|
}
|
|
@@ -554,7 +554,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
554
554
|
<div class="ft-ripple--background"></div>
|
|
555
555
|
<div class="ft-ripple--effect"></div>
|
|
556
556
|
</div>
|
|
557
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((r=this.target)!==null&&r!==void 0?r:o)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},o=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",o,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",o,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,o=e,a,i;return r.x!=null?{x:a,y:i}=r:o.touches!=null&&(a=o.touches[0].clientX,i=o.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ie.elementDefinitions={};ie.styles=u2;we([R({type:Boolean})],ie.prototype,"primary",void 0);we([R({type:Boolean})],ie.prototype,"secondary",void 0);we([R({type:Boolean})],ie.prototype,"unbounded",void 0);we([R({type:Boolean})],ie.prototype,"activated",void 0);we([R({type:Boolean})],ie.prototype,"selected",void 0);we([R({type:Boolean})],ie.prototype,"disabled",void 0);we([ae()],ie.prototype,"hovered",void 0);we([ae()],ie.prototype,"focused",void 0);we([ae()],ie.prototype,"pressed",void 0);we([ae()],ie.prototype,"rippling",void 0);we([ae()],ie.prototype,"originX",void 0);we([ae()],ie.prototype,"originY",void 0);we([Ee(".ft-ripple")],ie.prototype,"ripple",void 0);we([Ee(".ft-ripple--effect")],ie.prototype,"rippleEffect",void 0);var _2={"ft-ripple":ie};de(_2);var N2=Symbol.for(""),gf=t=>{if(t?.r===N2)return t?._$litStatic$},Jr=t=>({_$litStatic$:t,r:N2});var T2=new Map,ws=t=>(e,...r)=>{let o=r.length,a,i,s=[],c=[],d,u=0,p=!1;for(;u<o;){for(d=e[u];u<o&&(i=r[u],(a=gf(i))!==void 0);)d+=a+e[++u],p=!0;u!==o&&c.push(i),s.push(d),u++}if(u===o&&s.push(e[o]),p){let h=s.join("$$lit$$");(e=T2.get(h))===void 0&&(s.raw=s,T2.set(h,e=s)),r=c}return t(e,...r)},Qr=ws(F),V9=ws(pa),j9=ws(ha);var zt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(zt||(zt={}));var M2=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},
|
|
557
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((r=this.target)!==null&&r!==void 0?r:o)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},o=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",o,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",o,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,o=e,a,i;return r.x!=null?{x:a,y:i}=r:o.touches!=null&&(a=o.touches[0].clientX,i=o.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ie.elementDefinitions={};ie.styles=u2;we([R({type:Boolean})],ie.prototype,"primary",void 0);we([R({type:Boolean})],ie.prototype,"secondary",void 0);we([R({type:Boolean})],ie.prototype,"unbounded",void 0);we([R({type:Boolean})],ie.prototype,"activated",void 0);we([R({type:Boolean})],ie.prototype,"selected",void 0);we([R({type:Boolean})],ie.prototype,"disabled",void 0);we([ae()],ie.prototype,"hovered",void 0);we([ae()],ie.prototype,"focused",void 0);we([ae()],ie.prototype,"pressed",void 0);we([ae()],ie.prototype,"rippling",void 0);we([ae()],ie.prototype,"originX",void 0);we([ae()],ie.prototype,"originY",void 0);we([Ee(".ft-ripple")],ie.prototype,"ripple",void 0);we([Ee(".ft-ripple--effect")],ie.prototype,"rippleEffect",void 0);var _2={"ft-ripple":ie};de(_2);var N2=Symbol.for(""),gf=t=>{if(t?.r===N2)return t?._$litStatic$},Jr=t=>({_$litStatic$:t,r:N2});var T2=new Map,ws=t=>(e,...r)=>{let o=r.length,a,i,s=[],c=[],d,u=0,p=!1;for(;u<o;){for(d=e[u];u<o&&(i=r[u],(a=gf(i))!==void 0);)d+=a+e[++u],p=!0;u!==o&&c.push(i),s.push(d),u++}if(u===o&&s.push(e[o]),p){let h=s.join("$$lit$$");(e=T2.get(h))===void 0&&(s.raw=s,T2.set(h,e=s)),r=c}return t(e,...r)},Qr=ws(F),V9=ws(pa),j9=ws(ha);var zt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(zt||(zt={}));var M2=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ze=class extends J{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Qr`
|
|
558
558
|
<${Jr(this.element)}
|
|
559
559
|
part="text"
|
|
560
560
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -562,7 +562,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
562
562
|
</${Jr(this.element)}>
|
|
563
563
|
`:Qr`
|
|
564
564
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
565
|
-
`}};
|
|
565
|
+
`}};Ze.styles=[p2,h2,m2,g2,y2,b2,x2,v2,S2,C2,E2];M2([R()],Ze.prototype,"element",void 0);M2([R()],Ze.prototype,"variant",void 0);var Fe;(function(t){t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Fe||(Fe={}));function yf(t,e){let r=fn[t];return B`
|
|
566
566
|
${e?Lt(e):B`.ftds-typography--${Lt(t)}`} {
|
|
567
567
|
font-family: ${r.fontFamily};
|
|
568
568
|
font-size: ${r.fontSize};
|
|
@@ -580,7 +580,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
580
580
|
</${Jr(this.element)}>
|
|
581
581
|
`:Qr`
|
|
582
582
|
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
583
|
-
`}};St.styles=[...P2];k2([R()],St.prototype,"element",void 0);k2([R()],St.prototype,"variant",void 0);var I2={"ft-typography":
|
|
583
|
+
`}};St.styles=[...P2];k2([R()],St.prototype,"element",void 0);k2([R()],St.prototype,"variant",void 0);var I2={"ft-typography":Ze,"ftds-typography":St};de(I2);var Io={distance:n.create("--ft-tooltip-distance","","SIZE","4px"),color:n.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:n.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:n.extend("--ft-tooltip-border-radius","",ee.borderRadiusS),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","150px")},z2=B`
|
|
584
584
|
.ft-tooltip--container {
|
|
585
585
|
display: block;
|
|
586
586
|
}
|
|
@@ -611,15 +611,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
611
611
|
position: relative;
|
|
612
612
|
word-break: break-word;
|
|
613
613
|
}
|
|
614
|
-
`;var bf="ft-app-info",eo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};eo.eventName="authentication-change";var zo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};zo.eventName="ui-locale-changed";var xf={session:(t,e)=>{Te(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new eo(e.payload)),0))}},W=cr.get({name:bf,reducers:xf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!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 Tn=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Xb=ye(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(W)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var a,i;return((i=(a=this.metadataDescriptors.find(c=>c.key===o))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?c=>lr.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Tn([R({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Tn([R({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Tn([Tr({store:W.name,selector:r=>{var o,a;return(a=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],e.prototype,"metadataDescriptors",void 0),Tn([Tr({store:W.name})],e.prototype,"uiLocale",void 0),e});var fr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=W.getState(),a=e??o;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let a=W.subscribe(()=>{o=t.get(e),o&&(a(),r(o))})}})}};var to=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:fr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):fr.await()}};var Me=class extends to{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([c],[d])=>c.localeCompare(d)));let a=this.constructor;a.commonCache=(o=a.commonCache)!==null&&o!==void 0?o:new Qe,this.cache=e?a.commonCache:new Qe}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}};var Nn=class extends Me{async listMySearches(){let{session:e}=W.getState();return J1(e,ce.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var Mn=class extends Me{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Pn=class extends Me{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=W.getState().session;return!!e?.sessionAuthenticated}};var kn=class extends Me{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=W.getState().session;return!!e?.sessionAuthenticated}};var vf="ft-user-assets",Sf={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(He).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:o,asset:a}=e.payload;Ts(t,r,[..._s(t,r),a]),D2(t,r,1,o),U2(t,a)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;Ts(t,r,_s(t,r).map(a=>a.id===o.id?o:a)),U2(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:a}=e.payload;Ts(t,r,_s(t,r).filter(i=>i.id!==a)),D2(t,r,-1,o)}},B2={[He.SEARCHES]:"savedSearches",[He.BOOKMARKS]:"bookmarks",[He.BOOKS]:void 0,[He.COLLECTIONS]:void 0},_s=(t,e)=>{var r;let o=B2[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},Ts=(t,e,r)=>{let o=B2[e];o&&(t[o]=r)},D2=(t,e,r,o)=>{let a=t.assetCounts.allAsset[e];if(a!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,a+r),e===He.BOOKMARKS&&o)){let i=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,i+r)}},U2=(t,e)=>{let r=t.assetLabels.map(a=>a.title),o=e.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));t.assetLabels.push(...o)},Pe=cr.get({name:vf,reducers:Sf,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(He).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Ns=class{constructor(e=new Pn,r=new kn){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mn,this.savedSearchesService=new Nn,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();Te((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Pe.actions.clearAssetCount(),Pe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Pe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Pe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Pe.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Pe.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Pe.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Pe.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Pe.getState().assetCounts.bookmarkByMap).length!==0;e===He.BOOKMARKS&&r&&Pe.actions.clearBookmarkCountByMap(),Pe.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Pe.actions.bookmarks(r)}}},Cf=new Ns;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Cf);var Ms=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ms;var $2,ro=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Ef=Symbol("clearAfterUnitTest"),In=class extends un(Me){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$2]=()=>{this.defaultMessages={},this.cache=new Qe,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let a={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};Te(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new Ro((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(a){!(a instanceof Zt)&&r&&console.error(a)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new ro({loadedContexts:e})),this.dispatchEvent(new ro({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new ro({loadedContexts:[e]})),this.dispatchEvent(new ro({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>ln(0).then(()=>o()).catch(()=>null)))}};$2=Ef;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends In{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends In{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Do=window.FluidTopicsI18nService,Ps=window.FluidTopicsCustomI18nService;var ks=class{highlightHtml(e,r,o){Ni(e,r,o)}};window.FluidTopicsHighlightHtmlService=new ks;var Is=class{isDate(e){var r,o,a,i;return(i=(a=((o=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(c=>c.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var o,a,i,s;if(e==null)return"";try{return lr.format(e,(o=r?.locale)!==null&&o!==void 0?o:W.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1,(s=r?.onlyTime)!==null&&s!==void 0?s:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new Is;var Uo=class{static get(e,r){var o,a;let i=W.getState(),{lang:s,region:c}=(a=(o=i.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new $r(i.baseUrl,e??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var zs=class{urlToSearchRequest(e){return Uo.get().parse(e)}searchRequestToUrl(e){return Uo.get().serialize(e)}};window.FluidTopicsUrlService=new zs;var pr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};pr.eventName="change";var Ds=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},H2=new Ds;var zn=class t extends ht{static build(){return new t(window.history,H2,()=>window.location,!1)}constructor(e,r,o,a){var i,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(i=e.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Te(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new pr(this.currentItem())),0)}installProxies(){let e=r=>(o,a,[i,s,c])=>{let d=r(),u={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};o.apply(a,[u,s,c]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(e){this.addEventListener(pr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(pr.eventName,e)}currentItem(){return Je(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Je(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Je(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let a=e,i=e+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var o;if(!this.hasState(e))return!1;let a=r??this.currentState.majorStateId,i=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=zn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var F2=B`
|
|
614
|
+
`;var bf="ft-app-info",eo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};eo.eventName="authentication-change";var zo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};zo.eventName="ui-locale-changed";var xf={session:(t,e)=>{Te(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new eo(e.payload)),0))}},W=cr.get({name:bf,reducers:xf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!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 Tn=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Xb=ye(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(W)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var a,i;return((i=(a=this.metadataDescriptors.find(c=>c.key===o))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?c=>lr.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Tn([R({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Tn([R({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Tn([Tr({store:W.name,selector:r=>{var o,a;return(a=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],e.prototype,"metadataDescriptors",void 0),Tn([Tr({store:W.name})],e.prototype,"uiLocale",void 0),e});var fr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=W.getState(),a=e??o;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let a=W.subscribe(()=>{o=t.get(e),o&&(a(),r(o))})}})}};var to=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:fr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):fr.await()}};var Me=class extends to{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([c],[d])=>c.localeCompare(d)));let a=this.constructor;a.commonCache=(o=a.commonCache)!==null&&o!==void 0?o:new Qe,this.cache=e?a.commonCache:new Qe}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}};var Nn=class extends Me{async listMySearches(){let{session:e}=W.getState();return J1(e,ce.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var Mn=class extends Me{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Pn=class extends Me{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=W.getState().session;return!!e?.sessionAuthenticated}};var kn=class extends Me{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=W.getState().session;return!!e?.sessionAuthenticated}};var vf="ft-user-assets",Sf={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(He).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:o,asset:a}=e.payload;Ts(t,r,[..._s(t,r),a]),D2(t,r,1,o),U2(t,a)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;Ts(t,r,_s(t,r).map(a=>a.id===o.id?o:a)),U2(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:a}=e.payload;Ts(t,r,_s(t,r).filter(i=>i.id!==a)),D2(t,r,-1,o)}},B2={[He.SEARCHES]:"savedSearches",[He.BOOKMARKS]:"bookmarks",[He.BOOKS]:void 0,[He.COLLECTIONS]:void 0},_s=(t,e)=>{var r;let o=B2[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},Ts=(t,e,r)=>{let o=B2[e];o&&(t[o]=r)},D2=(t,e,r,o)=>{let a=t.assetCounts.allAsset[e];if(a!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,a+r),e===He.BOOKMARKS&&o)){let i=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,i+r)}},U2=(t,e)=>{let r=t.assetLabels.map(a=>a.title),o=e.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));t.assetLabels.push(...o)},Pe=cr.get({name:vf,reducers:Sf,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(He).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Ns=class{constructor(e=new Pn,r=new kn){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mn,this.savedSearchesService=new Nn,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();Te((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Pe.actions.clearAssetCount(),Pe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Pe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Pe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Pe.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Pe.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Pe.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Pe.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Pe.getState().assetCounts.bookmarkByMap).length!==0;e===He.BOOKMARKS&&r&&Pe.actions.clearBookmarkCountByMap(),Pe.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Pe.actions.bookmarks(r)}}},Cf=new Ns;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Cf);var Ms=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ms;var $2,ro=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Ef=Symbol("clearAfterUnitTest"),In=class extends un(Me){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$2]=()=>{this.defaultMessages={},this.cache=new Qe,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let a={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};Te(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new Ro((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(a){!(a instanceof Zt)&&r&&console.error(a)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new ro({loadedContexts:e})),this.dispatchEvent(new ro({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new ro({loadedContexts:[e]})),this.dispatchEvent(new ro({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>ln(0).then(()=>o()).catch(()=>null)))}};$2=Ef;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends In{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends In{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Do=window.FluidTopicsI18nService,Ps=window.FluidTopicsCustomI18nService;var ks=class{highlightHtml(e,r,o){Ni(e,r,o)}};window.FluidTopicsHighlightHtmlService=new ks;var Is=class{isDate(e){var r,o,a,i;return(i=(a=((o=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(c=>c.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var o,a,i,s;if(e==null)return"";try{return lr.format(e,(o=r?.locale)!==null&&o!==void 0?o:W.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1,(s=r?.onlyTime)!==null&&s!==void 0?s:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new Is;var Uo=class{static get(e,r){var o,a;let i=W.getState(),{lang:s,region:c}=(a=(o=i.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new $r(i.baseUrl,e??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var zs=class{urlToSearchRequest(e){return Uo.get().parse(e)}searchRequestToUrl(e){return Uo.get().serialize(e)}};window.FluidTopicsUrlService=new zs;var pr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};pr.eventName="change";var Ds=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},H2=new Ds;var zn=class t extends ht{static build(){return new t(window.history,H2,()=>window.location,!1)}constructor(e,r,o,a){var i,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(i=e.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Te(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new pr(this.currentItem())),0)}installProxies(){let e=r=>(o,a,[i,s,c])=>{let d=r(),u={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};o.apply(a,[u,s,c]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(e){this.addEventListener(pr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(pr.eventName,e)}currentItem(){return Ve(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Ve(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(o=>!!o).filter(o=>o.index<this.currentIndex).reverse();return Ve(r.find(o=>e(o)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Ve(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let a=e,i=e+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var o;if(!this.hasState(e))return!1;let a=r??this.currentState.majorStateId,i=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=zn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var F2=B`
|
|
615
615
|
`;function G2(t,e){let{authenticationRequired:r,session:o}=W.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var Dn=class extends to{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var Us=class t extends Po{static build(e){return new t(W,e)}constructor(e,r){super(),this.store=e,this.cache=new Qe,this.withManualResources=!0,this.localesConfiguration=null,this.userLocaleService=new Dn,this.cleanSessionDebouncer=new Le,this.reloadDebouncer=new Le(500),this.apiProvider=r??(()=>fr.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}async initService(){this.store.addEventListener(eo.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>G2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}reloadConfiguration(){var e;(e=this.cache)===null||e===void 0||e.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){var r,o,a,i,s;this.localesConfiguration=e,this.store.actions.defaultLocales(this.localesConfiguration.defaultLocales),this.store.actions.availableUiLocales((r=this.localesConfiguration.availableUiLocales)!==null&&r!==void 0?r:[]),this.store.actions.searchInAllLanguagesAllowed((o=this.localesConfiguration.allLanguagesAllowed)!==null&&o!==void 0?o:!1),this.store.actions.searchLanguageSetsUiLanguage((a=this.localesConfiguration.searchLanguageSetsUiLanguage)!==null&&a!==void 0?a:!1),this.store.actions.uiLanguageSetsSearchLanguage((i=this.localesConfiguration.uiLanguageSetsSearchLanguage)!==null&&i!==void 0?i:!1),this.store.actions.uiLanguageSetsReaderLanguage((s=this.localesConfiguration.uiLanguageSetsReaderLanguage)!==null&&s!==void 0?s:!1),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e){this.userLocaleService.updateUiLocale({uiLocale:e}).then(r=>{r.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new zo(r)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}},W2=Us.build();var ve=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},se=class extends ar{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.authenticationRequired=!1,this.messageContexts=[],this.stateManager=W2}render(){return F`
|
|
616
616
|
<slot></slot>
|
|
617
617
|
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService()}disconnectedCallback(){super.disconnectedCallback()}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>Do.addContext(o)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};se.elementDefinitions={};se.styles=F2;ve([R()],se.prototype,"baseUrl",void 0);ve([R()],se.prototype,"apiIntegrationIdentifier",void 0);ve([R()],se.prototype,"apiIntegrationAppVersion",void 0);ve([R()],se.prototype,"uiLocale",void 0);ve([he(null)],se.prototype,"availableUiLocales",void 0);ve([he(null)],se.prototype,"metadataConfiguration",void 0);ve([R({type:Boolean})],se.prototype,"editorMode",void 0);ve([R({type:Boolean})],se.prototype,"noCustom",void 0);ve([R({type:Boolean})],se.prototype,"openExternalDocumentInNewTab",void 0);ve([R({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],se.prototype,"noCustomComponent",void 0);ve([R({type:Boolean})],se.prototype,"withManualResources",void 0);ve([R({type:Boolean})],se.prototype,"navigatorOnline",void 0);ve([R({type:Boolean})],se.prototype,"forcedOffline",void 0);ve([R({type:Boolean})],se.prototype,"authenticationRequired",void 0);ve([he([])],se.prototype,"messageContexts",void 0);ve([he(void 0)],se.prototype,"session",void 0);var V2={"ft-app-context":se};de(V2);var Bs=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,o]=e.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},oo=new Bs;var Af=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},$o=Symbol("i18nAttributes"),j2=Symbol("i18nListAttributes"),K2=Symbol("i18nProperties"),Un=Symbol("i18nContexts"),Bo=Symbol("i18nUnsubs"),Z2=ye(Symbol("withI18n"),function(t){var e,r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Ps:Do}i18n(i){let{context:s,key:c,message:d}=i,{custom:u,args:p,argsProvider:h}=i;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let g=p??(h?h(this):[]);return this.getI18nService(u).resolveMessage(s,c,...g)}return d}async awaitI18n(i){let{context:s,custom:c}=i;return s&&await this.getI18nService(c).prepareContext(s),this.i18n(i)}customI18n(i,s){if(oo.isI18nKey(i)){let[c,d]=i.split(".");return this.i18n({custom:!0,context:c,key:d,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,c,d)=>i.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,c,d)=>{var u;return((u=d?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let d=this,u=(p,h,g)=>g?.context&&g.key&&i(p,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...p})}:g;(s=this[$o])===null||s===void 0||s.forEach((p,h)=>d[h]=u(p,h,d[h])),(c=this[j2])===null||c===void 0||c.forEach((p,h)=>{var g;return d[h]=(g=d[h])===null||g===void 0?void 0:g.map(v=>u(p,h,v))})}updateI18nProperties(i){var s;(s=this[K2])===null||s===void 0||s.forEach((c,d)=>{i(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(i,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,c)}addI18nContext(i,s,c){let d=(typeof i=="string"?i:i.name).toLowerCase();c=typeof i=="string"?c:i.custom,this[Un].set(d,{isCustomContext:c}),this[Bo].has(d)||this[Bo].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(i){return this[Un].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Un].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Bo].forEach(i=>i()),this[Bo].clear()}}return e=Un,r=Bo,Af([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),Bn=class extends Z2(J){},$n=class extends Z2(ar){};var $s=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?oo.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},Lf=new $s;var Y2=(t,e)=>(r,o)=>{var a;r.constructor.createProperty(o,{type:Object,hasChanged:pt,converter:oo,...e}),r[$o]=(a=r[$o])!==null&&a!==void 0?a:new Map,r[$o].set(o,t??{})};var q2=B`
|
|
618
|
-
`;var Ho=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},
|
|
618
|
+
`;var Ho=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ye=class extends $n{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":G:F`
|
|
619
619
|
<span class="ft-i18n">
|
|
620
620
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
621
621
|
</span>
|
|
622
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};
|
|
622
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ye.elementDefinitions={};Ye.styles=q2;Ho([Tr()],Ye.prototype,"editorMode",void 0);Ho([R()],Ye.prototype,"context",void 0);Ho([R()],Ye.prototype,"key",void 0);Ho([he([])],Ye.prototype,"args",void 0);Ho([R()],Ye.prototype,"defaultMessage",void 0);var X2={"ft-i18n":Ye};de(X2);var qe=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ue=class extends Bn{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 Le,this.revealDebouncer=new Le,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return F`
|
|
623
623
|
<div part="container"
|
|
624
624
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
625
625
|
<slot part="slot"></slot>
|
|
@@ -634,7 +634,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
634
634
|
</div>
|
|
635
635
|
</div>
|
|
636
636
|
</div>
|
|
637
|
-
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,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(e){var r,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let o=this.manual;this.manual=!0;let a=this.text;this.text={message:e},await this.show(r),this.text=a,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&Si(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${ee.transitionDuration}, left ${ee.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Ta(e,this.ignoreMatchingElements,this.eventsTarget)}};ue.elementDefinitions={"ft-typography":Ke};ue.styles=z2;Ye([Y2()],ue.prototype,"text",void 0);Ye([R({type:Boolean})],ue.prototype,"manual",void 0);Ye([R({type:Boolean})],ue.prototype,"inline",void 0);Ye([Yt()],ue.prototype,"delay",void 0);Ye([R()],ue.prototype,"position",void 0);Ye([he([])],ue.prototype,"ignoreMatchingElements",void 0);Ye([va()],ue.prototype,"slotNodes",void 0);Ye([Ee(".ft-tooltip--container")],ue.prototype,"container",void 0);Ye([Ee(".ft-tooltip")],ue.prototype,"tooltip",void 0);Ye([Ee(".ft-tooltip--content")],ue.prototype,"tooltipContent",void 0);Ye([ae()],ue.prototype,"visible",void 0);var J2={"ft-tooltip":ue};de(J2);var it;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(it||(it={}));var Hn;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CIRCLE_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM="",t.HYPHEN_SOLID="",t.CROSSHAIRS="",t.PERSON_CHALKBOARD="",t.CIRCLE_ARROW_DOWN_SLASH="",t.BOOK_OPEN_COVER="",t.LIGHTBULB="",t.MESSAGE_BOT_AGENTIC_SOLID="",t.CHART_LINE_USER="",t.SERVER_CIRCLE_ARROW_DOWN="",t.EYE="",t.SHARE="󨃱"})(Hn||(Hn={}));var k;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(k||(k={}));var rC=new Map([...["abw"].map(t=>[t,k.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(t=>[t,k.AUDIO]),...["avi"].map(t=>[t,k.AVI]),...["chm","xhs"].map(t=>[t,k.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(t=>[t,k.CODE]),...["csv"].map(t=>[t,k.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,k.DITA]),...["epub"].map(t=>[t,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,k.EXCEL]),...["flac"].map(t=>[t,k.FLAC]),...["gif"].map(t=>[t,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,k.GZIP]),...["html","htm","xhtml"].map(t=>[t,k.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(t=>[t,k.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,k.JPEG]),...["json"].map(t=>[t,k.JSON]),...["m4a","m4p"].map(t=>[t,k.M4A]),...["mov","qt"].map(t=>[t,k.MOV]),...["mp3"].map(t=>[t,k.MP3]),...["mp4","m4v"].map(t=>[t,k.MP4]),...["ogg","oga"].map(t=>[t,k.OGG]),...["pdf","ps"].map(t=>[t,k.PDF]),...["png"].map(t=>[t,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,k.POWERPOINT]),...["rar"].map(t=>[t,k.RAR]),...["stp"].map(t=>[t,k.STP]),...["txt","rtf","md","mdown"].map(t=>[t,k.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(t=>[t,k.VIDEO]),...["wav"].map(t=>[t,k.WAV]),...["wma"].map(t=>[t,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,k.WORD]),...["xml","xsl","rdf"].map(t=>[t,k.XML]),...["yaml","yml","x-yaml"].map(t=>[t,k.YAML]),...["zip"].map(t=>[t,k.ZIP])]);var oC={[k.ABW]:"#91ABC6",[k.AUDIO]:"#1795E3",[k.AVI]:"#E63324",[k.CHM]:"#71C3EB",[k.CODE]:"#71C3EB",[k.CSV]:"#1F7345",[k.DITA]:"#71C3EB",[k.EPUB]:"#85B926",[k.EXCEL]:"#1F7345",[k.FLAC]:"#1795E3",[k.GIF]:"#59B031",[k.GZIP]:"#F8AB36",[k.HTML]:"#71C3EB",[k.IMAGE]:"#59B031",[k.JPEG]:"#59B031",[k.JSON]:"#71C3EB",[k.M4A]:"#1795E3",[k.MOV]:"#E63324",[k.MP3]:"#1795E3",[k.MP4]:"#E63324",[k.OGG]:"#1795E3",[k.PDF]:"#E44948",[k.PNG]:"#59B031",[k.POWERPOINT]:"#B54A2B",[k.RAR]:"#F8AB36",[k.STP]:"#3764B1",[k.TEXT]:"#3162AB",[k.UNKNOWN]:"#999999",[k.VIDEO]:"#E63324",[k.WAV]:"#1795E3",[k.WMA]:"#1795E3",[k.WORD]:"#3162AB",[k.XML]:"#71C3EB",[k.YAML]:"#71C3EB",[k.ZIP]:"#F8AB36"};var Fo=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ke=class extends J{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=G}render(){let e=this.variant&&Object.values(it).includes(this.variant)?this.variant:it.fluid_topics,r=e!==it.material||!!this.value;return F`
|
|
637
|
+
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,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(e){var r,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let o=this.manual;this.manual=!0;let a=this.text;this.text={message:e},await this.show(r),this.text=a,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&Si(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${ee.transitionDuration}, left ${ee.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Ta(e,this.ignoreMatchingElements,this.eventsTarget)}};ue.elementDefinitions={"ft-typography":Ze};ue.styles=z2;qe([Y2()],ue.prototype,"text",void 0);qe([R({type:Boolean})],ue.prototype,"manual",void 0);qe([R({type:Boolean})],ue.prototype,"inline",void 0);qe([Yt()],ue.prototype,"delay",void 0);qe([R()],ue.prototype,"position",void 0);qe([he([])],ue.prototype,"ignoreMatchingElements",void 0);qe([va()],ue.prototype,"slotNodes",void 0);qe([Ee(".ft-tooltip--container")],ue.prototype,"container",void 0);qe([Ee(".ft-tooltip")],ue.prototype,"tooltip",void 0);qe([Ee(".ft-tooltip--content")],ue.prototype,"tooltipContent",void 0);qe([ae()],ue.prototype,"visible",void 0);var J2={"ft-tooltip":ue};de(J2);var it;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(it||(it={}));var Hn;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CIRCLE_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM="",t.HYPHEN_SOLID="",t.CROSSHAIRS="",t.PERSON_CHALKBOARD="",t.CIRCLE_ARROW_DOWN_SLASH="",t.BOOK_OPEN_COVER="",t.LIGHTBULB="",t.MESSAGE_BOT_AGENTIC_SOLID="",t.CHART_LINE_USER="",t.SERVER_CIRCLE_ARROW_DOWN="",t.EYE="",t.SHARE="󨃱"})(Hn||(Hn={}));var k;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(k||(k={}));var rC=new Map([...["abw"].map(t=>[t,k.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(t=>[t,k.AUDIO]),...["avi"].map(t=>[t,k.AVI]),...["chm","xhs"].map(t=>[t,k.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(t=>[t,k.CODE]),...["csv"].map(t=>[t,k.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,k.DITA]),...["epub"].map(t=>[t,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,k.EXCEL]),...["flac"].map(t=>[t,k.FLAC]),...["gif"].map(t=>[t,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,k.GZIP]),...["html","htm","xhtml"].map(t=>[t,k.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(t=>[t,k.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,k.JPEG]),...["json"].map(t=>[t,k.JSON]),...["m4a","m4p"].map(t=>[t,k.M4A]),...["mov","qt"].map(t=>[t,k.MOV]),...["mp3"].map(t=>[t,k.MP3]),...["mp4","m4v"].map(t=>[t,k.MP4]),...["ogg","oga"].map(t=>[t,k.OGG]),...["pdf","ps"].map(t=>[t,k.PDF]),...["png"].map(t=>[t,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,k.POWERPOINT]),...["rar"].map(t=>[t,k.RAR]),...["stp"].map(t=>[t,k.STP]),...["txt","rtf","md","mdown"].map(t=>[t,k.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(t=>[t,k.VIDEO]),...["wav"].map(t=>[t,k.WAV]),...["wma"].map(t=>[t,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,k.WORD]),...["xml","xsl","rdf"].map(t=>[t,k.XML]),...["yaml","yml","x-yaml"].map(t=>[t,k.YAML]),...["zip"].map(t=>[t,k.ZIP])]);var oC={[k.ABW]:"#91ABC6",[k.AUDIO]:"#1795E3",[k.AVI]:"#E63324",[k.CHM]:"#71C3EB",[k.CODE]:"#71C3EB",[k.CSV]:"#1F7345",[k.DITA]:"#71C3EB",[k.EPUB]:"#85B926",[k.EXCEL]:"#1F7345",[k.FLAC]:"#1795E3",[k.GIF]:"#59B031",[k.GZIP]:"#F8AB36",[k.HTML]:"#71C3EB",[k.IMAGE]:"#59B031",[k.JPEG]:"#59B031",[k.JSON]:"#71C3EB",[k.M4A]:"#1795E3",[k.MOV]:"#E63324",[k.MP3]:"#1795E3",[k.MP4]:"#E63324",[k.OGG]:"#1795E3",[k.PDF]:"#E44948",[k.PNG]:"#59B031",[k.POWERPOINT]:"#B54A2B",[k.RAR]:"#F8AB36",[k.STP]:"#3764B1",[k.TEXT]:"#3162AB",[k.UNKNOWN]:"#999999",[k.VIDEO]:"#E63324",[k.WAV]:"#1795E3",[k.WMA]:"#1795E3",[k.WORD]:"#3162AB",[k.XML]:"#71C3EB",[k.YAML]:"#71C3EB",[k.ZIP]:"#F8AB36"};var Fo=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ke=class extends J{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=G}render(){let e=this.variant&&Object.values(it).includes(this.variant)?this.variant:it.fluid_topics,r=e!==it.material||!!this.value;return F`
|
|
638
638
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
639
639
|
${Kt(this.resolvedIcon)}
|
|
640
640
|
<slot ?hidden=${r}></slot>
|
|
@@ -1261,7 +1261,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1261
1261
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
1262
1262
|
`:F`
|
|
1263
1263
|
<slot part="icon" name="icon"></slot>
|
|
1264
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return dn(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Q.elementDefinitions={"ft-ripple":ie,"ft-tooltip":ue,"ft-icon":ke,"ft-loader":yr};fe([R()],Q.prototype,"href",void 0);fe([R()],Q.prototype,"target",void 0);fe([R()],Q.prototype,"type",void 0);fe([R({type:Boolean})],Q.prototype,"disabled",void 0);fe([R()],Q.prototype,"label",void 0);fe([R()],Q.prototype,"icon",void 0);fe([R()],Q.prototype,"iconVariant",void 0);fe([R({type:Boolean})],Q.prototype,"trailingIcon",void 0);fe([R({type:Boolean})],Q.prototype,"loading",void 0);fe([R({attribute:"aria-label"})],Q.prototype,"ariaLabel",void 0);fe([R()],Q.prototype,"ariaHasPopup",void 0);fe([R({attribute:"aria-pressed"})],Q.prototype,"ariaPressed",void 0);fe([R()],Q.prototype,"tooltipPosition",void 0);fe([R({type:Boolean})],Q.prototype,"hideTooltip",void 0);fe([R({type:Boolean})],Q.prototype,"forceTooltip",void 0);fe([R({type:Boolean})],Q.prototype,"activated",void 0);fe([Ee(".ft-button")],Q.prototype,"button",void 0);fe([Ee(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);fe([Ee("[part=tooltip]")],Q.prototype,"tooltip",void 0);var ea=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},dt=class extends Q{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return zt.button}};dt.elementDefinitions={...Q.elementDefinitions,"ft-or-ftds-typography":
|
|
1264
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return dn(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Q.elementDefinitions={"ft-ripple":ie,"ft-tooltip":ue,"ft-icon":ke,"ft-loader":yr};fe([R()],Q.prototype,"href",void 0);fe([R()],Q.prototype,"target",void 0);fe([R()],Q.prototype,"type",void 0);fe([R({type:Boolean})],Q.prototype,"disabled",void 0);fe([R()],Q.prototype,"label",void 0);fe([R()],Q.prototype,"icon",void 0);fe([R()],Q.prototype,"iconVariant",void 0);fe([R({type:Boolean})],Q.prototype,"trailingIcon",void 0);fe([R({type:Boolean})],Q.prototype,"loading",void 0);fe([R({attribute:"aria-label"})],Q.prototype,"ariaLabel",void 0);fe([R()],Q.prototype,"ariaHasPopup",void 0);fe([R({attribute:"aria-pressed"})],Q.prototype,"ariaPressed",void 0);fe([R()],Q.prototype,"tooltipPosition",void 0);fe([R({type:Boolean})],Q.prototype,"hideTooltip",void 0);fe([R({type:Boolean})],Q.prototype,"forceTooltip",void 0);fe([R({type:Boolean})],Q.prototype,"activated",void 0);fe([Ee(".ft-button")],Q.prototype,"button",void 0);fe([Ee(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);fe([Ee("[part=tooltip]")],Q.prototype,"tooltip",void 0);var ea=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},dt=class extends Q{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return zt.button}};dt.elementDefinitions={...Q.elementDefinitions,"ft-or-ftds-typography":Ze};dt.styles=[Oo,w2];ea([R({type:Boolean})],dt.prototype,"primary",void 0);ea([R({type:Boolean})],dt.prototype,"outlined",void 0);ea([R({type:Boolean})],dt.prototype,"dense",void 0);ea([R({type:Boolean})],dt.prototype,"round",void 0);var O3={...x,iconOnlyScale:n.create("--ft-button-icon-only-scale","","NUMBER","1")},p0=[B`
|
|
1265
1265
|
:host {
|
|
1266
1266
|
display: inline-block;
|
|
1267
1267
|
max-width: 100%;
|