@fluid-topics/ft-collapsible 1.2.61 → 1.2.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-collapsible.light.js +27 -24
- package/build/ft-collapsible.min.js +16 -13
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var La=Object.create;var po=Object.defineProperty;var Aa=Object.getOwnPropertyDescriptor;var Ba=Object.getOwnPropertyNames;var Ia=Object.getPrototypeOf,$a=Object.prototype.hasOwnProperty;var Jt=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Pa=(e,o,a,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Ba(o))!$a.call(e,c)&&c!==a&&po(e,c,{get:()=>o[c],enumerable:!(i=Aa(o,c))||i.enumerable});return e};var x=(e,o,a)=>(a=e!=null?La(Ia(e)):{},Pa(o||!e||!e.__esModule?po(a,"default",{value:e,enumerable:!0}):a,e));var R=Jt((sn,fo)=>{fo.exports=ftGlobals.wcUtils});var Z=Jt((dn,yo)=>{yo.exports=ftGlobals.lit});var pt=Jt((pn,uo)=>{uo.exports=ftGlobals.litDecorators});var ge=Jt((fn,go)=>{go.exports=ftGlobals.litClassMap});var ga=Jt((kd,ua)=>{ua.exports=ftGlobals.litUnsafeHTML});var io=x(R());var mo=x(Z()),L=x(pt()),ho=x(ge()),xt=x(R()),
|
|
1
|
+
"use strict";(()=>{var La=Object.create;var po=Object.defineProperty;var Aa=Object.getOwnPropertyDescriptor;var Ba=Object.getOwnPropertyNames;var Ia=Object.getPrototypeOf,$a=Object.prototype.hasOwnProperty;var Jt=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var Pa=(e,o,a,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Ba(o))!$a.call(e,c)&&c!==a&&po(e,c,{get:()=>o[c],enumerable:!(i=Aa(o,c))||i.enumerable});return e};var x=(e,o,a)=>(a=e!=null?La(Ia(e)):{},Pa(o||!e||!e.__esModule?po(a,"default",{value:e,enumerable:!0}):a,e));var R=Jt((sn,fo)=>{fo.exports=ftGlobals.wcUtils});var Z=Jt((dn,yo)=>{yo.exports=ftGlobals.lit});var pt=Jt((pn,uo)=>{uo.exports=ftGlobals.litDecorators});var ge=Jt((fn,go)=>{go.exports=ftGlobals.litClassMap});var ga=Jt((kd,ua)=>{ua.exports=ftGlobals.litUnsafeHTML});var io=x(R());var mo=x(Z()),L=x(pt()),ho=x(ge()),xt=x(R()),I=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},E=class extends xt.FtLitElement{constructor(){super(...arguments),this.open=!1,this.animated=!1,this.closeCollapsibleMatchers=[],this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.dense=!1,this.round=!1,this.small=!1,this.disabled=!1,this.tooltipPosition="right",this.openIcon="THIN_ARROW",this.closedIcon="THIN_ARROW_RIGHT",this.trailingIcon=!1,this.animationInProgress=!1,this.animationEndSafeguard=new xt.Debouncer(800)}render(){let o={"ft-collapsible--content":!0,"ft-collapsible--hidden":!this.open,"ft-collapsible--animated":this.animated,"ft-collapsible--animation-in-progress":this.animated&&this.animationInProgress};return mo.html`
|
|
2
2
|
<slot name="toggle"
|
|
3
3
|
part="toggle"
|
|
4
4
|
@click=${this.toggleOpenAnimation}>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
class="${(0,ho.classMap)(o)}"
|
|
28
28
|
@click=${this.onContentClick}
|
|
29
29
|
@transitionend=${()=>this.animationInProgress=!1}></slot>
|
|
30
|
-
`}toggleOpenAnimation(){this.animationInProgress=!0,setTimeout(()=>this.toggleOpen(),5),this.animationEndSafeguard.run(()=>this.animationInProgress=!1)}toggleOpen(){this.open=!this.open,this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}onContentClick(o){(0,xt.eventPathContainsMatchingElement)(o,this.closeCollapsibleMatchers,this)&&this.toggleOpenAnimation()}};
|
|
30
|
+
`}toggleOpenAnimation(){this.animationInProgress=!0,setTimeout(()=>this.toggleOpen(),5),this.animationEndSafeguard.run(()=>this.animationInProgress=!1)}toggleOpen(){this.open=!this.open,this.dispatchEvent(new CustomEvent("change",{detail:{open:this.open}}))}onContentClick(o){(0,xt.eventPathContainsMatchingElement)(o,this.closeCollapsibleMatchers,this)&&this.toggleOpenAnimation()}};I([(0,L.property)({type:Boolean,reflect:!0})],E.prototype,"open",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"animated",void 0);I([(0,xt.jsonProperty)([])],E.prototype,"closeCollapsibleMatchers",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"primary",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"secondary",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"tertiary",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"neutral",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"dense",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"round",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"small",void 0);I([(0,L.property)()],E.prototype,"label",void 0);I([(0,L.property)()],E.prototype,"openLabel",void 0);I([(0,L.property)()],E.prototype,"closedLabel",void 0);I([(0,L.property)()],E.prototype,"text",void 0);I([(0,L.property)()],E.prototype,"openText",void 0);I([(0,L.property)()],E.prototype,"closedText",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"disabled",void 0);I([(0,L.property)()],E.prototype,"tooltipPosition",void 0);I([(0,L.property)()],E.prototype,"iconVariant",void 0);I([(0,L.property)()],E.prototype,"openIcon",void 0);I([(0,L.property)()],E.prototype,"closedIcon",void 0);I([(0,L.property)({type:Boolean})],E.prototype,"trailingIcon",void 0);I([(0,L.state)()],E.prototype,"animationInProgress",void 0);var no=x(R());var ye=x(pt()),Ca=x(R());var mr=x(Z()),C=x(R());var vo=x(Z()),T=x(R()),bo=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorContent),u={color:bo,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",bo),opacityContentOnSurfacePressed:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:T.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},xo=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorPrimary),So={color:xo,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",xo)},Oo=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorSecondary),Co={color:Oo,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",Oo)},No=vo.css`
|
|
31
31
|
:host {
|
|
32
32
|
display: contents;
|
|
33
33
|
}
|
|
@@ -361,7 +361,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
361
361
|
.ft-icon--material {
|
|
362
362
|
font-family: ${j.materialFontFamily}, "Material Icons", sans-serif;
|
|
363
363
|
}
|
|
364
|
-
`,et.noTextSelect];var ur=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),
|
|
364
|
+
`,et.noTextSelect];var ur=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:ur,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",ct.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",ur),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")},gr=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),Pe={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:gr,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",gr)},lt={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")},hr=[mr.css`
|
|
365
365
|
:host {
|
|
366
366
|
display: inline-block;
|
|
367
367
|
max-width: 100%;
|
|
@@ -372,7 +372,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
372
372
|
box-shadow: 0px 0px 0px transparent;
|
|
373
373
|
border: 0px solid transparent;
|
|
374
374
|
text-shadow: 0px 0px 0px transparent;
|
|
375
|
-
font-size: ${
|
|
375
|
+
font-size: ${G.fontSize};
|
|
376
376
|
text-decoration: none;
|
|
377
377
|
}
|
|
378
378
|
|
|
@@ -402,21 +402,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
402
402
|
border: none;
|
|
403
403
|
pointer-events: auto;
|
|
404
404
|
|
|
405
|
-
--ft-button-internal-line-height: max(calc(${
|
|
406
|
-
--ft-button-internal-color: ${
|
|
407
|
-
${(0,C.setVariable)(j.size,
|
|
408
|
-
${(0,C.setVariable)(u.color,
|
|
405
|
+
--ft-button-internal-line-height: max(calc(${G.fontSize} + 2px), ${G.iconSize});
|
|
406
|
+
--ft-button-internal-color: ${G.color};
|
|
407
|
+
${(0,C.setVariable)(j.size,G.iconSize)};
|
|
408
|
+
${(0,C.setVariable)(u.color,G.rippleColor)};
|
|
409
409
|
|
|
410
|
-
border-radius: ${
|
|
411
|
-
padding: ${
|
|
412
|
-
background-color: ${
|
|
410
|
+
border-radius: ${G.borderRadius};
|
|
411
|
+
padding: ${G.verticalPadding} ${G.horizontalPadding};
|
|
412
|
+
background-color: ${G.backgroundColor};
|
|
413
413
|
color: var(--ft-button-internal-color);
|
|
414
414
|
-webkit-mask-image: radial-gradient(white, black);
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
.ft-button.ft-button--outlined {
|
|
418
418
|
border: 1px solid var(--ft-button-internal-color);
|
|
419
|
-
padding: calc(${
|
|
419
|
+
padding: calc(${G.verticalPadding} - 1px) calc(${G.horizontalPadding} - 1px);
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
.ft-button.ft-button--dense {
|
|
@@ -434,7 +434,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
.ft-button--round {
|
|
437
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
437
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${G.verticalPadding});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ft-button--round.ft-button--dense {
|
|
@@ -443,7 +443,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
443
443
|
|
|
444
444
|
.ft-button[disabled] {
|
|
445
445
|
filter: grayscale(1);
|
|
446
|
-
opacity: ${
|
|
446
|
+
opacity: ${G.opacityDisabled};
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.ft-button.ft-button--primary {
|
|
@@ -462,7 +462,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
462
462
|
white-space: nowrap;
|
|
463
463
|
text-overflow: ellipsis;
|
|
464
464
|
display: block;
|
|
465
|
-
margin: 0 ${
|
|
465
|
+
margin: 0 ${G.iconPadding};
|
|
466
466
|
${(0,C.setVariable)(ct.fontSize,"1em")};
|
|
467
467
|
${(0,C.setVariable)(ct.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
468
468
|
}
|
|
@@ -481,8 +481,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
.ft-button--label[hidden] + [part="icon"] {
|
|
484
|
-
margin: 0 calc(${
|
|
485
|
-
padding: 0 ${
|
|
484
|
+
margin: 0 calc(${G.horizontalPadding} * -1);
|
|
485
|
+
padding: 0 ${G.verticalPadding};
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -495,7 +495,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
ft-loader {
|
|
498
|
-
${(0,C.setVariable)(A.size,
|
|
498
|
+
${(0,C.setVariable)(A.size,G.iconSize)};
|
|
499
499
|
${(0,C.setVariable)(A.color,"var(--ft-button-internal-color)")};
|
|
500
500
|
}
|
|
501
501
|
`,C.noTextSelect];var Et=x(R());var Sr=x(R());var br=x(Z()),M=x(pt()),xr=x(ge()),ee=x(R());var Y=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},$=class extends ee.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 ee.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 ee.Debouncer(10),this.moveRipple=o=>{var a,i;let{x:c,y:l}=this.getCoordinates(o),s=(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-s.x:s.width/2),this.originY=Math.round(l!=null?l-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 br.html`
|
|
@@ -511,7 +511,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
511
511
|
</div>
|
|
512
512
|
`}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(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(y)},i=a("mouseup","contextmenu"),c=a("touchend","touchcancel"),l=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",i,s),o.addEventListener("touchstart",c,s),o.addEventListener("touchmove",this.moveRipple,s),o.addEventListener("keydown",l,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",i,s),o.removeEventListener("touchstart",c,s),o.removeEventListener("touchmove",this.moveRipple,s),o.removeEventListener("keydown",l,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,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()}};$.elementDefinitions={};$.styles=No;Y([(0,M.property)({type:Boolean})],$.prototype,"primary",void 0);Y([(0,M.property)({type:Boolean})],$.prototype,"secondary",void 0);Y([(0,M.property)({type:Boolean})],$.prototype,"unbounded",void 0);Y([(0,M.property)({type:Boolean})],$.prototype,"activated",void 0);Y([(0,M.property)({type:Boolean})],$.prototype,"selected",void 0);Y([(0,M.property)({type:Boolean})],$.prototype,"disabled",void 0);Y([(0,M.state)()],$.prototype,"hovered",void 0);Y([(0,M.state)()],$.prototype,"focused",void 0);Y([(0,M.state)()],$.prototype,"pressed",void 0);Y([(0,M.state)()],$.prototype,"rippling",void 0);Y([(0,M.state)()],$.prototype,"originX",void 0);Y([(0,M.state)()],$.prototype,"originY",void 0);Y([(0,M.query)(".ft-ripple")],$.prototype,"ripple",void 0);Y([(0,M.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,Sr.customElement)("ft-ripple")($);var ya=x(R());var fa=x(Z()),_=x(pt()),de=x(R());var Hr=x(R());var De=globalThis,xe=De.trustedTypes,Or=xe?xe.createPolicy("lit-html",{createHTML:e=>e}):void 0,Rr="$lit$",Ot=`lit$${Math.random().toFixed(9).slice(2)}$`,Lr="?"+Ot,ka=`<${Lr}>`,At=document,Se=()=>At.createComment(""),re=e=>e===null||typeof e!="object"&&typeof e!="function",Ge=Array.isArray,Ta=e=>Ge(e)||typeof e?.[Symbol.iterator]=="function",We=`[
|
|
513
513
|
\f\r]`,oe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Cr=/-->/g,vr=/>/g,Rt=RegExp(`>|${We}(?:([^\\s"'>=/]+)(${We}*=${We}*(?:[^
|
|
514
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Nr=/'/g,wr=/"/g,Ar=/^(?:script|style|textarea|title)$/i,Ue=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Br=Ue(1),Ir=Ue(2),$r=Ue(3),ae=Symbol.for("lit-noChange"),
|
|
514
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Nr=/'/g,wr=/"/g,Ar=/^(?:script|style|textarea|title)$/i,Ue=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Br=Ue(1),Ir=Ue(2),$r=Ue(3),ae=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Er=new WeakMap,Lt=At.createTreeWalker(At,129);function Pr(e,o){if(!Ge(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Or!==void 0?Or.createHTML(o):o}var za=(e,o)=>{let a=e.length-1,i=[],c,l=o===2?"<svg>":o===3?"<math>":"",s=oe;for(let p=0;p<a;p++){let y=e[p],h,O,b=-1,N=0;for(;N<y.length&&(s.lastIndex=N,O=s.exec(y),O!==null);)N=s.lastIndex,s===oe?O[1]==="!--"?s=Cr:O[1]!==void 0?s=vr:O[2]!==void 0?(Ar.test(O[2])&&(c=RegExp("</"+O[2],"g")),s=Rt):O[3]!==void 0&&(s=Rt):s===Rt?O[0]===">"?(s=c??oe,b=-1):O[1]===void 0?b=-2:(b=s.lastIndex-O[2].length,h=O[1],s=O[3]===void 0?Rt:O[3]==='"'?wr:Nr):s===wr||s===Nr?s=Rt:s===Cr||s===vr?s=oe:(s=Rt,c=void 0);let v=s===Rt&&e[p+1].startsWith("/>")?" ":"";l+=s===oe?y+ka:b>=0?(i.push(h),y.slice(0,b)+Rr+y.slice(b)+Ot+v):y+Ot+(b===-2?p:v)}return[Pr(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},ne=class e{constructor({strings:o,_$litType$:a},i){let c;this.parts=[];let l=0,s=0,p=o.length-1,y=this.parts,[h,O]=za(o,a);if(this.el=e.createElement(h,i),Lt.currentNode=this.el.content,a===2||a===3){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(c=Lt.nextNode())!==null&&y.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let b of c.getAttributeNames())if(b.endsWith(Rr)){let N=O[s++],v=c.getAttribute(b).split(Ot),w=/([.?@])?(.*)/.exec(N);y.push({type:1,index:l,name:w[2],strings:v,ctor:w[1]==="."?Te:w[1]==="?"?ze:w[1]==="@"?He:Mt}),c.removeAttribute(b)}else b.startsWith(Ot)&&(y.push({type:6,index:l}),c.removeAttribute(b));if(Ar.test(c.tagName)){let b=c.textContent.split(Ot),N=b.length-1;if(N>0){c.textContent=xe?xe.emptyScript:"";for(let v=0;v<N;v++)c.append(b[v],Se()),Lt.nextNode(),y.push({type:2,index:++l});c.append(b[N],Se())}}}else if(c.nodeType===8)if(c.data===Lr)y.push({type:2,index:l});else{let b=-1;for(;(b=c.data.indexOf(Ot,b+1))!==-1;)y.push({type:7,index:l}),b+=Ot.length-1}l++}}static createElement(o,a){let i=At.createElement("template");return i.innerHTML=o,i}};function Zt(e,o,a=e,i){if(o===ae)return o;let c=i!==void 0?a._$Co?.[i]:a._$Cl,l=re(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=Zt(e,c._$AS(e,o.values),c,i)),o}var ke=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??At).importNode(a,!0);Lt.currentNode=c;let l=Lt.nextNode(),s=0,p=0,y=i[0];for(;y!==void 0;){if(s===y.index){let h;y.type===2?h=new Oe(l,l.nextSibling,this,o):y.type===1?h=new y.ctor(l,y.name,y.strings,this,o):y.type===6&&(h=new _e(l,this,o)),this._$AV.push(h),y=i[++p]}s!==y?.index&&(l=Lt.nextNode(),s++)}return Lt.currentNode=At,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++}},Oe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,c){this.type=2,this._$AH=U,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=Zt(this,o,a),re(o)?o===U||o==null||o===""?(this._$AH!==U&&this._$AR(),this._$AH=U):o!==this._$AH&&o!==ae&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Ta(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!==U&&re(this._$AH)?this._$AA.nextSibling.data=o:this.T(At.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=ne.createElement(Pr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new ke(c,this),s=l.u(this.options);l.p(a),this.T(s),this._$AH=l}}_$AC(o){let a=Er.get(o.strings);return a===void 0&&Er.set(o.strings,a=new ne(o)),a}k(o){Ge(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(Se()),this.O(Se()),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))}},Mt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,c,l){this.type=1,this._$AH=U,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=U}_$AI(o,a=this,i,c){let l=this.strings,s=!1;if(l===void 0)o=Zt(this,o,a,0),s=!re(o)||o!==this._$AH&&o!==ae,s&&(this._$AH=o);else{let p=o,y,h;for(o=l[0],y=0;y<l.length-1;y++)h=Zt(this,p[i+y],a,y),h===ae&&(h=this._$AH[y]),s||=!re(h)||h!==this._$AH[y],h===U?o=U:o!==U&&(o+=(h??"")+l[y+1]),this._$AH[y]=h}s&&!c&&this.j(o)}j(o){o===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Te=class extends Mt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===U?void 0:o}},ze=class extends Mt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==U)}},He=class extends Mt{constructor(o,a,i,c,l){super(o,a,i,c,l),this.type=5}_$AI(o,a=this){if((o=Zt(this,o,a,0)??U)===ae)return;let i=this._$AH,c=o===U&&i!==U||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==U&&(i===U||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)}},_e=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){Zt(this,o)}};var Ha=De.litHtmlPolyfillSupport;Ha?.(ne,Oe),(De.litHtmlVersions??=[]).push("3.3.0");var kr=Symbol.for(""),_a=e=>{if(e?.r===kr)return e?._$litStatic$},Ze=e=>({_$litStatic$:e,r:kr});var Wr=new Map,Me=e=>(o,...a)=>{let i=a.length,c,l,s=[],p=[],y,h=0,O=!1;for(;h<i;){for(y=o[h];h<i&&(l=a[h],(c=_a(l))!==void 0);)y+=c+o[++h],O=!0;h!==i&&p.push(l),s.push(y),h++}if(h===i&&s.push(o[i]),O){let b=s.join("$$lit$$");(o=Wr.get(b))===void 0&&(s.raw=s,Wr.set(b,o=s)),a=p}return e(o,...a)},Ke=Me(Br),Gs=Me(Ir),Us=Me($r);var Fe=x(pt()),zr=x(R());var Ct;(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"})(Ct||(Ct={}));var Tr=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},ot=class extends zr.FtLitElement{constructor(){super(...arguments),this.variant=Ct.body1}render(){return this.element?Ke`
|
|
515
515
|
<${Ze(this.element)}
|
|
516
516
|
part="text"
|
|
517
517
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -548,7 +548,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
548
548
|
position: relative;
|
|
549
549
|
word-break: break-word;
|
|
550
550
|
}
|
|
551
|
-
`;var Ur=["top","right","bottom","left"],Gr=["start","end"],je=Ur.reduce((e,o)=>e.concat(o,o+"-"+Gr[0],o+"-"+Gr[1]),[]),Zr=Math.min,Mr=Math.max;var Da={left:"right",right:"left",bottom:"top",top:"bottom"},Ga={start:"end",end:"start"};function Ye(e,o,a){return Mr(e,Zr(o,a))}function Ce(e,o){return typeof e=="function"?e(o):e}function Ft(e){return e.split("-")[0]}function vt(e){return e.split("-")[1]}function Xe(e){return e==="x"?"y":"x"}function qe(e){return e==="y"?"height":"width"}function ve(e){return["top","bottom"].includes(Ft(e))?"y":"x"}function Qe(e){return Xe(ve(e))}function Kr(e,o,a){a===void 0&&(a=!1);let i=vt(e),c=Qe(e),l=qe(c),s=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(s=Ve(s)),[s,Ve(s)]}function Fr(e){return e.replace(/start|end/g,o=>Ga[o])}function Ve(e){return e.replace(/left|right|bottom|top/g,o=>Da[o])}function Ua(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vr(e){return typeof e!="number"?Ua(e):{top:e,right:e,bottom:e,left:e}}function Bt(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 jr(e,o,a){let{reference:i,floating:c}=e,l=ve(o),s=Qe(o),p=qe(s),y=Ft(o),h=l==="y",O=i.x+i.width/2-c.width/2,b=i.y+i.height/2-c.height/2,N=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(vt(o)){case"start":v[s]-=N*(a&&h?-1:1);break;case"end":v[s]+=N*(a&&h?-1:1);break}return v}var Yr=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:s}=a,p=l.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:b}=jr(h,i,y),N=i,v={},w=0;for(let W=0;W<p.length;W++){let{name:z,fn:k}=p[W],{x:H,y:V,data:bt,reset:K}=await k({x:O,y:b,initialPlacement:i,placement:N,strategy:c,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});O=H??O,b=V??b,v={...v,[z]:{...v[z],...bt}},K&&w<=50&&(w++,typeof K=="object"&&(K.placement&&(N=K.placement),K.rects&&(h=K.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:c}):K.rects),{x:O,y:b}=jr(h,N,y)),W=-1)}return{x:O,y:b,placement:N,strategy:c,middlewareData:v}};async function Je(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:b="floating",altBoundary:N=!1,padding:v=0}=Ce(o,e),w=Vr(v),z=p[N?b==="floating"?"reference":"floating":b],k=Bt(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(z)))==null||a?z:z.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),H=b==="floating"?{x:i,y:c,width:s.floating.width,height:s.floating.height}:s.reference,V=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),bt=await(l.isElement==null?void 0:l.isElement(V))?await(l.getScale==null?void 0:l.getScale(V))||{x:1,y:1}:{x:1,y:1},K=Bt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:H,offsetParent:V,strategy:y}):H);return{top:(k.top-K.top+w.top)/bt.y,bottom:(K.bottom-k.bottom+w.bottom)/bt.y,left:(k.left-K.left+w.left)/bt.x,right:(K.right-k.right+w.right)/bt.x}}function Za(e,o,a){return(e?[...a.filter(c=>vt(c)===e),...a.filter(c=>vt(c)!==e)]:a.filter(c=>Ft(c)===c)).filter(c=>e?vt(c)===e||(o?Fr(c)!==c:!1):!0)}var to=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,c;let{rects:l,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:O=!1,alignment:b,allowedPlacements:N=je,autoAlignment:v=!0,...w}=Ce(e,o),W=b!==void 0||N===je?Za(b||null,v,N):N,z=await Je(o,w),k=((a=s.autoPlacement)==null?void 0:a.index)||0,H=W[k];if(H==null)return{};let V=Kr(H,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==H)return{reset:{placement:W[0]}};let bt=[z[Ft(H)],z[V[0]],z[V[1]]],K=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:H,overflows:bt}],co=W[k+1];if(co)return{data:{index:k+1,overflows:K},reset:{placement:co}};let lo=K.map(it=>{let Qt=vt(it.placement);return[it.placement,Qt&&O?it.overflows.slice(0,2).reduce((Ea,Ra)=>Ea+Ra,0):it.overflows[0],it.overflows]}).sort((it,Qt)=>it[1]-Qt[1]),so=((c=lo.filter(it=>it[2].slice(0,vt(it[0])?2:3).every(Qt=>Qt<=0))[0])==null?void 0:c[0])||lo[0][0];return so!==p?{data:{index:k+1,overflows:K},reset:{placement:so}}:{}}}};var eo=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:s=!1,limiter:p={fn:z=>{let{x:k,y:H}=z;return{x:k,y:H}}},...y}=Ce(e,o),h={x:a,y:i},O=await Je(o,y),b=ve(Ft(c)),N=Xe(b),v=h[N],w=h[b];if(l){let z=N==="y"?"top":"left",k=N==="y"?"bottom":"right",H=v+O[z],V=v-O[k];v=Ye(H,v,V)}if(s){let z=b==="y"?"top":"left",k=b==="y"?"bottom":"right",H=w+O[z],V=w-O[k];w=Ye(H,w,V)}let W=p.fn({...o,[N]:v,[b]:w});return{...W,data:{x:W.x-a,y:W.y-i,enabled:{[N]:l,[b]:s}}}}}};var oo=Math.min,Vt=Math.max,ie=Math.round;var gt=e=>({x:e,y:e});function mt(e){return qr(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function ht(e){var o;return(o=(qr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function qr(e){return e instanceof Node||e instanceof X(e).Node}function st(e){return e instanceof Element||e instanceof X(e).Element}function rt(e){return e instanceof HTMLElement||e instanceof X(e).HTMLElement}function Xr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}function jt(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function Qr(e){return["table","td","th"].includes(mt(e))}function we(e){let o=Ee(),a=Q(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 Jr(e){let o=It(e);for(;rt(o)&&!ce(o);){if(we(o))return o;o=It(o)}return null}function Ee(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ce(e){return["html","body","#document"].includes(mt(e))}function Q(e){return X(e).getComputedStyle(e)}function le(e){return st(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function It(e){if(mt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Xr(e)&&e.host||ht(e);return Xr(o)?o.host:o}function ta(e){let o=It(e);return ce(o)?e.ownerDocument?e.ownerDocument.body:e.body:rt(o)&&jt(o)?o:ta(o)}function Ne(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=ta(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),s=X(c);return l?o.concat(s,s.visualViewport||[],jt(c)?c:[],s.frameElement&&a?Ne(s.frameElement):[]):o.concat(c,Ne(c,[],a))}function ra(e){let o=Q(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=rt(e),l=c?e.offsetWidth:a,s=c?e.offsetHeight:i,p=ie(a)!==l||ie(i)!==s;return p&&(a=l,i=s),{width:a,height:i,$:p}}function aa(e){return st(e)?e:e.contextElement}function Yt(e){let o=aa(e);if(!rt(o))return gt(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=ra(o),s=(l?ie(a.width):a.width)/i,p=(l?ie(a.height):a.height)/c;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var Fa=gt(0);function na(e){let o=X(e);return!Ee()||!o.visualViewport?Fa:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Va(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==X(e)?!1:o}function se(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=aa(e),s=gt(1);o&&(i?st(i)&&(s=Yt(i)):s=Yt(e));let p=Va(l,a,i)?na(l):gt(0),y=(c.left+p.x)/s.x,h=(c.top+p.y)/s.y,O=c.width/s.x,b=c.height/s.y;if(l){let N=X(l),v=i&&st(i)?X(i):i,w=N.frameElement;for(;w&&i&&v!==N;){let W=Yt(w),z=w.getBoundingClientRect(),k=Q(w),H=z.left+(w.clientLeft+parseFloat(k.paddingLeft))*W.x,V=z.top+(w.clientTop+parseFloat(k.paddingTop))*W.y;y*=W.x,h*=W.y,O*=W.x,b*=W.y,y+=H,h+=V,w=X(w).frameElement}}return Bt({width:O,height:b,x:y,y:h})}function ja(e){let{rect:o,offsetParent:a,strategy:i}=e,c=rt(a),l=ht(a);if(a===l)return o;let s={scrollLeft:0,scrollTop:0},p=gt(1),y=gt(0);if((c||!c&&i!=="fixed")&&((mt(a)!=="body"||jt(l))&&(s=le(a)),rt(a))){let h=se(a);p=Yt(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 Ya(e){return Array.from(e.getClientRects())}function ia(e){return se(ht(e)).left+le(e).scrollLeft}function Xa(e){let o=ht(e),a=le(e),i=e.ownerDocument.body,c=Vt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=Vt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),s=-a.scrollLeft+ia(e),p=-a.scrollTop;return Q(i).direction==="rtl"&&(s+=Vt(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:s,y:p}}function qa(e,o){let a=X(e),i=ht(e),c=a.visualViewport,l=i.clientWidth,s=i.clientHeight,p=0,y=0;if(c){l=c.width,s=c.height;let h=Ee();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:s,x:p,y}}function Qa(e,o){let a=se(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=rt(e)?Yt(e):gt(1),s=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=i*l.y;return{width:s,height:p,x:y,y:h}}function ea(e,o,a){let i;if(o==="viewport")i=qa(e,a);else if(o==="document")i=Xa(ht(e));else if(st(o))i=Qa(o,a);else{let c=na(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return Bt(i)}function ca(e,o){let a=It(e);return a===o||!st(a)||ce(a)?!1:Q(a).position==="fixed"||ca(a,o)}function Ja(e,o){let a=o.get(e);if(a)return a;let i=Ne(e,[],!1).filter(p=>st(p)&&mt(p)!=="body"),c=null,l=Q(e).position==="fixed",s=l?It(e):e;for(;st(s)&&!ce(s);){let p=Q(s),y=we(s);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||jt(s)&&!y&&ca(e,s))?i=i.filter(O=>O!==s):c=p,s=It(s)}return o.set(e,i),i}function tn(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,s=[...a==="clippingAncestors"?Ja(o,this._c):[].concat(a),i],p=s[0],y=s.reduce((h,O)=>{let b=ea(o,O,c);return h.top=Vt(b.top,h.top),h.right=oo(b.right,h.right),h.bottom=oo(b.bottom,h.bottom),h.left=Vt(b.left,h.left),h},ea(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function en(e){return ra(e)}function on(e,o,a){let i=rt(o),c=ht(o),l=a==="fixed",s=se(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=gt(0);if(i||!i&&!l)if((mt(o)!=="body"||jt(c))&&(p=le(o)),i){let h=se(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=ia(c));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function oa(e,o){return!rt(e)||Q(e).position==="fixed"?null:o?o(e):e.offsetParent}function la(e,o){let a=X(e);if(!rt(e))return a;let i=oa(e,o);for(;i&&Qr(i)&&Q(i).position==="static";)i=oa(i,o);return i&&(mt(i)==="html"||mt(i)==="body"&&Q(i).position==="static"&&!we(i))?a:i||Jr(e)||a}var rn=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||la,l=this.getDimensions;return{reference:on(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function an(e){return Q(e).direction==="rtl"}var Re={convertOffsetParentRelativeRectToViewportRelativeRect:ja,getDocumentElement:ht,getClippingRect:tn,getOffsetParent:la,getElementRects:rn,getClientRects:Ya,getDimensions:en,getScale:Yt,isElement:st,isRTL:an};var sa=(e,o,a)=>{let i=new Map,c={platform:Re,...a},l={...c.platform,_c:i};return Yr(e,o,{...c,platform:l})};function da(e){return nn(e)}function ro(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function nn(e){for(let o=e;o;o=ro(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=ro(e);o;o=ro(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 pa(e,o,a){return sa(e,o,{platform:{...Re,getOffsetParent:i=>Re.getOffsetParent(i,da)},middleware:[eo({crossAxis:!0}),to({allowedPlacements:[a]})]})}var q=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},P=class extends de.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 de.Debouncer,this.revealDebouncer=new de.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return fa.html`
|
|
551
|
+
`;var Ur=["top","right","bottom","left"],Gr=["start","end"],je=Ur.reduce((e,o)=>e.concat(o,o+"-"+Gr[0],o+"-"+Gr[1]),[]),Zr=Math.min,Mr=Math.max;var Da={left:"right",right:"left",bottom:"top",top:"bottom"},Ga={start:"end",end:"start"};function Ye(e,o,a){return Mr(e,Zr(o,a))}function Ce(e,o){return typeof e=="function"?e(o):e}function Ft(e){return e.split("-")[0]}function vt(e){return e.split("-")[1]}function Xe(e){return e==="x"?"y":"x"}function qe(e){return e==="y"?"height":"width"}function ve(e){return["top","bottom"].includes(Ft(e))?"y":"x"}function Qe(e){return Xe(ve(e))}function Kr(e,o,a){a===void 0&&(a=!1);let i=vt(e),c=Qe(e),l=qe(c),s=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(s=Ve(s)),[s,Ve(s)]}function Fr(e){return e.replace(/start|end/g,o=>Ga[o])}function Ve(e){return e.replace(/left|right|bottom|top/g,o=>Da[o])}function Ua(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vr(e){return typeof e!="number"?Ua(e):{top:e,right:e,bottom:e,left:e}}function Bt(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 jr(e,o,a){let{reference:i,floating:c}=e,l=ve(o),s=Qe(o),p=qe(s),y=Ft(o),h=l==="y",O=i.x+i.width/2-c.width/2,b=i.y+i.height/2-c.height/2,N=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(vt(o)){case"start":v[s]-=N*(a&&h?-1:1);break;case"end":v[s]+=N*(a&&h?-1:1);break}return v}var Yr=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:s}=a,p=l.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:b}=jr(h,i,y),N=i,v={},w=0;for(let W=0;W<p.length;W++){let{name:z,fn:k}=p[W],{x:H,y:V,data:bt,reset:F}=await k({x:O,y:b,initialPlacement:i,placement:N,strategy:c,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});O=H??O,b=V??b,v={...v,[z]:{...v[z],...bt}},F&&w<=50&&(w++,typeof F=="object"&&(F.placement&&(N=F.placement),F.rects&&(h=F.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:c}):F.rects),{x:O,y:b}=jr(h,N,y)),W=-1)}return{x:O,y:b,placement:N,strategy:c,middlewareData:v}};async function Je(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:b="floating",altBoundary:N=!1,padding:v=0}=Ce(o,e),w=Vr(v),z=p[N?b==="floating"?"reference":"floating":b],k=Bt(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(z)))==null||a?z:z.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),H=b==="floating"?{x:i,y:c,width:s.floating.width,height:s.floating.height}:s.reference,V=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),bt=await(l.isElement==null?void 0:l.isElement(V))?await(l.getScale==null?void 0:l.getScale(V))||{x:1,y:1}:{x:1,y:1},F=Bt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:H,offsetParent:V,strategy:y}):H);return{top:(k.top-F.top+w.top)/bt.y,bottom:(F.bottom-k.bottom+w.bottom)/bt.y,left:(k.left-F.left+w.left)/bt.x,right:(F.right-k.right+w.right)/bt.x}}function Za(e,o,a){return(e?[...a.filter(c=>vt(c)===e),...a.filter(c=>vt(c)!==e)]:a.filter(c=>Ft(c)===c)).filter(c=>e?vt(c)===e||(o?Fr(c)!==c:!1):!0)}var to=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,c;let{rects:l,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:O=!1,alignment:b,allowedPlacements:N=je,autoAlignment:v=!0,...w}=Ce(e,o),W=b!==void 0||N===je?Za(b||null,v,N):N,z=await Je(o,w),k=((a=s.autoPlacement)==null?void 0:a.index)||0,H=W[k];if(H==null)return{};let V=Kr(H,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==H)return{reset:{placement:W[0]}};let bt=[z[Ft(H)],z[V[0]],z[V[1]]],F=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:H,overflows:bt}],co=W[k+1];if(co)return{data:{index:k+1,overflows:F},reset:{placement:co}};let lo=F.map(it=>{let Qt=vt(it.placement);return[it.placement,Qt&&O?it.overflows.slice(0,2).reduce((Ea,Ra)=>Ea+Ra,0):it.overflows[0],it.overflows]}).sort((it,Qt)=>it[1]-Qt[1]),so=((c=lo.filter(it=>it[2].slice(0,vt(it[0])?2:3).every(Qt=>Qt<=0))[0])==null?void 0:c[0])||lo[0][0];return so!==p?{data:{index:k+1,overflows:F},reset:{placement:so}}:{}}}};var eo=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:s=!1,limiter:p={fn:z=>{let{x:k,y:H}=z;return{x:k,y:H}}},...y}=Ce(e,o),h={x:a,y:i},O=await Je(o,y),b=ve(Ft(c)),N=Xe(b),v=h[N],w=h[b];if(l){let z=N==="y"?"top":"left",k=N==="y"?"bottom":"right",H=v+O[z],V=v-O[k];v=Ye(H,v,V)}if(s){let z=b==="y"?"top":"left",k=b==="y"?"bottom":"right",H=w+O[z],V=w-O[k];w=Ye(H,w,V)}let W=p.fn({...o,[N]:v,[b]:w});return{...W,data:{x:W.x-a,y:W.y-i,enabled:{[N]:l,[b]:s}}}}}};var oo=Math.min,Vt=Math.max,ie=Math.round;var gt=e=>({x:e,y:e});function mt(e){return qr(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function ht(e){var o;return(o=(qr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function qr(e){return e instanceof Node||e instanceof X(e).Node}function st(e){return e instanceof Element||e instanceof X(e).Element}function rt(e){return e instanceof HTMLElement||e instanceof X(e).HTMLElement}function Xr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}function jt(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function Qr(e){return["table","td","th"].includes(mt(e))}function we(e){let o=Ee(),a=Q(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 Jr(e){let o=It(e);for(;rt(o)&&!ce(o);){if(we(o))return o;o=It(o)}return null}function Ee(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ce(e){return["html","body","#document"].includes(mt(e))}function Q(e){return X(e).getComputedStyle(e)}function le(e){return st(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function It(e){if(mt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Xr(e)&&e.host||ht(e);return Xr(o)?o.host:o}function ta(e){let o=It(e);return ce(o)?e.ownerDocument?e.ownerDocument.body:e.body:rt(o)&&jt(o)?o:ta(o)}function Ne(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=ta(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),s=X(c);return l?o.concat(s,s.visualViewport||[],jt(c)?c:[],s.frameElement&&a?Ne(s.frameElement):[]):o.concat(c,Ne(c,[],a))}function ra(e){let o=Q(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=rt(e),l=c?e.offsetWidth:a,s=c?e.offsetHeight:i,p=ie(a)!==l||ie(i)!==s;return p&&(a=l,i=s),{width:a,height:i,$:p}}function aa(e){return st(e)?e:e.contextElement}function Yt(e){let o=aa(e);if(!rt(o))return gt(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=ra(o),s=(l?ie(a.width):a.width)/i,p=(l?ie(a.height):a.height)/c;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var Fa=gt(0);function na(e){let o=X(e);return!Ee()||!o.visualViewport?Fa:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Va(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==X(e)?!1:o}function se(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=aa(e),s=gt(1);o&&(i?st(i)&&(s=Yt(i)):s=Yt(e));let p=Va(l,a,i)?na(l):gt(0),y=(c.left+p.x)/s.x,h=(c.top+p.y)/s.y,O=c.width/s.x,b=c.height/s.y;if(l){let N=X(l),v=i&&st(i)?X(i):i,w=N.frameElement;for(;w&&i&&v!==N;){let W=Yt(w),z=w.getBoundingClientRect(),k=Q(w),H=z.left+(w.clientLeft+parseFloat(k.paddingLeft))*W.x,V=z.top+(w.clientTop+parseFloat(k.paddingTop))*W.y;y*=W.x,h*=W.y,O*=W.x,b*=W.y,y+=H,h+=V,w=X(w).frameElement}}return Bt({width:O,height:b,x:y,y:h})}function ja(e){let{rect:o,offsetParent:a,strategy:i}=e,c=rt(a),l=ht(a);if(a===l)return o;let s={scrollLeft:0,scrollTop:0},p=gt(1),y=gt(0);if((c||!c&&i!=="fixed")&&((mt(a)!=="body"||jt(l))&&(s=le(a)),rt(a))){let h=se(a);p=Yt(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 Ya(e){return Array.from(e.getClientRects())}function ia(e){return se(ht(e)).left+le(e).scrollLeft}function Xa(e){let o=ht(e),a=le(e),i=e.ownerDocument.body,c=Vt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=Vt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),s=-a.scrollLeft+ia(e),p=-a.scrollTop;return Q(i).direction==="rtl"&&(s+=Vt(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:s,y:p}}function qa(e,o){let a=X(e),i=ht(e),c=a.visualViewport,l=i.clientWidth,s=i.clientHeight,p=0,y=0;if(c){l=c.width,s=c.height;let h=Ee();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:s,x:p,y}}function Qa(e,o){let a=se(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=rt(e)?Yt(e):gt(1),s=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=i*l.y;return{width:s,height:p,x:y,y:h}}function ea(e,o,a){let i;if(o==="viewport")i=qa(e,a);else if(o==="document")i=Xa(ht(e));else if(st(o))i=Qa(o,a);else{let c=na(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return Bt(i)}function ca(e,o){let a=It(e);return a===o||!st(a)||ce(a)?!1:Q(a).position==="fixed"||ca(a,o)}function Ja(e,o){let a=o.get(e);if(a)return a;let i=Ne(e,[],!1).filter(p=>st(p)&&mt(p)!=="body"),c=null,l=Q(e).position==="fixed",s=l?It(e):e;for(;st(s)&&!ce(s);){let p=Q(s),y=we(s);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||jt(s)&&!y&&ca(e,s))?i=i.filter(O=>O!==s):c=p,s=It(s)}return o.set(e,i),i}function tn(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,s=[...a==="clippingAncestors"?Ja(o,this._c):[].concat(a),i],p=s[0],y=s.reduce((h,O)=>{let b=ea(o,O,c);return h.top=Vt(b.top,h.top),h.right=oo(b.right,h.right),h.bottom=oo(b.bottom,h.bottom),h.left=Vt(b.left,h.left),h},ea(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function en(e){return ra(e)}function on(e,o,a){let i=rt(o),c=ht(o),l=a==="fixed",s=se(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=gt(0);if(i||!i&&!l)if((mt(o)!=="body"||jt(c))&&(p=le(o)),i){let h=se(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=ia(c));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function oa(e,o){return!rt(e)||Q(e).position==="fixed"?null:o?o(e):e.offsetParent}function la(e,o){let a=X(e);if(!rt(e))return a;let i=oa(e,o);for(;i&&Qr(i)&&Q(i).position==="static";)i=oa(i,o);return i&&(mt(i)==="html"||mt(i)==="body"&&Q(i).position==="static"&&!we(i))?a:i||Jr(e)||a}var rn=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||la,l=this.getDimensions;return{reference:on(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function an(e){return Q(e).direction==="rtl"}var Re={convertOffsetParentRelativeRectToViewportRelativeRect:ja,getDocumentElement:ht,getClippingRect:tn,getOffsetParent:la,getElementRects:rn,getClientRects:Ya,getDimensions:en,getScale:Yt,isElement:st,isRTL:an};var sa=(e,o,a)=>{let i=new Map,c={platform:Re,...a},l={...c.platform,_c:i};return Yr(e,o,{...c,platform:l})};function da(e){return nn(e)}function ro(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function nn(e){for(let o=e;o;o=ro(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=ro(e);o;o=ro(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 pa(e,o,a){return sa(e,o,{platform:{...Re,getOffsetParent:i=>Re.getOffsetParent(i,da)},middleware:[eo({crossAxis:!0}),to({allowedPlacements:[a]})]})}var q=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},P=class extends de.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 de.Debouncer,this.revealDebouncer=new de.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return fa.html`
|
|
552
552
|
<div part="container"
|
|
553
553
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
554
554
|
@mouseenter=${this.onHover}
|
|
@@ -578,8 +578,11 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
578
578
|
<div></div>
|
|
579
579
|
<div></div>
|
|
580
580
|
</div>
|
|
581
|
-
`}};$t.styles=pr;(0,Oa.customElement)("ft-loader")($t);var wt=x(Z()),ao=x(ge()),
|
|
582
|
-
<ft-ripple part="ripple"
|
|
581
|
+
`}};$t.styles=pr;(0,Oa.customElement)("ft-loader")($t);var wt=x(Z()),ao=x(ge()),D=x(pt()),K=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},B=class extends(0,Et.toFtFormComponent)(Et.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.activated=!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=wt.html`
|
|
582
|
+
<ft-ripple part="ripple"
|
|
583
|
+
?disabled=${this.isDisabled()}
|
|
584
|
+
?activated=${this.activated}
|
|
585
|
+
></ft-ripple>
|
|
583
586
|
<ft-typography part="label"
|
|
584
587
|
variant=${this.typographyVariant}
|
|
585
588
|
element="span"
|
|
@@ -615,7 +618,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
615
618
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
616
619
|
`:wt.html`
|
|
617
620
|
<slot part="icon" name="icon"></slot>
|
|
618
|
-
`}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,Et.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};
|
|
621
|
+
`}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,Et.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};B.elementDefinitions={"ft-ripple":$,"ft-tooltip":P,"ft-typography":ot,"ft-icon":J,"ft-loader":$t};K([(0,D.property)()],B.prototype,"href",void 0);K([(0,D.property)()],B.prototype,"target",void 0);K([(0,D.property)()],B.prototype,"type",void 0);K([(0,D.property)({type:Boolean})],B.prototype,"disabled",void 0);K([(0,D.property)()],B.prototype,"label",void 0);K([(0,D.property)()],B.prototype,"icon",void 0);K([(0,D.property)()],B.prototype,"iconVariant",void 0);K([(0,D.property)({type:Boolean})],B.prototype,"trailingIcon",void 0);K([(0,D.property)({type:Boolean})],B.prototype,"loading",void 0);K([(0,D.property)({attribute:"aria-label"})],B.prototype,"ariaLabel",void 0);K([(0,D.property)()],B.prototype,"tooltipPosition",void 0);K([(0,D.property)({type:Boolean})],B.prototype,"hideTooltip",void 0);K([(0,D.property)({type:Boolean})],B.prototype,"forceTooltip",void 0);K([(0,D.property)({type:Boolean})],B.prototype,"activated",void 0);K([(0,D.query)(".ft-button")],B.prototype,"button",void 0);K([(0,D.query)(".ft-button--label slot")],B.prototype,"slottedContent",void 0);K([(0,D.query)("[part=tooltip]")],B.prototype,"tooltip",void 0);var Ae=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},at=class extends B{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"}};at.styles=[Ca.safariEllipsisFix,hr];Ae([(0,ye.property)({type:Boolean})],at.prototype,"primary",void 0);Ae([(0,ye.property)({type:Boolean})],at.prototype,"outlined",void 0);Ae([(0,ye.property)({type:Boolean})],at.prototype,"dense",void 0);Ae([(0,ye.property)({type:Boolean})],at.prototype,"round",void 0);var ue=x(pt());var Ie=x(R());var va=x(Z()),f=x(R());var Na=[va.css`
|
|
619
622
|
:host {
|
|
620
623
|
display: inline-block;
|
|
621
624
|
max-width: 100%;
|
|
@@ -1081,7 +1084,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1081
1084
|
.ftds--size-small.ft-button--icon-only {
|
|
1082
1085
|
width: ${d.smallIconOnlyWidth};
|
|
1083
1086
|
}
|
|
1084
|
-
`,f.noTextSelect];var Be=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},nt=class extends(0,Ie.toFtdsBase)(
|
|
1087
|
+
`,f.noTextSelect];var Be=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,s;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--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},nt=class extends(0,Ie.toFtdsBase)(B){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=he.brand,this.iconVariant=dt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Pt.large:return Ct.body2medium;case Pt.medium:return Ct.caption1medium;case Pt.small:return Ct.caption2medium}}};nt.styles=[Ie.safariEllipsisFix,Na];Be([(0,ue.property)({type:Boolean})],nt.prototype,"primary",void 0);Be([(0,ue.property)({type:Boolean})],nt.prototype,"secondary",void 0);Be([(0,ue.property)({type:Boolean})],nt.prototype,"tertiary",void 0);Be([(0,ue.property)({type:Boolean})],nt.prototype,"round",void 0);(0,no.customElement)("ft-button")(at);(0,no.customElement)("ftds-button")(nt);var wa=x(Z()),$e=wa.css`
|
|
1085
1088
|
:host {
|
|
1086
1089
|
display: contents;
|
|
1087
1090
|
}
|