@fluid-topics/ft-in-product-help 1.2.59 → 1.2.61

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.
@@ -395,7 +395,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
395
395
  transform: translate(calc(0.35 * ${I.size}), 0);
396
396
  }
397
397
  }
398
- `;var Nr=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),F={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorSurface),borderRadius:C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusL),color:Nr,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",ut.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",Nr),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")},Er=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),De={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:Er,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Er)},gt={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")},Lr=[Rr.css`
398
+ `;var Nr=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:Nr,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",ut.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",Nr),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")},Er=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),De={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:Er,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Er)},gt={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")},Lr=[Rr.css`
399
399
  :host {
400
400
  display: inline-block;
401
401
  max-width: 100%;
@@ -406,7 +406,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
406
406
  box-shadow: 0px 0px 0px transparent;
407
407
  border: 0px solid transparent;
408
408
  text-shadow: 0px 0px 0px transparent;
409
- font-size: ${F.fontSize};
409
+ font-size: ${Z.fontSize};
410
410
  text-decoration: none;
411
411
  }
412
412
 
@@ -436,21 +436,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
436
436
  border: none;
437
437
  pointer-events: auto;
438
438
 
439
- --ft-button-internal-line-height: max(calc(${F.fontSize} + 2px), ${F.iconSize});
440
- --ft-button-internal-color: ${F.color};
441
- ${(0,C.setVariable)(q.size,F.iconSize)};
442
- ${(0,C.setVariable)(u.color,F.rippleColor)};
439
+ --ft-button-internal-line-height: max(calc(${Z.fontSize} + 2px), ${Z.iconSize});
440
+ --ft-button-internal-color: ${Z.color};
441
+ ${(0,C.setVariable)(q.size,Z.iconSize)};
442
+ ${(0,C.setVariable)(u.color,Z.rippleColor)};
443
443
 
444
- border-radius: ${F.borderRadius};
445
- padding: ${F.verticalPadding} ${F.horizontalPadding};
446
- background-color: ${F.backgroundColor};
444
+ border-radius: ${Z.borderRadius};
445
+ padding: ${Z.verticalPadding} ${Z.horizontalPadding};
446
+ background-color: ${Z.backgroundColor};
447
447
  color: var(--ft-button-internal-color);
448
448
  -webkit-mask-image: radial-gradient(white, black);
449
449
  }
450
450
 
451
451
  .ft-button.ft-button--outlined {
452
452
  border: 1px solid var(--ft-button-internal-color);
453
- padding: calc(${F.verticalPadding} - 1px) calc(${F.horizontalPadding} - 1px);
453
+ padding: calc(${Z.verticalPadding} - 1px) calc(${Z.horizontalPadding} - 1px);
454
454
  }
455
455
 
456
456
  .ft-button.ft-button--dense {
@@ -468,7 +468,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
468
468
  }
469
469
 
470
470
  .ft-button--round {
471
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${F.verticalPadding});
471
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Z.verticalPadding});
472
472
  }
473
473
 
474
474
  .ft-button--round.ft-button--dense {
@@ -477,7 +477,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
477
477
 
478
478
  .ft-button[disabled] {
479
479
  filter: grayscale(1);
480
- opacity: ${F.opacityDisabled};
480
+ opacity: ${Z.opacityDisabled};
481
481
  }
482
482
 
483
483
  .ft-button.ft-button--primary {
@@ -496,7 +496,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
496
496
  white-space: nowrap;
497
497
  text-overflow: ellipsis;
498
498
  display: block;
499
- margin: 0 ${F.iconPadding};
499
+ margin: 0 ${Z.iconPadding};
500
500
  ${(0,C.setVariable)(ut.fontSize,"1em")};
501
501
  ${(0,C.setVariable)(ut.lineHeight,"var(--ft-button-internal-line-height)")};
502
502
  }
@@ -515,8 +515,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
515
515
  }
516
516
 
517
517
  .ft-button--label[hidden] + [part="icon"] {
518
- margin: 0 calc(${F.horizontalPadding} * -1);
519
- padding: 0 ${F.verticalPadding};
518
+ margin: 0 calc(${Z.horizontalPadding} * -1);
519
+ padding: 0 ${Z.verticalPadding};
520
520
  }
521
521
 
522
522
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
@@ -529,7 +529,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
529
529
  }
530
530
 
531
531
  ft-loader {
532
- ${(0,C.setVariable)(I.size,F.iconSize)};
532
+ ${(0,C.setVariable)(I.size,Z.iconSize)};
533
533
  ${(0,C.setVariable)(I.color,"var(--ft-button-internal-color)")};
534
534
  }
535
535
  `,C.noTextSelect];var Bt=x(R());var $r=x(R());var Ar=x(U()),V=x(ft()),Ir=x(Ce()),le=x(R());var Q=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},B=class extends le.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 le.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 le.Debouncer(10),this.moveRipple=o=>{var a,i;let{x:c,y:l}=this.getCoordinates(o),d=(i=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(c!=null?c-d.x:d.width/2),this.originY=Math.round(l!=null?l-d.y:d.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 Ar.html`
@@ -545,7 +545,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
545
545
  </div>
