@fluid-topics/ft-page-layout 1.2.27 → 1.2.28
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-page-layout.light.js +6 -6
- package/build/ft-page-layout.min.js +332 -332
- package/package.json +8 -8
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?W.substr(1,W.length):W}).forEach(function(W){var j=W.split(":"),U=j.shift().trim();if(U){var Zt=j.join(":").trim();try{v.append(U,Zt)}catch(Br){console.warn("Response "+Br.message)}}}),v}P.call(A.prototype);function V(y,v){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new u(v.headers),this.url=v.url||"",this._initBody(y)}P.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},V.error=function(){var y=new V(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var z=[301,302,303,307,308];V.redirect=function(y,v){if(z.indexOf(v)===-1)throw new RangeError("Invalid status code");return new V(null,{status:v,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,$){this.message=v,this.name=$;var W=Error(v);this.stack=W.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function k(y,v){return new Promise(function($,W){var j=new A(y,v);if(j.signal&&j.signal.aborted)return W(new o.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function Zt(){U.abort()}U.onload=function(){var bt={statusText:U.statusText,headers:M(U.getAllResponseHeaders()||"")};j.url.indexOf("file://")===0&&(U.status<200||U.status>599)?bt.status=200:bt.status=U.status,bt.url="responseURL"in U?U.responseURL:bt.headers.get("X-Request-URL");var Ie="response"in U?U.response:U.responseText;setTimeout(function(){$(new V(Ie,bt))},0)},U.onerror=function(){setTimeout(function(){W(new TypeError("Network request failed"))},0)},U.ontimeout=function(){setTimeout(function(){W(new TypeError("Network request timed out"))},0)},U.onabort=function(){setTimeout(function(){W(new o.DOMException("Aborted","AbortError"))},0)};function Br(bt){try{return bt===""&&n.location.href?n.location.href:bt}catch{return bt}}if(U.open(j.method,Br(j.url),!0),j.credentials==="include"?U.withCredentials=!0:j.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&(i.blob?U.responseType="blob":i.arrayBuffer&&(U.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof u||n.Headers&&v.headers instanceof n.Headers)){var os=[];Object.getOwnPropertyNames(v.headers).forEach(function(bt){os.push(d(bt)),U.setRequestHeader(bt,p(v.headers[bt]))}),j.headers.forEach(function(bt,Ie){os.indexOf(Ie)===-1&&U.setRequestHeader(Ie,bt)})}else j.headers.forEach(function(bt,Ie){U.setRequestHeader(Ie,bt)});j.signal&&(j.signal.addEventListener("abort",Zt),U.onreadystatechange=function(){U.readyState===4&&j.signal.removeEventListener("abort",Zt)}),U.send(typeof j._bodyInit>"u"?null:j._bodyInit)})}return k.polyfill=!0,n.fetch||(n.fetch=k,n.Headers=u,n.Request=A,n.Response=V),o.Headers=u,o.Request=A,o.Response=V,o.fetch=k,o}({})})(fn);fn.fetch.ponyfill=!0;delete fn.fetch.polyfill;var wr=pn.fetch?pn:fn;Te=wr.fetch;Te.default=wr.fetch;Te.fetch=wr.fetch;Te.Headers=wr.Headers;Te.Request=wr.Request;Te.Response=wr.Response;ic.exports=Te});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=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(w,S){if(w=w.toLowerCase(),this._getDefinition(w)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${w}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=S.prototype.attributeChangedCallback,T=new Set(S.observedAttributes||[]);m(S,T,A);let M={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(w,M),this._definitionsByClass.set(S,M);let V=o.call(n,w);V||(V=u(w),t.call(n,w,V)),this===window.customElements&&(s.set(S,M),M.standInClass=V);let z=this._awaitingUpgrade.get(w);if(z){this._awaitingUpgrade.delete(w);for(let y of z)a.delete(y),x(y,M,!0)}let k=this._whenDefinedPromises.get(w);return k!==void 0&&(k.resolve(S),this._whenDefinedPromises.delete(w)),S}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.pop()}get(w){return this._definitionsByTag.get(w)?.elementClass}_getDefinition(w){return this._definitionsByTag.get(w)}whenDefined(w){let S=this._getDefinition(w);if(S!==void 0)return Promise.resolve(S.elementClass);let A=this._whenDefinedPromises.get(w);return A===void 0&&(A={},A.promise=new Promise(T=>A.resolve=T),this._whenDefinedPromises.set(w,A)),A.promise}_upgradeWhenDefined(w,S,A){let T=this._awaitingUpgrade.get(S);T||this._awaitingUpgrade.set(S,T=new Set),A?T.add(w):T.delete(w)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(e,[],A.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,A),S},window.HTMLElement.prototype=e.prototype;let p=w=>w===document||w instanceof ShadowRoot,h=w=>{let S=w.getRootNode();if(!p(S)){let A=N[N.length-1];if(A instanceof CustomElementRegistry)return A;S=A.getRootNode(),p(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},u=w=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let T=h(A)||window.customElements,M=T._getDefinition(w);return M?x(A,M):a.set(A,T),A}connectedCallback(){let A=i.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,w,!0)}disconnectedCallback(){let A=i.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,w,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=i.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=i.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=i.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=i.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},m=(w,S,A)=>{if(S.size===0||A===void 0)return;let T=w.prototype.setAttribute;T&&(w.prototype.setAttribute=function(z,k){let y=z.toLowerCase();if(S.has(y)){let v=this.getAttribute(y);T.call(this,y,k),A.call(this,y,v,k)}else T.call(this,y,k)});let M=w.prototype.removeAttribute;M&&(w.prototype.removeAttribute=function(z){let k=z.toLowerCase();if(S.has(k)){let y=this.getAttribute(k);M.call(this,k),A.call(this,k,y,null)}else M.call(this,k)});let V=w.prototype.toggleAttribute;V&&(w.prototype.toggleAttribute=function(z,k){let y=z.toLowerCase();if(S.has(y)){let v=this.getAttribute(y);V.call(this,y,k);let $=this.getAttribute(y);A.call(this,y,v,$)}else V.call(this,y,k)})},b=w=>{let S=Object.getPrototypeOf(w);if(S!==window.HTMLElement)return S===e?Object.setPrototypeOf(w,window.HTMLElement):b(S)},x=(w,S,A=!1)=>{Object.setPrototypeOf(w,S.elementClass.prototype),i.set(w,S),d=w;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(T=>{w.hasAttribute(T)&&S.attributeChangedCallback.call(w,T,null,w.getAttribute(T))}),A&&S.connectedCallback&&w.isConnected&&S.connectedCallback.call(w)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(w){let S=C.apply(this,arguments);return w.customElements&&(S.customElements=w.customElements),S};let N=[document],L=(w,S,A=void 0)=>{let T=(A?Object.getPrototypeOf(A):w.prototype)[S];w.prototype[S]=function(){N.push(this);let M=T.apply(A||this,arguments);return M!==void 0&&c.set(M,this),N.pop(),M}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let P=(w,S)=>{let A=Object.getOwnPropertyDescriptor(w.prototype,S);Object.defineProperty(w.prototype,S,{...A,set(T){N.push(this),A.set.call(this,T),N.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let w=new WeakMap,S=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...z){let k=S.call(this,...z);return w.set(k,this),k},A.forEach(z=>{let k=window.ElementInternals.prototype,y=k[z];k[z]=function(...v){let $=w.get(this);if(i.get($).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class M{constructor(k){let y=new Map;k.forEach((v,$)=>{let W=v.getAttribute("name"),j=y.get(W)||[];this[+$]=v,j.push(v),y.set(W,j)}),this.length=k.length,y.forEach((v,$)=>{v&&(v.length===1?this[$]=v[0]:this[$]=new T(v))})}namedItem(k){return this[k]}}let V=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let z=V.get.call(this,[]),k=[];for(let y of z){let v=i.get(y);(!v||v.formAssociated===!0)&&k.push(y)}return new M(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Wn={};q(Wn,{CSSResult:()=>cr,LitElement:()=>le,ReactiveElement:()=>qt,_$LE:()=>tp,_$LH:()=>Xd,adoptStyles:()=>Bo,css:()=>I,defaultConverter:()=>Do,getCompatibleStyle:()=>Vr,html:()=>B,isServer:()=>$u,noChange:()=>be,notEqual:()=>kn,nothing:()=>G,render:()=>Fn,supportsAdoptingStyleSheets:()=>zr,svg:()=>Yd,unsafeCSS:()=>ae});var Co=globalThis,Eo=Co.ShadowRoot&&(Co.ShadyCSS===void 0||Co.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,is=Symbol(),ns=new WeakMap,Oo=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==is)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Eo&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=ns.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ns.set(o,t))}return t}toString(){return this.cssText}},as=e=>new Oo(typeof e=="string"?e:e+"",void 0,is);var _n=(e,t)=>{if(Eo)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Co.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},wo=Eo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return as(o)})(e):e;var{is:Pd,defineProperty:Td,getOwnPropertyDescriptor:$d,getOwnPropertyNames:Id,getOwnPropertySymbols:kd,getPrototypeOf:Bd}=Object,Ao=globalThis,ss=Ao.trustedTypes,Dd=ss?ss.emptyScript:"",Md=Ao.reactiveElementPolyfillSupport,Dr=(e,t)=>e,Mr={toAttribute(e,t){switch(t){case Boolean:e=e?Dd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Ro=(e,t)=>!Pd(e,t),ls={attribute:!0,type:String,converter:Mr,reflect:!1,hasChanged:Ro};Symbol.metadata??=Symbol("metadata"),Ao.litPropertyMetadata??=new WeakMap;var ke=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=ls){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Td(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=$d(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ls}static _$Ei(){if(this.hasOwnProperty(Dr("elementProperties")))return;let t=Bd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Dr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Dr("properties"))){let o=this.properties,n=[...Id(o),...kd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(wo(i))}else t!==void 0&&o.push(wo(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return _n(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Mr).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Mr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Ro)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};ke.elementStyles=[],ke.shadowRootOptions={mode:"open"},ke[Dr("elementProperties")]=new Map,ke[Dr("finalized")]=new Map,Md?.({ReactiveElement:ke}),(Ao.reactiveElementVersions??=[]).push("2.0.2");var Pn=globalThis,No=Pn.trustedTypes,cs=No?No.createPolicy("lit-html",{createHTML:e=>e}):void 0,Tn="$lit$",ie=`lit$${(Math.random()+"").slice(9)}$`,$n="?"+ie,Ud=`<${$n}>`,Me=document,_o=()=>Me.createComment(""),Fr=e=>e===null||typeof e!="object"&&typeof e!="function",ys=Array.isArray,ms=e=>ys(e)||typeof e?.[Symbol.iterator]=="function",Ln=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),fs=/'/g,us=/"/g,gs=/^(?:script|style|textarea|title)$/i,bs=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),xs=bs(1),vs=bs(2),Lt=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),hs=new WeakMap,De=Me.createTreeWalker(Me,129);function Ss(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return cs!==void 0?cs.createHTML(t):t}var Cs=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Ur;for(let c=0;c<o;c++){let d=e[c],p,h,u=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ur?h[1]==="!--"?s=ds:h[1]!==void 0?s=ps:h[2]!==void 0?(gs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Be):h[3]!==void 0&&(s=Be):s===Be?h[0]===">"?(s=i??Ur,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Be:h[3]==='"'?us:fs):s===us||s===fs?s=Be:s===ds||s===ps?s=Ur:(s=Be,i=void 0);let b=s===Be&&e[c+1].startsWith("/>")?" ":"";a+=s===Ur?d+Ud:u>=0?(n.push(p),d.slice(0,u)+Tn+d.slice(u)+ie+b):d+ie+(u===-2?c:b)}return[Ss(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Wr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,d=this.parts,[p,h]=Cs(t,o);if(this.el=e.createElement(p,n),De.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=De.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Tn)){let m=h[s++],b=i.getAttribute(u).split(ie),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Po:x[1]==="?"?To:x[1]==="@"?$o:Fe}),i.removeAttribute(u)}else u.startsWith(ie)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(gs.test(i.tagName)){let u=i.textContent.split(ie),m=u.length-1;if(m>0){i.textContent=No?No.emptyScript:"";for(let b=0;b<m;b++)i.append(u[b],_o()),De.nextNode(),d.push({type:2,index:++a});i.append(u[m],_o())}}}else if(i.nodeType===8)if(i.data===$n)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(ie,u+1))!==-1;)d.push({type:7,index:a}),u+=ie.length-1}a++}}static createElement(t,o){let n=Me.createElement("template");return n.innerHTML=t,n}};function Ue(e,t,o=e,n){if(t===Lt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Fr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Ue(e,i._$AS(e,t.values),i,n)),t}var Lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Me).importNode(o,!0);De.currentNode=i;let a=De.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Hr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Io(a,this,t)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=De.nextNode(),s++)}return De.currentNode=Me,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Hr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=it,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ue(this,t,o),Fr(t)?t===it||t==null||t===""?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==Lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ms(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==it&&Fr(this._$AH)?this._$AA.nextSibling.data=t:this.$(Me.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Wr.createElement(Ss(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Lo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=hs.get(t.strings);return o===void 0&&hs.set(t.strings,o=new Wr(t)),o}T(t){ys(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(_o()),this.k(_o()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=it}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Ue(this,t,o,0),s=!Fr(t)||t!==this._$AH&&t!==Lt,s&&(this._$AH=t);else{let c=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=Ue(this,c[n+d],o,d),p===Lt&&(p=this._$AH[d]),s||=!Fr(p)||p!==this._$AH[d],p===it?t=it:t!==it&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Po=class extends Fe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===it?void 0:t}},To=class extends Fe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==it)}},$o=class extends Fe{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Ue(this,t,o,0)??it)===Lt)return;let n=this._$AH,i=t===it&&n!==it||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==it&&(n===it||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Io=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ue(this,t)}},Os={j:Tn,P:ie,A:$n,C:1,M:Cs,L:Lo,R:ms,V:Ue,D:Hr,I:Fe,H:To,N:$o,U:Po,B:Io},Fd=Pn.litHtmlPolyfillSupport;Fd?.(Wr,Hr),(Pn.litHtmlVersions??=[]).push("3.1.0");var ko=globalThis,zr=ko.ShadowRoot&&(ko.ShadyCSS===void 0||ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,In=Symbol(),Es=new WeakMap,cr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==In)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(zr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Es.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Es.set(o,t))}return t}toString(){return this.cssText}},ae=e=>new cr(typeof e=="string"?e:e+"",void 0,In),I=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(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.")})(i)+e[a+1],e[0]);return new cr(o,e,In)},Bo=(e,t)=>{if(zr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=ko.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Vr=zr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return ae(o)})(e):e;var{is:Wd,defineProperty:Hd,getOwnPropertyDescriptor:zd,getOwnPropertyNames:Vd,getOwnPropertySymbols:jd,getPrototypeOf:Gd}=Object,Mo=globalThis,ws=Mo.trustedTypes,Kd=ws?ws.emptyScript:"",Zd=Mo.reactiveElementPolyfillSupport,jr=(e,t)=>e,Do={toAttribute(e,t){switch(t){case Boolean:e=e?Kd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},kn=(e,t)=>!Wd(e,t),As={attribute:!0,type:String,converter:Do,reflect:!1,hasChanged:kn};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var qt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=As){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Hd(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=zd(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??As}static _$Ei(){if(this.hasOwnProperty(jr("elementProperties")))return;let t=Gd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(jr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(jr("properties"))){let o=this.properties,n=[...Vd(o),...jd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Vr(i))}else t!==void 0&&o.push(Vr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Bo(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Do).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Do;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??kn)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};qt.elementStyles=[],qt.shadowRootOptions={mode:"open"},qt[jr("elementProperties")]=new Map,qt[jr("finalized")]=new Map,Zd?.({ReactiveElement:qt}),(Mo.reactiveElementVersions??=[]).push("2.0.2");var Dn=globalThis,Uo=Dn.trustedTypes,Rs=Uo?Uo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Mn="$lit$",se=`lit$${(Math.random()+"").slice(9)}$`,Un="?"+se,qd=`<${Un}>`,ze=document,Kr=()=>ze.createComment(""),Zr=e=>e===null||typeof e!="object"&&typeof e!="function",$s=Array.isArray,Is=e=>$s(e)||typeof e?.[Symbol.iterator]=="function",Bn=`[
|
|
5
|
-
\f\r]`,
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ls=/'/g,Ps=/"/g,ks=/^(?:script|style|textarea|title)$/i,Bs=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),B=Bs(1),Yd=Bs(2),be=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Ts=new WeakMap,He=ze.createTreeWalker(ze,129);function Ds(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rs!==void 0?Rs.createHTML(t):t}var Ms=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Gr;for(let c=0;c<o;c++){let d=e[c],p,h,u=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Gr?h[1]==="!--"?s=Ns:h[1]!==void 0?s=_s:h[2]!==void 0?(ks.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=We):h[3]!==void 0&&(s=We):s===We?h[0]===">"?(s=i??Gr,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?We:h[3]==='"'?Ps:Ls):s===Ps||s===Ls?s=We:s===Ns||s===_s?s=Gr:(s=We,i=void 0);let b=s===We&&e[c+1].startsWith("/>")?" ":"";a+=s===Gr?d+qd:u>=0?(n.push(p),d.slice(0,u)+Mn+d.slice(u)+se+b):d+se+(u===-2?c:b)}return[Ds(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},qr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,d=this.parts,[p,h]=Ms(t,o);if(this.el=e.createElement(p,n),He.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=He.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Mn)){let m=h[s++],b=i.getAttribute(u).split(se),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Wo:x[1]==="?"?Ho:x[1]==="@"?zo:je}),i.removeAttribute(u)}else u.startsWith(se)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(ks.test(i.tagName)){let u=i.textContent.split(se),m=u.length-1;if(m>0){i.textContent=Uo?Uo.emptyScript:"";for(let b=0;b<m;b++)i.append(u[b],Kr()),He.nextNode(),d.push({type:2,index:++a});i.append(u[m],Kr())}}}else if(i.nodeType===8)if(i.data===Un)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(se,u+1))!==-1;)d.push({type:7,index:a}),u+=se.length-1}a++}}static createElement(t,o){let n=ze.createElement("template");return n.innerHTML=t,n}};function Ve(e,t,o=e,n){if(t===be)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Zr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Ve(e,i._$AS(e,t.values),i,n)),t}var Fo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ze).importNode(o,!0);He.currentNode=i;let a=He.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new dr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Vo(a,this,t)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=He.nextNode(),s++)}return He.currentNode=ze,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},dr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ve(this,t,o),Zr(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==be&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Is(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&Zr(this._$AH)?this._$AA.nextSibling.data=t:this.$(ze.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=qr.createElement(Ds(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Fo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Ts.get(t.strings);return o===void 0&&Ts.set(t.strings,o=new qr(t)),o}T(t){$s(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Kr()),this.k(Kr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Ve(this,t,o,0),s=!Zr(t)||t!==this._$AH&&t!==be,s&&(this._$AH=t);else{let c=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=Ve(this,c[n+d],o,d),p===be&&(p=this._$AH[d]),s||=!Zr(p)||p!==this._$AH[d],p===G?t=G:t!==G&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Wo=class extends je{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===G?void 0:t}},Ho=class extends je{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},zo=class extends je{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Ve(this,t,o,0)??G)===be)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Vo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ve(this,t)}},Xd={j:Mn,P:se,A:Un,C:1,M:Ms,L:Fo,R:Is,V:Ve,D:dr,I:je,H:Ho,N:zo,U:Wo,B:Vo},Jd=Dn.litHtmlPolyfillSupport;Jd?.(qr,dr),(Dn.litHtmlVersions??=[]).push("3.1.0");var Fn=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new dr(t.insertBefore(Kr(),a),a,void 0,o??{})}return i._$AI(e),i};var le=class extends qt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Fn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return be}};le._$litElement$=!0,le.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:le});var Qd=globalThis.litElementPolyfillSupport;Qd?.({LitElement:le});var tp={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var $u=!1;var Hn={};q(Hn,{customElement:()=>ep,eventOptions:()=>pr,property:()=>O,query:()=>J,queryAll:()=>np,queryAssignedElements:()=>ap,queryAssignedNodes:()=>Ge,queryAsync:()=>ip,standardProperty:()=>Us,state:()=>yt});var ep=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var rp={attribute:!0,type:String,converter:Mr,reflect:!1,hasChanged:Ro},Us=(e=rp,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(c){let d=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,d,e)},init(c){return c!==void 0&&this.C(s,void 0,e),c}}}if(n==="setter"){let{name:s}=o;return function(c){let d=this[s];t.call(this,c),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function O(e){return(t,o)=>typeof o=="object"?Us(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function yt(e){return O({...e,state:!0,attribute:!1})}function pr(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Ht=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function J(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ht(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ht(o,n,{get(){return a(this)}})}}var op;function np(e){return(t,o)=>Ht(t,o,{get(){return(this.renderRoot??(op??=document.createDocumentFragment())).querySelectorAll(e)}})}function ip(e){return(t,o)=>Ht(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function ap(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ht(t,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(e)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function Ge(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ht(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var zn={};q(zn,{repeat:()=>Go});var xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ve=e=>(...t)=>({_$litDirective$:e,values:t}),Yt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:sp}=Os;var Fs=()=>document.createComment(""),fr=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Fs(),i),s=n.insertBefore(Fs(),i);o=new sp(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==e;if(c){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||c){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},Se=(e,t,o=e)=>(e._$AI(t,o),e),lp={},Ws=(e,t=lp)=>e._$AH=t,Hs=e=>e._$AH,jo=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var zs=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Go=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let c of e)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=Hs(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],p,h,u=0,m=i.length-1,b=0,x=a.length-1;for(;u<=m&&b<=x;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[b])d[b]=Se(i[u],a[b]),u++,b++;else if(c[m]===s[x])d[x]=Se(i[m],a[x]),m--,x--;else if(c[u]===s[x])d[x]=Se(i[u],a[x]),fr(e,d[x+1],i[u]),u++,x--;else if(c[m]===s[b])d[b]=Se(i[m],a[b]),fr(e,i[u],i[m]),m--,b++;else if(p===void 0&&(p=zs(s,b,x),h=zs(c,u,m)),p.has(c[u]))if(p.has(c[m])){let C=h.get(s[b]),N=C!==void 0?i[C]:null;if(N===null){let L=fr(e,i[u]);Se(L,a[b]),d[b]=L}else d[b]=Se(N,a[b]),fr(e,i[u],N),i[C]=null;b++}else jo(i[m]),m--;else jo(i[u]),u++;for(;b<=x;){let C=fr(e,d[x+1]);Se(C,a[b]),d[b++]=C}for(;u<=m;){let C=i[u++];C!==null&&jo(C)}return this.dt=s,Ws(e,d),Lt}});var Vn={};q(Vn,{classMap:()=>vt});var vt=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return Lt}});var jn={};q(jn,{styleMap:()=>dp});var Vs="important",cp=" !"+Vs,dp=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(cp);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Vs:""):o[n]=i}}return Lt}});var Kn={};q(Kn,{UnsafeHTMLDirective:()=>ur,unsafeHTML:()=>Gn});var ur=class extends Yt{constructor(t){if(super(t),this.et=it,t.type!==xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||t==null)return this.vt=void 0,this.et=t;if(t===Lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ur.directiveName="unsafeHTML",ur.resultType=1;var Gn=ve(ur);var ti={};q(ti,{CacheRegistry:()=>Xt,ClearCacheEvent:()=>Xr});var qn={};q(qn,{CancelablePromise:()=>hr,CanceledPromiseError:()=>Yr,cancelable:()=>Zn});var Yr=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},hr=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Yr("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Yr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Zn=e=>new hr((t,o)=>e.then(t).catch(o));var Qn={};q(Qn,{FtNotificationEvent:()=>Yn,PostResizeEvent:()=>Jn,PreResizeEvent:()=>Xn,WithEventBus:()=>Ke,withEventBus:()=>js});var Yn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Xn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Jn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function js(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}var Ke=class extends js(Object){};var Xr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Xt=class extends Ke{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new Xr(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new Xr([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof hr&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Zn(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ri={};q(ri,{ClusteringHelper:()=>ei});var ei=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t){var o,n,i,a,s;let c=((a=(n=(o=t.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=t.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(c,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(c.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(c=>{a.push(c.join(" > ")),o&&o>1&&c.length>=o?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(c=>n?n(c):c).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,c;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(t))===null||c===void 0?void 0:c.label;return this.allResults.map(u=>e.extractResultMetadata({result:u,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(u=>u??{key:t,label:p,value:void 0,displayValue:n}).filter(u=>u.value!=d?.value).filter((u,m,b)=>b.findIndex(x=>x.value===u.value)===m).map(u=>({result:this.findBestResultForMetadataValue(t,u.value),metadata:u})).sort((u,m)=>this.compareMetadata(u.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var p;return((p=e.extractResultMetadata({result:d,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>c&&(c=p,s=d,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var oi={};q(oi,{Debouncer:()=>Pt});var Pt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ai={};q(ai,{customElement:()=>X,isNumber:()=>qs,jsonProperty:()=>Jt,optionalNumberProperty:()=>mp});var ii={};q(ii,{dateReviver:()=>fp,deepEqual:()=>zt,delay:()=>Ko,eventPathContainsMatchingElement:()=>hp,flatDeep:()=>Ks,getComposedPathTo:()=>ni,hasChanged:()=>Ze,last:()=>yp,minmax:()=>Jr,parseDate:()=>Zs,unslotText:()=>Ce,waitFor:()=>Gs,waitUntil:()=>pp});var Ko=e=>new Promise(t=>setTimeout(t,e));async function pp(e,t=10,o=2e4){await Gs(async()=>await e()||void 0,t,o)}async function Gs(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Ko(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ks(e,t){return e.flatMap(o=>[o,...Ks(t(o),t)])}function fp(...e){return function(t,o){return e.includes(t)?Zs(o):o}}function Zs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function up(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!zt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!zt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(c=>s[c]!=null);if(i=a(e),o=i.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!zt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function zt(e,t){try{return up(e,t)}catch{return!1}}function Ze(e,t){return!zt(e,t)}function hp(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Jr(e,t,o){return Math.min(Math.max(e,t),o)}function yp(e){return e[e.length-1]}function Ce(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ce(t)).join(""):e?.textContent||""}function ni(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Jt(e,t){let o=()=>JSON.parse(JSON.stringify(e));return O({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ze,...t??{}})}function mp(e){return O({type:Object,converter:{fromAttribute:t=>{if(t!=null)return qs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function qs(e){return!isNaN(parseFloat(e))}var ki={};q(ki,{designSystemVariables:()=>K});var Ii={};q(Ii,{DesignSystemFamily:()=>St,DesignSystemSize:()=>Q,FtCssVariableFactory:()=>r,badge:()=>vp,banner:()=>xp,button:()=>g,chart:()=>Tp,checkbox:()=>kp,chip:()=>H,chipChoice:()=>bp,collapsible:()=>Lp,comboboxMultiSelect:()=>_p,comboboxSingleSelect:()=>Np,drawer:()=>Op,floatingMenu:()=>Rp,foundation:()=>l,link:()=>ft,modal:()=>Cp,notice:()=>Ip,notification:()=>Mp,pageDesigner:()=>$p,pageFooter:()=>de,pageHeader:()=>at,pageLayout:()=>Sp,popover:()=>wt,radio:()=>Dp,reorderableList:()=>Fp,resolveFamilyClass:()=>Ti,resolveSizeClass:()=>$i,semantic:()=>f,setVariable:()=>E,switch_:()=>Pp,tabs:()=>Ep,textArea:()=>Ap,textInput:()=>wp,titleBreadcrumb:()=>yr,toggle:()=>Bp,tooltip:()=>Up,typographies:()=>Oe,typographyBody1Medium:()=>fi,typographyBody1Regular:()=>pi,typographyBody1Semibold:()=>ui,typographyBody2Medium:()=>yi,typographyBody2MediumUnderline:()=>Ys,typographyBody2Regular:()=>hi,typographyBody2Semibold:()=>mi,typographyCaption1Bold:()=>wi,typographyCaption1Medium:()=>Oi,typographyCaption1Semibold:()=>Ei,typographyCaption2Bold:()=>Ni,typographyCaption2Medium:()=>Ai,typographyCaption2Semibold:()=>Ri,typographyCaption3Bold:()=>Pi,typographyCaption3Medium:()=>_i,typographyCaption3Semibold:()=>Li,typographyDisplay:()=>si,typographyLabel1Bold:()=>xi,typographyLabel1Medium:()=>gi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Ci,typographyLabel2Medium:()=>vi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>li,typographyTitle2:()=>ci,typographyTitle3:()=>di,typographyVariants:()=>gp});var ce=e=>typeof e=="string"?ae(e):e,r=class{static create(t,o,n,i){let a=c=>ce(c??i),s=I`var(${ce(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${ce(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=I`var(${ce(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${ce(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):ce(a??t.lastResortDefaultValue()),i=I`var(${ce(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>I`var(${ce(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function E(e,t){return ce(`${e.name}: ${t}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-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)")},si={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},yi={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ys={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},mi={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},gi={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Oe={display:si,"title-1":li,"title-2":ci,"title-3":di,"body-1-regular":pi,"body-1-medium":fi,"body-1-semibold":ui,"body-2-regular":hi,"body-2-medium":yi,"body-2-medium-underline":Ys,"body-2-semibold":mi,"label-1-medium":gi,"label-1-semibold":bi,"label-1-bold":xi,"label-2-medium":vi,"label-2-semibold":Si,"label-2-bold":Ci,"caption-1-medium":Oi,"caption-1-semibold":Ei,"caption-1-bold":wi,"caption-2-medium":Ai,"caption-2-semibold":Ri,"caption-2-bold":Ni,"caption-3-medium":_i,"caption-3-semibold":Li,"caption-3-bold":Pi},gp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var bp={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var H={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var ft={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var xp={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var vp={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",f.contentActionPrimary)};var yr={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var at={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var de={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)};var Sp={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)};var Cp={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Op={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Ep={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var wp={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Ap={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Rp={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Np={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var _p={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var wt={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var Lp={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Pp={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Tp={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var $p={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Ip={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var kp={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Bp={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Dp={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Mp={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var Up={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var Fp={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",f.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",f.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",f.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",f.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",f.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",f.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",f.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",f.backgroundGlobalOnSurfaceDark)};var St;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(St||(St={}));var Q;(function(e){e.large="large",e.medium="medium",e.small="small"})(Q||(Q={}));function Ti(e){return`ftds--family-${e}`}function $i(e){return`ftds--size-${e}`}var K={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","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:r.create("--ft-elevation-01","","UNKNOWN","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:r.create("--ft-elevation-02","","UNKNOWN","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:r.create("--ft-elevation-03","","UNKNOWN","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:r.create("--ft-elevation-04","","UNKNOWN","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:r.create("--ft-elevation-06","","UNKNOWN","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:r.create("--ft-elevation-08","","UNKNOWN","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:r.create("--ft-elevation-12","","UNKNOWN","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:r.create("--ft-elevation-16","","UNKNOWN","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:r.create("--ft-elevation-24","","UNKNOWN","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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Xi={};q(Xi,{computeFlipOffsetPosition:()=>Yi,computeOffsetPosition:()=>qi});var Js=["top","right","bottom","left"],Xs=["start","end"],Bi=Js.reduce((e,t)=>e.concat(t,t+"-"+Xs[0],t+"-"+Xs[1]),[]),eo=Math.min,Ee=Math.max,ro=Math.round;var pe=e=>({x:e,y:e}),Wp={left:"right",right:"left",bottom:"top",top:"bottom"},Hp={start:"end",end:"start"};function Di(e,t,o){return Ee(e,eo(t,o))}function mr(e,t){return typeof e=="function"?e(t):e}function Qt(e){return e.split("-")[0]}function te(e){return e.split("-")[1]}function Mi(e){return e==="x"?"y":"x"}function Ui(e){return e==="y"?"height":"width"}function oo(e){return["top","bottom"].includes(Qt(e))?"y":"x"}function Fi(e){return Mi(oo(e))}function Wi(e,t,o){o===void 0&&(o=!1);let n=te(e),i=Fi(e),a=Ui(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=to(s)),[s,to(s)]}function Qs(e){let t=to(e);return[Qr(e),t,Qr(t)]}function Qr(e){return e.replace(/start|end/g,t=>Hp[t])}function zp(e,t,o){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:n:t?n:i;case"left":case"right":return t?a:s;default:return[]}}function tl(e,t,o,n){let i=te(e),a=zp(Qt(e),o==="start",n);return i&&(a=a.map(s=>s+"-"+i),t&&(a=a.concat(a.map(Qr)))),a}function to(e){return e.replace(/left|right|bottom|top/g,t=>Wp[t])}function Vp(e){return{top:0,right:0,bottom:0,left:0,...e}}function el(e){return typeof e!="number"?Vp(e):{top:e,right:e,bottom:e,left:e}}function qe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function rl(e,t,o){let{reference:n,floating:i}=e,a=oo(t),s=Fi(t),c=Ui(s),d=Qt(t),p=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:u};break;case"left":b={x:n.x-i.width,y:u};break;default:b={x:n.x,y:n.y}}switch(te(t)){case"start":b[s]-=m*(o&&p?-1:1);break;case"end":b[s]+=m*(o&&p?-1:1);break}return b}var ol=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=rl(p,n,d),m=n,b={},x=0;for(let C=0;C<c.length;C++){let{name:N,fn:L}=c[C],{x:P,y:w,data:S,reset:A}=await L({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(h=P??h,u=w??u,b={...b,[N]:{...b[N],...S}},A&&x<=50){x++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(p=A.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):A.rects),{x:h,y:u}=rl(p,m,d)),C=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:b}};async function Zo(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:b=0}=mr(t,e),x=el(b),N=c[m?u==="floating"?"reference":"floating":u],L=qe(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),P=u==="floating"?{...s.floating,x:n,y:i}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),S=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},A=qe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:w,strategy:d}):P);return{top:(L.top-A.top+x.top)/S.y,bottom:(A.bottom-L.bottom+x.bottom)/S.y,left:(L.left-A.left+x.left)/S.x,right:(A.right-L.right+x.right)/S.x}}function jp(e,t,o){return(e?[...o.filter(i=>te(i)===e),...o.filter(i=>te(i)!==e)]:o.filter(i=>Qt(i)===i)).filter(i=>e?te(i)===e||(t?Qr(i)!==i:!1):!0)}var Hi=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:p}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=Bi,autoAlignment:b=!0,...x}=mr(e,t),C=u!==void 0||m===Bi?jp(u||null,b,m):m,N=await Zo(t,x),L=((o=s.autoPlacement)==null?void 0:o.index)||0,P=C[L];if(P==null)return{};let w=Wi(P,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==P)return{reset:{placement:C[0]}};let S=[N[Qt(P)],N[w[0]],N[w[1]]],A=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:S}],T=C[L+1];if(T)return{data:{index:L+1,overflows:A},reset:{placement:T}};let M=A.map(k=>{let y=te(k.placement);return[k.placement,y&&h?k.overflows.slice(0,2).reduce((v,$)=>v+$,0):k.overflows[0],k.overflows]}).sort((k,y)=>k[1]-y[1]),z=((i=M.filter(k=>k[2].slice(0,te(k[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||M[0][0];return z!==c?{data:{index:L+1,overflows:A},reset:{placement:z}}:{}}}},zi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:d,elements:p}=t,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:C=!0,...N}=mr(e,t);if((o=a.arrow)!=null&&o.alignmentOffset)return{};let L=Qt(i),P=Qt(c)===c,w=await(d.isRTL==null?void 0:d.isRTL(p.floating)),S=m||(P||!C?[to(c)]:Qs(c));!m&&x!=="none"&&S.push(...tl(c,C,x,w));let A=[c,...S],T=await Zo(t,N),M=[],V=((n=a.flip)==null?void 0:n.overflows)||[];if(h&&M.push(T[L]),u){let v=Wi(i,s,w);M.push(T[v[0]],T[v[1]])}if(V=[...V,{placement:i,overflows:M}],!M.every(v=>v<=0)){var z,k;let v=(((z=a.flip)==null?void 0:z.index)||0)+1,$=A[v];if($)return{data:{index:v,overflows:V},reset:{placement:$}};let W=(k=V.filter(j=>j.overflows[0]<=0).sort((j,U)=>j.overflows[1]-U.overflows[1])[0])==null?void 0:k.placement;if(!W)switch(b){case"bestFit":{var y;let j=(y=V.map(U=>[U.placement,U.overflows.filter(Zt=>Zt>0).reduce((Zt,Br)=>Zt+Br,0)]).sort((U,Zt)=>U[1]-Zt[1])[0])==null?void 0:y[0];j&&(W=j);break}case"initialPlacement":W=c;break}if(i!==W)return{reset:{placement:W}}}return{}}}};async function Gp(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Qt(o),c=te(o),d=oo(o)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=mr(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:x}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return c&&typeof x=="number"&&(b=c==="end"?x*-1:x),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var Vi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:c}=t,d=await Gp(t,e);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},ji=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:L,y:P}=N;return{x:L,y:P}}},...d}=mr(e,t),p={x:o,y:n},h=await Zo(t,d),u=oo(Qt(i)),m=Mi(u),b=p[m],x=p[u];if(a){let N=m==="y"?"top":"left",L=m==="y"?"bottom":"right",P=b+h[N],w=b-h[L];b=Di(P,b,w)}if(s){let N=u==="y"?"top":"left",L=u==="y"?"bottom":"right",P=x+h[N],w=x-h[L];x=Di(P,x,w)}let C=c.fn({...t,[m]:b,[u]:x});return{...C,data:{x:C.x-o,y:C.y-n}}}}};function fe(e){return il(e)?(e.nodeName||"").toLowerCase():"#document"}function At(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ue(e){var t;return(t=(il(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function il(e){return e instanceof Node||e instanceof At(e).Node}function ee(e){return e instanceof Element||e instanceof At(e).Element}function Vt(e){return e instanceof HTMLElement||e instanceof At(e).HTMLElement}function nl(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof At(e).ShadowRoot}function gr(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=Tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function al(e){return["table","td","th"].includes(fe(e))}function Yo(e){let t=Xo(),o=Tt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function sl(e){let t=Ye(e);for(;Vt(t)&&!no(t);){if(Yo(t))return t;t=Ye(t)}return null}function Xo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function no(e){return["html","body","#document"].includes(fe(e))}function Tt(e){return At(e).getComputedStyle(e)}function io(e){return ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ye(e){if(fe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||nl(e)&&e.host||ue(e);return nl(t)?t.host:t}function ll(e){let t=Ye(e);return no(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vt(t)&&gr(t)?t:ll(t)}function qo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=ll(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=At(i);return a?t.concat(s,s.visualViewport||[],gr(i)?i:[],s.frameElement&&o?qo(s.frameElement):[]):t.concat(i,qo(i,[],o))}function pl(e){let t=Tt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Vt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=ro(o)!==a||ro(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function fl(e){return ee(e)?e:e.contextElement}function br(e){let t=fl(e);if(!Vt(t))return pe(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=pl(t),s=(a?ro(o.width):o.width)/n,c=(a?ro(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Kp=pe(0);function ul(e){let t=At(e);return!Xo()||!t.visualViewport?Kp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zp(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==At(e)?!1:t}function ao(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=fl(e),s=pe(1);t&&(n?ee(n)&&(s=br(n)):s=br(e));let c=Zp(a,o,n)?ul(a):pe(0),d=(i.left+c.x)/s.x,p=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=At(a),b=n&&ee(n)?At(n):n,x=m.frameElement;for(;x&&n&&b!==m;){let C=br(x),N=x.getBoundingClientRect(),L=Tt(x),P=N.left+(x.clientLeft+parseFloat(L.paddingLeft))*C.x,w=N.top+(x.clientTop+parseFloat(L.paddingTop))*C.y;d*=C.x,p*=C.y,h*=C.x,u*=C.y,d+=P,p+=w,x=At(x).frameElement}}return qe({width:h,height:u,x:d,y:p})}function qp(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Vt(o),a=ue(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=pe(1),d=pe(0);if((i||!i&&n!=="fixed")&&((fe(o)!=="body"||gr(a))&&(s=io(o)),Vt(o))){let p=ao(o);c=br(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+d.x,y:t.y*c.y-s.scrollTop*c.y+d.y}}function Yp(e){return Array.from(e.getClientRects())}function hl(e){return ao(ue(e)).left+io(e).scrollLeft}function Xp(e){let t=ue(e),o=io(e),n=e.ownerDocument.body,i=Ee(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Ee(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+hl(e),c=-o.scrollTop;return Tt(n).direction==="rtl"&&(s+=Ee(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Jp(e,t){let o=At(e),n=ue(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let p=Xo();(!p||p&&t==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function Qp(e,t){let o=ao(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Vt(e)?br(e):pe(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:c,x:d,y:p}}function cl(e,t,o){let n;if(t==="viewport")n=Jp(e,o);else if(t==="document")n=Xp(ue(e));else if(ee(t))n=Qp(t,o);else{let i=ul(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return qe(n)}function yl(e,t){let o=Ye(e);return o===t||!ee(o)||no(o)?!1:Tt(o).position==="fixed"||yl(o,t)}function tf(e,t){let o=t.get(e);if(o)return o;let n=qo(e,[],!1).filter(c=>ee(c)&&fe(c)!=="body"),i=null,a=Tt(e).position==="fixed",s=a?Ye(e):e;for(;ee(s)&&!no(s);){let c=Tt(s),d=Yo(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||gr(s)&&!d&&yl(e,s))?n=n.filter(h=>h!==s):i=c,s=Ye(s)}return t.set(e,n),n}function ef(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?tf(t,this._c):[].concat(o),n],c=s[0],d=s.reduce((p,h)=>{let u=cl(t,h,i);return p.top=Ee(u.top,p.top),p.right=eo(u.right,p.right),p.bottom=eo(u.bottom,p.bottom),p.left=Ee(u.left,p.left),p},cl(t,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function rf(e){return pl(e)}function of(e,t,o){let n=Vt(t),i=ue(t),a=o==="fixed",s=ao(e,!0,a,t),c={scrollLeft:0,scrollTop:0},d=pe(0);if(n||!n&&!a)if((fe(t)!=="body"||gr(i))&&(c=io(t)),n){let p=ao(t,!0,a,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else i&&(d.x=hl(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function dl(e,t){return!Vt(e)||Tt(e).position==="fixed"?null:t?t(e):e.offsetParent}function ml(e,t){let o=At(e);if(!Vt(e))return o;let n=dl(e,t);for(;n&&al(n)&&Tt(n).position==="static";)n=dl(n,t);return n&&(fe(n)==="html"||fe(n)==="body"&&Tt(n).position==="static"&&!Yo(n))?o:n||sl(e)||o}var nf=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||ml,a=this.getDimensions;return{reference:of(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function af(e){return Tt(e).direction==="rtl"}var xr={convertOffsetParentRelativeRectToViewportRelativeRect:qp,getDocumentElement:ue,getClippingRect:ef,getOffsetParent:ml,getElementRects:nf,getClientRects:Yp,getDimensions:rf,getScale:br,isElement:ee,isRTL:af};var Gi=(e,t,o)=>{let n=new Map,i={platform:xr,...o},a={...i.platform,_c:n};return ol(e,t,{...i,platform:a})};function Zi(e){return sf(e)}function Ki(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function sf(e){for(let t=e;t;t=Ki(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ki(e);t;t=Ki(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function qi(e,t,o){return Gi(e,t,{platform:{...xr,getOffsetParent:n=>xr.getOffsetParent(n,Zi)},middleware:[ji({crossAxis:!0}),Hi({allowedPlacements:[o]})]})}async function Yi(e,t,o,n,i,a=4){return Gi(e,t,{placement:o,strategy:i,platform:{...xr,getOffsetParent:s=>xr.getOffsetParent(s,Zi)},middleware:[Vi(a),zi({fallbackPlacements:n})]})}var ta={};q(ta,{FtdsBase:()=>Xe,toFtdsBase:()=>tn});var Qi={};q(Qi,{FtLitElement:()=>Z});var Ji={};q(Ji,{ScopedRegistryLitElement:()=>so});var Jo=window,lf=Jo.ShadowRoot&&(Jo.ShadyCSS===void 0||Jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ab=Symbol();var gl=(e,t)=>{lf?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Jo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var so=class extends le{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return gl(n,t.elementStyles),n}};var Qo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Sl,bl=Symbol("constructorPrototype"),xl=Symbol("constructorName"),Cl=Symbol("exportpartsDebouncer"),vl=Symbol("dynamicDependenciesLoaded"),Z=class extends so{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Sl]=new Pt(5),this[xl]=this.constructor.name,this[bl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xl]&&Object.setPrototypeOf(this,this[bl])}connectedCallback(){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 t=this.constructor;t[vl]||(t[vl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Cl].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,c;let d=m=>m!=null&&m.trim().length>0,p=t.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...b,...x).filter(d).map(C=>C.trim()).forEach(C=>h.add(C))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Sl=Cl;Qo([O()],Z.prototype,"exportpartsPrefix",void 0);Qo([Jt([])],Z.prototype,"exportpartsPrefixes",void 0);Qo([O()],Z.prototype,"customStylesheet",void 0);Qo([yt()],Z.prototype,"useAdoptedStyleSheets",void 0);var Ol=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function tn(e){class t extends e{constructor(){super(...arguments),this.size=Q.medium,this.family=St.neutral}getDesignSystemBaseClasses(){return{[Ti(this.family)]:!0,[$i(this.size)]:!0}}}return Ol([O()],t.prototype,"size",void 0),Ol([O()],t.prototype,"family",void 0),t}var Xe=class extends tn(Z){};var El={};var oa={};q(oa,{highlightHtml:()=>ra,highlightHtmlColorCssVariable:()=>wl,highlightHtmlStyles:()=>df});var Je=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(p=>{e.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(c++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),c=[],d=[],p,h,u=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(t,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var lo=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Je(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=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"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,c=o-s,d=parseInt(t.start,10)-c;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Je.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,c)=>{let d=t.nodes[c+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),t.value=u+m,t.nodes.forEach((b,x)=>{x>=c&&(t.nodes[x].start>0&&x!==c&&(t.nodes[x].start-=h),t.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=t.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let u=1;u<s;u++)h+=p[u].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let d;for(;(d=t.exec(c.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let u=1;u<s;u++)p+=d[u].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(c,p,h,u=>n(d[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((c,d)=>{let{start:p,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,c,a.value.substring(p,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Je.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ea(e){let t=new lo(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var cf=ea,wl=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),df=I`
|
|
1
|
+
"use strict";(()=>{var _d=Object.create;var _n=Object.defineProperty;var Nd=Object.getOwnPropertyDescriptor;var Td=Object.getOwnPropertyNames;var Ld=Object.getPrototypeOf,Pd=Object.prototype.hasOwnProperty;var Id=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),q=(e,t)=>{for(var o in t)_n(e,o,{get:t[o],enumerable:!0})},$d=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Td(t))!Pd.call(e,i)&&i!==o&&_n(e,i,{get:()=>t[i],enumerable:!(n=Nd(t,i))||n.enumerable});return e};var kd=(e,t,o)=>(o=e!=null?_d(Ld(e)):{},$d(t||!e||!e.__esModule?_n(o,"default",{value:e,enumerable:!0}):o,e));var lc=Id((Pe,sc)=>{var pn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,un=function(){function e(){this.fetch=!1,this.DOMException=pn.DOMException}return e.prototype=pn,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function p(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var S={next:function(){var I=m.shift();return{done:I===void 0,value:I}}};return i.iterable&&(S[Symbol.iterator]=function(){return S}),S}function f(m){this.map={},m instanceof f?m.forEach(function(S,I){this.append(I,S)},this):Array.isArray(m)?m.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(S){this.append(S,m[S])},this)}f.prototype.append=function(m,S){m=d(m),S=p(S);var I=this.map[m];this.map[m]=I?I+", "+S:S},f.prototype.delete=function(m){delete this.map[d(m)]},f.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},f.prototype.set=function(m,S){this.map[d(m)]=p(S)},f.prototype.forEach=function(m,S){for(var I in this.map)this.map.hasOwnProperty(I)&&m.call(S,this.map[I],I,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(S,I){m.push(I)}),h(m)},f.prototype.values=function(){var m=[];return this.forEach(function(S){m.push(S)}),h(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(S,I){m.push([I,S])}),h(m)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function b(m){return new Promise(function(S,I){m.onload=function(){S(m.result)},m.onerror=function(){I(m.error)}})}function x(m){var S=new FileReader,I=b(S);return S.readAsArrayBuffer(m),I}function C(m){var S=new FileReader,I=b(S),z=/charset=([A-Za-z0-9_-]+)/.exec(m.type),V=z?z[1]:"utf-8";return S.readAsText(m,V),I}function _(m){for(var S=new Uint8Array(m),I=new Array(S.length),z=0;z<S.length;z++)I[z]=String.fromCharCode(S[z]);return I.join("")}function N(m){if(m.slice)return m.slice(0);var S=new Uint8Array(m.byteLength);return S.set(new Uint8Array(m)),S.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=N(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=y(this);if(m)return m;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 m=y(this);return m||(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(i.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(P)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(m){var S=m.toUpperCase();return O.indexOf(S)>-1?S:m}function A(m,S){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var I=S.body;if(m instanceof A){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,S.headers||(this.headers=new f(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!I&&m._bodyInit!=null&&(I=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new f(S.headers)),this.method=v(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in n){var M=new AbortController;return M.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(I),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var z=/([?&])_=[^&]*/;if(z.test(this.url))this.url=this.url.replace(z,"$1_="+new Date().getTime());else{var V=/\?/;this.url+=(V.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})};function P(m){var S=new FormData;return m.trim().split("&").forEach(function(I){if(I){var z=I.split("="),V=z.shift().replace(/\+/g," "),M=z.join("=").replace(/\+/g," ");S.append(decodeURIComponent(V),decodeURIComponent(M))}}),S}function U(m){var S=new f,I=m.replace(/\r?\n[\t ]+/g," ");return I.split("\r").map(function(z){return z.indexOf(`
|
|
2
|
+
`)===0?z.substr(1,z.length):z}).forEach(function(z){var V=z.split(":"),M=V.shift().trim();if(M){var Xt=V.join(":").trim();try{S.append(M,Xt)}catch(Mr){console.warn("Response "+Mr.message)}}}),S}L.call(A.prototype);function H(m,S){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new f(S.headers),this.url=S.url||"",this._initBody(m)}L.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},H.error=function(){var m=new H(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var W=[301,302,303,307,308];H.redirect=function(m,S){if(W.indexOf(S)===-1)throw new RangeError("Invalid status code");return new H(null,{status:S,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(S,I){this.message=S,this.name=I;var z=Error(S);this.stack=z.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function k(m,S){return new Promise(function(I,z){var V=new A(m,S);if(V.signal&&V.signal.aborted)return z(new o.DOMException("Aborted","AbortError"));var M=new XMLHttpRequest;function Xt(){M.abort()}M.onload=function(){var bt={statusText:M.statusText,headers:U(M.getAllResponseHeaders()||"")};V.url.indexOf("file://")===0&&(M.status<200||M.status>599)?bt.status=200:bt.status=M.status,bt.url="responseURL"in M?M.responseURL:bt.headers.get("X-Request-URL");var $e="response"in M?M.response:M.responseText;setTimeout(function(){I(new H($e,bt))},0)},M.onerror=function(){setTimeout(function(){z(new TypeError("Network request failed"))},0)},M.ontimeout=function(){setTimeout(function(){z(new TypeError("Network request timed out"))},0)},M.onabort=function(){setTimeout(function(){z(new o.DOMException("Aborted","AbortError"))},0)};function Mr(bt){try{return bt===""&&n.location.href?n.location.href:bt}catch{return bt}}if(M.open(V.method,Mr(V.url),!0),V.credentials==="include"?M.withCredentials=!0:V.credentials==="omit"&&(M.withCredentials=!1),"responseType"in M&&(i.blob?M.responseType="blob":i.arrayBuffer&&(M.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof f||n.Headers&&S.headers instanceof n.Headers)){var is=[];Object.getOwnPropertyNames(S.headers).forEach(function(bt){is.push(d(bt)),M.setRequestHeader(bt,p(S.headers[bt]))}),V.headers.forEach(function(bt,$e){is.indexOf($e)===-1&&M.setRequestHeader($e,bt)})}else V.headers.forEach(function(bt,$e){M.setRequestHeader($e,bt)});V.signal&&(V.signal.addEventListener("abort",Xt),M.onreadystatechange=function(){M.readyState===4&&V.signal.removeEventListener("abort",Xt)}),M.send(typeof V._bodyInit>"u"?null:V._bodyInit)})}return k.polyfill=!0,n.fetch||(n.fetch=k,n.Headers=f,n.Request=A,n.Response=H),o.Headers=f,o.Request=A,o.Response=H,o.fetch=k,o}({})})(un);un.fetch.ponyfill=!0;delete un.fetch.polyfill;var Rr=pn.fetch?pn:un;Pe=Rr.fetch;Pe.default=Rr.fetch;Pe.fetch=Rr.fetch;Pe.Headers=Rr.Headers;Pe.Request=Rr.Request;Pe.Response=Rr.Response;sc.exports=Pe});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,v){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(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=v.prototype.attributeChangedCallback,P=new Set(v.observedAttributes||[]);y(v,P,A);let U={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:P};this._definitionsByTag.set(O,U),this._definitionsByClass.set(v,U);let H=o.call(n,O);H||(H=f(O),t.call(n,O,H)),this===window.customElements&&(s.set(v,U),U.standInClass=H);let W=this._awaitingUpgrade.get(O);if(W){this._awaitingUpgrade.delete(O);for(let m of W)a.delete(m),x(m,U,!0)}let k=this._whenDefinedPromises.get(O);return k!==void 0&&(k.resolve(v),this._whenDefinedPromises.delete(O)),v}upgrade(){_.push(this),n.upgrade.apply(n,arguments),_.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let v=this._getDefinition(O);if(v!==void 0)return Promise.resolve(v.elementClass);let A=this._whenDefinedPromises.get(O);return A===void 0&&(A={},A.promise=new Promise(P=>A.resolve=P),this._whenDefinedPromises.set(O,A)),A.promise}_upgradeWhenDefined(O,v,A){let P=this._awaitingUpgrade.get(v);P||this._awaitingUpgrade.set(v,P=new Set),A?P.add(O):P.delete(O)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(e,[],A.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),i.set(v,A),v},window.HTMLElement.prototype=e.prototype;let p=O=>O===document||O instanceof ShadowRoot,h=O=>{let v=O.getRootNode();if(!p(v)){let A=_[_.length-1];if(A instanceof CustomElementRegistry)return A;v=A.getRootNode(),p(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},f=O=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let P=h(A)||window.customElements,U=P._getDefinition(O);return U?x(A,U):a.set(A,P),A}connectedCallback(){let A=i.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let A=i.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=i.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=i.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=i.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=i.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},y=(O,v,A)=>{if(v.size===0||A===void 0)return;let P=O.prototype.setAttribute;P&&(O.prototype.setAttribute=function(W,k){let m=W.toLowerCase();if(v.has(m)){let S=this.getAttribute(m);P.call(this,m,k),A.call(this,m,S,k)}else P.call(this,m,k)});let U=O.prototype.removeAttribute;U&&(O.prototype.removeAttribute=function(W){let k=W.toLowerCase();if(v.has(k)){let m=this.getAttribute(k);U.call(this,k),A.call(this,k,m,null)}else U.call(this,k)});let H=O.prototype.toggleAttribute;H&&(O.prototype.toggleAttribute=function(W,k){let m=W.toLowerCase();if(v.has(m)){let S=this.getAttribute(m);H.call(this,m,k);let I=this.getAttribute(m);A.call(this,m,S,I)}else H.call(this,m,k)})},b=O=>{let v=Object.getPrototypeOf(O);if(v!==window.HTMLElement)return v===e?Object.setPrototypeOf(O,window.HTMLElement):b(v)},x=(O,v,A=!1)=>{Object.setPrototypeOf(O,v.elementClass.prototype),i.set(O,v),d=O;try{new v.elementClass}catch{b(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(P=>{O.hasAttribute(P)&&v.attributeChangedCallback.call(O,P,null,O.getAttribute(P))}),A&&v.connectedCallback&&O.isConnected&&v.connectedCallback.call(O)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let v=C.apply(this,arguments);return O.customElements&&(v.customElements=O.customElements),v};let _=[document],N=(O,v,A=void 0)=>{let P=(A?Object.getPrototypeOf(A):O.prototype)[v];O.prototype[v]=function(){_.push(this);let U=P.apply(A||this,arguments);return U!==void 0&&l.set(U,this),_.pop(),U}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let L=(O,v)=>{let A=Object.getOwnPropertyDescriptor(O.prototype,v);Object.defineProperty(O.prototype,v,{...A,set(P){_.push(this),A.set.call(this,P),_.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,v=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let k=v.call(this,...W);return O.set(k,this),k},A.forEach(W=>{let k=window.ElementInternals.prototype,m=k[W];k[W]=function(...S){let I=O.get(this);if(i.get(I).formAssociated===!0)return m?.call(this,...S);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class P extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class U{constructor(k){let m=new Map;k.forEach((S,I)=>{let z=S.getAttribute("name"),V=m.get(z)||[];this[+I]=S,V.push(S),m.set(z,V)}),this.length=k.length,m.forEach((S,I)=>{S&&(S.length===1?this[I]=S[0]:this[I]=new P(S))})}namedItem(k){return this[k]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=H.get.call(this,[]),k=[];for(let m of W){let S=i.get(m);(!S||S.formAssociated===!0)&&k.push(m)}return new U(k)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Wn={};q(Wn,{CSSResult:()=>pr,LitElement:()=>ce,ReactiveElement:()=>Jt,_$LE:()=>ip,_$LH:()=>rp,adoptStyles:()=>Bo,css:()=>$,defaultConverter:()=>Uo,getCompatibleStyle:()=>Kr,html:()=>D,isServer:()=>Uf,noChange:()=>xe,notEqual:()=>kn,nothing:()=>G,render:()=>Fn,supportsAdoptingStyleSheets:()=>Gr,svg:()=>ep,unsafeCSS:()=>se});var Oo=globalThis,wo=Oo.ShadowRoot&&(Oo.ShadyCSS===void 0||Oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ss=Symbol(),as=new WeakMap,Eo=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==ss)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(wo&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=as.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&as.set(o,t))}return t}toString(){return this.cssText}},ls=e=>new Eo(typeof e=="string"?e:e+"",void 0,ss);var Nn=(e,t)=>{if(wo)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Oo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Ao=wo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return ls(o)})(e):e;var{is:Dd,defineProperty:Bd,getOwnPropertyDescriptor:Ud,getOwnPropertyNames:Md,getOwnPropertySymbols:Fd,getPrototypeOf:Wd}=Object,Ro=globalThis,cs=Ro.trustedTypes,Hd=cs?cs.emptyScript:"",zd=Ro.reactiveElementPolyfillSupport,Fr=(e,t)=>e,Wr={toAttribute(e,t){switch(t){case Boolean:e=e?Hd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},_o=(e,t)=>!Dd(e,t),ds={attribute:!0,type:String,converter:Wr,reflect:!1,hasChanged:_o};Symbol.metadata??=Symbol("metadata"),Ro.litPropertyMetadata??=new WeakMap;var ke=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=ds){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Bd(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Ud(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ds}static _$Ei(){if(this.hasOwnProperty(Fr("elementProperties")))return;let t=Wd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Fr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Fr("properties"))){let o=this.properties,n=[...Md(o),...Fd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Ao(i))}else t!==void 0&&o.push(Ao(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Nn(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Wr).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Wr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??_o)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};ke.elementStyles=[],ke.shadowRootOptions={mode:"open"},ke[Fr("elementProperties")]=new Map,ke[Fr("finalized")]=new Map,zd?.({ReactiveElement:ke}),(Ro.reactiveElementVersions??=[]).push("2.0.2");var Ln=globalThis,No=Ln.trustedTypes,ps=No?No.createPolicy("lit-html",{createHTML:e=>e}):void 0,Pn="$lit$",ae=`lit$${(Math.random()+"").slice(9)}$`,In="?"+ae,jd=`<${In}>`,Ue=document,To=()=>Ue.createComment(""),zr=e=>e===null||typeof e!="object"&&typeof e!="function",gs=Array.isArray,bs=e=>gs(e)||typeof e?.[Symbol.iterator]=="function",Tn=`[
|
|
3
|
+
\f\r]`,Hr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,us=/-->/g,fs=/>/g,De=RegExp(`>|${Tn}(?:([^\\s"'>=/]+)(${Tn}*=${Tn}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),hs=/'/g,ys=/"/g,xs=/^(?:script|style|textarea|title)$/i,vs=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ss=vs(1),Cs=vs(2),Lt=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),ms=new WeakMap,Be=Ue.createTreeWalker(Ue,129);function Os(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ps!==void 0?ps.createHTML(t):t}var Es=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Hr;for(let l=0;l<o;l++){let d=e[l],p,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===Hr?h[1]==="!--"?s=us:h[1]!==void 0?s=fs:h[2]!==void 0?(xs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=De):h[3]!==void 0&&(s=De):s===De?h[0]===">"?(s=i??Hr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?De:h[3]==='"'?ys:hs):s===ys||s===hs?s=De:s===us||s===fs?s=Hr:(s=De,i=void 0);let b=s===De&&e[l+1].startsWith("/>")?" ":"";a+=s===Hr?d+jd:f>=0?(n.push(p),d.slice(0,f)+Pn+d.slice(f)+ae+b):d+ae+(f===-2?l:b)}return[Os(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},jr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[p,h]=Es(t,o);if(this.el=e.createElement(p,n),Be.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Be.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Pn)){let y=h[s++],b=i.getAttribute(f).split(ae),x=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Po:x[1]==="?"?Io:x[1]==="@"?$o:Fe}),i.removeAttribute(f)}else f.startsWith(ae)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(xs.test(i.tagName)){let f=i.textContent.split(ae),y=f.length-1;if(y>0){i.textContent=No?No.emptyScript:"";for(let b=0;b<y;b++)i.append(f[b],To()),Be.nextNode(),d.push({type:2,index:++a});i.append(f[y],To())}}}else if(i.nodeType===8)if(i.data===In)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ae,f+1))!==-1;)d.push({type:7,index:a}),f+=ae.length-1}a++}}static createElement(t,o){let n=Ue.createElement("template");return n.innerHTML=t,n}};function Me(e,t,o=e,n){if(t===Lt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=zr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Me(e,i._$AS(e,t.values),i,n)),t}var Lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Ue).importNode(o,!0);Be.currentNode=i;let a=Be.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Vr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new ko(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=Be.nextNode(),s++)}return Be.currentNode=Ue,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Vr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=it,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Me(this,t,o),zr(t)?t===it||t==null||t===""?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==Lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):bs(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==it&&zr(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ue.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=jr.createElement(Os(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Lo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=ms.get(t.strings);return o===void 0&&ms.set(t.strings,o=new jr(t)),o}T(t){gs(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(To()),this.k(To()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=it}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Me(this,t,o,0),s=!zr(t)||t!==this._$AH&&t!==Lt,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=Me(this,l[n+d],o,d),p===Lt&&(p=this._$AH[d]),s||=!zr(p)||p!==this._$AH[d],p===it?t=it:t!==it&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Po=class extends Fe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===it?void 0:t}},Io=class extends Fe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==it)}},$o=class extends Fe{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Me(this,t,o,0)??it)===Lt)return;let n=this._$AH,i=t===it&&n!==it||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==it&&(n===it||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ko=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Me(this,t)}},ws={j:Pn,P:ae,A:In,C:1,M:Es,L:Lo,R:bs,V:Me,D:Vr,I:Fe,H:Io,N:$o,U:Po,B:ko},Vd=Ln.litHtmlPolyfillSupport;Vd?.(jr,Vr),(Ln.litHtmlVersions??=[]).push("3.1.0");var Do=globalThis,Gr=Do.ShadowRoot&&(Do.ShadyCSS===void 0||Do.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$n=Symbol(),As=new WeakMap,pr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==$n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Gr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=As.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&As.set(o,t))}return t}toString(){return this.cssText}},se=e=>new pr(typeof e=="string"?e:e+"",void 0,$n),$=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(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.")})(i)+e[a+1],e[0]);return new pr(o,e,$n)},Bo=(e,t)=>{if(Gr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Do.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Kr=Gr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return se(o)})(e):e;var{is:Gd,defineProperty:Kd,getOwnPropertyDescriptor:Zd,getOwnPropertyNames:qd,getOwnPropertySymbols:Yd,getPrototypeOf:Xd}=Object,Mo=globalThis,Rs=Mo.trustedTypes,Jd=Rs?Rs.emptyScript:"",Qd=Mo.reactiveElementPolyfillSupport,Zr=(e,t)=>e,Uo={toAttribute(e,t){switch(t){case Boolean:e=e?Jd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},kn=(e,t)=>!Gd(e,t),_s={attribute:!0,type:String,converter:Uo,reflect:!1,hasChanged:kn};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var Jt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=_s){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Kd(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Zd(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??_s}static _$Ei(){if(this.hasOwnProperty(Zr("elementProperties")))return;let t=Xd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Zr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Zr("properties"))){let o=this.properties,n=[...qd(o),...Yd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Kr(i))}else t!==void 0&&o.push(Kr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Bo(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Uo).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Uo;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??kn)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Jt.elementStyles=[],Jt.shadowRootOptions={mode:"open"},Jt[Zr("elementProperties")]=new Map,Jt[Zr("finalized")]=new Map,Qd?.({ReactiveElement:Jt}),(Mo.reactiveElementVersions??=[]).push("2.0.2");var Bn=globalThis,Fo=Bn.trustedTypes,Ns=Fo?Fo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Un="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,Mn="?"+le,tp=`<${Mn}>`,ze=document,Yr=()=>ze.createComment(""),Xr=e=>e===null||typeof e!="object"&&typeof e!="function",ks=Array.isArray,Ds=e=>ks(e)||typeof e?.[Symbol.iterator]=="function",Dn=`[
|
|
5
|
+
\f\r]`,qr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ts=/-->/g,Ls=/>/g,We=RegExp(`>|${Dn}(?:([^\\s"'>=/]+)(${Dn}*=${Dn}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ps=/'/g,Is=/"/g,Bs=/^(?:script|style|textarea|title)$/i,Us=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),D=Us(1),ep=Us(2),xe=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),$s=new WeakMap,He=ze.createTreeWalker(ze,129);function Ms(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ns!==void 0?Ns.createHTML(t):t}var Fs=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=qr;for(let l=0;l<o;l++){let d=e[l],p,h,f=-1,y=0;for(;y<d.length&&(s.lastIndex=y,h=s.exec(d),h!==null);)y=s.lastIndex,s===qr?h[1]==="!--"?s=Ts:h[1]!==void 0?s=Ls:h[2]!==void 0?(Bs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=We):h[3]!==void 0&&(s=We):s===We?h[0]===">"?(s=i??qr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?We:h[3]==='"'?Is:Ps):s===Is||s===Ps?s=We:s===Ts||s===Ls?s=qr:(s=We,i=void 0);let b=s===We&&e[l+1].startsWith("/>")?" ":"";a+=s===qr?d+tp:f>=0?(n.push(p),d.slice(0,f)+Un+d.slice(f)+le+b):d+le+(f===-2?l:b)}return[Ms(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Jr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[p,h]=Fs(t,o);if(this.el=e.createElement(p,n),He.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=He.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Un)){let y=h[s++],b=i.getAttribute(f).split(le),x=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Ho:x[1]==="?"?zo:x[1]==="@"?jo:Ve}),i.removeAttribute(f)}else f.startsWith(le)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Bs.test(i.tagName)){let f=i.textContent.split(le),y=f.length-1;if(y>0){i.textContent=Fo?Fo.emptyScript:"";for(let b=0;b<y;b++)i.append(f[b],Yr()),He.nextNode(),d.push({type:2,index:++a});i.append(f[y],Yr())}}}else if(i.nodeType===8)if(i.data===Mn)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(le,f+1))!==-1;)d.push({type:7,index:a}),f+=le.length-1}a++}}static createElement(t,o){let n=ze.createElement("template");return n.innerHTML=t,n}};function je(e,t,o=e,n){if(t===xe)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Xr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=je(e,i._$AS(e,t.values),i,n)),t}var Wo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ze).importNode(o,!0);He.currentNode=i;let a=He.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new ur(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Vo(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=He.nextNode(),s++)}return He.currentNode=ze,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},ur=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=je(this,t,o),Xr(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==xe&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ds(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&Xr(this._$AH)?this._$AA.nextSibling.data=t:this.$(ze.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Jr.createElement(Ms(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Wo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=$s.get(t.strings);return o===void 0&&$s.set(t.strings,o=new Jr(t)),o}T(t){ks(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Yr()),this.k(Yr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ve=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=je(this,t,o,0),s=!Xr(t)||t!==this._$AH&&t!==xe,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=je(this,l[n+d],o,d),p===xe&&(p=this._$AH[d]),s||=!Xr(p)||p!==this._$AH[d],p===G?t=G:t!==G&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ho=class extends Ve{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===G?void 0:t}},zo=class extends Ve{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},jo=class extends Ve{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=je(this,t,o,0)??G)===xe)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Vo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){je(this,t)}},rp={j:Un,P:le,A:Mn,C:1,M:Fs,L:Wo,R:Ds,V:je,D:ur,I:Ve,H:zo,N:jo,U:Ho,B:Vo},op=Bn.litHtmlPolyfillSupport;op?.(Jr,ur),(Bn.litHtmlVersions??=[]).push("3.1.0");var Fn=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new ur(t.insertBefore(Yr(),a),a,void 0,o??{})}return i._$AI(e),i};var ce=class extends Jt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Fn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xe}};ce._$litElement$=!0,ce.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ce});var np=globalThis.litElementPolyfillSupport;np?.({LitElement:ce});var ip={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Uf=!1;var Hn={};q(Hn,{customElement:()=>ap,eventOptions:()=>fr,property:()=>E,query:()=>J,queryAll:()=>cp,queryAssignedElements:()=>pp,queryAssignedNodes:()=>Ge,queryAsync:()=>dp,standardProperty:()=>Ws,state:()=>yt});var ap=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var sp={attribute:!0,type:String,converter:Wr,reflect:!1,hasChanged:_o},Ws=(e=sp,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function E(e){return(t,o)=>typeof o=="object"?Ws(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function yt(e){return E({...e,state:!0,attribute:!1})}function fr(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var zt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function J(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return zt(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return zt(o,n,{get(){return a(this)}})}}var lp;function cp(e){return(t,o)=>zt(t,o,{get(){return(this.renderRoot??(lp??=document.createDocumentFragment())).querySelectorAll(e)}})}function dp(e){return(t,o)=>zt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function pp(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return zt(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Ge(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return zt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var zn={};q(zn,{repeat:()=>Ko});var ve={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Se=e=>(...t)=>({_$litDirective$:e,values:t}),Qt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:up}=ws;var Hs=()=>document.createComment(""),hr=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Hs(),i),s=n.insertBefore(Hs(),i);o=new up(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||l){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},Ce=(e,t,o=e)=>(e._$AI(t,o),e),fp={},zs=(e,t=fp)=>e._$AH=t,js=e=>e._$AH,Go=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var Vs=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Ko=Se(class extends Qt{constructor(e){if(super(e),e.type!==ve.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=js(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],d=[],p,h,f=0,y=i.length-1,b=0,x=a.length-1;for(;f<=y&&b<=x;)if(i[f]===null)f++;else if(i[y]===null)y--;else if(l[f]===s[b])d[b]=Ce(i[f],a[b]),f++,b++;else if(l[y]===s[x])d[x]=Ce(i[y],a[x]),y--,x--;else if(l[f]===s[x])d[x]=Ce(i[f],a[x]),hr(e,d[x+1],i[f]),f++,x--;else if(l[y]===s[b])d[b]=Ce(i[y],a[b]),hr(e,i[f],i[y]),y--,b++;else if(p===void 0&&(p=Vs(s,b,x),h=Vs(l,f,y)),p.has(l[f]))if(p.has(l[y])){let C=h.get(s[b]),_=C!==void 0?i[C]:null;if(_===null){let N=hr(e,i[f]);Ce(N,a[b]),d[b]=N}else d[b]=Ce(_,a[b]),hr(e,i[f],_),i[C]=null;b++}else Go(i[y]),y--;else Go(i[f]),f++;for(;b<=x;){let C=hr(e,d[x+1]);Ce(C,a[b]),d[b++]=C}for(;f<=y;){let C=i[f++];C!==null&&Go(C)}return this.dt=s,zs(e,d),Lt}});var jn={};q(jn,{classMap:()=>vt});var vt=Se(class extends Qt{constructor(e){if(super(e),e.type!==ve.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return Lt}});var Vn={};q(Vn,{styleMap:()=>yp});var Gs="important",hp=" !"+Gs,yp=Se(class extends Qt{constructor(e){if(super(e),e.type!==ve.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(hp);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Gs:""):o[n]=i}}return Lt}});var Kn={};q(Kn,{UnsafeHTMLDirective:()=>yr,unsafeHTML:()=>Gn});var yr=class extends Qt{constructor(t){if(super(t),this.et=it,t.type!==ve.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||t==null)return this.vt=void 0,this.et=t;if(t===Lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};yr.directiveName="unsafeHTML",yr.resultType=1;var Gn=Se(yr);var ti={};q(ti,{CacheRegistry:()=>te,ClearCacheEvent:()=>to});var qn={};q(qn,{CancelablePromise:()=>mr,CanceledPromiseError:()=>Qr,cancelable:()=>Zn});var Qr=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},mr=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Qr("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Qr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Zn=e=>new mr((t,o)=>e.then(t).catch(o));var Qn={};q(Qn,{FtNotificationEvent:()=>Yn,PostResizeEvent:()=>Jn,PreResizeEvent:()=>Xn,WithEventBus:()=>Ke,withEventBus:()=>Ks});var Yn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Xn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Jn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ks(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}var Ke=class extends Ks(Object){};var to=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},te=class extends Ke{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new to(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new to([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof mr&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Zn(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ri={};q(ri,{ClusteringHelper:()=>ei});var ei=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t){var o,n,i,a,s;let l=((a=(n=(o=t.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=t.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(l,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(l.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(l.join(" > ")),o&&o>1&&l.length>=o?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(t))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>e.extractResultMetadata({result:f,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:t,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,y,b)=>b.findIndex(x=>x.value===f.value)===y).map(f=>({result:this.findBestResultForMetadataValue(t,f.value),metadata:f})).sort((f,y)=>this.compareMetadata(f.metadata.value,y.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var p;return((p=e.extractResultMetadata({result:d,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var oi={};q(oi,{Debouncer:()=>Pt});var Pt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ai={};q(ai,{customElement:()=>X,isNumber:()=>Xs,jsonProperty:()=>ee,optionalNumberProperty:()=>Sp});var ii={};q(ii,{dateReviver:()=>gp,deepEqual:()=>jt,delay:()=>Zo,eventPathContainsMatchingElement:()=>xp,flatDeep:()=>qs,getComposedPathTo:()=>ni,hasChanged:()=>Ze,last:()=>vp,minmax:()=>eo,parseDate:()=>Ys,unslotText:()=>Oe,waitFor:()=>Zs,waitUntil:()=>mp});var Zo=e=>new Promise(t=>setTimeout(t,e));async function mp(e,t=10,o=2e4){await Zs(async()=>await e()||void 0,t,o)}async function Zs(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Zo(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function qs(e,t){return e.flatMap(o=>[o,...qs(t(o),t)])}function gp(...e){return function(t,o){return e.includes(t)?Ys(o):o}}function Ys(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function bp(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!jt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!jt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(i=a(e),o=i.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!jt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function jt(e,t){try{return bp(e,t)}catch{return!1}}function Ze(e,t){return!jt(e,t)}function xp(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function eo(e,t,o){return Math.min(Math.max(e,t),o)}function vp(e){return e[e.length-1]}function Oe(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Oe(t)).join(""):e?.textContent||""}function ni(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function ee(e,t){let o=()=>JSON.parse(JSON.stringify(e));return E({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ze,...t??{}})}function Sp(e){return E({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Xs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Xs(e){return!isNaN(parseFloat(e))}var ki={};q(ki,{designSystemVariables:()=>K});var $i={};q($i,{DesignSystemFamily:()=>St,DesignSystemSize:()=>Q,FtCssVariableFactory:()=>r,badge:()=>wp,banner:()=>Ep,button:()=>g,chart:()=>Bp,checkbox:()=>Fp,chip:()=>j,chipChoice:()=>Op,collapsible:()=>kp,comboboxMultiSelect:()=>$p,comboboxSingleSelect:()=>Ip,drawer:()=>_p,floatingMenu:()=>Pp,foundation:()=>c,link:()=>ut,modal:()=>Rp,notice:()=>Mp,notification:()=>zp,pageDesigner:()=>Up,pageFooter:()=>pe,pageHeader:()=>at,pageLayout:()=>Ap,popover:()=>wt,radio:()=>Hp,reorderableList:()=>Vp,resolveFamilyClass:()=>Pi,resolveSizeClass:()=>Ii,semantic:()=>u,setVariable:()=>w,switch_:()=>Dp,tabs:()=>Np,textArea:()=>Lp,textInput:()=>Tp,titleBreadcrumb:()=>gr,toggle:()=>Wp,tooltip:()=>jp,typographies:()=>Ee,typographyBody1Medium:()=>ui,typographyBody1Regular:()=>pi,typographyBody1Semibold:()=>fi,typographyBody2Medium:()=>yi,typographyBody2MediumUnderline:()=>Js,typographyBody2Regular:()=>hi,typographyBody2Semibold:()=>mi,typographyCaption1Bold:()=>wi,typographyCaption1Medium:()=>Oi,typographyCaption1Semibold:()=>Ei,typographyCaption2Bold:()=>_i,typographyCaption2Medium:()=>Ai,typographyCaption2Semibold:()=>Ri,typographyCaption3Bold:()=>Li,typographyCaption3Medium:()=>Ni,typographyCaption3Semibold:()=>Ti,typographyDisplay:()=>si,typographyLabel1Bold:()=>xi,typographyLabel1Medium:()=>gi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Ci,typographyLabel2Medium:()=>vi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>li,typographyTitle2:()=>ci,typographyTitle3:()=>di,typographyVariants:()=>Cp});var de=e=>typeof e=="string"?se(e):e,r=class{static create(t,o,n,i){let a=l=>de(l??i),s=$`var(${de(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>$`var(${de(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=$`var(${de(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>$`var(${de(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):de(a??t.lastResortDefaultValue()),i=$`var(${de(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>$`var(${de(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function w(e,t){return de(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-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)")},si={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},yi={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Js={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},mi={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},gi={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ti={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ee={display:si,"title-1":li,"title-2":ci,"title-3":di,"body-1-regular":pi,"body-1-medium":ui,"body-1-semibold":fi,"body-2-regular":hi,"body-2-medium":yi,"body-2-medium-underline":Js,"body-2-semibold":mi,"label-1-medium":gi,"label-1-semibold":bi,"label-1-bold":xi,"label-2-medium":vi,"label-2-semibold":Si,"label-2-bold":Ci,"caption-1-medium":Oi,"caption-1-semibold":Ei,"caption-1-bold":wi,"caption-2-medium":Ai,"caption-2-semibold":Ri,"caption-2-bold":_i,"caption-3-medium":Ni,"caption-3-semibold":Ti,"caption-3-bold":Li},Cp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Op={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var j={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ut={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Ep={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var wp={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var gr={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var at={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var pe={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Ap={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Rp={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var _p={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Np={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Tp={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Lp={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Pp={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Ip={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var $p={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var wt={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var kp={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Dp={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Bp={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Up={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Mp={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var Fp={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var Wp={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var Hp={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var zp={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var jp={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Vp={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var St;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(St||(St={}));var Q;(function(e){e.large="large",e.medium="medium",e.small="small"})(Q||(Q={}));function Pi(e){return`ftds--family-${e}`}function Ii(e){return`ftds--size-${e}`}var K={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","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:r.create("--ft-elevation-01","","UNKNOWN","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:r.create("--ft-elevation-02","","UNKNOWN","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:r.create("--ft-elevation-03","","UNKNOWN","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:r.create("--ft-elevation-04","","UNKNOWN","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:r.create("--ft-elevation-06","","UNKNOWN","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:r.create("--ft-elevation-08","","UNKNOWN","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:r.create("--ft-elevation-12","","UNKNOWN","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:r.create("--ft-elevation-16","","UNKNOWN","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:r.create("--ft-elevation-24","","UNKNOWN","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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ji={};q(Ji,{computeFlipOffsetPosition:()=>Xi,computeOffsetPosition:()=>Yi});var tl=["top","right","bottom","left"],Qs=["start","end"],Di=tl.reduce((e,t)=>e.concat(t,t+"-"+Qs[0],t+"-"+Qs[1]),[]),qe=Math.min,At=Math.max,no=Math.round;var ue=e=>({x:e,y:e}),Gp={left:"right",right:"left",bottom:"top",top:"bottom"},Kp={start:"end",end:"start"};function Bi(e,t,o){return At(e,qe(t,o))}function Ye(e,t){return typeof e=="function"?e(t):e}function Vt(e){return e.split("-")[0]}function Gt(e){return e.split("-")[1]}function Ui(e){return e==="x"?"y":"x"}function Mi(e){return e==="y"?"height":"width"}function br(e){return["top","bottom"].includes(Vt(e))?"y":"x"}function Fi(e){return Ui(br(e))}function Wi(e,t,o){o===void 0&&(o=!1);let n=Gt(e),i=Fi(e),a=Mi(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=oo(s)),[s,oo(s)]}function el(e){let t=oo(e);return[ro(e),t,ro(t)]}function ro(e){return e.replace(/start|end/g,t=>Kp[t])}function Zp(e,t,o){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:n:t?n:i;case"left":case"right":return t?a:s;default:return[]}}function rl(e,t,o,n){let i=Gt(e),a=Zp(Vt(e),o==="start",n);return i&&(a=a.map(s=>s+"-"+i),t&&(a=a.concat(a.map(ro)))),a}function oo(e){return e.replace(/left|right|bottom|top/g,t=>Gp[t])}function qp(e){return{top:0,right:0,bottom:0,left:0,...e}}function ol(e){return typeof e!="number"?qp(e):{top:e,right:e,bottom:e,left:e}}function Xe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function nl(e,t,o){let{reference:n,floating:i}=e,a=br(t),s=Fi(t),l=Mi(s),d=Vt(t),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}switch(Gt(t)){case"start":b[s]-=y*(o&&p?-1:1);break;case"end":b[s]+=y*(o&&p?-1:1);break}return b}var il=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:f}=nl(p,n,d),y=n,b={},x=0;for(let C=0;C<l.length;C++){let{name:_,fn:N}=l[C],{x:L,y:O,data:v,reset:A}=await N({x:h,y:f,initialPlacement:n,placement:y,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(h=L??h,f=O??f,b={...b,[_]:{...b[_],...v}},A&&x<=50){x++,typeof A=="object"&&(A.placement&&(y=A.placement),A.rects&&(p=A.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):A.rects),{x:h,y:f}=nl(p,y,d)),C=-1;continue}}return{x:h,y:f,placement:y,strategy:i,middlewareData:b}};async function io(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:b=0}=Ye(t,e),x=ol(b),_=l[y?f==="floating"?"reference":"floating":f],N=Xe(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(_)))==null||o?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),L=f==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),v=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},A=Xe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:O,strategy:d}):L);return{top:(N.top-A.top+x.top)/v.y,bottom:(A.bottom-N.bottom+x.bottom)/v.y,left:(N.left-A.left+x.left)/v.x,right:(A.right-N.right+x.right)/v.x}}function Yp(e,t,o){return(e?[...o.filter(i=>Gt(i)===e),...o.filter(i=>Gt(i)!==e)]:o.filter(i=>Vt(i)===i)).filter(i=>e?Gt(i)===e||(t?ro(i)!==i:!1):!0)}var Hi=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:y=Di,autoAlignment:b=!0,...x}=Ye(e,t),C=f!==void 0||y===Di?Yp(f||null,b,y):y,_=await io(t,x),N=((o=s.autoPlacement)==null?void 0:o.index)||0,L=C[N];if(L==null)return{};let O=Wi(L,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==L)return{reset:{placement:C[0]}};let v=[_[Vt(L)],_[O[0]],_[O[1]]],A=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:v}],P=C[N+1];if(P)return{data:{index:N+1,overflows:A},reset:{placement:P}};let U=A.map(k=>{let m=Gt(k.placement);return[k.placement,m&&h?k.overflows.slice(0,2).reduce((S,I)=>S+I,0):k.overflows[0],k.overflows]}).sort((k,m)=>k[1]-m[1]),W=((i=U.filter(k=>k[2].slice(0,Gt(k[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||U[0][0];return W!==l?{data:{index:N+1,overflows:A},reset:{placement:W}}:{}}}},zi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:p}=t,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:y,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:C=!0,..._}=Ye(e,t);if((o=a.arrow)!=null&&o.alignmentOffset)return{};let N=Vt(i),L=Vt(l)===l,O=await(d.isRTL==null?void 0:d.isRTL(p.floating)),v=y||(L||!C?[oo(l)]:el(l));!y&&x!=="none"&&v.push(...rl(l,C,x,O));let A=[l,...v],P=await io(t,_),U=[],H=((n=a.flip)==null?void 0:n.overflows)||[];if(h&&U.push(P[N]),f){let S=Wi(i,s,O);U.push(P[S[0]],P[S[1]])}if(H=[...H,{placement:i,overflows:U}],!U.every(S=>S<=0)){var W,k;let S=(((W=a.flip)==null?void 0:W.index)||0)+1,I=A[S];if(I)return{data:{index:S,overflows:H},reset:{placement:I}};let z=(k=H.filter(V=>V.overflows[0]<=0).sort((V,M)=>V.overflows[1]-M.overflows[1])[0])==null?void 0:k.placement;if(!z)switch(b){case"bestFit":{var m;let V=(m=H.map(M=>[M.placement,M.overflows.filter(Xt=>Xt>0).reduce((Xt,Mr)=>Xt+Mr,0)]).sort((M,Xt)=>M[1]-Xt[1])[0])==null?void 0:m[0];V&&(z=V);break}case"initialPlacement":z=l;break}if(i!==z)return{reset:{placement:z}}}return{}}}};async function Xp(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Vt(o),l=Gt(o),d=br(o)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=Ye(t,e),{mainAxis:y,crossAxis:b,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof x=="number"&&(b=l==="end"?x*-1:x),d?{x:b*h,y:y*p}:{x:y*p,y:b*h}}var ji=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=t,d=await Xp(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Vi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:N,y:L}=_;return{x:N,y:L}}},...d}=Ye(e,t),p={x:o,y:n},h=await io(t,d),f=br(Vt(i)),y=Ui(f),b=p[y],x=p[f];if(a){let _=y==="y"?"top":"left",N=y==="y"?"bottom":"right",L=b+h[_],O=b-h[N];b=Bi(L,b,O)}if(s){let _=f==="y"?"top":"left",N=f==="y"?"bottom":"right",L=x+h[_],O=x-h[N];x=Bi(L,x,O)}let C=l.fn({...t,[y]:b,[f]:x});return{...C,data:{x:C.x-o,y:C.y-n}}}}};var Gi=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:o,rects:n,platform:i,elements:a}=t,{apply:s=()=>{},...l}=Ye(e,t),d=await io(t,l),p=Vt(o),h=Gt(o),f=br(o)==="y",{width:y,height:b}=n.floating,x,C;p==="top"||p==="bottom"?(x=p,C=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(C=p,x=h==="end"?"top":"bottom");let _=b-d[x],N=y-d[C],L=!t.middlewareData.shift,O=_,v=N;if(f){let P=y-d.left-d.right;v=h||L?qe(N,P):P}else{let P=b-d.top-d.bottom;O=h||L?qe(_,P):P}if(L&&!h){let P=At(d.left,0),U=At(d.right,0),H=At(d.top,0),W=At(d.bottom,0);f?v=y-2*(P!==0||U!==0?P+U:At(d.left,d.right)):O=b-2*(H!==0||W!==0?H+W:At(d.top,d.bottom))}await s({...t,availableWidth:v,availableHeight:O});let A=await i.getDimensions(a.floating);return y!==A.width||b!==A.height?{reset:{rects:!0}}:{}}}};function fe(e){return sl(e)?(e.nodeName||"").toLowerCase():"#document"}function Rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function he(e){var t;return(t=(sl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sl(e){return e instanceof Node||e instanceof Rt(e).Node}function re(e){return e instanceof Element||e instanceof Rt(e).Element}function Kt(e){return e instanceof HTMLElement||e instanceof Rt(e).HTMLElement}function al(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Rt(e).ShadowRoot}function xr(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=It(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function ll(e){return["table","td","th"].includes(fe(e))}function Yo(e){let t=Xo(),o=It(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function cl(e){let t=Je(e);for(;Kt(t)&&!ao(t);){if(Yo(t))return t;t=Je(t)}return null}function Xo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ao(e){return["html","body","#document"].includes(fe(e))}function It(e){return Rt(e).getComputedStyle(e)}function so(e){return re(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Je(e){if(fe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||al(e)&&e.host||he(e);return al(t)?t.host:t}function dl(e){let t=Je(e);return ao(t)?e.ownerDocument?e.ownerDocument.body:e.body:Kt(t)&&xr(t)?t:dl(t)}function qo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=dl(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=Rt(i);return a?t.concat(s,s.visualViewport||[],xr(i)?i:[],s.frameElement&&o?qo(s.frameElement):[]):t.concat(i,qo(i,[],o))}function fl(e){let t=It(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Kt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=no(o)!==a||no(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function hl(e){return re(e)?e:e.contextElement}function vr(e){let t=hl(e);if(!Kt(t))return ue(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=fl(t),s=(a?no(o.width):o.width)/n,l=(a?no(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Jp=ue(0);function yl(e){let t=Rt(e);return!Xo()||!t.visualViewport?Jp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qp(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Rt(e)?!1:t}function lo(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=hl(e),s=ue(1);t&&(n?re(n)&&(s=vr(n)):s=vr(e));let l=Qp(a,o,n)?yl(a):ue(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let y=Rt(a),b=n&&re(n)?Rt(n):n,x=y.frameElement;for(;x&&n&&b!==y;){let C=vr(x),_=x.getBoundingClientRect(),N=It(x),L=_.left+(x.clientLeft+parseFloat(N.paddingLeft))*C.x,O=_.top+(x.clientTop+parseFloat(N.paddingTop))*C.y;d*=C.x,p*=C.y,h*=C.x,f*=C.y,d+=L,p+=O,x=Rt(x).frameElement}}return Xe({width:h,height:f,x:d,y:p})}function tu(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Kt(o),a=he(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=ue(1),d=ue(0);if((i||!i&&n!=="fixed")&&((fe(o)!=="body"||xr(a))&&(s=so(o)),Kt(o))){let p=lo(o);l=vr(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function eu(e){return Array.from(e.getClientRects())}function ml(e){return lo(he(e)).left+so(e).scrollLeft}function ru(e){let t=he(e),o=so(e),n=e.ownerDocument.body,i=At(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=At(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+ml(e),l=-o.scrollTop;return It(n).direction==="rtl"&&(s+=At(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function ou(e,t){let o=Rt(e),n=he(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=Xo();(!p||p&&t==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function nu(e,t){let o=lo(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Kt(e)?vr(e):ue(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function pl(e,t,o){let n;if(t==="viewport")n=ou(e,o);else if(t==="document")n=ru(he(e));else if(re(t))n=nu(t,o);else{let i=yl(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return Xe(n)}function gl(e,t){let o=Je(e);return o===t||!re(o)||ao(o)?!1:It(o).position==="fixed"||gl(o,t)}function iu(e,t){let o=t.get(e);if(o)return o;let n=qo(e,[],!1).filter(l=>re(l)&&fe(l)!=="body"),i=null,a=It(e).position==="fixed",s=a?Je(e):e;for(;re(s)&&!ao(s);){let l=It(s),d=Yo(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||xr(s)&&!d&&gl(e,s))?n=n.filter(h=>h!==s):i=l,s=Je(s)}return t.set(e,n),n}function au(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?iu(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,h)=>{let f=pl(t,h,i);return p.top=At(f.top,p.top),p.right=qe(f.right,p.right),p.bottom=qe(f.bottom,p.bottom),p.left=At(f.left,p.left),p},pl(t,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function su(e){return fl(e)}function lu(e,t,o){let n=Kt(t),i=he(t),a=o==="fixed",s=lo(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=ue(0);if(n||!n&&!a)if((fe(t)!=="body"||xr(i))&&(l=so(t)),n){let p=lo(t,!0,a,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else i&&(d.x=ml(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function ul(e,t){return!Kt(e)||It(e).position==="fixed"?null:t?t(e):e.offsetParent}function bl(e,t){let o=Rt(e);if(!Kt(e))return o;let n=ul(e,t);for(;n&&ll(n)&&It(n).position==="static";)n=ul(n,t);return n&&(fe(n)==="html"||fe(n)==="body"&&It(n).position==="static"&&!Yo(n))?o:n||cl(e)||o}var cu=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||bl,a=this.getDimensions;return{reference:lu(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function du(e){return It(e).direction==="rtl"}var Sr={convertOffsetParentRelativeRectToViewportRelativeRect:tu,getDocumentElement:he,getClippingRect:au,getOffsetParent:bl,getElementRects:cu,getClientRects:eu,getDimensions:su,getScale:vr,isElement:re,isRTL:du};var Ki=(e,t,o)=>{let n=new Map,i={platform:Sr,...o},a={...i.platform,_c:n};return il(e,t,{...i,platform:a})};function qi(e){return pu(e)}function Zi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function pu(e){for(let t=e;t;t=Zi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Zi(e);t;t=Zi(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Yi(e,t,o){return Ki(e,t,{platform:{...Sr,getOffsetParent:n=>Sr.getOffsetParent(n,qi)},middleware:[Vi({crossAxis:!0}),Hi({allowedPlacements:[o]})]})}async function Xi(e,t,o,n,i,a,s=4){return Ki(e,t,{placement:o,strategy:i,platform:{...Sr,getOffsetParent:l=>Sr.getOffsetParent(l,qi)},middleware:[ji(s),zi({fallbackPlacements:n}),Gi({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var ea={};q(ea,{FtdsBase:()=>Qe,toFtdsBase:()=>tn});var ta={};q(ta,{FtLitElement:()=>Z});var Qi={};q(Qi,{ScopedRegistryLitElement:()=>co});var Jo=window,uu=Jo.ShadowRoot&&(Jo.ShadyCSS===void 0||Jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,db=Symbol();var xl=(e,t)=>{uu?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Jo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var co=class extends ce{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return xl(n,t.elementStyles),n}};var Qo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ol,vl=Symbol("constructorPrototype"),Sl=Symbol("constructorName"),El=Symbol("exportpartsDebouncer"),Cl=Symbol("dynamicDependenciesLoaded"),Z=class extends co{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ol]=new Pt(5),this[Sl]=this.constructor.name,this[vl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Sl]&&Object.setPrototypeOf(this,this[vl])}connectedCallback(){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 t=this.constructor;t[Cl]||(t[Cl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[El].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,l;let d=y=>y!=null&&y.trim().length>0,p=t.filter(d).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(d).map(C=>C.trim()).forEach(C=>h.add(C))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(y=>p.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Ol=El;Qo([E()],Z.prototype,"exportpartsPrefix",void 0);Qo([ee([])],Z.prototype,"exportpartsPrefixes",void 0);Qo([E()],Z.prototype,"customStylesheet",void 0);Qo([yt()],Z.prototype,"useAdoptedStyleSheets",void 0);var wl=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function tn(e){class t extends e{constructor(){super(...arguments),this.size=Q.medium,this.family=St.neutral}getDesignSystemBaseClasses(){return{[Pi(this.family)]:!0,[Ii(this.size)]:!0}}}return wl([E()],t.prototype,"size",void 0),wl([E()],t.prototype,"family",void 0),t}var Qe=class extends tn(Z){};var Al={};var na={};q(na,{highlightHtml:()=>oa,highlightHtmlColorCssVariable:()=>Rl,highlightHtmlStyles:()=>hu});var tr=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(p=>{e.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,y=>this.checkIframeFilter(p,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(t,b=>d.push(b),i)}),d.push(p);d.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var po=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new tr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=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"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,l=o-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return tr.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),y=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),t.value=f+y,t.nodes.forEach((b,x)=>{x>=l&&(t.nodes[x].start>0&&x!==l&&(t.nodes[x].start-=h),t.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=t.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[s],f),(f,y)=>{t.lastIndex=y,i(f)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,y=>o(y,l,a.value.substring(p,h),d),y=>{n(y,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,b)=>this.opt.filter(b,p,n,f),y=>{f++,n++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=tr.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ra(e){let t=new po(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var fu=ra,Rl=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),hu=$`
|
|
8
8
|
.highlight-html-match {
|
|
9
|
-
background: ${
|
|
9
|
+
background: ${Rl};
|
|
10
10
|
}
|
|
11
|
-
`;function
|
|
11
|
+
`;function oa(e,t,o){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new fu(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var ia={};q(ia,{noTextInputDefaultClearButton:()=>mu,noTextSelect:()=>er,safariEllipsisFix:()=>rr,wordWrap:()=>yu});var er=$`
|
|
12
12
|
.ft-no-text-select {
|
|
13
13
|
-webkit-touch-callout: none;
|
|
14
14
|
-webkit-user-select: none;
|
|
@@ -17,7 +17,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
17
17
|
-ms-user-select: none;
|
|
18
18
|
user-select: none;
|
|
19
19
|
}
|
|
20
|
-
`,
|
|
20
|
+
`,yu=$`
|
|
21
21
|
.ft-word-wrap {
|
|
22
22
|
white-space: normal;
|
|
23
23
|
word-wrap: break-word;
|
|
@@ -29,7 +29,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
29
29
|
-webkit-hyphens: auto;
|
|
30
30
|
hyphens: auto
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,rr=$`
|
|
33
33
|
.ft-safari-ellipsis-fix {
|
|
34
34
|
margin-right: 0;
|
|
35
35
|
|
|
@@ -40,22 +40,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
40
40
|
display: inline-block;
|
|
41
41
|
width: 0;
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,mu=$`
|
|
44
44
|
input::-webkit-search-cancel-button,
|
|
45
45
|
input::-webkit-search-decoration,
|
|
46
46
|
input::-webkit-search-results-button,
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var Al={};var ia={};q(ia,{ParametrizedLabelResolver:()=>co});var co=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...o)}static replaceParameters(t,...o){return o.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Pa={};q(Pa,{FtCommandQueue:()=>po,FtLitElementRedux:()=>Ae,FtReduxStore:()=>nr,ReduxWatcher:()=>cn,clearAllStores:()=>Xf,isFtReduxStore:()=>er,redux:()=>en,reduxEventListener:()=>hf,reduxReactive:()=>uf,watch:()=>Jf});var uf=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},en=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:Ze,attribute:!1,...t};O(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}},hf=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var po=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function er(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Rl,Nl,_l,fo=Symbol("internalReduxEventsUnsubscribers"),we=Symbol("internalStoresUnsubscribers"),rr=Symbol("internalStores"),Ae=class extends Z{constructor(){super(...arguments),this[Rl]=new Map,this[Nl]=new Map,this[_l]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[rr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[rr].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[rr].get(t)}addStore(t,o){var n;o=(n=o??(er(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[rr].set(o,t),this.subscribeToStore(o,t),this.updateFromStores()}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[rr].delete(o)}setupStores(){this.unsubscribeFromStores(),this[rr].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[we].has(t.store):this[we].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[we].set(t,o.subscribe(()=>this.updateFromStores())),this[fo].set(t,[]),er(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.addEventListener(i.eventName,s),this[fo].get(t).push(()=>o.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[we].forEach((t,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(t){var o;this[we].has(t)&&this[we].get(t)(),this[we].delete(t),(o=this[fo].get(t))===null||o===void 0||o.forEach(n=>n()),this[fo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Rl=we,Nl=rr,_l=fo;Ae.reduxProperties=new Map;Ae.reduxReactiveProperties=new Set;Ae.reduxEventListeners=new Map;function Ft(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function he(e){return!!e&&!!e[tt]}function jt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Cf}(e)||Array.isArray(e)||!!e[Bl]||!!(!((t=e.constructor)===null||t===void 0)&&t[Bl])||ha(e)||ya(e))}function or(e,t,o){o===void 0&&(o=!1),Cr(e)===0?(o?Object.keys:Sr)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Cr(e){var t=e[tt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ha(e)?2:ya(e)?3:0}function vr(e,t){return Cr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function yf(e,t){return Cr(e)===2?e.get(t):e[t]}function Dl(e,t,o){var n=Cr(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Ml(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ha(e){return vf&&e instanceof Map}function ya(e){return Sf&&e instanceof Set}function Re(e){return e.o||e.t}function ma(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Wl(e);delete t[tt];for(var o=Sr(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function ga(e,t){return t===void 0&&(t=!1),ba(e)||he(e)||!jt(e)||(Cr(e)>1&&(e.set=e.add=e.clear=e.delete=mf),Object.freeze(e),t&&or(e,function(o,n){return ga(n,!0)},!0)),e}function mf(){Ft(2)}function ba(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function re(e){var t=ua[e];return t||Ft(18,e),t}function gf(e,t){ua[e]||(ua[e]=t)}function da(){return ho}function aa(e,t){t&&(re("Patches"),e.u=[],e.s=[],e.v=t)}function rn(e){pa(e),e.p.forEach(bf),e.p=null}function pa(e){e===ho&&(ho=e.l)}function Ll(e){return ho={p:[],l:ho,h:e,m:!0,_:0}}function bf(e){var t=e[tt];t.i===0||t.i===1?t.j():t.g=!0}function sa(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||re("ES5").S(t,e,n),n?(o[tt].P&&(rn(t),Ft(4)),jt(e)&&(e=on(t,e),t.l||nn(t,e)),t.u&&re("Patches").M(o[tt].t,e,t.u,t.s)):e=on(t,o,[]),rn(t),t.u&&t.v(t.u,t.s),e!==Fl?e:void 0}function on(e,t,o){if(ba(t))return t;var n=t[tt];if(!n)return or(t,function(c,d){return Pl(e,n,t,c,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return nn(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ma(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),or(a,function(c,d){return Pl(e,n,i,c,d,o,s)}),nn(e,i,!1),o&&e.u&&re("Patches").N(n,o,e.u,e.s)}return n.o}function Pl(e,t,o,n,i,a,s){if(he(i)){var c=on(e,i,a&&t&&t.i!==3&&!vr(t.R,n)?a.concat(n):void 0);if(Dl(o,n,c),!he(c))return;e.m=!1}else s&&o.add(i);if(jt(i)&&!ba(i)){if(!e.h.D&&e._<1)return;on(e,i),t&&t.A.l||nn(e,i)}}function nn(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ga(t,o)}function la(e,t){var o=e[tt];return(o?Re(o):e)[t]}function Tl(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Ne(e){e.P||(e.P=!0,e.l&&Ne(e.l))}function ca(e){e.o||(e.o=ma(e.t))}function fa(e,t,o){var n=ha(t)?re("MapSet").F(t,o):ya(t)?re("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:da(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,p=yo;s&&(d=[c],p=uo);var h=Proxy.revocable(d,p),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(t,o):re("ES5").J(t,o);return(o?o.A:da()).p.push(n),n}function xf(e){return he(e)||Ft(22,e),function t(o){if(!jt(o))return o;var n,i=o[tt],a=Cr(o);if(i){if(!i.P&&(i.i<4||!re("ES5").K(i)))return i.t;i.I=!0,n=$l(o,a),i.I=!1}else n=$l(o,a);return or(n,function(s,c){i&&yf(i.t,s)===c||Dl(n,s,t(c))}),a===3?new Set(n):n}(e)}function $l(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ma(e)}function Ul(){function e(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var p=this[tt];return yo.get(p,s)},set:function(p){var h=this[tt];yo.set(h,s,p)}},d}function t(s){for(var c=s.length-1;c>=0;c--){var d=s[c][tt];if(!d.P)switch(d.i){case 5:n(d)&&Ne(d);break;case 4:o(d)&&Ne(d)}}}function o(s){for(var c=s.t,d=s.k,p=Sr(d),h=p.length-1;h>=0;h--){var u=p[h];if(u!==tt){var m=c[u];if(m===void 0&&!vr(c,u))return!0;var b=d[u],x=b&&b[tt];if(x?x.t!==m:!Ml(b,m))return!0}}var C=!!c[tt];return p.length!==Sr(c).length+(C?0:1)}function n(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 p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Ft(3,JSON.stringify(Re(s)))}var a={};gf("ES5",{J:function(s,c){var d=Array.isArray(s),p=function(u,m){if(u){for(var b=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(b,""+x,e(x,!0));return b}var C=Wl(m);delete C[tt];for(var N=Sr(C),L=0;L<N.length;L++){var P=N[L];C[P]=e(P,u||!!C[P].enumerable)}return Object.create(Object.getPrototypeOf(m),C)}(d,s),h={i:d?5:4,A:c?c.A:da(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,tt,{value:h,writable:!0}),p},S:function(s,c,d){d?he(c)&&c[tt].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var u=h[tt];if(u){var m=u.t,b=u.k,x=u.R,C=u.i;if(C===4)or(b,function(S){S!==tt&&(m[S]!==void 0||vr(m,S)?x[S]||p(b[S]):(x[S]=!0,Ne(u)))}),or(m,function(S){b[S]!==void 0||vr(b,S)||(x[S]=!1,Ne(u))});else if(C===5){if(n(u)&&(Ne(u),x.length=!0),b.length<m.length)for(var N=b.length;N<m.length;N++)x[N]=!1;else for(var L=m.length;L<b.length;L++)x[L]=!0;for(var P=Math.min(b.length,m.length),w=0;w<P;w++)b.hasOwnProperty(w)||(x[w]=!0),x[w]===void 0&&p(b[w])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Il,ho,xa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",vf=typeof Map<"u",Sf=typeof Set<"u",kl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Fl=xa?Symbol.for("immer-nothing"):((Il={})["immer-nothing"]=!0,Il),Bl=xa?Symbol.for("immer-draftable"):"__$immer_draftable",tt=xa?Symbol.for("immer-state"):"__$immer_state";var Cf=""+Object.prototype.constructor,Sr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Wl=Object.getOwnPropertyDescriptors||function(e){var t={};return Sr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ua={},yo={get:function(e,t){if(t===tt)return e;var o=Re(e);if(!vr(o,t))return function(i,a,s){var c,d=Tl(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!jt(n)?n:n===la(e.t,t)?(ca(e),e.o[t]=fa(e.A.h,n,e)):n},has:function(e,t){return t in Re(e)},ownKeys:function(e){return Reflect.ownKeys(Re(e))},set:function(e,t,o){var n=Tl(Re(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=la(Re(e),t),a=i?.[tt];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Ml(o,i)&&(o!==void 0||vr(e.t,t)))return!0;ca(e),Ne(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return la(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,ca(e),Ne(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Re(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ft(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ft(12)}},uo={};or(yo,function(e,t){uo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),uo.deleteProperty=function(e,t){return uo.set.call(this,e,t,void 0)},uo.set=function(e,t,o){return yo.set.call(this,e[0],t,o,e[0])};var Of=function(){function e(o){var n=this;this.O=kl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(C){var N=this;C===void 0&&(C=c);for(var L=arguments.length,P=Array(L>1?L-1:0),w=1;w<L;w++)P[w-1]=arguments[w];return d.produce(C,function(S){var A;return(A=a).call.apply(A,[N,S].concat(P))})}}var p;if(typeof a!="function"&&Ft(6),s!==void 0&&typeof s!="function"&&Ft(7),jt(i)){var h=Ll(n),u=fa(n,i,void 0),m=!0;try{p=a(u),m=!1}finally{m?rn(h):pa(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return aa(h,s),sa(C,h)},function(C){throw rn(h),C}):(aa(h,s),sa(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Fl&&(p=void 0),n.D&&ga(p,!0),s){var b=[],x=[];re("Patches").M(i,p,b,x),s(b,x)}return p}Ft(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(p,function(b){return i.apply(void 0,[b].concat(u))})};var s,c,d=n.produce(i,a,function(p,h){s=p,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,c]}):[d,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){jt(o)||Ft(8),he(o)&&(o=xf(o));var n=Ll(this),i=fa(this,o,void 0);return i[tt].C=!0,pa(n),i},t.finishDraft=function(o,n){var i=o&&o[tt],a=i.A;return aa(a,n),sa(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!kl&&Ft(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=re("Patches").$;return he(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),$t=new Of,Ef=$t.produce,Ib=$t.produceWithPatches.bind($t),kb=$t.setAutoFreeze.bind($t),Bb=$t.setUseProxies.bind($t),Db=$t.applyPatches.bind($t),Mb=$t.createDraft.bind($t),Ub=$t.finishDraft.bind($t),an=Ef;function _e(e){"@babel/helpers - typeof";return _e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(e)}function va(e,t){if(_e(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(_e(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Sa(e){var t=va(e,"string");return _e(t)==="symbol"?t:String(t)}function Ca(e,t,o){return t=Sa(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Hl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function sn(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Hl(Object(o),!0).forEach(function(n){Ca(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Ct(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var zl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Oa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ln={INIT:"@@redux/INIT"+Oa(),REPLACE:"@@redux/REPLACE"+Oa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Oa()}};function wf(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ea(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Ct(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Ct(1));return o(Ea)(e,t)}if(typeof e!="function")throw new Error(Ct(2));var i=e,a=t,s=[],c=s,d=!1;function p(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(Ct(3));return a}function u(C){if(typeof C!="function")throw new Error(Ct(4));if(d)throw new Error(Ct(5));var N=!0;return p(),c.push(C),function(){if(N){if(d)throw new Error(Ct(6));N=!1,p();var P=c.indexOf(C);c.splice(P,1),s=null}}}function m(C){if(!wf(C))throw new Error(Ct(7));if(typeof C.type>"u")throw new Error(Ct(8));if(d)throw new Error(Ct(9));try{d=!0,a=i(a,C)}finally{d=!1}for(var N=s=c,L=0;L<N.length;L++){var P=N[L];P()}return C}function b(C){if(typeof C!="function")throw new Error(Ct(10));i=C,m({type:ln.REPLACE})}function x(){var C,N=u;return C={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(Ct(11));function w(){P.next&&P.next(h())}w();var S=N(w);return{unsubscribe:S}}},C[zl]=function(){return this},C}return m({type:ln.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:b},n[zl]=x,n}function Af(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:ln.INIT});if(typeof n>"u")throw new Error(Ct(12));if(typeof o(void 0,{type:ln.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ct(13))})}function Vl(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,c;try{Af(o)}catch(d){c=d}return function(p,h){if(p===void 0&&(p={}),c)throw c;if(0)var u;for(var m=!1,b={},x=0;x<a.length;x++){var C=a[x],N=o[C],L=p[C],P=N(L,h);if(typeof P>"u"){var w=h&&h.type;throw new Error(Ct(14))}b[C]=P,m=m||P!==L}return m=m||a.length!==Object.keys(p).length,m?b:p}}function Or(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function jl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ct(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(d){return d(s)});return a=Or.apply(void 0,c)(i.dispatch),sn(sn({},i),{},{dispatch:a})}}}function Gl(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var Kl=Gl();Kl.withExtraArgument=Gl;var wa=Kl;var Jl=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Rf=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Er=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Nf=Object.defineProperty,_f=Object.defineProperties,Lf=Object.getOwnPropertyDescriptors,Zl=Object.getOwnPropertySymbols,Pf=Object.prototype.hasOwnProperty,Tf=Object.prototype.propertyIsEnumerable,ql=function(e,t,o){return t in e?Nf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Le=function(e,t){for(var o in t||(t={}))Pf.call(t,o)&&ql(e,o,t[o]);if(Zl)for(var n=0,i=Zl(t);n<i.length;n++){var o=i[n];Tf.call(t,o)&&ql(e,o,t[o])}return e},Aa=function(e,t){return _f(e,Lf(t))},$f=function(e,t,o){return new Promise(function(n,i){var a=function(d){try{c(o.next(d))}catch(p){i(p)}},s=function(d){try{c(o.throw(d))}catch(p){i(p)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((o=o.apply(e,t)).next())})};var If=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Or:Or.apply(null,arguments)},ox=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function kf(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Bf=function(e){Jl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Er([void 0],o[0].concat(this)))):new(t.bind.apply(t,Er([void 0],o.concat(this))))},t}(Array),Df=function(e){Jl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Er([void 0],o[0].concat(this)))):new(t.bind.apply(t,Er([void 0],o.concat(this))))},t}(Array);function _a(e){return jt(e)?an(e,function(){}):e}function Mf(e){return typeof e=="boolean"}function Uf(){return function(t){return Ff(t)}}function Ff(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,c=new Bf;if(o&&(Mf(o)?c.push(wa):c.push(wa.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return c}var Ra=!0;function Ql(e){var t=Uf(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,c=o.devTools,d=c===void 0?!0:c,p=o.preloadedState,h=p===void 0?void 0:p,u=o.enhancers,m=u===void 0?void 0:u,b;if(typeof i=="function")b=i;else if(kf(i))b=Vl(i);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 x=s;if(typeof x=="function"&&(x=x(t),!Ra&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ra&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=jl.apply(void 0,x),N=Or;d&&(N=If(Le({trace:!Ra},typeof d=="object"&&d)));var L=new Df(C),P=L;Array.isArray(m)?P=Er([C],m):typeof m=="function"&&(P=m(L));var w=N.apply(void 0,P);return Ea(b,h,w)}function Pe(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Le(Le({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function tc(e){var t={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function Wf(e){return typeof e=="function"}function Hf(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?tc(t):[t,o,n],a=i[0],s=i[1],c=i[2],d;if(Wf(e))d=function(){return _a(e())};else{var p=_a(e);d=function(){return p}}function h(u,m){u===void 0&&(u=d());var b=Er([a[m.type]],s.filter(function(x){var C=x.matcher;return C(m)}).map(function(x){var C=x.reducer;return C}));return b.filter(function(x){return!!x}).length===0&&(b=[c]),b.reduce(function(x,C){if(C)if(he(x)){var N=x,L=C(N,m);return L===void 0?x:L}else{if(jt(x))return an(x,function(P){return C(P,m)});var L=C(x,m);if(L===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return x},u)}return h.getInitialState=d,h}function zf(e,t){return e+"/"+t}function ec(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:_a(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=zf(t,h),b,x;"reducer"in u?(b=u.reducer,x=u.prepare):b=u,a[h]=b,s[m]=b,c[h]=x?Pe(m,x):Pe(m)});function d(){var h=typeof e.extraReducers=="function"?tc(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,b=h[1],x=b===void 0?[]:b,C=h[2],N=C===void 0?void 0:C,L=Le(Le({},m),s);return Hf(o,function(P){for(var w in L)P.addCase(w,L[w]);for(var S=0,A=x;S<A.length;S++){var T=A[S];P.addMatcher(T.matcher,T.reducer)}N&&P.addDefaultCase(N)})}var p;return{name:t,reducer:function(h,u){return p||(p=d()),p(h,u)},actions:c,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Vf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",jf=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Vf[Math.random()*64|0];return t},Gf=["name","message","stack","code"],Na=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Yl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Kf=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Gf;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},sx=function(){function e(t,o,n){var i=Pe(t+"/fulfilled",function(h,u,m,b){return{payload:h,meta:Aa(Le({},b||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=Pe(t+"/pending",function(h,u,m){return{payload:void 0,meta:Aa(Le({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Pe(t+"/rejected",function(h,u,m,b,x){return{payload:b,error:(n&&n.serializeError||Kf)(h||"Rejected"),meta:Aa(Le({},x||{}),{arg:m,requestId:u,rejectedWithValue:!!b,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 p(h){return function(u,m,b){var x=n?.idGenerator?n.idGenerator(h):jf(),C=new d,N,L=!1;function P(S){N=S,C.abort()}var w=function(){return $f(this,null,function(){var S,A,T,M,V,z,k;return Rf(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),M=(S=n?.condition)==null?void 0:S.call(n,h,{getState:m,extra:b}),qf(M)?[4,M]:[3,2];case 1:M=y.sent(),y.label=2;case 2:if(M===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,V=new Promise(function(v,$){return C.signal.addEventListener("abort",function(){return $({name:"AbortError",message:N||"Aborted"})})}),u(a(x,h,(A=n?.getPendingMeta)==null?void 0:A.call(n,{requestId:x,arg:h},{getState:m,extra:b}))),[4,Promise.race([V,Promise.resolve(o(h,{dispatch:u,getState:m,extra:b,requestId:x,signal:C.signal,abort:P,rejectWithValue:function(v,$){return new Na(v,$)},fulfillWithValue:function(v,$){return new Yl(v,$)}})).then(function(v){if(v instanceof Na)throw v;return v instanceof Yl?i(v.payload,x,h,v.meta):i(v,x,h)})])];case 3:return T=y.sent(),[3,5];case 4:return z=y.sent(),T=z instanceof Na?s(null,x,h,z.payload,z.meta):s(z,x,h),[3,5];case 5:return k=n&&!n.dispatchConditionRejection&&s.match(T)&&T.meta.condition,k||u(T),[2,T]}})})}();return Object.assign(w,{abort:P,requestId:x,arg:h,unwrap:function(){return w.then(Zf)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Zf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function qf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var rc="listener",oc="completed",nc="cancelled",lx="task-"+nc,cx="task-"+oc,dx=rc+"-"+nc,px=rc+"-"+oc;var La="listenerMiddleware";var fx=Pe(La+"/add"),ux=Pe(La+"/removeAll"),hx=Pe(La+"/remove");var Xl,yx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Xl||(Xl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Yf=function(e){return function(t){setTimeout(t,e)}},mx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Yf(10);Ul();window.ftReduxStores||(window.ftReduxStores={});var nr=class e extends Ke{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(er(a))return a;if(i==null)return;let s=ec({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Ql({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[i.name]=new e(s,c)}constructor(t,o){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new po;let n=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,a,s)=>{let c=a,d=i[c];return d?(...p)=>{let h=d(...p.map(n));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[c]:n(p)})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Xf(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))er(t)&&t.clear()}var cn=class{constructor(t,o,n){this.store=t,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),o=this.valueSelector(t);Ze(this.lastValue,o)&&(this.callback(o,t),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Jf(e,t,o){return new cn(e,t,o).watch()}var Ia={};q(Ia,{scrollHelper:()=>Qf});var Ta,dn=new Map,$a=class{lock(t,o){if(o){let n=dn.get(o);if(n==null||n===t)return dn.set(o,t),o}}release(t,o){o&&dn.get(o)===t&&dn.delete(o)}findFirstScrollableParent(t){var o;let n,i;for(let a of ni(t)){let s=a,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,i;let a=0;for(;o&&o.offsetParent!==t.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,c=Jr(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,c)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Ta=window.FluidTopicsScrollHelper)!==null&&Ta!==void 0?Ta:new $a;var Qf=window.FluidTopicsScrollHelper;var ka={};q(ka,{shadowQuerySelector:()=>tu,shadowQuerySelectorAll:()=>eu});function tu(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function eu(e,t,...o){let n=[...e.querySelectorAll(t)];for(let i of o)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var Ba={};q(Ba,{SearchPlaceConverter:()=>go,SearchPlaceQueryParams:()=>Y,isSearchPlaceQueryParams:()=>_c,serializeRequest:()=>nu});var ru=Ld(ac(),1);var sc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(sc||(sc={}));var lc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(lc||(lc={}));var cc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(cc||(cc={}));var dc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(dc||(dc={}));var pc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(pc||(pc={}));var fc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(fc||(fc={}));var uc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(uc||(uc={}));var hc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(hc||(hc={}));var yc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(yc||(yc={}));var mc;(function(e){e.ASC="ASC",e.DESC="DESC"})(mc||(mc={}));var gc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(gc||(gc={}));var bc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(bc||(bc={}));var Ec=e=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(e);var xc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(xc||(xc={}));var vc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(vc||(vc={}));var Sc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Sc||(Sc={}));var mo;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(mo||(mo={}));var wc=e=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(e);var Cc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Cc||(Cc={}));var Oc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Oc||(Oc={}));var ut;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(ut||(ut={}));var Ac;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Ac||(Ac={}));var Rc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Rc||(Rc={}));var Dx={[ut.PERSONAL_BOOK_SHARE_USER]:[ut.PERSONAL_BOOK_USER],[ut.HTML_EXPORT_USER]:[ut.PERSONAL_BOOK_USER],[ut.PDF_EXPORT_USER]:[ut.PERSONAL_BOOK_USER],[ut.KHUB_ADMIN]:[ut.CONTENT_PUBLISHER],[ut.ADMIN]:[ut.KHUB_ADMIN,ut.USERS_ADMIN,ut.PORTAL_ADMIN],[ut.DEVELOPER]:[ut.BETA_USER,ut.DEBUG_USER],[ut.GENERATIVE_AI_EXPORT_USER]:[ut.GENERATIVE_AI_USER]};function ou(e){return`"${e}"`}function Nc(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function nu(e,t){return new go(e).serialize(t)}var Y;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(Y||(Y={}));var iu=new Set(Object.values(Y));function _c(e){return iu.has(e)}var go=class{constructor(t,o={},n=20,i=!1,a="en-US"){this.baseUrl=t,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=i,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).toString(),i=o==null||o.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return a.search=n,a.toString()}toURLSearchParams(t,o=!1){var n,i,a,s,c,d,p,h,u,m,b,x;let C=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&C.append(Y.LOCALE,t.contentLocale):C.append(Y.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&C.append(Y.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&C.append(Y.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&C.append(Y.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&C.append(Y.SORT,"last_update");let N=(s=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(N.length>0){let S=N.map(A=>{var T,M;let V=((M=(T=A.valueFilter)===null||T===void 0?void 0:T.values)!==null&&M!==void 0?M:[]).map(z=>this.escapeFilters(z)).map(z=>encodeURIComponent(ou(Nc(z)))).join("_");return`${A.key}~${V}`}).join("*");C.append(Y.VALUE_FILTERS,S)}let L=(d=(c=t.metadataFilters)===null||c===void 0?void 0:c.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(L.length>0){let S=L.map(A=>{var T;return`${A.key}~${(T=A.dateFilter)===null||T===void 0?void 0:T.type.toLowerCase()}`}).join("*");C.append(Y.DATE_FILTERS,S)}let P=(h=(p=t.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&h!==void 0?h:[];if(P.length>0){let S=P.map(A=>{var T,M;return`${A.key}~${(T=A.rangeFilter)===null||T===void 0?void 0:T.from}_${(M=A.rangeFilter)===null||M===void 0?void 0:M.to}`}).join("*");C.append(Y.RANGE_FILTERS,S)}let w=(u=t.otherQueryParams)!==null&&u!==void 0?u:{};for(let S in w)C.append(S,w[S]);return!((m=t.paging)===null||m===void 0)&&m.perPage&&((x=(b=t.paging)===null||b===void 0?void 0:b.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&C.append(Y.PER_PAGE,String(t.paging.perPage)),C}parse(t){var o;let n=t.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(t){var o,n,i,a,s,c,d,p;let h=t.get(Y.LOCALE)==="all"?void 0:t.get(Y.LOCALE),u=((o=t.get(Y.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),m=((n=t.get(Y.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(i=t.get(Y.SCOPE))!==null&&i!==void 0?i:"default",x=+((a=t.get(Y.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),C={};for(let N of t.keys())_c(N)||(C[N]=t.get(N));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(Y.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[b])!==null&&c!==void 0?c:"DEFAULT",virtualField:Ec(u)?u:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:Jr(1,isNaN(x)?this.defaultPerPage:x,1e3)},otherQueryParams:C}}parseCompatFilters(t){var o,n,i,a,s,c;let d=[];return t.has(Y.FILTERS)&&(d=this.parseValueFilters((o=t.get(Y.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(Y.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=t.get(Y.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=t.get(Y.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=t.get(Y.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=t.get(Y.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Nc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:mo[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(n,i);return t}unescapeFilterValue(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replace(i,o);return t}parseLegacyPeriodFilter(t){if(wc(t))return[{key:"ft:lastEdition",dateFilter:{type:mo[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var Ma={};q(Ma,{toFtFormComponent:()=>Da});var un=Symbol("elementInternals");function Da(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[un].form}constructor(...i){super(i),this[un]=this.attachInternals(),this[un].role=t}setFormValue(i){this[un].setFormValue(i)}}return o}var Ua={};q(Ua,{DateFormatter:()=>Ar});var Ar=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var Fa,Wa,Ha,za,ir=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ha=(Wa=(Fa=window.safari)===null||Fa===void 0?void 0:Fa.pushNotification)===null||Wa===void 0?void 0:Wa.toString())!==null&&Ha!==void 0?Ha:"")==="[object SafariRemoteNotification]",au="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(za=window.ftGlobals)!==null&&za!==void 0?za:{lit:Wn,litDecorators:Hn,litRepeat:zn,litClassMap:Vn,litStyleMap:jn,litUnsafeHTML:Kn,wcUtils:{...ti,...qn,...ri,...Ua,...oi,...ai,...ki,...Qn,...Xi,...Ii,...ta,...Qi,...El,...ii,...oa,...na,...Al,...ia,...Pa,...Ji,...Ia,...ka,...Ba,...Ma,isSafari:ir,isTouchScreen:au,setVariable:E}};var Lc=e=>e??it;var Pc={contentVerticalPadding:r.create("--ft-page-layout--content-vertical-padding","","SIZE","24px"),contentHorizontalPadding:r.create("--ft-page-layout--content-horizontal-padding","","SIZE","24px")},Tc=I`
|
|
50
|
+
`;var _l={};var aa={};q(aa,{ParametrizedLabelResolver:()=>uo});var uo=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...o)}static replaceParameters(t,...o){return o.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Pa={};q(Pa,{FtCommandQueue:()=>fo,FtLitElementRedux:()=>Ae,FtReduxStore:()=>ar,ReduxWatcher:()=>cn,clearAllStores:()=>ef,isFtReduxStore:()=>or,redux:()=>en,reduxEventListener:()=>bu,reduxReactive:()=>gu,watch:()=>rf});var gu=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},en=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:Ze,attribute:!1,...t};E(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:l=>l[n],store:t.store})}},bu=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var fo=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function or(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Nl,Tl,Ll,ho=Symbol("internalReduxEventsUnsubscribers"),we=Symbol("internalStoresUnsubscribers"),nr=Symbol("internalStores"),Ae=class extends Z{constructor(){super(...arguments),this[Nl]=new Map,this[Tl]=new Map,this[Ll]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[nr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nr].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[nr].get(t)}addStore(t,o){var n;o=(n=o??(or(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[nr].set(o,t),this.subscribeToStore(o,t),this.updateFromStores()}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[nr].delete(o)}setupStores(){this.unsubscribeFromStores(),this[nr].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[we].has(t.store):this[we].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[we].set(t,o.subscribe(()=>this.updateFromStores())),this[ho].set(t,[]),or(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=l=>this[a](l);o.addEventListener(i.eventName,s),this[ho].get(t).push(()=>o.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[we].forEach((t,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(t){var o;this[we].has(t)&&this[we].get(t)(),this[we].delete(t),(o=this[ho].get(t))===null||o===void 0||o.forEach(n=>n()),this[ho].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Nl=we,Tl=nr,Ll=ho;Ae.reduxProperties=new Map;Ae.reduxReactiveProperties=new Set;Ae.reduxEventListeners=new Map;function Wt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ye(e){return!!e&&!!e[tt]}function Zt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Au}(e)||Array.isArray(e)||!!e[Ul]||!!(!((t=e.constructor)===null||t===void 0)&&t[Ul])||ya(e)||ma(e))}function ir(e,t,o){o===void 0&&(o=!1),Er(e)===0?(o?Object.keys:Or)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Er(e){var t=e[tt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ya(e)?2:ma(e)?3:0}function Cr(e,t){return Er(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function xu(e,t){return Er(e)===2?e.get(t):e[t]}function Ml(e,t,o){var n=Er(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Fl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ya(e){return Eu&&e instanceof Map}function ma(e){return wu&&e instanceof Set}function Re(e){return e.o||e.t}function ga(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=zl(e);delete t[tt];for(var o=Or(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function ba(e,t){return t===void 0&&(t=!1),xa(e)||ye(e)||!Zt(e)||(Er(e)>1&&(e.set=e.add=e.clear=e.delete=vu),Object.freeze(e),t&&ir(e,function(o,n){return ba(n,!0)},!0)),e}function vu(){Wt(2)}function xa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function oe(e){var t=ha[e];return t||Wt(18,e),t}function Su(e,t){ha[e]||(ha[e]=t)}function pa(){return mo}function sa(e,t){t&&(oe("Patches"),e.u=[],e.s=[],e.v=t)}function rn(e){ua(e),e.p.forEach(Cu),e.p=null}function ua(e){e===mo&&(mo=e.l)}function Pl(e){return mo={p:[],l:mo,h:e,m:!0,_:0}}function Cu(e){var t=e[tt];t.i===0||t.i===1?t.j():t.g=!0}function la(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||oe("ES5").S(t,e,n),n?(o[tt].P&&(rn(t),Wt(4)),Zt(e)&&(e=on(t,e),t.l||nn(t,e)),t.u&&oe("Patches").M(o[tt].t,e,t.u,t.s)):e=on(t,o,[]),rn(t),t.u&&t.v(t.u,t.s),e!==Hl?e:void 0}function on(e,t,o){if(xa(t))return t;var n=t[tt];if(!n)return ir(t,function(l,d){return Il(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return nn(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ga(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ir(a,function(l,d){return Il(e,n,i,l,d,o,s)}),nn(e,i,!1),o&&e.u&&oe("Patches").N(n,o,e.u,e.s)}return n.o}function Il(e,t,o,n,i,a,s){if(ye(i)){var l=on(e,i,a&&t&&t.i!==3&&!Cr(t.R,n)?a.concat(n):void 0);if(Ml(o,n,l),!ye(l))return;e.m=!1}else s&&o.add(i);if(Zt(i)&&!xa(i)){if(!e.h.D&&e._<1)return;on(e,i),t&&t.A.l||nn(e,i)}}function nn(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ba(t,o)}function ca(e,t){var o=e[tt];return(o?Re(o):e)[t]}function $l(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function _e(e){e.P||(e.P=!0,e.l&&_e(e.l))}function da(e){e.o||(e.o=ga(e.t))}function fa(e,t,o){var n=ya(t)?oe("MapSet").F(t,o):ma(t)?oe("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:pa(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=go;s&&(d=[l],p=yo);var h=Proxy.revocable(d,p),f=h.revoke,y=h.proxy;return l.k=y,l.j=f,y}(t,o):oe("ES5").J(t,o);return(o?o.A:pa()).p.push(n),n}function Ou(e){return ye(e)||Wt(22,e),function t(o){if(!Zt(o))return o;var n,i=o[tt],a=Er(o);if(i){if(!i.P&&(i.i<4||!oe("ES5").K(i)))return i.t;i.I=!0,n=kl(o,a),i.I=!1}else n=kl(o,a);return ir(n,function(s,l){i&&xu(i.t,s)===l||Ml(n,s,t(l))}),a===3?new Set(n):n}(e)}function kl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ga(e)}function Wl(){function e(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[tt];return go.get(p,s)},set:function(p){var h=this[tt];go.set(h,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][tt];if(!d.P)switch(d.i){case 5:n(d)&&_e(d);break;case 4:o(d)&&_e(d)}}}function o(s){for(var l=s.t,d=s.k,p=Or(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==tt){var y=l[f];if(y===void 0&&!Cr(l,f))return!0;var b=d[f],x=b&&b[tt];if(x?x.t!==y:!Fl(b,y))return!0}}var C=!!l[tt];return p.length!==Or(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Wt(3,JSON.stringify(Re(s)))}var a={};Su("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(f,y){if(f){for(var b=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(b,""+x,e(x,!0));return b}var C=zl(y);delete C[tt];for(var _=Or(C),N=0;N<_.length;N++){var L=_[N];C[L]=e(L,f||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(y),C)}(d,s),h={i:d?5:4,A:l?l.A:pa(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,tt,{value:h,writable:!0}),p},S:function(s,l,d){d?ye(l)&&l[tt].A===s&&t(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[tt];if(f){var y=f.t,b=f.k,x=f.R,C=f.i;if(C===4)ir(b,function(v){v!==tt&&(y[v]!==void 0||Cr(y,v)?x[v]||p(b[v]):(x[v]=!0,_e(f)))}),ir(y,function(v){b[v]!==void 0||Cr(b,v)||(x[v]=!1,_e(f))});else if(C===5){if(n(f)&&(_e(f),x.length=!0),b.length<y.length)for(var _=b.length;_<y.length;_++)x[_]=!1;else for(var N=y.length;N<b.length;N++)x[N]=!0;for(var L=Math.min(b.length,y.length),O=0;O<L;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&p(b[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Dl,mo,va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Eu=typeof Map<"u",wu=typeof Set<"u",Bl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Hl=va?Symbol.for("immer-nothing"):((Dl={})["immer-nothing"]=!0,Dl),Ul=va?Symbol.for("immer-draftable"):"__$immer_draftable",tt=va?Symbol.for("immer-state"):"__$immer_state";var Au=""+Object.prototype.constructor,Or=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,zl=Object.getOwnPropertyDescriptors||function(e){var t={};return Or(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ha={},go={get:function(e,t){if(t===tt)return e;var o=Re(e);if(!Cr(o,t))return function(i,a,s){var l,d=$l(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Zt(n)?n:n===ca(e.t,t)?(da(e),e.o[t]=fa(e.A.h,n,e)):n},has:function(e,t){return t in Re(e)},ownKeys:function(e){return Reflect.ownKeys(Re(e))},set:function(e,t,o){var n=$l(Re(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=ca(Re(e),t),a=i?.[tt];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Fl(o,i)&&(o!==void 0||Cr(e.t,t)))return!0;da(e),_e(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return ca(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,da(e),_e(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Re(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Wt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Wt(12)}},yo={};ir(go,function(e,t){yo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),yo.deleteProperty=function(e,t){return yo.set.call(this,e,t,void 0)},yo.set=function(e,t,o){return go.set.call(this,e[0],t,o,e[0])};var Ru=function(){function e(o){var n=this;this.O=Bl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(C){var _=this;C===void 0&&(C=l);for(var N=arguments.length,L=Array(N>1?N-1:0),O=1;O<N;O++)L[O-1]=arguments[O];return d.produce(C,function(v){var A;return(A=a).call.apply(A,[_,v].concat(L))})}}var p;if(typeof a!="function"&&Wt(6),s!==void 0&&typeof s!="function"&&Wt(7),Zt(i)){var h=Pl(n),f=fa(n,i,void 0),y=!0;try{p=a(f),y=!1}finally{y?rn(h):ua(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return sa(h,s),la(C,h)},function(C){throw rn(h),C}):(sa(h,s),la(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Hl&&(p=void 0),n.D&&ba(p,!0),s){var b=[],x=[];oe("Patches").M(i,p,b,x),s(b,x)}return p}Wt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),y=1;y<h;y++)f[y-1]=arguments[y];return n.produceWithPatches(p,function(b){return i.apply(void 0,[b].concat(f))})};var s,l,d=n.produce(i,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Zt(o)||Wt(8),ye(o)&&(o=Ou(o));var n=Pl(this),i=fa(this,o,void 0);return i[tt].C=!0,ua(n),i},t.finishDraft=function(o,n){var i=o&&o[tt],a=i.A;return sa(a,n),la(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Bl&&Wt(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=oe("Patches").$;return ye(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),$t=new Ru,_u=$t.produce,Ub=$t.produceWithPatches.bind($t),Mb=$t.setAutoFreeze.bind($t),Fb=$t.setUseProxies.bind($t),Wb=$t.applyPatches.bind($t),Hb=$t.createDraft.bind($t),zb=$t.finishDraft.bind($t),an=_u;function Ne(e){"@babel/helpers - typeof";return Ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ne(e)}function Sa(e,t){if(Ne(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Ne(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ca(e){var t=Sa(e,"string");return Ne(t)==="symbol"?t:String(t)}function Oa(e,t,o){return t=Ca(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function jl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function sn(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?jl(Object(o),!0).forEach(function(n){Oa(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Ct(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Vl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ea=function(){return Math.random().toString(36).substring(7).split("").join(".")},ln={INIT:"@@redux/INIT"+Ea(),REPLACE:"@@redux/REPLACE"+Ea(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ea()}};function Nu(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function wa(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Ct(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Ct(1));return o(wa)(e,t)}if(typeof e!="function")throw new Error(Ct(2));var i=e,a=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Ct(3));return a}function f(C){if(typeof C!="function")throw new Error(Ct(4));if(d)throw new Error(Ct(5));var _=!0;return p(),l.push(C),function(){if(_){if(d)throw new Error(Ct(6));_=!1,p();var L=l.indexOf(C);l.splice(L,1),s=null}}}function y(C){if(!Nu(C))throw new Error(Ct(7));if(typeof C.type>"u")throw new Error(Ct(8));if(d)throw new Error(Ct(9));try{d=!0,a=i(a,C)}finally{d=!1}for(var _=s=l,N=0;N<_.length;N++){var L=_[N];L()}return C}function b(C){if(typeof C!="function")throw new Error(Ct(10));i=C,y({type:ln.REPLACE})}function x(){var C,_=f;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Ct(11));function O(){L.next&&L.next(h())}O();var v=_(O);return{unsubscribe:v}}},C[Vl]=function(){return this},C}return y({type:ln.INIT}),n={dispatch:y,subscribe:f,getState:h,replaceReducer:b},n[Vl]=x,n}function Tu(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:ln.INIT});if(typeof n>"u")throw new Error(Ct(12));if(typeof o(void 0,{type:ln.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ct(13))})}function Gl(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,l;try{Tu(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var y=!1,b={},x=0;x<a.length;x++){var C=a[x],_=o[C],N=p[C],L=_(N,h);if(typeof L>"u"){var O=h&&h.type;throw new Error(Ct(14))}b[C]=L,y=y||L!==N}return y=y||a.length!==Object.keys(p).length,y?b:p}}function wr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Kl(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ct(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return a=wr.apply(void 0,l)(i.dispatch),sn(sn({},i),{},{dispatch:a})}}}function Zl(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var ql=Zl();ql.withExtraArgument=Zl;var Aa=ql;var tc=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Lu=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ar=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Pu=Object.defineProperty,Iu=Object.defineProperties,$u=Object.getOwnPropertyDescriptors,Yl=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,Du=Object.prototype.propertyIsEnumerable,Xl=function(e,t,o){return t in e?Pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Te=function(e,t){for(var o in t||(t={}))ku.call(t,o)&&Xl(e,o,t[o]);if(Yl)for(var n=0,i=Yl(t);n<i.length;n++){var o=i[n];Du.call(t,o)&&Xl(e,o,t[o])}return e},Ra=function(e,t){return Iu(e,$u(t))},Bu=function(e,t,o){return new Promise(function(n,i){var a=function(d){try{l(o.next(d))}catch(p){i(p)}},s=function(d){try{l(o.throw(d))}catch(p){i(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(e,t)).next())})};var Uu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?wr:wr.apply(null,arguments)},sx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Mu(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Fu=function(e){tc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ar([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ar([void 0],o.concat(this))))},t}(Array),Wu=function(e){tc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ar([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ar([void 0],o.concat(this))))},t}(Array);function Ta(e){return Zt(e)?an(e,function(){}):e}function Hu(e){return typeof e=="boolean"}function zu(){return function(t){return ju(t)}}function ju(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,l=new Fu;if(o&&(Hu(o)?l.push(Aa):l.push(Aa.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}var _a=!0;function ec(e){var t=zu(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,y=f===void 0?void 0:f,b;if(typeof i=="function")b=i;else if(Mu(i))b=Gl(i);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 x=s;if(typeof x=="function"&&(x=x(t),!_a&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!_a&&x.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Kl.apply(void 0,x),_=wr;d&&(_=Uu(Te({trace:!_a},typeof d=="object"&&d)));var N=new Wu(C),L=N;Array.isArray(y)?L=Ar([C],y):typeof y=="function"&&(L=y(N));var O=_.apply(void 0,L);return wa(b,h,O)}function Le(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Te(Te({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function rc(e){var t={},o=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function Vu(e){return typeof e=="function"}function Gu(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?rc(t):[t,o,n],a=i[0],s=i[1],l=i[2],d;if(Vu(e))d=function(){return Ta(e())};else{var p=Ta(e);d=function(){return p}}function h(f,y){f===void 0&&(f=d());var b=Ar([a[y.type]],s.filter(function(x){var C=x.matcher;return C(y)}).map(function(x){var C=x.reducer;return C}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,C){if(C)if(ye(x)){var _=x,N=C(_,y);return N===void 0?x:N}else{if(Zt(x))return an(x,function(L){return C(L,y)});var N=C(x,y);if(N===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return x},f)}return h.getInitialState=d,h}function Ku(e,t){return e+"/"+t}function oc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Ta(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var f=n[h],y=Ku(t,h),b,x;"reducer"in f?(b=f.reducer,x=f.prepare):b=f,a[h]=b,s[y]=b,l[h]=x?Le(y,x):Le(y)});function d(){var h=typeof e.extraReducers=="function"?rc(e.extraReducers):[e.extraReducers],f=h[0],y=f===void 0?{}:f,b=h[1],x=b===void 0?[]:b,C=h[2],_=C===void 0?void 0:C,N=Te(Te({},y),s);return Gu(o,function(L){for(var O in N)L.addCase(O,N[O]);for(var v=0,A=x;v<A.length;v++){var P=A[v];L.addMatcher(P.matcher,P.reducer)}_&&L.addDefaultCase(_)})}var p;return{name:t,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var Zu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",qu=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Zu[Math.random()*64|0];return t},Yu=["name","message","stack","code"],Na=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Jl=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Xu=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Yu;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},px=function(){function e(t,o,n){var i=Le(t+"/fulfilled",function(h,f,y,b){return{payload:h,meta:Ra(Te({},b||{}),{arg:y,requestId:f,requestStatus:"fulfilled"})}}),a=Le(t+"/pending",function(h,f,y){return{payload:void 0,meta:Ra(Te({},y||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Le(t+"/rejected",function(h,f,y,b,x){return{payload:b,error:(n&&n.serializeError||Xu)(h||"Rejected"),meta:Ra(Te({},x||{}),{arg:y,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!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 p(h){return function(f,y,b){var x=n?.idGenerator?n.idGenerator(h):qu(),C=new d,_,N=!1;function L(v){_=v,C.abort()}var O=function(){return Bu(this,null,function(){var v,A,P,U,H,W,k;return Lu(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),U=(v=n?.condition)==null?void 0:v.call(n,h,{getState:y,extra:b}),Qu(U)?[4,U]:[3,2];case 1:U=m.sent(),m.label=2;case 2:if(U===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,H=new Promise(function(S,I){return C.signal.addEventListener("abort",function(){return I({name:"AbortError",message:_||"Aborted"})})}),f(a(x,h,(A=n?.getPendingMeta)==null?void 0:A.call(n,{requestId:x,arg:h},{getState:y,extra:b}))),[4,Promise.race([H,Promise.resolve(o(h,{dispatch:f,getState:y,extra:b,requestId:x,signal:C.signal,abort:L,rejectWithValue:function(S,I){return new Na(S,I)},fulfillWithValue:function(S,I){return new Jl(S,I)}})).then(function(S){if(S instanceof Na)throw S;return S instanceof Jl?i(S.payload,x,h,S.meta):i(S,x,h)})])];case 3:return P=m.sent(),[3,5];case 4:return W=m.sent(),P=W instanceof Na?s(null,x,h,W.payload,W.meta):s(W,x,h),[3,5];case 5:return k=n&&!n.dispatchConditionRejection&&s.match(P)&&P.meta.condition,k||f(P),[2,P]}})})}();return Object.assign(O,{abort:L,requestId:x,arg:h,unwrap:function(){return O.then(Ju)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Ju(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Qu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var nc="listener",ic="completed",ac="cancelled",ux="task-"+ac,fx="task-"+ic,hx=nc+"-"+ac,yx=nc+"-"+ic;var La="listenerMiddleware";var mx=Le(La+"/add"),gx=Le(La+"/removeAll"),bx=Le(La+"/remove");var Ql,xx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ql||(Ql=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},tf=function(e){return function(t){setTimeout(t,e)}},vx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:tf(10);Wl();window.ftReduxStores||(window.ftReduxStores={});var ar=class e extends Ke{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(or(a))return a;if(i==null)return;let s=oc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=ec({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[i.name]=new e(s,l,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new fo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,p=a[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function ef(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))or(t)&&t.clear()}var cn=class{constructor(t,o,n){this.store=t,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),o=this.valueSelector(t);Ze(this.lastValue,o)&&(this.callback(o,t),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function rf(e,t,o){return new cn(e,t,o).watch()}var ka={};q(ka,{scrollHelper:()=>of});var Ia,dn=new Map,$a=class{lock(t,o){if(o){let n=dn.get(o);if(n==null||n===t)return dn.set(o,t),o}}release(t,o){o&&dn.get(o)===t&&dn.delete(o)}findFirstScrollableParent(t){var o;let n,i;for(let a of ni(t)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,i;let a=0;for(;o&&o.offsetParent!==t.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=eo(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Ia=window.FluidTopicsScrollHelper)!==null&&Ia!==void 0?Ia:new $a;var of=window.FluidTopicsScrollHelper;var Da={};q(Da,{shadowQuerySelector:()=>nf,shadowQuerySelectorAll:()=>af});function nf(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function af(e,t,...o){let n=[...e.querySelectorAll(t)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ua={};q(Ua,{SearchPlaceConverter:()=>bo,SearchPlaceQueryParams:()=>Y,isSearchPlaceQueryParams:()=>$c,serializeRequest:()=>cf});var sf=kd(lc(),1);var cc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(cc||(cc={}));var dc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(dc||(dc={}));var pc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(pc||(pc={}));var uc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(uc||(uc={}));var fc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(fc||(fc={}));var hc;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(hc||(hc={}));var yc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(yc||(yc={}));var mc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(mc||(mc={}));var gc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(gc||(gc={}));var bc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(bc||(bc={}));var xc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(xc||(xc={}));var vc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(vc||(vc={}));var Sc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Sc||(Sc={}));var Cc;(function(e){e.ASC="ASC",e.DESC="DESC"})(Cc||(Cc={}));var Oc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Oc||(Oc={}));var Ba;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ba||(Ba={}));var Nc=e=>Object.keys(Ba).includes(e);var Ec;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ec||(Ec={}));var wc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(wc||(wc={}));var Ac;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ac||(Ac={}));var _r;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(_r||(_r={}));var Tc=e=>Object.keys(_r).includes(e);var Rc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Rc||(Rc={}));var _c;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(_c||(_c={}));var ft;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(ft||(ft={}));var Lc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Lc||(Lc={}));var Pc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Pc||(Pc={}));var Wx={[ft.PERSONAL_BOOK_SHARE_USER]:[ft.PERSONAL_BOOK_USER],[ft.HTML_EXPORT_USER]:[ft.PERSONAL_BOOK_USER],[ft.PDF_EXPORT_USER]:[ft.PERSONAL_BOOK_USER],[ft.KHUB_ADMIN]:[ft.CONTENT_PUBLISHER],[ft.ADMIN]:[ft.KHUB_ADMIN,ft.USERS_ADMIN,ft.PORTAL_ADMIN],[ft.DEVELOPER]:[ft.BETA_USER,ft.DEBUG_USER],[ft.GENERATIVE_AI_EXPORT_USER]:[ft.GENERATIVE_AI_USER]};function lf(e){return`"${e}"`}function Ic(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function cf(e,t){return new bo(e).serialize(t)}var Y;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(Y||(Y={}));var df=new Set(Object.values(Y));function $c(e){return df.has(e)}var bo=class{constructor(t,o={},n=20,i=!1,a="en-US"){this.baseUrl=t,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=i,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).toString(),i=o==null||o.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return a.search=n,a.toString()}toURLSearchParams(t,o=!1){var n,i,a,s,l,d,p,h,f,y,b,x;let C=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&C.append(Y.LOCALE,t.contentLocale):C.append(Y.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&C.append(Y.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&C.append(Y.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&C.append(Y.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&C.append(Y.SORT,"last_update");let _=(s=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(_.length>0){let v=_.map(A=>{var P,U;let H=((U=(P=A.valueFilter)===null||P===void 0?void 0:P.values)!==null&&U!==void 0?U:[]).map(W=>this.escapeFilters(W)).map(W=>encodeURIComponent(lf(Ic(W)))).join("_");return`${A.key}~${H}`}).join("*");C.append(Y.VALUE_FILTERS,v)}let N=(d=(l=t.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(N.length>0){let v=N.map(A=>{var P;return`${A.key}~${(P=A.dateFilter)===null||P===void 0?void 0:P.type.toLowerCase()}`}).join("*");C.append(Y.DATE_FILTERS,v)}let L=(h=(p=t.metadataFilters)===null||p===void 0?void 0:p.filter(v=>v.rangeFilter))!==null&&h!==void 0?h:[];if(L.length>0){let v=L.map(A=>{var P,U;return`${A.key}~${(P=A.rangeFilter)===null||P===void 0?void 0:P.from}_${(U=A.rangeFilter)===null||U===void 0?void 0:U.to}`}).join("*");C.append(Y.RANGE_FILTERS,v)}let O=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let v in O)C.append(v,O[v]);return!((y=t.paging)===null||y===void 0)&&y.perPage&&((x=(b=t.paging)===null||b===void 0?void 0:b.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&C.append(Y.PER_PAGE,String(t.paging.perPage)),C}parse(t){var o;let n=t.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(t){var o,n,i,a,s,l,d,p;let h=t.get(Y.LOCALE)==="all"?void 0:t.get(Y.LOCALE),f=((o=t.get(Y.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),y=((n=t.get(Y.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(i=t.get(Y.SCOPE))!==null&&i!==void 0?i:"default",x=+((a=t.get(Y.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),C={};for(let _ of t.keys())$c(_)||(C[_]=t.get(_));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(Y.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:Nc(f)?f:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[y])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:eo(1,isNaN(x)?this.defaultPerPage:x,1e3)},otherQueryParams:C}}parseCompatFilters(t){var o,n,i,a,s,l;let d=[];return t.has(Y.FILTERS)&&(d=this.parseValueFilters((o=t.get(Y.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(Y.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=t.get(Y.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=t.get(Y.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=t.get(Y.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(Y.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Ic).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:_r[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(n,i);return t}unescapeFilterValue(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replace(i,o);return t}parseLegacyPeriodFilter(t){if(Tc(t))return[{key:"ft:lastEdition",dateFilter:{type:_r[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var Fa={};q(Fa,{toFtFormComponent:()=>Ma});var fn=Symbol("elementInternals");function Ma(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[fn].form}constructor(...i){super(i),this[fn]=this.attachInternals(),this[fn].role=t}setFormValue(i){this[fn].setFormValue(i)}}return o}var Wa={};q(Wa,{DateFormatter:()=>Nr});var Nr=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var Ha,za,ja,Va,sr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ja=(za=(Ha=window.safari)===null||Ha===void 0?void 0:Ha.pushNotification)===null||za===void 0?void 0:za.toString())!==null&&ja!==void 0?ja:"")==="[object SafariRemoteNotification]",pf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Va=window.ftGlobals)!==null&&Va!==void 0?Va:{lit:Wn,litDecorators:Hn,litRepeat:zn,litClassMap:jn,litStyleMap:Vn,litUnsafeHTML:Kn,wcUtils:{...ti,...qn,...ri,...Wa,...oi,...ai,...ki,...Qn,...Ji,...$i,...ea,...ta,...Al,...ii,...na,...ia,..._l,...aa,...Pa,...Qi,...ka,...Da,...Ua,...Fa,isSafari:sr,isTouchScreen:pf,setVariable:w}};var kc=e=>e??it;var Dc={contentVerticalPadding:r.create("--ft-page-layout--content-vertical-padding","","SIZE","24px"),contentHorizontalPadding:r.create("--ft-page-layout--content-horizontal-padding","","SIZE","24px")},Bc=$`
|
|
51
51
|
:host {
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
height: 100%;
|
|
55
55
|
background: ${at.backgroundColor};
|
|
56
56
|
color: ${at.parentTitleColor};
|
|
57
|
-
font-family: ${
|
|
58
|
-
font-size: ${
|
|
57
|
+
font-family: ${Ee["body-1-regular"].fontFamily}, system-ui, sans-serif;
|
|
58
|
+
font-size: ${Ee["body-1-regular"].fontSize};
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.ftds-page-layout--left-slot {
|
|
@@ -126,7 +126,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
126
126
|
/* BREADCRUMB */
|
|
127
127
|
nav.ftds-page-layout--breadcrumb {
|
|
128
128
|
display: flex;
|
|
129
|
-
gap: ${
|
|
129
|
+
gap: ${gr.horizontalGap};
|
|
130
130
|
align-items: center;
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -141,7 +141,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
nav.ftds-page-layout--breadcrumb ft-typography.ftds-page-layout--breadcrumb-item {
|
|
144
|
-
color: ${
|
|
144
|
+
color: ${gr.previousNonClickableColor};
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
nav.ftds-page-layout--breadcrumb li + li::before {
|
|
@@ -149,11 +149,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
149
149
|
margin: 0 0.25em;
|
|
150
150
|
height: 0.8em;
|
|
151
151
|
content: ">";
|
|
152
|
-
color: ${
|
|
152
|
+
color: ${gr.iconColor};
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
nav.ftds-page-layout--breadcrumb .ftds-page-layout--title {
|
|
156
|
-
color: ${
|
|
156
|
+
color: ${gr.currentColor};
|
|
157
157
|
font-weight: 600;
|
|
158
158
|
}
|
|
159
159
|
|
|
@@ -161,22 +161,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
161
161
|
main {
|
|
162
162
|
overflow: auto;
|
|
163
163
|
flex-grow: 1;
|
|
164
|
-
padding: ${
|
|
164
|
+
padding: ${Dc.contentVerticalPadding} ${Dc.contentHorizontalPadding};
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
/* FOOTER */
|
|
168
168
|
.ftds-page-layout--footer {
|
|
169
169
|
display: flex;
|
|
170
|
-
min-height: ${
|
|
171
|
-
border-top: ${
|
|
172
|
-
padding: ${
|
|
170
|
+
min-height: ${pe.minHeight};
|
|
171
|
+
border-top: ${pe.topBorderWidth} solid ${pe.topBorderColor};
|
|
172
|
+
padding: ${pe.verticalPadding} ${pe.horizontalPadding} ${pe.verticalPadding} ${pe.horizontalPadding}
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.ftds-page-layout--footer[hidden] {
|
|
176
176
|
display: none;
|
|
177
177
|
}
|
|
178
|
-
`;var
|
|
179
|
-
.ft-typography--${
|
|
178
|
+
`;var Mc=Symbol.for(""),uf=e=>{if(e?.r===Mc)return e?._$litStatic$},Ga=e=>({_$litStatic$:e,r:Mc});var Uc=new Map,Fc=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=t[p];p<n&&(a=o[p],(i=uf(a))!==void 0);)d+=i+t[++p],h=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(t[n]),h){let f=s.join("$$lit$$");(t=Uc.get(f))===void 0&&(s.raw=s,Uc.set(f,t=s)),o=l}return e(t,...o)},Ka=Fc(Ss),Dv=Fc(Cs);var ht;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ht||(ht={}));function Wc(e){let t=Ee[e];return $`
|
|
179
|
+
.ft-typography--${se(e)} {
|
|
180
180
|
font-family: ${t.fontFamily};
|
|
181
181
|
font-size: ${t.fontSize};
|
|
182
182
|
font-weight: ${t.fontWeight};
|
|
@@ -184,35 +184,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
184
184
|
line-height: ${t.lineHeight};
|
|
185
185
|
text-transform: ${t.textCase};
|
|
186
186
|
}
|
|
187
|
-
`}var
|
|
187
|
+
`}var Hc=r.extend("--ft-typography-font-family","",K.titleFont),me=r.extend("--ft-typography-font-family","",K.contentFont),B={fontFamily:me,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Tr={fontFamily:r.extend("--ft-typography-title-font-family","",Hc),fontSize:r.extend("--ft-typography-title-font-size","",B.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",B.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",B.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",B.textTransform,"inherit")},Lr={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Hc),fontSize:r.extend("--ft-typography-title-dense-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",B.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",B.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",B.textTransform,"inherit")},Pr={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",me),fontSize:r.extend("--ft-typography-subtitle1-font-size","",B.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",B.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",B.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",B.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",B.textTransform,"inherit")},Ir={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",me),fontSize:r.extend("--ft-typography-subtitle2-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",B.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",B.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",B.textTransform,"inherit")},$r={fontFamily:r.extend("--ft-typography-body1-font-family","",me),fontSize:r.extend("--ft-typography-body1-font-size","",B.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",B.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",B.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",B.textTransform,"inherit")},Ht={fontFamily:r.extend("--ft-typography-body2-font-family","",me),fontSize:r.extend("--ft-typography-body2-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",B.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",B.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",B.textTransform,"inherit")},kr={fontFamily:r.extend("--ft-typography-caption-font-family","",me),fontSize:r.extend("--ft-typography-caption-font-size","",B.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",B.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",B.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",B.textTransform,"inherit")},Dr={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",me),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",B.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",B.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",B.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",B.textTransform,"inherit")},Br={fontFamily:r.extend("--ft-typography-overline-font-family","",me),fontSize:r.extend("--ft-typography-overline-font-size","",B.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",B.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",B.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",B.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",B.textTransform,"uppercase")},ne={fontFamily:r.extend("--ft-typography-button-font-family","",me),fontSize:r.extend("--ft-typography-button-font-size","",B.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",B.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",B.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",B.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",B.textTransform,"uppercase")},zc=$`
|
|
188
188
|
.ft-typography--title {
|
|
189
|
-
font-family: ${
|
|
190
|
-
font-size: ${
|
|
191
|
-
font-weight: ${
|
|
192
|
-
letter-spacing: ${
|
|
193
|
-
line-height: ${
|
|
194
|
-
text-transform: ${
|
|
195
|
-
}
|
|
196
|
-
`,
|
|
189
|
+
font-family: ${Tr.fontFamily};
|
|
190
|
+
font-size: ${Tr.fontSize};
|
|
191
|
+
font-weight: ${Tr.fontWeight};
|
|
192
|
+
letter-spacing: ${Tr.letterSpacing};
|
|
193
|
+
line-height: ${Tr.lineHeight};
|
|
194
|
+
text-transform: ${Tr.textTransform};
|
|
195
|
+
}
|
|
196
|
+
`,jc=$`
|
|
197
197
|
.ft-typography--title-dense {
|
|
198
|
-
font-family: ${Nr.fontFamily};
|
|
199
|
-
font-size: ${Nr.fontSize};
|
|
200
|
-
font-weight: ${Nr.fontWeight};
|
|
201
|
-
letter-spacing: ${Nr.letterSpacing};
|
|
202
|
-
line-height: ${Nr.lineHeight};
|
|
203
|
-
text-transform: ${Nr.textTransform};
|
|
204
|
-
}
|
|
205
|
-
`,Fc=I`
|
|
206
|
-
.ft-typography--subtitle1 {
|
|
207
|
-
font-family: ${_r.fontFamily};
|
|
208
|
-
font-size: ${_r.fontSize};
|
|
209
|
-
font-weight: ${_r.fontWeight};
|
|
210
|
-
letter-spacing: ${_r.letterSpacing};
|
|
211
|
-
line-height: ${_r.lineHeight};
|
|
212
|
-
text-transform: ${_r.textTransform};
|
|
213
|
-
}
|
|
214
|
-
`,Wc=I`
|
|
215
|
-
.ft-typography--subtitle2 {
|
|
216
198
|
font-family: ${Lr.fontFamily};
|
|
217
199
|
font-size: ${Lr.fontSize};
|
|
218
200
|
font-weight: ${Lr.fontWeight};
|
|
@@ -220,9 +202,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
220
202
|
line-height: ${Lr.lineHeight};
|
|
221
203
|
text-transform: ${Lr.textTransform};
|
|
222
204
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
.ft-typography--body1 {
|
|
205
|
+
`,Vc=$`
|
|
206
|
+
.ft-typography--subtitle1 {
|
|
226
207
|
font-family: ${Pr.fontFamily};
|
|
227
208
|
font-size: ${Pr.fontSize};
|
|
228
209
|
font-weight: ${Pr.fontWeight};
|
|
@@ -230,26 +211,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
230
211
|
line-height: ${Pr.lineHeight};
|
|
231
212
|
text-transform: ${Pr.textTransform};
|
|
232
213
|
}
|
|
233
|
-
`,
|
|
234
|
-
.ft-typography--
|
|
235
|
-
font-family: ${
|
|
236
|
-
font-size: ${
|
|
237
|
-
font-weight: ${
|
|
238
|
-
letter-spacing: ${
|
|
239
|
-
line-height: ${
|
|
240
|
-
text-transform: ${
|
|
241
|
-
}
|
|
242
|
-
`,Vc=I`
|
|
243
|
-
.ft-typography--caption {
|
|
244
|
-
font-family: ${Tr.fontFamily};
|
|
245
|
-
font-size: ${Tr.fontSize};
|
|
246
|
-
font-weight: ${Tr.fontWeight};
|
|
247
|
-
letter-spacing: ${Tr.letterSpacing};
|
|
248
|
-
line-height: ${Tr.lineHeight};
|
|
249
|
-
text-transform: ${Tr.textTransform};
|
|
214
|
+
`,Gc=$`
|
|
215
|
+
.ft-typography--subtitle2 {
|
|
216
|
+
font-family: ${Ir.fontFamily};
|
|
217
|
+
font-size: ${Ir.fontSize};
|
|
218
|
+
font-weight: ${Ir.fontWeight};
|
|
219
|
+
letter-spacing: ${Ir.letterSpacing};
|
|
220
|
+
line-height: ${Ir.lineHeight};
|
|
221
|
+
text-transform: ${Ir.textTransform};
|
|
250
222
|
}
|
|
251
|
-
|
|
252
|
-
|
|
223
|
+
|
|
224
|
+
`,Kc=$`
|
|
225
|
+
.ft-typography--body1 {
|
|
253
226
|
font-family: ${$r.fontFamily};
|
|
254
227
|
font-size: ${$r.fontSize};
|
|
255
228
|
font-weight: ${$r.fontWeight};
|
|
@@ -257,37 +230,64 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
257
230
|
line-height: ${$r.lineHeight};
|
|
258
231
|
text-transform: ${$r.textTransform};
|
|
259
232
|
}
|
|
260
|
-
`,
|
|
233
|
+
`,Zc=$`
|
|
234
|
+
.ft-typography--body2 {
|
|
235
|
+
font-family: ${Ht.fontFamily};
|
|
236
|
+
font-size: ${Ht.fontSize};
|
|
237
|
+
font-weight: ${Ht.fontWeight};
|
|
238
|
+
letter-spacing: ${Ht.letterSpacing};
|
|
239
|
+
line-height: ${Ht.lineHeight};
|
|
240
|
+
text-transform: ${Ht.textTransform};
|
|
241
|
+
}
|
|
242
|
+
`,qc=$`
|
|
243
|
+
.ft-typography--caption {
|
|
244
|
+
font-family: ${kr.fontFamily};
|
|
245
|
+
font-size: ${kr.fontSize};
|
|
246
|
+
font-weight: ${kr.fontWeight};
|
|
247
|
+
letter-spacing: ${kr.letterSpacing};
|
|
248
|
+
line-height: ${kr.lineHeight};
|
|
249
|
+
text-transform: ${kr.textTransform};
|
|
250
|
+
}
|
|
251
|
+
`,Yc=$`
|
|
252
|
+
.ft-typography--breadcrumb {
|
|
253
|
+
font-family: ${Dr.fontFamily};
|
|
254
|
+
font-size: ${Dr.fontSize};
|
|
255
|
+
font-weight: ${Dr.fontWeight};
|
|
256
|
+
letter-spacing: ${Dr.letterSpacing};
|
|
257
|
+
line-height: ${Dr.lineHeight};
|
|
258
|
+
text-transform: ${Dr.textTransform};
|
|
259
|
+
}
|
|
260
|
+
`,Xc=$`
|
|
261
261
|
.ft-typography--overline {
|
|
262
|
-
font-family: ${
|
|
263
|
-
font-size: ${
|
|
264
|
-
font-weight: ${
|
|
265
|
-
letter-spacing: ${
|
|
266
|
-
line-height: ${
|
|
267
|
-
text-transform: ${
|
|
268
|
-
}
|
|
269
|
-
`,
|
|
262
|
+
font-family: ${Br.fontFamily};
|
|
263
|
+
font-size: ${Br.fontSize};
|
|
264
|
+
font-weight: ${Br.fontWeight};
|
|
265
|
+
letter-spacing: ${Br.letterSpacing};
|
|
266
|
+
line-height: ${Br.lineHeight};
|
|
267
|
+
text-transform: ${Br.textTransform};
|
|
268
|
+
}
|
|
269
|
+
`,Jc=$`
|
|
270
270
|
.ft-typography--button {
|
|
271
|
-
font-family: ${
|
|
272
|
-
font-size: ${
|
|
273
|
-
font-weight: ${
|
|
274
|
-
letter-spacing: ${
|
|
275
|
-
line-height: ${
|
|
276
|
-
text-transform: ${
|
|
277
|
-
}
|
|
278
|
-
`,
|
|
271
|
+
font-family: ${ne.fontFamily};
|
|
272
|
+
font-size: ${ne.fontSize};
|
|
273
|
+
font-weight: ${ne.fontWeight};
|
|
274
|
+
letter-spacing: ${ne.letterSpacing};
|
|
275
|
+
line-height: ${ne.lineHeight};
|
|
276
|
+
text-transform: ${ne.textTransform};
|
|
277
|
+
}
|
|
278
|
+
`,Qc=$`
|
|
279
279
|
.ft-typography {
|
|
280
280
|
vertical-align: inherit;
|
|
281
281
|
}
|
|
282
|
-
`,
|
|
283
|
-
<${
|
|
282
|
+
`,td=[Object.keys(Ee).map(e=>Wc(e))];var ed=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},dt=class extends Z{constructor(){super(...arguments),this.variant=ht.body1}render(){return this.element?Ka`
|
|
283
|
+
<${Ga(this.element)}
|
|
284
284
|
part="text"
|
|
285
285
|
class="ft-typography ft-typography--${this.variant}">
|
|
286
286
|
<slot></slot>
|
|
287
|
-
</${
|
|
288
|
-
`:
|
|
287
|
+
</${Ga(this.element)}>
|
|
288
|
+
`:Ka`
|
|
289
289
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
290
|
-
`}};dt.styles=[
|
|
290
|
+
`}};dt.styles=[zc,jc,Vc,Gc,Kc,Zc,qc,Yc,Xc,Jc,Qc,...td];ed([E()],dt.prototype,"element",void 0);ed([E()],dt.prototype,"variant",void 0);X("ft-typography")(dt);var rd=r.extend("--ft-ripple-color","",K.colorContent),R={color:rd,backgroundColor:r.extend("--ft-ripple-background-color","",rd),opacityContentOnSurfacePressed:r.external(K.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(K.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(K.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(K.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},od=r.extend("--ft-ripple-color","",K.colorPrimary),nd={color:od,backgroundColor:r.extend("--ft-ripple-background-color","",od)},id=r.extend("--ft-ripple-color","",K.colorSecondary),ad={color:id,backgroundColor:r.extend("--ft-ripple-background-color","",id)},sd=$`
|
|
291
291
|
:host {
|
|
292
292
|
display: contents;
|
|
293
293
|
}
|
|
@@ -342,19 +342,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
345
|
-
background-color: ${
|
|
345
|
+
background-color: ${ad.backgroundColor};
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
349
|
-
background-color: ${
|
|
349
|
+
background-color: ${ad.color};
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
353
|
-
background-color: ${
|
|
353
|
+
background-color: ${nd.backgroundColor};
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
357
|
-
background-color: ${
|
|
357
|
+
background-color: ${nd.color};
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
.ft-ripple .ft-ripple--background {
|
|
@@ -399,7 +399,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
399
399
|
opacity: ${R.opacityContentOnSurfacePressed};
|
|
400
400
|
transform: translate(-50%, -50%) scale(1);
|
|
401
401
|
}
|
|
402
|
-
`;var et={color:r.extend("--ft-loader-color","",K.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},
|
|
402
|
+
`;var et={color:r.extend("--ft-loader-color","",K.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},ld=$`
|
|
403
403
|
:host {
|
|
404
404
|
line-height: 0;
|
|
405
405
|
}
|
|
@@ -468,7 +468,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
468
468
|
transform: translate(calc(0.35 * ${et.size}), 0);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
`;var rt={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},
|
|
471
|
+
`;var rt={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},cd=$`
|
|
472
472
|
:host, i.ft-icon {
|
|
473
473
|
display: inline-flex;
|
|
474
474
|
align-items: center;
|
|
@@ -516,7 +516,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
516
516
|
.ft-icon--material {
|
|
517
517
|
font-family: ${rt.materialFontFamily}, "Material Icons", sans-serif;
|
|
518
518
|
}
|
|
519
|
-
`;var
|
|
519
|
+
`;var dd=r.extend("--ft-button-color","",K.colorPrimary),st={backgroundColor:r.extend("--ft-button-background-color","",K.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",K.borderRadiusL),color:dd,fontSize:r.extend("--ft-button-font-size","",ne.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",dd),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(K.colorOpacityDisabled,"Design system")},pd=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",K.colorOnPrimary)),Za={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",K.colorPrimary)),color:pd,rippleColor:r.extend("--ft-button-primary-ripple-color","",pd)},ie={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",K.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},ud=[$`
|
|
520
520
|
:host {
|
|
521
521
|
display: inline-block;
|
|
522
522
|
max-width: 100%;
|
|
@@ -559,8 +559,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
559
559
|
|
|
560
560
|
--ft-button-internal-line-height: max(calc(${st.fontSize} + 2px), ${st.iconSize});
|
|
561
561
|
--ft-button-internal-color: ${st.color};
|
|
562
|
-
${
|
|
563
|
-
${
|
|
562
|
+
${w(rt.size,st.iconSize)};
|
|
563
|
+
${w(R.color,st.rippleColor)};
|
|
564
564
|
|
|
565
565
|
border-radius: ${st.borderRadius};
|
|
566
566
|
padding: ${st.verticalPadding} ${st.horizontalPadding};
|
|
@@ -575,13 +575,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
.ft-button.ft-button--dense {
|
|
578
|
-
padding: ${
|
|
579
|
-
border-radius: ${
|
|
580
|
-
gap: ${
|
|
578
|
+
padding: ${ie.verticalPadding} ${ie.horizontalPadding};
|
|
579
|
+
border-radius: ${ie.borderRadius};
|
|
580
|
+
gap: ${ie.iconPadding};
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
584
|
-
padding: calc(${
|
|
584
|
+
padding: calc(${ie.verticalPadding} - 1px) calc(${ie.horizontalPadding} - 1px);
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
.ft-button:not([disabled]):hover {
|
|
@@ -593,7 +593,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
.ft-button--round.ft-button--dense {
|
|
596
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
596
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ie.verticalPadding});
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
.ft-button[disabled] {
|
|
@@ -602,9 +602,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
.ft-button.ft-button--primary {
|
|
605
|
-
background-color: ${
|
|
606
|
-
--ft-button-internal-color: ${
|
|
607
|
-
${
|
|
605
|
+
background-color: ${Za.backgroundColor};
|
|
606
|
+
--ft-button-internal-color: ${Za.color};
|
|
607
|
+
${w(R.color,Za.rippleColor)};
|
|
608
608
|
}
|
|
609
609
|
|
|
610
610
|
.ft-button:focus {
|
|
@@ -618,12 +618,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
618
618
|
text-overflow: ellipsis;
|
|
619
619
|
display: block;
|
|
620
620
|
margin: 0 ${st.iconPadding};
|
|
621
|
-
${
|
|
622
|
-
${
|
|
621
|
+
${w(ne.fontSize,"1em")};
|
|
622
|
+
${w(ne.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
623
623
|
}
|
|
624
624
|
|
|
625
625
|
.ft-button--dense .ft-button--label {
|
|
626
|
-
margin: 0 ${
|
|
626
|
+
margin: 0 ${ie.iconPadding};
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
.ft-button--label[hidden] {
|
|
@@ -641,8 +641,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
644
|
-
margin: 0 calc(${
|
|
645
|
-
padding: 0 ${
|
|
644
|
+
margin: 0 calc(${ie.horizontalPadding} * -1);
|
|
645
|
+
padding: 0 ${ie.verticalPadding};
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -650,10 +650,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
ft-loader {
|
|
653
|
-
${
|
|
654
|
-
${
|
|
653
|
+
${w(et.size,st.iconSize)};
|
|
654
|
+
${w(et.color,"var(--ft-button-internal-color)")};
|
|
655
655
|
}
|
|
656
|
-
`,
|
|
656
|
+
`,er];var _t=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ot=class extends Z{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Pt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Pt(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return D`
|
|
657
657
|
<style>
|
|
658
658
|
.ft-ripple .ft-ripple--effect {
|
|
659
659
|
left: ${this.originX}px;
|
|
@@ -664,7 +664,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
664
664
|
<div class="ft-ripple--background"></div>
|
|
665
665
|
<div class="ft-ripple--effect"></div>
|
|
666
666
|
</div>
|
|
667
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...
|
|
667
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ot.elementDefinitions={};ot.styles=sd;_t([E({type:Boolean})],ot.prototype,"primary",void 0);_t([E({type:Boolean})],ot.prototype,"secondary",void 0);_t([E({type:Boolean})],ot.prototype,"unbounded",void 0);_t([E({type:Boolean})],ot.prototype,"activated",void 0);_t([E({type:Boolean})],ot.prototype,"selected",void 0);_t([E({type:Boolean})],ot.prototype,"disabled",void 0);_t([yt()],ot.prototype,"hovered",void 0);_t([yt()],ot.prototype,"focused",void 0);_t([yt()],ot.prototype,"pressed",void 0);_t([yt()],ot.prototype,"rippling",void 0);_t([yt()],ot.prototype,"originX",void 0);_t([yt()],ot.prototype,"originY",void 0);_t([J(".ft-ripple")],ot.prototype,"ripple",void 0);_t([J(".ft-ripple--effect")],ot.prototype,"rippleEffect",void 0);X("ft-ripple")(ot);var Ur={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(K.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},fd=$`
|
|
668
668
|
.ft-tooltip--container {
|
|
669
669
|
display: block;
|
|
670
670
|
}
|
|
@@ -679,21 +679,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
679
679
|
box-sizing: border-box;
|
|
680
680
|
overflow: hidden;
|
|
681
681
|
width: max-content;
|
|
682
|
-
max-width: ${
|
|
682
|
+
max-width: ${Ur.maxWidth};
|
|
683
683
|
text-align: center;
|
|
684
|
-
padding: ${
|
|
685
|
-
z-index: ${
|
|
684
|
+
padding: ${Ur.distance};
|
|
685
|
+
z-index: ${Ur.zIndex};
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
.ft-tooltip--content {
|
|
689
689
|
padding: 4px 8px;
|
|
690
|
-
border-radius: ${
|
|
691
|
-
background-color: ${
|
|
692
|
-
color: ${
|
|
690
|
+
border-radius: ${Ur.borderRadiusS};
|
|
691
|
+
background-color: ${Ur.backgroundColor};
|
|
692
|
+
color: ${Ur.color};
|
|
693
693
|
position: relative;
|
|
694
694
|
word-break: break-word;
|
|
695
695
|
}
|
|
696
|
-
`;var Nt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var
|
|
696
|
+
`;var Nt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},lt=class extends Z{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Pt,this.revealDebouncer=new Pt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return D`
|
|
697
697
|
<div part="container"
|
|
698
698
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
699
699
|
@mouseenter=${this.onHover}
|
|
@@ -711,29 +711,29 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
711
711
|
</div>
|
|
712
712
|
</div>
|
|
713
713
|
</div>
|
|
714
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",qi(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};lt.elementDefinitions={"ft-typography":dt};lt.styles=ld;Nt([O()],lt.prototype,"text",void 0);Nt([O({type:Boolean})],lt.prototype,"manual",void 0);Nt([O({type:Boolean})],lt.prototype,"inline",void 0);Nt([O({type:Number})],lt.prototype,"delay",void 0);Nt([O()],lt.prototype,"position",void 0);Nt([Ge()],lt.prototype,"slotNodes",void 0);Nt([J(".ft-tooltip--container")],lt.prototype,"container",void 0);Nt([J(".ft-tooltip")],lt.prototype,"tooltip",void 0);Nt([J(".ft-tooltip--content")],lt.prototype,"tooltipContent",void 0);Nt([yt()],lt.prototype,"visible",void 0);Nt([pr({passive:!0})],lt.prototype,"onTouch",null);Nt([pr({passive:!0})],lt.prototype,"onHover",null);Nt([pr({passive:!0})],lt.prototype,"onOut",null);Nt([pr({passive:!0})],lt.prototype,"onClick",null);X("ft-tooltip")(lt);var me;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱"})(me||(me={}));var _;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(_||(_={}));var bS=new Map([...["abw"].map(e=>[e,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,_.AUDIO]),...["avi"].map(e=>[e,_.AVI]),...["chm","xhs"].map(e=>[e,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,_.CODE]),...["csv"].map(e=>[e,_.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,_.DITA]),...["epub"].map(e=>[e,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,_.EXCEL]),...["flac"].map(e=>[e,_.FLAC]),...["gif"].map(e=>[e,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,_.GZIP]),...["html","htm","xhtml"].map(e=>[e,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,_.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,_.JPEG]),...["json"].map(e=>[e,_.JSON]),...["m4a","m4p"].map(e=>[e,_.M4A]),...["mov","qt"].map(e=>[e,_.MOV]),...["mp3"].map(e=>[e,_.MP3]),...["mp4","m4v"].map(e=>[e,_.MP4]),...["ogg","oga"].map(e=>[e,_.OGG]),...["pdf","ps"].map(e=>[e,_.PDF]),...["png"].map(e=>[e,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,_.POWERPOINT]),...["rar"].map(e=>[e,_.RAR]),...["stp"].map(e=>[e,_.STP]),...["txt","rtf","md","mdown"].map(e=>[e,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,_.VIDEO]),...["wav"].map(e=>[e,_.WAV]),...["wma"].map(e=>[e,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,_.WORD]),...["xml","xsl","rdf"].map(e=>[e,_.XML]),...["yaml","yml","x-yaml"].map(e=>[e,_.YAML]),...["zip"].map(e=>[e,_.ZIP])]);var xS={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var _t;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(_t||(_t={}));var hn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},gt=class extends Z{constructor(){super(...arguments),this.resolvedIcon=G}render(){let t=this.variant&&Object.values(_t).includes(this.variant)?this.variant:_t.fluid_topics,o=t!==_t.material||!!this.value;return B`
|
|
714
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Yi(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};lt.elementDefinitions={"ft-typography":dt};lt.styles=fd;Nt([E()],lt.prototype,"text",void 0);Nt([E({type:Boolean})],lt.prototype,"manual",void 0);Nt([E({type:Boolean})],lt.prototype,"inline",void 0);Nt([E({type:Number})],lt.prototype,"delay",void 0);Nt([E()],lt.prototype,"position",void 0);Nt([Ge()],lt.prototype,"slotNodes",void 0);Nt([J(".ft-tooltip--container")],lt.prototype,"container",void 0);Nt([J(".ft-tooltip")],lt.prototype,"tooltip",void 0);Nt([J(".ft-tooltip--content")],lt.prototype,"tooltipContent",void 0);Nt([yt()],lt.prototype,"visible",void 0);Nt([fr({passive:!0})],lt.prototype,"onTouch",null);Nt([fr({passive:!0})],lt.prototype,"onHover",null);Nt([fr({passive:!0})],lt.prototype,"onOut",null);Nt([fr({passive:!0})],lt.prototype,"onClick",null);X("ft-tooltip")(lt);var ge;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱"})(ge||(ge={}));var T;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(T||(T={}));var CS=new Map([...["abw"].map(e=>[e,T.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,T.AUDIO]),...["avi"].map(e=>[e,T.AVI]),...["chm","xhs"].map(e=>[e,T.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,T.CODE]),...["csv"].map(e=>[e,T.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,T.DITA]),...["epub"].map(e=>[e,T.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,T.EXCEL]),...["flac"].map(e=>[e,T.FLAC]),...["gif"].map(e=>[e,T.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,T.GZIP]),...["html","htm","xhtml"].map(e=>[e,T.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,T.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,T.JPEG]),...["json"].map(e=>[e,T.JSON]),...["m4a","m4p"].map(e=>[e,T.M4A]),...["mov","qt"].map(e=>[e,T.MOV]),...["mp3"].map(e=>[e,T.MP3]),...["mp4","m4v"].map(e=>[e,T.MP4]),...["ogg","oga"].map(e=>[e,T.OGG]),...["pdf","ps"].map(e=>[e,T.PDF]),...["png"].map(e=>[e,T.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,T.POWERPOINT]),...["rar"].map(e=>[e,T.RAR]),...["stp"].map(e=>[e,T.STP]),...["txt","rtf","md","mdown"].map(e=>[e,T.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,T.VIDEO]),...["wav"].map(e=>[e,T.WAV]),...["wma"].map(e=>[e,T.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,T.WORD]),...["xml","xsl","rdf"].map(e=>[e,T.XML]),...["yaml","yml","x-yaml"].map(e=>[e,T.YAML]),...["zip"].map(e=>[e,T.ZIP])]);var OS={[T.ABW]:"#91ABC6",[T.AUDIO]:"#1795E3",[T.AVI]:"#E63324",[T.CHM]:"#71C3EB",[T.CODE]:"#71C3EB",[T.CSV]:"#1F7345",[T.DITA]:"#71C3EB",[T.EPUB]:"#85B926",[T.EXCEL]:"#1F7345",[T.FLAC]:"#1795E3",[T.GIF]:"#59B031",[T.GZIP]:"#F8AB36",[T.HTML]:"#71C3EB",[T.IMAGE]:"#59B031",[T.JPEG]:"#59B031",[T.JSON]:"#71C3EB",[T.M4A]:"#1795E3",[T.MOV]:"#E63324",[T.MP3]:"#1795E3",[T.MP4]:"#E63324",[T.OGG]:"#1795E3",[T.PDF]:"#E44948",[T.PNG]:"#59B031",[T.POWERPOINT]:"#B54A2B",[T.RAR]:"#F8AB36",[T.STP]:"#3764B1",[T.TEXT]:"#3162AB",[T.UNKNOWN]:"#999999",[T.VIDEO]:"#E63324",[T.WAV]:"#1795E3",[T.WMA]:"#1795E3",[T.WORD]:"#3162AB",[T.XML]:"#71C3EB",[T.YAML]:"#71C3EB",[T.ZIP]:"#F8AB36"};var Tt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Tt||(Tt={}));var hn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},gt=class extends Z{constructor(){super(...arguments),this.resolvedIcon=G}render(){let t=this.variant&&Object.values(Tt).includes(this.variant)?this.variant:Tt.fluid_topics,o=t!==Tt.material||!!this.value;return D`
|
|
715
715
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
716
716
|
${Gn(this.resolvedIcon)}
|
|
717
717
|
<slot ?hidden=${o}></slot>
|
|
718
718
|
</i>
|
|
719
|
-
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case
|
|
719
|
+
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Tt.file_format:this.resolvedIcon=(t=T[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Tt.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=(o=ge[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};gt.elementDefinitions={};gt.styles=cd;hn([E()],gt.prototype,"variant",void 0);hn([E()],gt.prototype,"value",void 0);hn([yt()],gt.prototype,"resolvedIcon",void 0);hn([J("slot")],gt.prototype,"slottedContent",void 0);X("ft-icon")(gt);var lr=class extends Z{render(){return D`
|
|
720
720
|
<div class="ft-loader">
|
|
721
721
|
<div></div>
|
|
722
722
|
<div></div>
|
|
723
723
|
<div></div>
|
|
724
724
|
<div></div>
|
|
725
725
|
</div>
|
|
726
|
-
`}};
|
|
726
|
+
`}};lr.styles=ld;X("ft-loader")(lr);var xt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},nt=class extends Ma(Z,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let i=D`
|
|
727
727
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
728
728
|
<ft-typography part="label"
|
|
729
729
|
variant=${this.typographyVariant}
|
|
730
730
|
element="span"
|
|
731
|
-
class="ft-button--label ${
|
|
731
|
+
class="ft-button--label ${sr?"ft-safari-ellipsis-fix":""}"
|
|
732
732
|
?hidden=${!this.hasTextContent()}>
|
|
733
733
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
734
734
|
</ft-typography>
|
|
735
735
|
${this.resolveIcon()}
|
|
736
|
-
`,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?
|
|
736
|
+
`,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?D`
|
|
737
737
|
<a href="${a}"
|
|
738
738
|
target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
|
|
739
739
|
part="button"
|
|
@@ -742,25 +742,25 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
742
742
|
?disabled=${this.isDisabled()}>
|
|
743
743
|
${i}
|
|
744
744
|
</a>
|
|
745
|
-
`:
|
|
745
|
+
`:D`
|
|
746
746
|
<button part="button"
|
|
747
747
|
class="${vt(this.buttonClasses)}"
|
|
748
748
|
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
749
749
|
?disabled=${this.isDisabled()}>
|
|
750
750
|
${i}
|
|
751
751
|
</button>
|
|
752
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
752
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?D`
|
|
753
753
|
<ft-tooltip part="tooltip"
|
|
754
754
|
text="${this.getLabel()}"
|
|
755
755
|
position="${this.tooltipPosition}">
|
|
756
756
|
${t}
|
|
757
757
|
</ft-tooltip>
|
|
758
|
-
`:t}resolveIcon(){return this.loading?
|
|
759
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
758
|
+
`:t}resolveIcon(){return this.loading?D`
|
|
759
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?D`
|
|
760
760
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
761
|
-
`:
|
|
761
|
+
`:D`
|
|
762
762
|
<slot part="icon" name="icon"></slot>
|
|
763
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return
|
|
763
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return Oe(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};nt.elementDefinitions={"ft-ripple":ot,"ft-tooltip":lt,"ft-typography":dt,"ft-icon":gt,"ft-loader":lr};xt([E()],nt.prototype,"href",void 0);xt([E()],nt.prototype,"target",void 0);xt([E({type:String,reflect:!0})],nt.prototype,"role",void 0);xt([E()],nt.prototype,"type",void 0);xt([E({type:Boolean})],nt.prototype,"disabled",void 0);xt([E()],nt.prototype,"label",void 0);xt([E()],nt.prototype,"icon",void 0);xt([E()],nt.prototype,"iconVariant",void 0);xt([E({type:Boolean})],nt.prototype,"trailingIcon",void 0);xt([E({type:Boolean})],nt.prototype,"loading",void 0);xt([E({attribute:"aria-label"})],nt.prototype,"ariaLabel",void 0);xt([E()],nt.prototype,"tooltipPosition",void 0);xt([E({type:Boolean})],nt.prototype,"hideTooltip",void 0);xt([E({type:Boolean})],nt.prototype,"forceTooltip",void 0);xt([J(".ft-button")],nt.prototype,"button",void 0);xt([J(".ft-button--label slot")],nt.prototype,"slottedContent",void 0);xt([J("[part=tooltip]")],nt.prototype,"tooltip",void 0);var yn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},qt=class extends nt{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"button"}};qt.styles=[rr,ud];yn([E({type:Boolean})],qt.prototype,"primary",void 0);yn([E({type:Boolean})],qt.prototype,"outlined",void 0);yn([E({type:Boolean})],qt.prototype,"dense",void 0);yn([E({type:Boolean})],qt.prototype,"round",void 0);var hd=[$`
|
|
764
764
|
:host {
|
|
765
765
|
display: inline-block;
|
|
766
766
|
max-width: 100%;
|
|
@@ -845,13 +845,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
845
845
|
/** Brand Primary styles **/
|
|
846
846
|
|
|
847
847
|
.ftds--family-brand.ft-button--primary {
|
|
848
|
-
${
|
|
848
|
+
${w(et.color,g.primaryBrandIconColor)};
|
|
849
849
|
|
|
850
|
-
${
|
|
851
|
-
${
|
|
852
|
-
${
|
|
853
|
-
${
|
|
854
|
-
${
|
|
850
|
+
${w(R.color,g.primaryBrandStateLayerColor)};
|
|
851
|
+
${w(R.opacityContentOnSurfaceHover,g.primaryBrandHoverStateLayerOpacity)};
|
|
852
|
+
${w(R.opacityContentOnSurfaceFocused,g.primaryBrandFocusStateLayerOpacity)};
|
|
853
|
+
${w(R.opacityContentOnSurfaceSelected,g.primaryBrandActiveStateLayerOpacity)};
|
|
854
|
+
${w(R.opacityContentOnSurfacePressed,g.primaryBrandActiveStateLayerOpacity)};
|
|
855
855
|
|
|
856
856
|
background-color: ${g.primaryBrandBackgroundColor};
|
|
857
857
|
color: ${g.primaryBrandColor};
|
|
@@ -869,13 +869,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
869
869
|
/** Brand Secondary styles **/
|
|
870
870
|
|
|
871
871
|
.ftds--family-brand.ft-button--secondary {
|
|
872
|
-
${
|
|
872
|
+
${w(et.color,g.secondaryBrandIconColor)};
|
|
873
873
|
|
|
874
|
-
${
|
|
875
|
-
${
|
|
876
|
-
${
|
|
877
|
-
${
|
|
878
|
-
${
|
|
874
|
+
${w(R.color,g.secondaryBrandStateLayerColor)};
|
|
875
|
+
${w(R.opacityContentOnSurfaceHover,g.secondaryBrandHoverStateLayerOpacity)};
|
|
876
|
+
${w(R.opacityContentOnSurfaceFocused,g.secondaryBrandFocusStateLayerOpacity)};
|
|
877
|
+
${w(R.opacityContentOnSurfaceSelected,g.secondaryBrandActiveStateLayerOpacity)};
|
|
878
|
+
${w(R.opacityContentOnSurfacePressed,g.secondaryBrandActiveStateLayerOpacity)};
|
|
879
879
|
|
|
880
880
|
background-color: ${g.secondaryBrandBackgroundColor};
|
|
881
881
|
color: ${g.secondaryBrandColor};
|
|
@@ -894,13 +894,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
894
894
|
/** Brand Tertiary styles **/
|
|
895
895
|
|
|
896
896
|
.ftds--family-brand.ft-button--tertiary {
|
|
897
|
-
${
|
|
897
|
+
${w(et.color,g.tertiaryBrandIconColor)};
|
|
898
898
|
|
|
899
|
-
${
|
|
900
|
-
${
|
|
901
|
-
${
|
|
902
|
-
${
|
|
903
|
-
${
|
|
899
|
+
${w(R.color,g.tertiaryBrandStateLayerColor)};
|
|
900
|
+
${w(R.opacityContentOnSurfaceHover,g.tertiaryBrandHoverStateLayerOpacity)};
|
|
901
|
+
${w(R.opacityContentOnSurfaceFocused,g.tertiaryBrandFocusStateLayerOpacity)};
|
|
902
|
+
${w(R.opacityContentOnSurfaceSelected,g.tertiaryBrandActiveStateLayerOpacity)};
|
|
903
|
+
${w(R.opacityContentOnSurfacePressed,g.tertiaryBrandActiveStateLayerOpacity)};
|
|
904
904
|
|
|
905
905
|
background-color: ${g.tertiaryBrandBackgroundColor};
|
|
906
906
|
color: ${g.tertiaryBrandColor};
|
|
@@ -918,13 +918,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
918
918
|
/** Neutral Secondary styles **/
|
|
919
919
|
|
|
920
920
|
.ftds--family-neutral.ft-button--secondary {
|
|
921
|
-
${
|
|
921
|
+
${w(et.color,g.secondaryNeutralIconColor)};
|
|
922
922
|
|
|
923
|
-
${
|
|
924
|
-
${
|
|
925
|
-
${
|
|
926
|
-
${
|
|
927
|
-
${
|
|
923
|
+
${w(R.backgroundColor,g.secondaryNeutralStateLayerColor)};
|
|
924
|
+
${w(R.opacityContentOnSurfaceHover,g.secondaryNeutralHoverStateLayerOpacity)};
|
|
925
|
+
${w(R.opacityContentOnSurfaceFocused,g.secondaryNeutralFocusStateLayerOpacity)};
|
|
926
|
+
${w(R.opacityContentOnSurfaceSelected,g.secondaryNeutralActiveStateLayerOpacity)};
|
|
927
|
+
${w(R.opacityContentOnSurfacePressed,g.secondaryNeutralActiveStateLayerOpacity)};
|
|
928
928
|
|
|
929
929
|
background-color: ${g.secondaryNeutralBackgroundColor};
|
|
930
930
|
color: ${g.secondaryNeutralColor};
|
|
@@ -943,13 +943,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
943
943
|
/** Neutral Tertiary styles **/
|
|
944
944
|
|
|
945
945
|
.ftds--family-neutral.ft-button--tertiary {
|
|
946
|
-
${
|
|
946
|
+
${w(et.color,g.tertiaryNeutralIconColor)};
|
|
947
947
|
|
|
948
|
-
${
|
|
949
|
-
${
|
|
950
|
-
${
|
|
951
|
-
${
|
|
952
|
-
${
|
|
948
|
+
${w(R.backgroundColor,g.tertiaryNeutralStateLayerColor)};
|
|
949
|
+
${w(R.opacityContentOnSurfaceHover,g.tertiaryNeutralHoverStateLayerOpacity)};
|
|
950
|
+
${w(R.opacityContentOnSurfaceFocused,g.tertiaryNeutralFocusStateLayerOpacity)};
|
|
951
|
+
${w(R.opacityContentOnSurfaceSelected,g.tertiaryNeutralActiveStateLayerOpacity)};
|
|
952
|
+
${w(R.opacityContentOnSurfacePressed,g.tertiaryNeutralActiveStateLayerOpacity)};
|
|
953
953
|
|
|
954
954
|
background-color: ${g.tertiaryNeutralBackgroundColor};
|
|
955
955
|
color: ${g.tertiaryNeutralColor};
|
|
@@ -967,13 +967,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
967
967
|
/** Info Secondary styles **/
|
|
968
968
|
|
|
969
969
|
.ftds--family-info.ft-button--secondary {
|
|
970
|
-
${
|
|
970
|
+
${w(et.color,g.secondaryInfoIconColor)};
|
|
971
971
|
|
|
972
|
-
${
|
|
973
|
-
${
|
|
974
|
-
${
|
|
975
|
-
${
|
|
976
|
-
${
|
|
972
|
+
${w(R.backgroundColor,g.secondaryInfoStateLayerColor)};
|
|
973
|
+
${w(R.opacityContentOnSurfaceHover,g.secondaryInfoHoverStateLayerOpacity)};
|
|
974
|
+
${w(R.opacityContentOnSurfaceFocused,g.secondaryInfoFocusStateLayerOpacity)};
|
|
975
|
+
${w(R.opacityContentOnSurfaceSelected,g.secondaryInfoActiveStateLayerOpacity)};
|
|
976
|
+
${w(R.opacityContentOnSurfacePressed,g.secondaryInfoActiveStateLayerOpacity)};
|
|
977
977
|
|
|
978
978
|
background-color: ${g.secondaryInfoBackgroundColor};
|
|
979
979
|
color: ${g.secondaryInfoColor};
|
|
@@ -992,13 +992,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
992
992
|
/** Info Tertiary styles **/
|
|
993
993
|
|
|
994
994
|
.ftds--family-info.ft-button--tertiary {
|
|
995
|
-
${
|
|
995
|
+
${w(et.color,g.tertiaryInfoIconColor)};
|
|
996
996
|
|
|
997
|
-
${
|
|
998
|
-
${
|
|
999
|
-
${
|
|
1000
|
-
${
|
|
1001
|
-
${
|
|
997
|
+
${w(R.backgroundColor,g.tertiaryInfoStateLayerColor)};
|
|
998
|
+
${w(R.opacityContentOnSurfaceHover,g.tertiaryInfoHoverStateLayerOpacity)};
|
|
999
|
+
${w(R.opacityContentOnSurfaceFocused,g.tertiaryInfoFocusStateLayerOpacity)};
|
|
1000
|
+
${w(R.opacityContentOnSurfaceSelected,g.tertiaryInfoActiveStateLayerOpacity)};
|
|
1001
|
+
${w(R.opacityContentOnSurfacePressed,g.tertiaryInfoActiveStateLayerOpacity)};
|
|
1002
1002
|
|
|
1003
1003
|
background-color: ${g.tertiaryInfoBackgroundColor};
|
|
1004
1004
|
color: ${g.tertiaryInfoColor};
|
|
@@ -1016,13 +1016,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1016
1016
|
/** Success Secondary styles **/
|
|
1017
1017
|
|
|
1018
1018
|
.ftds--family-success.ft-button--secondary {
|
|
1019
|
-
${
|
|
1019
|
+
${w(et.color,g.secondarySuccessIconColor)};
|
|
1020
1020
|
|
|
1021
|
-
${
|
|
1022
|
-
${
|
|
1023
|
-
${
|
|
1024
|
-
${
|
|
1025
|
-
${
|
|
1021
|
+
${w(R.backgroundColor,g.secondarySuccessStateLayerColor)};
|
|
1022
|
+
${w(R.opacityContentOnSurfaceHover,g.secondarySuccessHoverStateLayerOpacity)};
|
|
1023
|
+
${w(R.opacityContentOnSurfaceFocused,g.secondarySuccessFocusStateLayerOpacity)};
|
|
1024
|
+
${w(R.opacityContentOnSurfaceSelected,g.secondarySuccessActiveStateLayerOpacity)};
|
|
1025
|
+
${w(R.opacityContentOnSurfacePressed,g.secondarySuccessActiveStateLayerOpacity)};
|
|
1026
1026
|
|
|
1027
1027
|
background-color: ${g.secondarySuccessBackgroundColor};
|
|
1028
1028
|
color: ${g.secondarySuccessColor};
|
|
@@ -1041,13 +1041,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1041
1041
|
/** Success Tertiary styles **/
|
|
1042
1042
|
|
|
1043
1043
|
.ftds--family-success.ft-button--tertiary {
|
|
1044
|
-
${
|
|
1044
|
+
${w(et.color,g.tertiarySuccessIconColor)};
|
|
1045
1045
|
|
|
1046
|
-
${
|
|
1047
|
-
${
|
|
1048
|
-
${
|
|
1049
|
-
${
|
|
1050
|
-
${
|
|
1046
|
+
${w(R.backgroundColor,g.tertiarySuccessStateLayerColor)};
|
|
1047
|
+
${w(R.opacityContentOnSurfaceHover,g.tertiarySuccessHoverStateLayerOpacity)};
|
|
1048
|
+
${w(R.opacityContentOnSurfaceFocused,g.tertiarySuccessFocusStateLayerOpacity)};
|
|
1049
|
+
${w(R.opacityContentOnSurfaceSelected,g.tertiarySuccessActiveStateLayerOpacity)};
|
|
1050
|
+
${w(R.opacityContentOnSurfacePressed,g.tertiarySuccessActiveStateLayerOpacity)};
|
|
1051
1051
|
|
|
1052
1052
|
background-color: ${g.tertiarySuccessBackgroundColor};
|
|
1053
1053
|
color: ${g.tertiarySuccessColor};
|
|
@@ -1065,13 +1065,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1065
1065
|
/** Warning Secondary styles **/
|
|
1066
1066
|
|
|
1067
1067
|
.ftds--family-warning.ft-button--secondary {
|
|
1068
|
-
${
|
|
1068
|
+
${w(et.color,g.secondaryWarningIconColor)};
|
|
1069
1069
|
|
|
1070
|
-
${
|
|
1071
|
-
${
|
|
1072
|
-
${
|
|
1073
|
-
${
|
|
1074
|
-
${
|
|
1070
|
+
${w(R.backgroundColor,g.secondaryWarningStateLayerColor)};
|
|
1071
|
+
${w(R.opacityContentOnSurfaceHover,g.secondaryWarningHoverStateLayerOpacity)};
|
|
1072
|
+
${w(R.opacityContentOnSurfaceFocused,g.secondaryWarningFocusStateLayerOpacity)};
|
|
1073
|
+
${w(R.opacityContentOnSurfaceSelected,g.secondaryWarningActiveStateLayerOpacity)};
|
|
1074
|
+
${w(R.opacityContentOnSurfacePressed,g.secondaryWarningActiveStateLayerOpacity)};
|
|
1075
1075
|
|
|
1076
1076
|
background-color: ${g.secondaryWarningBackgroundColor};
|
|
1077
1077
|
color: ${g.secondaryWarningColor};
|
|
@@ -1090,13 +1090,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1090
1090
|
/** Warning Tertiary styles **/
|
|
1091
1091
|
|
|
1092
1092
|
.ftds--family-warning.ft-button--tertiary {
|
|
1093
|
-
${
|
|
1093
|
+
${w(et.color,g.tertiaryWarningIconColor)};
|
|
1094
1094
|
|
|
1095
|
-
${
|
|
1096
|
-
${
|
|
1097
|
-
${
|
|
1098
|
-
${
|
|
1099
|
-
${
|
|
1095
|
+
${w(R.backgroundColor,g.tertiaryWarningStateLayerColor)};
|
|
1096
|
+
${w(R.opacityContentOnSurfaceHover,g.tertiaryWarningHoverStateLayerOpacity)};
|
|
1097
|
+
${w(R.opacityContentOnSurfaceFocused,g.tertiaryWarningFocusStateLayerOpacity)};
|
|
1098
|
+
${w(R.opacityContentOnSurfaceSelected,g.tertiaryWarningActiveStateLayerOpacity)};
|
|
1099
|
+
${w(R.opacityContentOnSurfacePressed,g.tertiaryWarningActiveStateLayerOpacity)};
|
|
1100
1100
|
|
|
1101
1101
|
background-color: ${g.tertiaryWarningBackgroundColor};
|
|
1102
1102
|
color: ${g.tertiaryWarningColor};
|
|
@@ -1114,13 +1114,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1114
1114
|
/** Error Secondary styles **/
|
|
1115
1115
|
|
|
1116
1116
|
.ftds--family-error.ft-button--secondary {
|
|
1117
|
-
${
|
|
1117
|
+
${w(et.color,g.secondaryErrorIconColor)};
|
|
1118
1118
|
|
|
1119
|
-
${
|
|
1120
|
-
${
|
|
1121
|
-
${
|
|
1122
|
-
${
|
|
1123
|
-
${
|
|
1119
|
+
${w(R.backgroundColor,g.secondaryErrorStateLayerColor)};
|
|
1120
|
+
${w(R.opacityContentOnSurfaceHover,g.secondaryErrorHoverStateLayerOpacity)};
|
|
1121
|
+
${w(R.opacityContentOnSurfaceFocused,g.secondaryErrorFocusStateLayerOpacity)};
|
|
1122
|
+
${w(R.opacityContentOnSurfaceSelected,g.secondaryErrorActiveStateLayerOpacity)};
|
|
1123
|
+
${w(R.opacityContentOnSurfacePressed,g.secondaryErrorActiveStateLayerOpacity)};
|
|
1124
1124
|
|
|
1125
1125
|
background-color: ${g.secondaryErrorBackgroundColor};
|
|
1126
1126
|
color: ${g.secondaryErrorColor};
|
|
@@ -1139,13 +1139,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1139
1139
|
/** Error Tertiary styles **/
|
|
1140
1140
|
|
|
1141
1141
|
.ftds--family-error.ft-button--tertiary {
|
|
1142
|
-
${
|
|
1142
|
+
${w(et.color,g.tertiaryErrorIconColor)};
|
|
1143
1143
|
|
|
1144
|
-
${
|
|
1145
|
-
${
|
|
1146
|
-
${
|
|
1147
|
-
${
|
|
1148
|
-
${
|
|
1144
|
+
${w(R.backgroundColor,g.tertiaryErrorStateLayerColor)};
|
|
1145
|
+
${w(R.opacityContentOnSurfaceHover,g.tertiaryErrorHoverStateLayerOpacity)};
|
|
1146
|
+
${w(R.opacityContentOnSurfaceFocused,g.tertiaryErrorFocusStateLayerOpacity)};
|
|
1147
|
+
${w(R.opacityContentOnSurfaceSelected,g.tertiaryErrorActiveStateLayerOpacity)};
|
|
1148
|
+
${w(R.opacityContentOnSurfacePressed,g.tertiaryErrorActiveStateLayerOpacity)};
|
|
1149
1149
|
|
|
1150
1150
|
background-color: ${g.tertiaryErrorBackgroundColor};
|
|
1151
1151
|
color: ${g.tertiaryErrorColor};
|
|
@@ -1163,8 +1163,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1163
1163
|
/** Large styles **/
|
|
1164
1164
|
|
|
1165
1165
|
.ftds--size-large {
|
|
1166
|
-
${
|
|
1167
|
-
${
|
|
1166
|
+
${w(rt.size,g.largeIconSize)};
|
|
1167
|
+
${w(et.size,g.largeIconSize)};
|
|
1168
1168
|
|
|
1169
1169
|
height: ${g.largeHeight};
|
|
1170
1170
|
padding: 0 ${g.largeHorizontalPadding};
|
|
@@ -1185,8 +1185,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1185
1185
|
/** Small styles **/
|
|
1186
1186
|
|
|
1187
1187
|
.ftds--size-medium {
|
|
1188
|
-
${
|
|
1189
|
-
${
|
|
1188
|
+
${w(rt.size,g.mediumIconSize)};
|
|
1189
|
+
${w(et.size,g.mediumIconSize)};
|
|
1190
1190
|
|
|
1191
1191
|
height: ${g.mediumHeight};
|
|
1192
1192
|
padding: 0 ${g.mediumHorizontalPadding};
|
|
@@ -1208,8 +1208,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1208
1208
|
/** Small styles **/
|
|
1209
1209
|
|
|
1210
1210
|
.ftds--size-small {
|
|
1211
|
-
${
|
|
1212
|
-
${
|
|
1211
|
+
${w(rt.size,g.smallIconSize)};
|
|
1212
|
+
${w(et.size,g.smallIconSize)};
|
|
1213
1213
|
|
|
1214
1214
|
height: ${g.smallHeight};
|
|
1215
1215
|
padding: 0 ${g.smallHorizontalPadding};
|
|
@@ -1226,7 +1226,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1226
1226
|
.ftds--size-small.ft-button--icon-only {
|
|
1227
1227
|
width: ${g.smallIconOnlyWidth};
|
|
1228
1228
|
}
|
|
1229
|
-
`,
|
|
1229
|
+
`,er];var mn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},kt=class extends tn(nt){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=St.brand,this.iconVariant=Tt.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 Q.large:return ht.body2medium;case Q.medium:return ht.caption1medium;case Q.small:return ht.caption2medium}}};kt.styles=[rr,hd];mn([E({type:Boolean})],kt.prototype,"primary",void 0);mn([E({type:Boolean})],kt.prototype,"secondary",void 0);mn([E({type:Boolean})],kt.prototype,"tertiary",void 0);mn([E({type:Boolean})],kt.prototype,"round",void 0);X("ft-button")(qt);X("ftds-button")(kt);var yd=$`
|
|
1230
1230
|
:host {
|
|
1231
1231
|
position: relative;
|
|
1232
1232
|
display: inline-block;
|
|
@@ -1305,18 +1305,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1305
1305
|
.ftds-popover--wrapper-positioned {
|
|
1306
1306
|
visibility: visible;
|
|
1307
1307
|
}
|
|
1308
|
-
`;var
|
|
1308
|
+
`;var Dt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},pt=class extends Z{constructor(){super(...arguments),this.popoverOpenTriggeredWithKeyboard=!1,this.heading="",this.closeButtonLabel="close info",this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Q.medium,this.openButtonFamily=St.info,this.watchFocusIn=t=>{t.composedPath().includes(this.popoverWrapper)||this.close()},this.watchEscapeKey=t=>{t.key==="Escape"&&(this.close(),this.openingButton.focus())},this.closeAndFocusOpeningButton=t=>{this.close(),t.pointerType?this.openingButton.focusWithoutTooltip():this.openingButton.focus()}}render(){let t={"ftds-popover":!0,"ftds-popover--opened":this.opened};return this.hidden?G:D`
|
|
1309
1309
|
<div part="container" class="${vt(t)}">
|
|
1310
1310
|
<ftds-button @focusin="${this.close}"
|
|
1311
1311
|
part="opening-button"
|
|
1312
1312
|
size="${this.openButtonSize}" family="${this.openButtonFamily}" label="${this.openButtonLabel}"
|
|
1313
|
-
tooltipposition="${this.openButtonTooltipPosition}" icon="${
|
|
1313
|
+
tooltipposition="${this.openButtonTooltipPosition}" icon="${ge.CIRCLE_QUESTION}"
|
|
1314
1314
|
aria-haspopup="true" aria-expanded="${this.opened}" aria-controls="ftds-popover-dialog"
|
|
1315
1315
|
@click=${this.open}>
|
|
1316
1316
|
</ftds-button>
|
|
1317
1317
|
${this.renderPopover()}
|
|
1318
1318
|
</div>
|
|
1319
|
-
`}renderPopover(){return this.opened?
|
|
1319
|
+
`}renderPopover(){return this.opened?D`
|
|
1320
1320
|
<div class="ftds-popover--container">
|
|
1321
1321
|
<div class="ftds-popover--overlay" part="overlay" @click="${this.close}"></div>
|
|
1322
1322
|
<div class="ftds-popover--wrapper" part="wrapper" role="dialog" id="ftds-popover-dialog"
|
|
@@ -1339,16 +1339,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1339
1339
|
</ft-typography>
|
|
1340
1340
|
</div>
|
|
1341
1341
|
</div>
|
|
1342
|
-
`:G}renderClosingButton(){return
|
|
1342
|
+
`:G}renderClosingButton(){return D`
|
|
1343
1343
|
<div class="ftds-popover--closing-button">
|
|
1344
|
-
<ftds-button icon="${
|
|
1344
|
+
<ftds-button icon="${ge.CLOSE}" size="${Q.small}" family="${St.neutral}"
|
|
1345
1345
|
part="closing-button" label="${this.closeButtonLabel}" @click=${this.closeAndFocusOpeningButton}></ftds-button>
|
|
1346
1346
|
</div>
|
|
1347
|
-
`}renderHeading(){return this.heading?
|
|
1347
|
+
`}renderHeading(){return this.heading?D`
|
|
1348
1348
|
<div class="ftds-popover--heading" part="heading" id="ftds-popover-heading">
|
|
1349
1349
|
<ft-typography element="span" variant="body-2-semibold">${this.heading}</ft-typography>
|
|
1350
1350
|
</div>
|
|
1351
|
-
`:G}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(t){this.popoverOpenTriggeredWithKeyboard=!t.pointerType,this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasTextLinkContent(){return
|
|
1351
|
+
`:G}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(t){this.popoverOpenTriggeredWithKeyboard=!t.pointerType,this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasTextLinkContent(){return Oe(this.slottedLinkContent).trim().length>0}async positionWrapper(){this.popoverWrapper.classList.remove("ftds-popover--wrapper-positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="";let t=this.openingButton,o=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:n,y:i}=await Xi(t,this.popoverWrapper,"bottom-start",o,"fixed");this.popoverWrapper.style.left=`${n}px`,this.popoverWrapper.style.top=`${i}px`,this.popoverWrapper.classList.add("ftds-popover--wrapper-positioned"),this.popoverLinkTypography.hidden=!this.hasTextLinkContent(),this.popoverOpenTriggeredWithKeyboard?this.closingButton.focus():this.closingButton.focusWithoutTooltip()}};pt.elementDefinitions={"ft-typography":dt,"ftds-button":kt};pt.styles=yd;Dt([E({type:String})],pt.prototype,"heading",void 0);Dt([E({type:String})],pt.prototype,"closeButtonLabel",void 0);Dt([E({type:String})],pt.prototype,"openButtonLabel",void 0);Dt([E({type:String})],pt.prototype,"openButtonTooltipPosition",void 0);Dt([E({type:Boolean})],pt.prototype,"opened",void 0);Dt([E({type:Boolean})],pt.prototype,"hidden",void 0);Dt([E({type:Q})],pt.prototype,"openButtonSize",void 0);Dt([E({type:St})],pt.prototype,"openButtonFamily",void 0);Dt([J("[part=opening-button]")],pt.prototype,"openingButton",void 0);Dt([J("[part=closing-button]")],pt.prototype,"closingButton",void 0);Dt([J("[part=wrapper]")],pt.prototype,"popoverWrapper",void 0);Dt([J("[part=popover-link]")],pt.prototype,"slottedLinkContent",void 0);Dt([J("[part=popover-link-typography]")],pt.prototype,"popoverLinkTypography",void 0);X("ftds-popover")(pt);var md=r.extend("--ft-chip-color","",K.colorOnSurface),Bt={backgroundColor:r.extend("--ft-chip-background-color","",K.colorSurface),color:md,fontSize:r.extend("--ft-chip-font-size","",Ht.fontSize),fontWeight:r.extend("--ft-chip-font-weight","",Ht.fontWeight),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",md),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:r.extend("--ft-chip-border-color","",K.colorOutline),opacityDisabled:r.external(K.colorOpacityDisabled,"Design system")},gd=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",K.colorOnPrimary)),qa={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",K.colorPrimary)),color:gd,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",gd)},bd={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},xd=[er,$`
|
|
1352
1352
|
:host {
|
|
1353
1353
|
display: inline-block;
|
|
1354
1354
|
max-width: 100%;
|
|
@@ -1367,7 +1367,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1367
1367
|
--ft-chip-internal-font-size: ${Bt.fontSize};
|
|
1368
1368
|
--ft-chip-internal-font-weight: ${Bt.fontWeight};
|
|
1369
1369
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1370
|
-
${
|
|
1370
|
+
${w(rt.size,Bt.iconSize)};
|
|
1371
1371
|
--ft-chip-internal-vertical-padding: ${Bt.verticalPadding};
|
|
1372
1372
|
--ft-chip-internal-horizontal-padding: ${Bt.horizontalPadding};
|
|
1373
1373
|
--ft-chip-internal-icon-padding: 3px;
|
|
@@ -1375,8 +1375,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1375
1375
|
|
|
1376
1376
|
border: 1px solid ${Bt.borderColor};
|
|
1377
1377
|
color: ${Bt.color};
|
|
1378
|
-
${
|
|
1379
|
-
border-radius: var(${
|
|
1378
|
+
${w(R.color,Bt.rippleColor)};
|
|
1379
|
+
border-radius: var(${se(Bt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
1380
1380
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
1381
1381
|
background-color: ${Bt.backgroundColor};
|
|
1382
1382
|
line-height: var(--ft-chip-internal-content-height);
|
|
@@ -1388,8 +1388,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1388
1388
|
|
|
1389
1389
|
.ft-chip--dense {
|
|
1390
1390
|
--ft-chip-internal-icon-padding: 3px;
|
|
1391
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1392
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1391
|
+
--ft-chip-internal-vertical-padding: ${bd.verticalPadding};
|
|
1392
|
+
--ft-chip-internal-horizontal-padding: ${bd.horizontalPadding};
|
|
1393
1393
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1394
1394
|
}
|
|
1395
1395
|
|
|
@@ -1407,9 +1407,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1407
1407
|
.ft-chip--highlighted {
|
|
1408
1408
|
border: none;
|
|
1409
1409
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
1410
|
-
background-color: ${
|
|
1411
|
-
${
|
|
1412
|
-
color: ${
|
|
1410
|
+
background-color: ${qa.backgroundColor};
|
|
1411
|
+
${w(R.color,qa.rippleColor)};
|
|
1412
|
+
color: ${qa.color};
|
|
1413
1413
|
}
|
|
1414
1414
|
|
|
1415
1415
|
.ft-chip--clickable {
|
|
@@ -1440,9 +1440,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
1442
|
.ft-chip--icon-button {
|
|
1443
|
-
${
|
|
1444
|
-
${
|
|
1445
|
-
${
|
|
1443
|
+
${w(st.iconSize,Bt.iconSize)};
|
|
1444
|
+
${w(st.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1445
|
+
${w(st.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1446
1446
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
1447
1447
|
}
|
|
1448
1448
|
|
|
@@ -1450,9 +1450,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1450
1450
|
vertical-align: bottom;
|
|
1451
1451
|
display: block;
|
|
1452
1452
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
1453
|
-
${
|
|
1454
|
-
${
|
|
1455
|
-
${
|
|
1453
|
+
${w(Ht.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
1454
|
+
${w(Ht.fontWeight,"var(--ft-chip-internal-font-weight)")};
|
|
1455
|
+
${w(Ht.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
1456
1456
|
}
|
|
1457
1457
|
|
|
1458
1458
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1488,7 +1488,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1488
1488
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1489
1489
|
order: -1;
|
|
1490
1490
|
}
|
|
1491
|
-
`];var
|
|
1491
|
+
`];var Ut=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},gn=class extends CustomEvent{constructor(){super("icon-click")}},mt=class extends Z{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":sr};return D`
|
|
1492
1492
|
<div class="${vt(t)}"
|
|
1493
1493
|
aria-label="${this.getLabel()}"
|
|
1494
1494
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -1500,7 +1500,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1500
1500
|
</ft-typography>
|
|
1501
1501
|
${this.internalIcon?this.renderIcon():null}
|
|
1502
1502
|
</div>
|
|
1503
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
1503
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?D`
|
|
1504
1504
|
<ft-button round
|
|
1505
1505
|
class="ft-chip--icon-button"
|
|
1506
1506
|
@click=${this.onIconClick}
|
|
@@ -1510,11 +1510,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1510
1510
|
tooltipposition="top"
|
|
1511
1511
|
part="icon-button"
|
|
1512
1512
|
></ft-button>
|
|
1513
|
-
`:
|
|
1513
|
+
`:D`
|
|
1514
1514
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1515
1515
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1516
1516
|
</div>
|
|
1517
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new gn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new gn))}getLabel(){return this.label||this.textContent}get textContent(){return
|
|
1517
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new gn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new gn))}getLabel(){return this.label||this.textContent}get textContent(){return Oe(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};mt.elementDefinitions={"ft-ripple":ot,"ft-typography":dt,"ft-icon":gt,"ft-button":qt};mt.styles=xd;Ut([E({type:Boolean})],mt.prototype,"highlighted",void 0);Ut([E({type:Boolean})],mt.prototype,"removable",void 0);Ut([E({type:Boolean})],mt.prototype,"disabled",void 0);Ut([E({type:Boolean})],mt.prototype,"clickable",void 0);Ut([E({type:Boolean})],mt.prototype,"iconClickable",void 0);Ut([E({type:Boolean})],mt.prototype,"dense",void 0);Ut([E({type:Boolean})],mt.prototype,"multiLine",void 0);Ut([E()],mt.prototype,"label",void 0);Ut([E()],mt.prototype,"iconLabel",void 0);Ut([E()],mt.prototype,"icon",void 0);Ut([E()],mt.prototype,"iconVariant",void 0);Ut([E({type:Boolean})],mt.prototype,"trailingIcon",void 0);Ut([J("ft-typography slot")],mt.prototype,"slottedContent",void 0);var vd=[$`
|
|
1518
1518
|
:host {
|
|
1519
1519
|
display: inline-block;
|
|
1520
1520
|
max-width: 100%;
|
|
@@ -1532,95 +1532,95 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1532
1532
|
|
|
1533
1533
|
/* MEDIUM VARIANT */
|
|
1534
1534
|
.ftds--size-medium {
|
|
1535
|
-
min-height: ${
|
|
1536
|
-
padding: 0 ${
|
|
1537
|
-
border-radius: ${
|
|
1538
|
-
border-width: ${
|
|
1535
|
+
min-height: ${j.mediumMinHeight};
|
|
1536
|
+
padding: 0 ${j.mediumHorizontalPadding};
|
|
1537
|
+
border-radius: ${j.mediumBorderRadius};
|
|
1538
|
+
border-width: ${j.mediumBorderWidth};
|
|
1539
1539
|
border-style: solid;
|
|
1540
|
-
gap: ${
|
|
1541
|
-
${
|
|
1540
|
+
gap: ${j.mediumGap};
|
|
1541
|
+
${w(rt.size,j.mediumIconSize)}
|
|
1542
1542
|
}
|
|
1543
1543
|
|
|
1544
1544
|
.ftds--size-medium.ftds-chip--removable {
|
|
1545
|
-
padding-right: ${
|
|
1545
|
+
padding-right: ${j.mediumButtonRightPadding};
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
1548
|
|
|
1549
1549
|
/* LARGE VARIANT */
|
|
1550
1550
|
.ftds--size-large {
|
|
1551
|
-
min-height: ${
|
|
1552
|
-
padding: 0 ${
|
|
1553
|
-
border-radius: ${
|
|
1554
|
-
border-width: ${
|
|
1551
|
+
min-height: ${j.largeMinHeight};
|
|
1552
|
+
padding: 0 ${j.largeHorizontalPadding};
|
|
1553
|
+
border-radius: ${j.largeBorderRadius};
|
|
1554
|
+
border-width: ${j.largeBorderWidth};
|
|
1555
1555
|
border-style: solid;
|
|
1556
|
-
gap: ${
|
|
1557
|
-
${
|
|
1556
|
+
gap: ${j.largeGap};
|
|
1557
|
+
${w(rt.size,j.largeIconSize)}
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
1560
|
.ftds--size-large.ftds-chip--removable {
|
|
1561
|
-
padding-right: ${
|
|
1561
|
+
padding-right: ${j.largeButtonRightPadding};
|
|
1562
1562
|
}
|
|
1563
1563
|
|
|
1564
1564
|
|
|
1565
1565
|
/* NEUTRAL COLORS */
|
|
1566
1566
|
.ftds--family-neutral {
|
|
1567
|
-
background-color: ${
|
|
1568
|
-
border-color: ${
|
|
1569
|
-
color: ${
|
|
1567
|
+
background-color: ${j.neutralBackgroundColor};
|
|
1568
|
+
border-color: ${j.neutralBorderColor};
|
|
1569
|
+
color: ${j.neutralColor};
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
1572
|
.ftds--family-neutral .ftds-chip--icon-container {
|
|
1573
|
-
color: ${
|
|
1573
|
+
color: ${j.neutralIconColor};
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
1576
|
|
|
1577
1577
|
/* INFO COLORS */
|
|
1578
1578
|
.ftds--family-info {
|
|
1579
|
-
background-color: ${
|
|
1580
|
-
border-color: ${
|
|
1581
|
-
color: ${
|
|
1579
|
+
background-color: ${j.infoBackgroundColor};
|
|
1580
|
+
border-color: ${j.infoBorderColor};
|
|
1581
|
+
color: ${j.infoColor};
|
|
1582
1582
|
}
|
|
1583
1583
|
|
|
1584
1584
|
.ftds--family-info .ftds-chip--icon-container {
|
|
1585
|
-
color: ${
|
|
1585
|
+
color: ${j.infoIconColor};
|
|
1586
1586
|
}
|
|
1587
1587
|
|
|
1588
1588
|
|
|
1589
1589
|
/* SUCCESS COLORS */
|
|
1590
1590
|
.ftds--family-success {
|
|
1591
|
-
background-color: ${
|
|
1592
|
-
border-color: ${
|
|
1593
|
-
color: ${
|
|
1591
|
+
background-color: ${j.successBackgroundColor};
|
|
1592
|
+
border-color: ${j.successBorderColor};
|
|
1593
|
+
color: ${j.successColor};
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
1596
|
.ftds--family-success .ftds-chip--icon-container {
|
|
1597
|
-
color: ${
|
|
1597
|
+
color: ${j.successIconColor};
|
|
1598
1598
|
}
|
|
1599
1599
|
|
|
1600
1600
|
|
|
1601
1601
|
/* WARNING COLORS */
|
|
1602
1602
|
.ftds--family-warning {
|
|
1603
|
-
background-color: ${
|
|
1604
|
-
border-color: ${
|
|
1605
|
-
color: ${
|
|
1603
|
+
background-color: ${j.warningBackgroundColor};
|
|
1604
|
+
border-color: ${j.warningBorderColor};
|
|
1605
|
+
color: ${j.warningColor};
|
|
1606
1606
|
}
|
|
1607
1607
|
|
|
1608
1608
|
.ftds--family-warning .ftds-chip--icon-container {
|
|
1609
|
-
color: ${
|
|
1609
|
+
color: ${j.warningIconColor};
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
1612
|
|
|
1613
1613
|
/* ERROR COLORS */
|
|
1614
1614
|
.ftds--family-error {
|
|
1615
|
-
background-color: ${
|
|
1616
|
-
border-color: ${
|
|
1617
|
-
color: ${
|
|
1615
|
+
background-color: ${j.errorBackgroundColor};
|
|
1616
|
+
border-color: ${j.errorBorderColor};
|
|
1617
|
+
color: ${j.errorColor};
|
|
1618
1618
|
}
|
|
1619
1619
|
|
|
1620
1620
|
.ftds--family-error .ftds-chip--icon-container {
|
|
1621
|
-
color: ${
|
|
1621
|
+
color: ${j.errorIconColor};
|
|
1622
1622
|
}
|
|
1623
|
-
`];var
|
|
1623
|
+
`];var xo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ya=class extends CustomEvent{constructor(){super("remove")}},Mt=class extends Qe{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return D`
|
|
1624
1624
|
<div class="${vt(t)}"
|
|
1625
1625
|
aria-label="${this.getLabel()}"
|
|
1626
1626
|
part="chip">
|
|
@@ -1630,21 +1630,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1630
1630
|
</ft-typography>
|
|
1631
1631
|
${this.renderRemoveButton()}
|
|
1632
1632
|
</div>
|
|
1633
|
-
`}renderIcon(){return this.icon?
|
|
1633
|
+
`}renderIcon(){return this.icon?D`
|
|
1634
1634
|
<div class="ftds-chip--icon-container" part="icon-container">
|
|
1635
|
-
<ft-icon .variant=${
|
|
1635
|
+
<ft-icon .variant=${Tt.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
1636
1636
|
</div>
|
|
1637
|
-
`:G}renderRemoveButton(){return this.removable?
|
|
1637
|
+
`:G}renderRemoveButton(){return this.removable?D`
|
|
1638
1638
|
<ftds-button round
|
|
1639
1639
|
class="ftds-chip--remove-button"
|
|
1640
1640
|
@click=${this.dispatchRemoveEvent}
|
|
1641
|
-
icon=${
|
|
1641
|
+
icon=${ge.X_MARK}
|
|
1642
1642
|
label=${this.removeButtonLabel}
|
|
1643
1643
|
family=${St.neutral}
|
|
1644
1644
|
size=${this.resolveButtonSize()}
|
|
1645
1645
|
part="icon-button"
|
|
1646
1646
|
></ftds-button>
|
|
1647
|
-
`:G}resolveButtonSize(){switch(this.size){case Q.large:return Q.medium;case Q.medium:case Q.small:return Q.small}}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new
|
|
1647
|
+
`:G}resolveButtonSize(){switch(this.size){case Q.large:return Q.medium;case Q.medium:case Q.small:return Q.small}}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Ya)}typographyVariant(){switch(this.size){case Q.large:return ht.body2medium;case Q.medium:return ht.caption1medium;case Q.small:return ht.caption2medium}}};Mt.elementDefinitions={"ft-typography":dt,"ft-icon":gt,"ftds-button":kt};Mt.styles=vd;xo([E({type:Boolean})],Mt.prototype,"removable",void 0);xo([E()],Mt.prototype,"removeButtonLabel",void 0);xo([E()],Mt.prototype,"label",void 0);xo([E()],Mt.prototype,"icon",void 0);xo([J("ft-typography slot")],Mt.prototype,"slottedContent",void 0);X("ft-chip")(mt);X("ftds-chip")(Mt);var Sd=$`
|
|
1648
1648
|
|
|
1649
1649
|
.ftds-link {
|
|
1650
1650
|
display: inline-flex;
|
|
@@ -1666,76 +1666,76 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1666
1666
|
.ftds-link--variant-caption-2-semibold,
|
|
1667
1667
|
.ftds-link--variant-caption-2-bold
|
|
1668
1668
|
{
|
|
1669
|
-
${
|
|
1669
|
+
${w(rt.size,"14px")};
|
|
1670
1670
|
}
|
|
1671
1671
|
|
|
1672
1672
|
.ftds-link--variant-caption-1-medium,
|
|
1673
1673
|
.ftds-link--variant-caption-1-semibold,
|
|
1674
1674
|
.ftds-link--variant-caption-1-bold
|
|
1675
1675
|
{
|
|
1676
|
-
${
|
|
1676
|
+
${w(rt.size,"16px")};
|
|
1677
1677
|
}
|
|
1678
1678
|
|
|
1679
1679
|
.ftds-link--variant-body-2-medium,
|
|
1680
1680
|
.ftds-link--variant-body-2-semibold,
|
|
1681
1681
|
.ftds-link--variant-body-2-regular
|
|
1682
1682
|
{
|
|
1683
|
-
${
|
|
1683
|
+
${w(rt.size,"18px")};
|
|
1684
1684
|
}
|
|
1685
1685
|
|
|
1686
1686
|
.ftds--family-neutral {
|
|
1687
|
-
color: ${
|
|
1687
|
+
color: ${ut.neutralDefaultColor};
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
1690
|
.ftds--family-neutral:hover {
|
|
1691
|
-
color: ${
|
|
1691
|
+
color: ${ut.neutralHoverColor};
|
|
1692
1692
|
}
|
|
1693
1693
|
|
|
1694
1694
|
.ftds--family-neutral:focus-visible {
|
|
1695
|
-
color: ${
|
|
1696
|
-
outline-color: ${
|
|
1695
|
+
color: ${ut.neutralFocusColor};
|
|
1696
|
+
outline-color: ${ut.neutralFocusFocusRingColor};
|
|
1697
1697
|
}
|
|
1698
1698
|
|
|
1699
1699
|
.ftds--family-neutral:active {
|
|
1700
|
-
color: ${
|
|
1700
|
+
color: ${ut.neutralActiveColor};
|
|
1701
1701
|
}
|
|
1702
1702
|
|
|
1703
1703
|
.ftds--family-info {
|
|
1704
|
-
color: ${
|
|
1704
|
+
color: ${ut.infoDefaultColor};
|
|
1705
1705
|
}
|
|
1706
1706
|
|
|
1707
1707
|
.ftds--family-info:hover {
|
|
1708
|
-
color: ${
|
|
1709
|
-
opacity: ${
|
|
1708
|
+
color: ${ut.infoHoverColor};
|
|
1709
|
+
opacity: ${ut.infoHoverOpacity};
|
|
1710
1710
|
}
|
|
1711
1711
|
|
|
1712
1712
|
.ftds--family-info:focus-visible {
|
|
1713
|
-
color: ${
|
|
1714
|
-
outline-color: ${
|
|
1713
|
+
color: ${ut.infoFocusColor};
|
|
1714
|
+
outline-color: ${ut.infoFocusFocusRingColor};
|
|
1715
1715
|
}
|
|
1716
1716
|
|
|
1717
1717
|
.ftds--family-info:active {
|
|
1718
|
-
color: ${
|
|
1718
|
+
color: ${ut.infoActiveColor};
|
|
1719
1719
|
}
|
|
1720
1720
|
|
|
1721
1721
|
.ftds--family-brand {
|
|
1722
|
-
color: ${
|
|
1722
|
+
color: ${ut.brandDefaultColor};
|
|
1723
1723
|
}
|
|
1724
1724
|
|
|
1725
1725
|
.ftds--family-brand:hover {
|
|
1726
|
-
color: ${
|
|
1727
|
-
opacity: ${
|
|
1726
|
+
color: ${ut.brandHoverColor};
|
|
1727
|
+
opacity: ${ut.brandHoverOpacity};
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
1730
|
.ftds--family-brand:focus-visible {
|
|
1731
|
-
color: ${
|
|
1732
|
-
outline-color: ${
|
|
1731
|
+
color: ${ut.brandFocusColor};
|
|
1732
|
+
outline-color: ${ut.brandFocusFocusRingColor};
|
|
1733
1733
|
}
|
|
1734
1734
|
|
|
1735
1735
|
.ftds--family-brand:active {
|
|
1736
|
-
color: ${
|
|
1736
|
+
color: ${ut.infoActiveColor};
|
|
1737
1737
|
}
|
|
1738
|
-
`;var
|
|
1738
|
+
`;var vo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},bn;(function(e){e.SELF="_self",e.BLANK="_blank"})(bn||(bn={}));var Ft=class extends Qe{constructor(){super(...arguments),this.href="",this.variant=ht.body2medium,this.underlined=!1,this.openInNewTabLabel="This link will be opened in a new tab",this.target=bn.SELF,this.icon="extlink-light"}get linkClasses(){return{"ftds-link":!0,"ftds-link--underlined":this.underlined,...this.resolveVariantClasses,...this.getDesignSystemBaseClasses()}}render(){return D`
|
|
1739
1739
|
<a part="link"
|
|
1740
1740
|
target="${this.target}"
|
|
1741
1741
|
href="${this.href}"
|
|
@@ -1743,33 +1743,33 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1743
1743
|
<ft-typography part="label"
|
|
1744
1744
|
variant=${this.variant}
|
|
1745
1745
|
element="span"
|
|
1746
|
-
class="ftds-link--label ${
|
|
1746
|
+
class="ftds-link--label ${sr?"ft-safari-ellipsis-fix":""}">
|
|
1747
1747
|
<span><slot @slotchange=${this.onSlotchange}></slot></span>
|
|
1748
1748
|
</ft-typography>
|
|
1749
1749
|
${this.resolveIcon()}
|
|
1750
1750
|
</a>
|
|
1751
|
-
`}resolveIcon(){return this.target===bn.BLANK?
|
|
1752
|
-
<ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant="${
|
|
1751
|
+
`}resolveIcon(){return this.target===bn.BLANK?D`
|
|
1752
|
+
<ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant="${Tt.fluid_topics}" .value="${this.icon}">
|
|
1753
1753
|
</ft-icon>
|
|
1754
|
-
`:
|
|
1755
|
-
`;var
|
|
1756
|
-
`;var
|
|
1754
|
+
`:D``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Ft.elementDefinitions={"ft-typography":dt,"ft-icon":gt};Ft.styles=[rr,Sd];vo([E()],Ft.prototype,"href",void 0);vo([E()],Ft.prototype,"variant",void 0);vo([E({type:Boolean})],Ft.prototype,"underlined",void 0);vo([E()],Ft.prototype,"openInNewTabLabel",void 0);vo([E()],Ft.prototype,"target",void 0);X("ftds-link")(Ft);var Cd=$`
|
|
1755
|
+
`;var Od=$`
|
|
1756
|
+
`;var ff="ft-app-info",Xa=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},hf={session:(e,t)=>{jt(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>F.dispatchEvent(new Xa(t.payload)),0))}},F=ar.get({name:ff,reducers:hf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],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}});var cr=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=F.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let i=F.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var Ie=class{constructor(t=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new te,this.cache=t?i.commonCache:new te}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:cr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):cr.await()}clearCache(){this.cache.clearAll()}};var Ed,yf=Symbol("clearAfterUnitTest"),xn=class extends Ie{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ed]=()=>{this.defaultMessages={},this.cache=new te,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=F.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};jt(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let a=t.toLowerCase(),s=this.resolveContext(a);return new uo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(o,...n)}async fetchContext(t){var o,n,i;if(!this.cache.has(t))if(((n=(o=window.process)===null||o===void 0?void 0:o.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(t,(i=this.defaultMessages[t])!==null&&i!==void 0?i:{});else try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(a){console.error(a)}}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>Zo(0).then(()=>o()).catch(()=>null)))}};Ed=yf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends xn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends xn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var dr=window.FluidTopicsI18nService,wd=window.FluidTopicsCustomI18nService;var Ot=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ct=class extends Z{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",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=()=>cr.get(),this.messageContexts=[],this.cache=new te,this.cleanSessionDebouncer=new Pt}render(){return D`
|
|
1757
1757
|
<slot></slot>
|
|
1758
|
-
`}update(t){var o,n,i,a,s;super.update(t),t.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&F.actions.noCustom(this.noCustom),t.has("editorMode")&&F.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&F.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(
|
|
1758
|
+
`}update(t){var o,n,i,a,s;super.update(t),t.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&F.actions.noCustom(this.noCustom),t.has("editorMode")&&F.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&F.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>dr.addContext(l)),t.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&F.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(F.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),F.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),F.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ct.elementDefinitions={};ct.styles=Od;Ot([E()],ct.prototype,"baseUrl",void 0);Ot([E()],ct.prototype,"apiIntegrationIdentifier",void 0);Ot([E()],ct.prototype,"uiLocale",void 0);Ot([ee(null)],ct.prototype,"availableUiLocales",void 0);Ot([ee(null)],ct.prototype,"metadataConfiguration",void 0);Ot([E({type:Boolean})],ct.prototype,"editorMode",void 0);Ot([E({type:Boolean})],ct.prototype,"noCustom",void 0);Ot([E({type:Boolean})],ct.prototype,"openExternalDocumentInNewTab",void 0);Ot([E({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],ct.prototype,"noCustomComponent",void 0);Ot([E({type:Boolean})],ct.prototype,"withManualResources",void 0);Ot([E({type:Boolean})],ct.prototype,"navigatorOnline",void 0);Ot([E({type:Boolean})],ct.prototype,"forcedOffline",void 0);Ot([E({type:Object})],ct.prototype,"apiProvider",void 0);Ot([ee([])],ct.prototype,"messageContexts",void 0);Ot([ee(void 0)],ct.prototype,"session",void 0);Ot([yt()],ct.prototype,"localesConfiguration",void 0);var vn=class extends Ie{async listMySearches(){let t=F.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Sn=class extends Ie{async listMyBookmarks(){let t=F.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var mf="ft-user-assets",Cn=ar.get({name:mf,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ja=class{constructor(){this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Sn,this.savedSearchesService=new vn,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=F.getState();jt((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Cn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Cn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Cn.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Cn.actions.bookmarks(o)}}},XE=new Ja;var Qa=class{addCommand(t,o=!1){F.commands.add(t,o)}consumeCommand(t){return F.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Qa;var ts=class{highlightHtml(t,o,n){oa(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ts;var es=class{isDate(t){var o,n,i,a;return(a=(i=((n=(o=F.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,o){var n,i,a;return Nr.format(t,(n=o?.locale)!==null&&n!==void 0?n:F.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new es;X("ft-app-context")(ct);var gf=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},rs=Symbol("i18nAttributes"),os=Symbol("i18nListAttributes"),On=Symbol("i18nProperties"),ns=Symbol("i18nManualContexts"),So=Symbol("i18nUnsubs");function Ad(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?wd:dr}i18n(a,s,...l){var d;if(typeof a=="string")return this.i18nService.resolveMessage(a,s,...l);let p=(d=a.args)!==null&&d!==void 0?d:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...p)}onI18nUpdate(a){var s,l,d;(s=this[rs])===null||s===void 0||s.forEach((p,h)=>{let f=this.getI18nAttributeValue(h);f&&(this[h]=this.getI18nAttributeMessage(f,p,a))}),(l=this[os])===null||l===void 0||l.forEach((p,h)=>{let f=this.getI18nListAttributeValues(h);this[h]=f?.map(y=>this.getI18nAttributeMessage(y,p,a))}),(d=this[On])===null||d===void 0||d.forEach((p,h)=>{p.context.toLowerCase()===a.toLowerCase()&&(this[h]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,s){return{...a,message:this.i18n({context:a.context,key:a.key,...s})}}getI18nAttributeMessage(a,s,l){var d;let p=!l||((d=a.context)===null||d===void 0?void 0:d.toLowerCase())===l.toLowerCase();return a.context&&a.key&&p?this.buildI18nAttributeMessage(a,s):a}update(a){var s,l,d;super.update(a),(s=this[rs])===null||s===void 0||s.forEach((p,h)=>{let f=this.getI18nAttributeValue(h);f?.context&&f.key&&(a.has(h)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,a,h),this[h]=this.getI18nAttributeMessage(f,p))}),(l=this[os])===null||l===void 0||l.forEach((p,h)=>{let f=this.getI18nListAttributeValues(h);(a.has(h)||p.argsProvider!=null)&&(this[h]=f?.map(y=>(this.addI18nContextIfNeeded(y,a,h),this.getI18nAttributeMessage(y,p))))}),(d=this[On])===null||d===void 0||d.forEach((p,h)=>{p.argsProvider!=null&&(this[h]=this.i18n(p))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,s,l){a.context&&a.key&&s.has(l)&&this.addI18nContext(a.context)}addI18nMessagesAndSubscribe(a,s){a=a.toLowerCase(),this[So].has(a)||this[So].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,s??{}),this.onI18nUpdate(a)}connectedCallback(){var a,s,l,d,p,h;super.connectedCallback(),new Set([...(s=(a=this[On])===null||a===void 0?void 0:a.values())!==null&&s!==void 0?s:[],...[...(d=(l=this[rs])===null||l===void 0?void 0:l.keys())!==null&&d!==void 0?d:[]].map(f=>this.getI18nAttributeValue(f)),...[...(h=(p=this[os])===null||p===void 0?void 0:p.keys())!==null&&h!==void 0?h:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f)),this[ns].forEach((f,y)=>{this.addI18nMessages(y,f)})}addI18nMessages(a,s){this[ns].set(a,s??{}),this.addI18nMessagesAndSubscribe(a,s)}addI18nContext(a,s){this.addI18nMessages(typeof a=="string"?a:a.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[So].forEach(a=>a()),this[So].clear()}}return t=ns,o=So,gf([E({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var En=class extends Ad(Z){},wn=class extends Ad(Ae){};var Co=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Yt=class extends wn{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":G:D`
|
|
1759
1759
|
<span class="ft-i18n">
|
|
1760
1760
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1761
1761
|
</span>
|
|
1762
|
-
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};
|
|
1762
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Yt.elementDefinitions={};Yt.styles=Cd;Co([en()],Yt.prototype,"editorMode",void 0);Co([E()],Yt.prototype,"context",void 0);Co([E()],Yt.prototype,"key",void 0);Co([ee([])],Yt.prototype,"args",void 0);Co([E()],Yt.prototype,"defaultMessage",void 0);var An=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>dr.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(o,n)=>dr.resolveRawMessage(this.name,n)})}};X("ft-i18n")(Yt);var Rn=An.build("pageLayoutComponent"),Rd={breadcrumbTitle:"Breadcrumb title",popoverCloseButtonLabel:"Close information",popoverOpenButtonLabel:"More information"};var be=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Et=class extends En{constructor(){super(),this.footerHasContent=!1,this.popoverHasContent=!1,this.addI18nContext(Rn,Rd)}get pageHeaderClasses(){return{"ftds-page-layout--header":!0,"ftds-page-layout--child":this.breadcrumb!==void 0}}render(){return D`
|
|
1763
1763
|
${this.renderHeader()}
|
|
1764
1764
|
<main>
|
|
1765
1765
|
<slot></slot>
|
|
1766
1766
|
</main>
|
|
1767
1767
|
${this.renderFooter()}
|
|
1768
|
-
`}renderHeader(){return
|
|
1768
|
+
`}renderHeader(){return D`
|
|
1769
1769
|
<div class="${vt(this.pageHeaderClasses)}">
|
|
1770
1770
|
<div class="ftds-page-layout--left-slot">
|
|
1771
1771
|
<div class="ftds-page-layout--title-container">
|
|
1772
|
-
${this.breadcrumb?this.renderBreadcrumb():
|
|
1772
|
+
${this.breadcrumb?this.renderBreadcrumb():D`
|
|
1773
1773
|
<ft-typography class="ftds-page-layout--title"
|
|
1774
1774
|
variant="${ht.title1}">
|
|
1775
1775
|
${this.pageTitle}
|
|
@@ -1777,7 +1777,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1777
1777
|
${this.renderPopover()}
|
|
1778
1778
|
${this.renderChip()}
|
|
1779
1779
|
</div>
|
|
1780
|
-
${this.subTitle?
|
|
1780
|
+
${this.subTitle?D`
|
|
1781
1781
|
<ft-typography class="ftds-page-layout--sub-title"
|
|
1782
1782
|
variant="${ht.body2regular}">
|
|
1783
1783
|
${this.subTitle}
|
|
@@ -1786,7 +1786,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1786
1786
|
<div class="ftds-page-layout--right-slot">
|
|
1787
1787
|
<slot name="header-right"></slot>
|
|
1788
1788
|
</div>
|
|
1789
|
-
</div>`}renderFooter(){return
|
|
1789
|
+
</div>`}renderFooter(){return D`
|
|
1790
1790
|
<div ?hidden="${!this.footerHasContent}" class="ftds-page-layout--footer ftds-page-layout--child">
|
|
1791
1791
|
<div class="ftds-page-layout--left-slot">
|
|
1792
1792
|
<slot name="footer-left" @slotchange=${this.onSlotChange}></slot>
|
|
@@ -1795,41 +1795,41 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1795
1795
|
<slot name="footer-right" @slotchange=${this.onSlotChange}></slot>
|
|
1796
1796
|
</div>
|
|
1797
1797
|
</div>
|
|
1798
|
-
`}renderChip(){var t;return
|
|
1798
|
+
`}renderChip(){var t;return D`
|
|
1799
1799
|
<div class="ftds-page-layout--chips-container">
|
|
1800
|
-
${
|
|
1800
|
+
${Ko((t=this.chipsContent)!==null&&t!==void 0?t:[],o=>D`
|
|
1801
1801
|
<ftds-chip family="${o.family}" icon="${o.icon}">
|
|
1802
1802
|
${o.label}
|
|
1803
1803
|
</ftds-chip>`)}
|
|
1804
1804
|
</div>
|
|
1805
|
-
`}renderBreadcrumb(){return
|
|
1805
|
+
`}renderBreadcrumb(){return D`
|
|
1806
1806
|
<nav aria-label="Title breadcrumb" class="ftds-page-layout--breadcrumb">
|
|
1807
1807
|
<ol>
|
|
1808
|
-
${
|
|
1808
|
+
${Ko(this.breadcrumb,(t,o)=>D`
|
|
1809
1809
|
<li>
|
|
1810
|
-
${t.link?
|
|
1810
|
+
${t.link?D`
|
|
1811
1811
|
<ftds-link href=${t.link} underlined target="_self" family=${St.brand} variant="${ht.body2medium}">
|
|
1812
1812
|
${t.label}
|
|
1813
|
-
</ftds-link>`:
|
|
1813
|
+
</ftds-link>`:D`
|
|
1814
1814
|
<ft-typography variant="${ht.body2medium}" class="ftds-page-layout--breadcrumb-item">
|
|
1815
1815
|
${t.label}
|
|
1816
1816
|
</ft-typography>`}
|
|
1817
1817
|
</li>`)}
|
|
1818
1818
|
<li>
|
|
1819
1819
|
<ft-typography class="ftds-page-layout--title"
|
|
1820
|
-
aria-current="${
|
|
1820
|
+
aria-current="${kc(this.breadcrumb?"page":void 0)}"
|
|
1821
1821
|
variant="${ht.body2semibold}">
|
|
1822
1822
|
${this.pageTitle}
|
|
1823
1823
|
</ft-typography>
|
|
1824
1824
|
</li>
|
|
1825
1825
|
</ol>
|
|
1826
1826
|
</nav>
|
|
1827
|
-
`}renderPopover(){return
|
|
1827
|
+
`}renderPopover(){return D`
|
|
1828
1828
|
<ftds-popover ?hidden=${!this.popoverHasContent} closeButtonLabel=${Rn.messages.popoverCloseButtonLabel()}
|
|
1829
1829
|
openButtonLabel=${Rn.messages.popoverOpenButtonLabel()} openButtonTooltipPosition="bottom"
|
|
1830
1830
|
openButtonFamily=${St.info} openButtonSize=${Q.medium}>
|
|
1831
1831
|
<slot name="popover-content" @slotchange=${this.onSlotChange}></slot>
|
|
1832
|
-
</ftds-popover>`}onSlotChange(t){switch(t.target.getAttribute("name")){case"popover-content":this.popoverHasContent=this.popoverContent.length>0;break;case"footer-right":case"footer-left":this.footerHasContent=this.footerLeftContent.length>0||this.footerRightContent.length>0;break}t.stopPropagation()}};Et.elementDefinitions={"ft-typography":dt,"ftds-popover":pt,"ftds-chip":Mt,"ftds-link":
|
|
1832
|
+
</ftds-popover>`}onSlotChange(t){switch(t.target.getAttribute("name")){case"popover-content":this.popoverHasContent=this.popoverContent.length>0;break;case"footer-right":case"footer-left":this.footerHasContent=this.footerLeftContent.length>0||this.footerRightContent.length>0;break}t.stopPropagation()}};Et.elementDefinitions={"ft-typography":dt,"ftds-popover":pt,"ftds-chip":Mt,"ftds-link":Ft};Et.styles=Bc;be([E()],Et.prototype,"pageTitle",void 0);be([E()],Et.prototype,"breadcrumb",void 0);be([E()],Et.prototype,"subTitle",void 0);be([E()],Et.prototype,"chipsContent",void 0);be([yt()],Et.prototype,"footerHasContent",void 0);be([yt()],Et.prototype,"popoverHasContent",void 0);be([Ge({slot:"footer-left"})],Et.prototype,"footerLeftContent",void 0);be([Ge({slot:"footer-right"})],Et.prototype,"footerRightContent",void 0);be([Ge({slot:"popover-content"})],Et.prototype,"popoverContent",void 0);X("ftds-page-layout")(Et);})();
|
|
1833
1833
|
/*! Bundled license information:
|
|
1834
1834
|
|
|
1835
1835
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|