@fluid-topics/ft-number-field 2.1.12 → 2.1.14

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.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var Le=Object.create;var Rt=Object.defineProperty;var We=Object.getOwnPropertyDescriptor;var Pe=Object.getOwnPropertyNames;var Ve=Object.getPrototypeOf,Ne=Object.prototype.hasOwnProperty;var at=(r,t)=>()=>{try{return t||r((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var Me=(r,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Pe(t))!Ne.call(r,o)&&o!==e&&Rt(r,o,{get:()=>t[o],enumerable:!(i=We(t,o))||i.enumerable});return r};var y=(r,t,e)=>(e=r!=null?Le(Ve(r)):{},Me(t||!r||!r.__esModule?Rt(e,"default",{value:r,enumerable:!0}):e,r));var F=at((Ge,Ot)=>{Ot.exports=ftGlobals.wcUtils});var L=at((qe,Bt)=>{Bt.exports=ftGlobals.lit});var J=at((ni,oe)=>{oe.exports=ftGlobals.litDecorators});var ft=at((si,re)=>{re.exports=ftGlobals.litClassMap});var ke=y(F());var I=y(L()),et=y(F());var ee=y(L()),h=y(F());var w=y(L()),l=y(F()),Dt=l.FtCssVariableFactory.extend("--ft-typography-font-family","",l.designSystemVariables.titleFont),B=l.FtCssVariableFactory.extend("--ft-typography-font-family","",l.designSystemVariables.contentFont),a={fontFamily:B,fontSize:l.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:l.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:l.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:l.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:l.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},j={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Dt),fontSize:l.FtCssVariableFactory.extend("--ft-typography-title-font-size","",a.fontSize,"20px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",a.letterSpacing,"0.15px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-title-line-height","",a.lineHeight,"1.2"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",a.textTransform,"inherit")},Z={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Dt),fontSize:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",a.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",a.letterSpacing,"0.105px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",a.lineHeight,"1.7"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",a.textTransform,"inherit")},U={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",B),fontSize:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",a.fontSize,"16px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",a.fontWeight,"600"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",a.letterSpacing,"0.144px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",a.lineHeight,"1.5"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",a.textTransform,"inherit")},X={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",B),fontSize:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",a.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",a.letterSpacing,"0.098px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",a.lineHeight,"1.7"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",a.textTransform,"inherit")},O={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",B),fontSize:l.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",a.fontSize,"16px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",a.letterSpacing,"0.496px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",a.lineHeight,"1.5"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",a.textTransform,"inherit")},Y={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",B),fontSize:l.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",a.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",a.letterSpacing,"0.252px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",a.lineHeight,"1.4"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",a.textTransform,"inherit")},C={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",B),fontSize:l.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",a.fontSize,"12px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",a.letterSpacing,"0.396px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",a.lineHeight,"1.33"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",a.textTransform,"inherit")},G={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",B),fontSize:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",a.fontSize,"10px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",a.letterSpacing,"0.33px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",a.lineHeight,"1.6"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",a.textTransform,"inherit")},q={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",B),fontSize:l.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",a.fontSize,"10px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",a.letterSpacing,"1.5px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",a.lineHeight,"1.6"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",a.textTransform,"uppercase")},K={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-button-font-family","",B),fontSize:l.FtCssVariableFactory.extend("--ft-typography-button-font-size","",a.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",a.fontWeight,"600"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",a.letterSpacing,"1.246px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-button-line-height","",a.lineHeight,"1.15"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",a.textTransform,"uppercase")},kt=w.css`
1
+ "use strict";(()=>{var We=Object.create;var Rt=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ve=Object.getOwnPropertyNames;var Ne=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty;var at=(r,t)=>()=>{try{return t||r((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}};var Ie=(r,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ve(t))!Me.call(r,o)&&o!==e&&Rt(r,o,{get:()=>t[o],enumerable:!(i=Pe(t,o))||i.enumerable});return r};var y=(r,t,e)=>(e=r!=null?We(Ne(r)):{},Ie(t||!r||!r.__esModule?Rt(e,"default",{value:r,enumerable:!0}):e,r));var F=at((qe,Ot)=>{Ot.exports=ftGlobals.wcUtils});var L=at((Ke,Dt)=>{Dt.exports=ftGlobals.lit});var J=at((si,oe)=>{oe.exports=ftGlobals.litDecorators});var ft=at((li,re)=>{re.exports=ftGlobals.litClassMap});var Le=y(F());var I=y(L()),et=y(F());var ee=y(L()),h=y(F());var w=y(L()),l=y(F()),Bt=l.FtCssVariableFactory.extend("--ft-typography-font-family","",l.designSystemVariables.titleFont),D=l.FtCssVariableFactory.extend("--ft-typography-font-family","",l.designSystemVariables.contentFont),a={fontFamily:D,fontSize:l.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:l.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:l.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:l.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:l.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},j={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Bt),fontSize:l.FtCssVariableFactory.extend("--ft-typography-title-font-size","",a.fontSize,"20px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",a.letterSpacing,"0.15px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-title-line-height","",a.lineHeight,"1.2"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",a.textTransform,"inherit")},U={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Bt),fontSize:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",a.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",a.letterSpacing,"0.105px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",a.lineHeight,"1.7"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",a.textTransform,"inherit")},Z={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",D),fontSize:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",a.fontSize,"16px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",a.fontWeight,"600"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",a.letterSpacing,"0.144px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",a.lineHeight,"1.5"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",a.textTransform,"inherit")},X={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",D),fontSize:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",a.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",a.letterSpacing,"0.098px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",a.lineHeight,"1.7"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",a.textTransform,"inherit")},O={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",D),fontSize:l.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",a.fontSize,"16px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",a.letterSpacing,"0.496px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",a.lineHeight,"1.5"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",a.textTransform,"inherit")},Y={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",D),fontSize:l.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",a.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",a.letterSpacing,"0.252px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",a.lineHeight,"1.4"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",a.textTransform,"inherit")},C={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",D),fontSize:l.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",a.fontSize,"12px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",a.letterSpacing,"0.396px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",a.lineHeight,"1.33"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",a.textTransform,"inherit")},G={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",D),fontSize:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",a.fontSize,"10px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",a.letterSpacing,"0.33px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",a.lineHeight,"1.6"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",a.textTransform,"inherit")},q={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",D),fontSize:l.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",a.fontSize,"10px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",a.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",a.letterSpacing,"1.5px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",a.lineHeight,"1.6"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",a.textTransform,"uppercase")},K={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-button-font-family","",D),fontSize:l.FtCssVariableFactory.extend("--ft-typography-button-font-size","",a.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",a.fontWeight,"600"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",a.letterSpacing,"1.246px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-button-line-height","",a.lineHeight,"1.15"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",a.textTransform,"uppercase")},kt=w.css`
2
2
  .ft-typography--title {
3
3
  font-family: ${j.fontFamily};
4
4
  font-size: ${j.fontSize};
@@ -9,15 +9,6 @@
9
9
  }
10
10
  `,Lt=w.css`
11
11
  .ft-typography--title-dense {
12
- font-family: ${Z.fontFamily};
13
- font-size: ${Z.fontSize};
14
- font-weight: ${Z.fontWeight};
15
- letter-spacing: ${Z.letterSpacing};
16
- line-height: ${Z.lineHeight};
17
- text-transform: ${Z.textTransform};
18
- }
19
- `,Wt=w.css`
20
- .ft-typography--subtitle1 {
21
12
  font-family: ${U.fontFamily};
22
13
  font-size: ${U.fontSize};
23
14
  font-weight: ${U.fontWeight};
@@ -25,6 +16,15 @@
25
16
  line-height: ${U.lineHeight};
26
17
  text-transform: ${U.textTransform};
27
18
  }
19
+ `,Wt=w.css`
20
+ .ft-typography--subtitle1 {
21
+ font-family: ${Z.fontFamily};
22
+ font-size: ${Z.fontSize};
23
+ font-weight: ${Z.fontWeight};
24
+ letter-spacing: ${Z.letterSpacing};
25
+ line-height: ${Z.lineHeight};
26
+ text-transform: ${Z.textTransform};
27
+ }
28
28
  `,Pt=w.css`
29
29
  .ft-typography--subtitle2 {
30
30
  font-family: ${X.fontFamily};
@@ -89,11 +89,11 @@
89
89
  line-height: ${K.lineHeight};
90
90
  text-transform: ${K.textTransform};
91
91
  }