546
546
  `}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,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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 i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((a=this.target)!==null&&a!==void 0?a:i)}forceFocusUpdate(){var o;!((o=this.target)===null||o===void 0)&&o.matches(":focus-within")?this.startFocus():this.endFocus()}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(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(y)},i=a("mouseup","contextmenu"),c=a("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&a("keyup")(p)},d={passive:!0};o.addEventListener("mouseover",this.startHover,d),o.addEventListener("mousemove",this.moveRipple,d),o.addEventListener("mouseleave",this.endHover,d),o.addEventListener("mousedown",i,d),o.addEventListener("touchstart",c,d),o.addEventListener("touchmove",this.moveRipple,d),o.addEventListener("keydown",l,d),o.addEventListener("focus",this.startFocus,d),o.addEventListener("blur",this.endFocus,d),o.addEventListener("focusin",this.startFocus,d),o.addEventListener("focusout",this.endFocus,d),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,d),o.removeEventListener("mousemove",this.moveRipple,d),o.removeEventListener("mouseleave",this.endHover,d),o.removeEventListener("mousedown",i,d),o.removeEventListener("touchstart",c,d),o.removeEventListener("touchmove",this.moveRipple,d),o.removeEventListener("keydown",l,d),o.removeEventListener("focus",this.startFocus,d),o.removeEventListener("blur",this.endFocus,d),o.removeEventListener("focusin",this.startFocus,d),o.removeEventListener("focusout",this.endFocus,d),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let a=o,i=o,c,l;return a.x!=null?{x:c,y:l}=a:i.touches!=null&&(c=i.touches[0].clientX,l=i.touches[0].clientY),{x:c,y:l}}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()}};B.elementDefinitions={};B.styles=zo;Q([(0,V.property)({type:Boolean})],B.prototype,"primary",void 0);Q([(0,V.property)({type:Boolean})],B.prototype,"secondary",void 0);Q([(0,V.property)({type:Boolean})],B.prototype,"unbounded",void 0);Q([(0,V.property)({type:Boolean})],B.prototype,"activated",void 0);Q([(0,V.property)({type:Boolean})],B.prototype,"selected",void 0);Q([(0,V.property)({type:Boolean})],B.prototype,"disabled",void 0);Q([(0,V.state)()],B.prototype,"hovered",void 0);Q([(0,V.state)()],B.prototype,"focused",void 0);Q([(0,V.state)()],B.prototype,"pressed",void 0);Q([(0,V.state)()],B.prototype,"rippling",void 0);Q([(0,V.state)()],B.prototype,"originX",void 0);Q([(0,V.state)()],B.prototype,"originY",void 0);Q([(0,V.query)(".ft-ripple")],B.prototype,"ripple",void 0);Q([(0,V.query)(".ft-ripple--effect")],B.prototype,"rippleEffect",void 0);(0,$r.customElement)("ft-ripple")(B);var wa=x(R());var va=x(U()),G=x(ft()),me=x(R());var Yr=x(R());var Ke=globalThis,Ee=Ke.trustedTypes,Br=Ee?Ee.createPolicy("lit-html",{createHTML:e=>e}):void 0,Hr="$lit$",Lt=`lit$${Math.random().toFixed(9).slice(2)}$`,Dr="?"+Lt,Va=`<${Dr}>`,Tt=document,Re=()=>Tt.createComment(""),se=e=>e===null||typeof e!="object"&&typeof e!="function",Ve=Array.isArray,ja=e=>Ve(e)||typeof e?.[Symbol.iterator]=="function",_e=`[
547
547
  \f\r]`,de=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Pr=/-->/g,Wr=/>/g,Pt=RegExp(`>|${_e}(?:([^\\s"'>=/]+)(${_e}*=${_e}*(?:[^
548
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Tr=/'/g,kr=/"/g,_r=/^(?:script|style|textarea|title)$/i,je=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Ur=je(1),Gr=je(2),Mr=je(3),pe=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),zr=new WeakMap,Wt=Tt.createTreeWalker(Tt,129);function Zr(e,o){if(!Ve(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Br!==void 0?Br.createHTML(o):o}var Ya=(e,o)=>{let a=e.length-1,i=[],c,l=o===2?"<svg>":o===3?"<math>":"",d=de;for(let p=0;p<a;p++){let y=e[p],m,O,b=-1,w=0;for(;w<y.length&&(d.lastIndex=w,O=d.exec(y),O!==null);)w=d.lastIndex,d===de?O[1]==="!--"?d=Pr:O[1]!==void 0?d=Wr:O[2]!==void 0?(_r.test(O[2])&&(c=RegExp("</"+O[2],"g")),d=Pt):O[3]!==void 0&&(d=Pt):d===Pt?O[0]===">"?(d=c??de,b=-1):O[1]===void 0?b=-2:(b=d.lastIndex-O[2].length,m=O[1],d=O[3]===void 0?Pt:O[3]==='"'?kr:Tr):d===kr||d===Tr?d=Pt:d===Pr||d===Wr?d=de:(d=Pt,c=void 0);let v=d===Pt&&e[p+1].startsWith("/>")?" ":"";l+=d===de?y+Va:b>=0?(i.push(m),y.slice(0,b)+Hr+y.slice(b)+Lt+v):y+Lt+(b===-2?p:v)}return[Zr(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},fe=class e{constructor({strings:o,_$litType$:a},i){let c;this.parts=[];let l=0,d=0,p=o.length-1,y=this.parts,[m,O]=Ya(o,a);if(this.el=e.createElement(m,i),Wt.currentNode=this.el.content,a===2||a===3){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(c=Wt.nextNode())!==null&&y.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let b of c.getAttributeNames())if(b.endsWith(Hr)){let w=O[d++],v=c.getAttribute(b).split(Lt),E=/([.?@])?(.*)/.exec(w);y.push({type:1,index:l,name:E[2],strings:v,ctor:E[1]==="."?Ge:E[1]==="?"?Me:E[1]==="@"?Ze:qt}),c.removeAttribute(b)}else b.startsWith(Lt)&&(y.push({type:6,index:l}),c.removeAttribute(b));if(_r.test(c.tagName)){let b=c.textContent.split(Lt),w=b.length-1;if(w>0){c.textContent=Ee?Ee.emptyScript:"";for(let v=0;v<w;v++)c.append(b[v],Re()),Wt.nextNode(),y.push({type:2,index:++l});c.append(b[w],Re())}}}else if(c.nodeType===8)if(c.data===Dr)y.push({type:2,index:l});else{let b=-1;for(;(b=c.data.indexOf(Lt,b+1))!==-1;)y.push({type:7,index:l}),b+=Lt.length-1}l++}}static createElement(o,a){let i=Tt.createElement("template");return i.innerHTML=o,i}};function Xt(e,o,a=e,i){if(o===pe)return o;let c=i!==void 0?a._$Co?.[i]:a._$Cl,l=se(o)?void 0:o._$litDirective$;return c?.constructor!==l&&(c?._$AO?.(!1),l===void 0?c=void 0:(c=new l(e),c._$AT(e,a,i)),i!==void 0?(a._$Co??=[])[i]=c:a._$Cl=c),c!==void 0&&(o=Xt(e,c._$AS(e,o.values),c,i)),o}var Ue=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:i}=this._$AD,c=(o?.creationScope??Tt).importNode(a,!0);Wt.currentNode=c;let l=Wt.nextNode(),d=0,p=0,y=i[0];for(;y!==void 0;){if(d===y.index){let m;y.type===2?m=new Le(l,l.nextSibling,this,o):y.type===1?m=new y.ctor(l,y.name,y.strings,this,o):y.type===6&&(m=new Fe(l,this,o)),this._$AV.push(m),y=i[++p]}d!==y?.index&&(l=Wt.nextNode(),d++)}return Wt.currentNode=Tt,c}p(o){let a=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,a),a+=i.strings.length-2):i._$AI(o[a])),a++}},Le=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,c){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=i,this.options=c,this._$Cv=c?.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=Xt(this,o,a),se(o)?o===K||o==null||o===""?(this._$AH!==K&&this._$AR(),this._$AH=K):o!==this._$AH&&o!==pe&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):ja(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==K&&se(this._$AH)?this._$AA.nextSibling.data=o:this.T(Tt.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:i}=o,c=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=fe.createElement(Zr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new Ue(c,this),d=l.u(this.options);l.p(a),this.T(d),this._$AH=l}}_$AC(o){let a=zr.get(o.strings);return a===void 0&&zr.set(o.strings,a=new fe(o)),a}k(o){Ve(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,c=0;for(let l of o)c===a.length?a.push(i=new e(this.O(Re()),this.O(Re()),this,this.options)):i=a[c],i._$AI(l),c++;c<a.length&&(this._$AR(i&&i._$AB.nextSibling,c),a.length=c)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,c,l){this.type=1,this._$AH=K,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=K}_$AI(o,a=this,i,c){let l=this.strings,d=!1;if(l===void 0)o=Xt(this,o,a,0),d=!se(o)||o!==this._$AH&&o!==pe,d&&(this._$AH=o);else{let p=o,y,m;for(o=l[0],y=0;y<l.length-1;y++)m=Xt(this,p[i+y],a,y),m===pe&&(m=this._$AH[y]),d||=!se(m)||m!==this._$AH[y],m===K?o=K:o!==K&&(o+=(m??"")+l[y+1]),this._$AH[y]=m}d&&!c&&this.j(o)}j(o){o===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ge=class extends qt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===K?void 0:o}},Me=class extends qt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==K)}},Ze=class extends qt{constructor(o,a,i,c,l){super(o,a,i,c,l),this.type=5}_$AI(o,a=this){if((o=Xt(this,o,a,0)??K)===pe)return;let i=this._$AH,c=o===K&&i!==K||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==K&&(i===K||c);c&&this.element.removeEventListener(this.name,this,i),l&&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)}},Fe=class{constructor(o,a,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){Xt(this,o)}};var Xa=Ke.litHtmlPolyfillSupport;Xa?.(fe,Le),(Ke.litHtmlVersions??=[]).push("3.3.0");var Kr=Symbol.for(""),qa=e=>{if(e?.r===Kr)return e?._$litStatic$},Ye=e=>({_$litStatic$:e,r:Kr});var Fr=new Map,Xe=e=>(o,...a)=>{let i=a.length,c,l,d=[],p=[],y,m=0,O=!1;for(;m<i;){for(y=o[m];m<i&&(l=a[m],(c=qa(l))!==void 0);)y+=c+o[++m],O=!0;m!==i&&p.push(l),d.push(y),m++}if(m===i&&d.push(o[i]),O){let b=d.join("$$lit$$");(o=Fr.get(b))===void 0&&(d.raw=d,Fr.set(b,o=d)),a=p}return e(o,...a)},qe=Xe(Ur),gs=Xe(Gr),hs=Xe(Mr);var Qe=x(ft()),jr=x(R());var At;(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"})(At||(At={}));var Vr=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},lt=class extends jr.FtLitElement{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?qe`
548
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Tr=/'/g,kr=/"/g,_r=/^(?:script|style|textarea|title)$/i,je=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Ur=je(1),Gr=je(2),Mr=je(3),pe=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),zr=new WeakMap,Wt=Tt.createTreeWalker(Tt,129);function Zr(e,o){if(!Ve(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Br!==void 0?Br.createHTML(o):o}var Ya=(e,o)=>{let a=e.length-1,i=[],c,l=o===2?"<svg>":o===3?"<math>":"",d=de;for(let p=0;p<a;p++){let y=e[p],m,O,b=-1,w=0;for(;w<y.length&&(d.lastIndex=w,O=d.exec(y),O!==null);)w=d.lastIndex,d===de?O[1]==="!--"?d=Pr:O[1]!==void 0?d=Wr:O[2]!==void 0?(_r.test(O[2])&&(c=RegExp("</"+O[2],"g")),d=Pt):O[3]!==void 0&&(d=Pt):d===Pt?O[0]===">"?(d=c??de,b=-1):O[1]===void 0?b=-2:(b=d.lastIndex-O[2].length,m=O[1],d=O[3]===void 0?Pt:O[3]==='"'?kr:Tr):d===kr||d===Tr?d=Pt:d===Pr||d===Wr?d=de:(d=Pt,c=void 0);let v=d===Pt&&e[p+1].startsWith("/>")?" ":"";l+=d===de?y+Va:b>=0?(i.push(m),y.slice(0,b)+Hr+y.slice(b)+Lt+v):y+Lt+(b===-2?p:v)}return[Zr(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},fe=class e{constructor({strings:o,_$litType$:a},i){let c;this.parts=[];let l=0,d=0,p=o.length-1,y=this.parts,[m,O]=Ya(o,a);if(this.el=e.createElement(m,i),Wt.currentNode=this.el.content,a===2||a===3){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(c=Wt.nextNode())!==null&&y.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let b of c.getAttributeNames())if(b.endsWith(Hr)){let w=O[d++],v=c.getAttribute(b).split(Lt),E=/([.?@])?(.*)/.exec(w);y.push({type:1,index:l,name:E[2],strings:v,ctor:E[1]==="."?Ge:E[1]==="?"?Me:E[1]==="@"?Ze:qt}),c.removeAttribute(b)}else b.startsWith(Lt)&&(y.push({type:6,index:l}),c.removeAttribute(b));if(_r.test(c.tagName)){let b=c.textContent.split(Lt),w=b.length-1;if(w>0){c.textContent=Ee?Ee.emptyScript:"";for(let v=0;v<w;v++)c.append(b[v],Re()),Wt.nextNode(),y.push({type:2,index:++l});c.append(b[w],Re())}}}else if(c.nodeType===8)if(c.data===Dr)y.push({type:2,index:l});else{let b=-1;for(;(b=c.data.indexOf(Lt,b+1))!==-1;)y.push({type:7,index:l}),b+=Lt.length-1}l++}}static createElement(o,a){let i=Tt.createElement("template");return i.innerHTML=o,i}};function Xt(e,o,a=e,i){if(o===pe)return o;let c=i!==void 0?a._$Co?.[i]:a._$Cl,l=se(o)?void 0:o._$litDirective$;return c?.constructor!==l&&(c?._$AO?.(!1),l===void 0?c=void 0:(c=new l(e),c._$AT(e,a,i)),i!==void 0?(a._$Co??=[])[i]=c:a._$Cl=c),c!==void 0&&(o=Xt(e,c._$AS(e,o.values),c,i)),o}var Ue=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:i}=this._$AD,c=(o?.creationScope??Tt).importNode(a,!0);Wt.currentNode=c;let l=Wt.nextNode(),d=0,p=0,y=i[0];for(;y!==void 0;){if(d===y.index){let m;y.type===2?m=new Le(l,l.nextSibling,this,o):y.type===1?m=new y.ctor(l,y.name,y.strings,this,o):y.type===6&&(m=new Fe(l,this,o)),this._$AV.push(m),y=i[++p]}d!==y?.index&&(l=Wt.nextNode(),d++)}return Wt.currentNode=Tt,c}p(o){let a=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,a),a+=i.strings.length-2):i._$AI(o[a])),a++}},Le=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,c){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=i,this.options=c,this._$Cv=c?.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=Xt(this,o,a),se(o)?o===F||o==null||o===""?(this._$AH!==F&&this._$AR(),this._$AH=F):o!==this._$AH&&o!==pe&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):ja(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==F&&se(this._$AH)?this._$AA.nextSibling.data=o:this.T(Tt.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:i}=o,c=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=fe.createElement(Zr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new Ue(c,this),d=l.u(this.options);l.p(a),this.T(d),this._$AH=l}}_$AC(o){let a=zr.get(o.strings);return a===void 0&&zr.set(o.strings,a=new fe(o)),a}k(o){Ve(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,c=0;for(let l of o)c===a.length?a.push(i=new e(this.O(Re()),this.O(Re()),this,this.options)):i=a[c],i._$AI(l),c++;c<a.length&&(this._$AR(i&&i._$AB.nextSibling,c),a.length=c)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,c,l){this.type=1,this._$AH=F,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=F}_$AI(o,a=this,i,c){let l=this.strings,d=!1;if(l===void 0)o=Xt(this,o,a,0),d=!se(o)||o!==this._$AH&&o!==pe,d&&(this._$AH=o);else{let p=o,y,m;for(o=l[0],y=0;y<l.length-1;y++)m=Xt(this,p[i+y],a,y),m===pe&&(m=this._$AH[y]),d||=!se(m)||m!==this._$AH[y],m===F?o=F:o!==F&&(o+=(m??"")+l[y+1]),this._$AH[y]=m}d&&!c&&this.j(o)}j(o){o===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ge=class extends qt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===F?void 0:o}},Me=class extends qt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==F)}},Ze=class extends qt{constructor(o,a,i,c,l){super(o,a,i,c,l),this.type=5}_$AI(o,a=this){if((o=Xt(this,o,a,0)??F)===pe)return;let i=this._$AH,c=o===F&&i!==F||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==F&&(i===F||c);c&&this.element.removeEventListener(this.name,this,i),l&&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)}},Fe=class{constructor(o,a,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){Xt(this,o)}};var Xa=Ke.litHtmlPolyfillSupport;Xa?.(fe,Le),(Ke.litHtmlVersions??=[]).push("3.3.0");var Kr=Symbol.for(""),qa=e=>{if(e?.r===Kr)return e?._$litStatic$},Ye=e=>({_$litStatic$:e,r:Kr});var Fr=new Map,Xe=e=>(o,...a)=>{let i=a.length,c,l,d=[],p=[],y,m=0,O=!1;for(;m<i;){for(y=o[m];m<i&&(l=a[m],(c=qa(l))!==void 0);)y+=c+o[++m],O=!0;m!==i&&p.push(l),d.push(y),m++}if(m===i&&d.push(o[i]),O){let b=d.join("$$lit$$");(o=Fr.get(b))===void 0&&(d.raw=d,Fr.set(b,o=d)),a=p}return e(o,...a)},qe=Xe(Ur),gs=Xe(Gr),hs=Xe(Mr);var Qe=x(ft()),jr=x(R());var At;(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"})(At||(At={}));var Vr=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},lt=class extends jr.FtLitElement{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?qe`
549
549
  <${Ye(this.element)}
550
550
  part="text"
551
551
  class="ft-typography ft-typography--${this.variant}">
@@ -582,7 +582,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
582
582
  position: relative;
583
583
  word-break: break-word;
584
584
  }
585
- `;var Jr=["top","right","bottom","left"],Qr=["start","end"],to=Jr.reduce((e,o)=>e.concat(o,o+"-"+Qr[0],o+"-"+Qr[1]),[]),ta=Math.min,ea=Math.max;var Qa={left:"right",right:"left",bottom:"top",top:"bottom"},Ja={start:"end",end:"start"};function eo(e,o,a){return ea(e,ta(o,a))}function Ae(e,o){return typeof e=="function"?e(o):e}function Jt(e){return e.split("-")[0]}function It(e){return e.split("-")[1]}function oo(e){return e==="x"?"y":"x"}function ro(e){return e==="y"?"height":"width"}function Ie(e){return["top","bottom"].includes(Jt(e))?"y":"x"}function ao(e){return oo(Ie(e))}function oa(e,o,a){a===void 0&&(a=!1);let i=It(e),c=ao(e),l=ro(c),d=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(d=Je(d)),[d,Je(d)]}function ra(e){return e.replace(/start|end/g,o=>Ja[o])}function Je(e){return e.replace(/left|right|bottom|top/g,o=>Qa[o])}function tn(e){return{top:0,right:0,bottom:0,left:0,...e}}function aa(e){return typeof e!="number"?tn(e):{top:e,right:e,bottom:e,left:e}}function kt(e){let{x:o,y:a,width:i,height:c}=e;return{width:i,height:c,top:a,left:o,right:o+i,bottom:a+c,x:o,y:a}}function na(e,o,a){let{reference:i,floating:c}=e,l=Ie(o),d=ao(o),p=ro(d),y=Jt(o),m=l==="y",O=i.x+i.width/2-c.width/2,b=i.y+i.height/2-c.height/2,w=i[p]/2-c[p]/2,v;switch(y){case"top":v={x:O,y:i.y-c.height};break;case"bottom":v={x:O,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:b};break;case"left":v={x:i.x-c.width,y:b};break;default:v={x:i.x,y:i.y}}switch(It(o)){case"start":v[d]-=w*(a&&m?-1:1);break;case"end":v[d]+=w*(a&&m?-1:1);break}return v}var ia=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:d}=a,p=l.filter(Boolean),y=await(d.isRTL==null?void 0:d.isRTL(o)),m=await d.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:b}=na(m,i,y),w=i,v={},E=0;for(let k=0;k<p.length;k++){let{name:D,fn:z}=p[k],{x:_,y:X,data:Nt,reset:Y}=await z({x:O,y:b,initialPlacement:i,placement:w,strategy:c,middlewareData:v,rects:m,platform:d,elements:{reference:e,floating:o}});O=_??O,b=X??b,v={...v,[D]:{...v[D],...Nt}},Y&&E<=50&&(E++,typeof Y=="object"&&(Y.placement&&(w=Y.placement),Y.rects&&(m=Y.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:c}):Y.rects),{x:O,y:b}=na(m,w,y)),k=-1)}return{x:O,y:b,placement:w,strategy:c,middlewareData:v}};async function no(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:d,elements:p,strategy:y}=e,{boundary:m="clippingAncestors",rootBoundary:O="viewport",elementContext:b="floating",altBoundary:w=!1,padding:v=0}=Ae(o,e),E=aa(v),D=p[w?b==="floating"?"reference":"floating":b],z=kt(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(D)))==null||a?D:D.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:m,rootBoundary:O,strategy:y})),_=b==="floating"?{x:i,y:c,width:d.floating.width,height:d.floating.height}:d.reference,X=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Nt=await(l.isElement==null?void 0:l.isElement(X))?await(l.getScale==null?void 0:l.getScale(X))||{x:1,y:1}:{x:1,y:1},Y=kt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:_,offsetParent:X,strategy:y}):_);return{top:(z.top-Y.top+E.top)/Nt.y,bottom:(Y.bottom-z.bottom+E.bottom)/Nt.y,left:(z.left-Y.left+E.left)/Nt.x,right:(Y.right-z.right+E.right)/Nt.x}}function en(e,o,a){return(e?[...a.filter(c=>It(c)===e),...a.filter(c=>It(c)!==e)]:a.filter(c=>Jt(c)===c)).filter(c=>e?It(c)===e||(o?ra(c)!==c:!1):!0)}var io=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,c;let{rects:l,middlewareData:d,placement:p,platform:y,elements:m}=o,{crossAxis:O=!1,alignment:b,allowedPlacements:w=to,autoAlignment:v=!0,...E}=Ae(e,o),k=b!==void 0||w===to?en(b||null,v,w):w,D=await no(o,E),z=((a=d.autoPlacement)==null?void 0:a.index)||0,_=k[z];if(_==null)return{};let X=oa(_,l,await(y.isRTL==null?void 0:y.isRTL(m.floating)));if(p!==_)return{reset:{placement:k[0]}};let Nt=[D[Jt(_)],D[X[0]],D[X[1]]],Y=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:_,overflows:Nt}],uo=k[z+1];if(uo)return{data:{index:z+1,overflows:Y},reset:{placement:uo}};let go=Y.map(pt=>{let re=It(pt.placement);return[pt.placement,re&&O?pt.overflows.slice(0,2).reduce((Ha,Da)=>Ha+Da,0):pt.overflows[0],pt.overflows]}).sort((pt,re)=>pt[1]-re[1]),ho=((c=go.filter(pt=>pt[2].slice(0,It(pt[0])?2:3).every(re=>re<=0))[0])==null?void 0:c[0])||go[0][0];return ho!==p?{data:{index:z+1,overflows:Y},reset:{placement:ho}}:{}}}};var co=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:i,placement:c}=o,{mainAxis:l=!0,crossAxis:d=!1,limiter:p={fn:D=>{let{x:z,y:_}=D;return{x:z,y:_}}},...y}=Ae(e,o),m={x:a,y:i},O=await no(o,y),b=Ie(Jt(c)),w=oo(b),v=m[w],E=m[b];if(l){let D=w==="y"?"top":"left",z=w==="y"?"bottom":"right",_=v+O[D],X=v-O[z];v=eo(_,v,X)}if(d){let D=b==="y"?"top":"left",z=b==="y"?"bottom":"right",_=E+O[D],X=E-O[z];E=eo(_,E,X)}let k=p.fn({...o,[w]:v,[b]:E});return{...k,data:{x:k.x-a,y:k.y-i,enabled:{[w]:l,[b]:d}}}}}};var lo=Math.min,te=Math.max,ye=Math.round;var St=e=>({x:e,y:e});function Ot(e){return la(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Ct(e){var o;return(o=(la(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function la(e){return e instanceof Node||e instanceof J(e).Node}function ht(e){return e instanceof Element||e instanceof J(e).Element}function dt(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function ca(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function ee(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=ot(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function da(e){return["table","td","th"].includes(Ot(e))}function Be(e){let o=Pe(),a=ot(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(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function sa(e){let o=zt(e);for(;dt(o)&&!ue(o);){if(Be(o))return o;o=zt(o)}return null}function Pe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ue(e){return["html","body","#document"].includes(Ot(e))}function ot(e){return J(e).getComputedStyle(e)}function ge(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function zt(e){if(Ot(e)==="html")return e;let o=e.assignedSlot||e.parentNode||ca(e)&&e.host||Ct(e);return ca(o)?o.host:o}function pa(e){let o=zt(e);return ue(o)?e.ownerDocument?e.ownerDocument.body:e.body:dt(o)&&ee(o)?o:pa(o)}function $e(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=pa(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),d=J(c);return l?o.concat(d,d.visualViewport||[],ee(c)?c:[],d.frameElement&&a?$e(d.frameElement):[]):o.concat(c,$e(c,[],a))}function ua(e){let o=ot(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=dt(e),l=c?e.offsetWidth:a,d=c?e.offsetHeight:i,p=ye(a)!==l||ye(i)!==d;return p&&(a=l,i=d),{width:a,height:i,$:p}}function ga(e){return ht(e)?e:e.contextElement}function oe(e){let o=ga(e);if(!dt(o))return St(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=ua(o),d=(l?ye(a.width):a.width)/i,p=(l?ye(a.height):a.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var an=St(0);function ha(e){let o=J(e);return!Pe()||!o.visualViewport?an:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function nn(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==J(e)?!1:o}function he(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=ga(e),d=St(1);o&&(i?ht(i)&&(d=oe(i)):d=oe(e));let p=nn(l,a,i)?ha(l):St(0),y=(c.left+p.x)/d.x,m=(c.top+p.y)/d.y,O=c.width/d.x,b=c.height/d.y;if(l){let w=J(l),v=i&&ht(i)?J(i):i,E=w.frameElement;for(;E&&i&&v!==w;){let k=oe(E),D=E.getBoundingClientRect(),z=ot(E),_=D.left+(E.clientLeft+parseFloat(z.paddingLeft))*k.x,X=D.top+(E.clientTop+parseFloat(z.paddingTop))*k.y;y*=k.x,m*=k.y,O*=k.x,b*=k.y,y+=_,m+=X,E=J(E).frameElement}}return kt({width:O,height:b,x:y,y:m})}function cn(e){let{rect:o,offsetParent:a,strategy:i}=e,c=dt(a),l=Ct(a);if(a===l)return o;let d={scrollLeft:0,scrollTop:0},p=St(1),y=St(0);if((c||!c&&i!=="fixed")&&((Ot(a)!=="body"||ee(l))&&(d=ge(a)),dt(a))){let m=he(a);p=oe(a),y.x=m.x+a.clientLeft,y.y=m.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+y.x,y:o.y*p.y-d.scrollTop*p.y+y.y}}function ln(e){return Array.from(e.getClientRects())}function ma(e){return he(Ct(e)).left+ge(e).scrollLeft}function dn(e){let o=Ct(e),a=ge(e),i=e.ownerDocument.body,c=te(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=te(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+ma(e),p=-a.scrollTop;return ot(i).direction==="rtl"&&(d+=te(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:d,y:p}}function sn(e,o){let a=J(e),i=Ct(e),c=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,y=0;if(c){l=c.width,d=c.height;let m=Pe();(!m||m&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:d,x:p,y}}function pn(e,o){let a=he(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=dt(e)?oe(e):St(1),d=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,m=i*l.y;return{width:d,height:p,x:y,y:m}}function fa(e,o,a){let i;if(o==="viewport")i=sn(e,a);else if(o==="document")i=dn(Ct(e));else if(ht(o))i=pn(o,a);else{let c=ha(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return kt(i)}function ba(e,o){let a=zt(e);return a===o||!ht(a)||ue(a)?!1:ot(a).position==="fixed"||ba(a,o)}function fn(e,o){let a=o.get(e);if(a)return a;let i=$e(e,[],!1).filter(p=>ht(p)&&Ot(p)!=="body"),c=null,l=ot(e).position==="fixed",d=l?zt(e):e;for(;ht(d)&&!ue(d);){let p=ot(d),y=Be(d);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||ee(d)&&!y&&ba(e,d))?i=i.filter(O=>O!==d):c=p,d=zt(d)}return o.set(e,i),i}function yn(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,d=[...a==="clippingAncestors"?fn(o,this._c):[].concat(a),i],p=d[0],y=d.reduce((m,O)=>{let b=fa(o,O,c);return m.top=te(b.top,m.top),m.right=lo(b.right,m.right),m.bottom=lo(b.bottom,m.bottom),m.left=te(b.left,m.left),m},fa(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function un(e){return ua(e)}function gn(e,o,a){let i=dt(o),c=Ct(o),l=a==="fixed",d=he(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=St(0);if(i||!i&&!l)if((Ot(o)!=="body"||ee(c))&&(p=ge(o)),i){let m=he(o,!0,l,o);y.x=m.x+o.clientLeft,y.y=m.y+o.clientTop}else c&&(y.x=ma(c));return{x:d.left+p.scrollLeft-y.x,y:d.top+p.scrollTop-y.y,width:d.width,height:d.height}}function ya(e,o){return!dt(e)||ot(e).position==="fixed"?null:o?o(e):e.offsetParent}function xa(e,o){let a=J(e);if(!dt(e))return a;let i=ya(e,o);for(;i&&da(i)&&ot(i).position==="static";)i=ya(i,o);return i&&(Ot(i)==="html"||Ot(i)==="body"&&ot(i).position==="static"&&!Be(i))?a:i||sa(e)||a}var hn=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||xa,l=this.getDimensions;return{reference:gn(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function mn(e){return ot(e).direction==="rtl"}var We={convertOffsetParentRelativeRectToViewportRelativeRect:cn,getDocumentElement:Ct,getClippingRect:yn,getOffsetParent:xa,getElementRects:hn,getClientRects:ln,getDimensions:un,getScale:oe,isElement:ht,isRTL:mn};var Sa=(e,o,a)=>{let i=new Map,c={platform:We,...a},l={...c.platform,_c:i};return ia(e,o,{...c,platform:l})};function Oa(e){return bn(e)}function so(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function bn(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 Ca(e,o,a){return Sa(e,o,{platform:{...We,getOffsetParent:i=>We.getOffsetParent(i,Oa)},middleware:[co({crossAxis:!0}),io({allowedPlacements:[a]})]})}var tt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},P=class extends me.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 me.Debouncer,this.revealDebouncer=new me.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return va.html`
585
+ `;var Jr=["top","right","bottom","left"],Qr=["start","end"],to=Jr.reduce((e,o)=>e.concat(o,o+"-"+Qr[0],o+"-"+Qr[1]),[]),ta=Math.min,ea=Math.max;var Qa={left:"right",right:"left",bottom:"top",top:"bottom"},Ja={start:"end",end:"start"};function eo(e,o,a){return ea(e,ta(o,a))}function Ae(e,o){return typeof e=="function"?e(o):e}function Jt(e){return e.split("-")[0]}function It(e){return e.split("-")[1]}function oo(e){return e==="x"?"y":"x"}function ro(e){return e==="y"?"height":"width"}function Ie(e){return["top","bottom"].includes(Jt(e))?"y":"x"}function ao(e){return oo(Ie(e))}function oa(e,o,a){a===void 0&&(a=!1);let i=It(e),c=ao(e),l=ro(c),d=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(d=Je(d)),[d,Je(d)]}function ra(e){return e.replace(/start|end/g,o=>Ja[o])}function Je(e){return e.replace(/left|right|bottom|top/g,o=>Qa[o])}function tn(e){return{top:0,right:0,bottom:0,left:0,...e}}function aa(e){return typeof e!="number"?tn(e):{top:e,right:e,bottom:e,left:e}}function kt(e){let{x:o,y:a,width:i,height:c}=e;return{width:i,height:c,top:a,left:o,right:o+i,bottom:a+c,x:o,y:a}}function na(e,o,a){let{reference:i,floating:c}=e,l=Ie(o),d=ao(o),p=ro(d),y=Jt(o),m=l==="y",O=i.x+i.width/2-c.width/2,b=i.y+i.height/2-c.height/2,w=i[p]/2-c[p]/2,v;switch(y){case"top":v={x:O,y:i.y-c.height};break;case"bottom":v={x:O,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:b};break;case"left":v={x:i.x-c.width,y:b};break;default:v={x:i.x,y:i.y}}switch(It(o)){case"start":v[d]-=w*(a&&m?-1:1);break;case"end":v[d]+=w*(a&&m?-1:1);break}return v}var ia=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:d}=a,p=l.filter(Boolean),y=await(d.isRTL==null?void 0:d.isRTL(o)),m=await d.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:b}=na(m,i,y),w=i,v={},E=0;for(let k=0;k<p.length;k++){let{name:D,fn:z}=p[k],{x:_,y:X,data:Nt,reset:j}=await z({x:O,y:b,initialPlacement:i,placement:w,strategy:c,middlewareData:v,rects:m,platform:d,elements:{reference:e,floating:o}});O=_??O,b=X??b,v={...v,[D]:{...v[D],...Nt}},j&&E<=50&&(E++,typeof j=="object"&&(j.placement&&(w=j.placement),j.rects&&(m=j.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:c}):j.rects),{x:O,y:b}=na(m,w,y)),k=-1)}return{x:O,y:b,placement:w,strategy:c,middlewareData:v}};async function no(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:d,elements:p,strategy:y}=e,{boundary:m="clippingAncestors",rootBoundary:O="viewport",elementContext:b="floating",altBoundary:w=!1,padding:v=0}=Ae(o,e),E=aa(v),D=p[w?b==="floating"?"reference":"floating":b],z=kt(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(D)))==null||a?D:D.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:m,rootBoundary:O,strategy:y})),_=b==="floating"?{x:i,y:c,width:d.floating.width,height:d.floating.height}:d.reference,X=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Nt=await(l.isElement==null?void 0:l.isElement(X))?await(l.getScale==null?void 0:l.getScale(X))||{x:1,y:1}:{x:1,y:1},j=kt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:_,offsetParent:X,strategy:y}):_);return{top:(z.top-j.top+E.top)/Nt.y,bottom:(j.bottom-z.bottom+E.bottom)/Nt.y,left:(z.left-j.left+E.left)/Nt.x,right:(j.right-z.right+E.right)/Nt.x}}function en(e,o,a){return(e?[...a.filter(c=>It(c)===e),...a.filter(c=>It(c)!==e)]:a.filter(c=>Jt(c)===c)).filter(c=>e?It(c)===e||(o?ra(c)!==c:!1):!0)}var io=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,c;let{rects:l,middlewareData:d,placement:p,platform:y,elements:m}=o,{crossAxis:O=!1,alignment:b,allowedPlacements:w=to,autoAlignment:v=!0,...E}=Ae(e,o),k=b!==void 0||w===to?en(b||null,v,w):w,D=await no(o,E),z=((a=d.autoPlacement)==null?void 0:a.index)||0,_=k[z];if(_==null)return{};let X=oa(_,l,await(y.isRTL==null?void 0:y.isRTL(m.floating)));if(p!==_)return{reset:{placement:k[0]}};let Nt=[D[Jt(_)],D[X[0]],D[X[1]]],j=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:_,overflows:Nt}],uo=k[z+1];if(uo)return{data:{index:z+1,overflows:j},reset:{placement:uo}};let go=j.map(pt=>{let re=It(pt.placement);return[pt.placement,re&&O?pt.overflows.slice(0,2).reduce((Ha,Da)=>Ha+Da,0):pt.overflows[0],pt.overflows]}).sort((pt,re)=>pt[1]-re[1]),ho=((c=go.filter(pt=>pt[2].slice(0,It(pt[0])?2:3).every(re=>re<=0))[0])==null?void 0:c[0])||go[0][0];return ho!==p?{data:{index:z+1,overflows:j},reset:{placement:ho}}:{}}}};var co=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:i,placement:c}=o,{mainAxis:l=!0,crossAxis:d=!1,limiter:p={fn:D=>{let{x:z,y:_}=D;return{x:z,y:_}}},...y}=Ae(e,o),m={x:a,y:i},O=await no(o,y),b=Ie(Jt(c)),w=oo(b),v=m[w],E=m[b];if(l){let D=w==="y"?"top":"left",z=w==="y"?"bottom":"right",_=v+O[D],X=v-O[z];v=eo(_,v,X)}if(d){let D=b==="y"?"top":"left",z=b==="y"?"bottom":"right",_=E+O[D],X=E-O[z];E=eo(_,E,X)}let k=p.fn({...o,[w]:v,[b]:E});return{...k,data:{x:k.x-a,y:k.y-i,enabled:{[w]:l,[b]:d}}}}}};var lo=Math.min,te=Math.max,ye=Math.round;var St=e=>({x:e,y:e});function Ot(e){return la(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Ct(e){var o;return(o=(la(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function la(e){return e instanceof Node||e instanceof J(e).Node}function ht(e){return e instanceof Element||e instanceof J(e).Element}function dt(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function ca(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function ee(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=ot(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function da(e){return["table","td","th"].includes(Ot(e))}function Be(e){let o=Pe(),a=ot(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(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function sa(e){let o=zt(e);for(;dt(o)&&!ue(o);){if(Be(o))return o;o=zt(o)}return null}function Pe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ue(e){return["html","body","#document"].includes(Ot(e))}function ot(e){return J(e).getComputedStyle(e)}function ge(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function zt(e){if(Ot(e)==="html")return e;let o=e.assignedSlot||e.parentNode||ca(e)&&e.host||Ct(e);return ca(o)?o.host:o}function pa(e){let o=zt(e);return ue(o)?e.ownerDocument?e.ownerDocument.body:e.body:dt(o)&&ee(o)?o:pa(o)}function $e(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=pa(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),d=J(c);return l?o.concat(d,d.visualViewport||[],ee(c)?c:[],d.frameElement&&a?$e(d.frameElement):[]):o.concat(c,$e(c,[],a))}function ua(e){let o=ot(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=dt(e),l=c?e.offsetWidth:a,d=c?e.offsetHeight:i,p=ye(a)!==l||ye(i)!==d;return p&&(a=l,i=d),{width:a,height:i,$:p}}function ga(e){return ht(e)?e:e.contextElement}function oe(e){let o=ga(e);if(!dt(o))return St(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=ua(o),d=(l?ye(a.width):a.width)/i,p=(l?ye(a.height):a.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var an=St(0);function ha(e){let o=J(e);return!Pe()||!o.visualViewport?an:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function nn(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==J(e)?!1:o}function he(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=ga(e),d=St(1);o&&(i?ht(i)&&(d=oe(i)):d=oe(e));let p=nn(l,a,i)?ha(l):St(0),y=(c.left+p.x)/d.x,m=(c.top+p.y)/d.y,O=c.width/d.x,b=c.height/d.y;if(l){let w=J(l),v=i&&ht(i)?J(i):i,E=w.frameElement;for(;E&&i&&v!==w;){let k=oe(E),D=E.getBoundingClientRect(),z=ot(E),_=D.left+(E.clientLeft+parseFloat(z.paddingLeft))*k.x,X=D.top+(E.clientTop+parseFloat(z.paddingTop))*k.y;y*=k.x,m*=k.y,O*=k.x,b*=k.y,y+=_,m+=X,E=J(E).frameElement}}return kt({width:O,height:b,x:y,y:m})}function cn(e){let{rect:o,offsetParent:a,strategy:i}=e,c=dt(a),l=Ct(a);if(a===l)return o;let d={scrollLeft:0,scrollTop:0},p=St(1),y=St(0);if((c||!c&&i!=="fixed")&&((Ot(a)!=="body"||ee(l))&&(d=ge(a)),dt(a))){let m=he(a);p=oe(a),y.x=m.x+a.clientLeft,y.y=m.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+y.x,y:o.y*p.y-d.scrollTop*p.y+y.y}}function ln(e){return Array.from(e.getClientRects())}function ma(e){return he(Ct(e)).left+ge(e).scrollLeft}function dn(e){let o=Ct(e),a=ge(e),i=e.ownerDocument.body,c=te(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=te(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+ma(e),p=-a.scrollTop;return ot(i).direction==="rtl"&&(d+=te(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:d,y:p}}function sn(e,o){let a=J(e),i=Ct(e),c=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,y=0;if(c){l=c.width,d=c.height;let m=Pe();(!m||m&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:d,x:p,y}}function pn(e,o){let a=he(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=dt(e)?oe(e):St(1),d=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,m=i*l.y;return{width:d,height:p,x:y,y:m}}function fa(e,o,a){let i;if(o==="viewport")i=sn(e,a);else if(o==="document")i=dn(Ct(e));else if(ht(o))i=pn(o,a);else{let c=ha(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return kt(i)}function ba(e,o){let a=zt(e);return a===o||!ht(a)||ue(a)?!1:ot(a).position==="fixed"||ba(a,o)}function fn(e,o){let a=o.get(e);if(a)return a;let i=$e(e,[],!1).filter(p=>ht(p)&&Ot(p)!=="body"),c=null,l=ot(e).position==="fixed",d=l?zt(e):e;for(;ht(d)&&!ue(d);){let p=ot(d),y=Be(d);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||ee(d)&&!y&&ba(e,d))?i=i.filter(O=>O!==d):c=p,d=zt(d)}return o.set(e,i),i}function yn(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,d=[...a==="clippingAncestors"?fn(o,this._c):[].concat(a),i],p=d[0],y=d.reduce((m,O)=>{let b=fa(o,O,c);return m.top=te(b.top,m.top),m.right=lo(b.right,m.right),m.bottom=lo(b.bottom,m.bottom),m.left=te(b.left,m.left),m},fa(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function un(e){return ua(e)}function gn(e,o,a){let i=dt(o),c=Ct(o),l=a==="fixed",d=he(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=St(0);if(i||!i&&!l)if((Ot(o)!=="body"||ee(c))&&(p=ge(o)),i){let m=he(o,!0,l,o);y.x=m.x+o.clientLeft,y.y=m.y+o.clientTop}else c&&(y.x=ma(c));return{x:d.left+p.scrollLeft-y.x,y:d.top+p.scrollTop-y.y,width:d.width,height:d.height}}function ya(e,o){return!dt(e)||ot(e).position==="fixed"?null:o?o(e):e.offsetParent}function xa(e,o){let a=J(e);if(!dt(e))return a;let i=ya(e,o);for(;i&&da(i)&&ot(i).position==="static";)i=ya(i,o);return i&&(Ot(i)==="html"||Ot(i)==="body"&&ot(i).position==="static"&&!Be(i))?a:i||sa(e)||a}var hn=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||xa,l=this.getDimensions;return{reference:gn(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function mn(e){return ot(e).direction==="rtl"}var We={convertOffsetParentRelativeRectToViewportRelativeRect:cn,getDocumentElement:Ct,getClippingRect:yn,getOffsetParent:xa,getElementRects:hn,getClientRects:ln,getDimensions:un,getScale:oe,isElement:ht,isRTL:mn};var Sa=(e,o,a)=>{let i=new Map,c={platform:We,...a},l={...c.platform,_c:i};return ia(e,o,{...c,platform:l})};function Oa(e){return bn(e)}function so(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function bn(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 Ca(e,o,a){return Sa(e,o,{platform:{...We,getOffsetParent:i=>We.getOffsetParent(i,Oa)},middleware:[co({crossAxis:!0}),io({allowedPlacements:[a]})]})}var tt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},P=class extends me.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 me.Debouncer,this.revealDebouncer=new me.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return va.html`
586
586
  <div part="container"
587
587
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
588
588
  @mouseenter=${this.onHover}
@@ -607,7 +607,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
607
607
  <div></div>
608
608
  <div></div>
609
609
  </div>
610
- `}};Ht.styles=wr;(0,Ra.customElement)("ft-loader")(Ht);var $t=x(U()),po=x(Ce()),M=x(ft()),j=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},$=class extends(0,Bt.toFtFormComponent)(Bt.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,i;let c=$t.html`
610
+ `}};Ht.styles=wr;(0,Ra.customElement)("ft-loader")(Ht);var $t=x(U()),po=x(Ce()),K=x(ft()),Y=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},$=class extends(0,Bt.toFtFormComponent)(Bt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.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,i;let c=$t.html`
611
611
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
612
612
  <ft-typography part="label"
613
613
  variant=${this.typographyVariant}
@@ -644,7 +644,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
644
644
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
645
645
  `:$t.html`
646
646
  <slot part="icon" name="icon"></slot>
647
- `}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)}showTemporaryTooltip(o,a){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(o,a)}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,Bt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};$.elementDefinitions={"ft-ripple":B,"ft-tooltip":P,"ft-typography":lt,"ft-icon":et,"ft-loader":Ht};j([(0,M.property)()],$.prototype,"href",void 0);j([(0,M.property)()],$.prototype,"target",void 0);j([(0,M.property)({type:String,reflect:!0})],$.prototype,"role",void 0);j([(0,M.property)()],$.prototype,"type",void 0);j([(0,M.property)({type:Boolean})],$.prototype,"disabled",void 0);j([(0,M.property)()],$.prototype,"label",void 0);j([(0,M.property)()],$.prototype,"icon",void 0);j([(0,M.property)()],$.prototype,"iconVariant",void 0);j([(0,M.property)({type:Boolean})],$.prototype,"trailingIcon",void 0);j([(0,M.property)({type:Boolean})],$.prototype,"loading",void 0);j([(0,M.property)({attribute:"aria-label"})],$.prototype,"ariaLabel",void 0);j([(0,M.property)()],$.prototype,"tooltipPosition",void 0);j([(0,M.property)({type:Boolean})],$.prototype,"hideTooltip",void 0);j([(0,M.property)({type:Boolean})],$.prototype,"forceTooltip",void 0);j([(0,M.query)(".ft-button")],$.prototype,"button",void 0);j([(0,M.query)(".ft-button--label slot")],$.prototype,"slottedContent",void 0);j([(0,M.query)("[part=tooltip]")],$.prototype,"tooltip",void 0);var Te=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},st=class extends ${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,Lr];Te([(0,be.property)({type:Boolean})],st.prototype,"primary",void 0);Te([(0,be.property)({type:Boolean})],st.prototype,"outlined",void 0);Te([(0,be.property)({type:Boolean})],st.prototype,"dense",void 0);Te([(0,be.property)({type:Boolean})],st.prototype,"round",void 0);var xe=x(ft());var ze=x(R());var Aa=x(U()),f=x(R());var Ia=[Aa.css`
647
+ `}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)}showTemporaryTooltip(o,a){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(o,a)}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,Bt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};$.elementDefinitions={"ft-ripple":B,"ft-tooltip":P,"ft-typography":lt,"ft-icon":et,"ft-loader":Ht};Y([(0,K.property)()],$.prototype,"href",void 0);Y([(0,K.property)()],$.prototype,"target",void 0);Y([(0,K.property)()],$.prototype,"type",void 0);Y([(0,K.property)({type:Boolean})],$.prototype,"disabled",void 0);Y([(0,K.property)()],$.prototype,"label",void 0);Y([(0,K.property)()],$.prototype,"icon",void 0);Y([(0,K.property)()],$.prototype,"iconVariant",void 0);Y([(0,K.property)({type:Boolean})],$.prototype,"trailingIcon",void 0);Y([(0,K.property)({type:Boolean})],$.prototype,"loading",void 0);Y([(0,K.property)({attribute:"aria-label"})],$.prototype,"ariaLabel",void 0);Y([(0,K.property)()],$.prototype,"tooltipPosition",void 0);Y([(0,K.property)({type:Boolean})],$.prototype,"hideTooltip",void 0);Y([(0,K.property)({type:Boolean})],$.prototype,"forceTooltip",void 0);Y([(0,K.query)(".ft-button")],$.prototype,"button",void 0);Y([(0,K.query)(".ft-button--label slot")],$.prototype,"slottedContent",void 0);Y([(0,K.query)("[part=tooltip]")],$.prototype,"tooltip",void 0);var Te=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},st=class extends ${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,Lr];Te([(0,be.property)({type:Boolean})],st.prototype,"primary",void 0);Te([(0,be.property)({type:Boolean})],st.prototype,"outlined",void 0);Te([(0,be.property)({type:Boolean})],st.prototype,"dense",void 0);Te([(0,be.property)({type:Boolean})],st.prototype,"round",void 0);var xe=x(ft());var ze=x(R());var Aa=x(U()),f=x(R());var Ia=[Aa.css`
648
648
  :host {
649
649
  display: inline-block;
650
650
  max-width: 100%;
@@ -1133,7 +1133,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1133
1133
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1134
1134
  <div class="ft-size-watcher--watcher"></div>
1135
1135
  </div>
1136
- `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=wt.S:this.size<976?this.category=wt.M:this.size<1024?this.category=wt.L:this.size<1440?this.category=wt.XL:this.category=wt.XXL,this.dispatchEvent(new yo(this.size,this.category)))},this.debounceTimeout)}};rt.elementDefinitions={};rt.styles=Ba;Se([(0,Dt.property)({type:Number})],rt.prototype,"debounceTimeout",void 0);Se([(0,Dt.property)({type:Boolean})],rt.prototype,"local",void 0);Se([(0,Dt.property)({type:Number,reflect:!0})],rt.prototype,"size",void 0);Se([(0,Dt.property)({type:String,reflect:!0})],rt.prototype,"category",void 0);Se([(0,Dt.query)(".ft-size-watcher--watcher")],rt.prototype,"watcher",void 0);(0,Wa.customElement)("ft-size-watcher")(rt);var Z=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},L=class extends Ta.FtLitElement{constructor(){super(...arguments),this.portalUrl="",this.opened=!1,this.displayMode=T.STANDARD,this.closeIcon=it.X_MARK,this.standardModeIcon=it.PIP,this.disableStandardMode=!1,this.theaterModeIcon=it.PIP_WIDE,this.disableTheaterMode=!1,this.fullscreenModeIcon=it.EXPAND_WIDE,this.disableFullscreenMode=!1,this.enableHomeButton=!1,this.homeIcon=it.HOME,this.enableOpenTabButton=!1,this.openTabIcon=it.EXTLINK_LIGHT,this.allowStandardMode=!0,this.allowTheaterMode=!0,this.allowFullscreenMode=!0}render(){let o={"ft-in-product-help":!0,"ft-in-product-help--opened":this.opened,"ft-in-product-help--standard":this.displayMode==T.STANDARD,"ft-in-product-help--theater":this.displayMode==T.THEATER,"ft-in-product-help--fullscreen":this.displayMode==T.FULLSCREEN},a=this.allowStandardMode&&(this.allowTheaterMode||this.allowFullscreenMode),i=this.allowTheaterMode&&(this.allowStandardMode||this.allowFullscreenMode),c=this.allowFullscreenMode&&(this.allowStandardMode||this.allowTheaterMode);return at.html`
1136
+ `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=wt.S:this.size<976?this.category=wt.M:this.size<1024?this.category=wt.L:this.size<1440?this.category=wt.XL:this.category=wt.XXL,this.dispatchEvent(new yo(this.size,this.category)))},this.debounceTimeout)}};rt.elementDefinitions={};rt.styles=Ba;Se([(0,Dt.property)({type:Number})],rt.prototype,"debounceTimeout",void 0);Se([(0,Dt.property)({type:Boolean})],rt.prototype,"local",void 0);Se([(0,Dt.property)({type:Number,reflect:!0})],rt.prototype,"size",void 0);Se([(0,Dt.property)({type:String,reflect:!0})],rt.prototype,"category",void 0);Se([(0,Dt.query)(".ft-size-watcher--watcher")],rt.prototype,"watcher",void 0);(0,Wa.customElement)("ft-size-watcher")(rt);var M=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},L=class extends Ta.FtLitElement{constructor(){super(...arguments),this.portalUrl="",this.opened=!1,this.displayMode=T.STANDARD,this.closeIcon=it.X_MARK,this.standardModeIcon=it.PIP,this.disableStandardMode=!1,this.theaterModeIcon=it.PIP_WIDE,this.disableTheaterMode=!1,this.fullscreenModeIcon=it.EXPAND_WIDE,this.disableFullscreenMode=!1,this.enableHomeButton=!1,this.homeIcon=it.HOME,this.enableOpenTabButton=!1,this.openTabIcon=it.EXTLINK_LIGHT,this.allowStandardMode=!0,this.allowTheaterMode=!0,this.allowFullscreenMode=!0}render(){let o={"ft-in-product-help":!0,"ft-in-product-help--opened":this.opened,"ft-in-product-help--standard":this.displayMode==T.STANDARD,"ft-in-product-help--theater":this.displayMode==T.THEATER,"ft-in-product-help--fullscreen":this.displayMode==T.FULLSCREEN},a=this.allowStandardMode&&(this.allowTheaterMode||this.allowFullscreenMode),i=this.allowTheaterMode&&(this.allowStandardMode||this.allowFullscreenMode),c=this.allowFullscreenMode&&(this.allowStandardMode||this.allowTheaterMode);return at.html`
1137
1137
  <ft-size-watcher @change=${this.onViewportChange}></ft-size-watcher>
1138
1138
  <div class="${(0,ka.classMap)(o)}" part="container">
1139
1139
  <div class="ft-in-product-help--top-bar" part="top-bar">
@@ -1202,7 +1202,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1202
1202
  </div>
1203
1203
  <iframe src="${this.portalUrl}" part="iframe"/>
1204
1204
  </div>
1205
- `}update(o){super.update(o),(o.has("disableStandardMode")||o.has("disableTheaterMode")||o.has("disableFullscreenMode"))&&this.computeAllowedModes(),o.has("opened")&&this.updateModeOnOpen()}updateModeOnOpen(){this.allowStandardMode?this.displayMode=T.STANDARD:this.allowTheaterMode?this.displayMode=T.THEATER:this.displayMode=T.FULLSCREEN}computeAllowedModes(){this.allowStandardMode=!this.disableStandardMode&&(this.isTablet()||this.isDesktop()),this.allowTheaterMode=!this.disableTheaterMode&&this.isDesktop(),this.allowFullscreenMode=!this.disableFullscreenMode}onViewportChange(){this.computeAllowedModes(),!this.allowStandardMode&&this.displayMode==T.STANDARD&&(this.displayMode=T.THEATER),!this.allowTheaterMode&&this.displayMode==T.THEATER&&(this.displayMode=T.FULLSCREEN)}setMode(o){this.displayMode=o,this.dispatchVisibilityChange()}open(){this.opened=!0}close(){this.opened=!1,this.displayMode=T.STANDARD,this.dispatchVisibilityChange()}dispatchVisibilityChange(){this.dispatchEvent(new Oe(this.opened,this.displayMode))}isTablet(){let o=getComputedStyle(this).getPropertyValue(A.tabletBreakpoint.name)||A.tabletBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${o})`).matches}isDesktop(){let o=getComputedStyle(this).getPropertyValue(A.desktopBreakpoint.name)||A.desktopBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${o})`).matches}navigateTo(o){this.iframe.contentWindow.postMessage({navigateTo:o},this.portalUrl)}openTab(){this.iframe.contentWindow.postMessage({openTabToCurrentUrl:!0},this.portalUrl)}};L.elementDefinitions={"ft-button":st,"ft-size-watcher":rt};L.styles=Co;Z([(0,W.property)()],L.prototype,"portalUrl",void 0);Z([(0,W.property)({reflect:!0,type:Boolean})],L.prototype,"opened",void 0);Z([(0,W.property)({reflect:!0})],L.prototype,"displayMode",void 0);Z([(0,W.property)()],L.prototype,"closeIcon",void 0);Z([(0,W.property)()],L.prototype,"standardModeIcon",void 0);Z([(0,W.property)({type:Boolean})],L.prototype,"disableStandardMode",void 0);Z([(0,W.property)()],L.prototype,"theaterModeIcon",void 0);Z([(0,W.property)({type:Boolean})],L.prototype,"disableTheaterMode",void 0);Z([(0,W.property)()],L.prototype,"fullscreenModeIcon",void 0);Z([(0,W.property)({type:Boolean})],L.prototype,"disableFullscreenMode",void 0);Z([(0,W.property)({type:Boolean})],L.prototype,"enableHomeButton",void 0);Z([(0,W.property)()],L.prototype,"homeIcon",void 0);Z([(0,W.property)({type:Boolean})],L.prototype,"enableOpenTabButton",void 0);Z([(0,W.property)()],L.prototype,"openTabIcon",void 0);Z([(0,W.property)()],L.prototype,"iconVariant",void 0);Z([(0,W.state)()],L.prototype,"allowStandardMode",void 0);Z([(0,W.state)()],L.prototype,"allowTheaterMode",void 0);Z([(0,W.state)()],L.prototype,"allowFullscreenMode",void 0);Z([(0,W.query)("iframe")],L.prototype,"iframe",void 0);(0,za.customElement)("ft-in-product-help")(L);})();
1205
+ `}update(o){super.update(o),(o.has("disableStandardMode")||o.has("disableTheaterMode")||o.has("disableFullscreenMode"))&&this.computeAllowedModes(),o.has("opened")&&this.updateModeOnOpen()}updateModeOnOpen(){this.allowStandardMode?this.displayMode=T.STANDARD:this.allowTheaterMode?this.displayMode=T.THEATER:this.displayMode=T.FULLSCREEN}computeAllowedModes(){this.allowStandardMode=!this.disableStandardMode&&(this.isTablet()||this.isDesktop()),this.allowTheaterMode=!this.disableTheaterMode&&this.isDesktop(),this.allowFullscreenMode=!this.disableFullscreenMode}onViewportChange(){this.computeAllowedModes(),!this.allowStandardMode&&this.displayMode==T.STANDARD&&(this.displayMode=T.THEATER),!this.allowTheaterMode&&this.displayMode==T.THEATER&&(this.displayMode=T.FULLSCREEN)}setMode(o){this.displayMode=o,this.dispatchVisibilityChange()}open(){this.opened=!0}close(){this.opened=!1,this.displayMode=T.STANDARD,this.dispatchVisibilityChange()}dispatchVisibilityChange(){this.dispatchEvent(new Oe(this.opened,this.displayMode))}isTablet(){let o=getComputedStyle(this).getPropertyValue(A.tabletBreakpoint.name)||A.tabletBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${o})`).matches}isDesktop(){let o=getComputedStyle(this).getPropertyValue(A.desktopBreakpoint.name)||A.desktopBreakpoint.defaultValue;return window.matchMedia(`(min-width: ${o})`).matches}navigateTo(o){this.iframe.contentWindow.postMessage({navigateTo:o},this.portalUrl)}openTab(){this.iframe.contentWindow.postMessage({openTabToCurrentUrl:!0},this.portalUrl)}};L.elementDefinitions={"ft-button":st,"ft-size-watcher":rt};L.styles=Co;M([(0,W.property)()],L.prototype,"portalUrl",void 0);M([(0,W.property)({reflect:!0,type:Boolean})],L.prototype,"opened",void 0);M([(0,W.property)({reflect:!0})],L.prototype,"displayMode",void 0);M([(0,W.property)()],L.prototype,"closeIcon",void 0);M([(0,W.property)()],L.prototype,"standardModeIcon",void 0);M([(0,W.property)({type:Boolean})],L.prototype,"disableStandardMode",void 0);M([(0,W.property)()],L.prototype,"theaterModeIcon",void 0);M([(0,W.property)({type:Boolean})],L.prototype,"disableTheaterMode",void 0);M([(0,W.property)()],L.prototype,"fullscreenModeIcon",void 0);M([(0,W.property)({type:Boolean})],L.prototype,"disableFullscreenMode",void 0);M([(0,W.property)({type:Boolean})],L.prototype,"enableHomeButton",void 0);M([(0,W.property)()],L.prototype,"homeIcon",void 0);M([(0,W.property)({type:Boolean})],L.prototype,"enableOpenTabButton",void 0);M([(0,W.property)()],L.prototype,"openTabIcon",void 0);M([(0,W.property)()],L.prototype,"iconVariant",void 0);M([(0,W.state)()],L.prototype,"allowStandardMode",void 0);M([(0,W.state)()],L.prototype,"allowTheaterMode",void 0);M([(0,W.state)()],L.prototype,"allowFullscreenMode",void 0);M([(0,W.query)("iframe")],L.prototype,"iframe",void 0);(0,za.customElement)("ft-in-product-help")(L);})();
1206
1206
  /*! Bundled license information:
1207
1207
 
1208
1208
  lit-html/lit-html.js: