@fluid-topics/ft-popover 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  "use strict";(()=>{var C4=Object.create;var aa=Object.defineProperty;var E4=Object.getOwnPropertyDescriptor;var A4=Object.getOwnPropertyNames;var O4=Object.getPrototypeOf,L4=Object.prototype.hasOwnProperty;var R4=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),F=(e,t)=>{for(var r in t)aa(e,r,{get:t[r],enumerable:!0})},w4=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of A4(t))!L4.call(e,a)&&a!==r&&aa(e,a,{get:()=>t[a],enumerable:!(o=E4(t,a))||o.enumerable});return e};var _4=(e,t,r)=>(r=e!=null?C4(O4(e)):{},w4(t||!e||!e.__esModule?aa(r,"default",{value:e,enumerable:!0}):r,e));var O1=R4((It,A1)=>{var wn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,_n=function(){function e(){this.fetch=!1,this.DOMException=wn.DOMException}return e.prototype=wn,new e}();(function(e){var t=function(r){var o=typeof e<"u"&&e||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 f(b){return typeof b!="string"&&(b=String(b)),b}function h(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 p(b){this.map={},b instanceof p?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)}p.prototype.append=function(b,A){b=d(b),A=f(A);var z=this.map[b];this.map[b]=z?z+", "+A:A},p.prototype.delete=function(b){delete this.map[d(b)]},p.prototype.get=function(b){return b=d(b),this.has(b)?this.map[b]:null},p.prototype.has=function(b){return this.map.hasOwnProperty(d(b))},p.prototype.set=function(b,A){this.map[d(b)]=f(A)},p.prototype.forEach=function(b,A){for(var z in this.map)this.map.hasOwnProperty(z)&&b.call(A,this.map[z],z,this)},p.prototype.keys=function(){var b=[];return this.forEach(function(A,z){b.push(z)}),h(b)},p.prototype.values=function(){var b=[];return this.forEach(function(A){b.push(A)}),h(b)},p.prototype.entries=function(){var b=[];return this.forEach(function(A,z){b.push([z,A])}),h(b)},a.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function g(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function x(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=x(A);return A.readAsArrayBuffer(b),z}function O(b){var A=new FileReader,z=x(A),q=/charset=([A-Za-z0-9_-]+)/.exec(b.type),te=q?q[1]:"utf-8";return A.readAsText(b,te),z}function _(b){for(var A=new Uint8Array(b),z=new Array(A.length),q=0;q<A.length;q++)z[q]=String.fromCharCode(A[q]);return z.join("")}function T(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=T(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||c(b))?this._bodyArrayBuffer=T(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 O(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 R(b,A){if(!(this instanceof R))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 R){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,A.headers||(this.headers=new p(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 p(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 q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var te=/\?/;this.url+=(te.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function I(b){var A=new FormData;return b.trim().split("&").forEach(function(z){if(z){var q=z.split("="),te=q.shift().replace(/\+/g," "),Y=q.join("=").replace(/\+/g," ");A.append(decodeURIComponent(te),decodeURIComponent(Y))}}),A}function G(b){var A=new p,z=b.replace(/\r?\n[\t ]+/g," ");return z.split("\r").map(function(q){return q.indexOf(`
2
2
  `)===0?q.substr(1,q.length):q}).forEach(function(q){var te=q.split(":"),Y=te.shift().trim();if(Y){var Yo=te.join(":").trim();try{A.append(Y,Yo)}catch(na){console.warn("Response "+na.message)}}}),A}M.call(R.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 p(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 p(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 V=[301,302,303,307,308];Z.redirect=function(b,A){if(V.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 q=Error(A);this.stack=q.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function B(b,A){return new Promise(function(z,q){var te=new R(b,A);if(te.signal&&te.signal.aborted)return q(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function Yo(){Y.abort()}Y.onload=function(){var ye={statusText:Y.statusText,headers:G(Y.getAllResponseHeaders()||"")};te.url.indexOf("file://")===0&&(Y.status<200||Y.status>599)?ye.status=200:ye.status=Y.status,ye.url="responseURL"in Y?Y.responseURL:ye.headers.get("X-Request-URL");var Ht="response"in Y?Y.response:Y.responseText;setTimeout(function(){z(new Z(Ht,ye))},0)},Y.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},Y.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},Y.onabort=function(){setTimeout(function(){q(new r.DOMException("Aborted","AbortError"))},0)};function na(ye){try{return ye===""&&o.location.href?o.location.href:ye}catch{return ye}}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 p||o.Headers&&A.headers instanceof o.Headers)){var Pc=[];Object.getOwnPropertyNames(A.headers).forEach(function(ye){Pc.push(d(ye)),Y.setRequestHeader(ye,f(A.headers[ye]))}),te.headers.forEach(function(ye,Ht){Pc.indexOf(Ht)===-1&&Y.setRequestHeader(Ht,ye)})}else te.headers.forEach(function(ye,Ht){Y.setRequestHeader(Ht,ye)});te.signal&&(te.signal.addEventListener("abort",Yo),Y.onreadystatechange=function(){Y.readyState===4&&te.signal.removeEventListener("abort",Yo)}),Y.send(typeof te._bodyInit>"u"?null:te._bodyInit)})}return B.polyfill=!0,o.fetch||(o.fetch=B,o.Headers=p,o.Request=R,o.Response=Z),r.Headers=p,r.Request=R,r.Response=Z,r.fetch=B,r}({})})(_n);_n.fetch.ponyfill=!0;delete _n.fetch.polyfill;var zr=wn.fetch?wn:_n;It=zr.fetch;It.default=zr.fetch;It.fetch=zr.fetch;It.Headers=zr.Headers;It.Request=zr.Request;It.Response=zr.Response;A1.exports=It});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=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 R=C.prototype.attributeChangedCallback,I=new Set(C.observedAttributes||[]);g(C,I,R);let G={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:R,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,G),this._definitionsByClass.set(C,G);let Z=r.call(o,E);Z||(Z=p(E),t.call(o,E,Z)),this===window.customElements&&(s.set(C,G),G.standInClass=Z);let V=this._awaitingUpgrade.get(E);if(V){this._awaitingUpgrade.delete(E);for(let b of V)i.delete(b),S(b,G,!0)}let B=this._whenDefinedPromises.get(E);return B!==void 0&&(B.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 R=this._whenDefinedPromises.get(E);return R===void 0&&(R={},R.promise=new Promise(I=>R.resolve=I),this._whenDefinedPromises.set(E,R)),R.promise}_upgradeWhenDefined(E,C,R){let I=this._awaitingUpgrade.get(C);I||this._awaitingUpgrade.set(C,I=new Set),R?I.add(E):I.delete(E)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(e,[],R.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),a.set(C,R),C},window.HTMLElement.prototype=e.prototype;let f=E=>E===document||E instanceof ShadowRoot,h=E=>{let C=E.getRootNode();if(!f(C)){let R=_[_.length-1];if(R instanceof CustomElementRegistry)return R;C=R.getRootNode(),f(C)||(C=c.get(C)?.getRootNode()||document)}return C.customElements},p=E=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let I=h(R)||window.customElements,G=I._getDefinition(E);return G?S(R,G):i.set(R,I),R}connectedCallback(){let R=a.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,E,!0)}disconnectedCallback(){let R=a.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,E,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=a.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=a.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=a.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=a.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(E,C,R)=>{if(C.size===0||R===void 0)return;let I=E.prototype.setAttribute;I&&(E.prototype.setAttribute=function(V,B){let b=V.toLowerCase();if(C.has(b)){let A=this.getAttribute(b);I.call(this,b,B),R.call(this,b,A,B)}else I.call(this,b,B)});let G=E.prototype.removeAttribute;G&&(E.prototype.removeAttribute=function(V){let B=V.toLowerCase();if(C.has(B)){let b=this.getAttribute(B);G.call(this,B),R.call(this,B,b,null)}else G.call(this,B)});let Z=E.prototype.toggleAttribute;Z&&(E.prototype.toggleAttribute=function(V,B){let b=V.toLowerCase();if(C.has(b)){let A=this.getAttribute(b);Z.call(this,b,B);let z=this.getAttribute(b);R.call(this,b,A,z)}else Z.call(this,b,B)})},x=E=>{let C=Object.getPrototypeOf(E);if(C!==window.HTMLElement)return C===e?Object.setPrototypeOf(E,window.HTMLElement):x(C)},S=(E,C,R=!1)=>{Object.setPrototypeOf(E,C.elementClass.prototype),a.set(E,C),d=E;try{new C.elementClass}catch{x(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(I=>{E.hasAttribute(I)&&C.attributeChangedCallback.call(E,I,null,E.getAttribute(I))}),R&&C.connectedCallback&&E.isConnected&&C.connectedCallback.call(E)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(E){let C=O.apply(this,arguments);return E.customElements&&(C.customElements=E.customElements),C};let _=[document],T=(E,C,R=void 0)=>{let I=(R?Object.getPrototypeOf(R):E.prototype)[C];E.prototype[C]=function(){_.push(this);let G=I.apply(R||this,arguments);return G!==void 0&&c.set(G,this),_.pop(),G}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let M=(E,C)=>{let R=Object.getOwnPropertyDescriptor(E.prototype,C);Object.defineProperty(E.prototype,C,{...R,set(I){_.push(this),R.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,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...V){let B=C.call(this,...V);return E.set(B,this),B},R.forEach(V=>{let B=window.ElementInternals.prototype,b=B[V];B[V]=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(B){super(...B),this._elements=B}get value(){return this._elements.find(B=>B.checked===!0)?.value||""}}class G{constructor(B){let b=new Map;B.forEach((A,z)=>{let q=A.getAttribute("name"),te=b.get(q)||[];this[+z]=A,te.push(A),b.set(q,te)}),this.length=B.length,b.forEach((A,z)=>{A&&(A.length===1?this[z]=A[0]:this[z]=new I(A))})}namedItem(B){return this[B]}}let Z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let V=Z.get.call(this,[]),B=[];for(let b of V){let A=a.get(b);(!A||A.formAssociated===!0)&&B.push(b)}return new G(B)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,o,a)=>{if(o!==null)try{t.bind(window.customElements)(r,o,a)}catch(i){console.info(r,o,a,i)}}}var ba={};F(ba,{CSSResult:()=>br,LitElement:()=>ht,ReactiveElement:()=>Qe,_$LE:()=>H4,_$LH:()=>ma,adoptStyles:()=>ao,css:()=>$,defaultConverter:()=>vr,getCompatibleStyle:()=>Xo,html:()=>j,isServer:()=>G5,mathml:()=>ha,noChange:()=>xe,notEqual:()=>so,nothing:()=>W,render:()=>ga,supportsAdoptingStyleSheets:()=>no,svg:()=>pa,unsafeCSS:()=>Ot});var qo=globalThis,no=qo.ShadowRoot&&(qo.ShadyCSS===void 0||qo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ia=Symbol(),kc=new WeakMap,br=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==ia)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(no&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=kc.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&kc.set(r,t))}return t}toString(){return this.cssText}},Ot=e=>new br(typeof e=="string"?e:e+"",void 0,ia),$=(e,...t)=>{let r=e.length===1?e[0]:t.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)+e[i+1],e[0]);return new br(r,e,ia)},ao=(e,t)=>{if(no)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),a=qo.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,e.appendChild(o)}},Xo=no?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return Ot(r)})(e):e;var{is:N4,defineProperty:T4,getOwnPropertyDescriptor:M4,getOwnPropertyNames:P4,getOwnPropertySymbols:k4,getPrototypeOf:I4}=Object,Qo=globalThis,Ic=Qo.trustedTypes,z4=Ic?Ic.emptyScript:"",D4=Qo.reactiveElementPolyfillSupport,io=(e,t)=>e,vr={toAttribute(e,t){switch(t){case Boolean:e=e?z4:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},so=(e,t)=>!N4(e,t),zc={attribute:!0,type:String,converter:vr,reflect:!1,useDefault:!1,hasChanged:so};Symbol.metadata??=Symbol("metadata"),Qo.litPropertyMetadata??=new WeakMap;var Qe=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=zc){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(t,o,r);a!==void 0&&T4(this.prototype,t,a)}}static getPropertyDescriptor(t,r,o){let{get:a,set:i}=M4(this.prototype,t)??{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(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zc}static _$Ei(){if(this.hasOwnProperty(io("elementProperties")))return;let t=I4(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(io("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(io("properties"))){let r=this.properties,o=[...P4(r),...k4(r)];for(let a of o)this.createProperty(a,r[a])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);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(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let a of o)r.unshift(Xo(a))}else t!==void 0&&r.push(Xo(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ao(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,o){this._$AK(t,o)}_$ET(t,r){let o=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:vr).toAttribute(r,o.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,r){let o=this.constructor,a=o._$Eh.get(t);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:vr;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){let a=this.constructor,i=this[t];if(o??=a.getPropertyOptions(t),!((o.hasChanged??so)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(a._$Eu(t,o))))return;this.C(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??r??this[t]),i!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(r=void 0),this._$AL.set(t,r)),a===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!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 t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(t){}firstUpdated(t){}};Qe.elementStyles=[],Qe.shadowRootOptions={mode:"open"},Qe[io("elementProperties")]=new Map,Qe[io("finalized")]=new Map,D4?.({ReactiveElement:Qe}),(Qo.reactiveElementVersions??=[]).push("2.1.0");var ca=globalThis,Jo=ca.trustedTypes,Dc=Jo?Jo.createPolicy("lit-html",{createHTML:e=>e}):void 0,la="$lit$",pt=`lit$${Math.random().toFixed(9).slice(2)}$`,da="?"+pt,U4=`<${da}>`,Wt=document,lo=()=>Wt.createComment(""),fo=e=>e===null||typeof e!="object"&&typeof e!="function",fa=Array.isArray,Fc=e=>fa(e)||typeof e?.[Symbol.iterator]=="function",sa=`[
3
3
  \f\r]`,co=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Uc=/-->/g,Bc=/>/g,Gt=RegExp(`>|${sa}(?:([^\\s"'>=/]+)(${sa}*=${sa}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),$c=/'/g,Hc=/"/g,Wc=/^(?:script|style|textarea|title)$/i,ua=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),j=ua(1),pa=ua(2),ha=ua(3),xe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Gc=new WeakMap,Ft=Wt.createTreeWalker(Wt,129);function jc(e,t){if(!fa(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Dc!==void 0?Dc.createHTML(t):t}var Vc=(e,t)=>{let r=e.length-1,o=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=co;for(let c=0;c<r;c++){let d=e[c],f,h,p=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===co?h[1]==="!--"?s=Uc:h[1]!==void 0?s=Bc:h[2]!==void 0?(Wc.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Gt):h[3]!==void 0&&(s=Gt):s===Gt?h[0]===">"?(s=a??co,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?Gt:h[3]==='"'?Hc:$c):s===Hc||s===$c?s=Gt:s===Uc||s===Bc?s=co:(s=Gt,a=void 0);let x=s===Gt&&e[c+1].startsWith("/>")?" ":"";i+=s===co?d+U4:p>=0?(o.push(f),d.slice(0,p)+la+d.slice(p)+pt+x):d+pt+(p===-2?c:x)}return[jc(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},uo=class e{constructor({strings:t,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=t.length-1,d=this.parts,[f,h]=Vc(t,r);if(this.el=e.createElement(f,o),Ft.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ft.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(la)){let g=h[s++],x=a.getAttribute(p).split(pt),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:S[2],strings:x,ctor:S[1]==="."?tn:S[1]==="?"?rn:S[1]==="@"?on:Vt}),a.removeAttribute(p)}else p.startsWith(pt)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(Wc.test(a.tagName)){let p=a.textContent.split(pt),g=p.length-1;if(g>0){a.textContent=Jo?Jo.emptyScript:"";for(let x=0;x<g;x++)a.append(p[x],lo()),Ft.nextNode(),d.push({type:2,index:++i});a.append(p[g],lo())}}}else if(a.nodeType===8)if(a.data===da)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(pt,p+1))!==-1;)d.push({type:7,index:i}),p+=pt.length-1}i++}}static createElement(t,r){let o=Wt.createElement("template");return o.innerHTML=t,o}};function jt(e,t,r=e,o){if(t===xe)return t;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=fo(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(t=jt(e,a._$AS(e,t.values),a,o)),t}var en=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,a=(t?.creationScope??Wt).importNode(r,!0);Ft.currentNode=a;let i=Ft.nextNode(),s=0,c=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new xr(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new nn(i,this,t)),this._$AV.push(f),d=o[++c]}s!==d?.index&&(i=Ft.nextNode(),s++)}return Ft.currentNode=Wt,a}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},xr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,a){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=jt(this,t,r),fo(t)?t===W||t==null||t===""?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==xe&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Fc(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==W&&fo(this._$AH)?this._$AA.nextSibling.data=t:this.T(Wt.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=uo.createElement(jc(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new en(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=Gc.get(t.strings);return r===void 0&&Gc.set(t.strings,r=new uo(t)),r}k(t){fa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of t)a===r.length?r.push(o=new e(this.O(lo()),this.O(lo()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,a,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,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=W}_$AI(t,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)t=jt(this,t,r,0),s=!fo(t)||t!==this._$AH&&t!==xe,s&&(this._$AH=t);else{let c=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=jt(this,c[o+d],r,d),f===xe&&(f=this._$AH[d]),s||=!fo(f)||f!==this._$AH[d],f===W?t=W:t!==W&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tn=class extends Vt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}},rn=class extends Vt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==W)}},on=class extends Vt{constructor(t,r,o,a,i){super(t,r,o,a,i),this.type=5}_$AI(t,r=this){if((t=jt(this,t,r,0)??W)===xe)return;let o=this._$AH,a=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==W&&(o===W||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nn=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){jt(this,t)}},ma={M:la,P:pt,A:da,C:1,L:Vc,R:en,D:Fc,V:jt,I:xr,H:Vt,N:rn,U:on,B:tn,F:nn},B4=ca.litHtmlPolyfillSupport;B4?.(uo,xr),(ca.litHtmlVersions??=[]).push("3.3.0");var ga=(e,t,r)=>{let o=r?.renderBefore??t,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new xr(t.insertBefore(lo(),i),i,void 0,r??{})}return a._$AI(e),a};var ya=globalThis,ht=class extends Qe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ga(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xe}};ht._$litElement$=!0,ht.finalized=!0,ya.litElementHydrateSupport?.({LitElement:ht});var $4=ya.litElementPolyfillSupport;$4?.({LitElement:ht});var H4={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(ya.litElementVersions??=[]).push("4.2.0");var G5=!1;var xa={};F(xa,{customElement:()=>G4,eventOptions:()=>W4,property:()=>L,query:()=>J,queryAll:()=>V4,queryAssignedElements:()=>Z4,queryAssignedNodes:()=>va,queryAsync:()=>K4,standardProperty:()=>Kc,state:()=>ne});var G4=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var F4={attribute:!0,type:String,converter:vr,reflect:!1,hasChanged:so},Kc=(e=F4,t,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"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),o==="accessor"){let{name:s}=r;return{set(c){let d=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,d,e)},init(c){return c!==void 0&&this.C(s,void 0,e,c),c}}}if(o==="setter"){let{name:s}=r;return function(c){let d=this[s];t.call(this,c),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+o)};function L(e){return(t,r)=>typeof r=="object"?Kc(e,t,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function ne(e){return L({...e,state:!0,attribute:!1})}function W4(e){return(t,r)=>{let o=typeof t=="function"?t:t[r];Object.assign(o,e)}}var We=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function J(e,t){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();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 j4;function V4(e){return(t,r)=>We(t,r,{get(){return(this.renderRoot??(j4??=document.createDocumentFragment())).querySelectorAll(e)}})}function K4(e){return(t,r)=>We(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Z4(e){return(t,r)=>{let{slot:o,selector:a}=e??{},i="slot"+(o?`[name=${o}]`:":not([name])");return We(t,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(e)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function va(e){return(t,r)=>{let{slot:o}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return We(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var Sa={};F(Sa,{repeat:()=>sn});var Je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},je=e=>(...t)=>({_$litDirective$:e,values:t}),De=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:Y4}=ma;var Yc=e=>e.strings===void 0,Zc=()=>document.createComment(""),Sr=(e,t,r)=>{let o=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=o.insertBefore(Zc(),a),s=o.insertBefore(Zc(),a);r=new Y4(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==e;if(c){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;o.insertBefore(d,a),d=f}}}return r},Lt=(e,t,r=e)=>(e._$AI(t,r),e),q4={},qc=(e,t=q4)=>e._$AH=t,Xc=e=>e._$AH,an=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let o=t.nextSibling;t.remove(),t=o}};var Qc=(e,t,r)=>{let o=new Map;for(let a=t;a<=r;a++)o.set(e[a],a);return o},sn=je(class extends De{constructor(e){if(super(e),e.type!==Je.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let o;r===void 0?r=t:t!==void 0&&(o=t);let a=[],i=[],s=0;for(let c of e)a[s]=o?o(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,o]){let a=Xc(e),{values:i,keys:s}=this.dt(t,r,o);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],f,h,p=0,g=a.length-1,x=0,S=i.length-1;for(;p<=g&&x<=S;)if(a[p]===null)p++;else if(a[g]===null)g--;else if(c[p]===s[x])d[x]=Lt(a[p],i[x]),p++,x++;else if(c[g]===s[S])d[S]=Lt(a[g],i[S]),g--,S--;else if(c[p]===s[S])d[S]=Lt(a[p],i[S]),Sr(e,d[S+1],a[p]),p++,S--;else if(c[g]===s[x])d[x]=Lt(a[g],i[x]),Sr(e,a[p],a[g]),g--,x++;else if(f===void 0&&(f=Qc(s,x,S),h=Qc(c,p,g)),f.has(c[p]))if(f.has(c[g])){let O=h.get(s[x]),_=O!==void 0?a[O]:null;if(_===null){let T=Sr(e,a[p]);Lt(T,i[x]),d[x]=T}else d[x]=Lt(_,i[x]),Sr(e,a[p],_),a[O]=null;x++}else an(a[g]),g--;else an(a[p]),p++;for(;x<=S;){let O=Sr(e,d[S+1]);Lt(O,i[x]),d[x++]=O}for(;p<=g;){let O=a[p++];O!==null&&an(O)}return this.ut=s,qc(e,d),xe}});var Ca={};F(Ca,{classMap:()=>et});var et=je(class extends De{constructor(e){if(super(e),e.type!==Je.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let a=!!t[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 xe}});var Ea={};F(Ea,{styleMap:()=>Q4});var Jc="important",X4=" !"+Jc,Q4=je(class extends De{constructor(e){if(super(e),e.type!==Je.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let a=t[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(X4);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?Jc:""):r[o]=a}}return xe}});var Aa={};F(Aa,{UnsafeHTMLDirective:()=>Cr,unsafeHTML:()=>po});var Cr=class extends De{constructor(t){if(super(t),this.it=W,t.type!==Je.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||t==null)return this._t=void 0,this.it=t;if(t===xe)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Cr.directiveName="unsafeHTML",Cr.resultType=1;var po=je(Cr);var Pa={};F(Pa,{CacheRegistry:()=>tt,ClearCacheEvent:()=>mo});var La={};F(La,{CancelablePromise:()=>cn,CanceledPromiseError:()=>Kt,cancelable:()=>Oa});var Kt=class extends Error{constructor(t,r,o){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=o}},cn=class extends Promise{constructor(t){super((r,o)=>t(a=>{this.isCanceled?o(new Kt("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Kt("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Oa=e=>new cn((t,r)=>e.then(t).catch(r));var Ma={};F(Ma,{FtNotificationEvent:()=>ho,PostResizeEvent:()=>Ta,PreResizeEvent:()=>Na,WithEventBus:()=>gt,withEventBus:()=>dn});var _a={};F(_a,{applyMixinOnce:()=>be,dateReviver:()=>tf,deepCopy:()=>Yt,deepEqual:()=>we,delay:()=>ln,eventPathContainsMatchingElement:()=>Ra,everyDeep:()=>ef,flatDeep:()=>tl,forEachDeep:()=>rl,getComposedPathTo:()=>wa,hasChanged:()=>mt,last:()=>of,minmax:()=>Zt,parseDate:()=>nl,randomId:()=>nf,someDeep:()=>ol,unslotText:()=>Rt,waitFor:()=>el,waitUntil:()=>J4});var ln=e=>new Promise(t=>setTimeout(t,e));async function J4(e,t=10,r=2e4){await el(async()=>await e()||void 0,t,r)}async function el(e,t=10,r=2e4){let o=await e(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await ln(t),o=await e(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function tl(e,t){return e.flatMap(r=>[r,...tl(t(r),t)])}function rl(e,t,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(t(d),[...i,d])))return!1}return!0};o(e,[])}function ol(e,t,r){let o=!1;return rl(e,t,(a,i,s,c)=>(o=!!r(a,i,s,c),!o)),o}function ef(e,t,r){return!ol(e,t,(o,a,i,s)=>!r(o,a,i,s))}function tf(...e){return(t,r)=>e.includes(t)?nl(r):r}function nl(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,o,a)=>r+o+":"+a),new Date(e)}function rf(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,o,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!we(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!we(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!we(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function we(e,t){try{return rf(e,t)}catch{return!1}}function mt(e,t){return!we(e,t)}function Ra(e,t,r=window.document.body){if(t.length>0){let o=e.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function Zt(e,t,r){return Math.min(Math.max(e,t),r)}function of(e){return e[e.length-1]}function Rt(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Rt(t)).join(""):e?.textContent||""}function wa(e){let t=[],r=o=>{o.stopPropagation(),t=o.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Yt(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function nf(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function be(e,t){let r=o=>o[e]===!0;return o=>{if(r(o))return o;let a=t(o);return a[e]=!0,a}}var ho=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Na=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ta=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},dn=be(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??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)}}}),gt=class extends dn(Object){};var mo=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},tt=class extends gt{constructor(){super(...arguments),this.content={}}register(t,r,o=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:o,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let o=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new mo(o)),o}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new mo([t])),t}forceClear(t){var r;let o=this.content[t];o&&(this.clearClearTimeout(t),(r=o.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(t){var r,o,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,o=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:o,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,o){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];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=Oa(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,o;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[t])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Ua={};F(Ua,{ClusteringHelper:()=>Da,formatHierarchicalValues:()=>za});var Ia={};F(Ia,{accessBreadcrumb:()=>cf,accessResult:()=>ka,accessResultId:()=>af,accessResultUrl:()=>sf});function ka(e){var t,r,o,a;return(a=(o=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&o!==void 0?o:e?.htmlPackage)!==null&&a!==void 0?a:e?.htmlPackagePage}function af(e){var t,r,o,a,i,s,c,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&r!==void 0?r:(o=e?.topic)===null||o===void 0?void 0:o.tocId)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(c=e?.htmlPackage)===null||c===void 0?void 0:c.packageId)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function sf(e){var t,r,o,a,i,s,c,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.readerUrl)!==null&&r!==void 0?r:(o=e?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(c=e?.htmlPackage)===null||c===void 0?void 0:c.viewerUrl)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function cf(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function za(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Da=class e{constructor(t,r,o,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(t){let r=ka(t.result).metadata;return t.key==null?e.flattenMetadata(r,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(r.find(o=>o.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,o){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(c=>{i.push(za(c)),s.push(za(c,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(c=>o?o(c):c).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,o="No value",a,i){var s,c;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(t))===null||c===void 0?void 0:c.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:o}).filter(p=>p.value!=d?.value).filter((p,g,x)=>x.findIndex(S=>S.value===p.value)===g).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,g)=>this.compareMetadata(p.metadata.value,g.metadata.value,t,r))}compareMetadata(t,r,o,a){if(t==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=t.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let o=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,c=-1;for(let d of o){let f=this.countMatchingMetadata(d,i);if(f>c&&(c=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Ba={};F(Ba,{Debouncer:()=>_e});var _e=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let o=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of 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 $a={};F($a,{customElement:()=>ce,dateProperty:()=>df,isNumber:()=>al,jsonProperty:()=>Ue,numberProperty:()=>fn,optionalNumberProperty:()=>lf});var ce=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ue(e,t){let r=()=>JSON.parse(JSON.stringify(e));return L({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:mt,...t??{}})}function lf(e){return fn(e)}function fn(e){return L({type:Object,converter:{fromAttribute:t=>{var r,o;if(t==null)return;let a=(r=e?.min)!==null&&r!==void 0?r:-1/0,i=(o=e?.max)!==null&&o!==void 0?o:1/0;return al(t)?Zt(a,+t,i):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function al(e){return!isNaN(parseFloat(e))}function df(e){return L({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let r=new Date(Date.parse(t));if(!isNaN(r.valueOf()))return r},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var ai={};F(ai,{designSystemVariables:()=>ee});var ni={};F(ni,{DesignSystemFamily:()=>Ve,DesignSystemSize:()=>Ne,FtCssVariableFactory:()=>n,badge:()=>xf,banner:()=>vf,button:()=>v,chart:()=>If,checkbox:()=>pf,chip:()=>yf,chipChoice:()=>gf,collapsible:()=>Pf,comboboxMultiSelect:()=>Mf,comboboxSingleSelect:()=>Tf,dateRangePicker:()=>Gf,drawer:()=>Lf,floatingMenu:()=>Nf,foundation:()=>l,link:()=>bf,modal:()=>Of,notice:()=>Df,notification:()=>Bf,pageDesigner:()=>zf,pageFooter:()=>Ef,pageHeader:()=>Cf,pageLayout:()=>Af,popover:()=>he,radio:()=>hf,reorderableList:()=>Hf,resolveFamilyClass:()=>ri,resolveSizeClass:()=>oi,semantic:()=>u,setVariable:()=>w,switch_:()=>kf,table:()=>mf,tabs:()=>Rf,textArea:()=>_f,textInput:()=>wf,titleBreadcrumb:()=>Sf,toggle:()=>Uf,tooltip:()=>$f,treeList:()=>uf,typographies:()=>un,typographyBody1Medium:()=>Va,typographyBody1Regular:()=>ja,typographyBody1Semibold:()=>Ka,typographyBody2Medium:()=>Ya,typographyBody2MediumUnderline:()=>il,typographyBody2Regular:()=>Za,typographyBody2Semibold:()=>qa,typographyCaption1Medium:()=>Xa,typographyCaption1Semibold:()=>Qa,typographyCaption2Bold:()=>ti,typographyCaption2Medium:()=>Ja,typographyCaption2Semibold:()=>ei,typographyDisplay:()=>Ha,typographyTitle1:()=>Ga,typographyTitle2:()=>Fa,typographyTitle3:()=>Wa,typographyVariants:()=>ff});var wt=e=>typeof e=="string"?Ot(e):e,n=class{static create(t,r,o,a){let i=c=>wt(c??a),s=$`var(${wt(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>w(s,c??i(a)),s.get=c=>$`var(${wt(t)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,o,a){let i=c=>o.get(c??a),s=$`var(${wt(t)}, ${i(a)})`;return s.name=t,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=>$`var(${wt(t)}, ${i(c)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(t,r){let o=i=>t.defaultCssValue(i),a=$`var(${wt(t.name)}, ${o(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>t.set(i),a.get=i=>$`var(${wt(t.name)}, ${o(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function w(e,t){return wt(`${e.name}: ${t}`)}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"),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)")},Ha={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")},Ga={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")},Fa={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")},Wa={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")},ja={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")},Va={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")},Ka={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")},Za={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")},Ya={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")},il={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")},qa={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")},Xa={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")},Qa={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")},Ja={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")},ei={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")},ti={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")},un={display:Ha,"title-1":Ga,"title-2":Fa,"title-3":Wa,"body-1-regular":ja,"body-1-medium":Va,"body-1-semibold":Ka,"body-2-regular":Za,"body-2-medium":Ya,"body-2-medium-underline":il,"body-2-semibold":qa,"caption-1-medium":Xa,"caption-1-semibold":Qa,"caption-2-medium":Ja,"caption-2-semibold":ei,"caption-2-bold":ti},ff=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={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 v={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","",u.backgroundActionPrimary),primaryBrandColor:n.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ftds-button-primary-brand-state-layer-color","",u.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","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ftds-button-tertiary-brand-state-layer-color","",u.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","",u.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ftds-button-tertiary-info-state-layer-color","",u.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","",u.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ftds-button-tertiary-success-state-layer-color","",u.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","",u.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ftds-button-tertiary-warning-state-layer-color","",u.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","",u.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ftds-button-tertiary-error-state-layer-color","",u.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","",u.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.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","",u.contentActionPrimary),secondaryBrandIconColor:n.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ftds-button-secondary-brand-state-layer-color","",u.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","",u.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","",u.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ftds-button-secondary-neutral-border-color","",u.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","",u.borderInfoPrimary),secondaryInfoColor:n.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ftds-button-secondary-info-state-layer-color","",u.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","",u.borderSuccessPrimary),secondarySuccessColor:n.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ftds-button-secondary-success-state-layer-color","",u.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","",u.borderWarningPrimary),secondaryWarningColor:n.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ftds-button-secondary-warning-state-layer-color","",u.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","",u.contentErrorPrimary),secondaryErrorColor:n.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var uf={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","",u.borderGlobalSubtle),loadMoreIconColor:n.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:n.extend("--ftds-tree-list-load-more-label-color","",u.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","",u.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","",u.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ftds-tree-list-node-selected-counter-color","",u.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","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.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","",u.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:n.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ftds-tree-list-list-container-border-color","",u.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","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:n.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var pf={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","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ftds-checkbox-checked-icon-color","",u.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","",u.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","",u.borderErrorPrimary),errorStateLayerColor:n.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:n.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:n.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:n.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:n.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var hf={circleSize:n.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ftds-radio-border-width","","SIZE","2px"),color:n.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ftds-radio-selected-state-layer-color","",u.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","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ftds-radio-unselected-border-color","",u.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","",u.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 mf={headerRowBorderWidth:n.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:n.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:n.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:n.extend("--ftds-table-data-row-color","",u.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","",u.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","",u.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 gf={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","",u.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","",u.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:n.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.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","",u.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","",u.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:n.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:n.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.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 yf={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","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:n.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:n.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:n.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var bf={brandHoverOpacity:n.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:n.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:n.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:n.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:n.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:n.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:n.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:n.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:n.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:n.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:n.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:n.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:n.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:n.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:n.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var vf={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","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var xf={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","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Sf={horizontalGap:n.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:n.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:n.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:n.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Cf={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","",u.contentGlobalPrimary),parentSubtitleColor:n.extend("--ftds-page-header-parent-subtitle-color","",u.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","",u.borderGlobalSubtle),bottomBorderWidth:n.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Ef={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","",u.borderGlobalSubtle),topBorderWidth:n.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Af={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Of={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","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ftds-modal-header-leading-icon-color","",u.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 Lf={overlayOpacity:n.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:n.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:n.extend("--ftds-drawer-body-color","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ftds-drawer-header-trailing-icon-color","",u.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","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ftds-drawer-buttons-bar-color","",u.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 Rf={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","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:n.extend("--ftds-tabs-off-border-bottom-color","",u.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","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ftds-tabs-on-active-tab-indicator-color","",u.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","",u.borderActionFocusRing)};var wf={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","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-input-warning-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var _f={backgroundColor:n.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:n.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:n.extend("--ftds-text-area-focus-focus-ring-color","",u.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 Nf={height:n.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:n.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:n.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),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","",u.backgroundGlobalOnSurface),shadow:n.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var Tf={largeFieldHorizontalPadding:n.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:n.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:n.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:n.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:n.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:n.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:n.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:n.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:n.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:n.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:n.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:n.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:n.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:n.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:n.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:n.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Mf={backgroundColor:n.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:n.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:n.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:n.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:n.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:n.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:n.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:n.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:n.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:n.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:n.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:n.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:n.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:n.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:n.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:n.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var he={backgroundColor:n.extend("--ftds-popover-background-color","",u.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","",u.contentGlobalPrimary),bodyColor:n.extend("--ftds-popover-body-color","",u.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 Pf={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","",u.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","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var kf={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","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ftds-switch-group-border-color","",u.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","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-switch-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-switch-on-state-layer-color","",u.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","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var If={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 zf={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 Df={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","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notice-success-icon-color","",u.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 Uf={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","",u.contentGlobalSubtle),offIconColor:n.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-toggle-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ftds-toggle-gap","",l.spacing3)};var Bf={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","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-notification-error-border-color","",u.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 $f={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","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-tooltip-background-color","",u.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 Hf={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","",u.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","",u.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","",u.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","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.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","",u.borderGlobalPrimary),backgroundColor:n.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Gf={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 Ve;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ve||(Ve={}));var Ne;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ne||(Ne={}));function ri(e){return`ftds--family-${e}`}function oi(e){return`ftds--size-${e}`}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 ii={};F(ii,{DynamicImporter:()=>pn,dynamicImporter:()=>Ff});var pn=class{async import(t){if(t)return import(t)}},Ff=new pn;var Si={};F(Si,{computeOffsetAutoPosition:()=>xi,computeOffsetPosition:()=>vi});var cl=["top","right","bottom","left"],sl=["start","end"],ci=cl.reduce((e,t)=>e.concat(t,t+"-"+sl[0],t+"-"+sl[1]),[]),qt=Math.min,Oe=Math.max,go=Math.round;var Ke=e=>({x:e,y:e}),Wf={left:"right",right:"left",bottom:"top",top:"bottom"};function li(e,t,r){return Oe(e,qt(t,r))}function Er(e,t){return typeof e=="function"?e(t):e}function _t(e){return e.split("-")[0]}function rt(e){return e.split("-")[1]}function di(e){return e==="x"?"y":"x"}function fi(e){return e==="y"?"height":"width"}function Ar(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function ui(e){return di(Ar(e))}function ll(e,t,r){r===void 0&&(r=!1);let o=rt(e),a=ui(e),i=fi(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=si(s)),[s,si(s)]}function dl(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function si(e){let t=_t(e);return Wf[t]+e.slice(t.length)}function jf(e){return{top:0,right:0,bottom:0,left:0,...e}}function fl(e){return typeof e!="number"?jf(e):{top:e,right:e,bottom:e,left:e}}function Xt(e){let{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function ul(e,t,r){let{reference:o,floating:a}=e,i=Ar(t),s=ui(t),c=fi(s),d=_t(t),f=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,g=o[c]/2-a[c]/2,x;switch(d){case"top":x={x:h,y:o.y-a.height};break;case"bottom":x={x:h,y:o.y+o.height};break;case"right":x={x:o.x+o.width,y:p};break;case"left":x={x:o.x-a.width,y:p};break;default:x={x:o.x,y:o.y}}switch(rt(t)){case"start":x[s]-=g*(r&&f?-1:1);break;case"end":x[s]+=g*(r&&f?-1:1);break}return x}async function pl(e,t){var r;t===void 0&&(t={});let{x:o,y:a,platform:i,rects:s,elements:c,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:x=0}=Er(t,e),S=fl(x),_=c[g?p==="floating"?"reference":"floating":p],T=Xt(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:f,rootBoundary:h,strategy:d})),M=p==="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},R=Xt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:M,offsetParent:E,strategy:d}):M);return{top:(T.top-R.top+S.top)/C.y,bottom:(R.bottom-T.bottom+S.bottom)/C.y,left:(T.left-R.left+S.left)/C.x,right:(R.right-T.right+S.right)/C.x}}var Vf=50,hl=async(e,t,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:pl},d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=ul(f,o,d),g=o,x=0,S={};for(let O=0;O<i.length;O++){let _=i[O];if(!_)continue;let{name:T,fn:M}=_,{x:E,y:C,data:R,reset:I}=await M({x:h,y:p,initialPlacement:o,placement:g,strategy:a,middlewareData:S,rects:f,platform:c,elements:{reference:e,floating:t}});h=E??h,p=C??p,S[T]={...S[T],...R},I&&x<Vf&&(x++,typeof I=="object"&&(I.placement&&(g=I.placement),I.rects&&(f=I.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):I.rects),{x:h,y:p}=ul(f,g,d)),O=-1)}return{x:h,y:p,placement:g,strategy:a,middlewareData:S}};function Kf(e,t,r){return(e?[...r.filter(a=>rt(a)===e),...r.filter(a=>rt(a)!==e)]:r.filter(a=>_t(a)===a)).filter(a=>e?rt(a)===e||(t?dl(a)!==a:!1):!0)}var ml=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:g=ci,autoAlignment:x=!0,...S}=Er(e,t),O=p!==void 0||g===ci?Kf(p||null,x,g):g,_=await d.detectOverflow(t,S),T=((r=s.autoPlacement)==null?void 0:r.index)||0,M=O[T];if(M==null)return{};let E=ll(M,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(c!==M)return{reset:{placement:O[0]}};let C=[_[_t(M)],_[E[0]],_[E[1]]],R=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:M,overflows:C}],I=O[T+1];if(I)return{data:{index:T+1,overflows:R},reset:{placement:I}};let G=R.map(B=>{let b=rt(B.placement);return[B.placement,b&&h?B.overflows.slice(0,2).reduce((A,z)=>A+z,0):B.overflows[0],B.overflows]}).sort((B,b)=>B[1]-b[1]),V=((a=G.filter(B=>B[2].slice(0,rt(B[0])?2:3).every(b=>b<=0))[0])==null?void 0:a[0])||G[0][0];return V!==c?{data:{index:T+1,overflows:R},reset:{placement:V}}:{}}}};var Zf=new Set(["left","top"]);async function Yf(e,t){let{placement:r,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=_t(r),c=rt(r),d=Ar(r)==="y",f=Zf.has(s)?-1:1,h=i&&d?-1:1,p=Er(t,e),{mainAxis:g,crossAxis:x,alignmentAxis:S}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof S=="number"&&(x=c==="end"?S*-1:S),d?{x:x*h,y:g*f}:{x:g*f,y:x*h}}var gl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:a,y:i,placement:s,middlewareData:c}=t,d=await Yf(t,e);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}}}}},yl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:T=>{let{x:M,y:E}=T;return{x:M,y:E}}},...f}=Er(e,t),h={x:r,y:o},p=await i.detectOverflow(t,f),g=Ar(_t(a)),x=di(g),S=h[x],O=h[g];if(s){let T=x==="y"?"top":"left",M=x==="y"?"bottom":"right",E=S+p[T],C=S-p[M];S=li(E,S,C)}if(c){let T=g==="y"?"top":"left",M=g==="y"?"bottom":"right",E=O+p[T],C=O-p[M];O=li(E,O,C)}let _=d.fn({...t,[x]:S,[g]:O});return{..._,data:{x:_.x-r,y:_.y-o,enabled:{[x]:s,[g]:c}}}}}};var bl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;let{placement:a,rects:i,platform:s,elements:c}=t,{apply:d=()=>{},...f}=Er(e,t),h=await s.detectOverflow(t,f),p=_t(a),g=rt(a),x=Ar(a)==="y",{width:S,height:O}=i.floating,_,T;p==="top"||p==="bottom"?(_=p,T=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(T=p,_=g==="end"?"top":"bottom");let M=O-h.top-h.bottom,E=S-h.left-h.right,C=qt(O-h[_],M),R=qt(S-h[T],E),I=!t.middlewareData.shift,G=C,Z=R;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(Z=E),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(G=M),I&&!g){let B=Oe(h.left,0),b=Oe(h.right,0),A=Oe(h.top,0),z=Oe(h.bottom,0);x?Z=S-2*(B!==0||b!==0?B+b:Oe(h.left,h.right)):G=O-2*(A!==0||z!==0?A+z:Oe(h.top,h.bottom))}await d({...t,availableWidth:Z,availableHeight:G});let V=await s.getDimensions(c.floating);return S!==V.width||O!==V.height?{reset:{rects:!0}}:{}}}};function mn(){return typeof window<"u"}function Jt(e){return xl(e)?(e.nodeName||"").toLowerCase():"#document"}function Le(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ot(e){var t;return(t=(xl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xl(e){return mn()?e instanceof Node||e instanceof Le(e).Node:!1}function Be(e){return mn()?e instanceof Element||e instanceof Le(e).Element:!1}function nt(e){return mn()?e instanceof HTMLElement||e instanceof Le(e).HTMLElement:!1}function vl(e){return!mn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Le(e).ShadowRoot}function Or(e){let{overflow:t,overflowX:r,overflowY:o,display:a}=$e(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&a!=="inline"&&a!=="contents"}function Sl(e){return/^(table|td|th)$/.test(Jt(e))}function yo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var qf=/transform|translate|scale|rotate|perspective|filter/,Xf=/paint|layout|strict|content/,Qt=e=>!!e&&e!=="none",pi;function gn(e){let t=Be(e)?$e(e):e;return Qt(t.transform)||Qt(t.translate)||Qt(t.scale)||Qt(t.rotate)||Qt(t.perspective)||!yn()&&(Qt(t.backdropFilter)||Qt(t.filter))||qf.test(t.willChange||"")||Xf.test(t.contain||"")}function Cl(e){let t=yt(e);for(;nt(t)&&!er(t);){if(gn(t))return t;if(yo(t))return null;t=yt(t)}return null}function yn(){return pi==null&&(pi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),pi}function er(e){return/^(html|body|#document)$/.test(Jt(e))}function $e(e){return Le(e).getComputedStyle(e)}function bo(e){return Be(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yt(e){if(Jt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||vl(e)&&e.host||ot(e);return vl(t)?t.host:t}function El(e){let t=yt(e);return er(t)?e.ownerDocument?e.ownerDocument.body:e.body:nt(t)&&Or(t)?t:El(t)}function hn(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=El(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=Le(a);if(i){let c=bn(s);return t.concat(s,s.visualViewport||[],Or(a)?a:[],c&&r?hn(c):[])}else return t.concat(a,hn(a,[],r))}function bn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Rl(e){let t=$e(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=nt(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:o,c=go(r)!==i||go(o)!==s;return c&&(r=i,o=s),{width:r,height:o,$:c}}function wl(e){return Be(e)?e:e.contextElement}function Lr(e){let t=wl(e);if(!nt(t))return Ke(1);let r=t.getBoundingClientRect(),{width:o,height:a,$:i}=Rl(t),s=(i?go(r.width):r.width)/o,c=(i?go(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Qf=Ke(0);function _l(e){let t=Le(e);return!yn()||!t.visualViewport?Qf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Jf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Le(e)?!1:t}function vo(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=wl(e),s=Ke(1);t&&(o?Be(o)&&(s=Lr(o)):s=Lr(e));let c=Jf(i,r,o)?_l(i):Ke(0),d=(a.left+c.x)/s.x,f=(a.top+c.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let g=Le(i),x=o&&Be(o)?Le(o):o,S=g,O=bn(S);for(;O&&o&&x!==S;){let _=Lr(O),T=O.getBoundingClientRect(),M=$e(O),E=T.left+(O.clientLeft+parseFloat(M.paddingLeft))*_.x,C=T.top+(O.clientTop+parseFloat(M.paddingTop))*_.y;d*=_.x,f*=_.y,h*=_.x,p*=_.y,d+=E,f+=C,S=Le(O),O=bn(S)}}return Xt({width:h,height:p,x:d,y:f})}function vn(e,t){let r=bo(e).scrollLeft;return t?t.left+r:vo(ot(e)).left+r}function Nl(e,t){let r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-vn(e,r),a=r.top+t.scrollTop;return{x:o,y:a}}function eu(e){let{elements:t,rect:r,offsetParent:o,strategy:a}=e,i=a==="fixed",s=ot(o),c=t?yo(t.floating):!1;if(o===s||c&&i)return r;let d={scrollLeft:0,scrollTop:0},f=Ke(1),h=Ke(0),p=nt(o);if((p||!p&&!i)&&((Jt(o)!=="body"||Or(s))&&(d=bo(o)),p)){let x=vo(o);f=Lr(o),h.x=x.x+o.clientLeft,h.y=x.y+o.clientTop}let g=s&&!p&&!i?Nl(s,d):Ke(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+h.x+g.x,y:r.y*f.y-d.scrollTop*f.y+h.y+g.y}}function tu(e){return Array.from(e.getClientRects())}function ru(e){let t=ot(e),r=bo(e),o=e.ownerDocument.body,a=Oe(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Oe(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+vn(e),c=-r.scrollTop;return $e(o).direction==="rtl"&&(s+=Oe(t.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:c}}var Al=25;function ou(e,t){let r=Le(e),o=ot(e),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let h=yn();(!h||h&&t==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}let f=vn(o);if(f<=0){let h=o.ownerDocument,p=h.body,g=getComputedStyle(p),x=h.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,S=Math.abs(o.clientWidth-p.clientWidth-x);S<=Al&&(i-=S)}else f<=Al&&(i+=f);return{width:i,height:s,x:c,y:d}}function nu(e,t){let r=vo(e,!0,t==="fixed"),o=r.top+e.clientTop,a=r.left+e.clientLeft,i=nt(e)?Lr(e):Ke(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:c,x:d,y:f}}function Ol(e,t,r){let o;if(t==="viewport")o=ou(e,r);else if(t==="document")o=ru(ot(e));else if(Be(t))o=nu(t,r);else{let a=_l(e);o={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Xt(o)}function Tl(e,t){let r=yt(e);return r===t||!Be(r)||er(r)?!1:$e(r).position==="fixed"||Tl(r,t)}function au(e,t){let r=t.get(e);if(r)return r;let o=hn(e,[],!1).filter(c=>Be(c)&&Jt(c)!=="body"),a=null,i=$e(e).position==="fixed",s=i?yt(e):e;for(;Be(s)&&!er(s);){let c=$e(s),d=gn(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Or(s)&&!d&&Tl(e,s))?o=o.filter(h=>h!==s):a=c,s=yt(s)}return t.set(e,o),o}function iu(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e,s=[...r==="clippingAncestors"?yo(t)?[]:au(t,this._c):[].concat(r),o],c=Ol(t,s[0],a),d=c.top,f=c.right,h=c.bottom,p=c.left;for(let g=1;g<s.length;g++){let x=Ol(t,s[g],a);d=Oe(x.top,d),f=qt(x.right,f),h=qt(x.bottom,h),p=Oe(x.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function su(e){let{width:t,height:r}=Rl(e);return{width:t,height:r}}function cu(e,t,r){let o=nt(t),a=ot(t),i=r==="fixed",s=vo(e,!0,i,t),c={scrollLeft:0,scrollTop:0},d=Ke(0);function f(){d.x=vn(a)}if(o||!o&&!i)if((Jt(t)!=="body"||Or(a))&&(c=bo(t)),o){let x=vo(t,!0,i,t);d.x=x.x+t.clientLeft,d.y=x.y+t.clientTop}else a&&f();i&&!o&&a&&f();let h=a&&!o&&!i?Nl(a,c):Ke(0),p=s.left+c.scrollLeft-d.x-h.x,g=s.top+c.scrollTop-d.y-h.y;return{x:p,y:g,width:s.width,height:s.height}}function hi(e){return $e(e).position==="static"}function Ll(e,t){if(!nt(e)||$e(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ot(e)===r&&(r=r.ownerDocument.body),r}function Ml(e,t){let r=Le(e);if(yo(e))return r;if(!nt(e)){let a=yt(e);for(;a&&!er(a);){if(Be(a)&&!hi(a))return a;a=yt(a)}return r}let o=Ll(e,t);for(;o&&Sl(o)&&hi(o);)o=Ll(o,t);return o&&er(o)&&hi(o)&&!gn(o)?r:o||Cl(e)||r}var lu=async function(e){let t=this.getOffsetParent||Ml,r=this.getDimensions,o=await r(e.floating);return{reference:cu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function du(e){return $e(e).direction==="rtl"}var Rr={convertOffsetParentRelativeRectToViewportRelativeRect:eu,getDocumentElement:ot,getClippingRect:iu,getOffsetParent:Ml,getElementRects:lu,getClientRects:tu,getDimensions:su,getScale:Lr,isElement:Be,isRTL:du};var Pl=gl,mi=ml,kl=yl;var Il=bl;var gi=(e,t,r)=>{let o=new Map,a={platform:Rr,...r},i={...a.platform,_c:o};return hl(e,t,{...a,platform:i})};function bi(e){return fu(e)}function yi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function fu(e){for(let t=e;t;t=yi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=yi(e);t;t=yi(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function vi(e,t,r){let o;return typeof r=="object"?o=r:o={placement:r},gi(e,t,{strategy:o.strategy,platform:{...Rr,getOffsetParent:a=>Rr.getOffsetParent(a,bi)},middleware:[kl({crossAxis:!0}),mi({allowedPlacements:[o.placement]})]})}async function xi(e,t,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,gi(e,t,{placement:c,strategy:a,platform:{...Rr,getOffsetParent:f=>Rr.getOffsetParent(f,bi)},middleware:[Pl(s??4),mi({allowedPlacements:o}),Il({apply({availableHeight:f,availableWidth:h,elements:p}){typeof i=="string"&&(i=`var(${i})`),i?p.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${i})`:p.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?p.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:p.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Ci={};F(Ci,{isSlotEmptyOrWithoutContent:()=>uu});var uu=e=>e?e.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 wi={};F(wi,{FtdsBase:()=>Ri,toFtdsBase:()=>xn});var Li={};F(Li,{ExportpartsUpdatedEvent:()=>tr,FtLitElement:()=>K});var Ei={};F(Ei,{ScopedRegistryLitElement:()=>xo});var xo=class extends ht{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return ao(o,t.elementStyles),o}};var Oi={};F(Oi,{shadowQuerySelector:()=>Ai,shadowQuerySelectorAll:()=>pu});function Ai(e,t,...r){var o;let a=e.querySelector(t);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function pu(e,t,...r){let o=[...e.querySelectorAll(t)];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 wr=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Bl,zl=Symbol("constructorPrototype"),Dl=Symbol("constructorName"),$l=Symbol("exportpartsDebouncer"),Ul=Symbol("dynamicDependenciesLoaded"),tr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};tr.eventName="exportparts-updated";var K=class extends xo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Bl]=new _e(5),this.scheduleExportpartsUpdate=()=>{var t,r,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.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[Dl]=this.constructor.name,this[zl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Dl]&&Object.setPrototypeOf(this,this[zl])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Ul]||(r[Ul]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(tr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(tr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new tr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=Ai(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){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(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,o,a,i,s,c;let d=g=>g!=null&&g.trim().length>0,f=t.filter(d).map(g=>g.trim());if(f.length===0){this.exportparts=void 0;return}let h=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 x=(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:[],O=[...x,...S].filter(d).map(_=>_.trim());for(let _ of O)h.add(_)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(g=>f.map(x=>`${g}:${x}--${g}`));this.exportparts=[...this.part,...p].join(", ")}};Bl=$l;wr([L()],K.prototype,"exportpartsPrefix",void 0);wr([Ue([])],K.prototype,"exportpartsPrefixes",void 0);wr([L({reflect:!0})],K.prototype,"exportparts",void 0);wr([L()],K.prototype,"customStylesheet",void 0);wr([L()],K.prototype,"elementToFocus",void 0);wr([ne()],K.prototype,"useAdoptedStyleSheets",void 0);var Hl=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},xn=be(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Ne.medium,this.family=Ve.neutral}getDesignSystemBaseClasses(){return{[ri(this.family)]:!0,[oi(this.size)]:!0}}}return Hl([L()],t.prototype,"size",void 0),Hl([L()],t.prototype,"family",void 0),t}),Ri=class extends xn(K){};var Gl={};var Ti={};F(Ti,{highlightHtml:()=>Ni,highlightHtmlColorCssVariable:()=>Fl,highlightHtmlStyles:()=>mu});var rr=class e{constructor(t,r=!0,o=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(t,r){let o=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(t,r,o=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(t){let r="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(t,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,o))}catch{o()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,o){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,o):this.getIframeContents(t,r,o):this.observeIframeLoad(t,r,o)}catch{o()}}waitForIframes(t,r){let o=0;this.forEachIframe(t,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(t,r,o,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(c++,o(h)),d()},d)})}createIterator(t,r,o){return document.createNodeIterator(t,r,o,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,o){let a=t.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(t){let r=t.previousNode(),o;return r===null?o=t.nextNode():o=t.nextNode()&&t.nextNode(),{prevNode:r,node:o}}checkIframeFilter(t,r,o,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===o&&(i=d,s=c.handled)}),this.compareNodeIframe(t,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(t,r,o,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(t,r,o,a,i){let s=this.createIterator(r,t,a),c=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(f,h,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(t,x=>d.push(x),a)}),d.push(f);d.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(c,t,o,a),i()}forEachNode(t,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(t,c,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var So=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new rr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){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!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){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?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){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 t.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){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`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.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(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],o=0;return t.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(t,r){let o,a,i=!1;return t&&typeof t.start<"u"?(o=parseInt(t.start,10),a=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:a,valid:i}}checkWhitespaceRanges(t,r,o){let a,i=!0,s=o.length,c=r-s,d=parseInt(t.start,10)-c;return d=d>s?s:d,a=d+parseInt(t.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(t)}`),this.opt.noMatch(t)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){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,()=>{t({value:r,nodes:o})})}matchesExclude(t){return rr.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,o){let a=this.opt.element?this.opt.element:"mark",i=t.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(t,r,o,a,i){t.nodes.every((s,c)=>{let d=t.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(o>s.end?s.end:o)-s.start,p=t.value.substr(0,s.start),g=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+g,t.nodes.forEach((x,S)=>{S>=c&&(t.nodes[S].start>0&&S!==c&&(t.nodes[S].start-=h),t.nodes[S].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=t.exec(c.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(c,f,h,p=>o(d[s],p),(p,g)=>{t.lastIndex=g,a(p)})}i()})}wrapRangeFromIndex(t,r,o,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((c,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(c,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,g=>r(g,c,i.value.substring(f,h),d),g=>{o(g,c)})}),a()})}unwrapMatches(t){let r=t.parentNode,o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));r.replaceChild(o,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,o),i,()=>{o===0&&this.opt.noMatch(t),this.opt.done(o)})}mark(t,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,x)=>this.opt.filter(x,f,o,p),g=>{p++,o++,this.opt.each(g)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(o):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(t,r){this.opt=r;let o=0,a=this.checkRanges(t);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(t){this.opt=t;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=rr.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function _i(e){let t=new So(e);return this.mark=(r,o)=>(t.mark(r,o),this),this.markRegExp=(r,o)=>(t.markRegExp(r,o),this),this.markRanges=(r,o)=>(t.markRanges(r,o),this),this.unmark=r=>(t.unmark(r),this),this}var hu=_i,Fl=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),mu=$`
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),$c=/'/g,Hc=/"/g,Wc=/^(?:script|style|textarea|title)$/i,ua=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),j=ua(1),pa=ua(2),ha=ua(3),xe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Gc=new WeakMap,Ft=Wt.createTreeWalker(Wt,129);function jc(e,t){if(!fa(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Dc!==void 0?Dc.createHTML(t):t}var Vc=(e,t)=>{let r=e.length-1,o=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=co;for(let c=0;c<r;c++){let d=e[c],f,h,p=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===co?h[1]==="!--"?s=Uc:h[1]!==void 0?s=Bc:h[2]!==void 0?(Wc.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Gt):h[3]!==void 0&&(s=Gt):s===Gt?h[0]===">"?(s=a??co,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?Gt:h[3]==='"'?Hc:$c):s===Hc||s===$c?s=Gt:s===Uc||s===Bc?s=co:(s=Gt,a=void 0);let x=s===Gt&&e[c+1].startsWith("/>")?" ":"";i+=s===co?d+U4:p>=0?(o.push(f),d.slice(0,p)+la+d.slice(p)+pt+x):d+pt+(p===-2?c:x)}return[jc(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},uo=class e{constructor({strings:t,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=t.length-1,d=this.parts,[f,h]=Vc(t,r);if(this.el=e.createElement(f,o),Ft.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ft.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(la)){let g=h[s++],x=a.getAttribute(p).split(pt),S=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:S[2],strings:x,ctor:S[1]==="."?tn:S[1]==="?"?rn:S[1]==="@"?on:Vt}),a.removeAttribute(p)}else p.startsWith(pt)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(Wc.test(a.tagName)){let p=a.textContent.split(pt),g=p.length-1;if(g>0){a.textContent=Jo?Jo.emptyScript:"";for(let x=0;x<g;x++)a.append(p[x],lo()),Ft.nextNode(),d.push({type:2,index:++i});a.append(p[g],lo())}}}else if(a.nodeType===8)if(a.data===da)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(pt,p+1))!==-1;)d.push({type:7,index:i}),p+=pt.length-1}i++}}static createElement(t,r){let o=Wt.createElement("template");return o.innerHTML=t,o}};function jt(e,t,r=e,o){if(t===xe)return t;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=fo(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(t=jt(e,a._$AS(e,t.values),a,o)),t}var en=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,a=(t?.creationScope??Wt).importNode(r,!0);Ft.currentNode=a;let i=Ft.nextNode(),s=0,c=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new xr(i,i.nextSibling,this,t):d.type===1?f=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(f=new nn(i,this,t)),this._$AV.push(f),d=o[++c]}s!==d?.index&&(i=Ft.nextNode(),s++)}return Ft.currentNode=Wt,a}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},xr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,o,a){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=jt(this,t,r),fo(t)?t===W||t==null||t===""?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==xe&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Fc(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==W&&fo(this._$AH)?this._$AA.nextSibling.data=t:this.T(Wt.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,a=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=uo.createElement(jc(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new en(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=Gc.get(t.strings);return r===void 0&&Gc.set(t.strings,r=new uo(t)),r}k(t){fa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of t)a===r.length?r.push(o=new e(this.O(lo()),this.O(lo()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,a,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,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=W}_$AI(t,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)t=jt(this,t,r,0),s=!fo(t)||t!==this._$AH&&t!==xe,s&&(this._$AH=t);else{let c=t,d,f;for(t=i[0],d=0;d<i.length-1;d++)f=jt(this,c[o+d],r,d),f===xe&&(f=this._$AH[d]),s||=!fo(f)||f!==this._$AH[d],f===W?t=W:t!==W&&(t+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tn=class extends Vt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}},rn=class extends Vt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==W)}},on=class extends Vt{constructor(t,r,o,a,i){super(t,r,o,a,i),this.type=5}_$AI(t,r=this){if((t=jt(this,t,r,0)??W)===xe)return;let o=this._$AH,a=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==W&&(o===W||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nn=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){jt(this,t)}},ma={M:la,P:pt,A:da,C:1,L:Vc,R:en,D:Fc,V:jt,I:xr,H:Vt,N:rn,U:on,B:tn,F:nn},B4=ca.litHtmlPolyfillSupport;B4?.(uo,xr),(ca.litHtmlVersions??=[]).push("3.3.0");var ga=(e,t,r)=>{let o=r?.renderBefore??t,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new xr(t.insertBefore(lo(),i),i,void 0,r??{})}return a._$AI(e),a};var ya=globalThis,ht=class extends Qe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ga(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xe}};ht._$litElement$=!0,ht.finalized=!0,ya.litElementHydrateSupport?.({LitElement:ht});var $4=ya.litElementPolyfillSupport;$4?.({LitElement:ht});var H4={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(ya.litElementVersions??=[]).push("4.2.0");var G5=!1;var xa={};F(xa,{customElement:()=>G4,eventOptions:()=>W4,property:()=>L,query:()=>J,queryAll:()=>V4,queryAssignedElements:()=>Z4,queryAssignedNodes:()=>va,queryAsync:()=>K4,standardProperty:()=>Kc,state:()=>ne});var G4=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var F4={attribute:!0,type:String,converter:vr,reflect:!1,hasChanged:so},Kc=(e=F4,t,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"&&((e=Object.create(e)).wrapped=!0),i.set(r.name,e),o==="accessor"){let{name:s}=r;return{set(c){let d=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,d,e)},init(c){return c!==void 0&&this.C(s,void 0,e,c),c}}}if(o==="setter"){let{name:s}=r;return function(c){let d=this[s];t.call(this,c),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+o)};function L(e){return(t,r)=>typeof r=="object"?Kc(e,t,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,r)}function ne(e){return L({...e,state:!0,attribute:!1})}function W4(e){return(t,r)=>{let o=typeof t=="function"?t:t[r];Object.assign(o,e)}}var We=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function J(e,t){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();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 j4;function V4(e){return(t,r)=>We(t,r,{get(){return(this.renderRoot??(j4??=document.createDocumentFragment())).querySelectorAll(e)}})}function K4(e){return(t,r)=>We(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Z4(e){return(t,r)=>{let{slot:o,selector:a}=e??{},i="slot"+(o?`[name=${o}]`:":not([name])");return We(t,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(e)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function va(e){return(t,r)=>{let{slot:o}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return We(t,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var Sa={};F(Sa,{repeat:()=>sn});var Je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},je=e=>(...t)=>({_$litDirective$:e,values:t}),De=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this._$Ct=t,this._$AM=r,this._$Ci=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{I:Y4}=ma;var Yc=e=>e.strings===void 0,Zc=()=>document.createComment(""),Sr=(e,t,r)=>{let o=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(r===void 0){let i=o.insertBefore(Zc(),a),s=o.insertBefore(Zc(),a);r=new Y4(i,s,e,e.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==e;if(c){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;o.insertBefore(d,a),d=f}}}return r},Lt=(e,t,r=e)=>(e._$AI(t,r),e),q4={},qc=(e,t=q4)=>e._$AH=t,Xc=e=>e._$AH,an=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let o=t.nextSibling;t.remove(),t=o}};var Qc=(e,t,r)=>{let o=new Map;for(let a=t;a<=r;a++)o.set(e[a],a);return o},sn=je(class extends De{constructor(e){if(super(e),e.type!==Je.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,r){let o;r===void 0?r=t:t!==void 0&&(o=t);let a=[],i=[],s=0;for(let c of e)a[s]=o?o(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(e,t,r){return this.dt(e,t,r).values}update(e,[t,r,o]){let a=Xc(e),{values:i,keys:s}=this.dt(t,r,o);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],f,h,p=0,g=a.length-1,x=0,S=i.length-1;for(;p<=g&&x<=S;)if(a[p]===null)p++;else if(a[g]===null)g--;else if(c[p]===s[x])d[x]=Lt(a[p],i[x]),p++,x++;else if(c[g]===s[S])d[S]=Lt(a[g],i[S]),g--,S--;else if(c[p]===s[S])d[S]=Lt(a[p],i[S]),Sr(e,d[S+1],a[p]),p++,S--;else if(c[g]===s[x])d[x]=Lt(a[g],i[x]),Sr(e,a[p],a[g]),g--,x++;else if(f===void 0&&(f=Qc(s,x,S),h=Qc(c,p,g)),f.has(c[p]))if(f.has(c[g])){let O=h.get(s[x]),_=O!==void 0?a[O]:null;if(_===null){let T=Sr(e,a[p]);Lt(T,i[x]),d[x]=T}else d[x]=Lt(_,i[x]),Sr(e,a[p],_),a[O]=null;x++}else an(a[g]),g--;else an(a[p]),p++;for(;x<=S;){let O=Sr(e,d[S+1]);Lt(O,i[x]),d[x++]=O}for(;p<=g;){let O=a[p++];O!==null&&an(O)}return this.ut=s,qc(e,d),xe}});var Ca={};F(Ca,{classMap:()=>et});var et=je(class extends De{constructor(e){if(super(e),e.type!==Je.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let a=!!t[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 xe}});var Ea={};F(Ea,{styleMap:()=>Q4});var Jc="important",X4=" !"+Jc,Q4=je(class extends De{constructor(e){if(super(e),e.type!==Je.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let a=t[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(X4);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?Jc:""):r[o]=a}}return xe}});var Aa={};F(Aa,{UnsafeHTMLDirective:()=>Cr,unsafeHTML:()=>po});var Cr=class extends De{constructor(t){if(super(t),this.it=W,t.type!==Je.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===W||t==null)return this._t=void 0,this.it=t;if(t===xe)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let r=[t];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Cr.directiveName="unsafeHTML",Cr.resultType=1;var po=je(Cr);var Pa={};F(Pa,{CacheRegistry:()=>tt,ClearCacheEvent:()=>mo});var La={};F(La,{CancelablePromise:()=>cn,CanceledPromiseError:()=>Kt,cancelable:()=>Oa});var Kt=class extends Error{constructor(t,r,o){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=o}},cn=class extends Promise{constructor(t){super((r,o)=>t(a=>{this.isCanceled?o(new Kt("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new Kt("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Oa=e=>new cn((t,r)=>e.then(t).catch(r));var Ma={};F(Ma,{FtNotificationEvent:()=>ho,PostResizeEvent:()=>Ta,PreResizeEvent:()=>Na,WithEventBus:()=>gt,withEventBus:()=>dn});var _a={};F(_a,{applyMixinOnce:()=>be,dateReviver:()=>tf,deepCopy:()=>Yt,deepEqual:()=>we,delay:()=>ln,eventPathContainsMatchingElement:()=>Ra,everyDeep:()=>ef,flatDeep:()=>tl,forEachDeep:()=>rl,getComposedPathTo:()=>wa,hasChanged:()=>mt,last:()=>of,minmax:()=>Zt,parseDate:()=>nl,randomId:()=>nf,someDeep:()=>ol,unslotText:()=>Rt,waitFor:()=>el,waitUntil:()=>J4});var ln=e=>new Promise(t=>setTimeout(t,e));async function J4(e,t=10,r=2e4){await el(async()=>await e()||void 0,t,r)}async function el(e,t=10,r=2e4){let o=await e(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await ln(t),o=await e(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function tl(e,t){return e.flatMap(r=>[r,...tl(t(r),t)])}function rl(e,t,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(t(d),[...i,d])))return!1}return!0};o(e,[])}function ol(e,t,r){let o=!1;return rl(e,t,(a,i,s,c)=>(o=!!r(a,i,s,c),!o)),o}function ef(e,t,r){return!ol(e,t,(o,a,i,s)=>!r(o,a,i,s))}function tf(...e){return(t,r)=>e.includes(t)?nl(r):r}function nl(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,o,a)=>r+o+":"+a),new Date(e)}function rf(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,o,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!we(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!we(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!we(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function we(e,t){try{return rf(e,t)}catch{return!1}}function mt(e,t){return!we(e,t)}function Ra(e,t,r=window.document.body){if(t.length>0){let o=e.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function Zt(e,t,r){return Math.min(Math.max(e,t),r)}function of(e){return e[e.length-1]}function Rt(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Rt(t)).join(""):e?.textContent||""}function wa(e){let t=[],r=o=>{o.stopPropagation(),t=o.composedPath()};return e.addEventListener("get-composed-path",r),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",r),t}function Yt(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function nf(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function be(e,t){let r=o=>o[e]===!0;return o=>{if(r(o))return o;let a=t(o);return a[e]=!0,a}}var ho=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Na=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ta=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},dn=be(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??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)}}}),gt=class extends dn(Object){};var mo=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},tt=class extends gt{constructor(){super(...arguments),this.content={}}register(t,r,o=!1){var a;let i=this.content[t],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[t]={...i,loader:r,final:o,status:s}}registerFinal(t,r){this.register(t,r,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,r=!0){let o=Object.keys(this.content).filter(t).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new mo(o)),o}clear(t,r=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),r&&this.dispatchEvent(new mo([t])),t}forceClear(t){var r;let o=this.content[t];o&&(this.clearClearTimeout(t),(r=o.promise)===null||r===void 0||r.cancel(),this.content[t]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(t){var r,o,a;((r=this.content[t])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[t])===null||a===void 0||delete a.clearTimeout)}set(t,r,o=!1){this.forceClear(t);let a=async()=>r,i="RESOLVED";this.content[t]={loader:a,final:o,status:i,value:r}}setFinal(t,r){return this.set(t,r,!0)}async get(t,r,o){if(!this.isRegistered(t)){if(!r)throw new Error("Unknown cache key "+t);this.register(t,r)}let a=this.content[t];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=Oa(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(t),a.clearTimeout=window.setTimeout(()=>this.clear(t),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(t){return this.content[t]!=null}getNow(t){var r;return(r=this.content[t])===null||r===void 0?void 0:r.value}has(t){var r,o;return((r=this.content[t])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[t])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var r;return((r=this.content[t])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Ua={};F(Ua,{ClusteringHelper:()=>Da,formatHierarchicalValues:()=>za});var Ia={};F(Ia,{accessBreadcrumb:()=>cf,accessResult:()=>ka,accessResultId:()=>af,accessResultUrl:()=>sf});function ka(e){var t,r,o,a;return(a=(o=(r=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&r!==void 0?r:e?.document)!==null&&o!==void 0?o:e?.htmlPackage)!==null&&a!==void 0?a:e?.htmlPackagePage}function af(e){var t,r,o,a,i,s,c,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&r!==void 0?r:(o=e?.topic)===null||o===void 0?void 0:o.tocId)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(c=e?.htmlPackage)===null||c===void 0?void 0:c.packageId)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function sf(e){var t,r,o,a,i,s,c,d,f;return(d=(s=(a=(r=(t=e?.map)===null||t===void 0?void 0:t.readerUrl)!==null&&r!==void 0?r:(o=e?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&a!==void 0?a:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(c=e?.htmlPackage)===null||c===void 0?void 0:c.viewerUrl)!==null&&d!==void 0?d:(f=e?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function cf(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function za(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Da=class e{constructor(t,r,o,a){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(t){let r=ka(t.result).metadata;return t.key==null?e.flattenMetadata(r,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(r.find(o=>o.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,r,o){if(Array.isArray(t))return t.map(i=>e.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!a))if(a){let i=[],s=[];return t.hierarchicalValues.forEach(c=>{i.push(za(c)),s.push(za(c,r))}),{key:t.key,label:t.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=t.values.join(", "),s=t.values.map(c=>o?o(c):c).join(", ");return{key:t.key,label:t.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,r,o="No value",a,i){var s,c;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(t))===null||c===void 0?void 0:c.label;return this.allResults.map(p=>e.extractResultMetadata({result:p,key:t,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:t,label:f,value:void 0,displayValue:o}).filter(p=>p.value!=d?.value).filter((p,g,x)=>x.findIndex(S=>S.value===p.value)===g).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,g)=>this.compareMetadata(p.metadata.value,g.metadata.value,t,r))}compareMetadata(t,r,o,a){if(t==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=t.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let o=this.allResults.filter(d=>{var f;return((f=e.extractResultMetadata({result:d,key:t}))===null||f===void 0?void 0:f.value)==r}),i=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,c=-1;for(let d of o){let f=this.countMatchingMetadata(d,i);if(f>c&&(c=f,s=d,f===i.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata({result:t}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Ba={};F(Ba,{Debouncer:()=>_e});var _e=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let o=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of 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 $a={};F($a,{customElement:()=>ce,dateProperty:()=>df,isNumber:()=>al,jsonProperty:()=>Ue,numberProperty:()=>fn,optionalNumberProperty:()=>lf});var ce=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ue(e,t){let r=()=>JSON.parse(JSON.stringify(e));return L({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:mt,...t??{}})}function lf(e){return fn(e)}function fn(e){return L({type:Object,converter:{fromAttribute:t=>{var r,o;if(t==null)return;let a=(r=e?.min)!==null&&r!==void 0?r:-1/0,i=(o=e?.max)!==null&&o!==void 0?o:1/0;return al(t)?Zt(a,+t,i):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function al(e){return!isNaN(parseFloat(e))}function df(e){return L({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let r=new Date(Date.parse(t));if(!isNaN(r.valueOf()))return r},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var ai={};F(ai,{designSystemVariables:()=>ee});var ni={};F(ni,{DesignSystemFamily:()=>Ve,DesignSystemSize:()=>Ne,FtCssVariableFactory:()=>n,badge:()=>xf,banner:()=>vf,button:()=>v,chart:()=>If,checkbox:()=>pf,chip:()=>yf,chipChoice:()=>gf,collapsible:()=>Pf,comboboxMultiSelect:()=>Mf,comboboxSingleSelect:()=>Tf,dateRangePicker:()=>Gf,drawer:()=>Lf,floatingMenu:()=>Nf,foundation:()=>l,link:()=>bf,modal:()=>Of,notice:()=>Df,notification:()=>Bf,pageDesigner:()=>zf,pageFooter:()=>Ef,pageHeader:()=>Cf,pageLayout:()=>Af,popover:()=>de,radio:()=>hf,reorderableList:()=>Hf,resolveFamilyClass:()=>ri,resolveSizeClass:()=>oi,semantic:()=>u,setVariable:()=>w,switch_:()=>kf,table:()=>mf,tabs:()=>Rf,textArea:()=>_f,textInput:()=>wf,titleBreadcrumb:()=>Sf,toggle:()=>Uf,tooltip:()=>$f,treeList:()=>uf,typographies:()=>un,typographyBody1Medium:()=>Va,typographyBody1Regular:()=>ja,typographyBody1Semibold:()=>Ka,typographyBody2Medium:()=>Ya,typographyBody2MediumUnderline:()=>il,typographyBody2Regular:()=>Za,typographyBody2Semibold:()=>qa,typographyCaption1Medium:()=>Xa,typographyCaption1Semibold:()=>Qa,typographyCaption2Bold:()=>ti,typographyCaption2Medium:()=>Ja,typographyCaption2Semibold:()=>ei,typographyDisplay:()=>Ha,typographyTitle1:()=>Ga,typographyTitle2:()=>Fa,typographyTitle3:()=>Wa,typographyVariants:()=>ff});var wt=e=>typeof e=="string"?Ot(e):e,n=class{static create(t,r,o,a){let i=c=>wt(c??a),s=$`var(${wt(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>w(s,c??i(a)),s.get=c=>$`var(${wt(t)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,o,a){let i=c=>o.get(c??a),s=$`var(${wt(t)}, ${i(a)})`;return s.name=t,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=>$`var(${wt(t)}, ${i(c)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(t,r){let o=i=>t.defaultCssValue(i),a=$`var(${wt(t.name)}, ${o(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>t.set(i),a.get=i=>$`var(${wt(t.name)}, ${o(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function w(e,t){return wt(`${e.name}: ${t}`)}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"),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)")},Ha={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")},Ga={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")},Fa={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")},Wa={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")},ja={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")},Va={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")},Ka={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")},Za={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")},Ya={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")},il={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")},qa={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")},Xa={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")},Qa={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")},Ja={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")},ei={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")},ti={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")},un={display:Ha,"title-1":Ga,"title-2":Fa,"title-3":Wa,"body-1-regular":ja,"body-1-medium":Va,"body-1-semibold":Ka,"body-2-regular":Za,"body-2-medium":Ya,"body-2-medium-underline":il,"body-2-semibold":qa,"caption-1-medium":Xa,"caption-1-semibold":Qa,"caption-2-medium":Ja,"caption-2-semibold":ei,"caption-2-bold":ti},ff=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={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 v={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","",u.backgroundActionPrimary),primaryBrandColor:n.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:n.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:n.extend("--ftds-button-primary-brand-state-layer-color","",u.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","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:n.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:n.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:n.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:n.extend("--ftds-button-tertiary-brand-state-layer-color","",u.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","",u.contentInfoPrimary),tertiaryInfoIconColor:n.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:n.extend("--ftds-button-tertiary-info-state-layer-color","",u.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","",u.contentSuccessPrimary),tertiarySuccessIconColor:n.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:n.extend("--ftds-button-tertiary-success-state-layer-color","",u.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","",u.contentWarningPrimary),tertiaryWarningIconColor:n.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:n.extend("--ftds-button-tertiary-warning-state-layer-color","",u.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","",u.contentErrorPrimary),tertiaryErrorIconColor:n.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:n.extend("--ftds-button-tertiary-error-state-layer-color","",u.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","",u.contentGlobalSecondary),tertiaryNeutralColor:n.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:n.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.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","",u.contentActionPrimary),secondaryBrandIconColor:n.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:n.extend("--ftds-button-secondary-brand-state-layer-color","",u.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","",u.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","",u.contentGlobalSecondary),secondaryNeutralIconColor:n.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:n.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:n.extend("--ftds-button-secondary-neutral-border-color","",u.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","",u.borderInfoPrimary),secondaryInfoColor:n.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:n.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:n.extend("--ftds-button-secondary-info-state-layer-color","",u.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","",u.borderSuccessPrimary),secondarySuccessColor:n.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:n.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:n.extend("--ftds-button-secondary-success-state-layer-color","",u.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","",u.borderWarningPrimary),secondaryWarningColor:n.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:n.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:n.extend("--ftds-button-secondary-warning-state-layer-color","",u.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","",u.contentErrorPrimary),secondaryErrorColor:n.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:n.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:n.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var uf={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","",u.borderGlobalSubtle),loadMoreIconColor:n.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:n.extend("--ftds-tree-list-load-more-label-color","",u.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","",u.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","",u.borderGlobalSubtle),nodeUnselectedIconColor:n.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:n.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:n.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:n.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:n.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:n.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:n.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:n.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:n.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:n.extend("--ftds-tree-list-node-selected-counter-color","",u.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","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:n.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:n.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:n.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.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","",u.contentGlobalPrimary),headerSectionCounterColor:n.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:n.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:n.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:n.extend("--ftds-tree-list-list-container-border-color","",u.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","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:n.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var pf={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","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ftds-checkbox-checked-icon-color","",u.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","",u.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","",u.borderErrorPrimary),errorStateLayerColor:n.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:n.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:n.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:n.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:n.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var hf={circleSize:n.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:n.create("--ftds-radio-border-width","","SIZE","2px"),color:n.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ftds-radio-selected-state-layer-color","",u.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","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ftds-radio-unselected-border-color","",u.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","",u.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 mf={headerRowBorderWidth:n.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:n.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:n.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:n.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:n.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:n.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:n.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:n.extend("--ftds-table-data-row-color","",u.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","",u.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","",u.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 gf={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","",u.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","",u.backgroundGlobalOnSurface),neutralOffBorderColor:n.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:n.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:n.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.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","",u.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","",u.backgroundGlobalOnSurface),neutralOnBorderColor:n.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:n.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:n.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:n.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.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 yf={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","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:n.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:n.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:n.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var bf={brandHoverOpacity:n.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:n.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:n.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:n.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:n.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:n.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:n.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:n.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:n.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:n.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:n.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:n.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:n.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:n.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:n.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:n.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:n.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:n.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var vf={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","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var xf={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","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Sf={horizontalGap:n.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:n.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:n.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:n.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Cf={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","",u.contentGlobalPrimary),parentSubtitleColor:n.extend("--ftds-page-header-parent-subtitle-color","",u.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","",u.borderGlobalSubtle),bottomBorderWidth:n.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Ef={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","",u.borderGlobalSubtle),topBorderWidth:n.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:n.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Af={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Of={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","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:n.extend("--ftds-modal-header-leading-icon-color","",u.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 Lf={overlayOpacity:n.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:n.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:n.extend("--ftds-drawer-body-color","",u.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","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ftds-drawer-header-trailing-icon-color","",u.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","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ftds-drawer-buttons-bar-color","",u.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 Rf={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","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:n.extend("--ftds-tabs-off-border-bottom-color","",u.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","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:n.extend("--ftds-tabs-on-active-tab-indicator-color","",u.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","",u.borderActionFocusRing)};var wf={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","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:n.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-text-input-warning-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var _f={backgroundColor:n.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:n.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:n.extend("--ftds-text-area-focus-focus-ring-color","",u.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 Nf={height:n.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:n.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:n.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),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","",u.backgroundGlobalOnSurface),shadow:n.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var Tf={largeFieldHorizontalPadding:n.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:n.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:n.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:n.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:n.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:n.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:n.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:n.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:n.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:n.extend("--ftds-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:n.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:n.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:n.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:n.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:n.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:n.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:n.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:n.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:n.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:n.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:n.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Mf={backgroundColor:n.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:n.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:n.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:n.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:n.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ftds-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:n.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:n.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:n.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:n.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:n.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:n.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:n.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:n.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:n.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:n.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:n.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var de={backgroundColor:n.extend("--ftds-popover-background-color","",u.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","",u.contentGlobalPrimary),bodyColor:n.extend("--ftds-popover-body-color","",u.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 Pf={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","",u.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","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var kf={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","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ftds-switch-group-border-color","",u.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","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-switch-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-switch-on-state-layer-color","",u.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","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var If={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 zf={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 Df={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","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notice-success-icon-color","",u.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 Uf={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","",u.contentGlobalSubtle),offIconColor:n.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ftds-toggle-off-state-layer-color","",u.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","",u.contentActionPrimary),onStateLayerColor:n.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ftds-toggle-gap","",l.spacing3)};var Bf={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","",u.backgroundInfoSubtle),infoColor:n.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ftds-notification-error-border-color","",u.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 $f={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","",u.contentGlobalOnColor),backgroundColor:n.extend("--ftds-tooltip-background-color","",u.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 Hf={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","",u.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","",u.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","",u.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","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:n.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:n.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.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","",u.borderGlobalPrimary),backgroundColor:n.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Gf={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 Ve;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ve||(Ve={}));var Ne;(function(e){e.large="large",e.medium="medium",e.small="small"})(Ne||(Ne={}));function ri(e){return`ftds--family-${e}`}function oi(e){return`ftds--size-${e}`}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 ii={};F(ii,{DynamicImporter:()=>pn,dynamicImporter:()=>Ff});var pn=class{async import(t){if(t)return import(t)}},Ff=new pn;var Si={};F(Si,{computeOffsetAutoPosition:()=>xi,computeOffsetPosition:()=>vi});var cl=["top","right","bottom","left"],sl=["start","end"],ci=cl.reduce((e,t)=>e.concat(t,t+"-"+sl[0],t+"-"+sl[1]),[]),qt=Math.min,Oe=Math.max,go=Math.round;var Ke=e=>({x:e,y:e}),Wf={left:"right",right:"left",bottom:"top",top:"bottom"};function li(e,t,r){return Oe(e,qt(t,r))}function Er(e,t){return typeof e=="function"?e(t):e}function _t(e){return e.split("-")[0]}function rt(e){return e.split("-")[1]}function di(e){return e==="x"?"y":"x"}function fi(e){return e==="y"?"height":"width"}function Ar(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function ui(e){return di(Ar(e))}function ll(e,t,r){r===void 0&&(r=!1);let o=rt(e),a=ui(e),i=fi(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=si(s)),[s,si(s)]}function dl(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function si(e){let t=_t(e);return Wf[t]+e.slice(t.length)}function jf(e){return{top:0,right:0,bottom:0,left:0,...e}}function fl(e){return typeof e!="number"?jf(e):{top:e,right:e,bottom:e,left:e}}function Xt(e){let{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function ul(e,t,r){let{reference:o,floating:a}=e,i=Ar(t),s=ui(t),c=fi(s),d=_t(t),f=i==="y",h=o.x+o.width/2-a.width/2,p=o.y+o.height/2-a.height/2,g=o[c]/2-a[c]/2,x;switch(d){case"top":x={x:h,y:o.y-a.height};break;case"bottom":x={x:h,y:o.y+o.height};break;case"right":x={x:o.x+o.width,y:p};break;case"left":x={x:o.x-a.width,y:p};break;default:x={x:o.x,y:o.y}}switch(rt(t)){case"start":x[s]-=g*(r&&f?-1:1);break;case"end":x[s]+=g*(r&&f?-1:1);break}return x}async function pl(e,t){var r;t===void 0&&(t={});let{x:o,y:a,platform:i,rects:s,elements:c,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:x=0}=Er(t,e),S=fl(x),_=c[g?p==="floating"?"reference":"floating":p],T=Xt(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:f,rootBoundary:h,strategy:d})),M=p==="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},R=Xt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:M,offsetParent:E,strategy:d}):M);return{top:(T.top-R.top+S.top)/C.y,bottom:(R.bottom-T.bottom+S.bottom)/C.y,left:(T.left-R.left+S.left)/C.x,right:(R.right-T.right+S.right)/C.x}}var Vf=50,hl=async(e,t,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:pl},d=await(s.isRTL==null?void 0:s.isRTL(t)),f=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:p}=ul(f,o,d),g=o,x=0,S={};for(let O=0;O<i.length;O++){let _=i[O];if(!_)continue;let{name:T,fn:M}=_,{x:E,y:C,data:R,reset:I}=await M({x:h,y:p,initialPlacement:o,placement:g,strategy:a,middlewareData:S,rects:f,platform:c,elements:{reference:e,floating:t}});h=E??h,p=C??p,S[T]={...S[T],...R},I&&x<Vf&&(x++,typeof I=="object"&&(I.placement&&(g=I.placement),I.rects&&(f=I.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):I.rects),{x:h,y:p}=ul(f,g,d)),O=-1)}return{x:h,y:p,placement:g,strategy:a,middlewareData:S}};function Kf(e,t,r){return(e?[...r.filter(a=>rt(a)===e),...r.filter(a=>rt(a)!==e)]:r.filter(a=>_t(a)===a)).filter(a=>e?rt(a)===e||(t?dl(a)!==a:!1):!0)}var ml=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:f}=t,{crossAxis:h=!1,alignment:p,allowedPlacements:g=ci,autoAlignment:x=!0,...S}=Er(e,t),O=p!==void 0||g===ci?Kf(p||null,x,g):g,_=await d.detectOverflow(t,S),T=((r=s.autoPlacement)==null?void 0:r.index)||0,M=O[T];if(M==null)return{};let E=ll(M,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(c!==M)return{reset:{placement:O[0]}};let C=[_[_t(M)],_[E[0]],_[E[1]]],R=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:M,overflows:C}],I=O[T+1];if(I)return{data:{index:T+1,overflows:R},reset:{placement:I}};let G=R.map(B=>{let b=rt(B.placement);return[B.placement,b&&h?B.overflows.slice(0,2).reduce((A,z)=>A+z,0):B.overflows[0],B.overflows]}).sort((B,b)=>B[1]-b[1]),V=((a=G.filter(B=>B[2].slice(0,rt(B[0])?2:3).every(b=>b<=0))[0])==null?void 0:a[0])||G[0][0];return V!==c?{data:{index:T+1,overflows:R},reset:{placement:V}}:{}}}};var Zf=new Set(["left","top"]);async function Yf(e,t){let{placement:r,platform:o,elements:a}=e,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=_t(r),c=rt(r),d=Ar(r)==="y",f=Zf.has(s)?-1:1,h=i&&d?-1:1,p=Er(t,e),{mainAxis:g,crossAxis:x,alignmentAxis:S}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof S=="number"&&(x=c==="end"?S*-1:S),d?{x:x*h,y:g*f}:{x:g*f,y:x*h}}var gl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:a,y:i,placement:s,middlewareData:c}=t,d=await Yf(t,e);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}}}}},yl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:T=>{let{x:M,y:E}=T;return{x:M,y:E}}},...f}=Er(e,t),h={x:r,y:o},p=await i.detectOverflow(t,f),g=Ar(_t(a)),x=di(g),S=h[x],O=h[g];if(s){let T=x==="y"?"top":"left",M=x==="y"?"bottom":"right",E=S+p[T],C=S-p[M];S=li(E,S,C)}if(c){let T=g==="y"?"top":"left",M=g==="y"?"bottom":"right",E=O+p[T],C=O-p[M];O=li(E,O,C)}let _=d.fn({...t,[x]:S,[g]:O});return{..._,data:{x:_.x-r,y:_.y-o,enabled:{[x]:s,[g]:c}}}}}};var bl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,o;let{placement:a,rects:i,platform:s,elements:c}=t,{apply:d=()=>{},...f}=Er(e,t),h=await s.detectOverflow(t,f),p=_t(a),g=rt(a),x=Ar(a)==="y",{width:S,height:O}=i.floating,_,T;p==="top"||p==="bottom"?(_=p,T=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(T=p,_=g==="end"?"top":"bottom");let M=O-h.top-h.bottom,E=S-h.left-h.right,C=qt(O-h[_],M),R=qt(S-h[T],E),I=!t.middlewareData.shift,G=C,Z=R;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(Z=E),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(G=M),I&&!g){let B=Oe(h.left,0),b=Oe(h.right,0),A=Oe(h.top,0),z=Oe(h.bottom,0);x?Z=S-2*(B!==0||b!==0?B+b:Oe(h.left,h.right)):G=O-2*(A!==0||z!==0?A+z:Oe(h.top,h.bottom))}await d({...t,availableWidth:Z,availableHeight:G});let V=await s.getDimensions(c.floating);return S!==V.width||O!==V.height?{reset:{rects:!0}}:{}}}};function mn(){return typeof window<"u"}function Jt(e){return xl(e)?(e.nodeName||"").toLowerCase():"#document"}function Le(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ot(e){var t;return(t=(xl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xl(e){return mn()?e instanceof Node||e instanceof Le(e).Node:!1}function Be(e){return mn()?e instanceof Element||e instanceof Le(e).Element:!1}function nt(e){return mn()?e instanceof HTMLElement||e instanceof Le(e).HTMLElement:!1}function vl(e){return!mn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Le(e).ShadowRoot}function Or(e){let{overflow:t,overflowX:r,overflowY:o,display:a}=$e(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&a!=="inline"&&a!=="contents"}function Sl(e){return/^(table|td|th)$/.test(Jt(e))}function yo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var qf=/transform|translate|scale|rotate|perspective|filter/,Xf=/paint|layout|strict|content/,Qt=e=>!!e&&e!=="none",pi;function gn(e){let t=Be(e)?$e(e):e;return Qt(t.transform)||Qt(t.translate)||Qt(t.scale)||Qt(t.rotate)||Qt(t.perspective)||!yn()&&(Qt(t.backdropFilter)||Qt(t.filter))||qf.test(t.willChange||"")||Xf.test(t.contain||"")}function Cl(e){let t=yt(e);for(;nt(t)&&!er(t);){if(gn(t))return t;if(yo(t))return null;t=yt(t)}return null}function yn(){return pi==null&&(pi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),pi}function er(e){return/^(html|body|#document)$/.test(Jt(e))}function $e(e){return Le(e).getComputedStyle(e)}function bo(e){return Be(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yt(e){if(Jt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||vl(e)&&e.host||ot(e);return vl(t)?t.host:t}function El(e){let t=yt(e);return er(t)?e.ownerDocument?e.ownerDocument.body:e.body:nt(t)&&Or(t)?t:El(t)}function hn(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=El(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=Le(a);if(i){let c=bn(s);return t.concat(s,s.visualViewport||[],Or(a)?a:[],c&&r?hn(c):[])}else return t.concat(a,hn(a,[],r))}function bn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Rl(e){let t=$e(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=nt(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:o,c=go(r)!==i||go(o)!==s;return c&&(r=i,o=s),{width:r,height:o,$:c}}function wl(e){return Be(e)?e:e.contextElement}function Lr(e){let t=wl(e);if(!nt(t))return Ke(1);let r=t.getBoundingClientRect(),{width:o,height:a,$:i}=Rl(t),s=(i?go(r.width):r.width)/o,c=(i?go(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Qf=Ke(0);function _l(e){let t=Le(e);return!yn()||!t.visualViewport?Qf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Jf(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Le(e)?!1:t}function vo(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=wl(e),s=Ke(1);t&&(o?Be(o)&&(s=Lr(o)):s=Lr(e));let c=Jf(i,r,o)?_l(i):Ke(0),d=(a.left+c.x)/s.x,f=(a.top+c.y)/s.y,h=a.width/s.x,p=a.height/s.y;if(i){let g=Le(i),x=o&&Be(o)?Le(o):o,S=g,O=bn(S);for(;O&&o&&x!==S;){let _=Lr(O),T=O.getBoundingClientRect(),M=$e(O),E=T.left+(O.clientLeft+parseFloat(M.paddingLeft))*_.x,C=T.top+(O.clientTop+parseFloat(M.paddingTop))*_.y;d*=_.x,f*=_.y,h*=_.x,p*=_.y,d+=E,f+=C,S=Le(O),O=bn(S)}}return Xt({width:h,height:p,x:d,y:f})}function vn(e,t){let r=bo(e).scrollLeft;return t?t.left+r:vo(ot(e)).left+r}function Nl(e,t){let r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-vn(e,r),a=r.top+t.scrollTop;return{x:o,y:a}}function eu(e){let{elements:t,rect:r,offsetParent:o,strategy:a}=e,i=a==="fixed",s=ot(o),c=t?yo(t.floating):!1;if(o===s||c&&i)return r;let d={scrollLeft:0,scrollTop:0},f=Ke(1),h=Ke(0),p=nt(o);if((p||!p&&!i)&&((Jt(o)!=="body"||Or(s))&&(d=bo(o)),p)){let x=vo(o);f=Lr(o),h.x=x.x+o.clientLeft,h.y=x.y+o.clientTop}let g=s&&!p&&!i?Nl(s,d):Ke(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+h.x+g.x,y:r.y*f.y-d.scrollTop*f.y+h.y+g.y}}function tu(e){return Array.from(e.getClientRects())}function ru(e){let t=ot(e),r=bo(e),o=e.ownerDocument.body,a=Oe(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Oe(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+vn(e),c=-r.scrollTop;return $e(o).direction==="rtl"&&(s+=Oe(t.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:c}}var Al=25;function ou(e,t){let r=Le(e),o=ot(e),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let h=yn();(!h||h&&t==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}let f=vn(o);if(f<=0){let h=o.ownerDocument,p=h.body,g=getComputedStyle(p),x=h.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,S=Math.abs(o.clientWidth-p.clientWidth-x);S<=Al&&(i-=S)}else f<=Al&&(i+=f);return{width:i,height:s,x:c,y:d}}function nu(e,t){let r=vo(e,!0,t==="fixed"),o=r.top+e.clientTop,a=r.left+e.clientLeft,i=nt(e)?Lr(e):Ke(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:c,x:d,y:f}}function Ol(e,t,r){let o;if(t==="viewport")o=ou(e,r);else if(t==="document")o=ru(ot(e));else if(Be(t))o=nu(t,r);else{let a=_l(e);o={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Xt(o)}function Tl(e,t){let r=yt(e);return r===t||!Be(r)||er(r)?!1:$e(r).position==="fixed"||Tl(r,t)}function au(e,t){let r=t.get(e);if(r)return r;let o=hn(e,[],!1).filter(c=>Be(c)&&Jt(c)!=="body"),a=null,i=$e(e).position==="fixed",s=i?yt(e):e;for(;Be(s)&&!er(s);){let c=$e(s),d=gn(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Or(s)&&!d&&Tl(e,s))?o=o.filter(h=>h!==s):a=c,s=yt(s)}return t.set(e,o),o}function iu(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e,s=[...r==="clippingAncestors"?yo(t)?[]:au(t,this._c):[].concat(r),o],c=Ol(t,s[0],a),d=c.top,f=c.right,h=c.bottom,p=c.left;for(let g=1;g<s.length;g++){let x=Ol(t,s[g],a);d=Oe(x.top,d),f=qt(x.right,f),h=qt(x.bottom,h),p=Oe(x.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function su(e){let{width:t,height:r}=Rl(e);return{width:t,height:r}}function cu(e,t,r){let o=nt(t),a=ot(t),i=r==="fixed",s=vo(e,!0,i,t),c={scrollLeft:0,scrollTop:0},d=Ke(0);function f(){d.x=vn(a)}if(o||!o&&!i)if((Jt(t)!=="body"||Or(a))&&(c=bo(t)),o){let x=vo(t,!0,i,t);d.x=x.x+t.clientLeft,d.y=x.y+t.clientTop}else a&&f();i&&!o&&a&&f();let h=a&&!o&&!i?Nl(a,c):Ke(0),p=s.left+c.scrollLeft-d.x-h.x,g=s.top+c.scrollTop-d.y-h.y;return{x:p,y:g,width:s.width,height:s.height}}function hi(e){return $e(e).position==="static"}function Ll(e,t){if(!nt(e)||$e(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ot(e)===r&&(r=r.ownerDocument.body),r}function Ml(e,t){let r=Le(e);if(yo(e))return r;if(!nt(e)){let a=yt(e);for(;a&&!er(a);){if(Be(a)&&!hi(a))return a;a=yt(a)}return r}let o=Ll(e,t);for(;o&&Sl(o)&&hi(o);)o=Ll(o,t);return o&&er(o)&&hi(o)&&!gn(o)?r:o||Cl(e)||r}var lu=async function(e){let t=this.getOffsetParent||Ml,r=this.getDimensions,o=await r(e.floating);return{reference:cu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function du(e){return $e(e).direction==="rtl"}var Rr={convertOffsetParentRelativeRectToViewportRelativeRect:eu,getDocumentElement:ot,getClippingRect:iu,getOffsetParent:Ml,getElementRects:lu,getClientRects:tu,getDimensions:su,getScale:Lr,isElement:Be,isRTL:du};var Pl=gl,mi=ml,kl=yl;var Il=bl;var gi=(e,t,r)=>{let o=new Map,a={platform:Rr,...r},i={...a.platform,_c:o};return hl(e,t,{...a,platform:i})};function bi(e){return fu(e)}function yi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function fu(e){for(let t=e;t;t=yi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=yi(e);t;t=yi(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function vi(e,t,r){let o;return typeof r=="object"?o=r:o={placement:r},gi(e,t,{strategy:o.strategy,platform:{...Rr,getOffsetParent:a=>Rr.getOffsetParent(a,bi)},middleware:[kl({crossAxis:!0}),mi({allowedPlacements:[o.placement]})]})}async function xi(e,t,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,gi(e,t,{placement:c,strategy:a,platform:{...Rr,getOffsetParent:f=>Rr.getOffsetParent(f,bi)},middleware:[Pl(s??4),mi({allowedPlacements:o}),Il({apply({availableHeight:f,availableWidth:h,elements:p}){typeof i=="string"&&(i=`var(${i})`),i?p.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${i})`:p.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?p.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:p.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Ci={};F(Ci,{isSlotEmptyOrWithoutContent:()=>uu});var uu=e=>e?e.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 wi={};F(wi,{FtdsBase:()=>Ri,toFtdsBase:()=>xn});var Li={};F(Li,{ExportpartsUpdatedEvent:()=>tr,FtLitElement:()=>K});var Ei={};F(Ei,{ScopedRegistryLitElement:()=>xo});var xo=class extends ht{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return ao(o,t.elementStyles),o}};var Oi={};F(Oi,{shadowQuerySelector:()=>Ai,shadowQuerySelectorAll:()=>pu});function Ai(e,t,...r){var o;let a=e.querySelector(t);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function pu(e,t,...r){let o=[...e.querySelectorAll(t)];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 wr=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Bl,zl=Symbol("constructorPrototype"),Dl=Symbol("constructorName"),$l=Symbol("exportpartsDebouncer"),Ul=Symbol("dynamicDependenciesLoaded"),tr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};tr.eventName="exportparts-updated";var K=class extends xo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Bl]=new _e(5),this.scheduleExportpartsUpdate=()=>{var t,r,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.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[Dl]=this.constructor.name,this[zl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Dl]&&Object.setPrototypeOf(this,this[zl])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Ul]||(r[Ul]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(tr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(tr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new tr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=Ai(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){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(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,o,a,i,s,c;let d=g=>g!=null&&g.trim().length>0,f=t.filter(d).map(g=>g.trim());if(f.length===0){this.exportparts=void 0;return}let h=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 x=(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:[],O=[...x,...S].filter(d).map(_=>_.trim());for(let _ of O)h.add(_)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(g=>f.map(x=>`${g}:${x}--${g}`));this.exportparts=[...this.part,...p].join(", ")}};Bl=$l;wr([L()],K.prototype,"exportpartsPrefix",void 0);wr([Ue([])],K.prototype,"exportpartsPrefixes",void 0);wr([L({reflect:!0})],K.prototype,"exportparts",void 0);wr([L()],K.prototype,"customStylesheet",void 0);wr([L()],K.prototype,"elementToFocus",void 0);wr([ne()],K.prototype,"useAdoptedStyleSheets",void 0);var Hl=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},xn=be(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Ne.medium,this.family=Ve.neutral}getDesignSystemBaseClasses(){return{[ri(this.family)]:!0,[oi(this.size)]:!0}}}return Hl([L()],t.prototype,"size",void 0),Hl([L()],t.prototype,"family",void 0),t}),Ri=class extends xn(K){};var Gl={};var Ti={};F(Ti,{highlightHtml:()=>Ni,highlightHtmlColorCssVariable:()=>Fl,highlightHtmlStyles:()=>mu});var rr=class e{constructor(t,r=!0,o=[],a=5e3){this.ctx=t,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(t,r){let o=typeof r=="string"?[r]:r,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(t,r,o=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(t){let r="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(t,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,o))}catch{o()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,o){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,o):this.getIframeContents(t,r,o):this.observeIframeLoad(t,r,o)}catch{o()}}waitForIframes(t,r){let o=0;this.forEachIframe(t,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(t,r,o,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(f=>{e.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(c++,o(h)),d()},d)})}createIterator(t,r,o){return document.createNodeIterator(t,r,o,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,o){let a=t.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(t){let r=t.previousNode(),o;return r===null?o=t.nextNode():o=t.nextNode()&&t.nextNode(),{prevNode:r,node:o}}checkIframeFilter(t,r,o,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===o&&(i=d,s=c.handled)}),this.compareNodeIframe(t,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(t,r,o,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(t,r,o,a,i){let s=this.createIterator(r,t,a),c=[],d=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(f,h,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(t,x=>d.push(x),a)}),d.push(f);d.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(c,t,o,a),i()}forEachNode(t,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(t,c,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var So=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new rr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){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!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(t){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?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){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 t.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){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`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.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(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],o=0;return t.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(t,r){let o,a,i=!1;return t&&typeof t.start<"u"?(o=parseInt(t.start,10),a=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:a,valid:i}}checkWhitespaceRanges(t,r,o){let a,i=!0,s=o.length,c=r-s,d=parseInt(t.start,10)-c;return d=d>s?s:d,a=d+parseInt(t.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(t)}`),this.opt.noMatch(t)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){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,()=>{t({value:r,nodes:o})})}matchesExclude(t){return rr.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,o){let a=this.opt.element?this.opt.element:"mark",i=t.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(t,r,o,a,i){t.nodes.every((s,c)=>{let d=t.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(o>s.end?s.end:o)-s.start,p=t.value.substr(0,s.start),g=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),t.value=p+g,t.nodes.forEach((x,S)=>{S>=c&&(t.nodes[S].start>0&&S!==c&&(t.nodes[S].start-=h),t.nodes[S].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let f;for(;(f=t.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=t.exec(c.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let p=1;p<s;p++)f+=d[p].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(c,f,h,p=>o(d[s],p),(p,g)=>{t.lastIndex=g,a(p)})}i()})}wrapRangeFromIndex(t,r,o,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((c,d)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(c,s,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,g=>r(g,c,i.value.substring(f,h),d),g=>{o(g,c)})}),a()})}unwrapMatches(t){let r=t.parentNode,o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));r.replaceChild(o,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,o),i,()=>{o===0&&this.opt.noMatch(t),this.opt.done(o)})}mark(t,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,x)=>this.opt.filter(x,f,o,p),g=>{p++,o++,this.opt.each(g)},()=>{p===0&&this.opt.noMatch(f),i[s-1]===f?this.opt.done(o):d(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(i[0])}markRanges(t,r){this.opt=r;let o=0,a=this.checkRanges(t);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(t){this.opt=t;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=rr.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function _i(e){let t=new So(e);return this.mark=(r,o)=>(t.mark(r,o),this),this.markRegExp=(r,o)=>(t.markRegExp(r,o),this),this.markRanges=(r,o)=>(t.markRanges(r,o),this),this.unmark=r=>(t.unmark(r),this),this}var hu=_i,Fl=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),mu=$`
6
6
  .highlight-html-match {
7
7
  background: ${Fl};
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 Wl={};var Pi={};F(Pi,{ParametrizedLabelResolver:()=>Eo});var Eo=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var ns={};F(ns,{FtCommandQueue:()=>Ao,FtLitElementRedux:()=>Lo,FtReduxStore:()=>ir,FtStateManager:()=>os,ReduxWatcher:()=>Ln,clearAllStores:()=>rp,isFtReduxStore:()=>Nr,redux:()=>_r,reduxEventListener:()=>vu,reduxReactive:()=>bu,watch:()=>op,withRedux:()=>jl});var bu=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},_r=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:mt,attribute:!1,...t};L(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:c=>c[o],store:t.store})}},vu=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,e)};var Ao=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Nr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Oo=Symbol("internalReduxEventsUnsubscribers"),Nt=Symbol("internalStoresUnsubscribers"),or=Symbol("internalStores"),jl=be(Symbol("withRedux"),function(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=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[or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[or].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[or].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[or].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[or].delete(c)}setupStores(){this.unsubscribeFromStores(),this[or].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 f=this.getStore(s.store);f&&(s.store?this[Nt].has(s.store):this[Nt].size>0)&&(this[c]=s.selector(f.getState(),this))}})}subscribeToStore(s,c){var d;this[Nt].set(s,c.subscribe(()=>this.updateFromStores())),this[Oo].set(s,[]),Nr(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||c.name===f.store)){let p=g=>this[h](g);c.addEventListener(f.eventName,p),this[Oo].get(s).push(()=>c.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Nt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[Nt].has(s)&&this[Nt].get(s)(),this[Nt].delete(s),(c=this[Oo].get(s))===null||c===void 0||c.forEach(d=>d()),this[Oo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Nt,r=or,o=Oo,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Lo=class extends jl(K){};function He(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function vt(e){return!!e&&!!e[ae]}function Ze(e){var t;return!!e&&(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)===Ru}(e)||Array.isArray(e)||!!e[Ql]||!!(!((t=e.constructor)===null||t===void 0)&&t[Ql])||Gi(e)||Fi(e))}function nr(e,t,r){r===void 0&&(r=!1),Pr(e)===0?(r?Object.keys:Mr)(e).forEach(function(o){r&&typeof o=="symbol"||t(o,e[o],e)}):e.forEach(function(o,a){return t(a,o,e)})}function Pr(e){var t=e[ae];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Gi(e)?2:Fi(e)?3:0}function Tr(e,t){return Pr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function xu(e,t){return Pr(e)===2?e.get(t):e[t]}function Jl(e,t,r){var o=Pr(e);o===2?e.set(t,r):o===3?e.add(r):e[t]=r}function e1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Gi(e){return Ou&&e instanceof Map}function Fi(e){return Lu&&e instanceof Set}function Tt(e){return e.o||e.t}function Wi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=o1(e);delete t[ae];for(var r=Mr(t),o=0;o<r.length;o++){var a=r[o],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function ji(e,t){return t===void 0&&(t=!1),Vi(e)||vt(e)||!Ze(e)||(Pr(e)>1&&(e.set=e.add=e.clear=e.delete=Su),Object.freeze(e),t&&nr(e,function(r,o){return ji(o,!0)},!0)),e}function Su(){He(2)}function Vi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function at(e){var t=Hi[e];return t||He(18,e),t}function Cu(e,t){Hi[e]||(Hi[e]=t)}function Ui(){return wo}function ki(e,t){t&&(at("Patches"),e.u=[],e.s=[],e.v=t)}function Sn(e){Bi(e),e.p.forEach(Eu),e.p=null}function Bi(e){e===wo&&(wo=e.l)}function Vl(e){return wo={p:[],l:wo,h:e,m:!0,_:0}}function Eu(e){var t=e[ae];t.i===0||t.i===1?t.j():t.g=!0}function Ii(e,t){t._=t.p.length;var r=t.p[0],o=e!==void 0&&e!==r;return t.h.O||at("ES5").S(t,e,o),o?(r[ae].P&&(Sn(t),He(4)),Ze(e)&&(e=Cn(t,e),t.l||En(t,e)),t.u&&at("Patches").M(r[ae].t,e,t.u,t.s)):e=Cn(t,r,[]),Sn(t),t.u&&t.v(t.u,t.s),e!==r1?e:void 0}function Cn(e,t,r){if(Vi(t))return t;var o=t[ae];if(!o)return nr(t,function(c,d){return Kl(e,o,t,c,d,r)},!0),t;if(o.A!==e)return t;if(!o.P)return En(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Wi(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),nr(i,function(c,d){return Kl(e,o,a,c,d,r,s)}),En(e,a,!1),r&&e.u&&at("Patches").N(o,r,e.u,e.s)}return o.o}function Kl(e,t,r,o,a,i,s){if(vt(a)){var c=Cn(e,a,i&&t&&t.i!==3&&!Tr(t.R,o)?i.concat(o):void 0);if(Jl(r,o,c),!vt(c))return;e.m=!1}else s&&r.add(a);if(Ze(a)&&!Vi(a)){if(!e.h.D&&e._<1)return;Cn(e,a),t&&t.A.l||En(e,a)}}function En(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&ji(t,r)}function zi(e,t){var r=e[ae];return(r?Tt(r):e)[t]}function Zl(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function Mt(e){e.P||(e.P=!0,e.l&&Mt(e.l))}function Di(e){e.o||(e.o=Wi(e.t))}function $i(e,t,r){var o=Gi(t)?at("MapSet").F(t,r):Fi(t)?at("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Ui(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,f=_o;s&&(d=[c],f=Ro);var h=Proxy.revocable(d,f),p=h.revoke,g=h.proxy;return c.k=g,c.j=p,g}(t,r):at("ES5").J(t,r);return(r?r.A:Ui()).p.push(o),o}function Au(e){return vt(e)||He(22,e),function t(r){if(!Ze(r))return r;var o,a=r[ae],i=Pr(r);if(a){if(!a.P&&(a.i<4||!at("ES5").K(a)))return a.t;a.I=!0,o=Yl(r,i),a.I=!1}else o=Yl(r,i);return nr(o,function(s,c){a&&xu(a.t,s)===c||Jl(o,s,t(c))}),i===3?new Set(o):o}(e)}function Yl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Wi(e)}function t1(){function e(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var f=this[ae];return _o.get(f,s)},set:function(f){var h=this[ae];_o.set(h,s,f)}},d}function t(s){for(var c=s.length-1;c>=0;c--){var d=s[c][ae];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,f=Mr(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==ae){var g=c[p];if(g===void 0&&!Tr(c,p))return!0;var x=d[p],S=x&&x[ae];if(S?S.t!==g:!e1(x,g))return!0}}var O=!!c[ae];return f.length!==Mr(c).length+(O?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 f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&He(3,JSON.stringify(Tt(s)))}var i={};Cu("ES5",{J:function(s,c){var d=Array.isArray(s),f=function(p,g){if(p){for(var x=Array(g.length),S=0;S<g.length;S++)Object.defineProperty(x,""+S,e(S,!0));return x}var O=o1(g);delete O[ae];for(var _=Mr(O),T=0;T<_.length;T++){var M=_[T];O[M]=e(M,p||!!O[M].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(d,s),h={i:d?5:4,A:c?c.A:Ui(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,ae,{value:h,writable:!0}),f},S:function(s,c,d){d?vt(c)&&c[ae].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[ae];if(p){var g=p.t,x=p.k,S=p.R,O=p.i;if(O===4)nr(x,function(C){C!==ae&&(g[C]!==void 0||Tr(g,C)?S[C]||f(x[C]):(S[C]=!0,Mt(p)))}),nr(g,function(C){x[C]!==void 0||Tr(x,C)||(S[C]=!1,Mt(p))});else if(O===5){if(o(p)&&(Mt(p),S.length=!0),x.length<g.length)for(var _=x.length;_<g.length;_++)S[_]=!1;else for(var T=g.length;T<x.length;T++)S[T]=!0;for(var M=Math.min(x.length,g.length),E=0;E<M;E++)x.hasOwnProperty(E)||(S[E]=!0),S[E]===void 0&&f(x[E])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var ql,wo,Ki=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ou=typeof Map<"u",Lu=typeof Set<"u",Xl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",r1=Ki?Symbol.for("immer-nothing"):((ql={})["immer-nothing"]=!0,ql),Ql=Ki?Symbol.for("immer-draftable"):"__$immer_draftable",ae=Ki?Symbol.for("immer-state"):"__$immer_state";var Ru=""+Object.prototype.constructor,Mr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,o1=Object.getOwnPropertyDescriptors||function(e){var t={};return Mr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Hi={},_o={get:function(e,t){if(t===ae)return e;var r=Tt(e);if(!Tr(r,t))return function(a,i,s){var c,d=Zl(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(e,r,t);var o=r[t];return e.I||!Ze(o)?o:o===zi(e.t,t)?(Di(e),e.o[t]=$i(e.A.h,o,e)):o},has:function(e,t){return t in Tt(e)},ownKeys:function(e){return Reflect.ownKeys(Tt(e))},set:function(e,t,r){var o=Zl(Tt(e),t);if(o?.set)return o.set.call(e.k,r),!0;if(!e.P){var a=zi(Tt(e),t),i=a?.[ae];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(e1(r,a)&&(r!==void 0||Tr(e.t,t)))return!0;Di(e),Mt(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return zi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Di(e),Mt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Tt(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:r[t]}},defineProperty:function(){He(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){He(12)}},Ro={};nr(_o,function(e,t){Ro[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ro.deleteProperty=function(e,t){return Ro.set.call(this,e,t,void 0)},Ro.set=function(e,t,r){return _o.set.call(this,e[0],t,r,e[0])};var wu=function(){function e(r){var o=this;this.O=Xl,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(O){var _=this;O===void 0&&(O=c);for(var T=arguments.length,M=Array(T>1?T-1:0),E=1;E<T;E++)M[E-1]=arguments[E];return d.produce(O,function(C){var R;return(R=i).call.apply(R,[_,C].concat(M))})}}var f;if(typeof i!="function"&&He(6),s!==void 0&&typeof s!="function"&&He(7),Ze(a)){var h=Vl(o),p=$i(o,a,void 0),g=!0;try{f=i(p),g=!1}finally{g?Sn(h):Bi(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(O){return ki(h,s),Ii(O,h)},function(O){throw Sn(h),O}):(ki(h,s),Ii(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===r1&&(f=void 0),o.D&&ji(f,!0),s){var x=[],S=[];at("Patches").M(a,f,x,S),s(x,S)}return f}He(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];return o.produceWithPatches(f,function(x){return a.apply(void 0,[x].concat(p))})};var s,c,d=o.produce(a,i,function(f,h){s=f,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Ze(r)||He(8),vt(r)&&(r=Au(r));var o=Vl(this),a=$i(this,r,void 0);return a[ae].C=!0,Bi(o),a},t.finishDraft=function(r,o){var a=r&&r[ae],i=a.A;return ki(i,o),Ii(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Xl&&He(20),this.O=r},t.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=at("Patches").$;return vt(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},e}(),Te=new wu,_u=Te.produce,sx=Te.produceWithPatches.bind(Te),cx=Te.setAutoFreeze.bind(Te),lx=Te.setUseProxies.bind(Te),dx=Te.applyPatches.bind(Te),fx=Te.createDraft.bind(Te),ux=Te.finishDraft.bind(Te),An=_u;function ar(e){"@babel/helpers - typeof";return ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ar(e)}function n1(e,t){if(ar(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(ar(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function a1(e){var t=n1(e,"string");return ar(t)=="symbol"?t:t+""}function i1(e,t,r){return(t=a1(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Zi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?s1(Object(r),!0).forEach(function(o){i1(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s1(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function Se(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var c1=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Yi=function(){return Math.random().toString(36).substring(7).split("").join(".")},On={INIT:"@@redux/INIT"+Yi(),REPLACE:"@@redux/REPLACE"+Yi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Yi()}};function Nu(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function qi(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Se(1));return r(qi)(e,t)}if(typeof e!="function")throw new Error(Se(2));var a=e,i=t,s=[],c=s,d=!1;function f(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(Se(3));return i}function p(O){if(typeof O!="function")throw new Error(Se(4));if(d)throw new Error(Se(5));var _=!0;return f(),c.push(O),function(){if(_){if(d)throw new Error(Se(6));_=!1,f();var M=c.indexOf(O);c.splice(M,1),s=null}}}function g(O){if(!Nu(O))throw new Error(Se(7));if(typeof O.type>"u")throw new Error(Se(8));if(d)throw new Error(Se(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var _=s=c,T=0;T<_.length;T++){var M=_[T];M()}return O}function x(O){if(typeof O!="function")throw new Error(Se(10));a=O,g({type:On.REPLACE})}function S(){var O,_=p;return O={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(Se(11));function E(){M.next&&M.next(h())}E();var C=_(E);return{unsubscribe:C}}},O[c1]=function(){return this},O}return g({type:On.INIT}),o={dispatch:g,subscribe:p,getState:h,replaceReducer:x},o[c1]=S,o}function Tu(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:On.INIT});if(typeof o>"u")throw new Error(Se(12));if(typeof r(void 0,{type:On.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function l1(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,c;try{Tu(r)}catch(d){c=d}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var p;for(var g=!1,x={},S=0;S<i.length;S++){var O=i[S],_=r[O],T=f[O],M=_(T,h);if(typeof M>"u"){var E=h&&h.type;throw new Error(Se(14))}x[O]=M,g=g||M!==T}return g=g||i.length!==Object.keys(f).length,g?x:f}}function kr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function d1(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(Se(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=t.map(function(d){return d(s)});return i=kr.apply(void 0,c)(a.dispatch),Zi(Zi({},a),{},{dispatch:i})}}}function f1(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,e):s(c)}}};return t}var u1=f1();u1.withExtraArgument=f1;var Xi=u1;var y1=function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),Mu=function(e,t){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(f){return function(h){return d([f,h])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{o=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ir=function(e,t){for(var r=0,o=t.length,a=e.length;r<o;r++,a++)e[a]=t[r];return e},Pu=Object.defineProperty,ku=Object.defineProperties,Iu=Object.getOwnPropertyDescriptors,p1=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable,h1=function(e,t,r){return t in e?Pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},Pt=function(e,t){for(var r in t||(t={}))zu.call(t,r)&&h1(e,r,t[r]);if(p1)for(var o=0,a=p1(t);o<a.length;o++){var r=a[o];Du.call(t,r)&&h1(e,r,t[r])}return e},Qi=function(e,t){return ku(e,Iu(t))},Uu=function(e,t,r){return new Promise(function(o,a){var i=function(d){try{c(r.next(d))}catch(f){a(f)}},s=function(d){try{c(r.throw(d))}catch(f){a(f)}},c=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(e,t)).next())})};var Bu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?kr:kr.apply(null,arguments)},Nx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function $u(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Hu=function(e){y1(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,Ir([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ir([void 0],r.concat(this))))},t}(Array),Gu=function(e){y1(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,Ir([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ir([void 0],r.concat(this))))},t}(Array);function ts(e){return Ze(e)?An(e,function(){}):e}function Fu(e){return typeof e=="boolean"}function Wu(){return function(t){return ju(t)}}function ju(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,c=new Hu;if(r&&(Fu(r)?c.push(Xi):c.push(Xi.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return c}var Ji=!0;function b1(e){var t=Wu(),r=e||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?t():i,c=r.devTools,d=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,g=p===void 0?void 0:p,x;if(typeof a=="function")x=a;else if($u(a))x=l1(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(t),!Ji&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ji&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=d1.apply(void 0,S),_=kr;d&&(_=Bu(Pt({trace:!Ji},typeof d=="object"&&d)));var T=new Gu(O),M=T;Array.isArray(g)?M=Ir([O],g):typeof g=="function"&&(M=g(T));var E=_.apply(void 0,M);return qi(x,h,E)}function kt(e,t){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Pt(Pt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(o){return o.type===e},r}function v1(e){var t={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return e(a),[t,r,o]}function Vu(e){return typeof e=="function"}function Ku(e,t,r,o){r===void 0&&(r=[]);var a=typeof t=="function"?v1(t):[t,r,o],i=a[0],s=a[1],c=a[2],d;if(Vu(e))d=function(){return ts(e())};else{var f=ts(e);d=function(){return f}}function h(p,g){p===void 0&&(p=d());var x=Ir([i[g.type]],s.filter(function(S){var O=S.matcher;return O(g)}).map(function(S){var O=S.reducer;return O}));return x.filter(function(S){return!!S}).length===0&&(x=[c]),x.reduce(function(S,O){if(O)if(vt(S)){var _=S,T=O(_,g);return T===void 0?S:T}else{if(Ze(S))return An(S,function(M){return O(M,g)});var T=O(S,g);if(T===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return S},p)}return h.getInitialState=d,h}function Zu(e,t){return e+"/"+t}function x1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ts(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(h){var p=o[h],g=Zu(t,h),x,S;"reducer"in p?(x=p.reducer,S=p.prepare):x=p,i[h]=x,s[g]=x,c[h]=S?kt(g,S):kt(g)});function d(){var h=typeof e.extraReducers=="function"?v1(e.extraReducers):[e.extraReducers],p=h[0],g=p===void 0?{}:p,x=h[1],S=x===void 0?[]:x,O=h[2],_=O===void 0?void 0:O,T=Pt(Pt({},g),s);return Ku(r,function(M){for(var E in T)M.addCase(E,T[E]);for(var C=0,R=S;C<R.length;C++){var I=R[C];M.addMatcher(I.matcher,I.reducer)}_&&M.addDefaultCase(_)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:c,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Yu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",qu=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Yu[Math.random()*64|0];return t},Xu=["name","message","stack","code"],es=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),m1=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Qu=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,o=Xu;r<o.length;r++){var a=o[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},kx=function(){function e(t,r,o){var a=kt(t+"/fulfilled",function(h,p,g,x){return{payload:h,meta:Qi(Pt({},x||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=kt(t+"/pending",function(h,p,g){return{payload:void 0,meta:Qi(Pt({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=kt(t+"/rejected",function(h,p,g,x,S){return{payload:x,error:(o&&o.serializeError||Qu)(h||"Rejected"),meta:Qi(Pt({},S||{}),{arg:g,requestId:p,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,g,x){var S=o?.idGenerator?o.idGenerator(h):qu(),O=new d,_,T=!1;function M(C){_=C,O.abort()}var E=function(){return Uu(this,null,function(){var C,R,I,G,Z,V,B;return Mu(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),G=(C=o?.condition)==null?void 0:C.call(o,h,{getState:g,extra:x}),ep(G)?[4,G]:[3,2];case 1:G=b.sent(),b.label=2;case 2:if(G===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,Z=new Promise(function(A,z){return O.signal.addEventListener("abort",function(){return z({name:"AbortError",message:_||"Aborted"})})}),p(i(S,h,(R=o?.getPendingMeta)==null?void 0:R.call(o,{requestId:S,arg:h},{getState:g,extra:x}))),[4,Promise.race([Z,Promise.resolve(r(h,{dispatch:p,getState:g,extra:x,requestId:S,signal:O.signal,abort:M,rejectWithValue:function(A,z){return new es(A,z)},fulfillWithValue:function(A,z){return new m1(A,z)}})).then(function(A){if(A instanceof es)throw A;return A instanceof m1?a(A.payload,S,h,A.meta):a(A,S,h)})])];case 3:return I=b.sent(),[3,5];case 4:return V=b.sent(),I=V instanceof es?s(null,S,h,V.payload,V.meta):s(V,S,h),[3,5];case 5:return B=o&&!o.dispatchConditionRejection&&s.match(I)&&I.meta.condition,B||p(I),[2,I]}})})}();return Object.assign(E,{abort:M,requestId:S,arg:h,unwrap:function(){return E.then(Ju)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Ju(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function ep(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var S1="listener",C1="completed",E1="cancelled",Ix="task-"+E1,zx="task-"+C1,Dx=S1+"-"+E1,Ux=S1+"-"+C1;var rs="listenerMiddleware";var Bx=kt(rs+"/add"),$x=kt(rs+"/removeAll"),Hx=kt(rs+"/remove");var g1,Gx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(g1||(g1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},tp=function(e){return function(t){setTimeout(t,e)}},Fx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:tp(10);t1();window.ftReduxStores||(window.ftReduxStores={});var ir=class e extends gt{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(Nr(i))return i;if(a==null)return;let s=x1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=b1({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Yt(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,c,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Ao;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,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function rp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Nr(t)&&t.clear()}var Ln=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);mt(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function op(e,t,r){return new Ln(e,t,r).watch()}var os=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(t).size==1&&this.onNewNeededRequest(o)}unregisterComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var ss={};F(ss,{scrollHelper:()=>np});var as,Rn=new Map,is=class{lock(t,r){if(r){let o=Rn.get(r);if(o==null||o===t)return Rn.set(r,t),r}}release(t,r){r&&Rn.get(r)===t&&Rn.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of wa(t)){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(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.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)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,c=Zt(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",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(as=window.FluidTopicsScrollHelper)!==null&&as!==void 0?as:new is;var np=window.FluidTopicsScrollHelper;var ls={};F(ls,{SearchPlaceConverter:()=>Br,SearchPlaceQueryParams:()=>X,isSearchPlaceQueryParams:()=>c2,serializeRequest:()=>cp});var ip=_4(O1(),1);var L1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(L1||(L1={}));var R1;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(R1||(R1={}));var w1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(w1||(w1={}));var _1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(_1||(_1={}));var N1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(N1||(N1={}));var T1;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(T1||(T1={}));var M1;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(M1||(M1={}));var P1;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(P1||(P1={}));var k1;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(k1||(k1={}));var I1;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(I1||(I1={}));var z1;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(z1||(z1={}));var D1;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(D1||(D1={}));var U1;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(U1||(U1={}));var B1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(B1||(B1={}));var Dr;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Dr||(Dr={}));var $1;(function(e){e.ASC="ASC",e.DESC="DESC"})($1||($1={}));var H1;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(H1||(H1={}));var cs;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(cs||(cs={}));var Y1=e=>Object.keys(cs).includes(e);var G1;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(G1||(G1={}));var F1;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(F1||(F1={}));var W1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(W1||(W1={}));var Ur;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ur||(Ur={}));var q1=e=>Object.keys(Ur).includes(e);var j1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(j1||(j1={}));var V1;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(V1||(V1={}));var K1;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(K1||(K1={}));var de;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(de||(de={}));var Ge;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ge||(Ge={}));var Z1;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Z1||(Z1={}));var X1;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(X1||(X1={}));var Q1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(Q1||(Q1={}));var J1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(J1||(J1={}));var e2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(e2||(e2={}));var t2;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(t2||(t2={}));var r2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(r2||(r2={}));var o2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(o2||(o2={}));var n2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(n2||(n2={}));var ap={[de.PERSONAL_BOOK_SHARE_USER]:[de.PERSONAL_BOOK_USER],[de.HTML_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.PDF_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.KHUB_ADMIN]:[de.CONTENT_PUBLISHER],[de.ADMIN]:[de.KHUB_ADMIN,de.USERS_ADMIN,de.PORTAL_ADMIN,de.BEHAVIOR_DATA_USER],[de.GENERATIVE_AI_EXPORT_USER]:[de.GENERATIVE_AI_USER]};function a2(e,t){return e===t||(ap[e]??[]).some(r=>a2(r,t))}function i2(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(o=>a2(o,t))}function sp(e){return`"${e}"`}function s2(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function cp(e,t){return new Br(e).serialize(t)}var X;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(X||(X={}));var lp=new Set(Object.values(X));function c2(e){return lp.has(e)}var Br=class{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,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(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,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(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,c,d,f,h,p,g,x;let S=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&S.append(X.LOCALE,t.contentLocale):S.append(X.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&S.append(X.QUERY,t.query);let O=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter&&!C.valueFilter.negative))!==null&&i!==void 0?i:[];if(O.length>0){let C=O.map(R=>{var I,G;let Z=((G=(I=R.valueFilter)===null||I===void 0?void 0:I.values)!==null&&G!==void 0?G:[]).map(V=>this.escapeFilters(V)).map(V=>sp(s2(V))).join("_");return`${R.key}~${Z}`}).join("*");S.append(X.VALUE_FILTERS,C)}let _=(c=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(C=>C.dateFilter))!==null&&c!==void 0?c:[];if(_.length>0){let C=_.map(R=>{var I;return`${R.key}~${(I=R.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");S.append(X.DATE_FILTERS,C)}let T=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&f!==void 0?f:[];if(T.length>0){let C=T.map(R=>{var I,G;return`${R.key}~${(I=R.rangeFilter)===null||I===void 0?void 0:I.from}_${(G=R.rangeFilter)===null||G===void 0?void 0:G.to}`}).join("*");S.append(X.RANGE_FILTERS,C)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&S.append(X.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&S.append(X.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&S.append(X.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((g=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&S.append(X.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&S.append(X.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let M=(x=t.otherQueryParams)!==null&&x!==void 0?x:{};for(let C in M)S.append(C,M[C]);let E=new Array;return S.forEach((C,R)=>{E.push(this.encodeQueryString(R)+"="+this.encodeQueryString(C))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.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(t){var r,o,a,i,s,c;try{t=decodeURI(t).replace(/%23/g,"#")}catch(T){console.warn("Could not decode search request query params, fallback on raw value",T)}let d=new URLSearchParams(t),f=d.get(X.LOCALE)==="all"?void 0:d.get(X.LOCALE),h=((r=d.get(X.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(X.SORT))===null||o===void 0?void 0:o.toLowerCase(),g=(a=d.get(X.SCOPE))!==null&&a!==void 0?a:"default",x=+((i=d.get(X.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S=d.get(X.KEYWORD_MATCH),O=S?S.toUpperCase()===Dr.MANDATORY?Dr.MANDATORY:Dr.OPTIONAL:void 0,_={};for(let T of d.keys())c2(T)||(_[T]=d.get(T));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(X.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:Y1(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Zt(1,isNaN(x)?this.defaultPerPage:x,1e3)},keywordMatch:O,otherQueryParams:_}}parseCompatFilters(t){var r,o,a,i,s,c;let d=[];return t.has(X.FILTERS)&&(d=this.parseValueFilters((r=t.get(X.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(X.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(X.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(X.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(X.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=t.get(X.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(s2).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:Ur[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}superEscapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(o,a);return t}unescapeFilterValue(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(q1(t))return[{key:"ft:lastEdition",dateFilter:{type:Ur[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var us={};F(us,{toFtFormComponent:()=>fs});var ds=Symbol("elementInternals"),fs=be(Symbol("toFtFormComponent"),function(e){class t extends e{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 t});var ps={};F(ps,{DateFormatter:()=>sr});var sr=class{static format(t,r,o,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(o,a)):this.getIntlDateTime(t,r,o,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,o,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(i);if(!a)return s;let c=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${c}`}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ms={};F(ms,{ALL_KEYS_VALUE:()=>hs,SameWindowStorageEvent:()=>$r});var hs="__all__",$r=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==hs}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new $r(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new $r(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new $r(hs))}});var ys={};F(ys,{FocusMainContentEvent:()=>gs});var gs=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var l2={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function dp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function fp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",dp);document.addEventListener("click",fp);var d2=$`
48
+ `;var Wl={};var Pi={};F(Pi,{ParametrizedLabelResolver:()=>Eo});var Eo=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var ns={};F(ns,{FtCommandQueue:()=>Ao,FtLitElementRedux:()=>Lo,FtReduxStore:()=>ir,FtStateManager:()=>os,ReduxWatcher:()=>Ln,clearAllStores:()=>rp,isFtReduxStore:()=>Nr,redux:()=>_r,reduxEventListener:()=>vu,reduxReactive:()=>bu,watch:()=>op,withRedux:()=>jl});var bu=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},_r=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:mt,attribute:!1,...t};L(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:c=>c[o],store:t.store})}},vu=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,e)};var Ao=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function Nr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Oo=Symbol("internalReduxEventsUnsubscribers"),Nt=Symbol("internalStoresUnsubscribers"),or=Symbol("internalStores"),jl=be(Symbol("withRedux"),function(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=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[or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[or].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[or].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[or].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[or].delete(c)}setupStores(){this.unsubscribeFromStores(),this[or].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 f=this.getStore(s.store);f&&(s.store?this[Nt].has(s.store):this[Nt].size>0)&&(this[c]=s.selector(f.getState(),this))}})}subscribeToStore(s,c){var d;this[Nt].set(s,c.subscribe(()=>this.updateFromStores())),this[Oo].set(s,[]),Nr(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||c.name===f.store)){let p=g=>this[h](g);c.addEventListener(f.eventName,p),this[Oo].get(s).push(()=>c.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Nt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[Nt].has(s)&&this[Nt].get(s)(),this[Nt].delete(s),(c=this[Oo].get(s))===null||c===void 0||c.forEach(d=>d()),this[Oo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Nt,r=or,o=Oo,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Lo=class extends jl(K){};function He(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function vt(e){return!!e&&!!e[ae]}function Ze(e){var t;return!!e&&(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)===Ru}(e)||Array.isArray(e)||!!e[Ql]||!!(!((t=e.constructor)===null||t===void 0)&&t[Ql])||Gi(e)||Fi(e))}function nr(e,t,r){r===void 0&&(r=!1),Pr(e)===0?(r?Object.keys:Mr)(e).forEach(function(o){r&&typeof o=="symbol"||t(o,e[o],e)}):e.forEach(function(o,a){return t(a,o,e)})}function Pr(e){var t=e[ae];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Gi(e)?2:Fi(e)?3:0}function Tr(e,t){return Pr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function xu(e,t){return Pr(e)===2?e.get(t):e[t]}function Jl(e,t,r){var o=Pr(e);o===2?e.set(t,r):o===3?e.add(r):e[t]=r}function e1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Gi(e){return Ou&&e instanceof Map}function Fi(e){return Lu&&e instanceof Set}function Tt(e){return e.o||e.t}function Wi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=o1(e);delete t[ae];for(var r=Mr(t),o=0;o<r.length;o++){var a=r[o],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function ji(e,t){return t===void 0&&(t=!1),Vi(e)||vt(e)||!Ze(e)||(Pr(e)>1&&(e.set=e.add=e.clear=e.delete=Su),Object.freeze(e),t&&nr(e,function(r,o){return ji(o,!0)},!0)),e}function Su(){He(2)}function Vi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function at(e){var t=Hi[e];return t||He(18,e),t}function Cu(e,t){Hi[e]||(Hi[e]=t)}function Ui(){return wo}function ki(e,t){t&&(at("Patches"),e.u=[],e.s=[],e.v=t)}function Sn(e){Bi(e),e.p.forEach(Eu),e.p=null}function Bi(e){e===wo&&(wo=e.l)}function Vl(e){return wo={p:[],l:wo,h:e,m:!0,_:0}}function Eu(e){var t=e[ae];t.i===0||t.i===1?t.j():t.g=!0}function Ii(e,t){t._=t.p.length;var r=t.p[0],o=e!==void 0&&e!==r;return t.h.O||at("ES5").S(t,e,o),o?(r[ae].P&&(Sn(t),He(4)),Ze(e)&&(e=Cn(t,e),t.l||En(t,e)),t.u&&at("Patches").M(r[ae].t,e,t.u,t.s)):e=Cn(t,r,[]),Sn(t),t.u&&t.v(t.u,t.s),e!==r1?e:void 0}function Cn(e,t,r){if(Vi(t))return t;var o=t[ae];if(!o)return nr(t,function(c,d){return Kl(e,o,t,c,d,r)},!0),t;if(o.A!==e)return t;if(!o.P)return En(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Wi(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),nr(i,function(c,d){return Kl(e,o,a,c,d,r,s)}),En(e,a,!1),r&&e.u&&at("Patches").N(o,r,e.u,e.s)}return o.o}function Kl(e,t,r,o,a,i,s){if(vt(a)){var c=Cn(e,a,i&&t&&t.i!==3&&!Tr(t.R,o)?i.concat(o):void 0);if(Jl(r,o,c),!vt(c))return;e.m=!1}else s&&r.add(a);if(Ze(a)&&!Vi(a)){if(!e.h.D&&e._<1)return;Cn(e,a),t&&t.A.l||En(e,a)}}function En(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&ji(t,r)}function zi(e,t){var r=e[ae];return(r?Tt(r):e)[t]}function Zl(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function Mt(e){e.P||(e.P=!0,e.l&&Mt(e.l))}function Di(e){e.o||(e.o=Wi(e.t))}function $i(e,t,r){var o=Gi(t)?at("MapSet").F(t,r):Fi(t)?at("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Ui(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,f=_o;s&&(d=[c],f=Ro);var h=Proxy.revocable(d,f),p=h.revoke,g=h.proxy;return c.k=g,c.j=p,g}(t,r):at("ES5").J(t,r);return(r?r.A:Ui()).p.push(o),o}function Au(e){return vt(e)||He(22,e),function t(r){if(!Ze(r))return r;var o,a=r[ae],i=Pr(r);if(a){if(!a.P&&(a.i<4||!at("ES5").K(a)))return a.t;a.I=!0,o=Yl(r,i),a.I=!1}else o=Yl(r,i);return nr(o,function(s,c){a&&xu(a.t,s)===c||Jl(o,s,t(c))}),i===3?new Set(o):o}(e)}function Yl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Wi(e)}function t1(){function e(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var f=this[ae];return _o.get(f,s)},set:function(f){var h=this[ae];_o.set(h,s,f)}},d}function t(s){for(var c=s.length-1;c>=0;c--){var d=s[c][ae];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,f=Mr(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==ae){var g=c[p];if(g===void 0&&!Tr(c,p))return!0;var x=d[p],S=x&&x[ae];if(S?S.t!==g:!e1(x,g))return!0}}var O=!!c[ae];return f.length!==Mr(c).length+(O?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 f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&He(3,JSON.stringify(Tt(s)))}var i={};Cu("ES5",{J:function(s,c){var d=Array.isArray(s),f=function(p,g){if(p){for(var x=Array(g.length),S=0;S<g.length;S++)Object.defineProperty(x,""+S,e(S,!0));return x}var O=o1(g);delete O[ae];for(var _=Mr(O),T=0;T<_.length;T++){var M=_[T];O[M]=e(M,p||!!O[M].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(d,s),h={i:d?5:4,A:c?c.A:Ui(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,ae,{value:h,writable:!0}),f},S:function(s,c,d){d?vt(c)&&c[ae].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[ae];if(p){var g=p.t,x=p.k,S=p.R,O=p.i;if(O===4)nr(x,function(C){C!==ae&&(g[C]!==void 0||Tr(g,C)?S[C]||f(x[C]):(S[C]=!0,Mt(p)))}),nr(g,function(C){x[C]!==void 0||Tr(x,C)||(S[C]=!1,Mt(p))});else if(O===5){if(o(p)&&(Mt(p),S.length=!0),x.length<g.length)for(var _=x.length;_<g.length;_++)S[_]=!1;else for(var T=g.length;T<x.length;T++)S[T]=!0;for(var M=Math.min(x.length,g.length),E=0;E<M;E++)x.hasOwnProperty(E)||(S[E]=!0),S[E]===void 0&&f(x[E])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var ql,wo,Ki=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ou=typeof Map<"u",Lu=typeof Set<"u",Xl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",r1=Ki?Symbol.for("immer-nothing"):((ql={})["immer-nothing"]=!0,ql),Ql=Ki?Symbol.for("immer-draftable"):"__$immer_draftable",ae=Ki?Symbol.for("immer-state"):"__$immer_state";var Ru=""+Object.prototype.constructor,Mr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,o1=Object.getOwnPropertyDescriptors||function(e){var t={};return Mr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Hi={},_o={get:function(e,t){if(t===ae)return e;var r=Tt(e);if(!Tr(r,t))return function(a,i,s){var c,d=Zl(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(e,r,t);var o=r[t];return e.I||!Ze(o)?o:o===zi(e.t,t)?(Di(e),e.o[t]=$i(e.A.h,o,e)):o},has:function(e,t){return t in Tt(e)},ownKeys:function(e){return Reflect.ownKeys(Tt(e))},set:function(e,t,r){var o=Zl(Tt(e),t);if(o?.set)return o.set.call(e.k,r),!0;if(!e.P){var a=zi(Tt(e),t),i=a?.[ae];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(e1(r,a)&&(r!==void 0||Tr(e.t,t)))return!0;Di(e),Mt(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return zi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Di(e),Mt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Tt(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:r[t]}},defineProperty:function(){He(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){He(12)}},Ro={};nr(_o,function(e,t){Ro[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ro.deleteProperty=function(e,t){return Ro.set.call(this,e,t,void 0)},Ro.set=function(e,t,r){return _o.set.call(this,e[0],t,r,e[0])};var wu=function(){function e(r){var o=this;this.O=Xl,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(O){var _=this;O===void 0&&(O=c);for(var T=arguments.length,M=Array(T>1?T-1:0),E=1;E<T;E++)M[E-1]=arguments[E];return d.produce(O,function(C){var R;return(R=i).call.apply(R,[_,C].concat(M))})}}var f;if(typeof i!="function"&&He(6),s!==void 0&&typeof s!="function"&&He(7),Ze(a)){var h=Vl(o),p=$i(o,a,void 0),g=!0;try{f=i(p),g=!1}finally{g?Sn(h):Bi(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(O){return ki(h,s),Ii(O,h)},function(O){throw Sn(h),O}):(ki(h,s),Ii(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===r1&&(f=void 0),o.D&&ji(f,!0),s){var x=[],S=[];at("Patches").M(a,f,x,S),s(x,S)}return f}He(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];return o.produceWithPatches(f,function(x){return a.apply(void 0,[x].concat(p))})};var s,c,d=o.produce(a,i,function(f,h){s=f,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Ze(r)||He(8),vt(r)&&(r=Au(r));var o=Vl(this),a=$i(this,r,void 0);return a[ae].C=!0,Bi(o),a},t.finishDraft=function(r,o){var a=r&&r[ae],i=a.A;return ki(i,o),Ii(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Xl&&He(20),this.O=r},t.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=at("Patches").$;return vt(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},e}(),Te=new wu,_u=Te.produce,sx=Te.produceWithPatches.bind(Te),cx=Te.setAutoFreeze.bind(Te),lx=Te.setUseProxies.bind(Te),dx=Te.applyPatches.bind(Te),fx=Te.createDraft.bind(Te),ux=Te.finishDraft.bind(Te),An=_u;function ar(e){"@babel/helpers - typeof";return ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ar(e)}function n1(e,t){if(ar(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(ar(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function a1(e){var t=n1(e,"string");return ar(t)=="symbol"?t:t+""}function i1(e,t,r){return(t=a1(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Zi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?s1(Object(r),!0).forEach(function(o){i1(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s1(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function Se(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var c1=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Yi=function(){return Math.random().toString(36).substring(7).split("").join(".")},On={INIT:"@@redux/INIT"+Yi(),REPLACE:"@@redux/REPLACE"+Yi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Yi()}};function Nu(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function qi(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Se(1));return r(qi)(e,t)}if(typeof e!="function")throw new Error(Se(2));var a=e,i=t,s=[],c=s,d=!1;function f(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(Se(3));return i}function p(O){if(typeof O!="function")throw new Error(Se(4));if(d)throw new Error(Se(5));var _=!0;return f(),c.push(O),function(){if(_){if(d)throw new Error(Se(6));_=!1,f();var M=c.indexOf(O);c.splice(M,1),s=null}}}function g(O){if(!Nu(O))throw new Error(Se(7));if(typeof O.type>"u")throw new Error(Se(8));if(d)throw new Error(Se(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var _=s=c,T=0;T<_.length;T++){var M=_[T];M()}return O}function x(O){if(typeof O!="function")throw new Error(Se(10));a=O,g({type:On.REPLACE})}function S(){var O,_=p;return O={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(Se(11));function E(){M.next&&M.next(h())}E();var C=_(E);return{unsubscribe:C}}},O[c1]=function(){return this},O}return g({type:On.INIT}),o={dispatch:g,subscribe:p,getState:h,replaceReducer:x},o[c1]=S,o}function Tu(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:On.INIT});if(typeof o>"u")throw new Error(Se(12));if(typeof r(void 0,{type:On.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function l1(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,c;try{Tu(r)}catch(d){c=d}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var p;for(var g=!1,x={},S=0;S<i.length;S++){var O=i[S],_=r[O],T=f[O],M=_(T,h);if(typeof M>"u"){var E=h&&h.type;throw new Error(Se(14))}x[O]=M,g=g||M!==T}return g=g||i.length!==Object.keys(f).length,g?x:f}}function kr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function d1(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(Se(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=t.map(function(d){return d(s)});return i=kr.apply(void 0,c)(a.dispatch),Zi(Zi({},a),{},{dispatch:i})}}}function f1(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,e):s(c)}}};return t}var u1=f1();u1.withExtraArgument=f1;var Xi=u1;var y1=function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),Mu=function(e,t){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(f){return function(h){return d([f,h])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{o=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ir=function(e,t){for(var r=0,o=t.length,a=e.length;r<o;r++,a++)e[a]=t[r];return e},Pu=Object.defineProperty,ku=Object.defineProperties,Iu=Object.getOwnPropertyDescriptors,p1=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable,h1=function(e,t,r){return t in e?Pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},Pt=function(e,t){for(var r in t||(t={}))zu.call(t,r)&&h1(e,r,t[r]);if(p1)for(var o=0,a=p1(t);o<a.length;o++){var r=a[o];Du.call(t,r)&&h1(e,r,t[r])}return e},Qi=function(e,t){return ku(e,Iu(t))},Uu=function(e,t,r){return new Promise(function(o,a){var i=function(d){try{c(r.next(d))}catch(f){a(f)}},s=function(d){try{c(r.throw(d))}catch(f){a(f)}},c=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(e,t)).next())})};var Bu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?kr:kr.apply(null,arguments)},Nx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function $u(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Hu=function(e){y1(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,Ir([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ir([void 0],r.concat(this))))},t}(Array),Gu=function(e){y1(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,Ir([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ir([void 0],r.concat(this))))},t}(Array);function ts(e){return Ze(e)?An(e,function(){}):e}function Fu(e){return typeof e=="boolean"}function Wu(){return function(t){return ju(t)}}function ju(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,c=new Hu;if(r&&(Fu(r)?c.push(Xi):c.push(Xi.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return c}var Ji=!0;function b1(e){var t=Wu(),r=e||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?t():i,c=r.devTools,d=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,g=p===void 0?void 0:p,x;if(typeof a=="function")x=a;else if($u(a))x=l1(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(t),!Ji&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ji&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=d1.apply(void 0,S),_=kr;d&&(_=Bu(Pt({trace:!Ji},typeof d=="object"&&d)));var T=new Gu(O),M=T;Array.isArray(g)?M=Ir([O],g):typeof g=="function"&&(M=g(T));var E=_.apply(void 0,M);return qi(x,h,E)}function kt(e,t){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Pt(Pt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(o){return o.type===e},r}function v1(e){var t={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return e(a),[t,r,o]}function Vu(e){return typeof e=="function"}function Ku(e,t,r,o){r===void 0&&(r=[]);var a=typeof t=="function"?v1(t):[t,r,o],i=a[0],s=a[1],c=a[2],d;if(Vu(e))d=function(){return ts(e())};else{var f=ts(e);d=function(){return f}}function h(p,g){p===void 0&&(p=d());var x=Ir([i[g.type]],s.filter(function(S){var O=S.matcher;return O(g)}).map(function(S){var O=S.reducer;return O}));return x.filter(function(S){return!!S}).length===0&&(x=[c]),x.reduce(function(S,O){if(O)if(vt(S)){var _=S,T=O(_,g);return T===void 0?S:T}else{if(Ze(S))return An(S,function(M){return O(M,g)});var T=O(S,g);if(T===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return S},p)}return h.getInitialState=d,h}function Zu(e,t){return e+"/"+t}function x1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ts(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(h){var p=o[h],g=Zu(t,h),x,S;"reducer"in p?(x=p.reducer,S=p.prepare):x=p,i[h]=x,s[g]=x,c[h]=S?kt(g,S):kt(g)});function d(){var h=typeof e.extraReducers=="function"?v1(e.extraReducers):[e.extraReducers],p=h[0],g=p===void 0?{}:p,x=h[1],S=x===void 0?[]:x,O=h[2],_=O===void 0?void 0:O,T=Pt(Pt({},g),s);return Ku(r,function(M){for(var E in T)M.addCase(E,T[E]);for(var C=0,R=S;C<R.length;C++){var I=R[C];M.addMatcher(I.matcher,I.reducer)}_&&M.addDefaultCase(_)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:c,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Yu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",qu=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Yu[Math.random()*64|0];return t},Xu=["name","message","stack","code"],es=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),m1=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Qu=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,o=Xu;r<o.length;r++){var a=o[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},kx=function(){function e(t,r,o){var a=kt(t+"/fulfilled",function(h,p,g,x){return{payload:h,meta:Qi(Pt({},x||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=kt(t+"/pending",function(h,p,g){return{payload:void 0,meta:Qi(Pt({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=kt(t+"/rejected",function(h,p,g,x,S){return{payload:x,error:(o&&o.serializeError||Qu)(h||"Rejected"),meta:Qi(Pt({},S||{}),{arg:g,requestId:p,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,g,x){var S=o?.idGenerator?o.idGenerator(h):qu(),O=new d,_,T=!1;function M(C){_=C,O.abort()}var E=function(){return Uu(this,null,function(){var C,R,I,G,Z,V,B;return Mu(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),G=(C=o?.condition)==null?void 0:C.call(o,h,{getState:g,extra:x}),ep(G)?[4,G]:[3,2];case 1:G=b.sent(),b.label=2;case 2:if(G===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,Z=new Promise(function(A,z){return O.signal.addEventListener("abort",function(){return z({name:"AbortError",message:_||"Aborted"})})}),p(i(S,h,(R=o?.getPendingMeta)==null?void 0:R.call(o,{requestId:S,arg:h},{getState:g,extra:x}))),[4,Promise.race([Z,Promise.resolve(r(h,{dispatch:p,getState:g,extra:x,requestId:S,signal:O.signal,abort:M,rejectWithValue:function(A,z){return new es(A,z)},fulfillWithValue:function(A,z){return new m1(A,z)}})).then(function(A){if(A instanceof es)throw A;return A instanceof m1?a(A.payload,S,h,A.meta):a(A,S,h)})])];case 3:return I=b.sent(),[3,5];case 4:return V=b.sent(),I=V instanceof es?s(null,S,h,V.payload,V.meta):s(V,S,h),[3,5];case 5:return B=o&&!o.dispatchConditionRejection&&s.match(I)&&I.meta.condition,B||p(I),[2,I]}})})}();return Object.assign(E,{abort:M,requestId:S,arg:h,unwrap:function(){return E.then(Ju)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Ju(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function ep(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var S1="listener",C1="completed",E1="cancelled",Ix="task-"+E1,zx="task-"+C1,Dx=S1+"-"+E1,Ux=S1+"-"+C1;var rs="listenerMiddleware";var Bx=kt(rs+"/add"),$x=kt(rs+"/removeAll"),Hx=kt(rs+"/remove");var g1,Gx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(g1||(g1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},tp=function(e){return function(t){setTimeout(t,e)}},Fx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:tp(10);t1();window.ftReduxStores||(window.ftReduxStores={});var ir=class e extends gt{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(Nr(i))return i;if(a==null)return;let s=x1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=b1({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Yt(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,c,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Ao;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,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function rp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Nr(t)&&t.clear()}var Ln=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);mt(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function op(e,t,r){return new Ln(e,t,r).watch()}var os=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(t).size==1&&this.onNewNeededRequest(o)}unregisterComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var ss={};F(ss,{scrollHelper:()=>np});var as,Rn=new Map,is=class{lock(t,r){if(r){let o=Rn.get(r);if(o==null||o===t)return Rn.set(r,t),r}}release(t,r){r&&Rn.get(r)===t&&Rn.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of wa(t)){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(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.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)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,c=Zt(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",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(as=window.FluidTopicsScrollHelper)!==null&&as!==void 0?as:new is;var np=window.FluidTopicsScrollHelper;var ls={};F(ls,{SearchPlaceConverter:()=>Br,SearchPlaceQueryParams:()=>X,isSearchPlaceQueryParams:()=>c2,serializeRequest:()=>cp});var ip=_4(O1(),1);var L1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(L1||(L1={}));var R1;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(R1||(R1={}));var w1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(w1||(w1={}));var _1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(_1||(_1={}));var N1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(N1||(N1={}));var T1;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(T1||(T1={}));var M1;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(M1||(M1={}));var P1;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(P1||(P1={}));var k1;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(k1||(k1={}));var I1;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(I1||(I1={}));var z1;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(z1||(z1={}));var D1;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(D1||(D1={}));var U1;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(U1||(U1={}));var B1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(B1||(B1={}));var Dr;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Dr||(Dr={}));var $1;(function(e){e.ASC="ASC",e.DESC="DESC"})($1||($1={}));var H1;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(H1||(H1={}));var cs;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(cs||(cs={}));var Y1=e=>Object.keys(cs).includes(e);var G1;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(G1||(G1={}));var F1;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(F1||(F1={}));var W1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(W1||(W1={}));var Ur;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ur||(Ur={}));var q1=e=>Object.keys(Ur).includes(e);var j1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(j1||(j1={}));var V1;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(V1||(V1={}));var K1;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(K1||(K1={}));var fe;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(fe||(fe={}));var Ge;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ge||(Ge={}));var Z1;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Z1||(Z1={}));var X1;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(X1||(X1={}));var Q1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(Q1||(Q1={}));var J1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(J1||(J1={}));var e2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(e2||(e2={}));var t2;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(t2||(t2={}));var r2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(r2||(r2={}));var o2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(o2||(o2={}));var n2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(n2||(n2={}));var ap={[fe.PERSONAL_BOOK_SHARE_USER]:[fe.PERSONAL_BOOK_USER],[fe.HTML_EXPORT_USER]:[fe.PERSONAL_BOOK_USER],[fe.PDF_EXPORT_USER]:[fe.PERSONAL_BOOK_USER],[fe.KHUB_ADMIN]:[fe.CONTENT_PUBLISHER],[fe.ADMIN]:[fe.KHUB_ADMIN,fe.USERS_ADMIN,fe.PORTAL_ADMIN,fe.BEHAVIOR_DATA_USER],[fe.GENERATIVE_AI_EXPORT_USER]:[fe.GENERATIVE_AI_USER]};function a2(e,t){return e===t||(ap[e]??[]).some(r=>a2(r,t))}function i2(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(o=>a2(o,t))}function sp(e){return`"${e}"`}function s2(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function cp(e,t){return new Br(e).serialize(t)}var X;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(X||(X={}));var lp=new Set(Object.values(X));function c2(e){return lp.has(e)}var Br=class{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,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(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,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(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,c,d,f,h,p,g,x;let S=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&S.append(X.LOCALE,t.contentLocale):S.append(X.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&S.append(X.QUERY,t.query);let O=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(C=>C.valueFilter&&!C.valueFilter.negative))!==null&&i!==void 0?i:[];if(O.length>0){let C=O.map(R=>{var I,G;let Z=((G=(I=R.valueFilter)===null||I===void 0?void 0:I.values)!==null&&G!==void 0?G:[]).map(V=>this.escapeFilters(V)).map(V=>sp(s2(V))).join("_");return`${R.key}~${Z}`}).join("*");S.append(X.VALUE_FILTERS,C)}let _=(c=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(C=>C.dateFilter))!==null&&c!==void 0?c:[];if(_.length>0){let C=_.map(R=>{var I;return`${R.key}~${(I=R.dateFilter)===null||I===void 0?void 0:I.type.toLowerCase()}`}).join("*");S.append(X.DATE_FILTERS,C)}let T=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&f!==void 0?f:[];if(T.length>0){let C=T.map(R=>{var I,G;return`${R.key}~${(I=R.rangeFilter)===null||I===void 0?void 0:I.from}_${(G=R.rangeFilter)===null||G===void 0?void 0:G.to}`}).join("*");S.append(X.RANGE_FILTERS,C)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&S.append(X.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&S.append(X.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&S.append(X.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((g=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&S.append(X.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&S.append(X.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let M=(x=t.otherQueryParams)!==null&&x!==void 0?x:{};for(let C in M)S.append(C,M[C]);let E=new Array;return S.forEach((C,R)=>{E.push(this.encodeQueryString(R)+"="+this.encodeQueryString(C))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.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(t){var r,o,a,i,s,c;try{t=decodeURI(t).replace(/%23/g,"#")}catch(T){console.warn("Could not decode search request query params, fallback on raw value",T)}let d=new URLSearchParams(t),f=d.get(X.LOCALE)==="all"?void 0:d.get(X.LOCALE),h=((r=d.get(X.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(X.SORT))===null||o===void 0?void 0:o.toLowerCase(),g=(a=d.get(X.SCOPE))!==null&&a!==void 0?a:"default",x=+((i=d.get(X.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S=d.get(X.KEYWORD_MATCH),O=S?S.toUpperCase()===Dr.MANDATORY?Dr.MANDATORY:Dr.OPTIONAL:void 0,_={};for(let T of d.keys())c2(T)||(_[T]=d.get(T));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(X.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:Y1(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Zt(1,isNaN(x)?this.defaultPerPage:x,1e3)},keywordMatch:O,otherQueryParams:_}}parseCompatFilters(t){var r,o,a,i,s,c;let d=[];return t.has(X.FILTERS)&&(d=this.parseValueFilters((r=t.get(X.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(X.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(X.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(X.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(X.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=t.get(X.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(s2).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:Ur[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}superEscapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(o,a);return t}unescapeFilterValue(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(q1(t))return[{key:"ft:lastEdition",dateFilter:{type:Ur[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var us={};F(us,{toFtFormComponent:()=>fs});var ds=Symbol("elementInternals"),fs=be(Symbol("toFtFormComponent"),function(e){class t extends e{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 t});var ps={};F(ps,{DateFormatter:()=>sr});var sr=class{static format(t,r,o,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(o,a)):this.getIntlDateTime(t,r,o,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,o,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(i);if(!a)return s;let c=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${c}`}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ms={};F(ms,{ALL_KEYS_VALUE:()=>hs,SameWindowStorageEvent:()=>$r});var hs="__all__",$r=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==hs}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new $r(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new $r(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new $r(hs))}});var ys={};F(ys,{FocusMainContentEvent:()=>gs});var gs=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var l2={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function dp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function fp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",dp);document.addEventListener("click",fp);var d2=$`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -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 Sp="ft-app-info",dr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};dr.eventName="authentication-change";var Cp={session:(e,t)=>{we(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>U.dispatchEvent(new dr(t.payload)),0))}},U=ir.get({name:Sp,reducers:Cp,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Mn=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},NA=be(Symbol("withDateFormat"),function(e){class t extends e{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(U)}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=>sr.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Mn([L({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Mn([L({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Mn([_r({store:U.name,selector:r=>{var o,a;return(a=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Mn([_r({store:U.name})],t.prototype,"uiLocale",void 0),t});var fr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:o}=U.getState(),a=t??o;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let o=e.get(t);if(o)r(o);else{let a=U.subscribe(()=>{o=e.get(t),o&&(a(),r(o))})}})}};var Pn=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:fr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):fr.await()}};var Pe=class extends Pn{constructor(t=!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 tt,this.cache=t?a.commonCache:new tt}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}};var kn=class extends Pe{async listMySearches(){let{session:t}=U.getState();return i2(t,de.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var In=class extends Pe{async listMyBookmarks(){let t=U.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var zn=class extends Pe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=U.getState().session;return!!t?.sessionAuthenticated}};var Dn=class extends Pe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=U.getState().session;return!!t?.sessionAuthenticated}};var Ep="ft-user-assets",Ap={setAssetCount:(e,t)=>{let{userAssetType:r,count:o}=t.payload.assetCount;e.assetCounts.allAsset[r]=o},clearAssetCount:e=>{Object.values(Ge).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let r=t.payload.mapId;e.assetCounts.bookmarkByMap[r]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:r,mapId:o,asset:a}=t.payload;_s(e,r,[...ws(e,r),a]),F2(e,r,1,o),W2(e,a)},editAsset:(e,t)=>{let{assetType:r,asset:o}=t.payload;_s(e,r,ws(e,r).map(a=>a.id===o.id?o:a)),W2(e,o)},removeAsset:(e,t)=>{let{assetType:r,mapId:o,assetId:a}=t.payload;_s(e,r,ws(e,r).filter(i=>i.id!==a)),F2(e,r,-1,o)}},j2={[Ge.SEARCHES]:"savedSearches",[Ge.BOOKMARKS]:"bookmarks",[Ge.BOOKS]:void 0,[Ge.COLLECTIONS]:void 0},ws=(e,t)=>{var r;let o=j2[t];return o?(r=e[o])!==null&&r!==void 0?r:[]:[]},_s=(e,t,r)=>{let o=j2[t];o&&(e[o]=r)},F2=(e,t,r,o)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+r),t===Ge.BOOKMARKS&&o)){let i=e.assetCounts.bookmarkByMap[o];e.assetCounts.bookmarkByMap[o]=Math.max(0,i+r)}},W2=(e,t)=>{let r=e.assetLabels.map(a=>a.title),o=t.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));e.assetLabels.push(...o)},ke=ir.get({name:Ep,reducers:Ap,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ge).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Ns=class{constructor(t=new zn,r=new Dn){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=U.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new In,this.savedSearchesService=new kn,U.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=U.getState();we((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),ke.actions.clearAssetCount(),ke.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ke.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ke.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ke.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();ke.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&ke.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&ke.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(ke.getState().assetCounts.bookmarkByMap).length!==0;t===Ge.BOOKMARKS&&r&&ke.actions.clearBookmarkCountByMap(),ke.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ke.actions.bookmarks(r)}}},Op=new Ns;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Op);var Ts=class{addCommand(t,r=!1){U.commands.add(t,r)}consumeCommand(t){return U.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Ts;var V2,Qr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Lp=Symbol("clearAfterUnitTest"),Un=class extends dn(Pe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[V2]=()=>{this.defaultMessages={},this.cache=new tt,this.listeners={}},this.currentUiLocale=U.getState().uiLocale,U.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=U.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var o;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let a={...(o=this.defaultMessages[t])!==null&&o!==void 0?o:{},...r};we(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,o;return this.fetchContext(t),(o=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(t,r){let o=t.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(t,r,...o){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Eo((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...o)}async fetchContext(t){let r=!this.cache.has(t),o;try{o=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(a){!(a instanceof Kt)&&r&&console.error(a)}return o}subscribe(t,r){var o;return t=t.toLowerCase(),this.listeners[t]=(o=this.listeners[t])!==null&&o!==void 0?o:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Qr({loadedContexts:t})),this.dispatchEvent(new Qr({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Qr({loadedContexts:[t]})),this.dispatchEvent(new Qr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>ln(0).then(()=>o()).catch(()=>null)))}};V2=Lp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Un{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Un{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Po=window.FluidTopicsI18nService,Ms=window.FluidTopicsCustomI18nService;var Ps=class{highlightHtml(t,r,o){Ni(t,r,o)}};window.FluidTopicsHighlightHtmlService=new Ps;var ks=class{isDate(t){var r,o,a,i;return(i=(a=((o=(r=U.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(c=>c.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var o,a,i;if(t==null)return"";try{return sr.format(t,(o=r?.locale)!==null&&o!==void 0?o:U.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new ks;var ko=class{static get(t,r){var o,a;let i=U.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 Br(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var Is=class{urlToSearchRequest(t){return ko.get().parse(t)}searchRequestToUrl(t){return ko.get().serialize(t)}};window.FluidTopicsUrlService=new Is;var ur=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};ur.eventName="change";var zs=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},K2=new zs;var Bn=class e extends gt{static build(){return new e(window.history,K2,()=>window.location,!1)}constructor(t,r,o,a){var i,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,r=!1){let o=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},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),we(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ur(this.currentItem())),0)}installProxies(){let t=r=>(o,a,[i,s,c])=>{let d=r(),f={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};o.apply(a,[f,s,c]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let o={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(t){this.addEventListener(ur.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(ur.eventName,t)}currentItem(){return Yt(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Yt(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return Yt(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let o=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!o)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var o;if(!this.hasState(t))return!1;let a=r??this.currentState.majorStateId,i=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Bn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Z2=$`
615
- `;function Y2(e,t){let{authenticationRequired:r,session:o}=U.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(t):e()}var fe=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},re=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>fr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new tt,this.cleanSessionDebouncer=new _e,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return j`
614
+ `;var Sp="ft-app-info",dr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};dr.eventName="authentication-change";var Cp={session:(e,t)=>{we(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>U.dispatchEvent(new dr(t.payload)),0))}},U=ir.get({name:Sp,reducers:Cp,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Mn=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},NA=be(Symbol("withDateFormat"),function(e){class t extends e{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(U)}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=>sr.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Mn([L({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Mn([L({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Mn([_r({store:U.name,selector:r=>{var o,a;return(a=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Mn([_r({store:U.name})],t.prototype,"uiLocale",void 0),t});var fr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:o}=U.getState(),a=t??o;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let o=e.get(t);if(o)r(o);else{let a=U.subscribe(()=>{o=e.get(t),o&&(a(),r(o))})}})}};var Pn=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:fr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):fr.await()}};var Pe=class extends Pn{constructor(t=!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 tt,this.cache=t?a.commonCache:new tt}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}};var kn=class extends Pe{async listMySearches(){let{session:t}=U.getState();return i2(t,fe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var In=class extends Pe{async listMyBookmarks(){let t=U.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var zn=class extends Pe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=U.getState().session;return!!t?.sessionAuthenticated}};var Dn=class extends Pe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=U.getState().session;return!!t?.sessionAuthenticated}};var Ep="ft-user-assets",Ap={setAssetCount:(e,t)=>{let{userAssetType:r,count:o}=t.payload.assetCount;e.assetCounts.allAsset[r]=o},clearAssetCount:e=>{Object.values(Ge).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let r=t.payload.mapId;e.assetCounts.bookmarkByMap[r]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:r,mapId:o,asset:a}=t.payload;_s(e,r,[...ws(e,r),a]),F2(e,r,1,o),W2(e,a)},editAsset:(e,t)=>{let{assetType:r,asset:o}=t.payload;_s(e,r,ws(e,r).map(a=>a.id===o.id?o:a)),W2(e,o)},removeAsset:(e,t)=>{let{assetType:r,mapId:o,assetId:a}=t.payload;_s(e,r,ws(e,r).filter(i=>i.id!==a)),F2(e,r,-1,o)}},j2={[Ge.SEARCHES]:"savedSearches",[Ge.BOOKMARKS]:"bookmarks",[Ge.BOOKS]:void 0,[Ge.COLLECTIONS]:void 0},ws=(e,t)=>{var r;let o=j2[t];return o?(r=e[o])!==null&&r!==void 0?r:[]:[]},_s=(e,t,r)=>{let o=j2[t];o&&(e[o]=r)},F2=(e,t,r,o)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+r),t===Ge.BOOKMARKS&&o)){let i=e.assetCounts.bookmarkByMap[o];e.assetCounts.bookmarkByMap[o]=Math.max(0,i+r)}},W2=(e,t)=>{let r=e.assetLabels.map(a=>a.title),o=t.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));e.assetLabels.push(...o)},ke=ir.get({name:Ep,reducers:Ap,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ge).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Ns=class{constructor(t=new zn,r=new Dn){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=U.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new In,this.savedSearchesService=new kn,U.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=U.getState();we((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),ke.actions.clearAssetCount(),ke.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ke.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ke.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ke.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();ke.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&ke.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&ke.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(ke.getState().assetCounts.bookmarkByMap).length!==0;t===Ge.BOOKMARKS&&r&&ke.actions.clearBookmarkCountByMap(),ke.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ke.actions.bookmarks(r)}}},Op=new Ns;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Op);var Ts=class{addCommand(t,r=!1){U.commands.add(t,r)}consumeCommand(t){return U.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Ts;var V2,Qr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Lp=Symbol("clearAfterUnitTest"),Un=class extends dn(Pe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[V2]=()=>{this.defaultMessages={},this.cache=new tt,this.listeners={}},this.currentUiLocale=U.getState().uiLocale,U.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=U.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var o;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let a={...(o=this.defaultMessages[t])!==null&&o!==void 0?o:{},...r};we(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,o;return this.fetchContext(t),(o=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(t,r){let o=t.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(t,r,...o){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Eo((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...o)}async fetchContext(t){let r=!this.cache.has(t),o;try{o=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(a){!(a instanceof Kt)&&r&&console.error(a)}return o}subscribe(t,r){var o;return t=t.toLowerCase(),this.listeners[t]=(o=this.listeners[t])!==null&&o!==void 0?o:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Qr({loadedContexts:t})),this.dispatchEvent(new Qr({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Qr({loadedContexts:[t]})),this.dispatchEvent(new Qr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>ln(0).then(()=>o()).catch(()=>null)))}};V2=Lp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Un{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Un{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Po=window.FluidTopicsI18nService,Ms=window.FluidTopicsCustomI18nService;var Ps=class{highlightHtml(t,r,o){Ni(t,r,o)}};window.FluidTopicsHighlightHtmlService=new Ps;var ks=class{isDate(t){var r,o,a,i;return(i=(a=((o=(r=U.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(c=>c.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var o,a,i;if(t==null)return"";try{return sr.format(t,(o=r?.locale)!==null&&o!==void 0?o:U.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new ks;var ko=class{static get(t,r){var o,a;let i=U.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 Br(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var Is=class{urlToSearchRequest(t){return ko.get().parse(t)}searchRequestToUrl(t){return ko.get().serialize(t)}};window.FluidTopicsUrlService=new Is;var ur=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};ur.eventName="change";var zs=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},K2=new zs;var Bn=class e extends gt{static build(){return new e(window.history,K2,()=>window.location,!1)}constructor(t,r,o,a){var i,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,r=!1){let o=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},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),we(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new ur(this.currentItem())),0)}installProxies(){let t=r=>(o,a,[i,s,c])=>{let d=r(),f={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};o.apply(a,[f,s,c]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let o={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(t){this.addEventListener(ur.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(ur.eventName,t)}currentItem(){return Yt(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Yt(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return Yt(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let o=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!o)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var o;if(!this.hasState(t))return!1;let a=r??this.currentState.majorStateId,i=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Bn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Z2=$`
615
+ `;function Y2(e,t){let{authenticationRequired:r,session:o}=U.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(t):e()}var ue=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},re=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>fr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new tt,this.cleanSessionDebouncer=new _e,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return j`
616
616
  <slot></slot>
617
- `}connectedCallback(){super.connectedCallback(),U.addEventListener(dr.eventName,this.reloadConfiguration)}disconnectedCallback(){U.addEventListener(dr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,o,a,i,s,c,d;super.update(t),t.has("baseUrl")&&(U.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&U.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&U.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&U.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&U.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&U.actions.noCustom(this.noCustom),t.has("editorMode")&&U.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&U.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&U.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>Po.addContext(f)),t.has("openExternalDocumentInNewTab")&&U.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&U.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&U.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(U.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),U.actions.availableUiLocales((a=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&a!==void 0?a:[]),U.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&U.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&U.actions.availableContentLocales((d=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Y2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};re.elementDefinitions={};re.styles=Z2;fe([L()],re.prototype,"baseUrl",void 0);fe([L()],re.prototype,"apiIntegrationIdentifier",void 0);fe([L()],re.prototype,"apiIntegrationAppVersion",void 0);fe([L()],re.prototype,"uiLocale",void 0);fe([Ue(null)],re.prototype,"availableUiLocales",void 0);fe([Ue(null)],re.prototype,"metadataConfiguration",void 0);fe([L({type:Boolean})],re.prototype,"editorMode",void 0);fe([L({type:Boolean})],re.prototype,"noCustom",void 0);fe([L({type:Boolean})],re.prototype,"openExternalDocumentInNewTab",void 0);fe([L({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],re.prototype,"noCustomComponent",void 0);fe([L({type:Boolean})],re.prototype,"withManualResources",void 0);fe([L({type:Boolean})],re.prototype,"navigatorOnline",void 0);fe([L({type:Boolean})],re.prototype,"forcedOffline",void 0);fe([L({type:Object})],re.prototype,"apiProvider",void 0);fe([L({type:Boolean})],re.prototype,"authenticationRequired",void 0);fe([Ue([])],re.prototype,"messageContexts",void 0);fe([Ue(void 0)],re.prototype,"session",void 0);fe([ne()],re.prototype,"localesConfiguration",void 0);fe([ne()],re.prototype,"availableContentLocales",void 0);ce("ft-app-context")(re);var Ds=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[r,o]=t.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Jr=new Ds;var Rp=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},zo=Symbol("i18nAttributes"),q2=Symbol("i18nListAttributes"),X2=Symbol("i18nProperties"),$n=Symbol("i18nContexts"),Io=Symbol("i18nUnsubs"),Q2=be(Symbol("withI18n"),function(e){var t,r;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Ms:Po}i18n(i){let{context:s,key:c,message:d}=i,{custom:f,args:h,argsProvider:p}=i;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let g=h??(p?p(this):[]);return this.getI18nService(f).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(Jr.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 f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let d=this,f=(h,p,g)=>g?.context&&g.key&&i(h,p,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...h})}:g;(s=this[zo])===null||s===void 0||s.forEach((h,p)=>d[p]=f(h,p,d[p])),(c=this[q2])===null||c===void 0||c.forEach((h,p)=>{var g;return d[p]=(g=d[p])===null||g===void 0?void 0:g.map(x=>f(h,p,x))})}updateI18nProperties(i){var s;(s=this[X2])===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[$n].set(d,{isCustomContext:c}),this[Io].has(d)||this[Io].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(i){return this[$n].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[$n].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Io].forEach(i=>i()),this[Io].clear()}}return t=$n,r=Io,Rp([L({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),Hn=class extends Q2(K){},Gn=class extends Q2(Lo){};var Us=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(o=>typeof o=="string"?Jr.fromAttribute(o):o):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},wp=new Us;var J2=(e,t)=>(r,o)=>{var a;r.constructor.createProperty(o,{type:Object,hasChanged:mt,converter:Jr,...t}),r[zo]=(a=r[zo])!==null&&a!==void 0?a:new Map,r[zo].set(o,e??{})};var ed=$`
617
+ `}connectedCallback(){super.connectedCallback(),U.addEventListener(dr.eventName,this.reloadConfiguration)}disconnectedCallback(){U.addEventListener(dr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,o,a,i,s,c,d;super.update(t),t.has("baseUrl")&&(U.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&U.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&U.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&U.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&U.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&U.actions.noCustom(this.noCustom),t.has("editorMode")&&U.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&U.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&U.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>Po.addContext(f)),t.has("openExternalDocumentInNewTab")&&U.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&U.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&U.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(U.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),U.actions.availableUiLocales((a=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&a!==void 0?a:[]),U.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&U.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&U.actions.availableContentLocales((d=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Y2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};re.elementDefinitions={};re.styles=Z2;ue([L()],re.prototype,"baseUrl",void 0);ue([L()],re.prototype,"apiIntegrationIdentifier",void 0);ue([L()],re.prototype,"apiIntegrationAppVersion",void 0);ue([L()],re.prototype,"uiLocale",void 0);ue([Ue(null)],re.prototype,"availableUiLocales",void 0);ue([Ue(null)],re.prototype,"metadataConfiguration",void 0);ue([L({type:Boolean})],re.prototype,"editorMode",void 0);ue([L({type:Boolean})],re.prototype,"noCustom",void 0);ue([L({type:Boolean})],re.prototype,"openExternalDocumentInNewTab",void 0);ue([L({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],re.prototype,"noCustomComponent",void 0);ue([L({type:Boolean})],re.prototype,"withManualResources",void 0);ue([L({type:Boolean})],re.prototype,"navigatorOnline",void 0);ue([L({type:Boolean})],re.prototype,"forcedOffline",void 0);ue([L({type:Object})],re.prototype,"apiProvider",void 0);ue([L({type:Boolean})],re.prototype,"authenticationRequired",void 0);ue([Ue([])],re.prototype,"messageContexts",void 0);ue([Ue(void 0)],re.prototype,"session",void 0);ue([ne()],re.prototype,"localesConfiguration",void 0);ue([ne()],re.prototype,"availableContentLocales",void 0);ce("ft-app-context")(re);var Ds=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[r,o]=t.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Jr=new Ds;var Rp=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},zo=Symbol("i18nAttributes"),q2=Symbol("i18nListAttributes"),X2=Symbol("i18nProperties"),$n=Symbol("i18nContexts"),Io=Symbol("i18nUnsubs"),Q2=be(Symbol("withI18n"),function(e){var t,r;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Ms:Po}i18n(i){let{context:s,key:c,message:d}=i,{custom:f,args:h,argsProvider:p}=i;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let g=h??(p?p(this):[]);return this.getI18nService(f).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(Jr.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 f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let d=this,f=(h,p,g)=>g?.context&&g.key&&i(h,p,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...h})}:g;(s=this[zo])===null||s===void 0||s.forEach((h,p)=>d[p]=f(h,p,d[p])),(c=this[q2])===null||c===void 0||c.forEach((h,p)=>{var g;return d[p]=(g=d[p])===null||g===void 0?void 0:g.map(x=>f(h,p,x))})}updateI18nProperties(i){var s;(s=this[X2])===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[$n].set(d,{isCustomContext:c}),this[Io].has(d)||this[Io].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(i){return this[$n].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[$n].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Io].forEach(i=>i()),this[Io].clear()}}return t=$n,r=Io,Rp([L({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),Hn=class extends Q2(K){},Gn=class extends Q2(Lo){};var Us=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(o=>typeof o=="string"?Jr.fromAttribute(o):o):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},wp=new Us;var J2=(e,t)=>(r,o)=>{var a;r.constructor.createProperty(o,{type:Object,hasChanged:mt,converter:Jr,...t}),r[zo]=(a=r[zo])!==null&&a!==void 0?a:new Map,r[zo].set(o,e??{})};var ed=$`
618
618
  `;var Do=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},qe=class extends Gn{constructor(){super(),this.editorMode=!1,this.addStore(U)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":W:j`
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(t){var r;super.update(t),["context","key","defaultMessage"].some(o=>t.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};qe.elementDefinitions={};qe.styles=ed;Do([_r()],qe.prototype,"editorMode",void 0);Do([L()],qe.prototype,"context",void 0);Do([L()],qe.prototype,"key",void 0);Do([Ue([])],qe.prototype,"args",void 0);Do([L()],qe.prototype,"defaultMessage",void 0);ce("ft-i18n")(qe);var Xe=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ue=class extends Hn{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 _e,this.revealDebouncer=new _e,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)||this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,r;return j`
622
+ `}update(t){var r;super.update(t),["context","key","defaultMessage"].some(o=>t.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};qe.elementDefinitions={};qe.styles=ed;Do([_r()],qe.prototype,"editorMode",void 0);Do([L()],qe.prototype,"context",void 0);Do([L()],qe.prototype,"key",void 0);Do([Ue([])],qe.prototype,"args",void 0);Do([L()],qe.prototype,"defaultMessage",void 0);ce("ft-i18n")(qe);var Xe=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},pe=class extends Hn{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 _e,this.revealDebouncer=new _e,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)||this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,r;return j`
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(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var r,o;t.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(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,r){let o=this.manual;this.manual=!0;let a=this.text;this.text={message:t},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 t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&vi(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}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(t){return this.manual||Ra(t,this.ignoreMatchingElements,this.eventsTarget)}};ue.elementDefinitions={"ft-typography":Ye};ue.styles=G2;Xe([J2()],ue.prototype,"text",void 0);Xe([L({type:Boolean})],ue.prototype,"manual",void 0);Xe([L({type:Boolean})],ue.prototype,"inline",void 0);Xe([fn()],ue.prototype,"delay",void 0);Xe([L()],ue.prototype,"position",void 0);Xe([Ue([])],ue.prototype,"ignoreMatchingElements",void 0);Xe([va()],ue.prototype,"slotNodes",void 0);Xe([J(".ft-tooltip--container")],ue.prototype,"container",void 0);Xe([J(".ft-tooltip")],ue.prototype,"tooltip",void 0);Xe([J(".ft-tooltip--content")],ue.prototype,"tooltipContent",void 0);Xe([ne()],ue.prototype,"visible",void 0);ce("ft-tooltip")(ue);var ct;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ct||(ct={}));var pr;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CLOUD_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM_REGULAR="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS_REGULAR="&#xe9bd;",e.PERSON_CHALKBOARD_REGULAR="&#xe9be;"})(pr||(pr={}));var k;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(k||(k={}));var SR=new Map([...["abw"].map(e=>[e,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(e=>[e,k.AUDIO]),...["avi"].map(e=>[e,k.AVI]),...["chm","xhs"].map(e=>[e,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(e=>[e,k.CODE]),...["csv"].map(e=>[e,k.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,k.DITA]),...["epub"].map(e=>[e,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,k.EXCEL]),...["flac"].map(e=>[e,k.FLAC]),...["gif"].map(e=>[e,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,k.GZIP]),...["html","htm","xhtml"].map(e=>[e,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(e=>[e,k.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,k.JPEG]),...["json"].map(e=>[e,k.JSON]),...["m4a","m4p"].map(e=>[e,k.M4A]),...["mov","qt"].map(e=>[e,k.MOV]),...["mp3"].map(e=>[e,k.MP3]),...["mp4","m4v"].map(e=>[e,k.MP4]),...["ogg","oga"].map(e=>[e,k.OGG]),...["pdf","ps"].map(e=>[e,k.PDF]),...["png"].map(e=>[e,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,k.POWERPOINT]),...["rar"].map(e=>[e,k.RAR]),...["stp"].map(e=>[e,k.STP]),...["txt","rtf","md","mdown"].map(e=>[e,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(e=>[e,k.VIDEO]),...["wav"].map(e=>[e,k.WAV]),...["wma"].map(e=>[e,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,k.WORD]),...["xml","xsl","rdf"].map(e=>[e,k.XML]),...["yaml","yml","x-yaml"].map(e=>[e,k.YAML]),...["zip"].map(e=>[e,k.ZIP])]);var CR={[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 Uo=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ie=class extends K{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=W}render(){let t=this.variant&&Object.values(ct).includes(this.variant)?this.variant:ct.fluid_topics,r=t!==ct.material||!!this.value;return j`
637
+ `}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var r,o;t.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(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,r){let o=this.manual;this.manual=!0;let a=this.text;this.text={message:t},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 t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&vi(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}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(t){return this.manual||Ra(t,this.ignoreMatchingElements,this.eventsTarget)}};pe.elementDefinitions={"ft-typography":Ye};pe.styles=G2;Xe([J2()],pe.prototype,"text",void 0);Xe([L({type:Boolean})],pe.prototype,"manual",void 0);Xe([L({type:Boolean})],pe.prototype,"inline",void 0);Xe([fn()],pe.prototype,"delay",void 0);Xe([L()],pe.prototype,"position",void 0);Xe([Ue([])],pe.prototype,"ignoreMatchingElements",void 0);Xe([va()],pe.prototype,"slotNodes",void 0);Xe([J(".ft-tooltip--container")],pe.prototype,"container",void 0);Xe([J(".ft-tooltip")],pe.prototype,"tooltip",void 0);Xe([J(".ft-tooltip--content")],pe.prototype,"tooltipContent",void 0);Xe([ne()],pe.prototype,"visible",void 0);ce("ft-tooltip")(pe);var ct;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ct||(ct={}));var pr;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CLOUD_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM_REGULAR="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS_REGULAR="&#xe9bd;",e.PERSON_CHALKBOARD_REGULAR="&#xe9be;"})(pr||(pr={}));var k;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(k||(k={}));var SR=new Map([...["abw"].map(e=>[e,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(e=>[e,k.AUDIO]),...["avi"].map(e=>[e,k.AVI]),...["chm","xhs"].map(e=>[e,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(e=>[e,k.CODE]),...["csv"].map(e=>[e,k.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,k.DITA]),...["epub"].map(e=>[e,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,k.EXCEL]),...["flac"].map(e=>[e,k.FLAC]),...["gif"].map(e=>[e,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,k.GZIP]),...["html","htm","xhtml"].map(e=>[e,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(e=>[e,k.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,k.JPEG]),...["json"].map(e=>[e,k.JSON]),...["m4a","m4p"].map(e=>[e,k.M4A]),...["mov","qt"].map(e=>[e,k.MOV]),...["mp3"].map(e=>[e,k.MP3]),...["mp4","m4v"].map(e=>[e,k.MP4]),...["ogg","oga"].map(e=>[e,k.OGG]),...["pdf","ps"].map(e=>[e,k.PDF]),...["png"].map(e=>[e,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,k.POWERPOINT]),...["rar"].map(e=>[e,k.RAR]),...["stp"].map(e=>[e,k.STP]),...["txt","rtf","md","mdown"].map(e=>[e,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(e=>[e,k.VIDEO]),...["wav"].map(e=>[e,k.WAV]),...["wma"].map(e=>[e,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,k.WORD]),...["xml","xsl","rdf"].map(e=>[e,k.XML]),...["yaml","yml","x-yaml"].map(e=>[e,k.YAML]),...["zip"].map(e=>[e,k.ZIP])]);var CR={[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 Uo=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ie=class extends K{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=W}render(){let t=this.variant&&Object.values(ct).includes(this.variant)?this.variant:ct.fluid_topics,r=t!==ct.material||!!this.value;return j`
638
638
  <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
639
639
  ${po(this.resolvedIcon)}
640
640
  <slot ?hidden=${r}></slot>
@@ -1219,7 +1219,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1219
1219
  <div></div>
1220
1220
  <div></div>
1221
1221
  </div>
1222
- `}};yr.styles=D2;ce("ft-loader")(yr);var pe=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Q=class extends fs(K){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,o;let a=j`
1222
+ `}};yr.styles=D2;ce("ft-loader")(yr);var he=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Q=class extends fs(K){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,o;let a=j`
1223
1223
  <ft-ripple part="ripple"
1224
1224
  ?disabled=${this.isDisabled()}
1225
1225
  ?activated=${this.activated}
@@ -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
  `:j`
1263
1263
  <slot part="icon" name="icon"></slot>
1264
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(t,r)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Rt(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Q.elementDefinitions={"ft-ripple":le,"ft-tooltip":ue,"ft-icon":Ie,"ft-loader":yr};pe([L()],Q.prototype,"href",void 0);pe([L()],Q.prototype,"target",void 0);pe([L()],Q.prototype,"type",void 0);pe([L({type:Boolean})],Q.prototype,"disabled",void 0);pe([L()],Q.prototype,"label",void 0);pe([L()],Q.prototype,"icon",void 0);pe([L()],Q.prototype,"iconVariant",void 0);pe([L({type:Boolean})],Q.prototype,"trailingIcon",void 0);pe([L({type:Boolean})],Q.prototype,"loading",void 0);pe([L({attribute:"aria-label"})],Q.prototype,"ariaLabel",void 0);pe([L()],Q.prototype,"ariaHasPopup",void 0);pe([L({attribute:"aria-pressed"})],Q.prototype,"ariaPressed",void 0);pe([L()],Q.prototype,"tooltipPosition",void 0);pe([L({type:Boolean})],Q.prototype,"hideTooltip",void 0);pe([L({type:Boolean})],Q.prototype,"forceTooltip",void 0);pe([L({type:Boolean})],Q.prototype,"activated",void 0);pe([J(".ft-button")],Q.prototype,"button",void 0);pe([J(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);pe([J("[part=tooltip]")],Q.prototype,"tooltip",void 0);var ra=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ut=class extends 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}};ut.elementDefinitions={...Q.elementDefinitions,"ft-or-ftds-typography":Ye};ut.styles=[Co,H2];ra([L({type:Boolean})],ut.prototype,"primary",void 0);ra([L({type:Boolean})],ut.prototype,"outlined",void 0);ra([L({type:Boolean})],ut.prototype,"dense",void 0);ra([L({type:Boolean})],ut.prototype,"round",void 0);var R5={...v,iconOnlyScale:n.create("--ft-button-icon-only-scale","","NUMBER","1")},v4=[$`
1264
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(t,r)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Rt(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Q.elementDefinitions={"ft-ripple":le,"ft-tooltip":pe,"ft-icon":Ie,"ft-loader":yr};he([L()],Q.prototype,"href",void 0);he([L()],Q.prototype,"target",void 0);he([L()],Q.prototype,"type",void 0);he([L({type:Boolean})],Q.prototype,"disabled",void 0);he([L()],Q.prototype,"label",void 0);he([L()],Q.prototype,"icon",void 0);he([L()],Q.prototype,"iconVariant",void 0);he([L({type:Boolean})],Q.prototype,"trailingIcon",void 0);he([L({type:Boolean})],Q.prototype,"loading",void 0);he([L({attribute:"aria-label"})],Q.prototype,"ariaLabel",void 0);he([L()],Q.prototype,"ariaHasPopup",void 0);he([L({attribute:"aria-pressed"})],Q.prototype,"ariaPressed",void 0);he([L()],Q.prototype,"tooltipPosition",void 0);he([L({type:Boolean})],Q.prototype,"hideTooltip",void 0);he([L({type:Boolean})],Q.prototype,"forceTooltip",void 0);he([L({type:Boolean})],Q.prototype,"activated",void 0);he([J(".ft-button")],Q.prototype,"button",void 0);he([J(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);he([J("[part=tooltip]")],Q.prototype,"tooltip",void 0);var ra=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ut=class extends 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}};ut.elementDefinitions={...Q.elementDefinitions,"ft-or-ftds-typography":Ye};ut.styles=[Co,H2];ra([L({type:Boolean})],ut.prototype,"primary",void 0);ra([L({type:Boolean})],ut.prototype,"outlined",void 0);ra([L({type:Boolean})],ut.prototype,"dense",void 0);ra([L({type:Boolean})],ut.prototype,"round",void 0);var R5={...v,iconOnlyScale:n.create("--ft-button-icon-only-scale","","NUMBER","1")},v4=[$`
1265
1265
  :host {
1266
1266
  display: inline-block;
1267
1267
  max-width: 100%;
@@ -1771,18 +1771,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1771
1771
  display: flex;
1772
1772
  flex-direction: column;
1773
1773
 
1774
- max-width: ${he.maxWidth};
1774
+ max-width: ${de.maxWidth};
1775
1775
  width: max-content;
1776
1776
 
1777
- padding-left: ${he.horizontalPadding};
1778
- padding-right: ${he.horizontalPadding};
1779
- padding-top: ${he.verticalPadding};
1780
- padding-bottom: ${he.verticalPadding};
1781
- gap: ${he.gap};
1777
+ padding-left: ${de.horizontalPadding};
1778
+ padding-right: ${de.horizontalPadding};
1779
+ padding-top: ${de.verticalPadding};
1780
+ padding-bottom: ${de.verticalPadding};
1781
+ gap: ${de.gap};
1782
1782
 
1783
- background-color: ${he.backgroundColor};
1784
- border-radius: ${he.borderRadius};
1785
- box-shadow: ${he.shadow};
1783
+ background-color: ${de.backgroundColor};
1784
+ border-radius: ${de.borderRadius};
1785
+ box-shadow: ${de.shadow};
1786
1786
 
1787
1787
  &.positioned {
1788
1788
  visibility: visible;
@@ -1794,9 +1794,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1794
1794
 
1795
1795
  display: flex;
1796
1796
  align-items: center;
1797
- gap: ${he.gap};
1797
+ gap: ${de.gap};
1798
1798
 
1799
- color: ${he.titleColor};
1799
+ color: ${de.titleColor};
1800
1800
  }
1801
1801
 
1802
1802
  [part="heading"] ftds-typography {
@@ -1808,13 +1808,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1808
1808
  }
1809
1809
 
1810
1810
  [part="content"] {
1811
- color: ${he.bodyColor};
1811
+ color: ${de.bodyColor};
1812
1812
  }
1813
1813
 
1814
1814
  [part="popover-sections"] {
1815
1815
  display: flex;
1816
1816
  flex-direction: column;
1817
- gap: ${he.multiSectionVerticalGap};
1817
+ gap: ${de.multiSectionVerticalGap};
1818
1818
  }
1819
1819
 
1820
1820
  .hidden {
@@ -1871,7 +1871,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1871
1871
  </div>
1872
1872
  </div>
1873
1873
  </div>
1874
- `:W}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(t){return Rt(t).trim().length===0}closeAndFocusOpeningButton(){var t,r;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var t,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let o=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:a,y:i}=await xi(this.openingButton,this.popoverWrapper,"bottom-start",o,"fixed");this.popoverWrapper.style.left=`${a}px`,this.popoverWrapper.style.top=`${i}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var t,r,o;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(o=this.popoverSectionsDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};se.elementDefinitions={"ftds-typography":Me,"ftds-button":Fe};se.styles=x4;ge([L()],se.prototype,"heading",void 0);ge([L()],se.prototype,"closeButtonLabel",void 0);ge([L()],se.prototype,"openButtonIcon",void 0);ge([L()],se.prototype,"openButtonLabel",void 0);ge([L()],se.prototype,"openButtonTooltipPosition",void 0);ge([L({type:Boolean})],se.prototype,"opened",void 0);ge([L({type:Boolean})],se.prototype,"hidden",void 0);ge([L({type:Ne})],se.prototype,"openButtonSize",void 0);ge([L({type:Ve})],se.prototype,"openButtonFamily",void 0);ge([J('[part="opening-button"]')],se.prototype,"openingButton",void 0);ge([J('[part="closing-button"]')],se.prototype,"closingButton",void 0);ge([J('[part="wrapper"]')],se.prototype,"popoverWrapper",void 0);ge([J('[part="content"]')],se.prototype,"popoverContentDiv",void 0);ge([J('[part="popover-content-slot"]')],se.prototype,"popoverContentSlot",void 0);ge([J('[part="popover-link"]')],se.prototype,"slottedLinkContent",void 0);ge([J('[part="popover-link-typography"]')],se.prototype,"popoverLinkTypography",void 0);ge([J('[part="popover-sections"]')],se.prototype,"popoverSectionsDiv",void 0);ge([J('[part="popover-sections-slot"]')],se.prototype,"popoverSectionsSlot",void 0);var S4=$`
1874
+ `:W}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(t){return Rt(t).trim().length===0}closeAndFocusOpeningButton(){var t,r;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var t,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:de.maxWidth},{x:s,y:c}=await xi(this.openingButton,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${c}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var t,r,o;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(o=this.popoverSectionsDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};se.elementDefinitions={"ftds-typography":Me,"ftds-button":Fe};se.styles=x4;ge([L()],se.prototype,"heading",void 0);ge([L()],se.prototype,"closeButtonLabel",void 0);ge([L()],se.prototype,"openButtonIcon",void 0);ge([L()],se.prototype,"openButtonLabel",void 0);ge([L()],se.prototype,"openButtonTooltipPosition",void 0);ge([L({type:Boolean})],se.prototype,"opened",void 0);ge([L({type:Boolean})],se.prototype,"hidden",void 0);ge([L({type:Ne})],se.prototype,"openButtonSize",void 0);ge([L({type:Ve})],se.prototype,"openButtonFamily",void 0);ge([J('[part="opening-button"]')],se.prototype,"openingButton",void 0);ge([J('[part="closing-button"]')],se.prototype,"closingButton",void 0);ge([J('[part="wrapper"]')],se.prototype,"popoverWrapper",void 0);ge([J('[part="content"]')],se.prototype,"popoverContentDiv",void 0);ge([J('[part="popover-content-slot"]')],se.prototype,"popoverContentSlot",void 0);ge([J('[part="popover-link"]')],se.prototype,"slottedLinkContent",void 0);ge([J('[part="popover-link-typography"]')],se.prototype,"popoverLinkTypography",void 0);ge([J('[part="popover-sections"]')],se.prototype,"popoverSectionsDiv",void 0);ge([J('[part="popover-sections-slot"]')],se.prototype,"popoverSectionsSlot",void 0);var S4=$`
1875
1875
  .ftds-popover-section--heading ftds-typography {
1876
1876
  flex-grow: 1;
1877
1877
  flex-shrink: 1;
@@ -1881,13 +1881,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1881
1881
  }
1882
1882
 
1883
1883
  .ftds-popover-section--content {
1884
- color: ${he.bodyColor};
1884
+ color: ${de.bodyColor};
1885
1885
  }
1886
1886
 
1887
1887
  .ftds-popover-section--container {
1888
1888
  display: flex;
1889
1889
  flex-direction: column;
1890
- gap: ${he.contentSectionVerticalGap};
1890
+ gap: ${de.contentSectionVerticalGap};
1891
1891
  }
1892
1892
  `;var Mc=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},At=class extends K{constructor(){super(...arguments),this.heading=""}render(){return j`
1893
1893
  <div class="ftds-popover-section--container">