@fluid-topics/ft-filter 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-filter.light.js +61 -61
- package/build/ft-filter.min.js +41 -41
- package/package.json +10 -10
package/build/ft-filter.min.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";(()=>{var xu=Object.create;var Ga=Object.defineProperty;var Su=Object.getOwnPropertyDescriptor;var Cu=Object.getOwnPropertyNames;var Eu=Object.getPrototypeOf,Ou=Object.prototype.hasOwnProperty;var Lu=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),X=(t,e)=>{for(var r in e)Ga(t,r,{get:e[r],enumerable:!0})},Au=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Cu(e))!Ou.call(t,a)&&a!==r&&Ga(t,a,{get:()=>e[a],enumerable:!(o=Su(e,a))||o.enumerable});return t};var Ru=(t,e,r)=>(r=t!=null?xu(Eu(t)):{},Au(e||!t||!t.__esModule?Ga(r,"default",{value:t,enumerable:!0}):r,t));var h1=Lu((nr,p1)=>{var ca=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,la=function(){function t(){this.fetch=!1,this.DOMException=ca.DOMException}return t.prototype=ca,new t}();(function(t){var e=function(r){var o=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function i(b){return b&&DataView.prototype.isPrototypeOf(b)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function d(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function f(b){return typeof b!="string"&&(b=String(b)),b}function h(b){var A={next:function(){var B=b.shift();return{done:B===void 0,value:B}}};return a.iterable&&(A[Symbol.iterator]=function(){return A}),A}function p(b){this.map={},b instanceof p?b.forEach(function(A,B){this.append(B,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 B=this.map[b];this.map[b]=B?B+", "+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 B in this.map)this.map.hasOwnProperty(B)&&b.call(A,this.map[B],B,this)},p.prototype.keys=function(){var b=[];return this.forEach(function(A,B){b.push(B)}),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,B){b.push([B,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 S(b){return new Promise(function(A,B){b.onload=function(){A(b.result)},b.onerror=function(){B(b.error)}})}function C(b){var A=new FileReader,B=S(A);return A.readAsArrayBuffer(b),B}function R(b){var A=new FileReader,B=S(A),re=/charset=([A-Za-z0-9_-]+)/.exec(b.type),se=re?re[1]:"utf-8";return A.readAsText(b,se),B}function T(b){for(var A=new Uint8Array(b),B=new Array(A.length),re=0;re<A.length;re++)B[re]=String.fromCharCode(A[re]);return B.join("")}function k(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=k(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||c(b))?this._bodyArrayBuffer=k(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(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=g(this);if(b)return b;if(this._bodyBlob)return R(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(D)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function E(b){var A=b.toUpperCase();return O.indexOf(A)>-1?A:b}function w(b,A){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A=A||{};var B=A.body;if(b instanceof w){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,!B&&b._bodyInit!=null&&(B=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=E(A.method||this.method||"GET"),this.mode=A.mode||this.mode||null,this.signal=A.signal||this.signal||function(){if("AbortController"in o){var ee=new AbortController;return ee.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&B)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(B),(this.method==="GET"||this.method==="HEAD")&&(A.cache==="no-store"||A.cache==="no-cache")){var re=/([?&])_=[^&]*/;if(re.test(this.url))this.url=this.url.replace(re,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function D(b){var A=new FormData;return b.trim().split("&").forEach(function(B){if(B){var re=B.split("="),se=re.shift().replace(/\+/g," "),ee=re.join("=").replace(/\+/g," ");A.append(decodeURIComponent(se),decodeURIComponent(ee))}}),A}function Z(b){var A=new p,B=b.replace(/\r?\n[\t ]+/g," ");return B.split("\r").map(function(re){return re.indexOf(`
|
|
2
2
|
`)===0?re.substr(1,re.length):re}).forEach(function(re){var se=re.split(":"),ee=se.shift().trim();if(ee){var Mn=se.join(":").trim();try{A.append(ee,Mn)}catch(Fa){console.warn("Response "+Fa.message)}}}),A}M.call(w.prototype);function J(b,A){if(!(this instanceof J))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(J.prototype),J.prototype.clone=function(){return new J(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},J.error=function(){var b=new J(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var Q=[301,302,303,307,308];J.redirect=function(b,A){if(Q.indexOf(A)===-1)throw new RangeError("Invalid status code");return new J(null,{status:A,headers:{location:b}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(A,B){this.message=A,this.name=B;var re=Error(A);this.stack=re.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function G(b,A){return new Promise(function(B,re){var se=new w(b,A);if(se.signal&&se.signal.aborted)return re(new r.DOMException("Aborted","AbortError"));var ee=new XMLHttpRequest;function Mn(){ee.abort()}ee.onload=function(){var ke={statusText:ee.statusText,headers:Z(ee.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(ee.status<200||ee.status>599)?ke.status=200:ke.status=ee.status,ke.url="responseURL"in ee?ee.responseURL:ke.headers.get("X-Request-URL");var pr="response"in ee?ee.response:ee.responseText;setTimeout(function(){B(new J(pr,ke))},0)},ee.onerror=function(){setTimeout(function(){re(new TypeError("Network request failed"))},0)},ee.ontimeout=function(){setTimeout(function(){re(new TypeError("Network request timed out"))},0)},ee.onabort=function(){setTimeout(function(){re(new r.DOMException("Aborted","AbortError"))},0)};function Fa(ke){try{return ke===""&&o.location.href?o.location.href:ke}catch{return ke}}if(ee.open(se.method,Fa(se.url),!0),se.credentials==="include"?ee.withCredentials=!0:se.credentials==="omit"&&(ee.withCredentials=!1),"responseType"in ee&&(a.blob?ee.responseType="blob":a.arrayBuffer&&(ee.responseType="arraybuffer")),A&&typeof A.headers=="object"&&!(A.headers instanceof p||o.Headers&&A.headers instanceof o.Headers)){var El=[];Object.getOwnPropertyNames(A.headers).forEach(function(ke){El.push(d(ke)),ee.setRequestHeader(ke,f(A.headers[ke]))}),se.headers.forEach(function(ke,pr){El.indexOf(pr)===-1&&ee.setRequestHeader(pr,ke)})}else se.headers.forEach(function(ke,pr){ee.setRequestHeader(pr,ke)});se.signal&&(se.signal.addEventListener("abort",Mn),ee.onreadystatechange=function(){ee.readyState===4&&se.signal.removeEventListener("abort",Mn)}),ee.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return G.polyfill=!0,o.fetch||(o.fetch=G,o.Headers=p,o.Request=w,o.Response=J),r.Headers=p,r.Request=w,r.Response=J,r.fetch=G,r}({})})(la);la.fetch.ponyfill=!0;delete la.fetch.polyfill;var uo=ca.fetch?ca:la;nr=uo.fetch;nr.default=uo.fetch;nr.fetch=uo.fetch;nr.Headers=uo.Headers;nr.Request=uo.Request;nr.Response=uo.Response;p1.exports=nr});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,E){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=E.prototype.attributeChangedCallback,D=new Set(E.observedAttributes||[]);g(E,D,w);let Z={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:D};this._definitionsByTag.set(O,Z),this._definitionsByClass.set(E,Z);let J=r.call(o,O);J||(J=p(O),e.call(o,O,J)),this===window.customElements&&(s.set(E,Z),Z.standInClass=J);let Q=this._awaitingUpgrade.get(O);if(Q){this._awaitingUpgrade.delete(O);for(let b of Q)i.delete(b),C(b,Z,!0)}let G=this._whenDefinedPromises.get(O);return G!==void 0&&(G.resolve(E),this._whenDefinedPromises.delete(O)),E}upgrade(){T.push(this),o.upgrade.apply(o,arguments),T.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let E=this._getDefinition(O);if(E!==void 0)return Promise.resolve(E.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(D=>w.resolve=D),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,E,w){let D=this._awaitingUpgrade.get(E);D||this._awaitingUpgrade.set(E,D=new Set),w?D.add(O):D.delete(O)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),a.set(E,w),E},window.HTMLElement.prototype=t.prototype;let f=O=>O===document||O instanceof ShadowRoot,h=O=>{let E=O.getRootNode();if(!f(E)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;E=w.getRootNode(),f(E)||(E=c.get(E)?.getRootNode()||document)}return E.customElements},p=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let D=h(w)||window.customElements,Z=D._getDefinition(O);return Z?C(w,Z):i.set(w,D),w}connectedCallback(){let w=a.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=a.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=a.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=a.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=a.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=a.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,E,w)=>{if(E.size===0||w===void 0)return;let D=O.prototype.setAttribute;D&&(O.prototype.setAttribute=function(Q,G){let b=Q.toLowerCase();if(E.has(b)){let A=this.getAttribute(b);D.call(this,b,G),w.call(this,b,A,G)}else D.call(this,b,G)});let Z=O.prototype.removeAttribute;Z&&(O.prototype.removeAttribute=function(Q){let G=Q.toLowerCase();if(E.has(G)){let b=this.getAttribute(G);Z.call(this,G),w.call(this,G,b,null)}else Z.call(this,G)});let J=O.prototype.toggleAttribute;J&&(O.prototype.toggleAttribute=function(Q,G){let b=Q.toLowerCase();if(E.has(b)){let A=this.getAttribute(b);J.call(this,b,G);let B=this.getAttribute(b);w.call(this,b,A,B)}else J.call(this,b,G)})},S=O=>{let E=Object.getPrototypeOf(O);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(O,window.HTMLElement):S(E)},C=(O,E,w=!1)=>{Object.setPrototypeOf(O,E.elementClass.prototype),a.set(O,E),d=O;try{new E.elementClass}catch{S(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(D=>{O.hasAttribute(D)&&E.attributeChangedCallback.call(O,D,null,O.getAttribute(D))}),w&&E.connectedCallback&&O.isConnected&&E.connectedCallback.call(O)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let E=R.apply(this,arguments);return O.customElements&&(E.customElements=O.customElements),E};let T=[document],k=(O,E,w=void 0)=>{let D=(w?Object.getPrototypeOf(w):O.prototype)[E];O.prototype[E]=function(){T.push(this);let Z=D.apply(w||this,arguments);return Z!==void 0&&c.set(Z,this),T.pop(),Z}};k(ShadowRoot,"createElement",document),k(ShadowRoot,"importNode",document),k(Element,"insertAdjacentHTML");let M=(O,E)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,E);Object.defineProperty(O.prototype,E,{...w,set(D){T.push(this),w.set.call(this,D),T.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 O=new WeakMap,E=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Q){let G=E.call(this,...Q);return O.set(G,this),G},w.forEach(Q=>{let G=window.ElementInternals.prototype,b=G[Q];G[Q]=function(...A){let B=O.get(this);if(a.get(B).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 D extends Array{constructor(G){super(...G),this._elements=G}get value(){return this._elements.find(G=>G.checked===!0)?.value||""}}class Z{constructor(G){let b=new Map;G.forEach((A,B)=>{let re=A.getAttribute("name"),se=b.get(re)||[];this[+B]=A,se.push(A),b.set(re,se)}),this.length=G.length,b.forEach((A,B)=>{A&&(A.length===1?this[B]=A[0]:this[B]=new D(A))})}namedItem(G){return this[G]}}let J=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Q=J.get.call(this,[]),G=[];for(let b of Q){let A=a.get(b);(!A||A.formAssociated===!0)&&G.push(b)}return new Z(G)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,a)=>{if(o!==null)try{e.bind(window.customElements)(r,o,a)}catch(i){console.info(r,o,a,i)}}}var ri={};X(ri,{CSSResult:()=>jr,LitElement:()=>Dt,ReactiveElement:()=>St,_$LE:()=>Bu,_$LH:()=>Ja,adoptStyles:()=>Do,css:()=>I,defaultConverter:()=>Kr,getCompatibleStyle:()=>In,html:()=>P,isServer:()=>N5,mathml:()=>Qa,noChange:()=>Ue,notEqual:()=>Bo,nothing:()=>K,render:()=>ei,supportsAdoptingStyleSheets:()=>zo,svg:()=>Xa,unsafeCSS:()=>Kt});var Pn=globalThis,zo=Pn.ShadowRoot&&(Pn.ShadyCSS===void 0||Pn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wa=Symbol(),Ol=new WeakMap,jr=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Wa)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(zo&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Ol.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Ol.set(r,e))}return e}toString(){return this.cssText}},Kt=t=>new jr(typeof t=="string"?t:t+"",void 0,Wa),I=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,a,i)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new jr(r,t,Wa)},Do=(t,e)=>{if(zo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),a=Pn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=r.cssText,t.appendChild(o)}},In=zo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Kt(r)})(t):t;var{is:wu,defineProperty:_u,getOwnPropertyDescriptor:Tu,getOwnPropertyNames:Nu,getOwnPropertySymbols:ku,getPrototypeOf:Mu}=Object,zn=globalThis,Ll=zn.trustedTypes,Pu=Ll?Ll.emptyScript:"",Iu=zn.reactiveElementPolyfillSupport,$o=(t,e)=>t,Kr={toAttribute(t,e){switch(e){case Boolean:t=t?Pu:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Bo=(t,e)=>!wu(t,e),Al={attribute:!0,type:String,converter:Kr,reflect:!1,useDefault:!1,hasChanged:Bo};Symbol.metadata??=Symbol("metadata"),zn.litPropertyMetadata??=new WeakMap;var St=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Al){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(e,o,r);a!==void 0&&_u(this.prototype,e,a)}}static getPropertyDescriptor(e,r,o){let{get:a,set:i}=Tu(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let c=a?.call(this);i?.call(this,s),this.requestUpdate(e,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Al}static _$Ei(){if(this.hasOwnProperty($o("elementProperties")))return;let e=Mu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($o("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($o("properties"))){let r=this.properties,o=[...Nu(r),...ku(r)];for(let a of o)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,a]of r)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let a=this._$Eu(r,o);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let a of o)r.unshift(In(a))}else e!==void 0&&r.push(In(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Do(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$ET(e,r){let o=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,o);if(a!==void 0&&o.reflect===!0){let i=(o.converter?.toAttribute!==void 0?o.converter:Kr).toAttribute(r,o.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let o=this.constructor,a=o._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=o.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Kr;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,r,o){if(e!==void 0){let a=this.constructor,i=this[e];if(o??=a.getPropertyOptions(e),!((o.hasChanged??Bo)(i,r)||o.useDefault&&o.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,o))))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:o,reflect:a,wrapped:i},s){o&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),i!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||o||(r=void 0),this._$AL.set(e,r)),a===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[a,i]of o){let{wrapped:s}=i,c=this[a];s!==!0||this._$AL.has(a)||c===void 0||this.C(a,void 0,i,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw e=!1,this._$EM(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};St.elementStyles=[],St.shadowRootOptions={mode:"open"},St[$o("elementProperties")]=new Map,St[$o("finalized")]=new Map,Iu?.({ReactiveElement:St}),(zn.reactiveElementVersions??=[]).push("2.1.0");var ja=globalThis,Dn=ja.trustedTypes,Rl=Dn?Dn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ka="$lit$",zt=`lit$${Math.random().toFixed(9).slice(2)}$`,Za="?"+zt,zu=`<${Za}>`,gr=document,Ho=()=>gr.createComment(""),Fo=t=>t===null||typeof t!="object"&&typeof t!="function",qa=Array.isArray,Ml=t=>qa(t)||typeof t?.[Symbol.iterator]=="function",Va=`[
|
|
3
3
|
\f\r]`,Uo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wl=/-->/g,_l=/>/g,hr=RegExp(`>|${Va}(?:([^\\s"'>=/]+)(${Va}*=${Va}*(?:[^
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Tl=/'/g,Nl=/"/g,Pl=/^(?:script|style|textarea|title)$/i,Ya=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),P=Ya(1),Xa=Ya(2),Qa=Ya(3),Ue=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),kl=new WeakMap,mr=gr.createTreeWalker(gr,129);function Il(t,e){if(!qa(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rl!==void 0?Rl.createHTML(e):e}var zl=(t,e)=>{let r=t.length-1,o=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=Uo;for(let c=0;c<r;c++){let d=t[c],f,h,p=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Uo?h[1]==="!--"?s=wl:h[1]!==void 0?s=_l:h[2]!==void 0?(Pl.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=hr):h[3]!==void 0&&(s=hr):s===hr?h[0]===">"?(s=a??Uo,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?hr:h[3]==='"'?Nl:Tl):s===Nl||s===Tl?s=hr:s===wl||s===_l?s=Uo:(s=hr,a=void 0);let S=s===hr&&t[c+1].startsWith("/>")?" ":"";i+=s===Uo?d+zu:p>=0?(o.push(f),d.slice(0,p)+Ka+d.slice(p)+zt+S):d+zt+(p===-2?c:S)}return[Il(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},Go=class t{constructor({strings:e,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[f,h]=zl(e,r);if(this.el=t.createElement(f,o),mr.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=mr.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Ka)){let g=h[s++],S=a.getAttribute(p).split(zt),C=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:C[2],strings:S,ctor:C[1]==="."?Bn:C[1]==="?"?Un:C[1]==="@"?Hn:br}),a.removeAttribute(p)}else p.startsWith(zt)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(Pl.test(a.tagName)){let p=a.textContent.split(zt),g=p.length-1;if(g>0){a.textContent=Dn?Dn.emptyScript:"";for(let S=0;S<g;S++)a.append(p[S],Ho()),mr.nextNode(),d.push({type:2,index:++i});a.append(p[g],Ho())}}}else if(a.nodeType===8)if(a.data===Za)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(zt,p+1))!==-1;)d.push({type:7,index:i}),p+=zt.length-1}i++}}static createElement(e,r){let o=gr.createElement("template");return o.innerHTML=e,o}};function yr(t,e,r=t,o){if(e===Ue)return e;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=Fo(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(e=yr(t,a._$AS(t,e.values),a,o)),e}var $n=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,a=(e?.creationScope??gr).importNode(r,!0);mr.currentNode=a;let i=mr.nextNode(),s=0,c=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Zr(i,i.nextSibling,this,e):d.type===1?f=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(f=new Fn(i,this,e)),this._$AV.push(f),d=o[++c]}s!==d?.index&&(i=mr.nextNode(),s++)}return mr.currentNode=gr,a}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Zr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,a){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=yr(this,e,r),Fo(e)?e===K||e==null||e===""?(this._$AH!==K&&this._$AR(),this._$AH=K):e!==this._$AH&&e!==Ue&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ml(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==K&&Fo(this._$AH)?this._$AA.nextSibling.data=e:this.T(gr.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Go.createElement(Il(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new $n(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(e){let r=kl.get(e.strings);return r===void 0&&kl.set(e.strings,r=new Go(e)),r}k(e){qa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of e)a===r.length?r.push(o=new t(this.O(Ho()),this.O(Ho()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},br=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,a,i){this.type=1,this._$AH=K,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=K}_$AI(e,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)e=yr(this,e,r,0),s=!Fo(e)||e!==this._$AH&&e!==Ue,s&&(this._$AH=e);else{let c=e,d,f;for(e=i[0],d=0;d<i.length-1;d++)f=yr(this,c[o+d],r,d),f===Ue&&(f=this._$AH[d]),s||=!Fo(f)||f!==this._$AH[d],f===K?e=K:e!==K&&(e+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(e)}j(e){e===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bn=class extends br{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===K?void 0:e}},Un=class extends br{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==K)}},Hn=class extends br{constructor(e,r,o,a,i){super(e,r,o,a,i),this.type=5}_$AI(e,r=this){if((e=yr(this,e,r,0)??K)===Ue)return;let o=this._$AH,a=e===K&&o!==K||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,i=e!==K&&(o===K||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Fn=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){yr(this,e)}},Ja={M:Ka,P:zt,A:Za,C:1,L:zl,R:$n,D:Ml,V:yr,I:Zr,H:br,N:Un,U:Hn,B:Bn,F:Fn},Du=ja.litHtmlPolyfillSupport;Du?.(Go,Zr),(ja.litHtmlVersions??=[]).push("3.3.0");var ei=(t,e,r)=>{let o=r?.renderBefore??e,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Zr(e.insertBefore(Ho(),i),i,void 0,r??{})}return a._$AI(t),a};var ti=globalThis,Dt=class extends St{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ei(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ue}};Dt._$litElement$=!0,Dt.finalized=!0,ti.litElementHydrateSupport?.({LitElement:Dt});var $u=ti.litElementPolyfillSupport;$u?.({LitElement:Dt});var Bu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(ti.litElementVersions??=[]).push("4.2.0");var N5=!1;var ii={};X(ii,{customElement:()=>Uu,eventOptions:()=>Fu,property:()=>v,query:()=>j,queryAll:()=>oi,queryAssignedElements:()=>ni,queryAssignedNodes:()=>ai,queryAsync:()=>Wu,standardProperty:()=>Dl,state:()=>q});var Uu=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Hu={attribute:!0,type:String,converter:Kr,reflect:!1,hasChanged:Bo},Dl=(t=Hu,e,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(o==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+o)};function v(t){return(e,r)=>typeof r=="object"?Dl(t,e,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function q(t){return v({...t,state:!0,attribute:!1})}function Fu(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var pt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function j(t,e){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return pt(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 pt(r,o,{get(){return i(this)}})}}var Gu;function oi(t){return(e,r)=>pt(e,r,{get(){return(this.renderRoot??(Gu??=document.createDocumentFragment())).querySelectorAll(t)}})}function Wu(t){return(e,r)=>pt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ni(t){return(e,r)=>{let{slot:o,selector:a}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return pt(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function ai(t){return(e,r)=>{let{slot:o}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return pt(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var si={};X(si,{repeat:()=>Yr});var Ct={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ht=t=>(...e)=>({_$litDirective$:t,values:e}),ot=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Vu}=Ja;var Bl=t=>t.strings===void 0,$l=()=>document.createComment(""),qr=(t,e,r)=>{let o=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=o.insertBefore($l(),a),s=o.insertBefore($l(),a);r=new Vu(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;o.insertBefore(d,a),d=f}}}return r},Zt=(t,e,r=t)=>(t._$AI(e,r),t),ju={},Ul=(t,e=ju)=>t._$AH=e,Hl=t=>t._$AH,Gn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var Fl=(t,e,r)=>{let o=new Map;for(let a=e;a<=r;a++)o.set(t[a],a);return o},Yr=ht(class extends ot{constructor(t){if(super(t),t.type!==Ct.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let a=[],i=[],s=0;for(let c of t)a[s]=o?o(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let a=Hl(t),{values:i,keys:s}=this.dt(e,r,o);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],f,h,p=0,g=a.length-1,S=0,C=i.length-1;for(;p<=g&&S<=C;)if(a[p]===null)p++;else if(a[g]===null)g--;else if(c[p]===s[S])d[S]=Zt(a[p],i[S]),p++,S++;else if(c[g]===s[C])d[C]=Zt(a[g],i[C]),g--,C--;else if(c[p]===s[C])d[C]=Zt(a[p],i[C]),qr(t,d[C+1],a[p]),p++,C--;else if(c[g]===s[S])d[S]=Zt(a[g],i[S]),qr(t,a[p],a[g]),g--,S++;else if(f===void 0&&(f=Fl(s,S,C),h=Fl(c,p,g)),f.has(c[p]))if(f.has(c[g])){let R=h.get(s[S]),T=R!==void 0?a[R]:null;if(T===null){let k=qr(t,a[p]);Zt(k,i[S]),d[S]=k}else d[S]=Zt(T,i[S]),qr(t,a[p],T),a[R]=null;S++}else Gn(a[g]),g--;else Gn(a[p]),p++;for(;S<=C;){let R=qr(t,d[C+1]);Zt(R,i[S]),d[S++]=R}for(;p<=g;){let R=a[p++];R!==null&&Gn(R)}return this.ut=s,Ul(t,d),Ue}});var ci={};X(ci,{classMap:()=>ye});var ye=ht(class extends ot{constructor(t){if(super(t),t.type!==Ct.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let a=!!e[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return Ue}});var li={};X(li,{styleMap:()=>Zu});var Gl="important",Ku=" !"+Gl,Zu=ht(class extends ot{constructor(t){if(super(t),t.type!==Ct.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let a=e[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(Ku);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?Gl:""):r[o]=a}}return Ue}});var di={};X(di,{UnsafeHTMLDirective:()=>Xr,unsafeHTML:()=>Wo});var Xr=class extends ot{constructor(e){if(super(e),this.it=K,e.type!==Ct.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===K||e==null)return this._t=void 0,this.it=e;if(e===Ue)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Xr.directiveName="unsafeHTML",Xr.resultType=1;var Wo=ht(Xr);var vi={};X(vi,{CacheRegistry:()=>Et,ClearCacheEvent:()=>Ko});var ui={};X(ui,{CancelablePromise:()=>Wn,CanceledPromiseError:()=>vr,cancelable:()=>fi});var vr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Wn=class extends Promise{constructor(e){super((r,o)=>e(a=>{this.isCanceled?o(new vr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new vr("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},fi=t=>new Wn((e,r)=>t.then(e).catch(r));var bi={};X(bi,{FtNotificationEvent:()=>jo,PostResizeEvent:()=>yi,PreResizeEvent:()=>gi,WithEventBus:()=>$t,withEventBus:()=>jn});var mi={};X(mi,{applyMixinOnce:()=>Me,dateReviver:()=>Yu,deepCopy:()=>Cr,deepEqual:()=>We,delay:()=>Vn,eventPathContainsMatchingElement:()=>pi,everyDeep:()=>qu,flatDeep:()=>xr,forEachDeep:()=>Vl,getComposedPathTo:()=>hi,hasChanged:()=>mt,last:()=>Qu,minmax:()=>Sr,parseDate:()=>Kl,randomId:()=>Ju,someDeep:()=>jl,unslotText:()=>qt,waitFor:()=>Wl,waitUntil:()=>Vo});var Vn=t=>new Promise(e=>setTimeout(e,t));async function Vo(t,e=10,r=2e4){await Wl(async()=>await t()||void 0,e,r)}async function Wl(t,e=10,r=2e4){let o=await t(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await Vn(e),o=await t(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function xr(t,e){return t.flatMap(r=>[r,...xr(e(r),e)])}function Vl(t,e,r){let o=(a,i)=>{var s;for(let c=0;c<a.length;c++){let d=a[c];if(!(((s=r(d,c,a,i))!==null&&s!==void 0?s:!0)&&o(e(d),[...i,d])))return!1}return!0};o(t,[])}function jl(t,e,r){let o=!1;return Vl(t,e,(a,i,s,c)=>(o=!!r(a,i,s,c),!o)),o}function qu(t,e,r){return!jl(t,e,(o,a,i,s)=>!r(o,a,i,s))}function Yu(...t){return(e,r)=>t.includes(e)?Kl(r):r}function Kl(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,a)=>r+o+":"+a),new Date(t)}function Xu(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,o,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!We(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!We(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!We(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function We(t,e){try{return Xu(t,e)}catch{return!1}}function mt(t,e){return!We(t,e)}function pi(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Sr(t,e,r){return Math.min(Math.max(t,e),r)}function Qu(t){return t[t.length-1]}function qt(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>qt(e)).join(""):t?.textContent||""}function hi(t){let e=[],r=o=>{o.stopPropagation(),e=o.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Cr(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Ju(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Me(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let a=e(o);return a[t]=!0,a}}var jo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},gi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},yi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},jn=Me(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}),$t=class extends jn(Object){};var Ko=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Et=class extends $t{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var a;let i=this.content[e],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[e]={...i,loader:r,final:o,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Ko(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Ko([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,a;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[e])===null||a===void 0||delete a.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let a=async()=>r,i="RESOLVED";this.content[e]={loader:a,final:o,status:i,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let a=this.content[e];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=fi(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(e),a.clearTimeout=window.setTimeout(()=>this.clear(e),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Oi={};X(Oi,{ClusteringHelper:()=>Ei,formatHierarchicalValues:()=>Ci});var Si={};X(Si,{accessBreadcrumb:()=>rp,accessResult:()=>xi,accessResultId:()=>ep,accessResultUrl:()=>tp});function xi(t){var e,r,o,a;return(a=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&a!==void 0?a:t?.htmlPackagePage}function ep(t){var e,r,o,a,i,s,c,d,f;return(d=(s=(a=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&a!==void 0?a:(i=t?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.packageId)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function tp(t){var e,r,o,a,i,s,c,d,f;return(d=(s=(a=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&a!==void 0?a:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.viewerUrl)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function rp(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function Ci(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Ei=class t{constructor(e,r,o,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(e){let r=xi(e.result).metadata;return e.key==null?t.flattenMetadata(r,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(r.find(o=>o.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(Ci(c)),s.push(Ci(c,r))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>o?o(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,o="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(p=>t.extractResultMetadata({result:p,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:e,label:f,value:void 0,displayValue:o}).filter(p=>p.value!=d?.value).filter((p,g,S)=>S.findIndex(C=>C.value===p.value)===g).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,g)=>this.compareMetadata(p.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,o,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of o){let f=this.countMatchingMetadata(d,i);if(f>c&&(c=f,s=d,f===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Li={};X(Li,{Debouncer:()=>be});var be=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ai={};X(Ai,{customElement:()=>Y,dateProperty:()=>np,isNumber:()=>Zl,jsonProperty:()=>Pe,numberProperty:()=>Yt,optionalNumberProperty:()=>op});var Y=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Pe(t,e){let r=()=>JSON.parse(JSON.stringify(t));return v({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,...e??{}})}function op(t){return Yt(t)}function Yt(t){return v({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let a=(r=t?.min)!==null&&r!==void 0?r:-1/0,i=(o=t?.max)!==null&&o!==void 0?o:1/0;return Zl(e)?Sr(a,+e,i):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Zl(t){return!isNaN(parseFloat(t))}function np(t){return v({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Vi={};X(Vi,{designSystemVariables:()=>$});var Wi={};X(Wi,{DesignSystemFamily:()=>Ie,DesignSystemSize:()=>Ze,FtCssVariableFactory:()=>n,badge:()=>fp,banner:()=>dp,button:()=>x,chart:()=>Ap,checkbox:()=>W,chip:()=>lp,chipChoice:()=>cp,collapsible:()=>Op,comboboxMultiSelect:()=>Ep,comboboxSingleSelect:()=>Cp,dateRangePicker:()=>Mp,drawer:()=>yp,floatingMenu:()=>Sp,foundation:()=>l,link:()=>Se,modal:()=>gp,notice:()=>wp,notification:()=>Tp,pageDesigner:()=>Rp,pageFooter:()=>hp,pageHeader:()=>pp,pageLayout:()=>mp,popover:()=>_e,radio:()=>te,reorderableList:()=>kp,resolveFamilyClass:()=>Fi,resolveSizeClass:()=>Gi,semantic:()=>u,setVariable:()=>L,switch_:()=>Lp,table:()=>sp,tabs:()=>bp,textArea:()=>xp,textInput:()=>vp,titleBreadcrumb:()=>up,toggle:()=>_p,tooltip:()=>Np,treeList:()=>ip,typographies:()=>Kn,typographyBody1Medium:()=>ki,typographyBody1Regular:()=>Ni,typographyBody1Semibold:()=>Mi,typographyBody2Medium:()=>Ii,typographyBody2MediumUnderline:()=>ql,typographyBody2Regular:()=>Pi,typographyBody2Semibold:()=>zi,typographyCaption1Medium:()=>Di,typographyCaption1Semibold:()=>$i,typographyCaption2Bold:()=>Hi,typographyCaption2Medium:()=>Bi,typographyCaption2Semibold:()=>Ui,typographyDisplay:()=>Ri,typographyTitle1:()=>wi,typographyTitle2:()=>_i,typographyTitle3:()=>Ti,typographyVariants:()=>ap});var Xt=t=>typeof t=="string"?Kt(t):t,n=class{static create(e,r,o,a){let i=c=>Xt(c??a),s=I`var(${Xt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>L(s,c??i(a)),s.get=c=>I`var(${Xt(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,o,a){let i=c=>o.get(c??a),s=I`var(${Xt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>L(s,c??i(a)),s.get=c=>I`var(${Xt(e)}, ${i(c)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(e,r){let o=i=>e.defaultCssValue(i),a=I`var(${Xt(e.name)}, ${o(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>e.set(i),a.get=i=>I`var(${Xt(e.name)}, ${o(i)})`,a.breadcrumb=()=>e.breadcrumb(),a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function L(t,e){return Xt(`${t.name}: ${e}`)}var l={colorWhite:n.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:n.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:n.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ftds-opacity-0","","NUMBER","0"),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)")},Ri={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")},wi={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")},_i={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")},Ti={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")},Ni={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")},ki={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")},Mi={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")},Pi={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")},Ii={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")},ql={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")},zi={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")},Di={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")},$i={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")},Bi={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")},Ui={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")},Hi={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")},Kn={display:Ri,"title-1":wi,"title-2":_i,"title-3":Ti,"body-1-regular":Ni,"body-1-medium":ki,"body-1-semibold":Mi,"body-2-regular":Pi,"body-2-medium":Ii,"body-2-medium-underline":ql,"body-2-semibold":zi,"caption-1-medium":Di,"caption-1-semibold":$i,"caption-2-medium":Bi,"caption-2-semibold":Ui,"caption-2-bold":Hi},ap=["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 x={largeHeight:n.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:n.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:n.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:n.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:n.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:n.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:n.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:n.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:n.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:n.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:n.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:n.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:n.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:n.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ftds-button-primary-brand-background-color","",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 ip={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 W={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 te={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 sp={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 cp={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 lp={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 Se={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 dp={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 fp={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 up={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 pp={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 hp={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 mp={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var gp={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 yp={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 bp={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 vp={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 xp={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 Sp={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 Cp={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 Ep={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 _e={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 Op={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 Lp={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 Ap={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 Rp={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 wp={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 _p={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 Tp={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 Np={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 kp={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 Mp={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 Ie;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ie||(Ie={}));var Ze;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ze||(Ze={}));function Fi(t){return`ftds--family-${t}`}function Gi(t){return`ftds--size-${t}`}var $={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 ji={};X(ji,{DynamicImporter:()=>Zn,dynamicImporter:()=>Pp});var Zn=class{async import(e){if(e)return import(e)}},Pp=new Zn;var ss={};X(ss,{computeOffsetAutoPosition:()=>is,computeOffsetPosition:()=>as});var Xl=["top","right","bottom","left"],Yl=["start","end"],Zi=Xl.reduce((t,e)=>t.concat(e,e+"-"+Yl[0],e+"-"+Yl[1]),[]),Er=Math.min,Ve=Math.max,Zo=Math.round;var gt=t=>({x:t,y:t}),Ip={left:"right",right:"left",bottom:"top",top:"bottom"};function qi(t,e,r){return Ve(t,Er(e,r))}function Qr(t,e){return typeof t=="function"?t(e):t}function Qt(t){return t.split("-")[0]}function Ot(t){return t.split("-")[1]}function Yi(t){return t==="x"?"y":"x"}function Xi(t){return t==="y"?"height":"width"}function Jr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Qi(t){return Yi(Jr(t))}function Ql(t,e,r){r===void 0&&(r=!1);let o=Ot(t),a=Qi(t),i=Xi(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ki(s)),[s,Ki(s)]}function Jl(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Ki(t){let e=Qt(t);return Ip[e]+t.slice(e.length)}function zp(t){return{top:0,right:0,bottom:0,left:0,...t}}function ed(t){return typeof t!="number"?zp(t):{top:t,right:t,bottom:t,left:t}}function Or(t){let{x:e,y:r,width:o,height:a}=t;return{width:o,height:a,top:r,left:e,right:e+o,bottom:r+a,x:e,y:r}}function td(t,e,r){let{reference:o,floating:a}=t,i=Jr(e),s=Qi(e),c=Xi(s),d=Qt(e),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,S;switch(d){case"top":S={x:h,y:o.y-a.height};break;case"bottom":S={x:h,y:o.y+o.height};break;case"right":S={x:o.x+o.width,y:p};break;case"left":S={x:o.x-a.width,y:p};break;default:S={x:o.x,y:o.y}}switch(Ot(e)){case"start":S[s]-=g*(r&&f?-1:1);break;case"end":S[s]+=g*(r&&f?-1:1);break}return S}async function rd(t,e){var r;e===void 0&&(e={});let{x:o,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:S=0}=Qr(e,t),C=ed(S),T=c[g?p==="floating"?"reference":"floating":p],k=Or(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(T)))==null||r?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:d})),M=p==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),E=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},w=Or(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:M,offsetParent:O,strategy:d}):M);return{top:(k.top-w.top+C.top)/E.y,bottom:(w.bottom-k.bottom+C.bottom)/E.y,left:(k.left-w.left+C.left)/E.x,right:(w.right-k.right+C.right)/E.x}}var Dp=50,od=async(t,e,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:rd},d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:p}=td(f,o,d),g=o,S=0,C={};for(let R=0;R<i.length;R++){let T=i[R];if(!T)continue;let{name:k,fn:M}=T,{x:O,y:E,data:w,reset:D}=await M({x:h,y:p,initialPlacement:o,placement:g,strategy:a,middlewareData:C,rects:f,platform:c,elements:{reference:t,floating:e}});h=O??h,p=E??p,C[k]={...C[k],...w},D&&S<Dp&&(S++,typeof D=="object"&&(D.placement&&(g=D.placement),D.rects&&(f=D.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):D.rects),{x:h,y:p}=td(f,g,d)),R=-1)}return{x:h,y:p,placement:g,strategy:a,middlewareData:C}};function $p(t,e,r){return(t?[...r.filter(a=>Ot(a)===t),...r.filter(a=>Ot(a)!==t)]:r.filter(a=>Qt(a)===a)).filter(a=>t?Ot(a)===t||(e?Jl(a)!==a:!1):!0)}var nd=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:g=Zi,autoAlignment:S=!0,...C}=Qr(t,e),R=p!==void 0||g===Zi?$p(p||null,S,g):g,T=await d.detectOverflow(e,C),k=((r=s.autoPlacement)==null?void 0:r.index)||0,M=R[k];if(M==null)return{};let O=Ql(M,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(c!==M)return{reset:{placement:R[0]}};let E=[T[Qt(M)],T[O[0]],T[O[1]]],w=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:M,overflows:E}],D=R[k+1];if(D)return{data:{index:k+1,overflows:w},reset:{placement:D}};let Z=w.map(G=>{let b=Ot(G.placement);return[G.placement,b&&h?G.overflows.slice(0,2).reduce((A,B)=>A+B,0):G.overflows[0],G.overflows]}).sort((G,b)=>G[1]-b[1]),Q=((a=Z.filter(G=>G[2].slice(0,Ot(G[0])?2:3).every(b=>b<=0))[0])==null?void 0:a[0])||Z[0][0];return Q!==c?{data:{index:k+1,overflows:w},reset:{placement:Q}}:{}}}};var Bp=new Set(["left","top"]);async function Up(t,e){let{placement:r,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Qt(r),c=Ot(r),d=Jr(r)==="y",f=Bp.has(s)?-1:1,h=i&&d?-1:1,p=Qr(e,t),{mainAxis:g,crossAxis:S,alignmentAxis:C}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof C=="number"&&(S=c==="end"?C*-1:C),d?{x:S*h,y:g*f}:{x:g*f,y:S*h}}var ad=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await Up(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},id=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:a,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:k=>{let{x:M,y:O}=k;return{x:M,y:O}}},...f}=Qr(t,e),h={x:r,y:o},p=await i.detectOverflow(e,f),g=Jr(Qt(a)),S=Yi(g),C=h[S],R=h[g];if(s){let k=S==="y"?"top":"left",M=S==="y"?"bottom":"right",O=C+p[k],E=C-p[M];C=qi(O,C,E)}if(c){let k=g==="y"?"top":"left",M=g==="y"?"bottom":"right",O=R+p[k],E=R-p[M];R=qi(O,R,E)}let T=d.fn({...e,[S]:C,[g]:R});return{...T,data:{x:T.x-r,y:T.y-o,enabled:{[S]:s,[g]:c}}}}}};var sd=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,o;let{placement:a,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...f}=Qr(t,e),h=await s.detectOverflow(e,f),p=Qt(a),g=Ot(a),S=Jr(a)==="y",{width:C,height:R}=i.floating,T,k;p==="top"||p==="bottom"?(T=p,k=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(k=p,T=g==="end"?"top":"bottom");let M=R-h.top-h.bottom,O=C-h.left-h.right,E=Er(R-h[T],M),w=Er(C-h[k],O),D=!e.middlewareData.shift,Z=E,J=w;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(J=O),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(Z=M),D&&!g){let G=Ve(h.left,0),b=Ve(h.right,0),A=Ve(h.top,0),B=Ve(h.bottom,0);S?J=C-2*(G!==0||b!==0?G+b:Ve(h.left,h.right)):Z=R-2*(A!==0||B!==0?A+B:Ve(h.top,h.bottom))}await d({...e,availableWidth:J,availableHeight:Z});let Q=await s.getDimensions(c.floating);return C!==Q.width||R!==Q.height?{reset:{rects:!0}}:{}}}};function Yn(){return typeof window<"u"}function Ar(t){return ld(t)?(t.nodeName||"").toLowerCase():"#document"}function je(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Lt(t){var e;return(e=(ld(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ld(t){return Yn()?t instanceof Node||t instanceof je(t).Node:!1}function nt(t){return Yn()?t instanceof Element||t instanceof je(t).Element:!1}function At(t){return Yn()?t instanceof HTMLElement||t instanceof je(t).HTMLElement:!1}function cd(t){return!Yn()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof je(t).ShadowRoot}function eo(t){let{overflow:e,overflowX:r,overflowY:o,display:a}=at(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&a!=="inline"&&a!=="contents"}function dd(t){return/^(table|td|th)$/.test(Ar(t))}function qo(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var Hp=/transform|translate|scale|rotate|perspective|filter/,Fp=/paint|layout|strict|content/,Lr=t=>!!t&&t!=="none",Ji;function Xn(t){let e=nt(t)?at(t):t;return Lr(e.transform)||Lr(e.translate)||Lr(e.scale)||Lr(e.rotate)||Lr(e.perspective)||!Qn()&&(Lr(e.backdropFilter)||Lr(e.filter))||Hp.test(e.willChange||"")||Fp.test(e.contain||"")}function fd(t){let e=Bt(t);for(;At(e)&&!Rr(e);){if(Xn(e))return e;if(qo(e))return null;e=Bt(e)}return null}function Qn(){return Ji==null&&(Ji=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ji}function Rr(t){return/^(html|body|#document)$/.test(Ar(t))}function at(t){return je(t).getComputedStyle(t)}function Yo(t){return nt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Bt(t){if(Ar(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cd(t)&&t.host||Lt(t);return cd(e)?e.host:e}function ud(t){let e=Bt(t);return Rr(e)?t.ownerDocument?t.ownerDocument.body:t.body:At(e)&&eo(e)?e:ud(e)}function qn(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=ud(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=je(a);if(i){let c=Jn(s);return e.concat(s,s.visualViewport||[],eo(a)?a:[],c&&r?qn(c):[])}else return e.concat(a,qn(a,[],r))}function Jn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function gd(t){let e=at(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,a=At(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:o,c=Zo(r)!==i||Zo(o)!==s;return c&&(r=i,o=s),{width:r,height:o,$:c}}function yd(t){return nt(t)?t:t.contextElement}function to(t){let e=yd(t);if(!At(e))return gt(1);let r=e.getBoundingClientRect(),{width:o,height:a,$:i}=gd(e),s=(i?Zo(r.width):r.width)/o,c=(i?Zo(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Gp=gt(0);function bd(t){let e=je(t);return!Qn()||!e.visualViewport?Gp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==je(t)?!1:e}function Xo(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=yd(t),s=gt(1);e&&(o?nt(o)&&(s=to(o)):s=to(t));let c=Wp(i,r,o)?bd(i):gt(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=je(i),S=o&&nt(o)?je(o):o,C=g,R=Jn(C);for(;R&&o&&S!==C;){let T=to(R),k=R.getBoundingClientRect(),M=at(R),O=k.left+(R.clientLeft+parseFloat(M.paddingLeft))*T.x,E=k.top+(R.clientTop+parseFloat(M.paddingTop))*T.y;d*=T.x,f*=T.y,h*=T.x,p*=T.y,d+=O,f+=E,C=je(R),R=Jn(C)}}return Or({width:h,height:p,x:d,y:f})}function ea(t,e){let r=Yo(t).scrollLeft;return e?e.left+r:Xo(Lt(t)).left+r}function vd(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-ea(t,r),a=r.top+e.scrollTop;return{x:o,y:a}}function Vp(t){let{elements:e,rect:r,offsetParent:o,strategy:a}=t,i=a==="fixed",s=Lt(o),c=e?qo(e.floating):!1;if(o===s||c&&i)return r;let d={scrollLeft:0,scrollTop:0},f=gt(1),h=gt(0),p=At(o);if((p||!p&&!i)&&((Ar(o)!=="body"||eo(s))&&(d=Yo(o)),p)){let S=Xo(o);f=to(o),h.x=S.x+o.clientLeft,h.y=S.y+o.clientTop}let g=s&&!p&&!i?vd(s,d):gt(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 jp(t){return Array.from(t.getClientRects())}function Kp(t){let e=Lt(t),r=Yo(t),o=t.ownerDocument.body,a=Ve(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Ve(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+ea(t),c=-r.scrollTop;return at(o).direction==="rtl"&&(s+=Ve(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:c}}var pd=25;function Zp(t,e){let r=je(t),o=Lt(t),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let h=Qn();(!h||h&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}let f=ea(o);if(f<=0){let h=o.ownerDocument,p=h.body,g=getComputedStyle(p),S=h.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,C=Math.abs(o.clientWidth-p.clientWidth-S);C<=pd&&(i-=C)}else f<=pd&&(i+=f);return{width:i,height:s,x:c,y:d}}function qp(t,e){let r=Xo(t,!0,e==="fixed"),o=r.top+t.clientTop,a=r.left+t.clientLeft,i=At(t)?to(t):gt(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:c,x:d,y:f}}function hd(t,e,r){let o;if(e==="viewport")o=Zp(t,r);else if(e==="document")o=Kp(Lt(t));else if(nt(e))o=qp(e,r);else{let a=bd(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Or(o)}function xd(t,e){let r=Bt(t);return r===e||!nt(r)||Rr(r)?!1:at(r).position==="fixed"||xd(r,e)}function Yp(t,e){let r=e.get(t);if(r)return r;let o=qn(t,[],!1).filter(c=>nt(c)&&Ar(c)!=="body"),a=null,i=at(t).position==="fixed",s=i?Bt(t):t;for(;nt(s)&&!Rr(s);){let c=at(s),d=Xn(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||eo(s)&&!d&&xd(t,s))?o=o.filter(h=>h!==s):a=c,s=Bt(s)}return e.set(t,o),o}function Xp(t){let{element:e,boundary:r,rootBoundary:o,strategy:a}=t,s=[...r==="clippingAncestors"?qo(e)?[]:Yp(e,this._c):[].concat(r),o],c=hd(e,s[0],a),d=c.top,f=c.right,h=c.bottom,p=c.left;for(let g=1;g<s.length;g++){let S=hd(e,s[g],a);d=Ve(S.top,d),f=Er(S.right,f),h=Er(S.bottom,h),p=Ve(S.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function Qp(t){let{width:e,height:r}=gd(t);return{width:e,height:r}}function Jp(t,e,r){let o=At(e),a=Lt(e),i=r==="fixed",s=Xo(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=gt(0);function f(){d.x=ea(a)}if(o||!o&&!i)if((Ar(e)!=="body"||eo(a))&&(c=Yo(e)),o){let S=Xo(e,!0,i,e);d.x=S.x+e.clientLeft,d.y=S.y+e.clientTop}else a&&f();i&&!o&&a&&f();let h=a&&!o&&!i?vd(a,c):gt(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 es(t){return at(t).position==="static"}function md(t,e){if(!At(t)||at(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Lt(t)===r&&(r=r.ownerDocument.body),r}function Sd(t,e){let r=je(t);if(qo(t))return r;if(!At(t)){let a=Bt(t);for(;a&&!Rr(a);){if(nt(a)&&!es(a))return a;a=Bt(a)}return r}let o=md(t,e);for(;o&&dd(o)&&es(o);)o=md(o,e);return o&&Rr(o)&&es(o)&&!Xn(o)?r:o||fd(t)||r}var e4=async function(t){let e=this.getOffsetParent||Sd,r=this.getDimensions,o=await r(t.floating);return{reference:Jp(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function t4(t){return at(t).direction==="rtl"}var ro={convertOffsetParentRelativeRectToViewportRelativeRect:Vp,getDocumentElement:Lt,getClippingRect:Xp,getOffsetParent:Sd,getElementRects:e4,getClientRects:jp,getDimensions:Qp,getScale:to,isElement:nt,isRTL:t4};var Cd=ad,ts=nd,Ed=id;var Od=sd;var rs=(t,e,r)=>{let o=new Map,a={platform:ro,...r},i={...a.platform,_c:o};return od(t,e,{...a,platform:i})};function ns(t){return r4(t)}function os(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function r4(t){for(let e=t;e;e=os(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=os(t);e;e=os(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function as(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},rs(t,e,{strategy:o.strategy,platform:{...ro,getOffsetParent:a=>ro.getOffsetParent(a,ns)},middleware:[Ed({crossAxis:!0}),ts({allowedPlacements:[o.placement]})]})}async function is(t,e,r,o,a,i,s){let c,d;return typeof r=="object"?(c=r.placement,o=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):c=r,rs(t,e,{placement:c,strategy:a,platform:{...ro,getOffsetParent:f=>ro.getOffsetParent(f,ns)},middleware:[Cd(s??4),ts({allowedPlacements:o}),Od({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 cs={};X(cs,{isSlotEmptyOrWithoutContent:()=>o4});var o4=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var a;return o.nodeType===Node.TEXT_NODE?((a=o.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var ps={};X(ps,{FtdsBase:()=>Jo,toFtdsBase:()=>Rt});var us={};X(us,{ExportpartsUpdatedEvent:()=>wr,FtLitElement:()=>V});var ls={};X(ls,{ScopedRegistryLitElement:()=>Qo});var Qo=class extends Dt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Do(o,e.elementStyles),o}};var fs={};X(fs,{shadowQuerySelector:()=>ds,shadowQuerySelectorAll:()=>n4});function ds(t,e,...r){var o;let a=t.querySelector(e);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function n4(t,e,...r){let o=[...t.querySelectorAll(e)];for(let a of r)o=o.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return o}var oo=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},wd,Ld=Symbol("constructorPrototype"),Ad=Symbol("constructorName"),_d=Symbol("exportpartsDebouncer"),Rd=Symbol("dynamicDependenciesLoaded"),wr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};wr.eventName="exportparts-updated";var V=class extends Qo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[wd]=new be(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[_d].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[Ad]=this.constructor.name,this[Ld]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ad]&&Object.setPrototypeOf(this,this[Ld])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Rd]||(r[Rd]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(wr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(wr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new wr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=ds(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(e){var r,o,a,i,s,c;let d=g=>g!=null&&g.trim().length>0,f=e.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 S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],C=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],R=[...S,...C].filter(d).map(T=>T.trim());for(let T of R)h.add(T)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(g=>f.map(S=>`${g}:${S}--${g}`));this.exportparts=[...this.part,...p].join(", ")}};wd=_d;oo([v()],V.prototype,"exportpartsPrefix",void 0);oo([Pe([])],V.prototype,"exportpartsPrefixes",void 0);oo([v({reflect:!0})],V.prototype,"exportparts",void 0);oo([v()],V.prototype,"customStylesheet",void 0);oo([v()],V.prototype,"elementToFocus",void 0);oo([q()],V.prototype,"useAdoptedStyleSheets",void 0);var Td=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Rt=Me(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Ze.medium,this.family=Ie.neutral}getDesignSystemBaseClasses(){return{[Fi(this.family)]:!0,[Gi(this.size)]:!0}}}return Td([v()],e.prototype,"size",void 0),Td([v()],e.prototype,"family",void 0),e}),Jo=class extends Rt(V){};var Nd={};var gs={};X(gs,{highlightHtml:()=>ms,highlightHtmlColorCssVariable:()=>kd,highlightHtmlStyles:()=>i4});var _r=class t{constructor(e,r=!0,o=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(e,r){let o=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(e,r,o,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(c++,o(h)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let a=e.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===o&&(i=d,s=c.handled)}),this.compareNodeIframe(e,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(e,r,o,a,i){let s=this.createIterator(r,e,a),c=[],d=[],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(e,S=>d.push(S),a)}),d.push(f);d.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(c,e,o,a),i()}forEachNode(e,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var en=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new _r(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,o);c&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,a,i=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),a=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:a,valid:i}}checkWhitespaceRanges(e,r,o){let a,i=!0,s=o.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return _r.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(o-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,o,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(o>s.end?s.end:o)-s.start,p=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=p+g,e.nodes.forEach((S,C)=>{C>=c&&(e.nodes[C].start>0&&C!==c&&(e.nodes[C].start-=h),e.nodes[C].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.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),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let 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)=>{e.lastIndex=g,a(p)})}i()})}wrapRangeFromIndex(e,r,o,a){this.getTextNodes(i=>{let s=i.value.length;e.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(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,o),i,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,S)=>this.opt.filter(S,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(e,r){this.opt=r;let o=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,d)=>this.opt.filter(i,s,c,d),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=_r.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function hs(t){let e=new en(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var a4=hs,kd=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),i4=I`
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Tl=/'/g,Nl=/"/g,Pl=/^(?:script|style|textarea|title)$/i,Ya=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),P=Ya(1),Xa=Ya(2),Qa=Ya(3),Ue=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),kl=new WeakMap,mr=gr.createTreeWalker(gr,129);function Il(t,e){if(!qa(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rl!==void 0?Rl.createHTML(e):e}var zl=(t,e)=>{let r=t.length-1,o=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=Uo;for(let c=0;c<r;c++){let d=t[c],f,h,p=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Uo?h[1]==="!--"?s=wl:h[1]!==void 0?s=_l:h[2]!==void 0?(Pl.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=hr):h[3]!==void 0&&(s=hr):s===hr?h[0]===">"?(s=a??Uo,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?hr:h[3]==='"'?Nl:Tl):s===Nl||s===Tl?s=hr:s===wl||s===_l?s=Uo:(s=hr,a=void 0);let S=s===hr&&t[c+1].startsWith("/>")?" ":"";i+=s===Uo?d+zu:p>=0?(o.push(f),d.slice(0,p)+Ka+d.slice(p)+zt+S):d+zt+(p===-2?c:S)}return[Il(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},Go=class t{constructor({strings:e,_$litType$:r},o){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[f,h]=zl(e,r);if(this.el=t.createElement(f,o),mr.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=mr.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Ka)){let g=h[s++],S=a.getAttribute(p).split(zt),C=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:C[2],strings:S,ctor:C[1]==="."?Bn:C[1]==="?"?Un:C[1]==="@"?Hn:br}),a.removeAttribute(p)}else p.startsWith(zt)&&(d.push({type:6,index:i}),a.removeAttribute(p));if(Pl.test(a.tagName)){let p=a.textContent.split(zt),g=p.length-1;if(g>0){a.textContent=Dn?Dn.emptyScript:"";for(let S=0;S<g;S++)a.append(p[S],Ho()),mr.nextNode(),d.push({type:2,index:++i});a.append(p[g],Ho())}}}else if(a.nodeType===8)if(a.data===Za)d.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(zt,p+1))!==-1;)d.push({type:7,index:i}),p+=zt.length-1}i++}}static createElement(e,r){let o=gr.createElement("template");return o.innerHTML=e,o}};function yr(t,e,r=t,o){if(e===Ue)return e;let a=o!==void 0?r._$Co?.[o]:r._$Cl,i=Fo(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=a:r._$Cl=a),a!==void 0&&(e=yr(t,a._$AS(t,e.values),a,o)),e}var $n=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,a=(e?.creationScope??gr).importNode(r,!0);mr.currentNode=a;let i=mr.nextNode(),s=0,c=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Zr(i,i.nextSibling,this,e):d.type===1?f=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(f=new Fn(i,this,e)),this._$AV.push(f),d=o[++c]}s!==d?.index&&(i=mr.nextNode(),s++)}return mr.currentNode=gr,a}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Zr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,a){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=yr(this,e,r),Fo(e)?e===K||e==null||e===""?(this._$AH!==K&&this._$AR(),this._$AH=K):e!==this._$AH&&e!==Ue&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ml(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==K&&Fo(this._$AH)?this._$AA.nextSibling.data=e:this.T(gr.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Go.createElement(Il(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new $n(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(e){let r=kl.get(e.strings);return r===void 0&&kl.set(e.strings,r=new Go(e)),r}k(e){qa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,a=0;for(let i of e)a===r.length?r.push(o=new t(this.O(Ho()),this.O(Ho()),this,this.options)):o=r[a],o._$AI(i),a++;a<r.length&&(this._$AR(o&&o._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},br=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,a,i){this.type=1,this._$AH=K,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=K}_$AI(e,r=this,o,a){let i=this.strings,s=!1;if(i===void 0)e=yr(this,e,r,0),s=!Fo(e)||e!==this._$AH&&e!==Ue,s&&(this._$AH=e);else{let c=e,d,f;for(e=i[0],d=0;d<i.length-1;d++)f=yr(this,c[o+d],r,d),f===Ue&&(f=this._$AH[d]),s||=!Fo(f)||f!==this._$AH[d],f===K?e=K:e!==K&&(e+=(f??"")+i[d+1]),this._$AH[d]=f}s&&!a&&this.j(e)}j(e){e===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bn=class extends br{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===K?void 0:e}},Un=class extends br{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==K)}},Hn=class extends br{constructor(e,r,o,a,i){super(e,r,o,a,i),this.type=5}_$AI(e,r=this){if((e=yr(this,e,r,0)??K)===Ue)return;let o=this._$AH,a=e===K&&o!==K||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,i=e!==K&&(o===K||a);a&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Fn=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){yr(this,e)}},Ja={M:Ka,P:zt,A:Za,C:1,L:zl,R:$n,D:Ml,V:yr,I:Zr,H:br,N:Un,U:Hn,B:Bn,F:Fn},Du=ja.litHtmlPolyfillSupport;Du?.(Go,Zr),(ja.litHtmlVersions??=[]).push("3.3.0");var ei=(t,e,r)=>{let o=r?.renderBefore??e,a=o._$litPart$;if(a===void 0){let i=r?.renderBefore??null;o._$litPart$=a=new Zr(e.insertBefore(Ho(),i),i,void 0,r??{})}return a._$AI(t),a};var ti=globalThis,Dt=class extends St{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ei(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ue}};Dt._$litElement$=!0,Dt.finalized=!0,ti.litElementHydrateSupport?.({LitElement:Dt});var $u=ti.litElementPolyfillSupport;$u?.({LitElement:Dt});var Bu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(ti.litElementVersions??=[]).push("4.2.0");var N5=!1;var ii={};X(ii,{customElement:()=>Uu,eventOptions:()=>Fu,property:()=>v,query:()=>j,queryAll:()=>oi,queryAssignedElements:()=>ni,queryAssignedNodes:()=>ai,queryAsync:()=>Wu,standardProperty:()=>Dl,state:()=>q});var Uu=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Hu={attribute:!0,type:String,converter:Kr,reflect:!1,hasChanged:Bo},Dl=(t=Hu,e,r)=>{let{kind:o,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(o==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+o)};function v(t){return(e,r)=>typeof r=="object"?Dl(t,e,r):((o,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,o),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function q(t){return v({...t,state:!0,attribute:!1})}function Fu(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var pt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function j(t,e){return(r,o,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof o=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return pt(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 pt(r,o,{get(){return i(this)}})}}var Gu;function oi(t){return(e,r)=>pt(e,r,{get(){return(this.renderRoot??(Gu??=document.createDocumentFragment())).querySelectorAll(t)}})}function Wu(t){return(e,r)=>pt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ni(t){return(e,r)=>{let{slot:o,selector:a}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return pt(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function ai(t){return(e,r)=>{let{slot:o}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return pt(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var si={};X(si,{repeat:()=>Yr});var Ct={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ht=t=>(...e)=>({_$litDirective$:t,values:e}),ot=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Vu}=Ja;var Bl=t=>t.strings===void 0,$l=()=>document.createComment(""),qr=(t,e,r)=>{let o=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=o.insertBefore($l(),a),s=o.insertBefore($l(),a);r=new Vu(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let f=d.nextSibling;o.insertBefore(d,a),d=f}}}return r},Zt=(t,e,r=t)=>(t._$AI(e,r),t),ju={},Ul=(t,e=ju)=>t._$AH=e,Hl=t=>t._$AH,Gn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var Fl=(t,e,r)=>{let o=new Map;for(let a=e;a<=r;a++)o.set(t[a],a);return o},Yr=ht(class extends ot{constructor(t){if(super(t),t.type!==Ct.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let a=[],i=[],s=0;for(let c of t)a[s]=o?o(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let a=Hl(t),{values:i,keys:s}=this.dt(e,r,o);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],f,h,p=0,g=a.length-1,S=0,C=i.length-1;for(;p<=g&&S<=C;)if(a[p]===null)p++;else if(a[g]===null)g--;else if(c[p]===s[S])d[S]=Zt(a[p],i[S]),p++,S++;else if(c[g]===s[C])d[C]=Zt(a[g],i[C]),g--,C--;else if(c[p]===s[C])d[C]=Zt(a[p],i[C]),qr(t,d[C+1],a[p]),p++,C--;else if(c[g]===s[S])d[S]=Zt(a[g],i[S]),qr(t,a[p],a[g]),g--,S++;else if(f===void 0&&(f=Fl(s,S,C),h=Fl(c,p,g)),f.has(c[p]))if(f.has(c[g])){let R=h.get(s[S]),T=R!==void 0?a[R]:null;if(T===null){let k=qr(t,a[p]);Zt(k,i[S]),d[S]=k}else d[S]=Zt(T,i[S]),qr(t,a[p],T),a[R]=null;S++}else Gn(a[g]),g--;else Gn(a[p]),p++;for(;S<=C;){let R=qr(t,d[C+1]);Zt(R,i[S]),d[S++]=R}for(;p<=g;){let R=a[p++];R!==null&&Gn(R)}return this.ut=s,Ul(t,d),Ue}});var ci={};X(ci,{classMap:()=>ye});var ye=ht(class extends ot{constructor(t){if(super(t),t.type!==Ct.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let a=!!e[o];a===this.st.has(o)||this.nt?.has(o)||(a?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return Ue}});var li={};X(li,{styleMap:()=>Zu});var Gl="important",Ku=" !"+Gl,Zu=ht(class extends ot{constructor(t){if(super(t),t.type!==Ct.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let a=e[o];if(a!=null){this.ft.add(o);let i=typeof a=="string"&&a.endsWith(Ku);o.includes("-")||i?r.setProperty(o,i?a.slice(0,-11):a,i?Gl:""):r[o]=a}}return Ue}});var di={};X(di,{UnsafeHTMLDirective:()=>Xr,unsafeHTML:()=>Wo});var Xr=class extends ot{constructor(e){if(super(e),this.it=K,e.type!==Ct.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===K||e==null)return this._t=void 0,this.it=e;if(e===Ue)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Xr.directiveName="unsafeHTML",Xr.resultType=1;var Wo=ht(Xr);var vi={};X(vi,{CacheRegistry:()=>Et,ClearCacheEvent:()=>Ko});var ui={};X(ui,{CancelablePromise:()=>Wn,CanceledPromiseError:()=>vr,cancelable:()=>fi});var vr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Wn=class extends Promise{constructor(e){super((r,o)=>e(a=>{this.isCanceled?o(new vr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?o(new vr("Promise has been canceled",void 0,a)):o(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},fi=t=>new Wn((e,r)=>t.then(e).catch(r));var bi={};X(bi,{FtNotificationEvent:()=>jo,PostResizeEvent:()=>yi,PreResizeEvent:()=>gi,WithEventBus:()=>$t,withEventBus:()=>jn});var mi={};X(mi,{applyMixinOnce:()=>Me,dateReviver:()=>Yu,deepCopy:()=>Cr,deepEqual:()=>We,delay:()=>Vn,eventPathContainsMatchingElement:()=>pi,everyDeep:()=>qu,flatDeep:()=>xr,forEachDeep:()=>Vl,getComposedPathTo:()=>hi,hasChanged:()=>mt,last:()=>Qu,minmax:()=>Sr,parseDate:()=>Kl,randomId:()=>Ju,someDeep:()=>jl,unslotText:()=>qt,waitFor:()=>Wl,waitUntil:()=>Vo});var Vn=t=>new Promise(e=>setTimeout(e,t));async function Vo(t,e=10,r=2e4){await Wl(async()=>await t()||void 0,e,r)}async function Wl(t,e=10,r=2e4){let o=await t(),a,i;for(a=i=performance.now();o==null&&(!r||i-a<r);)await Vn(e),o=await t(),i=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function xr(t,e){return t.flatMap(r=>[r,...xr(e(r),e)])}function Vl(t,e,r){let o=(a,i)=>{var s;for(let c=0;c<a.length;c++){let d=a[c];if(!(((s=r(d,c,a,i))!==null&&s!==void 0?s:!0)&&o(e(d),[...i,d])))return!1}return!0};o(t,[])}function jl(t,e,r){let o=!1;return Vl(t,e,(a,i,s,c)=>(o=!!r(a,i,s,c),!o)),o}function qu(t,e,r){return!jl(t,e,(o,a,i,s)=>!r(o,a,i,s))}function Yu(...t){return(e,r)=>t.includes(e)?Kl(r):r}function Kl(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,a)=>r+o+":"+a),new Date(t)}function Xu(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,o,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!We(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!We(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[o]))return!1;for(o=r;o--!==0;){let s=a[o];if(!We(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function We(t,e){try{return Xu(t,e)}catch{return!1}}function mt(t,e){return!We(t,e)}function pi(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let a of o){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Sr(t,e,r){return Math.min(Math.max(t,e),r)}function Qu(t){return t[t.length-1]}function qt(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>qt(e)).join(""):t?.textContent||""}function hi(t){let e=[],r=o=>{o.stopPropagation(),e=o.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Cr(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Ju(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Me(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let a=e(o);return a[t]=!0,a}}var jo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},gi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},yi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},jn=Me(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,a){this.eventBus.addEventListener(r,o,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,a){this.eventBus.removeEventListener(r,o,a)}}}),$t=class extends jn(Object){};var Ko=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Et=class extends $t{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var a;let i=this.content[e],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[e]={...i,loader:r,final:o,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(a=>this.clear(a,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Ko(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Ko([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,a;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(a=this.content[e])===null||a===void 0||delete a.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let a=async()=>r,i="RESOLVED";this.content[e]={loader:a,final:o,status:i,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let a=this.content[e];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return r=r??a.loader,a.status="LOADING",a.promise=fi(r()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,o!=null&&(this.clearClearTimeout(e),a.clearTimeout=window.setTimeout(()=>this.clear(e),o)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Oi={};X(Oi,{ClusteringHelper:()=>Ei,formatHierarchicalValues:()=>Ci});var Si={};X(Si,{accessBreadcrumb:()=>rp,accessResult:()=>xi,accessResultId:()=>ep,accessResultUrl:()=>tp});function xi(t){var e,r,o,a;return(a=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&a!==void 0?a:t?.htmlPackagePage}function ep(t){var e,r,o,a,i,s,c,d,f;return(d=(s=(a=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&a!==void 0?a:(i=t?.document)===null||i===void 0?void 0:i.documentId)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.packageId)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function tp(t){var e,r,o,a,i,s,c,d,f;return(d=(s=(a=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&a!==void 0?a:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&s!==void 0?s:(c=t?.htmlPackage)===null||c===void 0?void 0:c.viewerUrl)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function rp(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function Ci(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Ei=class t{constructor(e,r,o,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=a}static extractResultMetadata(e){let r=xi(e.result).metadata;return e.key==null?t.flattenMetadata(r,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(r.find(o=>o.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,o)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(Ci(c)),s.push(Ci(c,r))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>o?o(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,o="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),f=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(p=>t.extractResultMetadata({result:p,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(p=>p??{key:e,label:f,value:void 0,displayValue:o}).filter(p=>p.value!=d?.value).filter((p,g,S)=>S.findIndex(C=>C.value===p.value)===g).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,g)=>this.compareMetadata(p.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,o,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(o),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of o){let f=this.countMatchingMetadata(d,i);if(f>c&&(c=f,s=d,f===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(a=>a.key===o.key&&a.value===o.value)).length}};var Li={};X(Li,{Debouncer:()=>be});var be=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ai={};X(Ai,{customElement:()=>Y,dateProperty:()=>np,isNumber:()=>Zl,jsonProperty:()=>Pe,numberProperty:()=>Yt,optionalNumberProperty:()=>op});var Y=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Pe(t,e){let r=()=>JSON.parse(JSON.stringify(t));return v({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,...e??{}})}function op(t){return Yt(t)}function Yt(t){return v({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let a=(r=t?.min)!==null&&r!==void 0?r:-1/0,i=(o=t?.max)!==null&&o!==void 0?o:1/0;return Zl(e)?Sr(a,+e,i):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Zl(t){return!isNaN(parseFloat(t))}function np(t){return v({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Vi={};X(Vi,{designSystemVariables:()=>$});var Wi={};X(Wi,{DesignSystemFamily:()=>Ie,DesignSystemSize:()=>Ze,FtCssVariableFactory:()=>n,badge:()=>fp,banner:()=>dp,button:()=>x,chart:()=>Ap,checkbox:()=>W,chip:()=>lp,chipChoice:()=>cp,collapsible:()=>Op,comboboxMultiSelect:()=>Ep,comboboxSingleSelect:()=>Cp,dateRangePicker:()=>Mp,drawer:()=>yp,floatingMenu:()=>Sp,foundation:()=>l,link:()=>Se,modal:()=>gp,notice:()=>wp,notification:()=>Tp,pageDesigner:()=>Rp,pageFooter:()=>hp,pageHeader:()=>pp,pageLayout:()=>mp,popover:()=>Ce,radio:()=>te,reorderableList:()=>kp,resolveFamilyClass:()=>Fi,resolveSizeClass:()=>Gi,semantic:()=>u,setVariable:()=>L,switch_:()=>Lp,table:()=>sp,tabs:()=>bp,textArea:()=>xp,textInput:()=>vp,titleBreadcrumb:()=>up,toggle:()=>_p,tooltip:()=>Np,treeList:()=>ip,typographies:()=>Kn,typographyBody1Medium:()=>ki,typographyBody1Regular:()=>Ni,typographyBody1Semibold:()=>Mi,typographyBody2Medium:()=>Ii,typographyBody2MediumUnderline:()=>ql,typographyBody2Regular:()=>Pi,typographyBody2Semibold:()=>zi,typographyCaption1Medium:()=>Di,typographyCaption1Semibold:()=>$i,typographyCaption2Bold:()=>Hi,typographyCaption2Medium:()=>Bi,typographyCaption2Semibold:()=>Ui,typographyDisplay:()=>Ri,typographyTitle1:()=>wi,typographyTitle2:()=>_i,typographyTitle3:()=>Ti,typographyVariants:()=>ap});var Xt=t=>typeof t=="string"?Kt(t):t,n=class{static create(e,r,o,a){let i=c=>Xt(c??a),s=I`var(${Xt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>L(s,c??i(a)),s.get=c=>I`var(${Xt(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,o,a){let i=c=>o.get(c??a),s=I`var(${Xt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>L(s,c??i(a)),s.get=c=>I`var(${Xt(e)}, ${i(c)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>a??o.lastResortDefaultValue(),s}static external(e,r){let o=i=>e.defaultCssValue(i),a=I`var(${Xt(e.name)}, ${o(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=o,a.set=i=>e.set(i),a.get=i=>I`var(${Xt(e.name)}, ${o(i)})`,a.breadcrumb=()=>e.breadcrumb(),a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function L(t,e){return Xt(`${t.name}: ${e}`)}var l={colorWhite:n.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:n.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:n.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:n.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:n.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:n.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:n.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:n.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:n.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:n.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:n.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:n.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:n.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:n.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:n.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:n.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:n.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:n.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:n.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:n.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:n.create("--ftds-opacity-0","","NUMBER","0"),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)")},Ri={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")},wi={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")},_i={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")},Ti={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")},Ni={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")},ki={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")},Mi={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")},Pi={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")},Ii={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")},ql={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")},zi={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")},Di={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")},$i={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")},Bi={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")},Ui={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")},Hi={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")},Kn={display:Ri,"title-1":wi,"title-2":_i,"title-3":Ti,"body-1-regular":Ni,"body-1-medium":ki,"body-1-semibold":Mi,"body-2-regular":Pi,"body-2-medium":Ii,"body-2-medium-underline":ql,"body-2-semibold":zi,"caption-1-medium":Di,"caption-1-semibold":$i,"caption-2-medium":Bi,"caption-2-semibold":Ui,"caption-2-bold":Hi},ap=["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 x={largeHeight:n.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:n.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:n.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:n.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:n.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:n.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:n.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:n.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:n.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:n.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:n.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:n.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:n.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:n.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:n.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:n.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:n.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:n.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:n.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:n.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:n.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:n.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:n.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:n.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:n.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:n.extend("--ftds-button-primary-brand-background-color","",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 ip={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 W={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 te={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 sp={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 cp={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 lp={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 Se={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 dp={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 fp={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 up={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 pp={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 hp={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 mp={contentHorizontalPadding:n.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:n.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var gp={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 yp={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 bp={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 vp={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 xp={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 Sp={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 Cp={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 Ep={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 Ce={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 Op={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 Lp={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 Ap={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 Rp={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 wp={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 _p={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 Tp={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 Np={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 kp={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 Mp={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 Ie;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ie||(Ie={}));var Ze;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ze||(Ze={}));function Fi(t){return`ftds--family-${t}`}function Gi(t){return`ftds--size-${t}`}var $={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 ji={};X(ji,{DynamicImporter:()=>Zn,dynamicImporter:()=>Pp});var Zn=class{async import(e){if(e)return import(e)}},Pp=new Zn;var ss={};X(ss,{computeOffsetAutoPosition:()=>is,computeOffsetPosition:()=>as});var Xl=["top","right","bottom","left"],Yl=["start","end"],Zi=Xl.reduce((t,e)=>t.concat(e,e+"-"+Yl[0],e+"-"+Yl[1]),[]),Er=Math.min,Ve=Math.max,Zo=Math.round;var gt=t=>({x:t,y:t}),Ip={left:"right",right:"left",bottom:"top",top:"bottom"};function qi(t,e,r){return Ve(t,Er(e,r))}function Qr(t,e){return typeof t=="function"?t(e):t}function Qt(t){return t.split("-")[0]}function Ot(t){return t.split("-")[1]}function Yi(t){return t==="x"?"y":"x"}function Xi(t){return t==="y"?"height":"width"}function Jr(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Qi(t){return Yi(Jr(t))}function Ql(t,e,r){r===void 0&&(r=!1);let o=Ot(t),a=Qi(t),i=Xi(a),s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ki(s)),[s,Ki(s)]}function Jl(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Ki(t){let e=Qt(t);return Ip[e]+t.slice(e.length)}function zp(t){return{top:0,right:0,bottom:0,left:0,...t}}function ed(t){return typeof t!="number"?zp(t):{top:t,right:t,bottom:t,left:t}}function Or(t){let{x:e,y:r,width:o,height:a}=t;return{width:o,height:a,top:r,left:e,right:e+o,bottom:r+a,x:e,y:r}}function td(t,e,r){let{reference:o,floating:a}=t,i=Jr(e),s=Qi(e),c=Xi(s),d=Qt(e),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,S;switch(d){case"top":S={x:h,y:o.y-a.height};break;case"bottom":S={x:h,y:o.y+o.height};break;case"right":S={x:o.x+o.width,y:p};break;case"left":S={x:o.x-a.width,y:p};break;default:S={x:o.x,y:o.y}}switch(Ot(e)){case"start":S[s]-=g*(r&&f?-1:1);break;case"end":S[s]+=g*(r&&f?-1:1);break}return S}async function rd(t,e){var r;e===void 0&&(e={});let{x:o,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:g=!1,padding:S=0}=Qr(e,t),C=ed(S),T=c[g?p==="floating"?"reference":"floating":p],k=Or(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(T)))==null||r?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:d})),M=p==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),E=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},w=Or(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:M,offsetParent:O,strategy:d}):M);return{top:(k.top-w.top+C.top)/E.y,bottom:(w.bottom-k.bottom+C.bottom)/E.y,left:(k.left-w.left+C.left)/E.x,right:(w.right-k.right+C.right)/E.x}}var Dp=50,od=async(t,e,r)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:rd},d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:p}=td(f,o,d),g=o,S=0,C={};for(let R=0;R<i.length;R++){let T=i[R];if(!T)continue;let{name:k,fn:M}=T,{x:O,y:E,data:w,reset:D}=await M({x:h,y:p,initialPlacement:o,placement:g,strategy:a,middlewareData:C,rects:f,platform:c,elements:{reference:t,floating:e}});h=O??h,p=E??p,C[k]={...C[k],...w},D&&S<Dp&&(S++,typeof D=="object"&&(D.placement&&(g=D.placement),D.rects&&(f=D.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):D.rects),{x:h,y:p}=td(f,g,d)),R=-1)}return{x:h,y:p,placement:g,strategy:a,middlewareData:C}};function $p(t,e,r){return(t?[...r.filter(a=>Ot(a)===t),...r.filter(a=>Ot(a)!==t)]:r.filter(a=>Qt(a)===a)).filter(a=>t?Ot(a)===t||(e?Jl(a)!==a:!1):!0)}var nd=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:g=Zi,autoAlignment:S=!0,...C}=Qr(t,e),R=p!==void 0||g===Zi?$p(p||null,S,g):g,T=await d.detectOverflow(e,C),k=((r=s.autoPlacement)==null?void 0:r.index)||0,M=R[k];if(M==null)return{};let O=Ql(M,i,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(c!==M)return{reset:{placement:R[0]}};let E=[T[Qt(M)],T[O[0]],T[O[1]]],w=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:M,overflows:E}],D=R[k+1];if(D)return{data:{index:k+1,overflows:w},reset:{placement:D}};let Z=w.map(G=>{let b=Ot(G.placement);return[G.placement,b&&h?G.overflows.slice(0,2).reduce((A,B)=>A+B,0):G.overflows[0],G.overflows]}).sort((G,b)=>G[1]-b[1]),Q=((a=Z.filter(G=>G[2].slice(0,Ot(G[0])?2:3).every(b=>b<=0))[0])==null?void 0:a[0])||Z[0][0];return Q!==c?{data:{index:k+1,overflows:w},reset:{placement:Q}}:{}}}};var Bp=new Set(["left","top"]);async function Up(t,e){let{placement:r,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Qt(r),c=Ot(r),d=Jr(r)==="y",f=Bp.has(s)?-1:1,h=i&&d?-1:1,p=Qr(e,t),{mainAxis:g,crossAxis:S,alignmentAxis:C}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof C=="number"&&(S=c==="end"?C*-1:C),d?{x:S*h,y:g*f}:{x:g*f,y:S*h}}var ad=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await Up(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},id=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:a,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:k=>{let{x:M,y:O}=k;return{x:M,y:O}}},...f}=Qr(t,e),h={x:r,y:o},p=await i.detectOverflow(e,f),g=Jr(Qt(a)),S=Yi(g),C=h[S],R=h[g];if(s){let k=S==="y"?"top":"left",M=S==="y"?"bottom":"right",O=C+p[k],E=C-p[M];C=qi(O,C,E)}if(c){let k=g==="y"?"top":"left",M=g==="y"?"bottom":"right",O=R+p[k],E=R-p[M];R=qi(O,R,E)}let T=d.fn({...e,[S]:C,[g]:R});return{...T,data:{x:T.x-r,y:T.y-o,enabled:{[S]:s,[g]:c}}}}}};var sd=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,o;let{placement:a,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...f}=Qr(t,e),h=await s.detectOverflow(e,f),p=Qt(a),g=Ot(a),S=Jr(a)==="y",{width:C,height:R}=i.floating,T,k;p==="top"||p==="bottom"?(T=p,k=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(k=p,T=g==="end"?"top":"bottom");let M=R-h.top-h.bottom,O=C-h.left-h.right,E=Er(R-h[T],M),w=Er(C-h[k],O),D=!e.middlewareData.shift,Z=E,J=w;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(J=O),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(Z=M),D&&!g){let G=Ve(h.left,0),b=Ve(h.right,0),A=Ve(h.top,0),B=Ve(h.bottom,0);S?J=C-2*(G!==0||b!==0?G+b:Ve(h.left,h.right)):Z=R-2*(A!==0||B!==0?A+B:Ve(h.top,h.bottom))}await d({...e,availableWidth:J,availableHeight:Z});let Q=await s.getDimensions(c.floating);return C!==Q.width||R!==Q.height?{reset:{rects:!0}}:{}}}};function Yn(){return typeof window<"u"}function Ar(t){return ld(t)?(t.nodeName||"").toLowerCase():"#document"}function je(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Lt(t){var e;return(e=(ld(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ld(t){return Yn()?t instanceof Node||t instanceof je(t).Node:!1}function nt(t){return Yn()?t instanceof Element||t instanceof je(t).Element:!1}function At(t){return Yn()?t instanceof HTMLElement||t instanceof je(t).HTMLElement:!1}function cd(t){return!Yn()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof je(t).ShadowRoot}function eo(t){let{overflow:e,overflowX:r,overflowY:o,display:a}=at(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&a!=="inline"&&a!=="contents"}function dd(t){return/^(table|td|th)$/.test(Ar(t))}function qo(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var Hp=/transform|translate|scale|rotate|perspective|filter/,Fp=/paint|layout|strict|content/,Lr=t=>!!t&&t!=="none",Ji;function Xn(t){let e=nt(t)?at(t):t;return Lr(e.transform)||Lr(e.translate)||Lr(e.scale)||Lr(e.rotate)||Lr(e.perspective)||!Qn()&&(Lr(e.backdropFilter)||Lr(e.filter))||Hp.test(e.willChange||"")||Fp.test(e.contain||"")}function fd(t){let e=Bt(t);for(;At(e)&&!Rr(e);){if(Xn(e))return e;if(qo(e))return null;e=Bt(e)}return null}function Qn(){return Ji==null&&(Ji=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ji}function Rr(t){return/^(html|body|#document)$/.test(Ar(t))}function at(t){return je(t).getComputedStyle(t)}function Yo(t){return nt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Bt(t){if(Ar(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cd(t)&&t.host||Lt(t);return cd(e)?e.host:e}function ud(t){let e=Bt(t);return Rr(e)?t.ownerDocument?t.ownerDocument.body:t.body:At(e)&&eo(e)?e:ud(e)}function qn(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=ud(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=je(a);if(i){let c=Jn(s);return e.concat(s,s.visualViewport||[],eo(a)?a:[],c&&r?qn(c):[])}else return e.concat(a,qn(a,[],r))}function Jn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function gd(t){let e=at(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,a=At(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:o,c=Zo(r)!==i||Zo(o)!==s;return c&&(r=i,o=s),{width:r,height:o,$:c}}function yd(t){return nt(t)?t:t.contextElement}function to(t){let e=yd(t);if(!At(e))return gt(1);let r=e.getBoundingClientRect(),{width:o,height:a,$:i}=gd(e),s=(i?Zo(r.width):r.width)/o,c=(i?Zo(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Gp=gt(0);function bd(t){let e=je(t);return!Qn()||!e.visualViewport?Gp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==je(t)?!1:e}function Xo(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=yd(t),s=gt(1);e&&(o?nt(o)&&(s=to(o)):s=to(t));let c=Wp(i,r,o)?bd(i):gt(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=je(i),S=o&&nt(o)?je(o):o,C=g,R=Jn(C);for(;R&&o&&S!==C;){let T=to(R),k=R.getBoundingClientRect(),M=at(R),O=k.left+(R.clientLeft+parseFloat(M.paddingLeft))*T.x,E=k.top+(R.clientTop+parseFloat(M.paddingTop))*T.y;d*=T.x,f*=T.y,h*=T.x,p*=T.y,d+=O,f+=E,C=je(R),R=Jn(C)}}return Or({width:h,height:p,x:d,y:f})}function ea(t,e){let r=Yo(t).scrollLeft;return e?e.left+r:Xo(Lt(t)).left+r}function vd(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-ea(t,r),a=r.top+e.scrollTop;return{x:o,y:a}}function Vp(t){let{elements:e,rect:r,offsetParent:o,strategy:a}=t,i=a==="fixed",s=Lt(o),c=e?qo(e.floating):!1;if(o===s||c&&i)return r;let d={scrollLeft:0,scrollTop:0},f=gt(1),h=gt(0),p=At(o);if((p||!p&&!i)&&((Ar(o)!=="body"||eo(s))&&(d=Yo(o)),p)){let S=Xo(o);f=to(o),h.x=S.x+o.clientLeft,h.y=S.y+o.clientTop}let g=s&&!p&&!i?vd(s,d):gt(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 jp(t){return Array.from(t.getClientRects())}function Kp(t){let e=Lt(t),r=Yo(t),o=t.ownerDocument.body,a=Ve(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Ve(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+ea(t),c=-r.scrollTop;return at(o).direction==="rtl"&&(s+=Ve(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:c}}var pd=25;function Zp(t,e){let r=je(t),o=Lt(t),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let h=Qn();(!h||h&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}let f=ea(o);if(f<=0){let h=o.ownerDocument,p=h.body,g=getComputedStyle(p),S=h.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,C=Math.abs(o.clientWidth-p.clientWidth-S);C<=pd&&(i-=C)}else f<=pd&&(i+=f);return{width:i,height:s,x:c,y:d}}function qp(t,e){let r=Xo(t,!0,e==="fixed"),o=r.top+t.clientTop,a=r.left+t.clientLeft,i=At(t)?to(t):gt(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,f=o*i.y;return{width:s,height:c,x:d,y:f}}function hd(t,e,r){let o;if(e==="viewport")o=Zp(t,r);else if(e==="document")o=Kp(Lt(t));else if(nt(e))o=qp(e,r);else{let a=bd(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Or(o)}function xd(t,e){let r=Bt(t);return r===e||!nt(r)||Rr(r)?!1:at(r).position==="fixed"||xd(r,e)}function Yp(t,e){let r=e.get(t);if(r)return r;let o=qn(t,[],!1).filter(c=>nt(c)&&Ar(c)!=="body"),a=null,i=at(t).position==="fixed",s=i?Bt(t):t;for(;nt(s)&&!Rr(s);){let c=at(s),d=Xn(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||eo(s)&&!d&&xd(t,s))?o=o.filter(h=>h!==s):a=c,s=Bt(s)}return e.set(t,o),o}function Xp(t){let{element:e,boundary:r,rootBoundary:o,strategy:a}=t,s=[...r==="clippingAncestors"?qo(e)?[]:Yp(e,this._c):[].concat(r),o],c=hd(e,s[0],a),d=c.top,f=c.right,h=c.bottom,p=c.left;for(let g=1;g<s.length;g++){let S=hd(e,s[g],a);d=Ve(S.top,d),f=Er(S.right,f),h=Er(S.bottom,h),p=Ve(S.left,p)}return{width:f-p,height:h-d,x:p,y:d}}function Qp(t){let{width:e,height:r}=gd(t);return{width:e,height:r}}function Jp(t,e,r){let o=At(e),a=Lt(e),i=r==="fixed",s=Xo(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=gt(0);function f(){d.x=ea(a)}if(o||!o&&!i)if((Ar(e)!=="body"||eo(a))&&(c=Yo(e)),o){let S=Xo(e,!0,i,e);d.x=S.x+e.clientLeft,d.y=S.y+e.clientTop}else a&&f();i&&!o&&a&&f();let h=a&&!o&&!i?vd(a,c):gt(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 es(t){return at(t).position==="static"}function md(t,e){if(!At(t)||at(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Lt(t)===r&&(r=r.ownerDocument.body),r}function Sd(t,e){let r=je(t);if(qo(t))return r;if(!At(t)){let a=Bt(t);for(;a&&!Rr(a);){if(nt(a)&&!es(a))return a;a=Bt(a)}return r}let o=md(t,e);for(;o&&dd(o)&&es(o);)o=md(o,e);return o&&Rr(o)&&es(o)&&!Xn(o)?r:o||fd(t)||r}var e4=async function(t){let e=this.getOffsetParent||Sd,r=this.getDimensions,o=await r(t.floating);return{reference:Jp(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function t4(t){return at(t).direction==="rtl"}var ro={convertOffsetParentRelativeRectToViewportRelativeRect:Vp,getDocumentElement:Lt,getClippingRect:Xp,getOffsetParent:Sd,getElementRects:e4,getClientRects:jp,getDimensions:Qp,getScale:to,isElement:nt,isRTL:t4};var Cd=ad,ts=nd,Ed=id;var Od=sd;var rs=(t,e,r)=>{let o=new Map,a={platform:ro,...r},i={...a.platform,_c:o};return od(t,e,{...a,platform:i})};function ns(t){return r4(t)}function os(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function r4(t){for(let e=t;e;e=os(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=os(t);e;e=os(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function as(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},rs(t,e,{strategy:o.strategy,platform:{...ro,getOffsetParent:a=>ro.getOffsetParent(a,ns)},middleware:[Ed({crossAxis:!0}),ts({allowedPlacements:[o.placement]})]})}async function is(t,e,r,o,a,i,s){let c,d;return typeof r=="object"?(c=r.placement,o=r.allowedPlacements,a=r.strategy,i=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):c=r,rs(t,e,{placement:c,strategy:a,platform:{...ro,getOffsetParent:f=>ro.getOffsetParent(f,ns)},middleware:[Cd(s??4),ts({allowedPlacements:o}),Od({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 cs={};X(cs,{isSlotEmptyOrWithoutContent:()=>o4});var o4=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var a;return o.nodeType===Node.TEXT_NODE?((a=o.textContent)!==null&&a!==void 0?a:"").trim().length>0:!0}).length===0:!0;var ps={};X(ps,{FtdsBase:()=>Jo,toFtdsBase:()=>Rt});var us={};X(us,{ExportpartsUpdatedEvent:()=>wr,FtLitElement:()=>V});var ls={};X(ls,{ScopedRegistryLitElement:()=>Qo});var Qo=class extends Dt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return Do(o,e.elementStyles),o}};var fs={};X(fs,{shadowQuerySelector:()=>ds,shadowQuerySelectorAll:()=>n4});function ds(t,e,...r){var o;let a=t.querySelector(e);for(let i of r)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}function n4(t,e,...r){let o=[...t.querySelectorAll(e)];for(let a of r)o=o.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return o}var oo=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},wd,Ld=Symbol("constructorPrototype"),Ad=Symbol("constructorName"),_d=Symbol("exportpartsDebouncer"),Rd=Symbol("dynamicDependenciesLoaded"),wr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};wr.eventName="exportparts-updated";var V=class extends Qo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[wd]=new be(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[_d].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[Ad]=this.constructor.name,this[Ld]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ad]&&Object.setPrototypeOf(this,this[Ld])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Rd]||(r[Rd]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(wr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(wr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new wr)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];r=ds(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,a;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(e){var r,o,a,i,s,c;let d=g=>g!=null&&g.trim().length>0,f=e.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 S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],C=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],R=[...S,...C].filter(d).map(T=>T.trim());for(let T of R)h.add(T)}if(h.size===0){this.exportparts=void 0;return}let p=[...h.values()].flatMap(g=>f.map(S=>`${g}:${S}--${g}`));this.exportparts=[...this.part,...p].join(", ")}};wd=_d;oo([v()],V.prototype,"exportpartsPrefix",void 0);oo([Pe([])],V.prototype,"exportpartsPrefixes",void 0);oo([v({reflect:!0})],V.prototype,"exportparts",void 0);oo([v()],V.prototype,"customStylesheet",void 0);oo([v()],V.prototype,"elementToFocus",void 0);oo([q()],V.prototype,"useAdoptedStyleSheets",void 0);var Td=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Rt=Me(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Ze.medium,this.family=Ie.neutral}getDesignSystemBaseClasses(){return{[Fi(this.family)]:!0,[Gi(this.size)]:!0}}}return Td([v()],e.prototype,"size",void 0),Td([v()],e.prototype,"family",void 0),e}),Jo=class extends Rt(V){};var Nd={};var gs={};X(gs,{highlightHtml:()=>ms,highlightHtmlColorCssVariable:()=>kd,highlightHtmlStyles:()=>i4});var _r=class t{constructor(e,r=!0,o=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=a}static matches(e,r){let o=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return o.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let a=r.filter(i=>i.contains(o)).length>0;r.indexOf(o)===-1&&!a&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{o()}a&&r(a)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,a=>{o++,this.waitForIframes(a.querySelector("html"),()=>{--o||r()})},a=>{a||r()})}forEachIframe(e,r,o,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(c++,o(h)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let a=e.compareDocumentPosition(o),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(o),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===o&&(i=d,s=c.handled)}),this.compareNodeIframe(e,r,o)?(i===!1&&!s?a.push({val:o,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,a)})})}iterateThroughNodes(e,r,o,a,i){let s=this.createIterator(r,e,a),c=[],d=[],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(e,S=>d.push(S),a)}),d.push(f);d.forEach(g=>{o(g)}),this.iframes&&this.handleOpenIframes(c,e,o,a),i()}forEachNode(e,r,o,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,o,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var en=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new _r(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${o}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,a)=>{let i=a.charAt(o+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{o.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,a=typeof o=="string"?o:o.value,i=typeof o=="string"?[]:o.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,a)=>a.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,o);c&&(a.start=i,a.length=s-i,r.push(a),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,a,i=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),a=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:a,valid:i}}checkWhitespaceRanges(e,r,o){let a,i=!0,s=o.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{o.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return _r.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(o-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,o,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let f=r-s.start,h=(o>s.end?s.end:o)-s.start,p=e.value.substr(0,s.start),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=p+g,e.nodes.forEach((S,C)=>{C>=c&&(e.nodes[C].start>0&&C!==c&&(e.nodes[C].start-=h),e.nodes[C].end-=h)}),o-=h,i(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.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),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,o,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let 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)=>{e.lastIndex=g,a(p)})}i()})}wrapRangeFromIndex(e,r,o,a){this.getTextNodes(i=>{let s=i.value.length;e.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(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,a="wrapMatches",i=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,o),i,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,S)=>this.opt.filter(S,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(e,r){this.opt=r;let o=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,d)=>this.opt.filter(i,s,c,d),(i,s)=>{o++,this.opt.each(i,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let a=_r.matches(o,r),i=this.matchesExclude(o);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function hs(t){let e=new en(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var a4=hs,kd=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),i4=I`
|
|
6
6
|
.highlight-html-match {
|
|
7
7
|
background: ${kd};
|
|
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 Md={};var vs={};X(vs,{ParametrizedLabelResolver:()=>tn});var tn=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,a;e=this.resolvePluralKey(e,r);let i=(a=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let a=`${String(e)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var Ws={};X(Ws,{FtCommandQueue:()=>rn,FtLitElementRedux:()=>nn,FtReduxStore:()=>Mr,FtStateManager:()=>Gs,ReduxWatcher:()=>ia,clearAllStores:()=>j4,isFtReduxStore:()=>ao,redux:()=>no,reduxEventListener:()=>l4,reduxReactive:()=>c4,watch:()=>K4,withRedux:()=>Pd});var c4=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},no=t=>{let e=t??{};return(r,o)=>{var a;let i={hasChanged:mt,attribute:!1,...e};v(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=e.selector)!==null&&a!==void 0?a:c=>c[o],store:e.store})}},l4=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var rn=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function ao(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var on=Symbol("internalReduxEventsUnsubscribers"),Jt=Symbol("internalStoresUnsubscribers"),Tr=Symbol("internalStores"),Pd=Me(Symbol("withRedux"),function(t){var e,r,o;class a extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Tr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Tr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Tr].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[Tr].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[Tr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Tr].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[Jt].has(s.store):this[Jt].size>0)&&(this[c]=s.selector(f.getState(),this))}})}subscribeToStore(s,c){var d;this[Jt].set(s,c.subscribe(()=>this.updateFromStores())),this[on].set(s,[]),ao(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[on].get(s).push(()=>c.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Jt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[Jt].has(s)&&this[Jt].get(s)(),this[Jt].delete(s),(c=this[on].get(s))===null||c===void 0||c.forEach(d=>d()),this[on].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Jt,r=Tr,o=on,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),nn=class extends Pd(V){};function it(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ht(t){return!!t&&!!t[pe]}function yt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===y4}(t)||Array.isArray(t)||!!t[Hd]||!!(!((e=t.constructor)===null||e===void 0)&&e[Hd])||ws(t)||_s(t))}function Nr(t,e,r){r===void 0&&(r=!1),co(t)===0?(r?Object.keys:so)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,a){return e(a,o,t)})}function co(t){var e=t[pe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ws(t)?2:_s(t)?3:0}function io(t,e){return co(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function d4(t,e){return co(t)===2?t.get(e):t[e]}function Fd(t,e,r){var o=co(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Gd(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ws(t){return m4&&t instanceof Map}function _s(t){return g4&&t instanceof Set}function er(t){return t.o||t.t}function Ts(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=jd(t);delete e[pe];for(var r=so(e),o=0;o<r.length;o++){var a=r[o],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Ns(t,e){return e===void 0&&(e=!1),ks(t)||Ht(t)||!yt(t)||(co(t)>1&&(t.set=t.add=t.clear=t.delete=f4),Object.freeze(t),e&&Nr(t,function(r,o){return Ns(o,!0)},!0)),t}function f4(){it(2)}function ks(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function wt(t){var e=Rs[t];return e||it(18,t),e}function u4(t,e){Rs[t]||(Rs[t]=e)}function Os(){return sn}function xs(t,e){e&&(wt("Patches"),t.u=[],t.s=[],t.v=e)}function ta(t){Ls(t),t.p.forEach(p4),t.p=null}function Ls(t){t===sn&&(sn=t.l)}function Id(t){return sn={p:[],l:sn,h:t,m:!0,_:0}}function p4(t){var e=t[pe];e.i===0||e.i===1?e.j():e.g=!0}function Ss(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||wt("ES5").S(e,t,o),o?(r[pe].P&&(ta(e),it(4)),yt(t)&&(t=ra(e,t),e.l||oa(e,t)),e.u&&wt("Patches").M(r[pe].t,t,e.u,e.s)):t=ra(e,r,[]),ta(e),e.u&&e.v(e.u,e.s),t!==Vd?t:void 0}function ra(t,e,r){if(ks(e))return e;var o=e[pe];if(!o)return Nr(e,function(c,d){return zd(t,o,e,c,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return oa(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Ts(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 zd(t,o,a,c,d,r,s)}),oa(t,a,!1),r&&t.u&&wt("Patches").N(o,r,t.u,t.s)}return o.o}function zd(t,e,r,o,a,i,s){if(Ht(a)){var c=ra(t,a,i&&e&&e.i!==3&&!io(e.R,o)?i.concat(o):void 0);if(Fd(r,o,c),!Ht(c))return;t.m=!1}else s&&r.add(a);if(yt(a)&&!ks(a)){if(!t.h.D&&t._<1)return;ra(t,a),e&&e.A.l||oa(t,a)}}function oa(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ns(e,r)}function Cs(t,e){var r=t[pe];return(r?er(r):t)[e]}function Dd(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function tr(t){t.P||(t.P=!0,t.l&&tr(t.l))}function Es(t){t.o||(t.o=Ts(t.t))}function As(t,e,r){var o=ws(e)?wt("MapSet").F(e,r):_s(e)?wt("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Os(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,f=cn;s&&(d=[c],f=an);var h=Proxy.revocable(d,f),p=h.revoke,g=h.proxy;return c.k=g,c.j=p,g}(e,r):wt("ES5").J(e,r);return(r?r.A:Os()).p.push(o),o}function h4(t){return Ht(t)||it(22,t),function e(r){if(!yt(r))return r;var o,a=r[pe],i=co(r);if(a){if(!a.P&&(a.i<4||!wt("ES5").K(a)))return a.t;a.I=!0,o=$d(r,i),a.I=!1}else o=$d(r,i);return Nr(o,function(s,c){a&&d4(a.t,s)===c||Fd(o,s,e(c))}),i===3?new Set(o):o}(t)}function $d(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ts(t)}function Wd(){function t(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var f=this[pe];return cn.get(f,s)},set:function(f){var h=this[pe];cn.set(h,s,f)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][pe];if(!d.P)switch(d.i){case 5:o(d)&&tr(d);break;case 4:r(d)&&tr(d)}}}function r(s){for(var c=s.t,d=s.k,f=so(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==pe){var g=c[p];if(g===void 0&&!io(c,p))return!0;var S=d[p],C=S&&S[pe];if(C?C.t!==g:!Gd(S,g))return!0}}var R=!!c[pe];return f.length!==so(c).length+(R?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&&it(3,JSON.stringify(er(s)))}var i={};u4("ES5",{J:function(s,c){var d=Array.isArray(s),f=function(p,g){if(p){for(var S=Array(g.length),C=0;C<g.length;C++)Object.defineProperty(S,""+C,t(C,!0));return S}var R=jd(g);delete R[pe];for(var T=so(R),k=0;k<T.length;k++){var M=T[k];R[M]=t(M,p||!!R[M].enumerable)}return Object.create(Object.getPrototypeOf(g),R)}(d,s),h={i:d?5:4,A:c?c.A:Os(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,pe,{value:h,writable:!0}),f},S:function(s,c,d){d?Ht(c)&&c[pe].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[pe];if(p){var g=p.t,S=p.k,C=p.R,R=p.i;if(R===4)Nr(S,function(E){E!==pe&&(g[E]!==void 0||io(g,E)?C[E]||f(S[E]):(C[E]=!0,tr(p)))}),Nr(g,function(E){S[E]!==void 0||io(S,E)||(C[E]=!1,tr(p))});else if(R===5){if(o(p)&&(tr(p),C.length=!0),S.length<g.length)for(var T=S.length;T<g.length;T++)C[T]=!1;else for(var k=g.length;k<S.length;k++)C[k]=!0;for(var M=Math.min(S.length,g.length),O=0;O<M;O++)S.hasOwnProperty(O)||(C[O]=!0),C[O]===void 0&&f(S[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Bd,sn,Ms=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",m4=typeof Map<"u",g4=typeof Set<"u",Ud=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Vd=Ms?Symbol.for("immer-nothing"):((Bd={})["immer-nothing"]=!0,Bd),Hd=Ms?Symbol.for("immer-draftable"):"__$immer_draftable",pe=Ms?Symbol.for("immer-state"):"__$immer_state";var y4=""+Object.prototype.constructor,so=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,jd=Object.getOwnPropertyDescriptors||function(t){var e={};return so(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Rs={},cn={get:function(t,e){if(e===pe)return t;var r=er(t);if(!io(r,e))return function(a,i,s){var c,d=Dd(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(t,r,e);var o=r[e];return t.I||!yt(o)?o:o===Cs(t.t,e)?(Es(t),t.o[e]=As(t.A.h,o,t)):o},has:function(t,e){return e in er(t)},ownKeys:function(t){return Reflect.ownKeys(er(t))},set:function(t,e,r){var o=Dd(er(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var a=Cs(er(t),e),i=a?.[pe];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Gd(r,a)&&(r!==void 0||io(t.t,e)))return!0;Es(t),tr(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Cs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Es(t),tr(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=er(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){it(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){it(12)}},an={};Nr(cn,function(t,e){an[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),an.deleteProperty=function(t,e){return an.set.call(this,t,e,void 0)},an.set=function(t,e,r){return cn.set.call(this,t[0],e,r,t[0])};var b4=function(){function t(r){var o=this;this.O=Ud,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(R){var T=this;R===void 0&&(R=c);for(var k=arguments.length,M=Array(k>1?k-1:0),O=1;O<k;O++)M[O-1]=arguments[O];return d.produce(R,function(E){var w;return(w=i).call.apply(w,[T,E].concat(M))})}}var f;if(typeof i!="function"&&it(6),s!==void 0&&typeof s!="function"&&it(7),yt(a)){var h=Id(o),p=As(o,a,void 0),g=!0;try{f=i(p),g=!1}finally{g?ta(h):Ls(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(R){return xs(h,s),Ss(R,h)},function(R){throw ta(h),R}):(xs(h,s),Ss(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Vd&&(f=void 0),o.D&&Ns(f,!0),s){var S=[],C=[];wt("Patches").M(a,f,S,C),s(S,C)}return f}it(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(S){return a.apply(void 0,[S].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 e=t.prototype;return e.createDraft=function(r){yt(r)||it(8),Ht(r)&&(r=h4(r));var o=Id(this),a=As(this,r,void 0);return a[pe].C=!0,Ls(o),a},e.finishDraft=function(r,o){var a=r&&r[pe],i=a.A;return xs(i,o),Ss(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ud&&it(20),this.O=r},e.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=wt("Patches").$;return Ht(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},t}(),Ye=new b4,v4=Ye.produce,Yx=Ye.produceWithPatches.bind(Ye),Xx=Ye.setAutoFreeze.bind(Ye),Qx=Ye.setUseProxies.bind(Ye),Jx=Ye.applyPatches.bind(Ye),eS=Ye.createDraft.bind(Ye),tS=Ye.finishDraft.bind(Ye),na=v4;function kr(t){"@babel/helpers - typeof";return kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kr(t)}function Kd(t,e){if(kr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(kr(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Zd(t){var e=Kd(t,"string");return kr(e)=="symbol"?e:e+""}function qd(t,e,r){return(e=Zd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,o)}return r}function Ps(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Yd(Object(r),!0).forEach(function(o){qd(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yd(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function He(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Xd=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Is=function(){return Math.random().toString(36).substring(7).split("").join(".")},aa={INIT:"@@redux/INIT"+Is(),REPLACE:"@@redux/REPLACE"+Is(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Is()}};function x4(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function zs(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(He(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(He(1));return r(zs)(t,e)}if(typeof t!="function")throw new Error(He(2));var a=t,i=e,s=[],c=s,d=!1;function f(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(He(3));return i}function p(R){if(typeof R!="function")throw new Error(He(4));if(d)throw new Error(He(5));var T=!0;return f(),c.push(R),function(){if(T){if(d)throw new Error(He(6));T=!1,f();var M=c.indexOf(R);c.splice(M,1),s=null}}}function g(R){if(!x4(R))throw new Error(He(7));if(typeof R.type>"u")throw new Error(He(8));if(d)throw new Error(He(9));try{d=!0,i=a(i,R)}finally{d=!1}for(var T=s=c,k=0;k<T.length;k++){var M=T[k];M()}return R}function S(R){if(typeof R!="function")throw new Error(He(10));a=R,g({type:aa.REPLACE})}function C(){var R,T=p;return R={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(He(11));function O(){M.next&&M.next(h())}O();var E=T(O);return{unsubscribe:E}}},R[Xd]=function(){return this},R}return g({type:aa.INIT}),o={dispatch:g,subscribe:p,getState:h,replaceReducer:S},o[Xd]=C,o}function S4(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:aa.INIT});if(typeof o>"u")throw new Error(He(12));if(typeof r(void 0,{type:aa.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(He(13))})}function Qd(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var a=e[o];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{S4(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,S={},C=0;C<i.length;C++){var R=i[C],T=r[R],k=f[R],M=T(k,h);if(typeof M>"u"){var O=h&&h.type;throw new Error(He(14))}S[R]=M,g=g||M!==k}return g=g||i.length!==Object.keys(f).length,g?S:f}}function lo(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Jd(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(He(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return i=lo.apply(void 0,c)(a.dispatch),Ps(Ps({},a),{},{dispatch:i})}}}function e1(t){var e=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var t1=e1();t1.withExtraArgument=e1;var Ds=t1;var i1=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),C4=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(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=e.call(t,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}}},fo=function(t,e){for(var r=0,o=e.length,a=t.length;r<o;r++,a++)t[a]=e[r];return t},E4=Object.defineProperty,O4=Object.defineProperties,L4=Object.getOwnPropertyDescriptors,r1=Object.getOwnPropertySymbols,A4=Object.prototype.hasOwnProperty,R4=Object.prototype.propertyIsEnumerable,o1=function(t,e,r){return e in t?E4(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},rr=function(t,e){for(var r in e||(e={}))A4.call(e,r)&&o1(t,r,e[r]);if(r1)for(var o=0,a=r1(e);o<a.length;o++){var r=a[o];R4.call(e,r)&&o1(t,r,e[r])}return t},$s=function(t,e){return O4(t,L4(e))},w4=function(t,e,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(t,e)).next())})};var _4=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lo:lo.apply(null,arguments)},vS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function T4(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var N4=function(t){i1(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,fo([void 0],r[0].concat(this)))):new(e.bind.apply(e,fo([void 0],r.concat(this))))},e}(Array),k4=function(t){i1(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,fo([void 0],r[0].concat(this)))):new(e.bind.apply(e,fo([void 0],r.concat(this))))},e}(Array);function Hs(t){return yt(t)?na(t,function(){}):t}function M4(t){return typeof t=="boolean"}function P4(){return function(e){return I4(e)}}function I4(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,a=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,c=new N4;if(r&&(M4(r)?c.push(Ds):c.push(Ds.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return c}var Bs=!0;function s1(t){var e=P4(),r=t||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,c=r.devTools,d=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,g=p===void 0?void 0:p,S;if(typeof a=="function")S=a;else if(T4(a))S=Qd(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var C=s;if(typeof C=="function"&&(C=C(e),!Bs&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bs&&C.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=Jd.apply(void 0,C),T=lo;d&&(T=_4(rr({trace:!Bs},typeof d=="object"&&d)));var k=new k4(R),M=k;Array.isArray(g)?M=fo([R],g):typeof g=="function"&&(M=g(k));var O=T.apply(void 0,M);return zs(S,h,O)}function or(t,e){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return rr(rr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function c1(t){var e={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return t(a),[e,r,o]}function z4(t){return typeof t=="function"}function D4(t,e,r,o){r===void 0&&(r=[]);var a=typeof e=="function"?c1(e):[e,r,o],i=a[0],s=a[1],c=a[2],d;if(z4(t))d=function(){return Hs(t())};else{var f=Hs(t);d=function(){return f}}function h(p,g){p===void 0&&(p=d());var S=fo([i[g.type]],s.filter(function(C){var R=C.matcher;return R(g)}).map(function(C){var R=C.reducer;return R}));return S.filter(function(C){return!!C}).length===0&&(S=[c]),S.reduce(function(C,R){if(R)if(Ht(C)){var T=C,k=R(T,g);return k===void 0?C:k}else{if(yt(C))return na(C,function(M){return R(M,g)});var k=R(C,g);if(k===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return k}return C},p)}return h.getInitialState=d,h}function $4(t,e){return t+"/"+e}function l1(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Hs(t.initialState),o=t.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(h){var p=o[h],g=$4(e,h),S,C;"reducer"in p?(S=p.reducer,C=p.prepare):S=p,i[h]=S,s[g]=S,c[h]=C?or(g,C):or(g)});function d(){var h=typeof t.extraReducers=="function"?c1(t.extraReducers):[t.extraReducers],p=h[0],g=p===void 0?{}:p,S=h[1],C=S===void 0?[]:S,R=h[2],T=R===void 0?void 0:R,k=rr(rr({},g),s);return D4(r,function(M){for(var O in k)M.addCase(O,k[O]);for(var E=0,w=C;E<w.length;E++){var D=w[E];M.addMatcher(D.matcher,D.reducer)}T&&M.addDefaultCase(T)})}var f;return{name:e,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:c,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var B4="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",U4=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=B4[Math.random()*64|0];return e},H4=["name","message","stack","code"],Us=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),n1=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),F4=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=H4;r<o.length;r++){var a=o[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},ES=function(){function t(e,r,o){var a=or(e+"/fulfilled",function(h,p,g,S){return{payload:h,meta:$s(rr({},S||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=or(e+"/pending",function(h,p,g){return{payload:void 0,meta:$s(rr({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=or(e+"/rejected",function(h,p,g,S,C){return{payload:S,error:(o&&o.serializeError||F4)(h||"Rejected"),meta:$s(rr({},C||{}),{arg:g,requestId:p,rejectedWithValue:!!S,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,S){var C=o?.idGenerator?o.idGenerator(h):U4(),R=new d,T,k=!1;function M(E){T=E,R.abort()}var O=function(){return w4(this,null,function(){var E,w,D,Z,J,Q,G;return C4(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),Z=(E=o?.condition)==null?void 0:E.call(o,h,{getState:g,extra:S}),W4(Z)?[4,Z]:[3,2];case 1:Z=b.sent(),b.label=2;case 2:if(Z===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return k=!0,J=new Promise(function(A,B){return R.signal.addEventListener("abort",function(){return B({name:"AbortError",message:T||"Aborted"})})}),p(i(C,h,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:C,arg:h},{getState:g,extra:S}))),[4,Promise.race([J,Promise.resolve(r(h,{dispatch:p,getState:g,extra:S,requestId:C,signal:R.signal,abort:M,rejectWithValue:function(A,B){return new Us(A,B)},fulfillWithValue:function(A,B){return new n1(A,B)}})).then(function(A){if(A instanceof Us)throw A;return A instanceof n1?a(A.payload,C,h,A.meta):a(A,C,h)})])];case 3:return D=b.sent(),[3,5];case 4:return Q=b.sent(),D=Q instanceof Us?s(null,C,h,Q.payload,Q.meta):s(Q,C,h),[3,5];case 5:return G=o&&!o.dispatchConditionRejection&&s.match(D)&&D.meta.condition,G||p(D),[2,D]}})})}();return Object.assign(O,{abort:M,requestId:C,arg:h,unwrap:function(){return O.then(G4)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function G4(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function W4(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var d1="listener",f1="completed",u1="cancelled",OS="task-"+u1,LS="task-"+f1,AS=d1+"-"+u1,RS=d1+"-"+f1;var Fs="listenerMiddleware";var wS=or(Fs+"/add"),_S=or(Fs+"/removeAll"),TS=or(Fs+"/remove");var a1,NS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(a1||(a1=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},V4=function(t){return function(e){setTimeout(e,t)}},kS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:V4(10);Wd();window.ftReduxStores||(window.ftReduxStores={});var Mr=class t extends $t{static get(e){var r;let o=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if(ao(i))return i;if(a==null)return;let s=l1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=s1({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Cr(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 t(s,c,a.eventBus)}constructor(e,r,o){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new rn;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(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function j4(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ao(e)&&e.clear()}var ia=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);mt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function K4(t,e,r){return new ia(t,e,r).watch()}var Gs=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Ks={};X(Ks,{scrollHelper:()=>Z4});var Vs,sa=new Map,js=class{lock(e,r){if(r){let o=sa.get(r);if(o==null||o===e)return sa.set(r,e),r}}release(e,r){r&&sa.get(r)===e&&sa.delete(r)}findFirstScrollableParent(e){var r;let o,a;for(let i of hi(e)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else c&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var o,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,e),i=a-o.clientHeight+e.clientHeight,s=a,c=Sr(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Vs=window.FluidTopicsScrollHelper)!==null&&Vs!==void 0?Vs:new js;var Z4=window.FluidTopicsScrollHelper;var qs={};X(qs,{SearchPlaceConverter:()=>mo,SearchPlaceQueryParams:()=>ne,isSearchPlaceQueryParams:()=>X1,serializeRequest:()=>Q4});var Y4=Ru(h1(),1);var m1;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(m1||(m1={}));var g1;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(g1||(g1={}));var y1;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(y1||(y1={}));var b1;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(b1||(b1={}));var v1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(v1||(v1={}));var x1;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(x1||(x1={}));var S1;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(S1||(S1={}));var C1;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(C1||(C1={}));var E1;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(E1||(E1={}));var O1;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(O1||(O1={}));var L1;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(L1||(L1={}));var A1;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(A1||(A1={}));var R1;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(R1||(R1={}));var w1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(w1||(w1={}));var po;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(po||(po={}));var _1;(function(t){t.ASC="ASC",t.DESC="DESC"})(_1||(_1={}));var T1;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(T1||(T1={}));var Zs;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Zs||(Zs={}));var $1=t=>Object.keys(Zs).includes(t);var N1;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(N1||(N1={}));var k1;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(k1||(k1={}));var M1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(M1||(M1={}));var ho;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ho||(ho={}));var B1=t=>Object.keys(ho).includes(t);var P1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(P1||(P1={}));var I1;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(I1||(I1={}));var z1;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(z1||(z1={}));var Ce;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Ce||(Ce={}));var st;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(st||(st={}));var D1;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(D1||(D1={}));var U1;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(U1||(U1={}));var H1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(H1||(H1={}));var F1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(F1||(F1={}));var G1;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(G1||(G1={}));var W1;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(W1||(W1={}));var V1;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(V1||(V1={}));var j1;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(j1||(j1={}));var K1;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(K1||(K1={}));var q4={[Ce.PERSONAL_BOOK_SHARE_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.HTML_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.PDF_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.KHUB_ADMIN]:[Ce.CONTENT_PUBLISHER],[Ce.ADMIN]:[Ce.KHUB_ADMIN,Ce.USERS_ADMIN,Ce.PORTAL_ADMIN,Ce.BEHAVIOR_DATA_USER],[Ce.GENERATIVE_AI_EXPORT_USER]:[Ce.GENERATIVE_AI_USER]};function Z1(t,e){return t===e||(q4[t]??[]).some(r=>Z1(r,e))}function q1(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(o=>Z1(o,e))}function X4(t){return`"${t}"`}function Y1(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Q4(t,e){return new mo(t).serialize(e)}var ne;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(ne||(ne={}));var J4=new Set(Object.values(ne));function X1(t){return J4.has(t)}var mo=class{constructor(e,r=20,o=!1,a="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,r=!1){var o,a,i,s,c,d,f,h,p,g,S;let C=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&C.append(ne.LOCALE,e.contentLocale):C.append(ne.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&C.append(ne.QUERY,e.query);let R=(i=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(E=>E.valueFilter&&!E.valueFilter.negative))!==null&&i!==void 0?i:[];if(R.length>0){let E=R.map(w=>{var D,Z;let J=((Z=(D=w.valueFilter)===null||D===void 0?void 0:D.values)!==null&&Z!==void 0?Z:[]).map(Q=>this.escapeFilters(Q)).map(Q=>X4(Y1(Q))).join("_");return`${w.key}~${J}`}).join("*");C.append(ne.VALUE_FILTERS,E)}let T=(c=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(E=>E.dateFilter))!==null&&c!==void 0?c:[];if(T.length>0){let E=T.map(w=>{var D;return`${w.key}~${(D=w.dateFilter)===null||D===void 0?void 0:D.type.toLowerCase()}`}).join("*");C.append(ne.DATE_FILTERS,E)}let k=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(E=>E.rangeFilter))!==null&&f!==void 0?f:[];if(k.length>0){let E=k.map(w=>{var D,Z;return`${w.key}~${(D=w.rangeFilter)===null||D===void 0?void 0:D.from}_${(Z=w.rangeFilter)===null||Z===void 0?void 0:Z.to}`}).join("*");C.append(ne.RANGE_FILTERS,E)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&C.append(ne.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&C.append(ne.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&C.append(ne.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((g=(p=e.paging)===null||p===void 0?void 0:p.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&C.append(ne.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&C.append(ne.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let M=(S=e.otherQueryParams)!==null&&S!==void 0?S:{};for(let E in M)C.append(E,M[E]);let O=new Array;return C.forEach((E,w)=>{O.push(this.encodeQueryString(w)+"="+this.encodeQueryString(E))}),encodeURI(O.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,o,a,i,s,c;try{e=decodeURI(e).replace(/%23/g,"#")}catch(k){console.warn("Could not decode search request query params, fallback on raw value",k)}let d=new URLSearchParams(e),f=d.get(ne.LOCALE)==="all"?void 0:d.get(ne.LOCALE),h=((r=d.get(ne.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(ne.SORT))===null||o===void 0?void 0:o.toLowerCase(),g=(a=d.get(ne.SCOPE))!==null&&a!==void 0?a:"default",S=+((i=d.get(ne.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),C=d.get(ne.KEYWORD_MATCH),R=C?C.toUpperCase()===po.MANDATORY?po.MANDATORY:po.OPTIONAL:void 0,T={};for(let k of d.keys())X1(k)||(T[k]=d.get(k));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ne.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:$1(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Sr(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:R,otherQueryParams:T}}parseCompatFilters(e){var r,o,a,i,s,c;let d=[];return e.has(ne.FILTERS)&&(d=this.parseValueFilters((r=e.get(ne.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(ne.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(ne.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(ne.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(ne.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ne.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Y1).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:ho[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(o,a);return e}unescapeFilterValue(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(B1(e))return[{key:"ft:lastEdition",dateFilter:{type:ho[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var Qs={};X(Qs,{toFtFormComponent:()=>Xs});var Ys=Symbol("elementInternals"),Xs=Me(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ys].form}constructor(...o){super(o),this[Ys]=this.attachInternals()}setFormValue(o){this[Ys].setFormValue(o)}}return e});var Js={};X(Js,{DateFormatter:()=>Pr});var Pr=class{static format(e,r,o,a){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,a)):this.getIntlDateTime(e,r,o,a)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,a){let i=typeof e=="string"?new Date(e):e,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 e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var tc={};X(tc,{ALL_KEYS_VALUE:()=>ec,SameWindowStorageEvent:()=>go});var ec="__all__",go=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ec}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new go(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new go(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new go(ec))}});var oc={};X(oc,{FocusMainContentEvent:()=>rc});var rc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Q1={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function e3(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function t3(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",e3);document.addEventListener("click",t3);var J1=I`
|
|
48
|
+
`;var Md={};var vs={};X(vs,{ParametrizedLabelResolver:()=>tn});var tn=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,a;e=this.resolvePluralKey(e,r);let i=(a=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((o,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let a=`${String(e)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var Ws={};X(Ws,{FtCommandQueue:()=>rn,FtLitElementRedux:()=>nn,FtReduxStore:()=>Mr,FtStateManager:()=>Gs,ReduxWatcher:()=>ia,clearAllStores:()=>j4,isFtReduxStore:()=>ao,redux:()=>no,reduxEventListener:()=>l4,reduxReactive:()=>c4,watch:()=>K4,withRedux:()=>Pd});var c4=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},no=t=>{let e=t??{};return(r,o)=>{var a;let i={hasChanged:mt,attribute:!1,...e};v(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=e.selector)!==null&&a!==void 0?a:c=>c[o],store:e.store})}},l4=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var rn=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function ao(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var on=Symbol("internalReduxEventsUnsubscribers"),Jt=Symbol("internalStoresUnsubscribers"),Tr=Symbol("internalStores"),Pd=Me(Symbol("withRedux"),function(t){var e,r,o;class a extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Tr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Tr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Tr].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[Tr].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[Tr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Tr].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[Jt].has(s.store):this[Jt].size>0)&&(this[c]=s.selector(f.getState(),this))}})}subscribeToStore(s,c){var d;this[Jt].set(s,c.subscribe(()=>this.updateFromStores())),this[on].set(s,[]),ao(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[on].get(s).push(()=>c.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Jt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[Jt].has(s)&&this[Jt].get(s)(),this[Jt].delete(s),(c=this[on].get(s))===null||c===void 0||c.forEach(d=>d()),this[on].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Jt,r=Tr,o=on,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),nn=class extends Pd(V){};function it(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ht(t){return!!t&&!!t[pe]}function yt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===y4}(t)||Array.isArray(t)||!!t[Hd]||!!(!((e=t.constructor)===null||e===void 0)&&e[Hd])||ws(t)||_s(t))}function Nr(t,e,r){r===void 0&&(r=!1),co(t)===0?(r?Object.keys:so)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,a){return e(a,o,t)})}function co(t){var e=t[pe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ws(t)?2:_s(t)?3:0}function io(t,e){return co(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function d4(t,e){return co(t)===2?t.get(e):t[e]}function Fd(t,e,r){var o=co(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Gd(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ws(t){return m4&&t instanceof Map}function _s(t){return g4&&t instanceof Set}function er(t){return t.o||t.t}function Ts(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=jd(t);delete e[pe];for(var r=so(e),o=0;o<r.length;o++){var a=r[o],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Ns(t,e){return e===void 0&&(e=!1),ks(t)||Ht(t)||!yt(t)||(co(t)>1&&(t.set=t.add=t.clear=t.delete=f4),Object.freeze(t),e&&Nr(t,function(r,o){return Ns(o,!0)},!0)),t}function f4(){it(2)}function ks(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function wt(t){var e=Rs[t];return e||it(18,t),e}function u4(t,e){Rs[t]||(Rs[t]=e)}function Os(){return sn}function xs(t,e){e&&(wt("Patches"),t.u=[],t.s=[],t.v=e)}function ta(t){Ls(t),t.p.forEach(p4),t.p=null}function Ls(t){t===sn&&(sn=t.l)}function Id(t){return sn={p:[],l:sn,h:t,m:!0,_:0}}function p4(t){var e=t[pe];e.i===0||e.i===1?e.j():e.g=!0}function Ss(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||wt("ES5").S(e,t,o),o?(r[pe].P&&(ta(e),it(4)),yt(t)&&(t=ra(e,t),e.l||oa(e,t)),e.u&&wt("Patches").M(r[pe].t,t,e.u,e.s)):t=ra(e,r,[]),ta(e),e.u&&e.v(e.u,e.s),t!==Vd?t:void 0}function ra(t,e,r){if(ks(e))return e;var o=e[pe];if(!o)return Nr(e,function(c,d){return zd(t,o,e,c,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return oa(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Ts(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 zd(t,o,a,c,d,r,s)}),oa(t,a,!1),r&&t.u&&wt("Patches").N(o,r,t.u,t.s)}return o.o}function zd(t,e,r,o,a,i,s){if(Ht(a)){var c=ra(t,a,i&&e&&e.i!==3&&!io(e.R,o)?i.concat(o):void 0);if(Fd(r,o,c),!Ht(c))return;t.m=!1}else s&&r.add(a);if(yt(a)&&!ks(a)){if(!t.h.D&&t._<1)return;ra(t,a),e&&e.A.l||oa(t,a)}}function oa(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ns(e,r)}function Cs(t,e){var r=t[pe];return(r?er(r):t)[e]}function Dd(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function tr(t){t.P||(t.P=!0,t.l&&tr(t.l))}function Es(t){t.o||(t.o=Ts(t.t))}function As(t,e,r){var o=ws(e)?wt("MapSet").F(e,r):_s(e)?wt("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Os(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,f=cn;s&&(d=[c],f=an);var h=Proxy.revocable(d,f),p=h.revoke,g=h.proxy;return c.k=g,c.j=p,g}(e,r):wt("ES5").J(e,r);return(r?r.A:Os()).p.push(o),o}function h4(t){return Ht(t)||it(22,t),function e(r){if(!yt(r))return r;var o,a=r[pe],i=co(r);if(a){if(!a.P&&(a.i<4||!wt("ES5").K(a)))return a.t;a.I=!0,o=$d(r,i),a.I=!1}else o=$d(r,i);return Nr(o,function(s,c){a&&d4(a.t,s)===c||Fd(o,s,e(c))}),i===3?new Set(o):o}(t)}function $d(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ts(t)}function Wd(){function t(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var f=this[pe];return cn.get(f,s)},set:function(f){var h=this[pe];cn.set(h,s,f)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][pe];if(!d.P)switch(d.i){case 5:o(d)&&tr(d);break;case 4:r(d)&&tr(d)}}}function r(s){for(var c=s.t,d=s.k,f=so(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==pe){var g=c[p];if(g===void 0&&!io(c,p))return!0;var S=d[p],C=S&&S[pe];if(C?C.t!==g:!Gd(S,g))return!0}}var R=!!c[pe];return f.length!==so(c).length+(R?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&&it(3,JSON.stringify(er(s)))}var i={};u4("ES5",{J:function(s,c){var d=Array.isArray(s),f=function(p,g){if(p){for(var S=Array(g.length),C=0;C<g.length;C++)Object.defineProperty(S,""+C,t(C,!0));return S}var R=jd(g);delete R[pe];for(var T=so(R),k=0;k<T.length;k++){var M=T[k];R[M]=t(M,p||!!R[M].enumerable)}return Object.create(Object.getPrototypeOf(g),R)}(d,s),h={i:d?5:4,A:c?c.A:Os(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,pe,{value:h,writable:!0}),f},S:function(s,c,d){d?Ht(c)&&c[pe].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[pe];if(p){var g=p.t,S=p.k,C=p.R,R=p.i;if(R===4)Nr(S,function(E){E!==pe&&(g[E]!==void 0||io(g,E)?C[E]||f(S[E]):(C[E]=!0,tr(p)))}),Nr(g,function(E){S[E]!==void 0||io(S,E)||(C[E]=!1,tr(p))});else if(R===5){if(o(p)&&(tr(p),C.length=!0),S.length<g.length)for(var T=S.length;T<g.length;T++)C[T]=!1;else for(var k=g.length;k<S.length;k++)C[k]=!0;for(var M=Math.min(S.length,g.length),O=0;O<M;O++)S.hasOwnProperty(O)||(C[O]=!0),C[O]===void 0&&f(S[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Bd,sn,Ms=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",m4=typeof Map<"u",g4=typeof Set<"u",Ud=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Vd=Ms?Symbol.for("immer-nothing"):((Bd={})["immer-nothing"]=!0,Bd),Hd=Ms?Symbol.for("immer-draftable"):"__$immer_draftable",pe=Ms?Symbol.for("immer-state"):"__$immer_state";var y4=""+Object.prototype.constructor,so=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,jd=Object.getOwnPropertyDescriptors||function(t){var e={};return so(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Rs={},cn={get:function(t,e){if(e===pe)return t;var r=er(t);if(!io(r,e))return function(a,i,s){var c,d=Dd(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(t,r,e);var o=r[e];return t.I||!yt(o)?o:o===Cs(t.t,e)?(Es(t),t.o[e]=As(t.A.h,o,t)):o},has:function(t,e){return e in er(t)},ownKeys:function(t){return Reflect.ownKeys(er(t))},set:function(t,e,r){var o=Dd(er(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var a=Cs(er(t),e),i=a?.[pe];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Gd(r,a)&&(r!==void 0||io(t.t,e)))return!0;Es(t),tr(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Cs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Es(t),tr(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=er(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){it(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){it(12)}},an={};Nr(cn,function(t,e){an[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),an.deleteProperty=function(t,e){return an.set.call(this,t,e,void 0)},an.set=function(t,e,r){return cn.set.call(this,t[0],e,r,t[0])};var b4=function(){function t(r){var o=this;this.O=Ud,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(R){var T=this;R===void 0&&(R=c);for(var k=arguments.length,M=Array(k>1?k-1:0),O=1;O<k;O++)M[O-1]=arguments[O];return d.produce(R,function(E){var w;return(w=i).call.apply(w,[T,E].concat(M))})}}var f;if(typeof i!="function"&&it(6),s!==void 0&&typeof s!="function"&&it(7),yt(a)){var h=Id(o),p=As(o,a,void 0),g=!0;try{f=i(p),g=!1}finally{g?ta(h):Ls(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(R){return xs(h,s),Ss(R,h)},function(R){throw ta(h),R}):(xs(h,s),Ss(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Vd&&(f=void 0),o.D&&Ns(f,!0),s){var S=[],C=[];wt("Patches").M(a,f,S,C),s(S,C)}return f}it(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(S){return a.apply(void 0,[S].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 e=t.prototype;return e.createDraft=function(r){yt(r)||it(8),Ht(r)&&(r=h4(r));var o=Id(this),a=As(this,r,void 0);return a[pe].C=!0,Ls(o),a},e.finishDraft=function(r,o){var a=r&&r[pe],i=a.A;return xs(i,o),Ss(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ud&&it(20),this.O=r},e.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=wt("Patches").$;return Ht(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},t}(),Ye=new b4,v4=Ye.produce,Yx=Ye.produceWithPatches.bind(Ye),Xx=Ye.setAutoFreeze.bind(Ye),Qx=Ye.setUseProxies.bind(Ye),Jx=Ye.applyPatches.bind(Ye),eS=Ye.createDraft.bind(Ye),tS=Ye.finishDraft.bind(Ye),na=v4;function kr(t){"@babel/helpers - typeof";return kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kr(t)}function Kd(t,e){if(kr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(kr(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Zd(t){var e=Kd(t,"string");return kr(e)=="symbol"?e:e+""}function qd(t,e,r){return(e=Zd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,o)}return r}function Ps(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Yd(Object(r),!0).forEach(function(o){qd(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yd(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function He(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Xd=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Is=function(){return Math.random().toString(36).substring(7).split("").join(".")},aa={INIT:"@@redux/INIT"+Is(),REPLACE:"@@redux/REPLACE"+Is(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Is()}};function x4(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function zs(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(He(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(He(1));return r(zs)(t,e)}if(typeof t!="function")throw new Error(He(2));var a=t,i=e,s=[],c=s,d=!1;function f(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(He(3));return i}function p(R){if(typeof R!="function")throw new Error(He(4));if(d)throw new Error(He(5));var T=!0;return f(),c.push(R),function(){if(T){if(d)throw new Error(He(6));T=!1,f();var M=c.indexOf(R);c.splice(M,1),s=null}}}function g(R){if(!x4(R))throw new Error(He(7));if(typeof R.type>"u")throw new Error(He(8));if(d)throw new Error(He(9));try{d=!0,i=a(i,R)}finally{d=!1}for(var T=s=c,k=0;k<T.length;k++){var M=T[k];M()}return R}function S(R){if(typeof R!="function")throw new Error(He(10));a=R,g({type:aa.REPLACE})}function C(){var R,T=p;return R={subscribe:function(M){if(typeof M!="object"||M===null)throw new Error(He(11));function O(){M.next&&M.next(h())}O();var E=T(O);return{unsubscribe:E}}},R[Xd]=function(){return this},R}return g({type:aa.INIT}),o={dispatch:g,subscribe:p,getState:h,replaceReducer:S},o[Xd]=C,o}function S4(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:aa.INIT});if(typeof o>"u")throw new Error(He(12));if(typeof r(void 0,{type:aa.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(He(13))})}function Qd(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var a=e[o];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{S4(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,S={},C=0;C<i.length;C++){var R=i[C],T=r[R],k=f[R],M=T(k,h);if(typeof M>"u"){var O=h&&h.type;throw new Error(He(14))}S[R]=M,g=g||M!==k}return g=g||i.length!==Object.keys(f).length,g?S:f}}function lo(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Jd(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(He(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return i=lo.apply(void 0,c)(a.dispatch),Ps(Ps({},a),{},{dispatch:i})}}}function e1(t){var e=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var t1=e1();t1.withExtraArgument=e1;var Ds=t1;var i1=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),C4=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(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=e.call(t,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}}},fo=function(t,e){for(var r=0,o=e.length,a=t.length;r<o;r++,a++)t[a]=e[r];return t},E4=Object.defineProperty,O4=Object.defineProperties,L4=Object.getOwnPropertyDescriptors,r1=Object.getOwnPropertySymbols,A4=Object.prototype.hasOwnProperty,R4=Object.prototype.propertyIsEnumerable,o1=function(t,e,r){return e in t?E4(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},rr=function(t,e){for(var r in e||(e={}))A4.call(e,r)&&o1(t,r,e[r]);if(r1)for(var o=0,a=r1(e);o<a.length;o++){var r=a[o];R4.call(e,r)&&o1(t,r,e[r])}return t},$s=function(t,e){return O4(t,L4(e))},w4=function(t,e,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(t,e)).next())})};var _4=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lo:lo.apply(null,arguments)},vS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function T4(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var N4=function(t){i1(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,fo([void 0],r[0].concat(this)))):new(e.bind.apply(e,fo([void 0],r.concat(this))))},e}(Array),k4=function(t){i1(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,fo([void 0],r[0].concat(this)))):new(e.bind.apply(e,fo([void 0],r.concat(this))))},e}(Array);function Hs(t){return yt(t)?na(t,function(){}):t}function M4(t){return typeof t=="boolean"}function P4(){return function(e){return I4(e)}}function I4(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,a=o===void 0?!0:o,i=t.serializableCheck,s=i===void 0?!0:i,c=new N4;if(r&&(M4(r)?c.push(Ds):c.push(Ds.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return c}var Bs=!0;function s1(t){var e=P4(),r=t||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?e():i,c=r.devTools,d=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,g=p===void 0?void 0:p,S;if(typeof a=="function")S=a;else if(T4(a))S=Qd(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var C=s;if(typeof C=="function"&&(C=C(e),!Bs&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bs&&C.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=Jd.apply(void 0,C),T=lo;d&&(T=_4(rr({trace:!Bs},typeof d=="object"&&d)));var k=new k4(R),M=k;Array.isArray(g)?M=fo([R],g):typeof g=="function"&&(M=g(k));var O=T.apply(void 0,M);return zs(S,h,O)}function or(t,e){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return rr(rr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function c1(t){var e={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return t(a),[e,r,o]}function z4(t){return typeof t=="function"}function D4(t,e,r,o){r===void 0&&(r=[]);var a=typeof e=="function"?c1(e):[e,r,o],i=a[0],s=a[1],c=a[2],d;if(z4(t))d=function(){return Hs(t())};else{var f=Hs(t);d=function(){return f}}function h(p,g){p===void 0&&(p=d());var S=fo([i[g.type]],s.filter(function(C){var R=C.matcher;return R(g)}).map(function(C){var R=C.reducer;return R}));return S.filter(function(C){return!!C}).length===0&&(S=[c]),S.reduce(function(C,R){if(R)if(Ht(C)){var T=C,k=R(T,g);return k===void 0?C:k}else{if(yt(C))return na(C,function(M){return R(M,g)});var k=R(C,g);if(k===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return k}return C},p)}return h.getInitialState=d,h}function $4(t,e){return t+"/"+e}function l1(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Hs(t.initialState),o=t.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(h){var p=o[h],g=$4(e,h),S,C;"reducer"in p?(S=p.reducer,C=p.prepare):S=p,i[h]=S,s[g]=S,c[h]=C?or(g,C):or(g)});function d(){var h=typeof t.extraReducers=="function"?c1(t.extraReducers):[t.extraReducers],p=h[0],g=p===void 0?{}:p,S=h[1],C=S===void 0?[]:S,R=h[2],T=R===void 0?void 0:R,k=rr(rr({},g),s);return D4(r,function(M){for(var O in k)M.addCase(O,k[O]);for(var E=0,w=C;E<w.length;E++){var D=w[E];M.addMatcher(D.matcher,D.reducer)}T&&M.addDefaultCase(T)})}var f;return{name:e,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:c,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var B4="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",U4=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=B4[Math.random()*64|0];return e},H4=["name","message","stack","code"],Us=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),n1=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),F4=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=H4;r<o.length;r++){var a=o[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},ES=function(){function t(e,r,o){var a=or(e+"/fulfilled",function(h,p,g,S){return{payload:h,meta:$s(rr({},S||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=or(e+"/pending",function(h,p,g){return{payload:void 0,meta:$s(rr({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=or(e+"/rejected",function(h,p,g,S,C){return{payload:S,error:(o&&o.serializeError||F4)(h||"Rejected"),meta:$s(rr({},C||{}),{arg:g,requestId:p,rejectedWithValue:!!S,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,S){var C=o?.idGenerator?o.idGenerator(h):U4(),R=new d,T,k=!1;function M(E){T=E,R.abort()}var O=function(){return w4(this,null,function(){var E,w,D,Z,J,Q,G;return C4(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),Z=(E=o?.condition)==null?void 0:E.call(o,h,{getState:g,extra:S}),W4(Z)?[4,Z]:[3,2];case 1:Z=b.sent(),b.label=2;case 2:if(Z===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return k=!0,J=new Promise(function(A,B){return R.signal.addEventListener("abort",function(){return B({name:"AbortError",message:T||"Aborted"})})}),p(i(C,h,(w=o?.getPendingMeta)==null?void 0:w.call(o,{requestId:C,arg:h},{getState:g,extra:S}))),[4,Promise.race([J,Promise.resolve(r(h,{dispatch:p,getState:g,extra:S,requestId:C,signal:R.signal,abort:M,rejectWithValue:function(A,B){return new Us(A,B)},fulfillWithValue:function(A,B){return new n1(A,B)}})).then(function(A){if(A instanceof Us)throw A;return A instanceof n1?a(A.payload,C,h,A.meta):a(A,C,h)})])];case 3:return D=b.sent(),[3,5];case 4:return Q=b.sent(),D=Q instanceof Us?s(null,C,h,Q.payload,Q.meta):s(Q,C,h),[3,5];case 5:return G=o&&!o.dispatchConditionRejection&&s.match(D)&&D.meta.condition,G||p(D),[2,D]}})})}();return Object.assign(O,{abort:M,requestId:C,arg:h,unwrap:function(){return O.then(G4)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function G4(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function W4(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var d1="listener",f1="completed",u1="cancelled",OS="task-"+u1,LS="task-"+f1,AS=d1+"-"+u1,RS=d1+"-"+f1;var Fs="listenerMiddleware";var wS=or(Fs+"/add"),_S=or(Fs+"/removeAll"),TS=or(Fs+"/remove");var a1,NS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(a1||(a1=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},V4=function(t){return function(e){setTimeout(e,t)}},kS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:V4(10);Wd();window.ftReduxStores||(window.ftReduxStores={});var Mr=class t extends $t{static get(e){var r;let o=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[o];if(ao(i))return i;if(a==null)return;let s=l1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=s1({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Cr(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 t(s,c,a.eventBus)}constructor(e,r,o){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new rn;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(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function j4(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ao(e)&&e.clear()}var ia=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);mt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function K4(t,e,r){return new ia(t,e,r).watch()}var Gs=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Ks={};X(Ks,{scrollHelper:()=>Z4});var Vs,sa=new Map,js=class{lock(e,r){if(r){let o=sa.get(r);if(o==null||o===e)return sa.set(r,e),r}}release(e,r){r&&sa.get(r)===e&&sa.delete(r)}findFirstScrollableParent(e){var r;let o,a;for(let i of hi(e)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else c&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var o,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,e),i=a-o.clientHeight+e.clientHeight,s=a,c=Sr(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Vs=window.FluidTopicsScrollHelper)!==null&&Vs!==void 0?Vs:new js;var Z4=window.FluidTopicsScrollHelper;var qs={};X(qs,{SearchPlaceConverter:()=>mo,SearchPlaceQueryParams:()=>ne,isSearchPlaceQueryParams:()=>X1,serializeRequest:()=>Q4});var Y4=Ru(h1(),1);var m1;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(m1||(m1={}));var g1;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(g1||(g1={}));var y1;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(y1||(y1={}));var b1;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(b1||(b1={}));var v1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(v1||(v1={}));var x1;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(x1||(x1={}));var S1;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(S1||(S1={}));var C1;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(C1||(C1={}));var E1;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(E1||(E1={}));var O1;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(O1||(O1={}));var L1;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(L1||(L1={}));var A1;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(A1||(A1={}));var R1;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(R1||(R1={}));var w1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(w1||(w1={}));var po;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(po||(po={}));var _1;(function(t){t.ASC="ASC",t.DESC="DESC"})(_1||(_1={}));var T1;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(T1||(T1={}));var Zs;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Zs||(Zs={}));var $1=t=>Object.keys(Zs).includes(t);var N1;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(N1||(N1={}));var k1;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(k1||(k1={}));var M1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(M1||(M1={}));var ho;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ho||(ho={}));var B1=t=>Object.keys(ho).includes(t);var P1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(P1||(P1={}));var I1;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(I1||(I1={}));var z1;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(z1||(z1={}));var Ee;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Ee||(Ee={}));var st;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(st||(st={}));var D1;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(D1||(D1={}));var U1;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(U1||(U1={}));var H1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(H1||(H1={}));var F1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(F1||(F1={}));var G1;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(G1||(G1={}));var W1;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(W1||(W1={}));var V1;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(V1||(V1={}));var j1;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(j1||(j1={}));var K1;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(K1||(K1={}));var q4={[Ee.PERSONAL_BOOK_SHARE_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.HTML_EXPORT_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.PDF_EXPORT_USER]:[Ee.PERSONAL_BOOK_USER],[Ee.KHUB_ADMIN]:[Ee.CONTENT_PUBLISHER],[Ee.ADMIN]:[Ee.KHUB_ADMIN,Ee.USERS_ADMIN,Ee.PORTAL_ADMIN,Ee.BEHAVIOR_DATA_USER],[Ee.GENERATIVE_AI_EXPORT_USER]:[Ee.GENERATIVE_AI_USER]};function Z1(t,e){return t===e||(q4[t]??[]).some(r=>Z1(r,e))}function q1(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(o=>Z1(o,e))}function X4(t){return`"${t}"`}function Y1(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Q4(t,e){return new mo(t).serialize(e)}var ne;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(ne||(ne={}));var J4=new Set(Object.values(ne));function X1(t){return J4.has(t)}var mo=class{constructor(e,r=20,o=!1,a="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,r=!1){var o,a,i,s,c,d,f,h,p,g,S;let C=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&C.append(ne.LOCALE,e.contentLocale):C.append(ne.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&C.append(ne.QUERY,e.query);let R=(i=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(E=>E.valueFilter&&!E.valueFilter.negative))!==null&&i!==void 0?i:[];if(R.length>0){let E=R.map(w=>{var D,Z;let J=((Z=(D=w.valueFilter)===null||D===void 0?void 0:D.values)!==null&&Z!==void 0?Z:[]).map(Q=>this.escapeFilters(Q)).map(Q=>X4(Y1(Q))).join("_");return`${w.key}~${J}`}).join("*");C.append(ne.VALUE_FILTERS,E)}let T=(c=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(E=>E.dateFilter))!==null&&c!==void 0?c:[];if(T.length>0){let E=T.map(w=>{var D;return`${w.key}~${(D=w.dateFilter)===null||D===void 0?void 0:D.type.toLowerCase()}`}).join("*");C.append(ne.DATE_FILTERS,E)}let k=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(E=>E.rangeFilter))!==null&&f!==void 0?f:[];if(k.length>0){let E=k.map(w=>{var D,Z;return`${w.key}~${(D=w.rangeFilter)===null||D===void 0?void 0:D.from}_${(Z=w.rangeFilter)===null||Z===void 0?void 0:Z.to}`}).join("*");C.append(ne.RANGE_FILTERS,E)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&C.append(ne.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&C.append(ne.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&C.append(ne.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((g=(p=e.paging)===null||p===void 0?void 0:p.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&C.append(ne.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&C.append(ne.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let M=(S=e.otherQueryParams)!==null&&S!==void 0?S:{};for(let E in M)C.append(E,M[E]);let O=new Array;return C.forEach((E,w)=>{O.push(this.encodeQueryString(w)+"="+this.encodeQueryString(E))}),encodeURI(O.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,o,a,i,s,c;try{e=decodeURI(e).replace(/%23/g,"#")}catch(k){console.warn("Could not decode search request query params, fallback on raw value",k)}let d=new URLSearchParams(e),f=d.get(ne.LOCALE)==="all"?void 0:d.get(ne.LOCALE),h=((r=d.get(ne.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(ne.SORT))===null||o===void 0?void 0:o.toLowerCase(),g=(a=d.get(ne.SCOPE))!==null&&a!==void 0?a:"default",S=+((i=d.get(ne.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),C=d.get(ne.KEYWORD_MATCH),R=C?C.toUpperCase()===po.MANDATORY?po.MANDATORY:po.OPTIONAL:void 0,T={};for(let k of d.keys())X1(k)||(T[k]=d.get(k));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ne.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:$1(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Sr(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:R,otherQueryParams:T}}parseCompatFilters(e){var r,o,a,i,s,c;let d=[];return e.has(ne.FILTERS)&&(d=this.parseValueFilters((r=e.get(ne.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(ne.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(ne.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(ne.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(ne.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ne.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Y1).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:ho[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replaceAll(o,a);return e}unescapeFilterValue(e){for(let[r,o,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(B1(e))return[{key:"ft:lastEdition",dateFilter:{type:ho[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var Qs={};X(Qs,{toFtFormComponent:()=>Xs});var Ys=Symbol("elementInternals"),Xs=Me(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Ys].form}constructor(...o){super(o),this[Ys]=this.attachInternals()}setFormValue(o){this[Ys].setFormValue(o)}}return e});var Js={};X(Js,{DateFormatter:()=>Pr});var Pr=class{static format(e,r,o,a){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,a)):this.getIntlDateTime(e,r,o,a)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,a){let i=typeof e=="string"?new Date(e):e,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 e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var tc={};X(tc,{ALL_KEYS_VALUE:()=>ec,SameWindowStorageEvent:()=>go});var ec="__all__",go=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ec}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new go(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new go(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new go(ec))}});var oc={};X(oc,{FocusMainContentEvent:()=>rc});var rc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Q1={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function e3(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function t3(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",e3);document.addEventListener("click",t3);var J1=I`
|
|
49
49
|
.sr-only {
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:-10000px;
|
|
@@ -82,7 +82,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
82
82
|
<li>${this.helperText}</li>
|
|
83
83
|
`)}
|
|
84
84
|
</ul>
|
|
85
|
-
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?zr.error:this.warningMessages.length?zr.warning:zr.default}processRules(o){return o.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return ze([v()],e.prototype,"warningRules",void 0),ze([v()],e.prototype,"errorRules",void 0),ze([v()],e.prototype,"validateOn",void 0),ze([v({type:Boolean})],e.prototype,"validateAtRender",void 0),ze([v()],e.prototype,"label",void 0),ze([v({type:Boolean})],e.prototype,"hideLabel",void 0),ze([v()],e.prototype,"name",void 0),ze([v({type:Boolean})],e.prototype,"disabled",void 0),ze([v()],e.prototype,"helperText",void 0),ze([v()],e.prototype,"forceStatus",void 0),ze([v({reflect:!0})],e.prototype,"value",void 0),ze([q()],e.prototype,"errorMessages",void 0),ze([q()],e.prototype,"warningMessages",void 0),ze([q()],e.prototype,"status",void 0),ze([q()],e.prototype,"focused",void 0),ze([q()],e.prototype,"additionalWarningRules",void 0),ze([q()],e.prototype,"additionalErrorRules",void 0),e});var ln=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(e,!1),ln(o,e);return!0},da=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},t2=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),a3(e)}};function o3(t){this._$AN!==void 0?(da(this),this._$AM=t,t2(this)):this._$AM=t}function n3(t,e=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(e)if(Array.isArray(o))for(let i=r;i<o.length;i++)ln(o[i],!1),da(o[i]);else o!=null&&(ln(o,!1),da(o));else ln(this,t)}var a3=t=>{t.type==Ct.CHILD&&(t._$AP??=n3,t._$AQ??=o3)},fa=class extends ot{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),t2(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(ln(this,e),da(this))}setValue(e){if(Bl(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var r2;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(r2||(r2={}));var i3={sm:640,md:768,lg:1024,xl:1280},sc=class extends fa{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,o,a]){return this.lastArgs=[r,o,a],this.render(r,o,a)}render(e,r,o){let a=this.resolveThreshold(e),i=o??(()=>K);return this.size>a?r():i()}resolveThreshold(e){return typeof e=="number"?e:i3[e]}},GC=ht(sc);var cc,lc,dc,fc,Dr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((dc=(lc=(cc=window.safari)===null||cc===void 0?void 0:cc.pushNotification)===null||lc===void 0?void 0:lc.toString())!==null&&dc!==void 0?dc:"")==="[object SafariRemoteNotification]",s3="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(fc=window.ftGlobals)!==null&&fc!==void 0?fc:{lit:ri,litDecorators:ii,litRepeat:si,litClassMap:ci,litStyleMap:li,litUnsafeHTML:di,wcUtils:{...vi,...ui,...Oi,...Js,...Li,...Ai,...Vi,...bi,...ss,...oc,...Q1,...Ks,...cs,...Wi,...ps,...Qs,...us,...ac,...Nd,...mi,...gs,...ji,...bs,...J1,...Md,...vs,...Ws,...tc,...ls,...fs,...qs,...Si,isSafari:Dr,isTouchScreen:s3,setVariable:L}};var n2=Symbol.for(""),c3=t=>{if(t?.r===n2)return t?._$litStatic$},yo=t=>({_$litStatic$:t,r:n2});var o2=new Map,uc=t=>(e,...r)=>{let o=r.length,a,i,s=[],c=[],d,f=0,h=!1;for(;f<o;){for(d=e[f];f<o&&(i=r[f],(a=c3(i))!==void 0);)d+=a+e[++f],h=!0;f!==o&&c.push(i),s.push(d),f++}if(f===o&&s.push(e[o]),h){let p=s.join("$$lit$$");(e=o2.get(p))===void 0&&(s.raw=s,o2.set(p,e=s)),r=c}return t(e,...r)},bo=uc(P),ME=uc(Xa),PE=uc(Qa);var
|
|
85
|
+
`}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?zr.error:this.warningMessages.length?zr.warning:zr.default}processRules(o){return o.map(a=>a(this.value)).filter(a=>a!==!0).map(a=>a)}}return ze([v()],e.prototype,"warningRules",void 0),ze([v()],e.prototype,"errorRules",void 0),ze([v()],e.prototype,"validateOn",void 0),ze([v({type:Boolean})],e.prototype,"validateAtRender",void 0),ze([v()],e.prototype,"label",void 0),ze([v({type:Boolean})],e.prototype,"hideLabel",void 0),ze([v()],e.prototype,"name",void 0),ze([v({type:Boolean})],e.prototype,"disabled",void 0),ze([v()],e.prototype,"helperText",void 0),ze([v()],e.prototype,"forceStatus",void 0),ze([v({reflect:!0})],e.prototype,"value",void 0),ze([q()],e.prototype,"errorMessages",void 0),ze([q()],e.prototype,"warningMessages",void 0),ze([q()],e.prototype,"status",void 0),ze([q()],e.prototype,"focused",void 0),ze([q()],e.prototype,"additionalWarningRules",void 0),ze([q()],e.prototype,"additionalErrorRules",void 0),e});var ln=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let o of r)o._$AO?.(e,!1),ln(o,e);return!0},da=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},t2=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),a3(e)}};function o3(t){this._$AN!==void 0?(da(this),this._$AM=t,t2(this)):this._$AM=t}function n3(t,e=!1,r=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(e)if(Array.isArray(o))for(let i=r;i<o.length;i++)ln(o[i],!1),da(o[i]);else o!=null&&(ln(o,!1),da(o));else ln(this,t)}var a3=t=>{t.type==Ct.CHILD&&(t._$AP??=n3,t._$AQ??=o3)},fa=class extends ot{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,o){super._$AT(e,r,o),t2(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(ln(this,e),da(this))}setValue(e){if(Bl(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var r2;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(r2||(r2={}));var i3={sm:640,md:768,lg:1024,xl:1280},sc=class extends fa{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,o,a]){return this.lastArgs=[r,o,a],this.render(r,o,a)}render(e,r,o){let a=this.resolveThreshold(e),i=o??(()=>K);return this.size>a?r():i()}resolveThreshold(e){return typeof e=="number"?e:i3[e]}},GC=ht(sc);var cc,lc,dc,fc,Dr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((dc=(lc=(cc=window.safari)===null||cc===void 0?void 0:cc.pushNotification)===null||lc===void 0?void 0:lc.toString())!==null&&dc!==void 0?dc:"")==="[object SafariRemoteNotification]",s3="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(fc=window.ftGlobals)!==null&&fc!==void 0?fc:{lit:ri,litDecorators:ii,litRepeat:si,litClassMap:ci,litStyleMap:li,litUnsafeHTML:di,wcUtils:{...vi,...ui,...Oi,...Js,...Li,...Ai,...Vi,...bi,...ss,...oc,...Q1,...Ks,...cs,...Wi,...ps,...Qs,...us,...ac,...Nd,...mi,...gs,...ji,...bs,...J1,...Md,...vs,...Ws,...tc,...ls,...fs,...qs,...Si,isSafari:Dr,isTouchScreen:s3,setVariable:L}};var n2=Symbol.for(""),c3=t=>{if(t?.r===n2)return t?._$litStatic$},yo=t=>({_$litStatic$:t,r:n2});var o2=new Map,uc=t=>(e,...r)=>{let o=r.length,a,i,s=[],c=[],d,f=0,h=!1;for(;f<o;){for(d=e[f];f<o&&(i=r[f],(a=c3(i))!==void 0);)d+=a+e[++f],h=!0;f!==o&&c.push(i),s.push(d),f++}if(f===o&&s.push(e[o]),h){let p=s.join("$$lit$$");(e=o2.get(p))===void 0&&(s.raw=s,o2.set(p,e=s)),r=c}return t(e,...r)},bo=uc(P),ME=uc(Xa),PE=uc(Qa);var Le;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(Le||(Le={}));var a2=n.extend("--ft-typography-font-family","",$.titleFont),Ft=n.extend("--ft-typography-font-family","",$.contentFont),U={fontFamily:Ft,fontSize:n.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:n.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:n.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:n.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:n.create("--ft-typography-text-transform","","UNKNOWN","inherit")},vo={fontFamily:n.extend("--ft-typography-title-font-family","",a2),fontSize:n.extend("--ft-typography-title-font-size","",U.fontSize,"20px"),fontWeight:n.extend("--ft-typography-title-font-weight","",U.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-letter-spacing","",U.letterSpacing,"0.15px"),lineHeight:n.extend("--ft-typography-title-line-height","",U.lineHeight,"1.2"),textTransform:n.extend("--ft-typography-title-text-transform","",U.textTransform,"inherit")},xo={fontFamily:n.extend("--ft-typography-title-dense-font-family","",a2),fontSize:n.extend("--ft-typography-title-dense-font-size","",U.fontSize,"14px"),fontWeight:n.extend("--ft-typography-title-dense-font-weight","",U.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-dense-letter-spacing","",U.letterSpacing,"0.105px"),lineHeight:n.extend("--ft-typography-title-dense-line-height","",U.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-title-dense-text-transform","",U.textTransform,"inherit")},So={fontFamily:n.extend("--ft-typography-subtitle1-font-family","",Ft),fontSize:n.extend("--ft-typography-subtitle1-font-size","",U.fontSize,"16px"),fontWeight:n.extend("--ft-typography-subtitle1-font-weight","",U.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-subtitle1-letter-spacing","",U.letterSpacing,"0.144px"),lineHeight:n.extend("--ft-typography-subtitle1-line-height","",U.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-subtitle1-text-transform","",U.textTransform,"inherit")},Co={fontFamily:n.extend("--ft-typography-subtitle2-font-family","",Ft),fontSize:n.extend("--ft-typography-subtitle2-font-size","",U.fontSize,"14px"),fontWeight:n.extend("--ft-typography-subtitle2-font-weight","",U.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-subtitle2-letter-spacing","",U.letterSpacing,"0.098px"),lineHeight:n.extend("--ft-typography-subtitle2-line-height","",U.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-subtitle2-text-transform","",U.textTransform,"inherit")},Eo={fontFamily:n.extend("--ft-typography-body1-font-family","",Ft),fontSize:n.extend("--ft-typography-body1-font-size","",U.fontSize,"16px"),fontWeight:n.extend("--ft-typography-body1-font-weight","",U.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body1-letter-spacing","",U.letterSpacing,"0.496px"),lineHeight:n.extend("--ft-typography-body1-line-height","",U.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-body1-text-transform","",U.textTransform,"inherit")},Xe={fontFamily:n.extend("--ft-typography-body2-font-family","",Ft),fontSize:n.extend("--ft-typography-body2-font-size","",U.fontSize,"14px"),fontWeight:n.extend("--ft-typography-body2-font-weight","",U.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body2-letter-spacing","",U.letterSpacing,"0.252px"),lineHeight:n.extend("--ft-typography-body2-line-height","",U.lineHeight,"1.4"),textTransform:n.extend("--ft-typography-body2-text-transform","",U.textTransform,"inherit")},Oo={fontFamily:n.extend("--ft-typography-caption-font-family","",Ft),fontSize:n.extend("--ft-typography-caption-font-size","",U.fontSize,"12px"),fontWeight:n.extend("--ft-typography-caption-font-weight","",U.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-caption-letter-spacing","",U.letterSpacing,"0.396px"),lineHeight:n.extend("--ft-typography-caption-line-height","",U.lineHeight,"1.33"),textTransform:n.extend("--ft-typography-caption-text-transform","",U.textTransform,"inherit")},Lo={fontFamily:n.extend("--ft-typography-breadcrumb-font-family","",Ft),fontSize:n.extend("--ft-typography-breadcrumb-font-size","",U.fontSize,"10px"),fontWeight:n.extend("--ft-typography-breadcrumb-font-weight","",U.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-breadcrumb-letter-spacing","",U.letterSpacing,"0.33px"),lineHeight:n.extend("--ft-typography-breadcrumb-line-height","",U.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-breadcrumb-text-transform","",U.textTransform,"inherit")},Ao={fontFamily:n.extend("--ft-typography-overline-font-family","",Ft),fontSize:n.extend("--ft-typography-overline-font-size","",U.fontSize,"10px"),fontWeight:n.extend("--ft-typography-overline-font-weight","",U.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-overline-letter-spacing","",U.letterSpacing,"1.5px"),lineHeight:n.extend("--ft-typography-overline-line-height","",U.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-overline-text-transform","",U.textTransform,"uppercase")},_t={fontFamily:n.extend("--ft-typography-button-font-family","",Ft),fontSize:n.extend("--ft-typography-button-font-size","",U.fontSize,"14px"),fontWeight:n.extend("--ft-typography-button-font-weight","",U.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-button-letter-spacing","",U.letterSpacing,"1.246px"),lineHeight:n.extend("--ft-typography-button-line-height","",U.lineHeight,"1.15"),textTransform:n.extend("--ft-typography-button-text-transform","",U.textTransform,"uppercase")},i2=I`
|
|
86
86
|
.ft-typography--title {
|
|
87
87
|
font-family: ${vo.fontFamily};
|
|
88
88
|
font-size: ${vo.fontSize};
|
|
@@ -177,7 +177,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
177
177
|
.ft-typography {
|
|
178
178
|
vertical-align: inherit;
|
|
179
179
|
}
|
|
180
|
-
`;var g2=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ve=class extends V{constructor(){super(...arguments),this.variant=
|
|
180
|
+
`;var g2=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ve=class extends V{constructor(){super(...arguments),this.variant=Le.body1}render(){return this.element?bo`
|
|
181
181
|
<${yo(this.element)}
|
|
182
182
|
part="text"
|
|
183
183
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -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 d3="ft-app-info",$r=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};$r.eventName="authentication-change";var f3={session:(t,e)=>{We(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>F.dispatchEvent(new $r(e.payload)),0))}},F=Mr.get({name:d3,reducers:f3,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 pa=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},mL=Me(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(F)}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=>Pr.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return pa([v({type:Boolean})],e.prototype,"useLongDateFormat",void 0),pa([v({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),pa([no({store:F.name,selector:r=>{var o,a;return(a=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],e.prototype,"metadataDescriptors",void 0),pa([no({store:F.name})],e.prototype,"uiLocale",void 0),e});var Br=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=F.getState(),a=e??o;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let a=F.subscribe(()=>{o=t.get(e),o&&(a(),r(o))})}})}};var ha=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Br.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Br.await()}};var Qe=class extends ha{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([c],[d])=>c.localeCompare(d)));let a=this.constructor;a.commonCache=(o=a.commonCache)!==null&&o!==void 0?o:new Et,this.cache=e?a.commonCache:new Et}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}};var ma=class extends Qe{async listMySearches(){let{session:e}=F.getState();return q1(e,Ce.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var ga=class extends Qe{async listMyBookmarks(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var ya=class extends Qe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=F.getState().session;return!!e?.sessionAuthenticated}};var ba=class extends Qe{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 e=F.getState().session;return!!e?.sessionAuthenticated}};var u3="ft-user-assets",p3={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(st).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:o,asset:a}=e.payload;mc(t,r,[...hc(t,r),a]),N2(t,r,1,o),k2(t,a)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;mc(t,r,hc(t,r).map(a=>a.id===o.id?o:a)),k2(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:a}=e.payload;mc(t,r,hc(t,r).filter(i=>i.id!==a)),N2(t,r,-1,o)}},M2={[st.SEARCHES]:"savedSearches",[st.BOOKMARKS]:"bookmarks",[st.BOOKS]:void 0,[st.COLLECTIONS]:void 0},hc=(t,e)=>{var r;let o=M2[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},mc=(t,e,r)=>{let o=M2[e];o&&(t[o]=r)},N2=(t,e,r,o)=>{let a=t.assetCounts.allAsset[e];if(a!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,a+r),e===st.BOOKMARKS&&o)){let i=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,i+r)}},k2=(t,e)=>{let r=t.assetLabels.map(a=>a.title),o=e.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));t.assetLabels.push(...o)},Je=Mr.get({name:u3,reducers:p3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(st).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),gc=class{constructor(e=new ya,r=new ba){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ga,this.savedSearchesService=new ma,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=F.getState();We((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Je.actions.clearAssetCount(),Je.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Je.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Je.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Je.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Je.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Je.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Je.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Je.getState().assetCounts.bookmarkByMap).length!==0;e===st.BOOKMARKS&&r&&Je.actions.clearBookmarkCountByMap(),Je.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Je.actions.bookmarks(r)}}},h3=new gc;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=h3);var yc=class{addCommand(e,r=!1){F.commands.add(e,r)}consumeCommand(e){return F.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new yc;var P2,Ro=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},m3=Symbol("clearAfterUnitTest"),va=class extends jn(Qe){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[P2]=()=>{this.defaultMessages={},this.cache=new Et,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=F.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let a={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};We(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new tn((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(a){!(a instanceof vr)&&r&&console.error(a)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Ro({loadedContexts:e})),this.dispatchEvent(new Ro({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Ro({loadedContexts:[e]})),this.dispatchEvent(new Ro({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>Vn(0).then(()=>o()).catch(()=>null)))}};P2=m3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends va{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends va{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var fn=window.FluidTopicsI18nService,bc=window.FluidTopicsCustomI18nService;var vc=class{highlightHtml(e,r,o){ms(e,r,o)}};window.FluidTopicsHighlightHtmlService=new vc;var xc=class{isDate(e){var r,o,a,i;return(i=(a=((o=(r=F.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(c=>c.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var o,a,i;if(e==null)return"";try{return Pr.format(e,(o=r?.locale)!==null&&o!==void 0?o:F.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(e)} is not valid`,s),s}}};window.FluidTopicsDateService=new xc;var un=class{static get(e,r){var o,a;let i=F.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 mo(i.baseUrl,e??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var Sc=class{urlToSearchRequest(e){return un.get().parse(e)}searchRequestToUrl(e){return un.get().serialize(e)}};window.FluidTopicsUrlService=new Sc;var Ur=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Ur.eventName="change";var Cc=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},I2=new Cc;var xa=class t extends $t{static build(){return new t(window.history,I2,()=>window.location,!1)}constructor(e,r,o,a){var i,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(i=e.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),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 e=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:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(e){this.addEventListener(Ur.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Ur.eventName,e)}currentItem(){return Cr(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Cr(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Cr(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let a=e,i=e+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var o;if(!this.hasState(e))return!1;let a=r??this.currentState.majorStateId,i=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=xa.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var z2=I`
|
|
615
|
-
`;function D2(t,e){let{authenticationRequired:r,session:o}=F.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var
|
|
614
|
+
`;var d3="ft-app-info",$r=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};$r.eventName="authentication-change";var f3={session:(t,e)=>{We(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>F.dispatchEvent(new $r(e.payload)),0))}},F=Mr.get({name:d3,reducers:f3,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 pa=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},mL=Me(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(F)}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=>Pr.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return pa([v({type:Boolean})],e.prototype,"useLongDateFormat",void 0),pa([v({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),pa([no({store:F.name,selector:r=>{var o,a;return(a=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],e.prototype,"metadataDescriptors",void 0),pa([no({store:F.name})],e.prototype,"uiLocale",void 0),e});var Br=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=F.getState(),a=e??o;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let a=F.subscribe(()=>{o=t.get(e),o&&(a(),r(o))})}})}};var ha=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Br.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Br.await()}};var Qe=class extends ha{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([c],[d])=>c.localeCompare(d)));let a=this.constructor;a.commonCache=(o=a.commonCache)!==null&&o!==void 0?o:new Et,this.cache=e?a.commonCache:new Et}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}};var ma=class extends Qe{async listMySearches(){let{session:e}=F.getState();return q1(e,Ee.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var ga=class extends Qe{async listMyBookmarks(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var ya=class extends Qe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=F.getState().session;return!!e?.sessionAuthenticated}};var ba=class extends Qe{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 e=F.getState().session;return!!e?.sessionAuthenticated}};var u3="ft-user-assets",p3={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(st).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:o,asset:a}=e.payload;mc(t,r,[...hc(t,r),a]),N2(t,r,1,o),k2(t,a)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;mc(t,r,hc(t,r).map(a=>a.id===o.id?o:a)),k2(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:a}=e.payload;mc(t,r,hc(t,r).filter(i=>i.id!==a)),N2(t,r,-1,o)}},M2={[st.SEARCHES]:"savedSearches",[st.BOOKMARKS]:"bookmarks",[st.BOOKS]:void 0,[st.COLLECTIONS]:void 0},hc=(t,e)=>{var r;let o=M2[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},mc=(t,e,r)=>{let o=M2[e];o&&(t[o]=r)},N2=(t,e,r,o)=>{let a=t.assetCounts.allAsset[e];if(a!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,a+r),e===st.BOOKMARKS&&o)){let i=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,i+r)}},k2=(t,e)=>{let r=t.assetLabels.map(a=>a.title),o=e.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));t.assetLabels.push(...o)},Je=Mr.get({name:u3,reducers:p3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(st).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),gc=class{constructor(e=new ya,r=new ba){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ga,this.savedSearchesService=new ma,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=F.getState();We((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Je.actions.clearAssetCount(),Je.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Je.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Je.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Je.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Je.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Je.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Je.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Je.getState().assetCounts.bookmarkByMap).length!==0;e===st.BOOKMARKS&&r&&Je.actions.clearBookmarkCountByMap(),Je.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Je.actions.bookmarks(r)}}},h3=new gc;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=h3);var yc=class{addCommand(e,r=!1){F.commands.add(e,r)}consumeCommand(e){return F.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new yc;var P2,Ro=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},m3=Symbol("clearAfterUnitTest"),va=class extends jn(Qe){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[P2]=()=>{this.defaultMessages={},this.cache=new Et,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=F.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let a={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};We(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new tn((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(a){!(a instanceof vr)&&r&&console.error(a)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Ro({loadedContexts:e})),this.dispatchEvent(new Ro({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Ro({loadedContexts:[e]})),this.dispatchEvent(new Ro({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>Vn(0).then(()=>o()).catch(()=>null)))}};P2=m3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends va{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends va{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var fn=window.FluidTopicsI18nService,bc=window.FluidTopicsCustomI18nService;var vc=class{highlightHtml(e,r,o){ms(e,r,o)}};window.FluidTopicsHighlightHtmlService=new vc;var xc=class{isDate(e){var r,o,a,i;return(i=(a=((o=(r=F.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(c=>c.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var o,a,i;if(e==null)return"";try{return Pr.format(e,(o=r?.locale)!==null&&o!==void 0?o:F.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(e)} is not valid`,s),s}}};window.FluidTopicsDateService=new xc;var un=class{static get(e,r){var o,a;let i=F.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 mo(i.baseUrl,e??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var Sc=class{urlToSearchRequest(e){return un.get().parse(e)}searchRequestToUrl(e){return un.get().serialize(e)}};window.FluidTopicsUrlService=new Sc;var Ur=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Ur.eventName="change";var Cc=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},I2=new Cc;var xa=class t extends $t{static build(){return new t(window.history,I2,()=>window.location,!1)}constructor(e,r,o,a){var i,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(i=e.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),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 e=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:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(e){this.addEventListener(Ur.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Ur.eventName,e)}currentItem(){return Cr(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Cr(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Cr(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let a=e,i=e+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var o;if(!this.hasState(e))return!1;let a=r??this.currentState.majorStateId,i=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=xa.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var z2=I`
|
|
615
|
+
`;function D2(t,e){let{authenticationRequired:r,session:o}=F.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var Ae=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},de=class extends V{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=()=>Br.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Et,this.cleanSessionDebouncer=new be,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return P`
|
|
616
616
|
<slot></slot>
|
|
617
|
-
`}connectedCallback(){super.connectedCallback(),F.addEventListener($r.eventName,this.reloadConfiguration)}disconnectedCallback(){F.addEventListener($r.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,o,a,i,s,c,d;super.update(e),e.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&F.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&F.actions.noCustom(this.noCustom),e.has("editorMode")&&F.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&F.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>fn.addContext(f)),e.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&F.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(F.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),F.actions.availableUiLocales((a=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&a!==void 0?a:[]),F.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&F.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&F.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 e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}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",()=>D2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};de.elementDefinitions={};de.styles=z2;
|
|
617
|
+
`}connectedCallback(){super.connectedCallback(),F.addEventListener($r.eventName,this.reloadConfiguration)}disconnectedCallback(){F.addEventListener($r.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,o,a,i,s,c,d;super.update(e),e.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&F.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&F.actions.noCustom(this.noCustom),e.has("editorMode")&&F.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&F.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>fn.addContext(f)),e.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&F.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(F.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),F.actions.availableUiLocales((a=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&a!==void 0?a:[]),F.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&F.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&F.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 e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}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",()=>D2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};de.elementDefinitions={};de.styles=z2;Ae([v()],de.prototype,"baseUrl",void 0);Ae([v()],de.prototype,"apiIntegrationIdentifier",void 0);Ae([v()],de.prototype,"apiIntegrationAppVersion",void 0);Ae([v()],de.prototype,"uiLocale",void 0);Ae([Pe(null)],de.prototype,"availableUiLocales",void 0);Ae([Pe(null)],de.prototype,"metadataConfiguration",void 0);Ae([v({type:Boolean})],de.prototype,"editorMode",void 0);Ae([v({type:Boolean})],de.prototype,"noCustom",void 0);Ae([v({type:Boolean})],de.prototype,"openExternalDocumentInNewTab",void 0);Ae([v({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],de.prototype,"noCustomComponent",void 0);Ae([v({type:Boolean})],de.prototype,"withManualResources",void 0);Ae([v({type:Boolean})],de.prototype,"navigatorOnline",void 0);Ae([v({type:Boolean})],de.prototype,"forcedOffline",void 0);Ae([v({type:Object})],de.prototype,"apiProvider",void 0);Ae([v({type:Boolean})],de.prototype,"authenticationRequired",void 0);Ae([Pe([])],de.prototype,"messageContexts",void 0);Ae([Pe(void 0)],de.prototype,"session",void 0);Ae([q()],de.prototype,"localesConfiguration",void 0);Ae([q()],de.prototype,"availableContentLocales",void 0);Y("ft-app-context")(de);var Ec=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,o]=e.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},wo=new Ec;var g3=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},hn=Symbol("i18nAttributes"),$2=Symbol("i18nListAttributes"),B2=Symbol("i18nProperties"),Sa=Symbol("i18nContexts"),pn=Symbol("i18nUnsubs"),Oa=Me(Symbol("withI18n"),function(t){var e,r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?bc:fn}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(wo.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[hn])===null||s===void 0||s.forEach((h,p)=>d[p]=f(h,p,d[p])),(c=this[$2])===null||c===void 0||c.forEach((h,p)=>{var g;return d[p]=(g=d[p])===null||g===void 0?void 0:g.map(S=>f(h,p,S))})}updateI18nProperties(i){var s;(s=this[B2])===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[Sa].set(d,{isCustomContext:c}),this[pn].has(d)||this[pn].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(i){return this[Sa].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Sa].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[pn].forEach(i=>i()),this[pn].clear()}}return e=Sa,r=pn,g3([v({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),Ca=class extends Oa(V){},Ea=class extends Oa(nn){};var Oc=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?wo.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},y3=new Oc;var U2=(t,e)=>(r,o)=>{var a;r.constructor.createProperty(o,{type:Object,hasChanged:mt,converter:wo,...e}),r[hn]=(a=r[hn])!==null&&a!==void 0?a:new Map,r[hn].set(o,t??{})};var H2=I`
|
|
618
618
|
`;var mn=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},bt=class extends Ea{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":K:P`
|
|
619
619
|
<span class="ft-i18n">
|
|
620
620
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
621
621
|
</span>
|
|
622
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};bt.elementDefinitions={};bt.styles=H2;mn([no()],bt.prototype,"editorMode",void 0);mn([v()],bt.prototype,"context",void 0);mn([v()],bt.prototype,"key",void 0);mn([Pe([])],bt.prototype,"args",void 0);mn([v()],bt.prototype,"defaultMessage",void 0);Y("ft-i18n")(bt);var vt=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},
|
|
622
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};bt.elementDefinitions={};bt.styles=H2;mn([no()],bt.prototype,"editorMode",void 0);mn([v()],bt.prototype,"context",void 0);mn([v()],bt.prototype,"key",void 0);mn([Pe([])],bt.prototype,"args",void 0);mn([v()],bt.prototype,"defaultMessage",void 0);Y("ft-i18n")(bt);var vt=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Re=class extends Ca{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 be,this.revealDebouncer=new be,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return P`
|
|
623
623
|
<div part="container"
|
|
624
624
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
625
625
|
<slot part="slot"></slot>
|
|
@@ -628,18 +628,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
|
|
|
628
628
|
popover="manual">
|
|
629
629
|
<div part="tooltip-content" class="ft-tooltip--content">
|
|
630
630
|
<slot name="text"></slot>
|
|
631
|
-
<ft-typography variant="${
|
|
631
|
+
<ft-typography variant="${Le.caption}" ?hidden=${!(!((e=this.text)===null||e===void 0)&&e.message)}>
|
|
632
632
|
${(r=this.text)===null||r===void 0?void 0:r.message}
|
|
633
633
|
</ft-typography>
|
|
634
634
|
</div>
|
|
635
635
|
</div>
|
|
636
636
|
</div>
|
|
637
|
-
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let o=this.manual;this.manual=!0;let a=this.text;this.text={message:e},await this.show(r),this.text=a,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&as(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${$.transitionDuration}, left ${$.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||pi(e,this.ignoreMatchingElements,this.eventsTarget)}};Ae.elementDefinitions={"ft-typography":ve};Ae.styles=T2;vt([U2()],Ae.prototype,"text",void 0);vt([v({type:Boolean})],Ae.prototype,"manual",void 0);vt([v({type:Boolean})],Ae.prototype,"inline",void 0);vt([Yt()],Ae.prototype,"delay",void 0);vt([v()],Ae.prototype,"position",void 0);vt([Pe([])],Ae.prototype,"ignoreMatchingElements",void 0);vt([ai()],Ae.prototype,"slotNodes",void 0);vt([j(".ft-tooltip--container")],Ae.prototype,"container",void 0);vt([j(".ft-tooltip")],Ae.prototype,"tooltip",void 0);vt([j(".ft-tooltip--content")],Ae.prototype,"tooltipContent",void 0);vt([q()],Ae.prototype,"visible",void 0);Y("ft-tooltip")(Ae);var ct;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ct||(ct={}));var Nt;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CLOUD_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM_REGULAR="",t.HYPHEN_SOLID="",t.CROSSHAIRS_REGULAR="",t.PERSON_CHALKBOARD_REGULAR=""})(Nt||(Nt={}));var z;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(z||(z={}));var iw=new Map([...["abw"].map(t=>[t,z.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,z.AUDIO]),...["avi"].map(t=>[t,z.AVI]),...["chm","xhs"].map(t=>[t,z.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,z.CODE]),...["csv"].map(t=>[t,z.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,z.DITA]),...["epub"].map(t=>[t,z.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,z.EXCEL]),...["flac"].map(t=>[t,z.FLAC]),...["gif"].map(t=>[t,z.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,z.GZIP]),...["html","htm","xhtml"].map(t=>[t,z.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,z.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,z.JPEG]),...["json"].map(t=>[t,z.JSON]),...["m4a","m4p"].map(t=>[t,z.M4A]),...["mov","qt"].map(t=>[t,z.MOV]),...["mp3"].map(t=>[t,z.MP3]),...["mp4","m4v"].map(t=>[t,z.MP4]),...["ogg","oga"].map(t=>[t,z.OGG]),...["pdf","ps"].map(t=>[t,z.PDF]),...["png"].map(t=>[t,z.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,z.POWERPOINT]),...["rar"].map(t=>[t,z.RAR]),...["stp"].map(t=>[t,z.STP]),...["txt","rtf","md","mdown"].map(t=>[t,z.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,z.VIDEO]),...["wav"].map(t=>[t,z.WAV]),...["wma"].map(t=>[t,z.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,z.WORD]),...["xml","xsl","rdf"].map(t=>[t,z.XML]),...["yaml","yml","x-yaml"].map(t=>[t,z.YAML]),...["zip"].map(t=>[t,z.ZIP])]);var sw={[z.ABW]:"#91ABC6",[z.AUDIO]:"#1795E3",[z.AVI]:"#E63324",[z.CHM]:"#71C3EB",[z.CODE]:"#71C3EB",[z.CSV]:"#1F7345",[z.DITA]:"#71C3EB",[z.EPUB]:"#85B926",[z.EXCEL]:"#1F7345",[z.FLAC]:"#1795E3",[z.GIF]:"#59B031",[z.GZIP]:"#F8AB36",[z.HTML]:"#71C3EB",[z.IMAGE]:"#59B031",[z.JPEG]:"#59B031",[z.JSON]:"#71C3EB",[z.M4A]:"#1795E3",[z.MOV]:"#E63324",[z.MP3]:"#1795E3",[z.MP4]:"#E63324",[z.OGG]:"#1795E3",[z.PDF]:"#E44948",[z.PNG]:"#59B031",[z.POWERPOINT]:"#B54A2B",[z.RAR]:"#F8AB36",[z.STP]:"#3764B1",[z.TEXT]:"#3162AB",[z.UNKNOWN]:"#999999",[z.VIDEO]:"#E63324",[z.WAV]:"#1795E3",[z.WMA]:"#1795E3",[z.WORD]:"#3162AB",[z.XML]:"#71C3EB",[z.YAML]:"#71C3EB",[z.ZIP]:"#F8AB36"};var gn=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Re=class extends V{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=K}render(){let e=this.variant&&Object.values(ct).includes(this.variant)?this.variant:ct.fluid_topics,r=e!==ct.material||!!this.value;return P`
|
|
637
|
+
`}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let o=this.manual;this.manual=!0;let a=this.text;this.text={message:e},await this.show(r),this.text=a,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&as(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${$.transitionDuration}, left ${$.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||pi(e,this.ignoreMatchingElements,this.eventsTarget)}};Re.elementDefinitions={"ft-typography":ve};Re.styles=T2;vt([U2()],Re.prototype,"text",void 0);vt([v({type:Boolean})],Re.prototype,"manual",void 0);vt([v({type:Boolean})],Re.prototype,"inline",void 0);vt([Yt()],Re.prototype,"delay",void 0);vt([v()],Re.prototype,"position",void 0);vt([Pe([])],Re.prototype,"ignoreMatchingElements",void 0);vt([ai()],Re.prototype,"slotNodes",void 0);vt([j(".ft-tooltip--container")],Re.prototype,"container",void 0);vt([j(".ft-tooltip")],Re.prototype,"tooltip",void 0);vt([j(".ft-tooltip--content")],Re.prototype,"tooltipContent",void 0);vt([q()],Re.prototype,"visible",void 0);Y("ft-tooltip")(Re);var ct;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ct||(ct={}));var Nt;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CLOUD_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID="",t.FILE_CODE="",t.BOX_CODE="",t.TOPICS_SOLID="",t.PHOTO_FILM_REGULAR="",t.HYPHEN_SOLID="",t.CROSSHAIRS_REGULAR="",t.PERSON_CHALKBOARD_REGULAR=""})(Nt||(Nt={}));var z;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(z||(z={}));var iw=new Map([...["abw"].map(t=>[t,z.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,z.AUDIO]),...["avi"].map(t=>[t,z.AVI]),...["chm","xhs"].map(t=>[t,z.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,z.CODE]),...["csv"].map(t=>[t,z.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,z.DITA]),...["epub"].map(t=>[t,z.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,z.EXCEL]),...["flac"].map(t=>[t,z.FLAC]),...["gif"].map(t=>[t,z.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,z.GZIP]),...["html","htm","xhtml"].map(t=>[t,z.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,z.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,z.JPEG]),...["json"].map(t=>[t,z.JSON]),...["m4a","m4p"].map(t=>[t,z.M4A]),...["mov","qt"].map(t=>[t,z.MOV]),...["mp3"].map(t=>[t,z.MP3]),...["mp4","m4v"].map(t=>[t,z.MP4]),...["ogg","oga"].map(t=>[t,z.OGG]),...["pdf","ps"].map(t=>[t,z.PDF]),...["png"].map(t=>[t,z.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,z.POWERPOINT]),...["rar"].map(t=>[t,z.RAR]),...["stp"].map(t=>[t,z.STP]),...["txt","rtf","md","mdown"].map(t=>[t,z.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,z.VIDEO]),...["wav"].map(t=>[t,z.WAV]),...["wma"].map(t=>[t,z.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,z.WORD]),...["xml","xsl","rdf"].map(t=>[t,z.XML]),...["yaml","yml","x-yaml"].map(t=>[t,z.YAML]),...["zip"].map(t=>[t,z.ZIP])]);var sw={[z.ABW]:"#91ABC6",[z.AUDIO]:"#1795E3",[z.AVI]:"#E63324",[z.CHM]:"#71C3EB",[z.CODE]:"#71C3EB",[z.CSV]:"#1F7345",[z.DITA]:"#71C3EB",[z.EPUB]:"#85B926",[z.EXCEL]:"#1F7345",[z.FLAC]:"#1795E3",[z.GIF]:"#59B031",[z.GZIP]:"#F8AB36",[z.HTML]:"#71C3EB",[z.IMAGE]:"#59B031",[z.JPEG]:"#59B031",[z.JSON]:"#71C3EB",[z.M4A]:"#1795E3",[z.MOV]:"#E63324",[z.MP3]:"#1795E3",[z.MP4]:"#E63324",[z.OGG]:"#1795E3",[z.PDF]:"#E44948",[z.PNG]:"#59B031",[z.POWERPOINT]:"#B54A2B",[z.RAR]:"#F8AB36",[z.STP]:"#3764B1",[z.TEXT]:"#3162AB",[z.UNKNOWN]:"#999999",[z.VIDEO]:"#E63324",[z.WAV]:"#1795E3",[z.WMA]:"#1795E3",[z.WORD]:"#3162AB",[z.XML]:"#71C3EB",[z.YAML]:"#71C3EB",[z.ZIP]:"#F8AB36"};var gn=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},we=class extends V{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=K}render(){let e=this.variant&&Object.values(ct).includes(this.variant)?this.variant:ct.fluid_topics,r=e!==ct.material||!!this.value;return P`
|
|
638
638
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
639
639
|
${Wo(this.resolvedIcon)}
|
|
640
640
|
<slot ?hidden=${r}></slot>
|
|
641
641
|
</i>
|
|
642
|
-
`}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.getTextContent();switch(this.variant){case ct.file_format:this.resolvedIcon=(e=z[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case ct.material:this.resolvedIcon=this.value||K;break;default:this.resolvedIcon=(r=Nt[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};
|
|
642
|
+
`}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.getTextContent();switch(this.variant){case ct.file_format:this.resolvedIcon=(e=z[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case ct.material:this.resolvedIcon=this.value||K;break;default:this.resolvedIcon=(r=Nt[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};we.elementDefinitions={};we.styles=A2;gn([v()],we.prototype,"variant",void 0);gn([v()],we.prototype,"value",void 0);gn([v({reflect:!0,attribute:"aria-hidden"})],we.prototype,"ariaHidden",void 0);gn([q()],we.prototype,"resolvedIcon",void 0);gn([j("slot")],we.prototype,"slottedContent",void 0);var F2={size:n.create("--ftds-icon-font-size","","SIZE","24px")},G2=[I`
|
|
643
643
|
:host {
|
|
644
644
|
display: inline-flex;
|
|
645
645
|
}
|
|
@@ -1212,14 +1212,14 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1212
1212
|
`);e.setAttribute(Fr,""),e.innerHTML=a}};function hf(t){t()}function tu(t,e){let r=typeof e=="function"?e:wa;if(t.length===0)r();else{let o=hf;H.mutateApproach===Wg&&(o=ir.requestAnimationFrame||hf),o(()=>{let a=$y(),i=gl.begin("mutate");t.map(a),i(),r()})}}var yl=!1;function ru(){yl=!0}function al(){yl=!1}var Na=null;function mf(t){if(!ef||!H.observeMutations)return;let{treeCallback:e=wa,nodeCallback:r=wa,pseudoElementsCallback:o=wa,observeMutationsRoot:a=fe}=t;Na=new ef(i=>{if(yl)return;let s=sr();ko(i).forEach(c=>{if(c.type==="childList"&&c.addedNodes.length>0&&!pf(c.addedNodes[0])&&(H.searchPseudoElements&&o(c.target),e(c.target)),c.type==="attributes"&&c.target.parentNode&&H.searchPseudoElements&&o(c.target.parentNode),c.type==="attributes"&&pf(c.target)&&~Yg.indexOf(c.attributeName))if(c.attributeName==="class"&&zy(c.target)){let{prefix:d,iconName:f}=Ia(fl(c.target));c.target.setAttribute(cl,d||s),f&&c.target.setAttribute(ll,f)}else Dy(c.target)&&r(c.target)})}),Vt&&Na.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Fy(){Na&&Na.disconnect()}function Gy(t){let e=t.getAttribute("style"),r=[];return e&&(r=e.split(";").reduce((o,a)=>{let i=a.split(":"),s=i[0],c=i.slice(1);return s&&c.length>0&&(o[s]=c.join(":").trim()),o},{})),r}function Wy(t){let e=t.getAttribute("data-prefix"),r=t.getAttribute("data-icon"),o=t.innerText!==void 0?t.innerText.trim():"",a=Ia(fl(t));return a.prefix||(a.prefix=sr()),e&&r&&(a.prefix=e,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=gy(a.prefix,t.innerText)||hl(a.prefix,Xc(t.innerText))),!a.iconName&&H.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=t.firstChild.data)),a}function Vy(t){let e=ko(t.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=t.getAttribute("title"),o=t.getAttribute("data-fa-title-id");return H.autoA11y&&(r?e["aria-labelledby"]="".concat(H.replacementClass,"-title-").concat(o||En()):(e["aria-hidden"]="true",e.focusable="false")),e}function jy(){return{iconName:null,title:null,titleId:null,prefix:null,transform:kt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function gf(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:r,prefix:o,rest:a}=Wy(t),i=Vy(t),s=el("parseNodeAttributes",{},t),c=e.styleParser?Gy(t):[];return N({iconName:r,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:o,transform:kt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:i}},s)}var{styles:Ky}=Mt;function ou(t){let e=H.autoReplaceSvg==="nest"?gf(t,{styleParser:!1}):gf(t);return~e.extra.classes.indexOf(Df)?cr("generateLayersText",t,e):cr("generateSvgReplacementMutation",t,e)}function Zy(){return[...wg,...Vc]}function yf(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Vt)return Promise.resolve();let r=fe.documentElement.classList,o=h=>r.add("".concat(of,"-").concat(h)),a=h=>r.remove("".concat(of,"-").concat(h)),i=H.autoFetchSvg?Zy():Tf.concat(Object.keys(Ky));i.includes("fa")||i.push("fa");let s=[".".concat(Df,":not([").concat(Fr,"])")].concat(i.map(h=>".".concat(h,":not([").concat(Fr,"])"))).join(", ");if(s.length===0)return Promise.resolve();let c=[];try{c=ko(t.querySelectorAll(s))}catch{}if(c.length>0)o("pending"),a("complete");else return Promise.resolve();let d=gl.begin("onTree"),f=c.reduce((h,p)=>{try{let g=ou(p);g&&h.push(g)}catch(g){If||g.name==="MissingIcon"&&console.error(g)}return h},[]);return new Promise((h,p)=>{Promise.all(f).then(g=>{tu(g,()=>{o("active"),o("complete"),a("pending"),typeof e=="function"&&e(),d(),h()})}).catch(g=>{d(),p(g)})})}function qy(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ou(t).then(r=>{r&&tu([r],e)})}function Yy(t){return function(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=(e||{}).icon?e:tl(e||{}),{mask:a}=r;return a&&(a=(a||{}).icon?a:tl(a||{})),t(o,N(N({},r),{},{mask:a}))}}var Xy=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=kt,symbol:o=!1,mask:a=null,maskId:i=null,title:s=null,titleId:c=null,classes:d=[],attributes:f={},styles:h={}}=e;if(!t)return;let{prefix:p,iconName:g,icon:S}=t;return za(N({type:"icon"},t),()=>(Gr("beforeDOMElementCreation",{iconDefinition:t,params:e}),H.autoA11y&&(s?f["aria-labelledby"]="".concat(H.replacementClass,"-title-").concat(c||En()):(f["aria-hidden"]="true",f.focusable="false")),ml({icons:{main:rl(S),mask:a?rl(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:p,iconName:g,transform:N(N({},kt),r),symbol:o,title:s,maskId:i,titleId:c,extra:{attributes:f,styles:h,classes:d}})))},Qy={mixout(){return{icon:Yy(Xy)}},hooks(){return{mutationObserverCallbacks(t){return t.treeCallback=yf,t.nodeCallback=qy,t}}},provides(t){t.i2svg=function(e){let{node:r=fe,callback:o=()=>{}}=e;return yf(r,o)},t.generateSvgReplacementMutation=function(e,r){let{iconName:o,title:a,titleId:i,prefix:s,transform:c,symbol:d,mask:f,maskId:h,extra:p}=r;return new Promise((g,S)=>{Promise.all([ol(o,s),f.iconName?ol(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(C=>{let[R,T]=C;g([e,ml({icons:{main:R,mask:T},prefix:s,iconName:o,transform:c,symbol:d,maskId:h,title:a,titleId:i,extra:p,watchable:!0})])}).catch(S)})},t.generateAbstractIcon=function(e){let{children:r,attributes:o,main:a,transform:i,styles:s}=e,c=Ma(s);c.length>0&&(o.style=c);let d;return ul(i)&&(d=cr("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(d||a.icon),{children:r,attributes:o}}}},Jy={mixout(){return{layer(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:r=[]}=e;return za({type:"layer"},()=>{Gr("beforeDOMElementCreation",{assembler:t,params:e});let o=[];return t(a=>{Array.isArray(a)?a.map(i=>{o=o.concat(i.abstract)}):o=o.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(H.cssPrefix,"-layers"),...r].join(" ")},children:o}]})}}}},e5={mixout(){return{counter(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:r=null,classes:o=[],attributes:a={},styles:i={}}=e;return za({type:"counter",content:t},()=>(Gr("beforeDOMElementCreation",{content:t,params:e}),ky({content:t.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(H.cssPrefix,"-layers-counter"),...o]}})))}}}},t5={mixout(){return{text(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=kt,title:o=null,classes:a=[],attributes:i={},styles:s={}}=e;return za({type:"text",content:t},()=>(Gr("beforeDOMElementCreation",{content:t,params:e}),ff({content:t,transform:N(N({},kt),r),title:o,extra:{attributes:i,styles:s,classes:["".concat(H.cssPrefix,"-layers-text"),...a]}})))}}},provides(t){t.generateLayersText=function(e,r){let{title:o,transform:a,extra:i}=r,s=null,c=null;if(wf){let d=parseInt(getComputedStyle(e).fontSize,10),f=e.getBoundingClientRect();s=f.width/d,c=f.height/d}return H.autoA11y&&!o&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,ff({content:e.innerHTML,width:s,height:c,transform:a,title:o,extra:i,watchable:!0})])}}},r5=new RegExp('"',"ug"),bf=[1105920,1112319],vf=N(N(N(N({},{FontAwesome:{normal:"fas",400:"fas"}}),Lg),Fg),Ig),il=Object.keys(vf).reduce((t,e)=>(t[e.toLowerCase()]=vf[e],t),{}),o5=Object.keys(il).reduce((t,e)=>{let r=il[e];return t[e]=r[900]||[...Object.entries(r)][0][1],t},{});function n5(t){let e=t.replace(r5,""),r=fy(e,0),o=r>=bf[0]&&r<=bf[1],a=e.length===2?e[0]===e[1]:!1;return{value:Xc(a?e[0]:e),isSecondary:o||a}}function a5(t,e){let r=t.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(e),a=isNaN(o)?"normal":o;return(il[r]||{})[a]||o5[r]}function xf(t,e){let r="".concat(Gg).concat(e.replace(":","-"));return new Promise((o,a)=>{if(t.getAttribute(r)!==null)return o();let s=ko(t.children).filter(g=>g.getAttribute(Kc)===e)[0],c=ir.getComputedStyle(t,e),d=c.getPropertyValue("font-family"),f=d.match(Zg),h=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(s&&!f)return t.removeChild(s),o();if(f&&p!=="none"&&p!==""){let g=c.getPropertyValue("content"),S=a5(d,h),{value:C,isSecondary:R}=n5(g),T=f[0].startsWith("FontAwesome"),k=hl(S,C),M=k;if(T){let O=yy(C);O.iconName&&O.prefix&&(k=O.iconName,S=O.prefix)}if(k&&!R&&(!s||s.getAttribute(cl)!==S||s.getAttribute(ll)!==M)){t.setAttribute(r,M),s&&t.removeChild(s);let O=jy(),{extra:E}=O;E.attributes[Kc]=e,ol(k,S).then(w=>{let D=ml(N(N({},O),{},{icons:{main:w,mask:Xf()},prefix:S,iconName:M,extra:E,watchable:!0})),Z=fe.createElementNS("http://www.w3.org/2000/svg","svg");e==="::before"?t.insertBefore(Z,t.firstChild):t.appendChild(Z),Z.outerHTML=D.map(J=>An(J)).join(`
|
|
1213
1213
|
`),t.removeAttribute(r),o()}).catch(a)}else o()}else o()})}function i5(t){return Promise.all([xf(t,"::before"),xf(t,"::after")])}function s5(t){return t.parentNode!==document.head&&!~Vg.indexOf(t.tagName.toUpperCase())&&!t.getAttribute(Kc)&&(!t.parentNode||t.parentNode.tagName!=="svg")}function Sf(t){if(Vt)return new Promise((e,r)=>{let o=ko(t.querySelectorAll("*")).filter(s5).map(i5),a=gl.begin("searchPseudoElements");ru(),Promise.all(o).then(()=>{a(),al(),e()}).catch(()=>{a(),al(),r()})})}var c5={hooks(){return{mutationObserverCallbacks(t){return t.pseudoElementsCallback=Sf,t}}},provides(t){t.pseudoElements2svg=function(e){let{node:r=fe}=e;H.searchPseudoElements&&Sf(r)}}},Cf=!1,l5={mixout(){return{dom:{unwatch(){ru(),Cf=!0}}}},hooks(){return{bootstrap(){mf(el("mutationObserverCallbacks",{}))},noAuto(){Fy()},watch(t){let{observeMutationsRoot:e}=t;Cf?al():mf(el("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},Ef=t=>{let e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce((r,o)=>{let a=o.toLowerCase().split("-"),i=a[0],s=a.slice(1).join("-");if(i&&s==="h")return r.flipX=!0,r;if(i&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(i){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},e)},d5={mixout(){return{parse:{transform:t=>Ef(t)}}},hooks(){return{parseNodeAttributes(t,e){let r=e.getAttribute("data-fa-transform");return r&&(t.transform=Ef(r)),t}}},provides(t){t.generateAbstractTransformGrouping=function(e){let{main:r,transform:o,containerWidth:a,iconWidth:i}=e,s={transform:"translate(".concat(a/2," 256)")},c="translate(".concat(o.x*32,", ").concat(o.y*32,") "),d="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),f="rotate(".concat(o.rotate," 0 0)"),h={transform:"".concat(c," ").concat(d," ").concat(f)},p={transform:"translate(".concat(i/2*-1," -256)")},g={outer:s,inner:h,path:p};return{tag:"g",attributes:N({},g.outer),children:[{tag:"g",attributes:N({},g.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:N(N({},r.icon.attributes),g.path)}]}]}}}},Gc={x:0,y:0,width:"100%",height:"100%"};function Of(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function f5(t){return t.tag==="g"?t.children:[t]}var u5={hooks(){return{parseNodeAttributes(t,e){let r=e.getAttribute("data-fa-mask"),o=r?Ia(r.split(" ").map(a=>a.trim())):Xf();return o.prefix||(o.prefix=sr()),t.mask=o,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides(t){t.generateAbstractMask=function(e){let{children:r,attributes:o,main:a,mask:i,maskId:s,transform:c}=e,{width:d,icon:f}=a,{width:h,icon:p}=i,g=ny({transform:c,containerWidth:h,iconWidth:d}),S={tag:"rect",attributes:N(N({},Gc),{},{fill:"white"})},C=f.children?{children:f.children.map(Of)}:{},R={tag:"g",attributes:N({},g.inner),children:[Of(N({tag:f.tag,attributes:N(N({},f.attributes),g.path)},C))]},T={tag:"g",attributes:N({},g.outer),children:[R]},k="mask-".concat(s||En()),M="clip-".concat(s||En()),O={tag:"mask",attributes:N(N({},Gc),{},{id:k,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[S,T]},E={tag:"defs",children:[{tag:"clipPath",attributes:{id:M},children:f5(p)},O]};return r.push(E,{tag:"rect",attributes:N({fill:"currentColor","clip-path":"url(#".concat(M,")"),mask:"url(#".concat(k,")")},Gc)}),{children:r,attributes:o}}}},p5={provides(t){let e=!1;ir.matchMedia&&(e=ir.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){let r=[],o={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:N(N({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});let i=N(N({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:N(N({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||s.children.push({tag:"animate",attributes:N(N({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:N(N({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:N(N({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:N(N({},i),{},{values:"1;0;0;0;0;1;"})}]}),e||r.push({tag:"path",attributes:N(N({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:N(N({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},h5={hooks(){return{parseNodeAttributes(t,e){let r=e.getAttribute("data-fa-symbol"),o=r===null?!1:r===""?!0:r;return t.symbol=o,t}}}},m5=[sy,Qy,Jy,e5,t5,c5,l5,d5,u5,p5,h5];Ly(m5,{mixoutsTo:et});var Lw=et.noAuto,Aw=et.config,nu=et.library,Rw=et.dom,ww=et.parse,_w=et.findIconDefinition,Tw=et.toHtml,au=et.icon,Nw=et.layer,kw=et.text,Mw=et.counter;var y;(function(t){t.LOCK_KEYHOLE="lock-keyhole",t.LINK_SIMPLE_SLASH="link-simple-slash",t.TABLE_LAYOUT="table-layout",t.LAYER_GROUP="layer-group",t.CIRCLE_INFO="circle-info",t.BARS_PROGRESS="bars-progress",t.CODE_COMPARE="code-compare",t.HOURGLASS_END="hourglass-end",t.BOX_ARCHIVE="box-archive",t.ARROWS_ROTATE="arrows-rotate",t.CIRCLE_DOT="circle-dot",t.ANGLES_LEFT="angles-left",t.ROUTE="route",t.BARS="bars",t.ARROW_DOWN="arrow-down",t.LOCK_KEYHOLE_OPEN="lock-keyhole-open",t.DESKTOP="desktop",t.ANGLES_RIGHT="angles-right",t.PIGGY_BANK="piggy-bank",t.ANGLE_UP="angle-up",t.PEN_NIB="pen-nib",t.ARROW_UP_RIGHT_FROM_SQUARE="arrow-up-right-from-square",t.GRID_2="grid-2",t.BOOKS="books",t.TAG="tag",t.ANGLES_UP_DOWN="angles-up-down",t.ARROW_ROTATE_LEFT="arrow-rotate-left",t.EYE_SLASH="eye-slash",t.CIRCLE_DOLLAR="circle-dollar",t.COMPRESS="compress",t.RADAR="radar",t.ARROW_ROTATE_RIGHT="arrow-rotate-right",t.CHART_NETWORK="chart-network",t.PLUS="plus",t.UNDERLINE="underline",t.ARROW_LEFT="arrow-left",t.UPLOAD="upload",t.GLOBE="globe",t.LANGUAGE="language",t.TOGGLE_ON="toggle-on",t.DOWNLOAD="download",t.MESSAGE_QUOTE="message-quote",t.TRIANGLE_EXCLAMATION="triangle-exclamation",t.STAR="star",t.BELL_SLASH="bell-slash",t.HOURGLASS_HALF="hourglass-half",t.INBOX="inbox",t.COMMENT_DOTS="comment-dots",t.ANGLE_DOWN="angle-down",t.CLOUD_ARROW_DOWN="cloud-arrow-down",t.BOOKMARK_SLASH="bookmark-slash",t.LINK_SIMPLE="link-simple",t.CLOCK_ROTATE_LEFT="clock-rotate-left",t.SPINNER_THIRD="spinner-third",t.PLUG="plug",t.CHART_SIMPLE="chart-simple",t.CIRCLE_PLAY="circle-play",t.FILE_MAGNIFYING_GLASS="file-magnifying-glass",t.PEN="pen",t.TABLET="tablet",t.CIRCLE_CHECK="circle-check",t.FILE_INVOICE="file-invoice",t.XMARK="xmark",t.ARROW_RIGHT="arrow-right",t.BOOKMARK="bookmark",t.EXPAND_WIDE="expand-wide",t.USER="user",t.SERVER="server",t.CALENDAR_RANGE="calendar-range",t.BROOM_WIDE="broom-wide",t.ARROWS_UP_DOWN_LEFT_RIGHT="arrows-up-down-left-right",t.WIFI_SLASH="wifi-slash",t.CHECK="check",t.ITALIC="italic",t.LIFE_RING="life-ring",t.TABLE_CELLS="table-cells",t.TRASH_CAN="trash-can",t.WRENCH="wrench",t.PAPERCLIP="paperclip",t.CABINET_FILING="cabinet-filing",t.ARROW_UP="arrow-up",t.FILE="file",t.CIRCLE_QUESTION="circle-question",t.COLUMNS_3="columns-3",t.GEAR="gear",t.CHART_LINE="chart-line",t.THUMBS_UP="thumbs-up",t.HAND="hand",t.CIRCLE="circle",t.CALENDAR_DAY="calendar-day",t.CLOUD="cloud",t.LIST_TREE="list-tree",t.ANGLE_RIGHT="angle-right",t.CODE="code",t.ALIGN_CENTER="align-center",t.COMMENT_QUESTION="comment-question",t.IMAGE="image",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="arrow-up-right-and-arrow-down-left-from-center",t.THUMBS_DOWN="thumbs-down",t.DIAGRAM_SANKEY="diagram-sankey",t.MESSAGE_CHECK="message-check",t.BOLD="bold",t.CIRCLE_STOP="circle-stop",t.ARROW_RIGHT_TO_BRACKET="arrow-right-to-bracket",t.USERS="users",t.ARROW_TURN_DOWN_RIGHT="arrow-turn-down-right",t.PRINT="print",t.ALIGN_RIGHT="align-right",t.FLASK="flask",t.MAGNIFYING_GLASS_PLUS="magnifying-glass-plus",t.SHIELD_CHECK="shield-check",t.STRIKETHROUGH="strikethrough",t.FOLDER_OPEN="folder-open",t.CLONE="clone",t.HEART="heart",t.PAPER_PLANE="paper-plane",t.MAGNIFYING_GLASS_MINUS="magnifying-glass-minus",t.BOOK="book",t.CLOCK="clock",t.ELLIPSIS_VERTICAL="ellipsis-vertical",t.ARROW_RIGHT_TO_LINE="arrow-right-to-line",t.ANGLE_LEFT="angle-left",t.CALENDAR_CIRCLE_EXCLAMATION="calendar-circle-exclamation",t.EXPAND="expand",t.EQUALS="equals",t.RECEIPT="receipt",t.EYE="eye",t.ALIGN_LEFT="align-left",t.PAINTBRUSH="paintbrush",t.KEY="key",t.PALETTE="palette",t.FLOPPY_DISK="floppy-disk",t.MAGNIFYING_GLASS="magnifying-glass",t.ELLIPSIS="ellipsis",t.SHARE_NODES="share-nodes",t.ARROWS_FROM_LINE="arrows-from-line",t.POWER_OFF="power-off",t.ENVELOPE_OPEN_TEXT="envelope-open-text",t.CIRCLE_PAUSE="circle-pause",t.MOBILE="mobile",t.BELL="bell",t.FILTER="filter",t.MEDAL="medal",t.CLOUD_SLASH="cloud-slash",t.MINUS="minus",t.PASTE="paste",t.CALENDAR_CHECK="calendar-check",t.HEXAGON_XMARK="hexagon-xmark",t.PAUSE="pause",t.CHART_MIXED="chart-mixed",t.ROBOT="robot",t.WAND_MAGIC_SPARKLES="wand-magic-sparkles",t.HEXAGON_EXCLAMATION="hexagon-exclamation",t.CUBES="cubes",t.TURN_RIGHT="turn-right",t.SQUARE_INFO="square-info",t.MESSAGE_BOT="message-bot",t.PLAY="play",t.TURN_LEFT="turn-left",t.ADDRESS_CARD="address-card",t.CROWN="crown",t.GRIP_LINES="grip-lines",t.CHART_AREA="chart-area",t.TRASH="trash",t.USER_TIE="user-tie",t.CIRCLE_SMALL="circle-small",t.REGULAR_FOLDER_OPEN_LOCK="regular-folder-open-lock",t.REGULAR_USER_CIRCLE_CHECK="regular-user-circle-check",t.SOLID_LEFT_PANEL="solid-left-panel",t.REGULAR_BINDER_OPEN="regular-binder-open",t.REGULAR_BOOKMARK_CIRCLE_PLUS="regular-bookmark-circle-plus",t.REGULAR_DIAGRAM_SUNBURST="regular-diagram-sunburst",t.REGULAR_PREVIEW="regular-preview",t.REGULAR_CONTEXT="regular-context",t.REGULAR_MOBILE_LANDSCAPE="regular-mobile-landscape",t.SOLID_FILE_ROTATE_RIGHT="solid-file-rotate-right",t.REGULAR_PIP_WIDE="regular-pip-wide",t.REGULAR_CLONE_LINK_SIMPLE="regular-clone-link-simple",t.REGULAR_LEFT_PANEL="regular-left-panel",t.LIGHT_FILE_LINES_GEAR="light-file-lines-gear",t.REGULAR_FILE_LINES_GEAR="regular-file-lines-gear",t.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION="regular-circle-dashed-dollar-question",t.REGULAR_TABLE_CELLS_SLASH="regular-table-cells-slash",t.REGULAR_BOOK_OPEN_GEAR_SLASH="regular-book-open-gear-slash",t.REGULAR_TABLET_LANDSCAPE="regular-tablet-landscape",t.REGULAR_CHART_BAR_STACKED="regular-chart-bar-stacked",t.SOLID_CIRCLE_USER_CIRCLE_CHECK="solid-circle-user-circle-check",t.REGULAR_BULLETS_LINE="regular-bullets-line",t.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION="regular-language-circle-exclamation",t.SOLID_CODE_COMPARE="solid-code-compare",t.REGULAR_FORMAT_CLEAR="regular-format-clear",t.REGULAR_MAGNIFYING_GLASS_BACK="regular-magnifying-glass-back",t.LIGHT_RECEIPT_GEAR="light-receipt-gear",t.REGULAR_BINDER_OPEN_ARROW_LEFT="regular-binder-open-arrow-left",t.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK="regular-hourglass-half-circle-check",t.REGULAR_THRESHOLD="regular-threshold",t.REGULAR_PIP="regular-pip",t.REGULAR_USER_GEAR="regular-user-gear",t.REGULAR_BELL_CIRCLE_PLUS="regular-bell-circle-plus",t.REGULAR_CLOUD_SLASH_GEAR="regular-cloud-slash-gear",t.REGULAR_HOUSE_MAGNIFYING_GLASS="regular-house-magnifying-glass",t.SOLID_CIRCLE_USER_SLASH="solid-circle-user-slash",t.REGULAR_LIST_MAGNIFYING_GLASS="regular-list-magnifying-glass",t.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS="regular-computer-mouse-magnifying-glass",t.REGULAR_LANGUAGE_SLASH="regular-language-slash",t.REGULAR_CHART_BAR_GROUPED="regular-chart-bar-grouped",t.REGULAR_CONSUMER="regular-consumer",t.REGULAR_CHART_BAR_NORMALIZED="regular-chart-bar-normalized",t.REGULAR_USER_LOCK="regular-user-lock",t.REGULAR_CIRCLE_DOLLAR_SLASH="regular-circle-dollar-slash",t.REGULAR_BINDER_OPEN_ARROW_RIGHT="regular-binder-open-arrow-right",t.REGULAR_BULLETS_LINES="regular-bullets-lines",t.REGULAR_BINDER_OPEN_PEN="regular-binder-open-pen",t.REGULAR_BOOKMARK_CIRCLE_MINUS="regular-bookmark-circle-minus",t.REGULAR_MAGNIFYING_GLASS_ONE="regular-magnifying-glass-one",t.REGULAR_BOOK_OPEN_GEAR="regular-book-open-gear",t.LIGHT_BOOK_OPEN_GEAR="light-book-open-gear"})(y||(y={}));var zw={[y.LOCK_KEYHOLE]:[m.regular,m.solid],[y.LINK_SIMPLE_SLASH]:[m.regular],[y.TABLE_LAYOUT]:[m.regular],[y.LAYER_GROUP]:[m.regular],[y.CIRCLE_INFO]:[m.regular],[y.BARS_PROGRESS]:[m.regular],[y.CODE_COMPARE]:[m.regular,m.solid],[y.HOURGLASS_END]:[m.regular],[y.BOX_ARCHIVE]:[m.regular,m.solid],[y.ARROWS_ROTATE]:[m.regular],[y.CIRCLE_DOT]:[m.regular],[y.ANGLES_LEFT]:[m.regular],[y.ROUTE]:[m.regular],[y.BARS]:[m.regular],[y.ARROW_DOWN]:[m.regular],[y.LOCK_KEYHOLE_OPEN]:[m.regular,m.solid],[y.DESKTOP]:[m.regular],[y.ANGLES_RIGHT]:[m.regular],[y.PIGGY_BANK]:[m.regular],[y.ANGLE_UP]:[m.regular],[y.PEN_NIB]:[m.regular],[y.ARROW_UP_RIGHT_FROM_SQUARE]:[m.regular],[y.GRID_2]:[m.regular],[y.BOOKS]:[m.regular],[y.TAG]:[m.regular,m.solid],[y.ANGLES_UP_DOWN]:[m.regular],[y.ARROW_ROTATE_LEFT]:[m.regular],[y.EYE_SLASH]:[m.regular],[y.CIRCLE_DOLLAR]:[m.regular,m.solid],[y.COMPRESS]:[m.regular],[y.RADAR]:[m.regular],[y.ARROW_ROTATE_RIGHT]:[m.regular],[y.CHART_NETWORK]:[m.regular],[y.PLUS]:[m.regular],[y.UNDERLINE]:[m.regular],[y.ARROW_LEFT]:[m.regular],[y.UPLOAD]:[m.regular],[y.GLOBE]:[m.regular],[y.LANGUAGE]:[m.regular],[y.TOGGLE_ON]:[m.regular],[y.DOWNLOAD]:[m.regular],[y.MESSAGE_QUOTE]:[m.regular,m.solid],[y.TRIANGLE_EXCLAMATION]:[m.regular,m.solid],[y.STAR]:[m.regular,m.solid],[y.BELL_SLASH]:[m.regular,m.solid],[y.HOURGLASS_HALF]:[m.regular],[y.INBOX]:[m.regular],[y.COMMENT_DOTS]:[m.regular],[y.ANGLE_DOWN]:[m.regular],[y.CLOUD_ARROW_DOWN]:[m.regular],[y.BOOKMARK_SLASH]:[m.regular],[y.LINK_SIMPLE]:[m.regular],[y.CLOCK_ROTATE_LEFT]:[m.regular],[y.SPINNER_THIRD]:[m.regular],[y.PLUG]:[m.regular],[y.CHART_SIMPLE]:[m.regular],[y.CIRCLE_PLAY]:[m.regular],[y.FILE_MAGNIFYING_GLASS]:[m.regular],[y.PEN]:[m.regular],[y.TABLET]:[m.regular],[y.CIRCLE_CHECK]:[m.regular,m.solid],[y.FILE_INVOICE]:[m.regular],[y.XMARK]:[m.regular,m.solid],[y.ARROW_RIGHT]:[m.regular],[y.BOOKMARK]:[m.regular,m.solid],[y.EXPAND_WIDE]:[m.regular],[y.USER]:[m.regular,m.solid],[y.SERVER]:[m.regular,m.solid],[y.CALENDAR_RANGE]:[m.regular],[y.BROOM_WIDE]:[m.regular],[y.ARROWS_UP_DOWN_LEFT_RIGHT]:[m.regular],[y.WIFI_SLASH]:[m.regular],[y.CHECK]:[m.regular,m.solid],[y.ITALIC]:[m.regular],[y.LIFE_RING]:[m.regular],[y.TABLE_CELLS]:[m.regular],[y.TRASH_CAN]:[m.regular],[y.WRENCH]:[m.regular],[y.PAPERCLIP]:[m.regular],[y.CABINET_FILING]:[m.regular],[y.ARROW_UP]:[m.regular],[y.FILE]:[m.regular],[y.CIRCLE_QUESTION]:[m.regular,m.solid],[y.COLUMNS_3]:[m.regular],[y.GEAR]:[m.regular,m.solid],[y.CHART_LINE]:[m.regular],[y.THUMBS_UP]:[m.regular,m.solid],[y.HAND]:[m.regular],[y.CIRCLE]:[m.regular,m.solid],[y.CALENDAR_DAY]:[m.regular],[y.CLOUD]:[m.regular],[y.LIST_TREE]:[m.regular],[y.ANGLE_RIGHT]:[m.regular],[y.CODE]:[m.regular],[y.ALIGN_CENTER]:[m.regular],[y.COMMENT_QUESTION]:[m.regular,m.solid],[y.IMAGE]:[m.regular],[y.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER]:[m.regular],[y.THUMBS_DOWN]:[m.regular,m.solid],[y.DIAGRAM_SANKEY]:[m.regular],[y.MESSAGE_CHECK]:[m.regular,m.solid],[y.BOLD]:[m.regular],[y.CIRCLE_STOP]:[m.regular,m.solid],[y.ARROW_RIGHT_TO_BRACKET]:[m.regular],[y.USERS]:[m.regular,m.solid],[y.ARROW_TURN_DOWN_RIGHT]:[m.regular],[y.PRINT]:[m.regular],[y.ALIGN_RIGHT]:[m.regular],[y.FLASK]:[m.regular],[y.MAGNIFYING_GLASS_PLUS]:[m.regular],[y.SHIELD_CHECK]:[m.regular],[y.STRIKETHROUGH]:[m.regular],[y.FOLDER_OPEN]:[m.regular],[y.CLONE]:[m.regular],[y.HEART]:[m.regular,m.solid],[y.PAPER_PLANE]:[m.regular],[y.MAGNIFYING_GLASS_MINUS]:[m.regular],[y.BOOK]:[m.regular],[y.CLOCK]:[m.regular,m.solid],[y.ELLIPSIS_VERTICAL]:[m.regular],[y.ARROW_RIGHT_TO_LINE]:[m.regular],[y.ANGLE_LEFT]:[m.regular],[y.CALENDAR_CIRCLE_EXCLAMATION]:[m.regular],[y.EXPAND]:[m.regular],[y.EQUALS]:[m.regular],[y.RECEIPT]:[m.regular],[y.EYE]:[m.regular],[y.ALIGN_LEFT]:[m.regular],[y.PAINTBRUSH]:[m.regular],[y.KEY]:[m.regular],[y.PALETTE]:[m.regular],[y.FLOPPY_DISK]:[m.regular],[y.MAGNIFYING_GLASS]:[m.regular],[y.ELLIPSIS]:[m.regular],[y.SHARE_NODES]:[m.regular],[y.ARROWS_FROM_LINE]:[m.regular],[y.POWER_OFF]:[m.regular],[y.ENVELOPE_OPEN_TEXT]:[m.regular],[y.CIRCLE_PAUSE]:[m.regular,m.solid],[y.MOBILE]:[m.regular],[y.BELL]:[m.regular,m.solid],[y.FILTER]:[m.regular,m.solid],[y.MEDAL]:[m.regular],[y.CLOUD_SLASH]:[m.regular],[y.MINUS]:[m.regular,m.solid],[y.PASTE]:[m.regular],[y.CALENDAR_CHECK]:[m.regular],[y.HEXAGON_XMARK]:[m.solid],[y.PAUSE]:[m.solid],[y.CHART_MIXED]:[m.solid],[y.ROBOT]:[m.solid],[y.WAND_MAGIC_SPARKLES]:[m.solid],[y.HEXAGON_EXCLAMATION]:[m.solid],[y.CUBES]:[m.solid],[y.TURN_RIGHT]:[m.solid],[y.SQUARE_INFO]:[m.solid],[y.MESSAGE_BOT]:[m.solid],[y.PLAY]:[m.solid],[y.TURN_LEFT]:[m.solid],[y.ADDRESS_CARD]:[m.solid],[y.CROWN]:[m.solid],[y.GRIP_LINES]:[m.solid],[y.CHART_AREA]:[m.solid],[y.TRASH]:[m.solid],[y.USER_TIE]:[m.solid],[y.CIRCLE_SMALL]:[m.solid],[y.REGULAR_FOLDER_OPEN_LOCK]:[m.custom],[y.REGULAR_USER_CIRCLE_CHECK]:[m.custom],[y.SOLID_LEFT_PANEL]:[m.custom],[y.REGULAR_BINDER_OPEN]:[m.custom],[y.REGULAR_BOOKMARK_CIRCLE_PLUS]:[m.custom],[y.REGULAR_DIAGRAM_SUNBURST]:[m.custom],[y.REGULAR_PREVIEW]:[m.custom],[y.REGULAR_CONTEXT]:[m.custom],[y.REGULAR_MOBILE_LANDSCAPE]:[m.custom],[y.SOLID_FILE_ROTATE_RIGHT]:[m.custom],[y.REGULAR_PIP_WIDE]:[m.custom],[y.REGULAR_CLONE_LINK_SIMPLE]:[m.custom],[y.REGULAR_LEFT_PANEL]:[m.custom],[y.LIGHT_FILE_LINES_GEAR]:[m.custom],[y.REGULAR_FILE_LINES_GEAR]:[m.custom],[y.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION]:[m.custom],[y.REGULAR_TABLE_CELLS_SLASH]:[m.custom],[y.REGULAR_BOOK_OPEN_GEAR_SLASH]:[m.custom],[y.REGULAR_TABLET_LANDSCAPE]:[m.custom],[y.REGULAR_CHART_BAR_STACKED]:[m.custom],[y.SOLID_CIRCLE_USER_CIRCLE_CHECK]:[m.custom],[y.REGULAR_BULLETS_LINE]:[m.custom],[y.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION]:[m.custom],[y.SOLID_CODE_COMPARE]:[m.custom],[y.REGULAR_FORMAT_CLEAR]:[m.custom],[y.REGULAR_MAGNIFYING_GLASS_BACK]:[m.custom],[y.LIGHT_RECEIPT_GEAR]:[m.custom],[y.REGULAR_BINDER_OPEN_ARROW_LEFT]:[m.custom],[y.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK]:[m.custom],[y.REGULAR_THRESHOLD]:[m.custom],[y.REGULAR_PIP]:[m.custom],[y.REGULAR_USER_GEAR]:[m.custom],[y.REGULAR_BELL_CIRCLE_PLUS]:[m.custom],[y.REGULAR_CLOUD_SLASH_GEAR]:[m.custom],[y.REGULAR_HOUSE_MAGNIFYING_GLASS]:[m.custom],[y.SOLID_CIRCLE_USER_SLASH]:[m.custom],[y.REGULAR_LIST_MAGNIFYING_GLASS]:[m.custom],[y.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS]:[m.custom],[y.REGULAR_LANGUAGE_SLASH]:[m.custom],[y.REGULAR_CHART_BAR_GROUPED]:[m.custom],[y.REGULAR_CONSUMER]:[m.custom],[y.REGULAR_CHART_BAR_NORMALIZED]:[m.custom],[y.REGULAR_USER_LOCK]:[m.custom],[y.REGULAR_CIRCLE_DOLLAR_SLASH]:[m.custom],[y.REGULAR_BINDER_OPEN_ARROW_RIGHT]:[m.custom],[y.REGULAR_BULLETS_LINES]:[m.custom],[y.REGULAR_BINDER_OPEN_PEN]:[m.custom],[y.REGULAR_BOOKMARK_CIRCLE_MINUS]:[m.custom],[y.REGULAR_MAGNIFYING_GLASS_ONE]:[m.custom],[y.REGULAR_BOOK_OPEN_GEAR]:[m.custom],[y.LIGHT_BOOK_OPEN_GEAR]:[m.custom]},iu={[m.regular]:"far",[m.solid]:"fas",[m.custom]:"fak"};var Da=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Pt=class extends V{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let e={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return P`
|
|
1214
1214
|
<div class="${ye(e)}">${Wo(this.buildIcon())}</div>
|
|
1215
|
-
`}buildIcon(){let e=this.variant?iu[this.variant]:void 0,r=Dc.find(o=>o.iconName===this.icon&&(e?o.prefix===e:!0));return r?(nu.add(r),au(r).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};Pt.elementDefinitions={};Pt.styles=G2;Da([v()],Pt.prototype,"variant",void 0);Da([v()],Pt.prototype,"icon",void 0);Da([v({type:Boolean})],Pt.prototype,"monospace",void 0);Da([v({reflect:!0,attribute:"aria-hidden"})],Pt.prototype,"ariaHidden",void 0);Y("ft-icon")(
|
|
1215
|
+
`}buildIcon(){let e=this.variant?iu[this.variant]:void 0,r=Dc.find(o=>o.iconName===this.icon&&(e?o.prefix===e:!0));return r?(nu.add(r),au(r).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};Pt.elementDefinitions={};Pt.styles=G2;Da([v()],Pt.prototype,"variant",void 0);Da([v()],Pt.prototype,"icon",void 0);Da([v({type:Boolean})],Pt.prototype,"monospace",void 0);Da([v({reflect:!0,attribute:"aria-hidden"})],Pt.prototype,"ariaHidden",void 0);Y("ft-icon")(we);Y("ftds-icon")(Pt);var Wr=class extends V{render(){return P`
|
|
1216
1216
|
<div class="ft-loader">
|
|
1217
1217
|
<div></div>
|
|
1218
1218
|
<div></div>
|
|
1219
1219
|
<div></div>
|
|
1220
1220
|
<div></div>
|
|
1221
1221
|
</div>
|
|
1222
|
-
`}};Wr.styles=L2;Y("ft-loader")(Wr);var Rn=t=>t??K;var
|
|
1222
|
+
`}};Wr.styles=L2;Y("ft-loader")(Wr);var Rn=t=>t??K;var _e=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ie=class extends Xs(V){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",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,o;let a=P`
|
|
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
|
`:P`
|
|
1263
1263
|
<slot part="icon" name="icon"></slot>
|
|
1264
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return qt(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ie.elementDefinitions={"ft-ripple":ae,"ft-tooltip":
|
|
1264
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return qt(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ie.elementDefinitions={"ft-ripple":ae,"ft-tooltip":Re,"ft-icon":we,"ft-loader":Wr};_e([v()],ie.prototype,"href",void 0);_e([v()],ie.prototype,"target",void 0);_e([v()],ie.prototype,"type",void 0);_e([v({type:Boolean})],ie.prototype,"disabled",void 0);_e([v()],ie.prototype,"label",void 0);_e([v()],ie.prototype,"icon",void 0);_e([v()],ie.prototype,"iconVariant",void 0);_e([v({type:Boolean})],ie.prototype,"trailingIcon",void 0);_e([v({type:Boolean})],ie.prototype,"loading",void 0);_e([v({attribute:"aria-label"})],ie.prototype,"ariaLabel",void 0);_e([v()],ie.prototype,"ariaHasPopup",void 0);_e([v({attribute:"aria-pressed"})],ie.prototype,"ariaPressed",void 0);_e([v()],ie.prototype,"tooltipPosition",void 0);_e([v({type:Boolean})],ie.prototype,"hideTooltip",void 0);_e([v({type:Boolean})],ie.prototype,"forceTooltip",void 0);_e([v({type:Boolean})],ie.prototype,"activated",void 0);_e([j(".ft-button")],ie.prototype,"button",void 0);_e([j(".ft-button--label slot")],ie.prototype,"slottedContent",void 0);_e([j("[part=tooltip]")],ie.prototype,"tooltip",void 0);var $a=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ge=class extends ie{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 Le.button}};Ge.elementDefinitions={...ie.elementDefinitions,"ft-or-ftds-typography":ve};Ge.styles=[qe,_2];$a([v({type:Boolean})],Ge.prototype,"primary",void 0);$a([v({type:Boolean})],Ge.prototype,"outlined",void 0);$a([v({type:Boolean})],Ge.prototype,"dense",void 0);$a([v({type:Boolean})],Ge.prototype,"round",void 0);var g5={...x,iconOnlyScale:n.create("--ft-button-icon-only-scale","","NUMBER","1")},su=[I`
|
|
1265
1265
|
:host {
|
|
1266
1266
|
display: inline-block;
|
|
1267
1267
|
max-width: 100%;
|
|
@@ -1731,7 +1731,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1731
1731
|
.ftds--size-small.ft-button--icon-only {
|
|
1732
1732
|
width: ${x.smallIconOnlyWidth};
|
|
1733
1733
|
}
|
|
1734
|
-
`,Ut];var Ba=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},lt=class extends Rt(ie){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ie.brand,this.iconVariant=ct.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ze.large:return me.body2medium;case Ze.medium:return me.caption1medium;case Ze.small:return me.caption2medium}}};lt.elementDefinitions={...ie.elementDefinitions,"ft-or-ftds-typography":De};lt.styles=[qe,su];Ba([v({type:Boolean})],lt.prototype,"primary",void 0);Ba([v({type:Boolean})],lt.prototype,"secondary",void 0);Ba([v({type:Boolean})],lt.prototype,"tertiary",void 0);Ba([v({type:Boolean})],lt.prototype,"round",void 0);Y("ft-button")(Ge);Y("ftds-button")(lt);var dt=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},bl=class extends CustomEvent{constructor(e){super("change",{detail:e})}},
|
|
1734
|
+
`,Ut];var Ba=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},lt=class extends Rt(ie){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ie.brand,this.iconVariant=ct.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ze.large:return me.body2medium;case Ze.medium:return me.caption1medium;case Ze.small:return me.caption2medium}}};lt.elementDefinitions={...ie.elementDefinitions,"ft-or-ftds-typography":De};lt.styles=[qe,su];Ba([v({type:Boolean})],lt.prototype,"primary",void 0);Ba([v({type:Boolean})],lt.prototype,"secondary",void 0);Ba([v({type:Boolean})],lt.prototype,"tertiary",void 0);Ba([v({type:Boolean})],lt.prototype,"round",void 0);Y("ft-button")(Ge);Y("ftds-button")(lt);var dt=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},bl=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Oe=class extends V{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.helper="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.rippleUnbounded=!0,this.error=!1,this.legendColor=""}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}get checkboxHelperClasses(){return{"ft-checkbox-helper--disabled":this.disabled,"ft-checkbox-helper--error":this.error,"ft-checkbox-helper--checked":this.indeterminate?!1:this.checked,"ft-checkbox-helper--indeterminate":this.indeterminate,"ft-checkbox-helper--legend-color-displayed":this.legendColor&&this.legendColor.trim().length>0}}get typographyVariant(){return Le.body2}renderBoxContainer(){return P`
|
|
1735
1735
|
<div class="ft-checkbox--box-container" part="checkbox-box-container">
|
|
1736
1736
|
<ft-ripple part="checkbox-ripple"
|
|
1737
1737
|
?disabled=${this.disabled}
|
|
@@ -1767,7 +1767,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1767
1767
|
<ft-typography variant="${this.typographyVariant}" part="checkbox-body">
|
|
1768
1768
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1769
1769
|
</ft-typography>
|
|
1770
|
-
`}onSlotchange(){this.requestUpdate()}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new bl(this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};
|
|
1770
|
+
`}onSlotchange(){this.requestUpdate()}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new bl(this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};Oe.elementDefinitions={"ft-ripple":ae,"ft-typography":ve};dt([v()],Oe.prototype,"name",void 0);dt([v()],Oe.prototype,"value",void 0);dt([v()],Oe.prototype,"label",void 0);dt([v()],Oe.prototype,"helper",void 0);dt([v({type:Boolean,reflect:!0})],Oe.prototype,"checked",void 0);dt([v({type:Boolean})],Oe.prototype,"indeterminate",void 0);dt([v({type:Boolean})],Oe.prototype,"disabled",void 0);dt([v({type:Boolean})],Oe.prototype,"error",void 0);dt([v()],Oe.prototype,"legendColor",void 0);dt([j(".ft-checkbox")],Oe.prototype,"container",void 0);dt([j("ft-ripple")],Oe.prototype,"ripple",void 0);dt([j("input")],Oe.prototype,"input",void 0);var tt={textColor:n.extend("--ft-checkbox-text-color","",$.colorOnSurfaceHigh),fontSize:n.extend("--ft-checkbox-font-size","",U.fontSize),activeColor:n.extend("--ft-checkbox-active-color","",$.colorPrimary),checkColor:n.extend("--ft-checkbox-check-color","",$.colorOnPrimary),borderColor:n.extend("--ft-checkbox-border-color","",$.colorOnSurfaceMedium),disabledColor:n.extend("--ft-checkbox-disabled-color","",$.colorOnSurfaceDisabled),errorColor:n.extend("--ft-checkbox-error-color","",$.colorError)},cu=I`
|
|
1771
1771
|
* {
|
|
1772
1772
|
box-sizing: border-box;
|
|
1773
1773
|
}
|
|
@@ -1860,7 +1860,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1860
1860
|
}
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
1863
|
-
`;var Vr=class extends
|
|
1863
|
+
`;var Vr=class extends Oe{get typographyVariant(){return Le.body2}};Vr.styles=cu;var lu=I`
|
|
1864
1864
|
* {
|
|
1865
1865
|
box-sizing: border-box;
|
|
1866
1866
|
--input-size: calc(${W.boxSize} + 2 * (${W.focusOutlineOffset} + ${W.focusOutlineWidth}));
|
|
@@ -2053,18 +2053,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2053
2053
|
display: flex;
|
|
2054
2054
|
flex-direction: column;
|
|
2055
2055
|
|
|
2056
|
-
max-width: ${
|
|
2056
|
+
max-width: ${Ce.maxWidth};
|
|
2057
2057
|
width: max-content;
|
|
2058
2058
|
|
|
2059
|
-
padding-left: ${
|
|
2060
|
-
padding-right: ${
|
|
2061
|
-
padding-top: ${
|
|
2062
|
-
padding-bottom: ${
|
|
2063
|
-
gap: ${
|
|
2059
|
+
padding-left: ${Ce.horizontalPadding};
|
|
2060
|
+
padding-right: ${Ce.horizontalPadding};
|
|
2061
|
+
padding-top: ${Ce.verticalPadding};
|
|
2062
|
+
padding-bottom: ${Ce.verticalPadding};
|
|
2063
|
+
gap: ${Ce.gap};
|
|
2064
2064
|
|
|
2065
|
-
background-color: ${
|
|
2066
|
-
border-radius: ${
|
|
2067
|
-
box-shadow: ${
|
|
2065
|
+
background-color: ${Ce.backgroundColor};
|
|
2066
|
+
border-radius: ${Ce.borderRadius};
|
|
2067
|
+
box-shadow: ${Ce.shadow};
|
|
2068
2068
|
|
|
2069
2069
|
&.positioned {
|
|
2070
2070
|
visibility: visible;
|
|
@@ -2076,9 +2076,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2076
2076
|
|
|
2077
2077
|
display: flex;
|
|
2078
2078
|
align-items: center;
|
|
2079
|
-
gap: ${
|
|
2079
|
+
gap: ${Ce.gap};
|
|
2080
2080
|
|
|
2081
|
-
color: ${
|
|
2081
|
+
color: ${Ce.titleColor};
|
|
2082
2082
|
}
|
|
2083
2083
|
|
|
2084
2084
|
[part="heading"] ftds-typography {
|
|
@@ -2090,13 +2090,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
|
|
2092
2092
|
[part="content"] {
|
|
2093
|
-
color: ${
|
|
2093
|
+
color: ${Ce.bodyColor};
|
|
2094
2094
|
}
|
|
2095
2095
|
|
|
2096
2096
|
[part="popover-sections"] {
|
|
2097
2097
|
display: flex;
|
|
2098
2098
|
flex-direction: column;
|
|
2099
|
-
gap: ${
|
|
2099
|
+
gap: ${Ce.multiSectionVerticalGap};
|
|
2100
2100
|
}
|
|
2101
2101
|
|
|
2102
2102
|
.hidden {
|
|
@@ -2153,7 +2153,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2153
2153
|
</div>
|
|
2154
2154
|
</div>
|
|
2155
2155
|
</div>
|
|
2156
|
-
`:K}updated(e){super.updated(e),e.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(e){return qt(e).trim().length===0}closeAndFocusOpeningButton(){var e,r;this.close(),(e=this.openingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var e,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let
|
|
2156
|
+
`:K}updated(e){super.updated(e),e.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(e){return qt(e).trim().length===0}closeAndFocusOpeningButton(){var e,r;this.close(),(e=this.openingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var e,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:Ce.maxWidth},{x:s,y:c}=await is(this.openingButton,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${c}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(e=this.closingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var e,r,o;(e=this.popoverLinkTypography)===null||e===void 0||e.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))}};le.elementDefinitions={"ftds-typography":De,"ftds-button":lt};le.styles=du;Te([v()],le.prototype,"heading",void 0);Te([v()],le.prototype,"closeButtonLabel",void 0);Te([v()],le.prototype,"openButtonIcon",void 0);Te([v()],le.prototype,"openButtonLabel",void 0);Te([v()],le.prototype,"openButtonTooltipPosition",void 0);Te([v({type:Boolean})],le.prototype,"opened",void 0);Te([v({type:Boolean})],le.prototype,"hidden",void 0);Te([v({type:Ze})],le.prototype,"openButtonSize",void 0);Te([v({type:Ie})],le.prototype,"openButtonFamily",void 0);Te([j('[part="opening-button"]')],le.prototype,"openingButton",void 0);Te([j('[part="closing-button"]')],le.prototype,"closingButton",void 0);Te([j('[part="wrapper"]')],le.prototype,"popoverWrapper",void 0);Te([j('[part="content"]')],le.prototype,"popoverContentDiv",void 0);Te([j('[part="popover-content-slot"]')],le.prototype,"popoverContentSlot",void 0);Te([j('[part="popover-link"]')],le.prototype,"slottedLinkContent",void 0);Te([j('[part="popover-link-typography"]')],le.prototype,"popoverLinkTypography",void 0);Te([j('[part="popover-sections"]')],le.prototype,"popoverSectionsDiv",void 0);Te([j('[part="popover-sections-slot"]')],le.prototype,"popoverSectionsSlot",void 0);var fu=I`
|
|
2157
2157
|
.ftds-popover-section--heading ftds-typography {
|
|
2158
2158
|
flex-grow: 1;
|
|
2159
2159
|
flex-shrink: 1;
|
|
@@ -2163,13 +2163,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2163
2163
|
}
|
|
2164
2164
|
|
|
2165
2165
|
.ftds-popover-section--content {
|
|
2166
|
-
color: ${
|
|
2166
|
+
color: ${Ce.bodyColor};
|
|
2167
2167
|
}
|
|
2168
2168
|
|
|
2169
2169
|
.ftds-popover-section--container {
|
|
2170
2170
|
display: flex;
|
|
2171
2171
|
flex-direction: column;
|
|
2172
|
-
gap: ${
|
|
2172
|
+
gap: ${Ce.contentSectionVerticalGap};
|
|
2173
2173
|
}
|
|
2174
2174
|
`;var vl=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},jt=class extends V{constructor(){super(...arguments),this.heading=""}render(){return P`
|
|
2175
2175
|
<div class="ftds-popover-section--container">
|
|
@@ -2299,7 +2299,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2299
2299
|
`}resolveIcon(){return this.target===Ua.BLANK?P`
|
|
2300
2300
|
<ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant=${ct.fluid_topics} .value=${this.icon}>
|
|
2301
2301
|
</ft-icon>
|
|
2302
|
-
`:P``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};rt.elementDefinitions={"ftds-typography":De,"ft-icon":
|
|
2302
|
+
`:P``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};rt.elementDefinitions={"ftds-typography":De,"ft-icon":we};rt.styles=[qe,uu];wn([v()],rt.prototype,"href",void 0);wn([v()],rt.prototype,"variant",void 0);wn([v({type:Boolean})],rt.prototype,"underlined",void 0);wn([v()],rt.prototype,"openInNewTabLabel",void 0);wn([v()],rt.prototype,"target",void 0);Y("ftds-link")(rt);var xl=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Mo=class extends Rt(Oe){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=Ie.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return P`
|
|
2303
2303
|
<div part="checkbox-and-popover">
|
|
2304
2304
|
<div part="checkbox-label-and-helper">
|
|
2305
2305
|
<label class="${ye(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
|
|
@@ -2328,7 +2328,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2328
2328
|
<div part="checkbox-popover-wrapper">
|
|
2329
2329
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
2330
2330
|
</div>
|
|
2331
|
-
</div>`}get typographyVariant(){return me.body2medium}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new xl(this.value,this.checked))}};Mo.elementDefinitions={...
|
|
2331
|
+
</div>`}get typographyVariant(){return me.body2medium}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new xl(this.value,this.checked))}};Mo.elementDefinitions={...Oe.elementDefinitions,"ftds-popover":le,"ftds-link":rt,"ftds-typography":De,"ft-icon":we};Mo.styles=[qe,lu];Y("ft-checkbox")(Vr);Y("ftds-checkbox")(Mo);var lr=function(t,e,r,o){var a=arguments.length,i=a<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ha=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},$e=class extends V{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return P`
|
|
2332
2332
|
<div class="${ye(this.radioClasses)}"
|
|
2333
2333
|
@click=${this.onClick}>
|
|
2334
2334
|
<div class="ft-radio--box-container">
|
|
@@ -2443,7 +2443,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2443
2443
|
.ft-radio ft-or-ftds-typography {
|
|
2444
2444
|
padding-right: 2px;
|
|
2445
2445
|
}
|
|
2446
|
-
`;var fr=class extends $e{get typographyVariant(){return
|
|
2446
|
+
`;var fr=class extends $e{get typographyVariant(){return Le.body2}};fr.elementDefinitions={...$e.elementDefinitions,"ft-or-ftds-typography":ve};fr.styles=pu;var hu=I`
|
|
2447
2447
|
* {
|
|
2448
2448
|
box-sizing: border-box;
|
|
2449
2449
|
--input-size: calc(${te.circleSize} + 2 * (${te.focusOutlineOffset} + ${te.focusOutlineWidth}));
|
|
@@ -2657,11 +2657,11 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2657
2657
|
@click=${this.goBackOnClick}>
|
|
2658
2658
|
<ft-ripple></ft-ripple>
|
|
2659
2659
|
<ft-icon>thin_arrow_left</ft-icon>
|
|
2660
|
-
<ft-typography variant="${
|
|
2660
|
+
<ft-typography variant="${Le.body2}">${this.parent.label}</ft-typography>
|
|
2661
2661
|
</div>
|
|
2662
2662
|
`}
|
|
2663
2663
|
${this.filteredOptions.length===0&&this.noValuesLabel?P`
|
|
2664
|
-
<ft-typography class="ft-filter-level--no-values" element="span" variant="${
|
|
2664
|
+
<ft-typography class="ft-filter-level--no-values" element="span" variant="${Le.body2}">
|
|
2665
2665
|
${this.noValuesLabel}
|
|
2666
2666
|
</ft-typography>
|
|
2667
2667
|
`:K}
|
|
@@ -2712,7 +2712,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2712
2712
|
@change=${r=>this.optionsChanged(r,e)}>
|
|
2713
2713
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
2714
2714
|
</ft-radio>
|
|
2715
|
-
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};ge.elementDefinitions={"ft-button":Ge,"ft-ripple":ae,"ft-typography":ve,"ft-checkbox":Vr,"ft-icon":
|
|
2715
|
+
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};ge.elementDefinitions={"ft-button":Ge,"ft-ripple":ae,"ft-typography":ve,"ft-checkbox":Vr,"ft-icon":we,"ft-radio":fr};ge.styles=yu;Be([v({type:String})],ge.prototype,"filterId",void 0);Be([v({type:Object})],ge.prototype,"parent",void 0);Be([v({type:Array,hasChanged:mt})],ge.prototype,"options",void 0);Be([v({type:Boolean})],ge.prototype,"multivalued",void 0);Be([v({type:Boolean})],ge.prototype,"disabled",void 0);Be([v({type:Boolean})],ge.prototype,"hideSelectedOptions",void 0);Be([v({type:Boolean})],ge.prototype,"displayCount",void 0);Be([v({type:Boolean})],ge.prototype,"preventNavigation",void 0);Be([v({type:String})],ge.prototype,"filter",void 0);Be([v({type:String})],ge.prototype,"moreValuesButtonLabel",void 0);Be([v({type:String})],ge.prototype,"noValuesLabel",void 0);Be([v()],ge.prototype,"filteredOptionsNumberAriaNotification",void 0);Be([Yt()],ge.prototype,"displayedValuesLimit",void 0);Be([j(".ft-filter-level--container")],ge.prototype,"container",void 0);Be([q()],ge.prototype,"radios",void 0);Be([q()],ge.prototype,"displayedPages",void 0);Be([q()],ge.prototype,"filteredOptions",void 0);var ur={buttonsColor:n.extend("--ft-snap-scroll-buttons-color","",$.colorPrimary),buttonsZIndex:n.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:n.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:n.external($.colorSurface,"Design system")},bu=I`
|
|
2716
2716
|
.ft-snap-scroll {
|
|
2717
2717
|
box-sizing: border-box;
|
|
2718
2718
|
position: relative;
|
|
@@ -2985,7 +2985,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2985
2985
|
|
|
2986
2986
|
<div class="ft-filter--header" part="header">
|
|
2987
2987
|
<div class="filter-label" id="id-group-${this.id}">
|
|
2988
|
-
<ft-typography class="ft-filter--label" variant="${
|
|
2988
|
+
<ft-typography class="ft-filter--label" variant="${Le.overline}" part="label">
|
|
2989
2989
|
${this.label}
|
|
2990
2990
|
</ft-typography>
|
|
2991
2991
|
<slot name="label"></slot>
|