92
- `,Zt=w.css`
92
+ `,Ut=w.css`
93
93
  .ft-typography {
94
94
  vertical-align: inherit;
95
95
  }
96
- `;var Ut=y(L()),m=y(F());var d={fontSize:m.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:m.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:m.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:m.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:m.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:m.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:m.FtCssVariableFactory.extend("--ft-input-label-border-color","",m.designSystemVariables.colorOutline),textColor:m.FtCssVariableFactory.extend("--ft-input-label-text-color","",m.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:m.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",m.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:m.FtCssVariableFactory.extend("--ft-input-label-background-color","",m.designSystemVariables.colorSurface),borderRadius:m.FtCssVariableFactory.extend("--ft-input-label-border-radius","",m.designSystemVariables.borderRadiusS),colorError:m.FtCssVariableFactory.external(m.designSystemVariables.colorError,"Design system")},Xt=Ut.css`
96
+ `;var Zt=y(L()),m=y(F());var d={fontSize:m.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:m.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:m.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:m.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:m.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:m.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:m.FtCssVariableFactory.extend("--ft-input-label-border-color","",m.designSystemVariables.colorOutline),textColor:m.FtCssVariableFactory.extend("--ft-input-label-text-color","",m.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:m.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",m.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:m.FtCssVariableFactory.extend("--ft-input-label-background-color","",m.designSystemVariables.colorSurface),borderRadius:m.FtCssVariableFactory.extend("--ft-input-label-border-radius","",m.designSystemVariables.borderRadiusS),colorError:m.FtCssVariableFactory.external(m.designSystemVariables.colorError,"Design system")},Xt=Zt.css`
97
97
  .ft-input-label {
98
98
  position: absolute;
99
99
  inset: 0;
@@ -441,9 +441,9 @@
441
441
  <div class="ft-ripple--background"></div>
442
442
  <div class="ft-ripple--effect"></div>
443
443
  </div>
444
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(e=this.target)===null||e===void 0||e.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 t,e;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((e=this.target)!==null&&e!==void 0?e:i)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let e=(...f)=>p=>{f.forEach(c=>window.addEventListener(c,this.endPress,{once:!0})),this.startPress(p)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=f=>{["Enter"," "].includes(f.key)&&e("keyup")(f)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",i,s),t.addEventListener("touchstart",o,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",n,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",i,s),t.removeEventListener("touchstart",o,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",n,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let e=t,i=t,o,n;return e.x!=null?{x:o,y:n}=e:i.touches!=null&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};b.elementDefinitions={};b.styles=te;A([(0,S.property)({type:Boolean})],b.prototype,"primary",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"secondary",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"unbounded",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"activated",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"selected",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"disabled",void 0);A([(0,S.state)()],b.prototype,"hovered",void 0);A([(0,S.state)()],b.prototype,"focused",void 0);A([(0,S.state)()],b.prototype,"pressed",void 0);A([(0,S.state)()],b.prototype,"rippling",void 0);A([(0,S.state)()],b.prototype,"originX",void 0);A([(0,S.state)()],b.prototype,"originY",void 0);A([(0,S.query)(".ft-ripple")],b.prototype,"ripple",void 0);A([(0,S.query)(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0);var ue=y(F());var ce={"ft-ripple":b};(0,ue.customElements)(ce);var Ft=globalThis,ht=Ft.trustedTypes,ye=ht?ht.createPolicy("lit-html",{createHTML:r=>r}):void 0,ve="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,Se="?"+W,Ie=`<${Se}>`,M=document,ct=()=>M.createComment(""),rt=r=>r===null||typeof r!="object"&&typeof r!="function",Ct=Array.isArray,je=r=>Ct(r)||typeof r?.[Symbol.iterator]=="function",xt=`[
445
- \f\r]`,ot=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,me=/-->/g,ge=/>/g,V=RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^
446
- \f\r"'\`<>=]|("|')|))|$)`,"g"),be=/'/g,xe=/"/g,_e=/^(?:script|style|textarea|title)$/i,wt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),Ae=wt(1),Fe=wt(2),Ce=wt(3),nt=Symbol.for("lit-noChange"),v=Symbol.for("lit-nothing"),$e=new WeakMap,N=M.createTreeWalker(M,129);function we(r,t){if(!Ct(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ye!==void 0?ye.createHTML(t):t}var Ze=(r,t)=>{let e=r.length-1,i=[],o,n=t===2?"<svg>":t===3?"<math>":"",s=ot;for(let f=0;f<e;f++){let p=r[f],c,$,u=-1,R=0;for(;R<p.length&&(s.lastIndex=R,$=s.exec(p),$!==null);)R=s.lastIndex,s===ot?$[1]==="!--"?s=me:$[1]!==void 0?s=ge:$[2]!==void 0?(_e.test($[2])&&(o=RegExp("</"+$[2],"g")),s=V):$[3]!==void 0&&(s=V):s===V?$[0]===">"?(s=o??ot,u=-1):$[1]===void 0?u=-2:(u=s.lastIndex-$[2].length,c=$[1],s=$[3]===void 0?V:$[3]==='"'?xe:be):s===xe||s===be?s=V:s===me||s===ge?s=ot:(s=V,o=void 0);let k=s===V&&r[f+1].startsWith("/>")?" ":"";n+=s===ot?p+Ie:u>=0?(i.push(c),p.slice(0,u)+ve+p.slice(u)+W+k):p+W+(u===-2?f:k)}return[we(r,n+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},st=class r{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0,f=t.length-1,p=this.parts,[c,$]=Ze(t,e);if(this.el=r.createElement(c,i),N.currentNode=this.el.content,e===2||e===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(o=N.nextNode())!==null&&p.length<f;){if(o.nodeType===1){if(o.hasAttributes())for(let u of o.getAttributeNames())if(u.endsWith(ve)){let R=$[s++],k=o.getAttribute(u).split(W),lt=/([.?@])?(.*)/.exec(R);p.push({type:1,index:n,name:lt[2],strings:k,ctor:lt[1]==="."?vt:lt[1]==="?"?St:lt[1]==="@"?_t:tt}),o.removeAttribute(u)}else u.startsWith(W)&&(p.push({type:6,index:n}),o.removeAttribute(u));if(_e.test(o.tagName)){let u=o.textContent.split(W),R=u.length-1;if(R>0){o.textContent=ht?ht.emptyScript:"";for(let k=0;k<R;k++)o.append(u[k],ct()),N.nextNode(),p.push({type:2,index:++n});o.append(u[R],ct())}}}else if(o.nodeType===8)if(o.data===Se)p.push({type:2,index:n});else{let u=-1;for(;(u=o.data.indexOf(W,u+1))!==-1;)p.push({type:7,index:n}),u+=W.length-1}n++}}static createElement(t,e){let i=M.createElement("template");return i.innerHTML=t,i}};function Q(r,t,e=r,i){if(t===nt)return t;let o=i!==void 0?e._$Co?.[i]:e._$Cl,n=rt(t)?void 0:t._$litDirective$;return o?.constructor!==n&&(o?._$AO?.(!1),n===void 0?o=void 0:(o=new n(r),o._$AT(r,e,i)),i!==void 0?(e._$Co??=[])[i]=o:e._$Cl=o),o!==void 0&&(t=Q(r,o._$AS(r,t.values),o,i)),t}var $t=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??M).importNode(e,!0);N.currentNode=o;let n=N.nextNode(),s=0,f=0,p=i[0];for(;p!==void 0;){if(s===p.index){let c;p.type===2?c=new ut(n,n.nextSibling,this,t):p.type===1?c=new p.ctor(n,p.name,p.strings,this,t):p.type===6&&(c=new At(n,this,t)),this._$AV.push(c),p=i[++f]}s!==p?.index&&(n=N.nextNode(),s++)}return N.currentNode=M,o}p(t){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},ut=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=v,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Q(this,t,e),rt(t)?t===v||t==null||t===""?(this._$AH!==v&&this._$AR(),this._$AH=v):t!==this._$AH&&t!==nt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):je(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==v&&rt(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:i}=t,o=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=st.createElement(we(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{let n=new $t(o,this),s=n.u(this.options);n.p(e),this.T(s),this._$AH=n}}_$AC(t){let e=$e.get(t.strings);return e===void 0&&$e.set(t.strings,e=new st(t)),e}k(t){Ct(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,o=0;for(let n of t)o===e.length?e.push(i=new r(this.O(ct()),this.O(ct()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},tt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,n){this.type=1,this._$AH=v,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=v}_$AI(t,e=this,i,o){let n=this.strings,s=!1;if(n===void 0)t=Q(this,t,e,0),s=!rt(t)||t!==this._$AH&&t!==nt,s&&(this._$AH=t);else{let f=t,p,c;for(t=n[0],p=0;p<n.length-1;p++)c=Q(this,f[i+p],e,p),c===nt&&(c=this._$AH[p]),s||=!rt(c)||c!==this._$AH[p],c===v?t=v:t!==v&&(t+=(c??"")+n[p+1]),this._$AH[p]=c}s&&!o&&this.j(t)}j(t){t===v?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vt=class extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===v?void 0:t}},St=class extends tt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==v)}},_t=class extends tt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){if((t=Q(this,t,e,0)??v)===nt)return;let i=this._$AH,o=t===v&&i!==v||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==v&&(i===v||o);o&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},At=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}};var Ue=Ft.litHtmlPolyfillSupport;Ue?.(st,ut),(Ft.litHtmlVersions??=[]).push("3.3.0");var ze=Symbol.for(""),Xe=r=>{if(r?.r===ze)return r?._$litStatic$},Tt=r=>({_$litStatic$:r,r:ze});var Te=new Map,zt=r=>(t,...e)=>{let i=e.length,o,n,s=[],f=[],p,c=0,$=!1;for(;c<i;){for(p=t[c];c<i&&(n=e[c],(o=Xe(n))!==void 0);)p+=o+t[++c],$=!0;c!==i&&f.push(n),s.push(p),c++}if(c===i&&s.push(t[i]),$){let u=s.join("$$lit$$");(t=Te.get(u))===void 0&&(s.raw=s,Te.set(u,t=s)),e=f}return r(t,...e)},Ht=zt(Ae),ki=zt(Fe),Li=zt(Ce);var Et=y(J()),Ee=y(F());var yt;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(yt||(yt={}));var He=function(r,t,e,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(r,t,e,i);else for(var f=r.length-1;f>=0;f--)(s=r[f])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},D=class extends Ee.FtLitElement{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?Ht`
444
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(e=this.target)===null||e===void 0||e.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 t,e;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((e=this.target)!==null&&e!==void 0?e:i)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let e=(...f)=>p=>{f.forEach(c=>window.addEventListener(c,this.endPress,{once:!0})),this.startPress(p)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=f=>{["Enter"," "].includes(f.key)&&e("keyup")(f)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",i,s),t.addEventListener("touchstart",o,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",n,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",i,s),t.removeEventListener("touchstart",o,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",n,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let e=t,i=t,o,n;return e.x!=null?{x:o,y:n}=e:i.touches!=null&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};b.elementDefinitions={};b.styles=te;A([(0,S.property)({type:Boolean})],b.prototype,"primary",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"secondary",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"unbounded",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"activated",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"selected",void 0);A([(0,S.property)({type:Boolean})],b.prototype,"disabled",void 0);A([(0,S.state)()],b.prototype,"hovered",void 0);A([(0,S.state)()],b.prototype,"focused",void 0);A([(0,S.state)()],b.prototype,"pressed",void 0);A([(0,S.state)()],b.prototype,"rippling",void 0);A([(0,S.state)()],b.prototype,"originX",void 0);A([(0,S.state)()],b.prototype,"originY",void 0);A([(0,S.query)(".ft-ripple")],b.prototype,"ripple",void 0);A([(0,S.query)(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0);var ue=y(F());var ce={"ft-ripple":b};(0,ue.customElements)(ce);var Ft=globalThis,ye=r=>r,ht=Ft.trustedTypes,me=ht?ht.createPolicy("lit-html",{createHTML:r=>r}):void 0,Se="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,_e="?"+W,je=`<${_e}>`,M=document,ct=()=>M.createComment(""),rt=r=>r===null||typeof r!="object"&&typeof r!="function",Ct=Array.isArray,Ue=r=>Ct(r)||typeof r?.[Symbol.iterator]=="function",xt=`[
445
+ \f\r]`,ot=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ge=/-->/g,be=/>/g,V=RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^
446
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),xe=/'/g,$e=/"/g,Ae=/^(?:script|style|textarea|title)$/i,wt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),Fe=wt(1),Ce=wt(2),we=wt(3),nt=Symbol.for("lit-noChange"),v=Symbol.for("lit-nothing"),ve=new WeakMap,N=M.createTreeWalker(M,129);function Te(r,t){if(!Ct(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return me!==void 0?me.createHTML(t):t}var Ze=(r,t)=>{let e=r.length-1,i=[],o,n=t===2?"<svg>":t===3?"<math>":"",s=ot;for(let f=0;f<e;f++){let p=r[f],c,$,u=-1,R=0;for(;R<p.length&&(s.lastIndex=R,$=s.exec(p),$!==null);)R=s.lastIndex,s===ot?$[1]==="!--"?s=ge:$[1]!==void 0?s=be:$[2]!==void 0?(Ae.test($[2])&&(o=RegExp("</"+$[2],"g")),s=V):$[3]!==void 0&&(s=V):s===V?$[0]===">"?(s=o??ot,u=-1):$[1]===void 0?u=-2:(u=s.lastIndex-$[2].length,c=$[1],s=$[3]===void 0?V:$[3]==='"'?$e:xe):s===$e||s===xe?s=V:s===ge||s===be?s=ot:(s=V,o=void 0);let k=s===V&&r[f+1].startsWith("/>")?" ":"";n+=s===ot?p+je:u>=0?(i.push(c),p.slice(0,u)+Se+p.slice(u)+W+k):p+W+(u===-2?f:k)}return[Te(r,n+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]},st=class r{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0,f=t.length-1,p=this.parts,[c,$]=Ze(t,e);if(this.el=r.createElement(c,i),N.currentNode=this.el.content,e===2||e===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(o=N.nextNode())!==null&&p.length<f;){if(o.nodeType===1){if(o.hasAttributes())for(let u of o.getAttributeNames())if(u.endsWith(Se)){let R=$[s++],k=o.getAttribute(u).split(W),lt=/([.?@])?(.*)/.exec(R);p.push({type:1,index:n,name:lt[2],strings:k,ctor:lt[1]==="."?vt:lt[1]==="?"?St:lt[1]==="@"?_t:tt}),o.removeAttribute(u)}else u.startsWith(W)&&(p.push({type:6,index:n}),o.removeAttribute(u));if(Ae.test(o.tagName)){let u=o.textContent.split(W),R=u.length-1;if(R>0){o.textContent=ht?ht.emptyScript:"";for(let k=0;k<R;k++)o.append(u[k],ct()),N.nextNode(),p.push({type:2,index:++n});o.append(u[R],ct())}}}else if(o.nodeType===8)if(o.data===_e)p.push({type:2,index:n});else{let u=-1;for(;(u=o.data.indexOf(W,u+1))!==-1;)p.push({type:7,index:n}),u+=W.length-1}n++}}static createElement(t,e){let i=M.createElement("template");return i.innerHTML=t,i}};function Q(r,t,e=r,i){if(t===nt)return t;let o=i!==void 0?e._$Co?.[i]:e._$Cl,n=rt(t)?void 0:t._$litDirective$;return o?.constructor!==n&&(o?._$AO?.(!1),n===void 0?o=void 0:(o=new n(r),o._$AT(r,e,i)),i!==void 0?(e._$Co??=[])[i]=o:e._$Cl=o),o!==void 0&&(t=Q(r,o._$AS(r,t.values),o,i)),t}var $t=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??M).importNode(e,!0);N.currentNode=o;let n=N.nextNode(),s=0,f=0,p=i[0];for(;p!==void 0;){if(s===p.index){let c;p.type===2?c=new ut(n,n.nextSibling,this,t):p.type===1?c=new p.ctor(n,p.name,p.strings,this,t):p.type===6&&(c=new At(n,this,t)),this._$AV.push(c),p=i[++f]}s!==p?.index&&(n=N.nextNode(),s++)}return N.currentNode=M,o}p(t){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},ut=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=v,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Q(this,t,e),rt(t)?t===v||t==null||t===""?(this._$AH!==v&&this._$AR(),this._$AH=v):t!==this._$AH&&t!==nt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ue(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==v&&rt(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:i}=t,o=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=st.createElement(Te(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{let n=new $t(o,this),s=n.u(this.options);n.p(e),this.T(s),this._$AH=n}}_$AC(t){let e=ve.get(t.strings);return e===void 0&&ve.set(t.strings,e=new st(t)),e}k(t){Ct(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,o=0;for(let n of t)o===e.length?e.push(i=new r(this.O(ct()),this.O(ct()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let i=ye(t).nextSibling;ye(t).remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},tt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,n){this.type=1,this._$AH=v,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=v}_$AI(t,e=this,i,o){let n=this.strings,s=!1;if(n===void 0)t=Q(this,t,e,0),s=!rt(t)||t!==this._$AH&&t!==nt,s&&(this._$AH=t);else{let f=t,p,c;for(t=n[0],p=0;p<n.length-1;p++)c=Q(this,f[i+p],e,p),c===nt&&(c=this._$AH[p]),s||=!rt(c)||c!==this._$AH[p],c===v?t=v:t!==v&&(t+=(c??"")+n[p+1]),this._$AH[p]=c}s&&!o&&this.j(t)}j(t){t===v?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vt=class extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===v?void 0:t}},St=class extends tt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==v)}},_t=class extends tt{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){if((t=Q(this,t,e,0)??v)===nt)return;let i=this._$AH,o=t===v&&i!==v||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==v&&(i===v||o);o&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},At=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}};var Xe=Ft.litHtmlPolyfillSupport;Xe?.(st,ut),(Ft.litHtmlVersions??=[]).push("3.3.3");var He=Symbol.for(""),Ye=r=>{if(r?.r===He)return r?._$litStatic$},Tt=r=>({_$litStatic$:r,r:He});var ze=new Map,zt=r=>(t,...e)=>{let i=e.length,o,n,s=[],f=[],p,c=0,$=!1;for(;c<i;){for(p=t[c];c<i&&(n=e[c],(o=Ye(n))!==void 0);)p+=o+t[++c],$=!0;c!==i&&f.push(n),s.push(p),c++}if(c===i&&s.push(t[i]),$){let u=s.join("$$lit$$");(t=ze.get(u))===void 0&&(s.raw=s,ze.set(u,t=s)),e=f}return r(t,...e)},Ht=zt(Fe),Li=zt(Ce),Wi=zt(we);var Et=y(J()),Re=y(F());var yt;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(yt||(yt={}));var Ee=function(r,t,e,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(r,t,e,i);else for(var f=r.length-1;f>=0;f--)(s=r[f])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},B=class extends Re.FtLitElement{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?Ht`
447
447
  <${Tt(this.element)}
448
448
  part="text"
449
449
  class="ft-typography ft-typography--${this.variant}">
@@ -451,7 +451,7 @@
451
451
  </${Tt(this.element)}>
452
452
  `:Ht`
453
453
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
454
- `}};D.styles=[kt,Lt,Wt,Pt,Vt,Nt,pt,Mt,It,jt,Zt];He([(0,Et.property)()],D.prototype,"element",void 0);He([(0,Et.property)()],D.prototype,"variant",void 0);var Oe=y(F());var Re={"ft-typography":D};(0,Oe.customElements)(Re);var z=function(r,t,e,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(r,t,e,i);else for(var f=r.length-1;f>=0;f--)(s=r[f])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},_=class extends et.FtLitElement{constructor(){super(...arguments),this.integer=!1,this.helper="",this.outlined=!1,this.disabled=!1,this.focused=!1}render(){var t;let e={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":this.value!=null,"ft-number-field--with-label":!!this.label};return I.html`
454
+ `}};B.styles=[kt,Lt,Wt,Pt,Vt,Nt,pt,Mt,It,jt,Ut];Ee([(0,Et.property)()],B.prototype,"element",void 0);Ee([(0,Et.property)()],B.prototype,"variant",void 0);var De=y(F());var Oe={"ft-typography":B};(0,De.customElements)(Oe);var z=function(r,t,e,i){var o=arguments.length,n=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,e):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(r,t,e,i);else for(var f=r.length-1;f>=0;f--)(s=r[f])&&(n=(o<3?s(n):o>3?s(t,e,n):s(t,e))||n);return o>3&&n&&Object.defineProperty(t,e,n),n},_=class extends et.FtLitElement{constructor(){super(...arguments),this.integer=!1,this.helper="",this.outlined=!1,this.disabled=!1,this.focused=!1}render(){var t;let e={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":this.value!=null,"ft-number-field--with-label":!!this.label};return I.html`
455
455
  <div class="${(0,Be.classMap)(e)}">
456
456
  <div class="ft-number-field--main-panel"
457
457
  @focusout=${this.onMainPanelBlur}>
@@ -482,7 +482,7 @@
482
482
  ${this.helper}
483
483
  </ft-typography>`:I.nothing}
484
484
  </div>
485
- `}update(t){super.update(t),(t.has("max")||t.has("min"))&&this.setValue(this.value)}lowerBound(t){return this.min!=null?Math.max(this.min,t):t}upperBound(t){return this.max!=null?Math.min(this.max,t):t}round(t){return this.integer?Math.floor(t):t}onChange(t){t.preventDefault(),t.stopPropagation(),this.setValue(+t.target.value)}setValue(t){let e=this.value;this.value=t;let i=this.value==null?void 0:this.round(this.lowerBound(this.upperBound(this.value)));setTimeout(()=>{this.value=i,e!==i&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))})}onFocus(){this.focused=!0}onMainPanelBlur(){var t;!((t=this.mainPanel)===null||t===void 0)&&t.matches(":focus-within")||(this.focused=!1)}};_.elementDefinitions={"ft-input-label":T,"ft-ripple":b,"ft-typography":D};_.styles=ie;z([(0,H.property)()],_.prototype,"label",void 0);z([(0,et.numberProperty)()],_.prototype,"value",void 0);z([(0,H.property)({type:Boolean})],_.prototype,"integer",void 0);z([(0,H.property)({type:String})],_.prototype,"helper",void 0);z([(0,H.property)({type:Boolean})],_.prototype,"outlined",void 0);z([(0,H.property)({type:Boolean})],_.prototype,"disabled",void 0);z([(0,et.numberProperty)()],_.prototype,"min",void 0);z([(0,et.numberProperty)()],_.prototype,"max",void 0);z([(0,H.state)()],_.prototype,"focused",void 0);z([(0,H.query)(".ft-number-field--input")],_.prototype,"input",void 0);z([(0,H.query)(".ft-number-field--main-panel")],_.prototype,"mainPanel",void 0);var De={"ft-number-field":_};(0,ke.customElements)(De);})();
485
+ `}update(t){super.update(t),(t.has("max")||t.has("min"))&&this.setValue(this.value)}lowerBound(t){return this.min!=null?Math.max(this.min,t):t}upperBound(t){return this.max!=null?Math.min(this.max,t):t}round(t){return this.integer?Math.floor(t):t}onChange(t){t.preventDefault(),t.stopPropagation(),this.setValue(+t.target.value)}setValue(t){let e=this.value;this.value=t;let i=this.value==null?void 0:this.round(this.lowerBound(this.upperBound(this.value)));setTimeout(()=>{this.value=i,e!==i&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))})}onFocus(){this.focused=!0}onMainPanelBlur(){var t;!((t=this.mainPanel)===null||t===void 0)&&t.matches(":focus-within")||(this.focused=!1)}};_.elementDefinitions={"ft-input-label":T,"ft-ripple":b,"ft-typography":B};_.styles=ie;z([(0,H.property)()],_.prototype,"label",void 0);z([(0,et.numberProperty)()],_.prototype,"value",void 0);z([(0,H.property)({type:Boolean})],_.prototype,"integer",void 0);z([(0,H.property)({type:String})],_.prototype,"helper",void 0);z([(0,H.property)({type:Boolean})],_.prototype,"outlined",void 0);z([(0,H.property)({type:Boolean})],_.prototype,"disabled",void 0);z([(0,et.numberProperty)()],_.prototype,"min",void 0);z([(0,et.numberProperty)()],_.prototype,"max",void 0);z([(0,H.state)()],_.prototype,"focused",void 0);z([(0,H.query)(".ft-number-field--input")],_.prototype,"input",void 0);z([(0,H.query)(".ft-number-field--main-panel")],_.prototype,"mainPanel",void 0);var ke={"ft-number-field":_};(0,Le.customElements)(ke);})();
486
486
  /*! Bundled license information:
487
487
 
488
488
  lit-html/directives/when.js: