@fluid-topics/ft-pager 1.2.8 → 1.2.9

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.
@@ -341,7 +341,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
341
341
  .ft-icon--material {
342
342
  font-family: ${X.materialFontFamily}, "Material Icons", sans-serif;
343
343
  }
344
- `;var br=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),G={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorSurface),borderRadius:C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusL),color:br,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",pt.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",br),verticalPadding:C.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOpacityDisabled,"Design system")},xr=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),Ze={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:xr,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",xr)},ft={borderRadius:C.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusM)),verticalPadding:C.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Or=[Sr.css`
344
+ `;var br=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),Z={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorSurface),borderRadius:C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusL),color:br,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",pt.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",br),verticalPadding:C.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOpacityDisabled,"Design system")},xr=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),Ze={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:xr,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",xr)},ft={borderRadius:C.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusM)),verticalPadding:C.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Or=[Sr.css`
345
345
  :host {
346
346
  display: inline-block;
347
347
  max-width: 100%;
@@ -352,7 +352,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
352
352
  box-shadow: 0px 0px 0px transparent;
353
353
  border: 0px solid transparent;
354
354
  text-shadow: 0px 0px 0px transparent;
355
- font-size: ${G.fontSize};
355
+ font-size: ${Z.fontSize};
356
356
  text-decoration: none;
357
357
  }
358
358
 
@@ -382,21 +382,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
382
382
  border: none;
383
383
  pointer-events: auto;
384
384
 
385
- --ft-button-internal-line-height: max(calc(${G.fontSize} + 2px), ${G.iconSize});
386
- --ft-button-internal-color: ${G.color};
387
- ${(0,C.setVariable)(X.size,G.iconSize)};
388
- ${(0,C.setVariable)(u.color,G.rippleColor)};
385
+ --ft-button-internal-line-height: max(calc(${Z.fontSize} + 2px), ${Z.iconSize});
386
+ --ft-button-internal-color: ${Z.color};
387
+ ${(0,C.setVariable)(X.size,Z.iconSize)};
388
+ ${(0,C.setVariable)(u.color,Z.rippleColor)};
389
389
 
390
- border-radius: ${G.borderRadius};
391
- padding: ${G.verticalPadding} ${G.horizontalPadding};
392
- background-color: ${G.backgroundColor};
390
+ border-radius: ${Z.borderRadius};
391
+ padding: ${Z.verticalPadding} ${Z.horizontalPadding};
392
+ background-color: ${Z.backgroundColor};
393
393
  color: var(--ft-button-internal-color);
394
394
  -webkit-mask-image: radial-gradient(white, black);
395
395
  }
396
396
 
397
397
  .ft-button.ft-button--outlined {
398
398
  border: 1px solid var(--ft-button-internal-color);
399
- padding: calc(${G.verticalPadding} - 1px) calc(${G.horizontalPadding} - 1px);
399
+ padding: calc(${Z.verticalPadding} - 1px) calc(${Z.horizontalPadding} - 1px);
400
400
  }
401
401
 
402
402
  .ft-button.ft-button--dense {
@@ -414,7 +414,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
414
414
  }
415
415
 
416
416
  .ft-button--round {
417
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${G.verticalPadding});
417
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Z.verticalPadding});
418
418
  }
419
419
 
420
420
  .ft-button--round.ft-button--dense {
@@ -423,7 +423,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
423
423
 
424
424
  .ft-button[disabled] {
425
425
  filter: grayscale(1);
426
- opacity: ${G.opacityDisabled};
426
+ opacity: ${Z.opacityDisabled};
427
427
  }
428
428
 
429
429
  .ft-button.ft-button--primary {
@@ -442,7 +442,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
442
442
  white-space: nowrap;
443
443
  text-overflow: ellipsis;
444
444
  display: block;
445
- margin: 0 ${G.iconPadding};
445
+ margin: 0 ${Z.iconPadding};
446
446
  ${(0,C.setVariable)(pt.fontSize,"1em")};
447
447
  ${(0,C.setVariable)(pt.lineHeight,"var(--ft-button-internal-line-height)")};
448
448
  }
@@ -461,8 +461,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
461
461
  }
462
462
 
463
463
  .ft-button--label[hidden] + [part="icon"] {
464
- margin: 0 calc(${G.horizontalPadding} * -1);
465
- padding: 0 ${G.verticalPadding};
464
+ margin: 0 calc(${Z.horizontalPadding} * -1);
465
+ padding: 0 ${Z.verticalPadding};
466
466
  }
467
467
 
468
468
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
@@ -475,7 +475,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
475
475
  }
476
476
 
477
477
  ft-loader {
478
- ${(0,C.setVariable)(B.size,G.iconSize)};
478
+ ${(0,C.setVariable)(B.size,Z.iconSize)};
479
479
  ${(0,C.setVariable)(B.color,"var(--ft-button-internal-color)")};
480
480
  }
481
481
  `,C.noTextSelect];var Pt=b(L());var Er=b(L());var vr=b(z()),K=b(it()),Nr=b(de()),pe=b(L());var Q=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},I=class extends pe.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new pe.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new pe.Debouncer(10),this.moveRipple=o=>{var a,n;let{x:l,y:c}=this.getCoordinates(o),s=(n=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(l!=null?l-s.x:s.width/2),this.originY=Math.round(c!=null?c-s.y:s.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"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 vr.html`
@@ -491,7 +491,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
491
491
  </div>
492
492
  `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var a,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.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 o,a;let n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((a=this.target)!==null&&a!==void 0?a:n)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let a=(...p)=>y=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(y)},n=a("mouseup","contextmenu"),l=a("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&a("keyup")(p)},s={passive:!0};o.addEventListener("mouseover",this.startHover,s),o.addEventListener("mousemove",this.moveRipple,s),o.addEventListener("mouseleave",this.endHover,s),o.addEventListener("mousedown",n,s),o.addEventListener("touchstart",l,s),o.addEventListener("touchmove",this.moveRipple,s),o.addEventListener("keydown",c,s),o.addEventListener("focus",this.startFocus,s),o.addEventListener("blur",this.endFocus,s),o.addEventListener("focusin",this.startFocus,s),o.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,s),o.removeEventListener("mousemove",this.moveRipple,s),o.removeEventListener("mouseleave",this.endHover,s),o.removeEventListener("mousedown",n,s),o.removeEventListener("touchstart",l,s),o.removeEventListener("touchmove",this.moveRipple,s),o.removeEventListener("keydown",c,s),o.removeEventListener("focus",this.startFocus,s),o.removeEventListener("blur",this.endFocus,s),o.removeEventListener("focusin",this.startFocus,s),o.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let a=o,n=o,l,c;return a.x!=null?{x:l,y:c}=a:n.touches!=null&&(l=n.touches[0].clientX,c=n.touches[0].clientY),{x:l,y:c}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let a of o.composedPath()){if(a===this.target)break;if("hasAttribute"in a&&a.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};I.elementDefinitions={};I.styles=$o;Q([(0,K.property)({type:Boolean})],I.prototype,"primary",void 0);Q([(0,K.property)({type:Boolean})],I.prototype,"secondary",void 0);Q([(0,K.property)({type:Boolean})],I.prototype,"unbounded",void 0);Q([(0,K.property)({type:Boolean})],I.prototype,"activated",void 0);Q([(0,K.property)({type:Boolean})],I.prototype,"selected",void 0);Q([(0,K.property)({type:Boolean})],I.prototype,"disabled",void 0);Q([(0,K.state)()],I.prototype,"hovered",void 0);Q([(0,K.state)()],I.prototype,"focused",void 0);Q([(0,K.state)()],I.prototype,"pressed",void 0);Q([(0,K.state)()],I.prototype,"rippling",void 0);Q([(0,K.state)()],I.prototype,"originX",void 0);Q([(0,K.state)()],I.prototype,"originY",void 0);Q([(0,K.query)(".ft-ripple")],I.prototype,"ripple",void 0);Q([(0,K.query)(".ft-ripple--effect")],I.prototype,"rippleEffect",void 0);(0,Er.customElement)("ft-ripple")(I);var ba=b(L());var ha=b(z()),U=b(it()),Oe=b(L());var Fr=b(L());var Xe=globalThis,Ae=Xe.trustedTypes,wr=Ae?Ae.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ir="$lit$",Rt=`lit$${(Math.random()+"").slice(9)}$`,Pr="?"+Rt,qa=`<${Pr}>`,Tt=document,Be=()=>Tt.createComment(""),ye=e=>e===null||typeof e!="object"&&typeof e!="function",Wr=Array.isArray,Qa=e=>Wr(e)||typeof e?.[Symbol.iterator]=="function",Me=`[
493
493
  \f\r]`,fe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Lr=/-->/g,Rr=/>/g,Wt=RegExp(`>|${Me}(?:([^\\s"'>=/]+)(${Me}*=${Me}*(?:[^
494
- \f\r"'\`<>=]|("|')|))|$)`,"g"),$r=/'/g,Ar=/"/g,zr=/^(?:script|style|textarea|title)$/i,Tr=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),kr=Tr(1),Hr=Tr(2),ue=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),Br=new WeakMap,zt=Tt.createTreeWalker(Tt,129);function _r(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return wr!==void 0?wr.createHTML(o):o}var Ja=(e,o)=>{let a=e.length-1,n=[],l,c=o===2?"<svg>":"",s=fe;for(let p=0;p<a;p++){let y=e[p],h,O,x=-1,E=0;for(;E<y.length&&(s.lastIndex=E,O=s.exec(y),O!==null);)E=s.lastIndex,s===fe?O[1]==="!--"?s=Lr:O[1]!==void 0?s=Rr:O[2]!==void 0?(zr.test(O[2])&&(l=RegExp("</"+O[2],"g")),s=Wt):O[3]!==void 0&&(s=Wt):s===Wt?O[0]===">"?(s=l??fe,x=-1):O[1]===void 0?x=-2:(x=s.lastIndex-O[2].length,h=O[1],s=O[3]===void 0?Wt:O[3]==='"'?Ar:$r):s===Ar||s===$r?s=Wt:s===Lr||s===Rr?s=fe:(s=Wt,l=void 0);let v=s===Wt&&e[p+1].startsWith("/>")?" ":"";c+=s===fe?y+qa:x>=0?(n.push(h),y.slice(0,x)+Ir+y.slice(x)+Rt+v):y+Rt+(x===-2?p:v)}return[_r(e,c+(e[a]||"<?>")+(o===2?"</svg>":"")),n]},ge=class e{constructor({strings:o,_$litType$:a},n){let l;this.parts=[];let c=0,s=0,p=o.length-1,y=this.parts,[h,O]=Ja(o,a);if(this.el=e.createElement(h,n),zt.currentNode=this.el.content,a===2){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(l=zt.nextNode())!==null&&y.length<p;){if(l.nodeType===1){if(l.hasAttributes())for(let x of l.getAttributeNames())if(x.endsWith(Ir)){let E=O[s++],v=l.getAttribute(x).split(Rt),R=/([.?@])?(.*)/.exec(E);y.push({type:1,index:c,name:R[2],strings:v,ctor:R[1]==="."?Ke:R[1]==="?"?Ve:R[1]==="@"?je:Jt}),l.removeAttribute(x)}else x.startsWith(Rt)&&(y.push({type:6,index:c}),l.removeAttribute(x));if(zr.test(l.tagName)){let x=l.textContent.split(Rt),E=x.length-1;if(E>0){l.textContent=Ae?Ae.emptyScript:"";for(let v=0;v<E;v++)l.append(x[v],Be()),zt.nextNode(),y.push({type:2,index:++c});l.append(x[E],Be())}}}else if(l.nodeType===8)if(l.data===Pr)y.push({type:2,index:c});else{let x=-1;for(;(x=l.data.indexOf(Rt,x+1))!==-1;)y.push({type:7,index:c}),x+=Rt.length-1}c++}}static createElement(o,a){let n=Tt.createElement("template");return n.innerHTML=o,n}};function Qt(e,o,a=e,n){if(o===ue)return o;let l=n!==void 0?a._$Co?.[n]:a._$Cl,c=ye(o)?void 0:o._$litDirective$;return l?.constructor!==c&&(l?._$AO?.(!1),c===void 0?l=void 0:(l=new c(e),l._$AT(e,a,n)),n!==void 0?(a._$Co??=[])[n]=l:a._$Cl=l),l!==void 0&&(o=Qt(e,l._$AS(e,o.values),l,n)),o}var Fe=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:n}=this._$AD,l=(o?.creationScope??Tt).importNode(a,!0);zt.currentNode=l;let c=zt.nextNode(),s=0,p=0,y=n[0];for(;y!==void 0;){if(s===y.index){let h;y.type===2?h=new Ie(c,c.nextSibling,this,o):y.type===1?h=new y.ctor(c,y.name,y.strings,this,o):y.type===6&&(h=new Ye(c,this,o)),this._$AV.push(h),y=n[++p]}s!==y?.index&&(c=zt.nextNode(),s++)}return zt.currentNode=Tt,l}p(o){let a=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,a),a+=n.strings.length-2):n._$AI(o[a])),a++}},Ie=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,n,l){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=n,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=Qt(this,o,a),ye(o)?o===Z||o==null||o===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):o!==this._$AH&&o!==ue&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Qa(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==Z&&ye(this._$AH)?this._$AA.nextSibling.data=o:this.$(Tt.createTextNode(o)),this._$AH=o}g(o){let{values:a,_$litType$:n}=o,l=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=ge.createElement(_r(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===l)this._$AH.p(a);else{let c=new Fe(l,this),s=c.u(this.options);c.p(a),this.$(s),this._$AH=c}}_$AC(o){let a=Br.get(o.strings);return a===void 0&&Br.set(o.strings,a=new ge(o)),a}T(o){Wr(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,n,l=0;for(let c of o)l===a.length?a.push(n=new e(this.k(Be()),this.k(Be()),this,this.options)):n=a[l],n._$AI(c),l++;l<a.length&&(this._$AR(n&&n._$AB.nextSibling,l),a.length=l)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,n,l,c){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=o,this.name=a,this._$AM=l,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Z}_$AI(o,a=this,n,l){let c=this.strings,s=!1;if(c===void 0)o=Qt(this,o,a,0),s=!ye(o)||o!==this._$AH&&o!==ue,s&&(this._$AH=o);else{let p=o,y,h;for(o=c[0],y=0;y<c.length-1;y++)h=Qt(this,p[n+y],a,y),h===ue&&(h=this._$AH[y]),s||=!ye(h)||h!==this._$AH[y],h===Z?o=Z:o!==Z&&(o+=(h??"")+c[y+1]),this._$AH[y]=h}s&&!l&&this.O(o)}O(o){o===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ke=class extends Jt{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===Z?void 0:o}},Ve=class extends Jt{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==Z)}},je=class extends Jt{constructor(o,a,n,l,c){super(o,a,n,l,c),this.type=5}_$AI(o,a=this){if((o=Qt(this,o,a,0)??Z)===ue)return;let n=this._$AH,l=o===Z&&n!==Z||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,c=o!==Z&&(n===Z||l);l&&this.element.removeEventListener(this.name,this,n),c&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Ye=class{constructor(o,a,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){Qt(this,o)}};var tn=Xe.litHtmlPolyfillSupport;tn?.(ge,Ie),(Xe.litHtmlVersions??=[]).push("3.1.0");var Ur=Symbol.for(""),en=e=>{if(e?.r===Ur)return e?._$litStatic$},qe=e=>({_$litStatic$:e,r:Ur});var Dr=new Map,Gr=e=>(o,...a)=>{let n=a.length,l,c,s=[],p=[],y,h=0,O=!1;for(;h<n;){for(y=o[h];h<n&&(c=a[h],(l=en(c))!==void 0);)y+=l+o[++h],O=!0;h!==n&&p.push(c),s.push(y),h++}if(h===n&&s.push(o[n]),O){let x=s.join("$$lit$$");(o=Dr.get(x))===void 0&&(s.raw=s,Dr.set(x,o=s)),a=p}return e(o,...a)},Qe=Gr(kr),Ks=Gr(Hr);var Je=b(it()),Mr=b(L());var $t;(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"})($t||($t={}));var Zr=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},q=class extends Mr.FtLitElement{constructor(){super(...arguments),this.variant=$t.body1}render(){return this.element?Qe`
494
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),$r=/'/g,Ar=/"/g,zr=/^(?:script|style|textarea|title)$/i,Tr=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),kr=Tr(1),Hr=Tr(2),ue=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Br=new WeakMap,zt=Tt.createTreeWalker(Tt,129);function _r(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return wr!==void 0?wr.createHTML(o):o}var Ja=(e,o)=>{let a=e.length-1,n=[],l,c=o===2?"<svg>":"",s=fe;for(let p=0;p<a;p++){let y=e[p],h,O,x=-1,E=0;for(;E<y.length&&(s.lastIndex=E,O=s.exec(y),O!==null);)E=s.lastIndex,s===fe?O[1]==="!--"?s=Lr:O[1]!==void 0?s=Rr:O[2]!==void 0?(zr.test(O[2])&&(l=RegExp("</"+O[2],"g")),s=Wt):O[3]!==void 0&&(s=Wt):s===Wt?O[0]===">"?(s=l??fe,x=-1):O[1]===void 0?x=-2:(x=s.lastIndex-O[2].length,h=O[1],s=O[3]===void 0?Wt:O[3]==='"'?Ar:$r):s===Ar||s===$r?s=Wt:s===Lr||s===Rr?s=fe:(s=Wt,l=void 0);let v=s===Wt&&e[p+1].startsWith("/>")?" ":"";c+=s===fe?y+qa:x>=0?(n.push(h),y.slice(0,x)+Ir+y.slice(x)+Rt+v):y+Rt+(x===-2?p:v)}return[_r(e,c+(e[a]||"<?>")+(o===2?"</svg>":"")),n]},ge=class e{constructor({strings:o,_$litType$:a},n){let l;this.parts=[];let c=0,s=0,p=o.length-1,y=this.parts,[h,O]=Ja(o,a);if(this.el=e.createElement(h,n),zt.currentNode=this.el.content,a===2){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(l=zt.nextNode())!==null&&y.length<p;){if(l.nodeType===1){if(l.hasAttributes())for(let x of l.getAttributeNames())if(x.endsWith(Ir)){let E=O[s++],v=l.getAttribute(x).split(Rt),R=/([.?@])?(.*)/.exec(E);y.push({type:1,index:c,name:R[2],strings:v,ctor:R[1]==="."?Ke:R[1]==="?"?Ve:R[1]==="@"?je:Jt}),l.removeAttribute(x)}else x.startsWith(Rt)&&(y.push({type:6,index:c}),l.removeAttribute(x));if(zr.test(l.tagName)){let x=l.textContent.split(Rt),E=x.length-1;if(E>0){l.textContent=Ae?Ae.emptyScript:"";for(let v=0;v<E;v++)l.append(x[v],Be()),zt.nextNode(),y.push({type:2,index:++c});l.append(x[E],Be())}}}else if(l.nodeType===8)if(l.data===Pr)y.push({type:2,index:c});else{let x=-1;for(;(x=l.data.indexOf(Rt,x+1))!==-1;)y.push({type:7,index:c}),x+=Rt.length-1}c++}}static createElement(o,a){let n=Tt.createElement("template");return n.innerHTML=o,n}};function Qt(e,o,a=e,n){if(o===ue)return o;let l=n!==void 0?a._$Co?.[n]:a._$Cl,c=ye(o)?void 0:o._$litDirective$;return l?.constructor!==c&&(l?._$AO?.(!1),c===void 0?l=void 0:(l=new c(e),l._$AT(e,a,n)),n!==void 0?(a._$Co??=[])[n]=l:a._$Cl=l),l!==void 0&&(o=Qt(e,l._$AS(e,o.values),l,n)),o}var Fe=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:n}=this._$AD,l=(o?.creationScope??Tt).importNode(a,!0);zt.currentNode=l;let c=zt.nextNode(),s=0,p=0,y=n[0];for(;y!==void 0;){if(s===y.index){let h;y.type===2?h=new Ie(c,c.nextSibling,this,o):y.type===1?h=new y.ctor(c,y.name,y.strings,this,o):y.type===6&&(h=new Ye(c,this,o)),this._$AV.push(h),y=n[++p]}s!==y?.index&&(c=zt.nextNode(),s++)}return zt.currentNode=Tt,l}p(o){let a=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,a),a+=n.strings.length-2):n._$AI(o[a])),a++}},Ie=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,n,l){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=n,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=Qt(this,o,a),ye(o)?o===M||o==null||o===""?(this._$AH!==M&&this._$AR(),this._$AH=M):o!==this._$AH&&o!==ue&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Qa(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==M&&ye(this._$AH)?this._$AA.nextSibling.data=o:this.$(Tt.createTextNode(o)),this._$AH=o}g(o){let{values:a,_$litType$:n}=o,l=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=ge.createElement(_r(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===l)this._$AH.p(a);else{let c=new Fe(l,this),s=c.u(this.options);c.p(a),this.$(s),this._$AH=c}}_$AC(o){let a=Br.get(o.strings);return a===void 0&&Br.set(o.strings,a=new ge(o)),a}T(o){Wr(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,n,l=0;for(let c of o)l===a.length?a.push(n=new e(this.k(Be()),this.k(Be()),this,this.options)):n=a[l],n._$AI(c),l++;l<a.length&&(this._$AR(n&&n._$AB.nextSibling,l),a.length=l)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,n,l,c){this.type=1,this._$AH=M,this._$AN=void 0,this.element=o,this.name=a,this._$AM=l,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(o,a=this,n,l){let c=this.strings,s=!1;if(c===void 0)o=Qt(this,o,a,0),s=!ye(o)||o!==this._$AH&&o!==ue,s&&(this._$AH=o);else{let p=o,y,h;for(o=c[0],y=0;y<c.length-1;y++)h=Qt(this,p[n+y],a,y),h===ue&&(h=this._$AH[y]),s||=!ye(h)||h!==this._$AH[y],h===M?o=M:o!==M&&(o+=(h??"")+c[y+1]),this._$AH[y]=h}s&&!l&&this.O(o)}O(o){o===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ke=class extends Jt{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===M?void 0:o}},Ve=class extends Jt{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==M)}},je=class extends Jt{constructor(o,a,n,l,c){super(o,a,n,l,c),this.type=5}_$AI(o,a=this){if((o=Qt(this,o,a,0)??M)===ue)return;let n=this._$AH,l=o===M&&n!==M||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,c=o!==M&&(n===M||l);l&&this.element.removeEventListener(this.name,this,n),c&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Ye=class{constructor(o,a,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){Qt(this,o)}};var tn=Xe.litHtmlPolyfillSupport;tn?.(ge,Ie),(Xe.litHtmlVersions??=[]).push("3.1.0");var Ur=Symbol.for(""),en=e=>{if(e?.r===Ur)return e?._$litStatic$},qe=e=>({_$litStatic$:e,r:Ur});var Dr=new Map,Gr=e=>(o,...a)=>{let n=a.length,l,c,s=[],p=[],y,h=0,O=!1;for(;h<n;){for(y=o[h];h<n&&(c=a[h],(l=en(c))!==void 0);)y+=l+o[++h],O=!0;h!==n&&p.push(c),s.push(y),h++}if(h===n&&s.push(o[n]),O){let x=s.join("$$lit$$");(o=Dr.get(x))===void 0&&(s.raw=s,Dr.set(x,o=s)),a=p}return e(o,...a)},Qe=Gr(kr),Ks=Gr(Hr);var Je=b(it()),Mr=b(L());var $t;(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"})($t||($t={}));var Zr=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},q=class extends Mr.FtLitElement{constructor(){super(...arguments),this.variant=$t.body1}render(){return this.element?Qe`
495
495
  <${qe(this.element)}
496
496
  part="text"
497
497
  class="ft-typography ft-typography--${this.variant}">
@@ -528,7 +528,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
528
528
  position: relative;
529
529
  word-break: break-word;
530
530
  }
531
- `;var Yr=["top","right","bottom","left"],jr=["start","end"],eo=Yr.reduce((e,o)=>e.concat(o,o+"-"+jr[0],o+"-"+jr[1]),[]),me=Math.min,At=Math.max,he=Math.round;var Ct=e=>({x:e,y:e}),on={left:"right",right:"left",bottom:"top",top:"bottom"},rn={start:"end",end:"start"};function oo(e,o,a){return At(e,me(o,a))}function Pe(e,o){return typeof e=="function"?e(o):e}function ee(e){return e.split("-")[0]}function Bt(e){return e.split("-")[1]}function ro(e){return e==="x"?"y":"x"}function ao(e){return e==="y"?"height":"width"}function We(e){return["top","bottom"].includes(ee(e))?"y":"x"}function no(e){return ro(We(e))}function Xr(e,o,a){a===void 0&&(a=!1);let n=Bt(e),l=no(e),c=ao(l),s=l==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(s=to(s)),[s,to(s)]}function qr(e){return e.replace(/start|end/g,o=>rn[o])}function to(e){return e.replace(/left|right|bottom|top/g,o=>on[o])}function an(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qr(e){return typeof e!="number"?an(e):{top:e,right:e,bottom:e,left:e}}function kt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Jr(e,o,a){let{reference:n,floating:l}=e,c=We(o),s=no(o),p=ao(s),y=ee(o),h=c==="y",O=n.x+n.width/2-l.width/2,x=n.y+n.height/2-l.height/2,E=n[p]/2-l[p]/2,v;switch(y){case"top":v={x:O,y:n.y-l.height};break;case"bottom":v={x:O,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:x};break;case"left":v={x:n.x-l.width,y:x};break;default:v={x:n.x,y:n.y}}switch(Bt(o)){case"start":v[s]-=E*(a&&h?-1:1);break;case"end":v[s]+=E*(a&&h?-1:1);break}return v}var ta=async(e,o,a)=>{let{placement:n="bottom",strategy:l="absolute",middleware:c=[],platform:s}=a,p=c.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:l}),{x:O,y:x}=Jr(h,n,y),E=n,v={},R=0;for(let T=0;T<p.length;T++){let{name:_,fn:k}=p[T],{x:D,y:Y,data:wt,reset:V}=await k({x:O,y:x,initialPlacement:n,placement:E,strategy:l,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});if(O=D??O,x=Y??x,v={...v,[_]:{...v[_],...wt}},V&&R<=50){R++,typeof V=="object"&&(V.placement&&(E=V.placement),V.rects&&(h=V.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:l}):V.rects),{x:O,y:x}=Jr(h,E,y)),T=-1;continue}}return{x:O,y:x,placement:E,strategy:l,middlewareData:v}};async function io(e,o){var a;o===void 0&&(o={});let{x:n,y:l,platform:c,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:x="floating",altBoundary:E=!1,padding:v=0}=Pe(o,e),R=Qr(v),_=p[E?x==="floating"?"reference":"floating":x],k=kt(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(_)))==null||a?_:_.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),D=x==="floating"?{...s.floating,x:n,y:l}:s.reference,Y=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),wt=await(c.isElement==null?void 0:c.isElement(Y))?await(c.getScale==null?void 0:c.getScale(Y))||{x:1,y:1}:{x:1,y:1},V=kt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:D,offsetParent:Y,strategy:y}):D);return{top:(k.top-V.top+R.top)/wt.y,bottom:(V.bottom-k.bottom+R.bottom)/wt.y,left:(k.left-V.left+R.left)/wt.x,right:(V.right-k.right+R.right)/wt.x}}function nn(e,o,a){return(e?[...a.filter(l=>Bt(l)===e),...a.filter(l=>Bt(l)!==e)]:a.filter(l=>ee(l)===l)).filter(l=>e?Bt(l)===e||(o?qr(l)!==l:!1):!0)}var lo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,n,l;let{rects:c,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:O=!1,alignment:x,allowedPlacements:E=eo,autoAlignment:v=!0,...R}=Pe(e,o),T=x!==void 0||E===eo?nn(x||null,v,E):E,_=await io(o,R),k=((a=s.autoPlacement)==null?void 0:a.index)||0,D=T[k];if(D==null)return{};let Y=Xr(D,c,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==D)return{reset:{placement:T[0]}};let wt=[_[ee(D)],_[Y[0]],_[Y[1]]],V=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:D,overflows:wt}],uo=T[k+1];if(uo)return{data:{index:k+1,overflows:V},reset:{placement:uo}};let go=V.map(dt=>{let le=Bt(dt.placement);return[dt.placement,le&&O?dt.overflows.slice(0,2).reduce((Ga,Za)=>Ga+Za,0):dt.overflows[0],dt.overflows]}).sort((dt,le)=>dt[1]-le[1]),mo=((l=go.filter(dt=>dt[2].slice(0,Bt(dt[0])?2:3).every(le=>le<=0))[0])==null?void 0:l[0])||go[0][0];return mo!==p?{data:{index:k+1,overflows:V},reset:{placement:mo}}:{}}}};var co=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:n,placement:l}=o,{mainAxis:c=!0,crossAxis:s=!1,limiter:p={fn:_=>{let{x:k,y:D}=_;return{x:k,y:D}}},...y}=Pe(e,o),h={x:a,y:n},O=await io(o,y),x=We(ee(l)),E=ro(x),v=h[E],R=h[x];if(c){let _=E==="y"?"top":"left",k=E==="y"?"bottom":"right",D=v+O[_],Y=v-O[k];v=oo(D,v,Y)}if(s){let _=x==="y"?"top":"left",k=x==="y"?"bottom":"right",D=R+O[_],Y=R-O[k];R=oo(D,R,Y)}let T=p.fn({...o,[E]:v,[x]:R});return{...T,data:{x:T.x-a,y:T.y-n}}}}};function vt(e){return oa(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Nt(e){var o;return(o=(oa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function oa(e){return e instanceof Node||e instanceof J(e).Node}function yt(e){return e instanceof Element||e instanceof J(e).Element}function ct(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function ea(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function oe(e){let{overflow:o,overflowX:a,overflowY:n,display:l}=et(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+a)&&!["inline","contents"].includes(l)}function ra(e){return["table","td","th"].includes(vt(e))}function Te(e){let o=ke(),a=et(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function aa(e){let o=Ht(e);for(;ct(o)&&!be(o);){if(Te(o))return o;o=Ht(o)}return null}function ke(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function be(e){return["html","body","#document"].includes(vt(e))}function et(e){return J(e).getComputedStyle(e)}function xe(e){return yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ht(e){if(vt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||ea(e)&&e.host||Nt(e);return ea(o)?o.host:o}function na(e){let o=Ht(e);return be(o)?e.ownerDocument?e.ownerDocument.body:e.body:ct(o)&&oe(o)?o:na(o)}function ze(e,o,a){var n;o===void 0&&(o=[]),a===void 0&&(a=!0);let l=na(e),c=l===((n=e.ownerDocument)==null?void 0:n.body),s=J(l);return c?o.concat(s,s.visualViewport||[],oe(l)?l:[],s.frameElement&&a?ze(s.frameElement):[]):o.concat(l,ze(l,[],a))}function ca(e){let o=et(e),a=parseFloat(o.width)||0,n=parseFloat(o.height)||0,l=ct(e),c=l?e.offsetWidth:a,s=l?e.offsetHeight:n,p=he(a)!==c||he(n)!==s;return p&&(a=c,n=s),{width:a,height:n,$:p}}function sa(e){return yt(e)?e:e.contextElement}function re(e){let o=sa(e);if(!ct(o))return Ct(1);let a=o.getBoundingClientRect(),{width:n,height:l,$:c}=ca(o),s=(c?he(a.width):a.width)/n,p=(c?he(a.height):a.height)/l;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var sn=Ct(0);function da(e){let o=J(e);return!ke()||!o.visualViewport?sn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function dn(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==J(e)?!1:o}function Se(e,o,a,n){o===void 0&&(o=!1),a===void 0&&(a=!1);let l=e.getBoundingClientRect(),c=sa(e),s=Ct(1);o&&(n?yt(n)&&(s=re(n)):s=re(e));let p=dn(c,a,n)?da(c):Ct(0),y=(l.left+p.x)/s.x,h=(l.top+p.y)/s.y,O=l.width/s.x,x=l.height/s.y;if(c){let E=J(c),v=n&&yt(n)?J(n):n,R=E.frameElement;for(;R&&n&&v!==E;){let T=re(R),_=R.getBoundingClientRect(),k=et(R),D=_.left+(R.clientLeft+parseFloat(k.paddingLeft))*T.x,Y=_.top+(R.clientTop+parseFloat(k.paddingTop))*T.y;y*=T.x,h*=T.y,O*=T.x,x*=T.y,y+=D,h+=Y,R=J(R).frameElement}}return kt({width:O,height:x,x:y,y:h})}function pn(e){let{rect:o,offsetParent:a,strategy:n}=e,l=ct(a),c=Nt(a);if(a===c)return o;let s={scrollLeft:0,scrollTop:0},p=Ct(1),y=Ct(0);if((l||!l&&n!=="fixed")&&((vt(a)!=="body"||oe(c))&&(s=xe(a)),ct(a))){let h=Se(a);p=re(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+y.x,y:o.y*p.y-s.scrollTop*p.y+y.y}}function fn(e){return Array.from(e.getClientRects())}function pa(e){return Se(Nt(e)).left+xe(e).scrollLeft}function yn(e){let o=Nt(e),a=xe(e),n=e.ownerDocument.body,l=At(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),c=At(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),s=-a.scrollLeft+pa(e),p=-a.scrollTop;return et(n).direction==="rtl"&&(s+=At(o.clientWidth,n.clientWidth)-l),{width:l,height:c,x:s,y:p}}function un(e,o){let a=J(e),n=Nt(e),l=a.visualViewport,c=n.clientWidth,s=n.clientHeight,p=0,y=0;if(l){c=l.width,s=l.height;let h=ke();(!h||h&&o==="fixed")&&(p=l.offsetLeft,y=l.offsetTop)}return{width:c,height:s,x:p,y}}function gn(e,o){let a=Se(e,!0,o==="fixed"),n=a.top+e.clientTop,l=a.left+e.clientLeft,c=ct(e)?re(e):Ct(1),s=e.clientWidth*c.x,p=e.clientHeight*c.y,y=l*c.x,h=n*c.y;return{width:s,height:p,x:y,y:h}}function ia(e,o,a){let n;if(o==="viewport")n=un(e,a);else if(o==="document")n=yn(Nt(e));else if(yt(o))n=gn(o,a);else{let l=da(e);n={...o,x:o.x-l.x,y:o.y-l.y}}return kt(n)}function fa(e,o){let a=Ht(e);return a===o||!yt(a)||be(a)?!1:et(a).position==="fixed"||fa(a,o)}function mn(e,o){let a=o.get(e);if(a)return a;let n=ze(e,[],!1).filter(p=>yt(p)&&vt(p)!=="body"),l=null,c=et(e).position==="fixed",s=c?Ht(e):e;for(;yt(s)&&!be(s);){let p=et(s),y=Te(s);!y&&p.position==="fixed"&&(l=null),(c?!y&&!l:!y&&p.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||oe(s)&&!y&&fa(e,s))?n=n.filter(O=>O!==s):l=p,s=Ht(s)}return o.set(e,n),n}function hn(e){let{element:o,boundary:a,rootBoundary:n,strategy:l}=e,s=[...a==="clippingAncestors"?mn(o,this._c):[].concat(a),n],p=s[0],y=s.reduce((h,O)=>{let x=ia(o,O,l);return h.top=At(x.top,h.top),h.right=me(x.right,h.right),h.bottom=me(x.bottom,h.bottom),h.left=At(x.left,h.left),h},ia(o,p,l));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function bn(e){return ca(e)}function xn(e,o,a){let n=ct(o),l=Nt(o),c=a==="fixed",s=Se(e,!0,c,o),p={scrollLeft:0,scrollTop:0},y=Ct(0);if(n||!n&&!c)if((vt(o)!=="body"||oe(l))&&(p=xe(o)),n){let h=Se(o,!0,c,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else l&&(y.x=pa(l));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function la(e,o){return!ct(e)||et(e).position==="fixed"?null:o?o(e):e.offsetParent}function ya(e,o){let a=J(e);if(!ct(e))return a;let n=la(e,o);for(;n&&ra(n)&&et(n).position==="static";)n=la(n,o);return n&&(vt(n)==="html"||vt(n)==="body"&&et(n).position==="static"&&!Te(n))?a:n||aa(e)||a}var Sn=async function(e){let{reference:o,floating:a,strategy:n}=e,l=this.getOffsetParent||ya,c=this.getDimensions;return{reference:xn(o,await l(a),n),floating:{x:0,y:0,...await c(a)}}};function On(e){return et(e).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:pn,getDocumentElement:Nt,getClippingRect:hn,getOffsetParent:ya,getElementRects:Sn,getClientRects:fn,getDimensions:bn,getScale:re,isElement:yt,isRTL:On};var ua=(e,o,a)=>{let n=new Map,l={platform:He,...a},c={...l.platform,_c:n};return ta(e,o,{...l,platform:c})};function ga(e){return Cn(e)}function so(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Cn(e){for(let o=e;o;o=so(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=so(e);o;o=so(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function ma(e,o,a){return ua(e,o,{platform:{...He,getOffsetParent:n=>He.getOffsetParent(n,ga)},middleware:[co({crossAxis:!0}),lo({allowedPlacements:[a]})]})}var tt=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},W=class extends Oe.FtLitElement{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 Oe.Debouncer,this.revealDebouncer=new Oe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ha.html`
531
+ `;var Yr=["top","right","bottom","left"],jr=["start","end"],eo=Yr.reduce((e,o)=>e.concat(o,o+"-"+jr[0],o+"-"+jr[1]),[]),me=Math.min,At=Math.max,he=Math.round;var Ct=e=>({x:e,y:e}),on={left:"right",right:"left",bottom:"top",top:"bottom"},rn={start:"end",end:"start"};function oo(e,o,a){return At(e,me(o,a))}function Pe(e,o){return typeof e=="function"?e(o):e}function ee(e){return e.split("-")[0]}function Bt(e){return e.split("-")[1]}function ro(e){return e==="x"?"y":"x"}function ao(e){return e==="y"?"height":"width"}function We(e){return["top","bottom"].includes(ee(e))?"y":"x"}function no(e){return ro(We(e))}function Xr(e,o,a){a===void 0&&(a=!1);let n=Bt(e),l=no(e),c=ao(l),s=l==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(s=to(s)),[s,to(s)]}function qr(e){return e.replace(/start|end/g,o=>rn[o])}function to(e){return e.replace(/left|right|bottom|top/g,o=>on[o])}function an(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qr(e){return typeof e!="number"?an(e):{top:e,right:e,bottom:e,left:e}}function kt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Jr(e,o,a){let{reference:n,floating:l}=e,c=We(o),s=no(o),p=ao(s),y=ee(o),h=c==="y",O=n.x+n.width/2-l.width/2,x=n.y+n.height/2-l.height/2,E=n[p]/2-l[p]/2,v;switch(y){case"top":v={x:O,y:n.y-l.height};break;case"bottom":v={x:O,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:x};break;case"left":v={x:n.x-l.width,y:x};break;default:v={x:n.x,y:n.y}}switch(Bt(o)){case"start":v[s]-=E*(a&&h?-1:1);break;case"end":v[s]+=E*(a&&h?-1:1);break}return v}var ta=async(e,o,a)=>{let{placement:n="bottom",strategy:l="absolute",middleware:c=[],platform:s}=a,p=c.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:l}),{x:O,y:x}=Jr(h,n,y),E=n,v={},R=0;for(let T=0;T<p.length;T++){let{name:_,fn:k}=p[T],{x:D,y:Y,data:wt,reset:j}=await k({x:O,y:x,initialPlacement:n,placement:E,strategy:l,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});if(O=D??O,x=Y??x,v={...v,[_]:{...v[_],...wt}},j&&R<=50){R++,typeof j=="object"&&(j.placement&&(E=j.placement),j.rects&&(h=j.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:l}):j.rects),{x:O,y:x}=Jr(h,E,y)),T=-1;continue}}return{x:O,y:x,placement:E,strategy:l,middlewareData:v}};async function io(e,o){var a;o===void 0&&(o={});let{x:n,y:l,platform:c,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:x="floating",altBoundary:E=!1,padding:v=0}=Pe(o,e),R=Qr(v),_=p[E?x==="floating"?"reference":"floating":x],k=kt(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(_)))==null||a?_:_.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),D=x==="floating"?{...s.floating,x:n,y:l}:s.reference,Y=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),wt=await(c.isElement==null?void 0:c.isElement(Y))?await(c.getScale==null?void 0:c.getScale(Y))||{x:1,y:1}:{x:1,y:1},j=kt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:D,offsetParent:Y,strategy:y}):D);return{top:(k.top-j.top+R.top)/wt.y,bottom:(j.bottom-k.bottom+R.bottom)/wt.y,left:(k.left-j.left+R.left)/wt.x,right:(j.right-k.right+R.right)/wt.x}}function nn(e,o,a){return(e?[...a.filter(l=>Bt(l)===e),...a.filter(l=>Bt(l)!==e)]:a.filter(l=>ee(l)===l)).filter(l=>e?Bt(l)===e||(o?qr(l)!==l:!1):!0)}var lo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,n,l;let{rects:c,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:O=!1,alignment:x,allowedPlacements:E=eo,autoAlignment:v=!0,...R}=Pe(e,o),T=x!==void 0||E===eo?nn(x||null,v,E):E,_=await io(o,R),k=((a=s.autoPlacement)==null?void 0:a.index)||0,D=T[k];if(D==null)return{};let Y=Xr(D,c,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==D)return{reset:{placement:T[0]}};let wt=[_[ee(D)],_[Y[0]],_[Y[1]]],j=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:D,overflows:wt}],uo=T[k+1];if(uo)return{data:{index:k+1,overflows:j},reset:{placement:uo}};let go=j.map(dt=>{let le=Bt(dt.placement);return[dt.placement,le&&O?dt.overflows.slice(0,2).reduce((Ga,Za)=>Ga+Za,0):dt.overflows[0],dt.overflows]}).sort((dt,le)=>dt[1]-le[1]),mo=((l=go.filter(dt=>dt[2].slice(0,Bt(dt[0])?2:3).every(le=>le<=0))[0])==null?void 0:l[0])||go[0][0];return mo!==p?{data:{index:k+1,overflows:j},reset:{placement:mo}}:{}}}};var co=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:n,placement:l}=o,{mainAxis:c=!0,crossAxis:s=!1,limiter:p={fn:_=>{let{x:k,y:D}=_;return{x:k,y:D}}},...y}=Pe(e,o),h={x:a,y:n},O=await io(o,y),x=We(ee(l)),E=ro(x),v=h[E],R=h[x];if(c){let _=E==="y"?"top":"left",k=E==="y"?"bottom":"right",D=v+O[_],Y=v-O[k];v=oo(D,v,Y)}if(s){let _=x==="y"?"top":"left",k=x==="y"?"bottom":"right",D=R+O[_],Y=R-O[k];R=oo(D,R,Y)}let T=p.fn({...o,[E]:v,[x]:R});return{...T,data:{x:T.x-a,y:T.y-n}}}}};function vt(e){return oa(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Nt(e){var o;return(o=(oa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function oa(e){return e instanceof Node||e instanceof J(e).Node}function yt(e){return e instanceof Element||e instanceof J(e).Element}function ct(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function ea(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function oe(e){let{overflow:o,overflowX:a,overflowY:n,display:l}=et(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+a)&&!["inline","contents"].includes(l)}function ra(e){return["table","td","th"].includes(vt(e))}function Te(e){let o=ke(),a=et(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function aa(e){let o=Ht(e);for(;ct(o)&&!be(o);){if(Te(o))return o;o=Ht(o)}return null}function ke(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function be(e){return["html","body","#document"].includes(vt(e))}function et(e){return J(e).getComputedStyle(e)}function xe(e){return yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ht(e){if(vt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||ea(e)&&e.host||Nt(e);return ea(o)?o.host:o}function na(e){let o=Ht(e);return be(o)?e.ownerDocument?e.ownerDocument.body:e.body:ct(o)&&oe(o)?o:na(o)}function ze(e,o,a){var n;o===void 0&&(o=[]),a===void 0&&(a=!0);let l=na(e),c=l===((n=e.ownerDocument)==null?void 0:n.body),s=J(l);return c?o.concat(s,s.visualViewport||[],oe(l)?l:[],s.frameElement&&a?ze(s.frameElement):[]):o.concat(l,ze(l,[],a))}function ca(e){let o=et(e),a=parseFloat(o.width)||0,n=parseFloat(o.height)||0,l=ct(e),c=l?e.offsetWidth:a,s=l?e.offsetHeight:n,p=he(a)!==c||he(n)!==s;return p&&(a=c,n=s),{width:a,height:n,$:p}}function sa(e){return yt(e)?e:e.contextElement}function re(e){let o=sa(e);if(!ct(o))return Ct(1);let a=o.getBoundingClientRect(),{width:n,height:l,$:c}=ca(o),s=(c?he(a.width):a.width)/n,p=(c?he(a.height):a.height)/l;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var sn=Ct(0);function da(e){let o=J(e);return!ke()||!o.visualViewport?sn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function dn(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==J(e)?!1:o}function Se(e,o,a,n){o===void 0&&(o=!1),a===void 0&&(a=!1);let l=e.getBoundingClientRect(),c=sa(e),s=Ct(1);o&&(n?yt(n)&&(s=re(n)):s=re(e));let p=dn(c,a,n)?da(c):Ct(0),y=(l.left+p.x)/s.x,h=(l.top+p.y)/s.y,O=l.width/s.x,x=l.height/s.y;if(c){let E=J(c),v=n&&yt(n)?J(n):n,R=E.frameElement;for(;R&&n&&v!==E;){let T=re(R),_=R.getBoundingClientRect(),k=et(R),D=_.left+(R.clientLeft+parseFloat(k.paddingLeft))*T.x,Y=_.top+(R.clientTop+parseFloat(k.paddingTop))*T.y;y*=T.x,h*=T.y,O*=T.x,x*=T.y,y+=D,h+=Y,R=J(R).frameElement}}return kt({width:O,height:x,x:y,y:h})}function pn(e){let{rect:o,offsetParent:a,strategy:n}=e,l=ct(a),c=Nt(a);if(a===c)return o;let s={scrollLeft:0,scrollTop:0},p=Ct(1),y=Ct(0);if((l||!l&&n!=="fixed")&&((vt(a)!=="body"||oe(c))&&(s=xe(a)),ct(a))){let h=Se(a);p=re(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+y.x,y:o.y*p.y-s.scrollTop*p.y+y.y}}function fn(e){return Array.from(e.getClientRects())}function pa(e){return Se(Nt(e)).left+xe(e).scrollLeft}function yn(e){let o=Nt(e),a=xe(e),n=e.ownerDocument.body,l=At(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),c=At(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),s=-a.scrollLeft+pa(e),p=-a.scrollTop;return et(n).direction==="rtl"&&(s+=At(o.clientWidth,n.clientWidth)-l),{width:l,height:c,x:s,y:p}}function un(e,o){let a=J(e),n=Nt(e),l=a.visualViewport,c=n.clientWidth,s=n.clientHeight,p=0,y=0;if(l){c=l.width,s=l.height;let h=ke();(!h||h&&o==="fixed")&&(p=l.offsetLeft,y=l.offsetTop)}return{width:c,height:s,x:p,y}}function gn(e,o){let a=Se(e,!0,o==="fixed"),n=a.top+e.clientTop,l=a.left+e.clientLeft,c=ct(e)?re(e):Ct(1),s=e.clientWidth*c.x,p=e.clientHeight*c.y,y=l*c.x,h=n*c.y;return{width:s,height:p,x:y,y:h}}function ia(e,o,a){let n;if(o==="viewport")n=un(e,a);else if(o==="document")n=yn(Nt(e));else if(yt(o))n=gn(o,a);else{let l=da(e);n={...o,x:o.x-l.x,y:o.y-l.y}}return kt(n)}function fa(e,o){let a=Ht(e);return a===o||!yt(a)||be(a)?!1:et(a).position==="fixed"||fa(a,o)}function mn(e,o){let a=o.get(e);if(a)return a;let n=ze(e,[],!1).filter(p=>yt(p)&&vt(p)!=="body"),l=null,c=et(e).position==="fixed",s=c?Ht(e):e;for(;yt(s)&&!be(s);){let p=et(s),y=Te(s);!y&&p.position==="fixed"&&(l=null),(c?!y&&!l:!y&&p.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||oe(s)&&!y&&fa(e,s))?n=n.filter(O=>O!==s):l=p,s=Ht(s)}return o.set(e,n),n}function hn(e){let{element:o,boundary:a,rootBoundary:n,strategy:l}=e,s=[...a==="clippingAncestors"?mn(o,this._c):[].concat(a),n],p=s[0],y=s.reduce((h,O)=>{let x=ia(o,O,l);return h.top=At(x.top,h.top),h.right=me(x.right,h.right),h.bottom=me(x.bottom,h.bottom),h.left=At(x.left,h.left),h},ia(o,p,l));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function bn(e){return ca(e)}function xn(e,o,a){let n=ct(o),l=Nt(o),c=a==="fixed",s=Se(e,!0,c,o),p={scrollLeft:0,scrollTop:0},y=Ct(0);if(n||!n&&!c)if((vt(o)!=="body"||oe(l))&&(p=xe(o)),n){let h=Se(o,!0,c,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else l&&(y.x=pa(l));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function la(e,o){return!ct(e)||et(e).position==="fixed"?null:o?o(e):e.offsetParent}function ya(e,o){let a=J(e);if(!ct(e))return a;let n=la(e,o);for(;n&&ra(n)&&et(n).position==="static";)n=la(n,o);return n&&(vt(n)==="html"||vt(n)==="body"&&et(n).position==="static"&&!Te(n))?a:n||aa(e)||a}var Sn=async function(e){let{reference:o,floating:a,strategy:n}=e,l=this.getOffsetParent||ya,c=this.getDimensions;return{reference:xn(o,await l(a),n),floating:{x:0,y:0,...await c(a)}}};function On(e){return et(e).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:pn,getDocumentElement:Nt,getClippingRect:hn,getOffsetParent:ya,getElementRects:Sn,getClientRects:fn,getDimensions:bn,getScale:re,isElement:yt,isRTL:On};var ua=(e,o,a)=>{let n=new Map,l={platform:He,...a},c={...l.platform,_c:n};return ta(e,o,{...l,platform:c})};function ga(e){return Cn(e)}function so(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Cn(e){for(let o=e;o;o=so(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=so(e);o;o=so(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function ma(e,o,a){return ua(e,o,{platform:{...He,getOffsetParent:n=>He.getOffsetParent(n,ga)},middleware:[co({crossAxis:!0}),lo({allowedPlacements:[a]})]})}var tt=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},W=class extends Oe.FtLitElement{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 Oe.Debouncer,this.revealDebouncer=new Oe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ha.html`
532
532
  <div part="container"
533
533
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
534
534
  @mouseenter=${this.onHover}
@@ -558,7 +558,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
558
558
  <div></div>
559
559
  <div></div>
560
560
  </div>
561
- `}};Ut.styles=gr;(0,wa.customElement)("ft-loader")(Ut);var It=b(z()),po=b(de()),M=b(it()),j=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},P=class extends(0,Pt.toFtFormComponent)(Pt.FtLitElement,"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",o=>{var a;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((a=this.form)===null||a===void 0||a.requestSubmit())})}render(){var o,a,n;let l=It.html`
561
+ `}};Ut.styles=gr;(0,wa.customElement)("ft-loader")(Ut);var It=b(z()),po=b(de()),G=b(it()),V=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},P=class extends(0,Pt.toFtFormComponent)(Pt.FtLitElement,"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",o=>{var a;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((a=this.form)===null||a===void 0||a.requestSubmit())})}render(){var o,a,n;let l=It.html`
562
562
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
563
563
  <ft-typography part="label"
564
564
  variant=${this.typographyVariant}
@@ -595,7 +595,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
595
595
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
596
596
  `:It.html`
597
597
  <slot part="icon" name="icon"></slot>
598
- `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}click(){var o;(o=this.button)===null||o===void 0||o.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Pt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};P.elementDefinitions={"ft-ripple":I,"ft-tooltip":W,"ft-typography":q,"ft-icon":at,"ft-loader":Ut};j([(0,M.property)()],P.prototype,"href",void 0);j([(0,M.property)()],P.prototype,"target",void 0);j([(0,M.property)({type:String,reflect:!0})],P.prototype,"role",void 0);j([(0,M.property)()],P.prototype,"type",void 0);j([(0,M.property)({type:Boolean})],P.prototype,"disabled",void 0);j([(0,M.property)()],P.prototype,"label",void 0);j([(0,M.property)()],P.prototype,"icon",void 0);j([(0,M.property)()],P.prototype,"iconVariant",void 0);j([(0,M.property)({type:Boolean})],P.prototype,"trailingIcon",void 0);j([(0,M.property)({type:Boolean})],P.prototype,"loading",void 0);j([(0,M.property)({attribute:"aria-label"})],P.prototype,"ariaLabel",void 0);j([(0,M.property)()],P.prototype,"tooltipPosition",void 0);j([(0,M.property)({type:Boolean})],P.prototype,"hideTooltip",void 0);j([(0,M.property)({type:Boolean})],P.prototype,"forceTooltip",void 0);j([(0,M.query)(".ft-button")],P.prototype,"button",void 0);j([(0,M.query)(".ft-button--label slot")],P.prototype,"slottedContent",void 0);var De=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},st=class extends P{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"}};st.styles=[La.safariEllipsisFix,Or];De([(0,ve.property)({type:Boolean})],st.prototype,"primary",void 0);De([(0,ve.property)({type:Boolean})],st.prototype,"outlined",void 0);De([(0,ve.property)({type:Boolean})],st.prototype,"dense",void 0);De([(0,ve.property)({type:Boolean})],st.prototype,"round",void 0);var Ne=b(it());var Ge=b(L());var Ra=b(z()),f=b(L());var $a=[Ra.css`
598
+ `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}focusWithoutTooltip(){var o;this.setTooltipManual(!0),(o=this.button)===null||o===void 0||o.focus(),this.setTooltipManual(!1)}setTooltipManual(o){this.tooltip&&(this.tooltip.manual=o)}click(){var o;(o=this.button)===null||o===void 0||o.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Pt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};P.elementDefinitions={"ft-ripple":I,"ft-tooltip":W,"ft-typography":q,"ft-icon":at,"ft-loader":Ut};V([(0,G.property)()],P.prototype,"href",void 0);V([(0,G.property)()],P.prototype,"target",void 0);V([(0,G.property)({type:String,reflect:!0})],P.prototype,"role",void 0);V([(0,G.property)()],P.prototype,"type",void 0);V([(0,G.property)({type:Boolean})],P.prototype,"disabled",void 0);V([(0,G.property)()],P.prototype,"label",void 0);V([(0,G.property)()],P.prototype,"icon",void 0);V([(0,G.property)()],P.prototype,"iconVariant",void 0);V([(0,G.property)({type:Boolean})],P.prototype,"trailingIcon",void 0);V([(0,G.property)({type:Boolean})],P.prototype,"loading",void 0);V([(0,G.property)({attribute:"aria-label"})],P.prototype,"ariaLabel",void 0);V([(0,G.property)()],P.prototype,"tooltipPosition",void 0);V([(0,G.property)({type:Boolean})],P.prototype,"hideTooltip",void 0);V([(0,G.property)({type:Boolean})],P.prototype,"forceTooltip",void 0);V([(0,G.query)(".ft-button")],P.prototype,"button",void 0);V([(0,G.query)(".ft-button--label slot")],P.prototype,"slottedContent",void 0);V([(0,G.query)("[part=tooltip]")],P.prototype,"tooltip",void 0);var De=function(e,o,a,n){var l=arguments.length,c=l<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(l<3?s(c):l>3?s(o,a,c):s(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},st=class extends P{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"}};st.styles=[La.safariEllipsisFix,Or];De([(0,ve.property)({type:Boolean})],st.prototype,"primary",void 0);De([(0,ve.property)({type:Boolean})],st.prototype,"outlined",void 0);De([(0,ve.property)({type:Boolean})],st.prototype,"dense",void 0);De([(0,ve.property)({type:Boolean})],st.prototype,"round",void 0);var Ne=b(it());var Ge=b(L());var Ra=b(z()),f=b(L());var $a=[Ra.css`
599
599
  :host {
600
600
  display: inline-block;
601
601
  max-width: 100%;