@descope/web-components-ui 1.0.310 → 1.0.312

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. package/dist/cjs/index.cjs.js +1302 -906
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.esm.js +1308 -911
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/umd/1224.js +1 -1
  7. package/dist/umd/1438.js +11 -11
  8. package/dist/umd/1612.js +4 -4
  9. package/dist/umd/1621.js +8 -8
  10. package/dist/umd/2362.js +2 -2
  11. package/dist/umd/3830.js +1 -1
  12. package/dist/umd/3951.js +4 -4
  13. package/dist/umd/4024.js +4 -4
  14. package/dist/umd/4028.js +6 -6
  15. package/dist/umd/4052.js +4 -4
  16. package/dist/umd/4392.js +1 -1
  17. package/dist/umd/4569.js +1 -1
  18. package/dist/umd/4746.js +2 -2
  19. package/dist/umd/4978.js +1 -1
  20. package/dist/umd/5135.js +4 -4
  21. package/dist/umd/5517.js +1 -1
  22. package/dist/umd/5806.js +2 -2
  23. package/dist/umd/5910.js +1 -1
  24. package/dist/umd/63.js +7 -7
  25. package/dist/umd/637.js +1 -0
  26. package/dist/umd/6594.js +1 -1
  27. package/dist/umd/6770.js +2 -2
  28. package/dist/umd/7056.js +9 -9
  29. package/dist/umd/7164.js +7 -7
  30. package/dist/umd/7531.js +4 -4
  31. package/dist/umd/7911.js +4 -4
  32. package/dist/umd/8191.js +4 -4
  33. package/dist/umd/8866.js +5 -5
  34. package/dist/umd/9092.js +12 -12
  35. package/dist/umd/9314.js +5 -5
  36. package/dist/umd/9423.js +12 -12
  37. package/dist/umd/9562.js +4 -4
  38. package/dist/umd/DescopeDev.js +1 -1
  39. package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -1
  40. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
  41. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
  42. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
  43. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -1
  44. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
  45. package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -1
  46. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
  47. package/dist/umd/descope-avatar-index-js.js +1 -1
  48. package/dist/umd/descope-badge-index-js.js +1 -1
  49. package/dist/umd/descope-button-index-js.js +4 -4
  50. package/dist/umd/descope-code-snippet-index-js.js +1 -0
  51. package/dist/umd/descope-combo-box-index-js.js +5 -5
  52. package/dist/umd/descope-container-index-js.js +1 -1
  53. package/dist/umd/descope-date-picker-index-js.js +1 -1
  54. package/dist/umd/descope-divider-index-js.js +1 -1
  55. package/dist/umd/descope-email-field-index-js.js +4 -4
  56. package/dist/umd/descope-enriched-text-index-js.js +1 -1
  57. package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +3 -3
  58. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
  59. package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +3 -3
  60. package/dist/umd/descope-grid-index-js.js +1 -1
  61. package/dist/umd/descope-icon-index-js.js +1 -1
  62. package/dist/umd/descope-image-index-js.js +1 -1
  63. package/dist/umd/descope-link-index-js.js +1 -1
  64. package/dist/umd/descope-loader-linear-index-js.js +1 -1
  65. package/dist/umd/descope-loader-radial-index-js.js +1 -1
  66. package/dist/umd/descope-logo-index-js.js +1 -1
  67. package/dist/umd/descope-modal-index-js.js +1 -1
  68. package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
  69. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
  70. package/dist/umd/descope-new-password-index-js.js +1 -1
  71. package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -1
  72. package/dist/umd/descope-notification-index-js.js +1 -1
  73. package/dist/umd/descope-notp-image-index-js.js +1 -1
  74. package/dist/umd/descope-number-field-index-js.js +1 -1
  75. package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
  76. package/dist/umd/descope-passcode-index-js.js +2 -2
  77. package/dist/umd/descope-password-index-js.js +1 -1
  78. package/dist/umd/descope-policy-validation-index-js.js +1 -1
  79. package/dist/umd/descope-recaptcha-index-js.js +1 -1
  80. package/dist/umd/descope-text-area-index-js.js +1 -1
  81. package/dist/umd/descope-text-field-index-js.js +2 -2
  82. package/dist/umd/descope-text-index-js.js +1 -1
  83. package/dist/umd/descope-totp-image-index-js.js +1 -1
  84. package/dist/umd/descope-upload-file-index-js.js +1 -1
  85. package/dist/umd/descope-user-attribute-index-js.js +1 -1
  86. package/dist/umd/descope-user-auth-method-index-js.js +1 -1
  87. package/dist/umd/index.js +1 -1
  88. package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -1
  89. package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -1
  90. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  91. package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -1
  92. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
  93. package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
  94. package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
  95. package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +2 -2
  96. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
  97. package/package.json +2 -1
  98. package/src/components/descope-avatar/AvatarClass.js +2 -0
  99. package/src/components/descope-code-snippet/CodeSnippetClass.js +238 -0
  100. package/src/components/descope-code-snippet/helpers.js +9 -0
  101. package/src/components/descope-code-snippet/index.js +5 -0
  102. package/src/darkTheme.js +4 -0
  103. package/src/index.cjs.js +1 -0
  104. package/src/index.d.ts +1 -0
  105. package/src/index.js +1 -0
  106. package/src/theme/components/codeSnippet.js +145 -0
  107. package/src/theme/components/index.js +2 -0
package/dist/umd/6770.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see 6770.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[6770],{9680:(t,e,i)=>{i.d(e,{F:()=>r});var a=i(1014);const n=new ResizeObserver((t=>{setTimeout((()=>{t.forEach((t=>{t.target.resizables?t.target.resizables.forEach((e=>{e._onResize(t.contentRect)})):t.target._onResize(t.contentRect)}))}))})),r=(0,a.o)((t=>class extends t{get _observeParent(){return!1}connectedCallback(){if(super.connectedCallback(),n.observe(this),this._observeParent){const t=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;t.resizables||(t.resizables=new Set,n.observe(t)),t.resizables.add(this),this.__parent=t}}disconnectedCallback(){super.disconnectedCallback(),n.unobserve(this);const t=this.__parent;if(this._observeParent&&t){const e=t.resizables;e&&(e.delete(this),0===e.size&&n.unobserve(t)),this.__parent=null}}_onResize(t){}}))},422:(t,e,i)=>{i.d(e,{j:()=>n});var a=i(3406);const n=t=>class extends((0,a.L)(t)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(t){this.__dataValue=t}_inputElementChanged(t){super._inputElementChanged(t),t&&(t.value&&t.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),t.value=""),this.value&&(t.value=this.value))}_setFocused(t){super._setFocused(t),!t&&document.hasFocus()&&this.validate()}_onInput(t){super._onInput(t),this.invalid&&this.validate()}_valueChanged(t,e){super._valueChanged(t,e),void 0!==e&&this.invalid&&this.validate()}}},6770:(t,e,i)=>{i(1578),i(1195),i(9098),i(4173);var a=i(7205),n=i(6570);const r=n.iv`
2
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[6770],{29680:(t,e,i)=>{i.d(e,{F:()=>r});var a=i(91014);const n=new ResizeObserver((t=>{setTimeout((()=>{t.forEach((t=>{t.target.resizables?t.target.resizables.forEach((e=>{e._onResize(t.contentRect)})):t.target._onResize(t.contentRect)}))}))})),r=(0,a.o)((t=>class extends t{get _observeParent(){return!1}connectedCallback(){if(super.connectedCallback(),n.observe(this),this._observeParent){const t=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;t.resizables||(t.resizables=new Set,n.observe(t)),t.resizables.add(this),this.__parent=t}}disconnectedCallback(){super.disconnectedCallback(),n.unobserve(this);const t=this.__parent;if(this._observeParent&&t){const e=t.resizables;e&&(e.delete(this),0===e.size&&n.unobserve(t)),this.__parent=null}}_onResize(t){}}))},20422:(t,e,i)=>{i.d(e,{j:()=>n});var a=i(73406);const n=t=>class extends((0,a.L)(t)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(t){this.__dataValue=t}_inputElementChanged(t){super._inputElementChanged(t),t&&(t.value&&t.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),t.value=""),this.value&&(t.value=this.value))}_setFocused(t){super._setFocused(t),!t&&document.hasFocus()&&this.validate()}_onInput(t){super._onInput(t),this.invalid&&this.validate()}_valueChanged(t,e){super._valueChanged(t,e),void 0!==e&&this.invalid&&this.validate()}}},46770:(t,e,i)=>{i(21578),i(51195),i(79098),i(34173);var a=i(83208),n=i(46570);const r=n.iv`
3
3
  [part='input-field'],
4
4
  [part='input-field'] ::slotted(textarea) {
5
5
  height: auto;
@@ -49,7 +49,7 @@
49
49
  [part='input-field'] ::slotted(vaadin-icon) {
50
50
  margin-top: calc((var(--lumo-icon-size-m) - 1em * var(--lumo-line-height-s)) / -2);
51
51
  }
52
- `;(0,n.hC)("vaadin-text-area",[a.J,r],{moduleId:"lumo-text-area"}),i(3553);var o=i(4241),s=i(2807),l=i(2521),d=i(4463),p=i(2743),u=i(9680),h=i(422),c=i(6729),v=i(9229);class m extends v.n{constructor(t,e){super(t,"textarea","textarea",{initializer:(t,i)=>{const a=i.getAttribute("value");a&&(t.value=a);const n=i.getAttribute("name");n&&t.setAttribute("name",n),t.id=this.defaultId,"function"==typeof e&&e(t)},useUniqueId:!0})}}const g=t=>class extends((0,u.F)((0,h.j)(t))){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}get clearElement(){return this.$.clearButton}_onResize(){this._updateHeight(),this.__scrollPositionUpdated()}_onScroll(){this.__scrollPositionUpdated()}ready(){super.ready(),this.addController(new m(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new c.v(this.inputElement,this._labelController)),this.addEventListener("animationend",this._onAnimationEnd),this._inputField=this.shadowRoot.querySelector("[part=input-field]"),this._inputField.addEventListener("wheel",(t=>{const e=this._inputField.scrollTop;this._inputField.scrollTop+=t.deltaY,e!==this._inputField.scrollTop&&(t.preventDefault(),this.__scrollPositionUpdated())})),this._updateHeight(),this.__scrollPositionUpdated()}__scrollPositionUpdated(){this._inputField.style.setProperty("--_text-area-vertical-scroll-position","0px"),this._inputField.style.setProperty("--_text-area-vertical-scroll-position",`${this._inputField.scrollTop}px`)}_onAnimationEnd(t){0===t.animationName.indexOf("vaadin-text-area-appear")&&this._updateHeight()}_valueChanged(t,e){super._valueChanged(t,e),this._updateHeight()}_updateHeight(){const t=this.inputElement,e=this._inputField;if(!t||!e)return;const i=e.scrollTop,a=this.value?this.value.length:0;if(this._oldValueLength>=a){const i=getComputedStyle(e).height,a=getComputedStyle(t).width;e.style.display="block",e.style.height=i,t.style.maxWidth=a,t.style.height="auto"}this._oldValueLength=a;const n=t.scrollHeight;n>t.clientHeight&&(t.style.height=`${n}px`),t.style.removeProperty("max-width"),e.style.removeProperty("display"),e.style.removeProperty("height"),e.scrollTop=i}checkValidity(){if(!super.checkValidity())return!1;if(!this.pattern||!this.inputElement.value)return!0;try{const t=this.inputElement.value.match(this.pattern);return!!t&&t[0]===t.input}catch(t){return!0}}},_=i(235).iv`
52
+ `;(0,n.hC)("vaadin-text-area",[a.J,r],{moduleId:"lumo-text-area"}),i(13553);var o=i(74241),s=i(52807),l=i(12521),d=i(34463),p=i(62743),u=i(29680),h=i(20422),c=i(46729),v=i(9229);class m extends v.n{constructor(t,e){super(t,"textarea","textarea",{initializer:(t,i)=>{const a=i.getAttribute("value");a&&(t.value=a);const n=i.getAttribute("name");n&&t.setAttribute("name",n),t.id=this.defaultId,"function"==typeof e&&e(t)},useUniqueId:!0})}}const g=t=>class extends((0,u.F)((0,h.j)(t))){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}get clearElement(){return this.$.clearButton}_onResize(){this._updateHeight(),this.__scrollPositionUpdated()}_onScroll(){this.__scrollPositionUpdated()}ready(){super.ready(),this.addController(new m(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new c.v(this.inputElement,this._labelController)),this.addEventListener("animationend",this._onAnimationEnd),this._inputField=this.shadowRoot.querySelector("[part=input-field]"),this._inputField.addEventListener("wheel",(t=>{const e=this._inputField.scrollTop;this._inputField.scrollTop+=t.deltaY,e!==this._inputField.scrollTop&&(t.preventDefault(),this.__scrollPositionUpdated())})),this._updateHeight(),this.__scrollPositionUpdated()}__scrollPositionUpdated(){this._inputField.style.setProperty("--_text-area-vertical-scroll-position","0px"),this._inputField.style.setProperty("--_text-area-vertical-scroll-position",`${this._inputField.scrollTop}px`)}_onAnimationEnd(t){0===t.animationName.indexOf("vaadin-text-area-appear")&&this._updateHeight()}_valueChanged(t,e){super._valueChanged(t,e),this._updateHeight()}_updateHeight(){const t=this.inputElement,e=this._inputField;if(!t||!e)return;const i=e.scrollTop,a=this.value?this.value.length:0;if(this._oldValueLength>=a){const i=getComputedStyle(e).height,a=getComputedStyle(t).width;e.style.display="block",e.style.height=i,t.style.maxWidth=a,t.style.height="auto"}this._oldValueLength=a;const n=t.scrollHeight;n>t.clientHeight&&(t.style.height=`${n}px`),t.style.removeProperty("max-width"),e.style.removeProperty("display"),e.style.removeProperty("height"),e.scrollTop=i}checkValidity(){if(!super.checkValidity())return!1;if(!this.pattern||!this.inputElement.value)return!0;try{const t=this.inputElement.value.match(this.pattern);return!!t&&t[0]===t.input}catch(t){return!0}}},_=i(9392).iv`
53
53
  :host {
54
54
  animation: 1ms vaadin-text-area-appear;
55
55
  }
package/dist/umd/7056.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see 7056.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[7056],{7078:(t,e,o)=>{o.d(e,{z:()=>v});var r=o(4241),a=o(6155),i=o(2807),n=o(2521),s=o(4463),l=o(6570);const d=o(235).iv`
2
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[7056],{17078:(t,e,o)=>{o.d(e,{z:()=>v});var r=o(74241),a=o(16155),i=o(52807),n=o(12521),s=o(34463),l=o(46570);const d=o(9392).iv`
3
3
  :host {
4
4
  display: inline-block;
5
5
  position: relative;
@@ -59,7 +59,7 @@
59
59
  outline-color: GrayText;
60
60
  }
61
61
  }
62
- `;var u=o(1224),h=o(1360),c=o(8298);const p=t=>class extends((0,u.D)((0,c.N)((0,h.W)(t)))){static get properties(){return{tabindex:{type:Number,value:0,reflectToAttribute:!0}}}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button")}_onKeyDown(t){super._onKeyDown(t),t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||this._activeKeys.includes(t.key)&&(t.preventDefault(),this.click())}};(0,l.hC)("vaadin-button",d,{moduleId:"vaadin-button-styles"});class v extends(p((0,n.S)((0,l.Tb)((0,a.k)(r.H3))))){static get is(){return"vaadin-button"}static get template(){return r.dy`
62
+ `;var u=o(61224),h=o(21360),c=o(58298);const p=t=>class extends((0,u.D)((0,c.N)((0,h.W)(t)))){static get properties(){return{tabindex:{type:Number,value:0,reflectToAttribute:!0}}}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button")}_onKeyDown(t){super._onKeyDown(t),t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||this._activeKeys.includes(t.key)&&(t.preventDefault(),this.click())}};(0,l.hC)("vaadin-button",d,{moduleId:"vaadin-button-styles"});class v extends(p((0,n.S)((0,l.Tb)((0,a.k)(r.H3))))){static get is(){return"vaadin-button"}static get template(){return r.dy`
63
63
  <div class="vaadin-button-container">
64
64
  <span part="prefix" aria-hidden="true">
65
65
  <slot name="prefix"></slot>
@@ -72,7 +72,7 @@
72
72
  </span>
73
73
  </div>
74
74
  <slot name="tooltip"></slot>
75
- `}ready(){super.ready(),this._tooltipController=new s.f(this),this.addController(this._tooltipController)}}(0,i.M)(v)},4750:(t,e,o)=>{o.d(e,{L:()=>a}),o(1195),o(9098),o(9416),o(9849),o(4173);var r=o(6570);const a=r.iv`
75
+ `}ready(){super.ready(),this._tooltipController=new s.f(this),this.addController(this._tooltipController)}}(0,i.M)(v)},74750:(t,e,o)=>{o.d(e,{L:()=>a}),o(51195),o(79098),o(29416),o(29849),o(34173);var r=o(46570);const a=r.iv`
76
76
  :host {
77
77
  /* Sizing */
78
78
  --lumo-button-size: var(--lumo-size-m);
@@ -335,7 +335,7 @@
335
335
  margin-left: 0;
336
336
  margin-right: 0;
337
337
  }
338
- `;(0,r.hC)("vaadin-button",a,{moduleId:"lumo-button"})},3208:(t,e,o)=>{o.d(e,{b:()=>a});var r=o(9229);class a extends r.n{constructor(t,e){super(t,"input","input",{initializer:(t,o)=>{o.value&&(t.value=o.value),o.type&&t.setAttribute("type",o.type),t.id=this.defaultId,"function"==typeof e&&e(t)},useUniqueId:!0})}}},422:(t,e,o)=>{o.d(e,{j:()=>a});var r=o(3406);const a=t=>class extends((0,r.L)(t)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(t){this.__dataValue=t}_inputElementChanged(t){super._inputElementChanged(t),t&&(t.value&&t.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),t.value=""),this.value&&(t.value=this.value))}_setFocused(t){super._setFocused(t),!t&&document.hasFocus()&&this.validate()}_onInput(t){super._onInput(t),this.invalid&&this.validate()}_valueChanged(t,e){super._valueChanged(t,e),void 0!==e&&this.invalid&&this.validate()}}},7056:(t,e,o)=>{o(8725);var r=o(4750),a=o(6570);const i=a.iv`
338
+ `;(0,r.hC)("vaadin-button",a,{moduleId:"lumo-button"})},73208:(t,e,o)=>{o.d(e,{b:()=>a});var r=o(9229);class a extends r.n{constructor(t,e){super(t,"input","input",{initializer:(t,o)=>{o.value&&(t.value=o.value),o.type&&t.setAttribute("type",o.type),t.id=this.defaultId,"function"==typeof e&&e(t)},useUniqueId:!0})}}},20422:(t,e,o)=>{o.d(e,{j:()=>a});var r=o(73406);const a=t=>class extends((0,r.L)(t)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(t){this.__dataValue=t}_inputElementChanged(t){super._inputElementChanged(t),t&&(t.value&&t.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),t.value=""),this.value&&(t.value=this.value))}_setFocused(t){super._setFocused(t),!t&&document.hasFocus()&&this.validate()}_onInput(t){super._onInput(t),this.invalid&&this.validate()}_valueChanged(t,e){super._valueChanged(t,e),void 0!==e&&this.invalid&&this.validate()}}},17056:(t,e,o)=>{o(58725);var r=o(74750),a=o(46570);const i=a.iv`
339
339
  :host {
340
340
  position: absolute;
341
341
  right: 0;
@@ -348,7 +348,7 @@
348
348
  background: transparent;
349
349
  outline: none;
350
350
  }
351
- `;(0,a.hC)("vaadin-password-field-button",[r.L,i],{moduleId:"lumo-password-field-button"}),o(1735),o(9098),o(9849);var n=o(7205);const s=a.iv`
351
+ `;(0,a.hC)("vaadin-password-field-button",[r.L,i],{moduleId:"lumo-password-field-button"}),o(41735),o(79098),o(29849);var n=o(83208);const s=a.iv`
352
352
  [part='reveal-button']::before {
353
353
  content: var(--lumo-icons-eye);
354
354
  }
@@ -366,7 +366,7 @@
366
366
  [part='reveal-button'][hidden] {
367
367
  display: none !important;
368
368
  }
369
- `;(0,a.hC)("vaadin-password-field",[n.J,s],{moduleId:"lumo-password-field"});var l=o(4241),d=o(7078),u=o(2807);class h extends d.z{static get is(){return"vaadin-password-field-button"}static get template(){return l.dy`
369
+ `;(0,a.hC)("vaadin-password-field",[n.J,s],{moduleId:"lumo-password-field"});var l=o(74241),d=o(17078),u=o(52807);class h extends d.z{static get is(){return"vaadin-password-field-button"}static get template(){return l.dy`
370
370
  <style>
371
371
  :host {
372
372
  display: block;
@@ -377,11 +377,11 @@
377
377
  }
378
378
  </style>
379
379
  <slot name="tooltip"></slot>
380
- `}}(0,u.M)(h);var c=o(1121),p=o(9229),v=o(8005);const m=c.d`
380
+ `}}(0,u.M)(h);var c=o(91121),p=o(9229),v=o(18005);const m=c.d`
381
381
  <div part="reveal-button" slot="suffix">
382
382
  <slot name="reveal"></slot>
383
383
  </div>
384
- `;let b;class g extends v.n{static get is(){return"vaadin-password-field"}static get template(){if(!b){b=super.template.cloneNode(!0);const t=m.content.querySelector('[part="reveal-button"]');b.content.querySelector('[part="input-field"]').appendChild(t)}return b}static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n.*)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){const t=this.localName;return[...super.slotStyles,`\n ${t} [slot="input"]::-ms-reveal {\n display: none;\n }\n `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new p.n(this,"reveal","vaadin-password-field-button",{initializer:t=>{t.disabled=this.disabled,t.addEventListener("click",this.__boundRevealButtonClick),t.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(t){super._onChange(t),this.__lastChange=this.inputElement.value}_shouldSetFocus(t){return t.target===this.inputElement||t.target===this._revealNode}_shouldRemoveFocus(t){return!(t.relatedTarget===this._revealNode||t.relatedTarget===this.inputElement&&t.target===this._revealNode)}_setFocused(t){if(super._setFocused(t),t){const t=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!t)}else this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})))}__updateAriaLabel(t){t.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",t.reveal)}__i18nChanged(t){this.__updateAriaLabel(t.base)}_revealButtonHiddenChanged(t){this._toggleRevealHidden(t)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(t){t.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(t){this._revealNode&&(t?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(t){this._revealNode&&this._revealNode.setAttribute("aria-pressed",t?"true":"false")}_passwordVisibleChanged(t){this._setType(t?"text":"password"),this._updateToggleState(t)}_disabledChanged(t,e){super._disabledChanged(t,e),this._revealNode&&(this._revealNode.disabled=t)}}(0,u.M)(g)},8005:(t,e,o)=>{o.d(e,{n:()=>p}),o(3553);var r=o(4241),a=o(2807),i=o(2521),n=o(4463),s=o(2743),l=o(6570),d=o(3208),u=o(422),h=o(6729);const c=t=>class extends((0,u.j)(t)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new d.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new h.v(this.inputElement,this._labelController))}};(0,l.hC)("vaadin-text-field",s.J,{moduleId:"vaadin-text-field-styles"});class p extends(c((0,l.Tb)((0,i.S)(r.H3)))){static get is(){return"vaadin-text-field"}static get template(){return r.dy`
384
+ `;let b;class g extends v.n{static get is(){return"vaadin-password-field"}static get template(){if(!b){b=super.template.cloneNode(!0);const t=m.content.querySelector('[part="reveal-button"]');b.content.querySelector('[part="input-field"]').appendChild(t)}return b}static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n.*)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){const t=this.localName;return[...super.slotStyles,`\n ${t} [slot="input"]::-ms-reveal {\n display: none;\n }\n `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new p.n(this,"reveal","vaadin-password-field-button",{initializer:t=>{t.disabled=this.disabled,t.addEventListener("click",this.__boundRevealButtonClick),t.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(t){super._onChange(t),this.__lastChange=this.inputElement.value}_shouldSetFocus(t){return t.target===this.inputElement||t.target===this._revealNode}_shouldRemoveFocus(t){return!(t.relatedTarget===this._revealNode||t.relatedTarget===this.inputElement&&t.target===this._revealNode)}_setFocused(t){if(super._setFocused(t),t){const t=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!t)}else this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})))}__updateAriaLabel(t){t.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",t.reveal)}__i18nChanged(t){this.__updateAriaLabel(t.base)}_revealButtonHiddenChanged(t){this._toggleRevealHidden(t)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(t){t.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(t){this._revealNode&&(t?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(t){this._revealNode&&this._revealNode.setAttribute("aria-pressed",t?"true":"false")}_passwordVisibleChanged(t){this._setType(t?"text":"password"),this._updateToggleState(t)}_disabledChanged(t,e){super._disabledChanged(t,e),this._revealNode&&(this._revealNode.disabled=t)}}(0,u.M)(g)},18005:(t,e,o)=>{o.d(e,{n:()=>p}),o(13553);var r=o(74241),a=o(52807),i=o(12521),n=o(34463),s=o(62743),l=o(46570),d=o(73208),u=o(20422),h=o(46729);const c=t=>class extends((0,u.j)(t)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new d.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new h.v(this.inputElement,this._labelController))}};(0,l.hC)("vaadin-text-field",s.J,{moduleId:"vaadin-text-field-styles"});class p extends(c((0,l.Tb)((0,i.S)(r.H3)))){static get is(){return"vaadin-text-field"}static get template(){return r.dy`
385
385
  <style>
386
386
  [part='input-field'] {
387
387
  flex-grow: 0;
@@ -416,4 +416,4 @@
416
416
  </div>
417
417
  </div>
418
418
  <slot name="tooltip"></slot>
419
- `}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new n.f(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,a.M)(p)},8725:(t,e,o)=>{o(1578);var r=o(7205);(0,o(6570).hC)("vaadin-text-field",r.J,{moduleId:"lumo-text-field-styles"}),o(8005)}}]);
419
+ `}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new n.f(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,a.M)(p)},58725:(t,e,o)=>{o(21578);var r=o(83208);(0,o(46570).hC)("vaadin-text-field",r.J,{moduleId:"lumo-text-field-styles"}),o(18005)}}]);
package/dist/umd/7164.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see 7164.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[7164,63],{7583:(t,e,o)=>{o(8900),o(3891),o(1578),o(1735);var a=o(7205),i=o(6570);const r=i.iv`
2
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[7164,63],{47583:(t,e,o)=>{o(48900),o(53891),o(21578),o(41735);var a=o(83208),i=o(46570);const r=i.iv`
3
3
  :host {
4
4
  outline: none;
5
5
  }
@@ -7,7 +7,7 @@
7
7
  [part='toggle-button']::before {
8
8
  content: var(--lumo-icons-dropdown);
9
9
  }
10
- `;(0,i.hC)("vaadin-combo-box",[a.J,r],{moduleId:"lumo-combo-box"}),o(3553);var s=o(4241),n=o(2807),l=o(1914),d=o(5115);class p extends((0,d.O)((0,i.Tb)((0,l.U)(s.H3)))){static get template(){return s.dy`
10
+ `;(0,i.hC)("vaadin-combo-box",[a.J,r],{moduleId:"lumo-combo-box"}),o(13553);var s=o(74241),n=o(52807),l=o(51914),d=o(45115);class p extends((0,d.O)((0,i.Tb)((0,l.U)(s.H3)))){static get template(){return s.dy`
11
11
  <style>
12
12
  :host {
13
13
  display: block;
@@ -21,7 +21,7 @@
21
21
  <div part="content">
22
22
  <slot></slot>
23
23
  </div>
24
- `}static get is(){return"vaadin-combo-box-item"}}(0,n.M)(p);var c=o(4457),u=o(6196),h=o(3515);const v=i.iv`
24
+ `}static get is(){return"vaadin-combo-box-item"}}(0,n.M)(p);var c=o(44457),u=o(6196),h=o(43515);const v=i.iv`
25
25
  #overlay {
26
26
  width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
27
27
  }
@@ -37,7 +37,7 @@
37
37
  <div part="loader"></div>
38
38
  <div part="content" id="content"><slot></slot></div>
39
39
  </div>
40
- `}}(0,n.M)(m);var b=o(1502);class g extends((0,b.t)(s.H3)){static get is(){return"vaadin-combo-box-scroller"}static get template(){return s.dy`
40
+ `}}(0,n.M)(m);var b=o(16557);class g extends((0,b.t)(s.H3)){static get is(){return"vaadin-combo-box-scroller"}static get template(){return s.dy`
41
41
  <style>
42
42
  :host {
43
43
  display: block;
@@ -64,7 +64,7 @@
64
64
  <div id="selector">
65
65
  <slot></slot>
66
66
  </div>
67
- `}}(0,n.M)(g);var y=o(2521),_=o(4463),x=o(3406),f=o(3208),C=o(6729),w=o(9091);const k=t=>class extends((0,w.t)(t)){static get properties(){return{pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"pattern"]}static get constraints(){return[...super.constraints,"pattern"]}};var T=o(2743),E=o(9031),S=o(2589);(0,i.hC)("vaadin-combo-box",T.J,{moduleId:"vaadin-combo-box-styles"});class A extends((0,E.Y)((0,S.t)(k((0,x.L)((0,i.Tb)((0,y.S)(s.H3))))))){static get is(){return"vaadin-combo-box"}static get template(){return s.dy`
67
+ `}}(0,n.M)(g);var y=o(12521),_=o(34463),x=o(73406),f=o(73208),C=o(46729),w=o(39091);const k=t=>class extends((0,w.t)(t)){static get properties(){return{pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"pattern"]}static get constraints(){return[...super.constraints,"pattern"]}};var T=o(62743),E=o(99031),S=o(82589);(0,i.hC)("vaadin-combo-box",T.J,{moduleId:"vaadin-combo-box-styles"});class A extends((0,E.Y)((0,S.t)(k((0,x.L)((0,i.Tb)((0,y.S)(s.H3))))))){static get is(){return"vaadin-combo-box"}static get template(){return s.dy`
68
68
  <style>
69
69
  :host([opened]) {
70
70
  pointer-events: auto;
@@ -110,7 +110,7 @@
110
110
  ></vaadin-combo-box-overlay>
111
111
 
112
112
  <slot name="tooltip"></slot>
113
- `}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new f.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new C.v(this.inputElement,this._labelController)),this._tooltipController=new _.f(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((t=>!t.opened)),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(t){t.stopPropagation(),super._onClearButtonClick(t)}_onHostClick(t){const e=t.composedPath();(e.includes(this._labelNode)||e.includes(this._positionTarget))&&super._onHostClick(t)}}(0,n.M)(A)},422:(t,e,o)=>{o.d(e,{j:()=>i});var a=o(3406);const i=t=>class extends((0,a.L)(t)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(t){this.__dataValue=t}_inputElementChanged(t){super._inputElementChanged(t),t&&(t.value&&t.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),t.value=""),this.value&&(t.value=this.value))}_setFocused(t){super._setFocused(t),!t&&document.hasFocus()&&this.validate()}_onInput(t){super._onInput(t),this.invalid&&this.validate()}_valueChanged(t,e){super._valueChanged(t,e),void 0!==e&&this.invalid&&this.validate()}}},8005:(t,e,o)=>{o.d(e,{n:()=>h}),o(3553);var a=o(4241),i=o(2807),r=o(2521),s=o(4463),n=o(2743),l=o(6570),d=o(3208),p=o(422),c=o(6729);const u=t=>class extends((0,p.j)(t)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new d.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new c.v(this.inputElement,this._labelController))}};(0,l.hC)("vaadin-text-field",n.J,{moduleId:"vaadin-text-field-styles"});class h extends(u((0,l.Tb)((0,r.S)(a.H3)))){static get is(){return"vaadin-text-field"}static get template(){return a.dy`
113
+ `}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new f.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new C.v(this.inputElement,this._labelController)),this._tooltipController=new _.f(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((t=>!t.opened)),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(t){t.stopPropagation(),super._onClearButtonClick(t)}_onHostClick(t){const e=t.composedPath();(e.includes(this._labelNode)||e.includes(this._positionTarget))&&super._onHostClick(t)}}(0,n.M)(A)},20422:(t,e,o)=>{o.d(e,{j:()=>i});var a=o(73406);const i=t=>class extends((0,a.L)(t)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(t){this.__dataValue=t}_inputElementChanged(t){super._inputElementChanged(t),t&&(t.value&&t.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),t.value=""),this.value&&(t.value=this.value))}_setFocused(t){super._setFocused(t),!t&&document.hasFocus()&&this.validate()}_onInput(t){super._onInput(t),this.invalid&&this.validate()}_valueChanged(t,e){super._valueChanged(t,e),void 0!==e&&this.invalid&&this.validate()}}},18005:(t,e,o)=>{o.d(e,{n:()=>h}),o(13553);var a=o(74241),i=o(52807),r=o(12521),s=o(34463),n=o(62743),l=o(46570),d=o(73208),p=o(20422),c=o(46729);const u=t=>class extends((0,p.j)(t)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new d.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new c.v(this.inputElement,this._labelController))}};(0,l.hC)("vaadin-text-field",n.J,{moduleId:"vaadin-text-field-styles"});class h extends(u((0,l.Tb)((0,r.S)(a.H3)))){static get is(){return"vaadin-text-field"}static get template(){return a.dy`
114
114
  <style>
115
115
  [part='input-field'] {
116
116
  flex-grow: 0;
@@ -145,4 +145,4 @@
145
145
  </div>
146
146
  </div>
147
147
  <slot name="tooltip"></slot>
148
- `}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new s.f(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,i.M)(h)},8725:(t,e,o)=>{o(1578);var a=o(7205);(0,o(6570).hC)("vaadin-text-field",a.J,{moduleId:"lumo-text-field-styles"}),o(8005)},9789:(t,e,o)=>{o(8725),o(8005)}}]);
148
+ `}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new s.f(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}(0,i.M)(h)},58725:(t,e,o)=>{o(21578);var a=o(83208);(0,o(46570).hC)("vaadin-text-field",a.J,{moduleId:"lumo-text-field-styles"}),o(18005)},79789:(t,e,o)=>{o(58725),o(18005)}}]);
package/dist/umd/7531.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see 7531.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[7531],{7221:(t,e,r)=>{r.d(e,{e:()=>a}),r(7894);var o=r(1014),s=r(2224),i=r(1342);const n=s.YA,a=(0,o.o)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let r in t)r in e||e._createPropertyAccessor(r)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,r){let o=this.__data[t],s=this._shouldPropertyChange(t,e,o);return s&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=o),this.__data[t]=e,this.__dataPending[t]=e),s}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,n.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(t,e,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,r)),this.__dataCounter--}_shouldPropertiesChange(t,e,r){return Boolean(e)}_propertiesChanged(t,e,r){}_shouldPropertyChange(t,e,r){return r!==e&&(r==r||e==e)}attributeChangedCallback(t,e,r,o){e!==r&&this._attributeToProperty(t,r),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,r,o)}_attributeToProperty(t,e,r){if(!this.__serializing){const o=this.__dataAttributes,s=o&&o[t]||t;this[s]=this._deserializeValue(e,r||this.constructor.typeForProperty(s))}}_propertyToAttribute(t,e,r){this.__serializing=!0,r=arguments.length<3?this[t]:r,this._valueToNodeAttribute(this,r,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,r){const o=this._serializeValue(e);"class"!==r&&"name"!==r&&"slot"!==r||(t=(0,i.r)(t)),void 0===o?t.removeAttribute(r):t.setAttribute(r,""===o&&window.trustedTypes?window.trustedTypes.emptyScript:o)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}}))},4933:(t,e,r)=>{r.d(e,{q:()=>at}),r(7894);var o=r(1342),s=r(1014),i=r(1446);const n={},a=/-[a-z]/g,l=/([A-Z])/g;function c(t){return n[t]||(n[t]=t.indexOf("-")<0?t:t.replace(a,(t=>t[1].toUpperCase())))}function d(t){return n[t]||(n[t]=t.replace(l,"-$1").toLowerCase())}var h=r(7221);const u={};let p=HTMLElement.prototype;for(;p;){let t=Object.getOwnPropertyNames(p);for(let e=0;e<t.length;e++)u[t[e]]=!0;p=Object.getPrototypeOf(p)}const _=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,m=(0,s.o)((t=>{const e=(0,h.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(c(t[e]))}static attributeNameForProperty(t){return d(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){this.hasAttribute(t)||this._valueToNodeAttribute(this,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(_(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let r;switch(e){case Object:try{r=JSON.parse(t)}catch(e){r=t}break;case Array:try{r=JSON.parse(t)}catch(e){r=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:r=isNaN(t)?String(t):Number(t),r=new Date(r);break;default:r=super._deserializeValue(t,e)}return r}_definePropertyAccessor(t,e){!function(t,e){if(!u[e]){let r=t[e];void 0!==r&&(t.__data?t._setPendingProperty(e,r):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=r))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),f={"dom-if":!0,"dom-repeat":!0};let y=!1,g=!1;const v=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,r,o)=>{const s=r.getAttribute(o);t&&o.startsWith("on-")?e.setAttribute(o,t.createScript(s,o)):e.setAttribute(o,s)}})();function b(t){let e=t.getAttribute("is");if(e&&f[e]){let r=t;for(r.removeAttribute("is"),t=r.ownerDocument.createElement(e),r.parentNode.replaceChild(t,r),t.appendChild(r);r.attributes.length;){const{name:e}=r.attributes[0];v(t,r,e),r.removeAttribute(e)}}return t}function P(t,e){let r=e.parentInfo&&P(t,e.parentInfo);if(!r)return t;for(let t=r.firstChild,o=0;t;t=t.nextSibling)if(e.parentIndex===o++)return t}function w(t,e,r,o){o.id&&(e[o.id]=r)}function A(t,e,r){if(r.events&&r.events.length)for(let o,s=0,i=r.events;s<i.length&&(o=i[s]);s++)t._addMethodEventListenerToNode(e,o.name,o.value,t)}function C(t,e,r,o){r.templateInfo&&(e._templateInfo=r.templateInfo,e._parentTemplateInfo=o)}const S=(0,s.o)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let r=t._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=Boolean(e),r.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,r,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,r){return this._parseTemplateNode(t.content,e,r)}static _parseTemplateNode(t,e,r){let o=!1,s=t;return"template"!=s.localName||s.hasAttribute("preserve-content")?"slot"===s.localName&&(e.hasInsertionPoint=!0):o=this._parseTemplateNestedTemplate(s,e,r)||o,function(t){(function(){if(!y){y=!0;const t=document.createElement("textarea");t.placeholder="a",g=t.placeholder===t.textContent}return g})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(s),s.firstChild&&this._parseTemplateChildNodes(s,e,r),s.hasAttributes&&s.hasAttributes()&&(o=this._parseTemplateNodeAttributes(s,e,r)||o),o||r.noted}static _parseTemplateChildNodes(t,e,r){if("script"!==t.localName&&"style"!==t.localName)for(let o,s=t.firstChild,i=0;s;s=o){if("template"==s.localName&&(s=b(s)),o=s.nextSibling,s.nodeType===Node.TEXT_NODE){let r=o;for(;r&&r.nodeType===Node.TEXT_NODE;)s.textContent+=r.textContent,o=r.nextSibling,t.removeChild(r),r=o;if(e.stripWhiteSpace&&!s.textContent.trim()){t.removeChild(s);continue}}let n={parentIndex:i,parentInfo:r};this._parseTemplateNode(s,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),s.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,r){let o=t,s=this._parseTemplate(o,e);return(s.content=o.content.ownerDocument.createDocumentFragment()).appendChild(o.content),r.templateInfo=s,!0}static _parseTemplateNodeAttributes(t,e,r){let o=!1,s=Array.from(t.attributes);for(let i,n=s.length-1;i=s[n];n--)o=this._parseTemplateNodeAttribute(t,e,r,i.name,i.value)||o;return o}static _parseTemplateNodeAttribute(t,e,r,o,s){return"on-"===o.slice(0,3)?(t.removeAttribute(o),r.events=r.events||[],r.events.push({name:o.slice(3),value:s}),!0):"id"===o&&(r.id=s,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let r=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,o=e.content||t.content,s=document.importNode(o,!0);s.__noInsertionPoint=!e.hasInsertionPoint;let i=s.nodeList=new Array(r.length);s.$={};for(let t,o=0,n=r.length;o<n&&(t=r[o]);o++){let r=i[o]=P(s,t);w(0,s.$,r,t),C(0,r,t,e),A(this,r,t)}return s}_addMethodEventListenerToNode(t,e,r,o){let s=function(t,e,r){return t=t._methodHost||t,function(e){t[r]?t[r](e,e.detail):console.warn("listener method `"+r+"` not defined")}}(o=o||t,0,r);return this._addEventListenerToNode(t,e,s),s}_addEventListenerToNode(t,e,r){t.addEventListener(e,r)}_removeEventListenerFromNode(t,e,r){t.removeEventListener(e,r)}}));var E=r(9387);let x=0;const T=[],$={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},O="__computeInfo",N=/[A-Z]/;function k(t,e,r){let o=t[e];if(o){if(!t.hasOwnProperty(e)&&(o=t[e]=Object.create(t[e]),r))for(let t in o){let e=o[t],r=o[t]=Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t]}}else o=t[e]={};return o}function I(t,e,r,o,s,n){if(e){let a=!1;const l=x++;for(let c in r){let d=e[s?(0,i.Jz)(c):c];if(d)for(let e,i=0,h=d.length;i<h&&(e=d[i]);i++)e.info&&e.info.lastRun===l||s&&!z(c,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,c,r,o,e.info,s,n),a=!0)}return a}return!1}function R(t,e,r,o,s,n,a,l){let c=!1,d=e[a?(0,i.Jz)(o):o];if(d)for(let e,i=0,h=d.length;i<h&&(e=d[i]);i++)e.info&&e.info.lastRun===r||a&&!z(o,e.trigger)||(e.info&&(e.info.lastRun=r),e.fn(t,o,s,n,e.info,a,l),c=!0);return c}function z(t,e){if(e){let r=e.name;return r==t||!(!e.structured||!(0,i.jg)(r,t))||!(!e.wildcard||!(0,i.SG)(r,t))}return!0}function M(t,e,r,o,s){let i="string"==typeof s.method?t[s.method]:s.method,n=s.property;i?i.call(t,t.__data[n],o[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function L(t,e,r){let o=(0,i.Jz)(e);return o!==e&&(H(t,d(o)+"-changed",r[e],e),!0)}function H(t,e,r,s){let i={value:r,queueProperty:!0};s&&(i.path=s),(0,o.r)(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function U(t,e,r,o,s,n){let a=(n?(0,i.Jz)(e):e)!=e?e:null,l=a?(0,i.U2)(t,a):t.__data[e];a&&void 0===l&&(l=r[e]),H(t,s.eventName,l,a)}function D(t,e,r,o,s){let i=t.__data[e];E.v1&&(i=(0,E.v1)(i,s.attrName,"attribute",t)),t._propertyToAttribute(e,s.attrName,i)}const F=(t,e,r)=>{let o=0,s=e.length-1,i=-1;for(;o<=s;){const n=o+s>>1,a=r.get(e[n].methodInfo)-r.get(t.methodInfo);if(a<0)o=n+1;else{if(!(a>0)){i=n;break}s=n-1}}i<0&&(i=s+1),e.splice(i,0,t)},j=(t,e,r,o,s)=>{const n=e[s?(0,i.Jz)(t):t];if(n)for(let e=0;e<n.length;e++){const i=n[e];i.info.lastRun===x||s&&!z(t,i.trigger)||(i.info.lastRun=x,F(i.info,r,o))}};function B(t,e,r,o,s){let i=Z(t,e,r,0,s);if(i===T)return!1;let n=s.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,i,!0):(t[n]=i,!1)}function Y(t,e,r,o,s,i,n){r.bindings=r.bindings||[];let a={kind:o,target:s,parts:i,literal:n,isCompound:1!==i.length};if(r.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||d(s)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let r=0;r<a.parts.length;r++){let o=a.parts[r];o.compoundIndex=r,J(t,e,a,o,l)}}function J(t,e,r,o,s){if(!o.literal)if("attribute"===r.kind&&"-"===r.target[0])console.warn("Cannot set attribute "+r.target+' because "-" is not a valid attribute starting character');else{let i=o.dependencies,n={index:s,binding:r,part:o,evaluator:t};for(let r=0;r<i.length;r++){let o=i[r];"string"==typeof o&&(o=ot(o),o.wildcard=!0),t._addTemplatePropertyEffect(e,o.rootProperty,{fn:V,info:n,trigger:o})}}}function V(t,e,r,o,s,n,a){let l=a[s.index],c=s.binding,d=s.part;if(n&&d.source&&e.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let o=r[e];e=(0,i.Iu)(d.source,c.target,e),l._setPendingPropertyOrPath(e,o,!1,!0)&&t._enqueueClient(l)}else{let i=s.evaluator._evaluateBinding(t,d,e,r,o,n);i!==T&&function(t,e,r,o,s){if(s=function(t,e,r,o){if(r.isCompound){let s=t.__dataCompoundStorage[r.target];s[o.compoundIndex]=e,e=s.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,s,r,o),E.v1&&(s=(0,E.v1)(s,r.target,r.kind,e)),"attribute"==r.kind)t._valueToNodeAttribute(e,s,r.target);else{let o=r.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[o]?e[$.READ_ONLY]&&e[$.READ_ONLY][o]||e._setPendingProperty(o,s)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,o,s)}}(t,l,c,d,i)}}function q(t,e){if(e.isCompound){let r=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),s=e.parts,i=new Array(s.length);for(let t=0;t<s.length;t++)i[t]=s[t].literal;let n=e.target;r[n]=i,e.literal&&"property"==e.kind&&("className"===n&&(t=(0,o.r)(t)),t[n]=e.literal)}}function W(t,e,r){if(r.listenerEvent){let o=r.parts[0];t.addEventListener(r.listenerEvent,(function(t){!function(t,e,r,o,s){let n,a=t.detail,l=a&&a.path;l?(o=(0,i.Iu)(r,o,l),n=a&&a.value):n=t.currentTarget[r],n=s?!n:n,e[$.READ_ONLY]&&e[$.READ_ONLY][o]||!e._setPendingPropertyOrPath(o,n,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,r.target,o.source,o.negate)}))}}function K(t,e,r,o,s,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:s,dynamicFn:i};for(let s,i=0;i<e.args.length&&(s=e.args[i]);i++)s.literal||t._addPropertyEffect(s.rootProperty,r,{fn:o,info:n,trigger:s});return i&&t._addPropertyEffect(e.methodName,r,{fn:o,info:n}),n}function Z(t,e,r,o,s){let i=t._methodHost||t,n=i[s.methodName];if(n){let o=t._marshalArgs(s.args,e,r);return o===T?T:n.apply(i,o)}s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const G=[],X="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Q="(?:("+X+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",tt=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+X+"\\s*(?:\\(\\s*(?:(?:"+Q+"(?:,\\s*"+Q+")*)?)\\)\\s*)?)(?:]]|}})","g");function et(t){let e="";for(let r=0;r<t.length;r++)e+=t[r].literal||"";return e}function rt(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:G};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let r=ot(t);return r.literal||(e.static=!1),r}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t):t}return null}function ot(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),r={name:e,value:"",literal:!1},o=e[0];switch("-"===o&&(o=e[1]),o>="0"&&o<="9"&&(o="#"),o){case"'":case'"':r.value=e.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(e),r.literal=!0}return r.literal||(r.rootProperty=(0,i.Jz)(e),r.structured=(0,i.AZ)(e),r.structured&&(r.wildcard=".*"==e.slice(-2),r.wildcard&&(r.name=e.slice(0,-2)))),r}function st(t,e,r){let o=(0,i.U2)(t,r);return void 0===o&&(o=e[r]),o}function it(t,e,r,o){const s={indexSplices:o};E.HY&&!t._overrideLegacyUndefined&&(e.splices=s),t.notifyPath(r+".splices",s),t.notifyPath(r+".length",e.length),E.HY&&!t._overrideLegacyUndefined&&(s.indexSplices=[])}function nt(t,e,r,o,s,i){it(t,e,r,[{index:o,addedCount:s,removed:i,object:e,type:"splice"}])}const at=(0,s.o)((t=>{const e=S(m(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return $}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(lt.length){let t=lt[lt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[$.READ_ONLY];for(let r in t)e&&e[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=t[r])}_addPropertyEffect(t,e,r){this._createPropertyAccessor(t,e==$.READ_ONLY);let o=k(this,e,!0)[t];o||(o=this[e][t]=[]),o.push(r)}_removePropertyEffect(t,e,r){let o=k(this,e,!0)[t],s=o.indexOf(r);s>=0&&o.splice(s,1)}_hasPropertyEffect(t,e){let r=this[e];return Boolean(r&&r[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,$.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,$.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,$.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,$.COMPUTE)}_setPendingPropertyOrPath(t,e,r,o){if(o||(0,i.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!o){let r=(0,i.U2)(this,t);if(!(t=(0,i.t8)(this,t,e))||!super._shouldPropertyChange(t,e,r))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,r))return function(t,e,r){let o=t.__dataLinkedPaths;if(o){let s;for(let n in o){let a=o[n];(0,i.SG)(n,e)?(s=(0,i.Iu)(n,a,e),t._setPendingPropertyOrPath(s,r,!0,!0)):(0,i.SG)(a,e)&&(s=(0,i.Iu)(a,n,e),t._setPendingPropertyOrPath(s,r,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,r);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,r){r===t[e]&&"object"!=typeof r||("className"===e&&(t=(0,o.r)(t)),t[e]=r)}_setPendingProperty(t,e,r){let o=this.__dataHasPaths&&(0,i.AZ)(t),s=o?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,s[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),o?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(o||this[$.NOTIFY]&&this[$.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=r),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let r=t[e];r.__dataEnabled?r.__dataPending&&r._flushProperties():r._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let r in t)!e&&this[$.READ_ONLY]&&this[$.READ_ONLY][r]||this._setPendingPropertyOrPath(r,t[r],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,r){let o,s=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,r,o){let s=t[$.COMPUTE];if(s)if(E.ls){x++;const i=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const r=t[$.COMPUTE];let o,{counts:s,ready:i,total:n}=function(t){const e=t[O],r={},o=t[$.COMPUTE],s=[];let i=0;for(let t in e){const o=e[t];i+=r[t]=o.args.filter((t=>!t.literal)).length+(o.dynamicFn?1:0)}for(let t in o)e[t]||s.push(t);return{counts:r,ready:s,total:i}}(t);for(;o=i.shift();){e.set(o,e.size);const t=r[o];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--s[e]&&i.push(e)}))}if(0!==n){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),n=[];for(let t in e)j(t,s,n,i,o);let a;for(;a=n.shift();)B(t,"",e,0,a)&&j(a.methodInfo,s,n,i,o);Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let i=e;for(;I(t,s,i,r,o);)Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),i=t.__dataPending,t.__dataPending=null}}(this,e,r,s),o=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,r,s),this._flushClients(),I(this,this[$.REFLECT],e,r,s),I(this,this[$.OBSERVE],e,r,s),o&&function(t,e,r,o,s){let i,n,a=t[$.NOTIFY],l=x++;for(let n in e)e[n]&&(a&&R(t,a,l,n,r,o,s)||s&&L(t,n,r))&&(i=!0);i&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,o,e,r,s),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,r){this[$.PROPAGATE]&&I(this,this[$.PROPAGATE],t,e,r),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,r)}_runEffectsForTemplate(t,e,r,o){const s=(e,o)=>{I(this,t.propertyEffects,e,r,o,t.nodeList);for(let s=t.firstChild;s;s=s.nextSibling)this._runEffectsForTemplate(s,e,r,o)};t.runEffects?t.runEffects(s,e,o):s(e,o)}linkPaths(t,e){t=(0,i.Fv)(t),e=(0,i.Fv)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,i.Fv)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let r={path:""};it(this,(0,i.U2)(this,t,r),r.path,e)}get(t,e){return(0,i.U2)(e||this,t)}set(t,e,r){r?(0,i.t8)(r,t,e):this[$.READ_ONLY]&&this[$.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let r={path:""},o=(0,i.U2)(this,t,r),s=o.length,n=o.push(...e);return e.length&&nt(this,o,r.path,s,e.length,[]),n}pop(t){let e={path:""},r=(0,i.U2)(this,t,e),o=Boolean(r.length),s=r.pop();return o&&nt(this,r,e.path,r.length,0,[s]),s}splice(t,e,r,...o){let s,n={path:""},a=(0,i.U2)(this,t,n);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),s=2===arguments.length?a.splice(e):a.splice(e,r,...o),(o.length||s.length)&&nt(this,a,n.path,e,o.length,s),s}shift(t){let e={path:""},r=(0,i.U2)(this,t,e),o=Boolean(r.length),s=r.shift();return o&&nt(this,r,e.path,0,0,[s]),s}unshift(t,...e){let r={path:""},o=(0,i.U2)(this,t,r),s=o.unshift(...e);return e.length&&nt(this,o,r.path,0,e.length,[]),s}notifyPath(t,e){let r;if(1==arguments.length){let o={path:""};e=(0,i.U2)(this,t,o),r=o.path}else r=Array.isArray(t)?(0,i.Fv)(t):t;this._setPendingPropertyOrPath(r,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var r;this._addPropertyEffect(t,$.READ_ONLY),e&&(this["_set"+(r=t,r[0].toUpperCase()+r.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,r){let o={property:t,method:e,dynamicFn:Boolean(r)};this._addPropertyEffect(t,$.OBSERVE,{fn:M,info:o,trigger:{name:t}}),r&&this._addPropertyEffect(e,$.OBSERVE,{fn:M,info:o,trigger:{name:e}})}_createMethodObserver(t,e){let r=rt(t);if(!r)throw new Error("Malformed observer expression '"+t+"'");K(this,r,$.OBSERVE,Z,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,$.NOTIFY,{fn:U,info:{eventName:d(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,$.REFLECT,{fn:D,info:{attrName:e}})}_createComputedProperty(t,e,r){let o=rt(e);if(!o)throw new Error("Malformed computed expression '"+e+"'");const s=K(this,o,$.COMPUTE,B,t,r);k(this,O)[t]=s}_marshalArgs(t,e,r){const o=this.__data,s=[];for(let n=0,a=t.length;n<a;n++){let{name:a,structured:l,wildcard:c,value:d,literal:h}=t[n];if(!h)if(c){const t=(0,i.SG)(a,e),s=st(o,r,t?e:a);d={path:t?e:a,value:s,base:t?(0,i.U2)(o,a):s}}else d=l?st(o,r,a):o[a];if(E.HY&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return T;s[n]=d}return s}static addPropertyEffect(t,e,r){this.prototype._addPropertyEffect(t,e,r)}static createPropertyObserver(t,e,r){this.prototype._createPropertyObserver(t,e,r)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,r){this.prototype._createComputedProperty(t,e,r)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let r=this.constructor._parseTemplate(t),o=this.__preBoundTemplateInfo==r;if(!o)for(let t in r.propertyEffects)this._createPropertyAccessor(t);if(e)if(r=Object.create(r),r.wasPreBound=o,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,o=e.lastChild;r.parent=e,e.lastChild=r,r.previousSibling=o,o?o.nextSibling=r:e.firstChild=r}else this.__templateInfo=r;else this.__preBoundTemplateInfo=r;return r}static _addTemplatePropertyEffect(t,e,r){(t.hostProps=t.hostProps||{})[e]=!0;let o=t.propertyEffects=t.propertyEffects||{};(o[e]=o[e]||[]).push(r)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),lt.push(this);let r=super._stampTemplate(t,e);if(lt.pop(),e.nodeList=r.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=r.firstChild;e;e=e.nextSibling)t.push(e)}return r.templateInfo=e,function(t,e){let{nodeList:r,nodeInfoList:o}=e;if(o.length)for(let e=0;e<o.length;e++){let s=o[e],i=r[e],n=s.bindings;if(n)for(let e=0;e<n.length;e++){let r=n[e];q(i,r),W(i,t,r)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),r}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:r,nextSibling:s,parent:i}=e;r?r.nextSibling=s:i&&(i.firstChild=s),s?s.previousSibling=r:i&&(i.lastChild=r),e.nextSibling=e.previousSibling=null;let n=e.childNodes;for(let t=0;t<n.length;t++){let e=n[t];(0,o.r)((0,o.r)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,r,o){let s=e._parseTemplateNode.call(this,t,r,o);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,r);e&&(t.textContent=et(e)||" ",Y(this,r,o,"text","textContent",e),s=!0)}return s}static _parseTemplateNodeAttribute(t,r,o,s,i){let n=this._parseBindings(i,r);if(n){let e=s,i="property";N.test(s)?i="attribute":"$"==s[s.length-1]&&(s=s.slice(0,-1),i="attribute");let a=et(n);return a&&"attribute"==i&&("class"==s&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(s)),t.setAttribute(s,a)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(s,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(s=c(s)),Y(this,r,o,i,s,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,r,o,s,i)}static _parseTemplateNestedTemplate(t,r,o){let s=e._parseTemplateNestedTemplate.call(this,t,r,o);const i=t.parentNode,n=o.templateInfo,a="dom-if"===i.localName,l="dom-repeat"===i.localName;E.gx&&(a||l)&&(i.removeChild(t),(o=o.parentInfo).templateInfo=n,o.noted=!0,s=!1);let c=n.hostProps;if(E.ew&&a)c&&(r.hostProps=Object.assign(r.hostProps||{},c),E.gx||(o.parentInfo.noted=!0));else{let t="{";for(let e in c)Y(this,r,o,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return s}static _parseBindings(t,e){let r,o=[],s=0;for(;null!==(r=tt.exec(t));){r.index>s&&o.push({literal:t.slice(s,r.index)});let i=r[1][0],n=Boolean(r[2]),a=r[3].trim(),l=!1,c="",d=-1;"{"==i&&(d=a.indexOf("::"))>0&&(c=a.substring(d+2),a=a.substring(0,d),l=!0);let h=rt(a),u=[];if(h){let{args:t,methodName:r}=h;for(let e=0;e<t.length;e++){let r=t[e];r.literal||u.push(r)}let o=e.dynamicFns;(o&&o[r]||h.static)&&(u.push(r),h.dynamicFn=!0)}else u.push(a);o.push({source:a,mode:i,negate:n,customEvent:l,signature:h,dependencies:u,event:c}),s=tt.lastIndex}if(s&&s<t.length){let e=t.substring(s);e&&o.push({literal:e})}return o.length?o:null}static _evaluateBinding(t,e,r,o,s,n){let a;return a=e.signature?Z(t,r,o,0,e.signature):r!=e.source?(0,i.U2)(t,e.source):n&&(0,i.AZ)(r)?(0,i.U2)(t,r):t.__data[r],e.negate&&(a=!a),a}}})),lt=[]},2224:(t,e,r)=>{r.d(e,{Wc:()=>c,YA:()=>d}),r(7894);let o=0,s=0,i=[],n=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=i.length;for(let e=0;e<t;e++){let t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),s+=t})).observe(l,{characterData:!0});const c={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},d={run:t=>(a||(a=!0,l.textContent=n++),i.push(t),o++),cancel(t){const e=t-s;if(e>=0){if(!i[e])throw new Error("invalid async handle: "+t);i[e]=null}}}},7894:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},1121:(t,e,r)=>{r.d(e,{d:()=>n}),r(7894);const o=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class s{constructor(t,e){a(t,e);const r=e.reduce(((e,r,o)=>e+i(r)+t[o+1]),t[0]);this.value=r.toString()}toString(){return this.value}}function i(t){if(t instanceof s)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const n=function(t,...e){a(t,e);const r=document.createElement("template");let n=e.reduce(((e,r,o)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof s)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(r)+t[o+1]),t[0]);return o&&(n=o.createHTML(n)),r.innerHTML=n,r},a=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},1014:(t,e,r)=>{r.d(e,{o:()=>i}),r(7894);let o=0;function s(){}s.prototype.__mixinApplications,s.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let r=o++;return function(o){let s=o.__mixinSet;if(s&&s[r])return o;let i=e,n=i.get(o);if(!n){n=t(o),i.set(o,n);let e=Object.create(n.__mixinSet||s||null);e[r]=!0,n.__mixinSet=e}return n}}},1446:(t,e,r)=>{function o(t){return t.indexOf(".")>=0}function s(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function i(t,e){return 0===t.indexOf(e+".")}function n(t,e){return 0===e.indexOf(t+".")}function a(t,e,r){return e+r.slice(t.length)}function l(t,e){return t===e||i(t,e)||n(t,e)}function c(t){if(Array.isArray(t)){let e=[];for(let r=0;r<t.length;r++){let o=t[r].toString().split(".");for(let t=0;t<o.length;t++)e.push(o[t])}return e.join(".")}return t}function d(t){return Array.isArray(t)?c(t).split("."):t.toString().split(".")}function h(t,e,r){let o=t,s=d(e);for(let t=0;t<s.length;t++){if(!o)return;o=o[s[t]]}return r&&(r.path=s.join(".")),o}function u(t,e,r){let o=t,s=d(e),i=s[s.length-1];if(s.length>1){for(let t=0;t<s.length-1;t++)if(o=o[s[t]],!o)return;o[i]=r}else o[e]=r;return s.join(".")}r.d(e,{AZ:()=>o,Fv:()=>c,Iu:()=>a,Jz:()=>s,SG:()=>n,U2:()=>h,jg:()=>i,t8:()=>u,wB:()=>l}),r(7894)},9967:(t,e,r)=>{r.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>c}),r(7894);let o,s,i=/(url\()([^)]*)(\))/g,n=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&n.test(t))return t;if("//"===t)return t;if(void 0===o){o=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",o="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),o)try{return new URL(t,e).href}catch(e){return t}return s||(s=document.implementation.createHTMLDocument("temp"),s.base=s.createElement("base"),s.head.appendChild(s.base),s.anchor=s.createElement("a"),s.body.appendChild(s.anchor)),s.base.href=e,s.anchor.href=t,s.anchor.href||t}function l(t,e){return t.replace(i,(function(t,r,o,s){return r+"'"+a(o.replace(/["']/g,""),e)+"'"+s}))}function c(t){return t.substring(0,t.lastIndexOf("/")+1)}},9387:(t,e,r)=>{r.d(e,{FV:()=>i,HY:()=>p,Hr:()=>u,XN:()=>l,ZN:()=>c,a2:()=>h,dJ:()=>v,ew:()=>g,gx:()=>y,ls:()=>_,md:()=>b,my:()=>s,nL:()=>d,sM:()=>n,v1:()=>a,xj:()=>f}),r(7894);var o=r(9967);const s=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,s&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let n=window.Polymer&&window.Polymer.rootPath||(0,o.iY)(document.baseURI||window.location.href),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let l=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,c=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,d=window.Polymer&&window.Polymer.legacyOptimizations||!1,h=window.Polymer&&window.Polymer.legacyWarnings||!1,u=window.Polymer&&window.Polymer.syncInitialRender||!1,p=window.Polymer&&window.Polymer.legacyUndefined||!1,_=window.Polymer&&window.Polymer.orderedComputed||!1,m=!0;const f=function(t){m=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,g=window.Polymer&&window.Polymer.fastDomIf||!1,v=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let b=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},1342:(t,e,r)=>{r.d(e,{r:()=>o});const o=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},4241:(t,e,r)=>{r.d(e,{H3:()=>T,dy:()=>x.d}),r(7894);var o=r(9387),s=r(1014),i=r(9967);let n={},a={};function l(t,e){n[t]=a[t.toLowerCase()]=e}function c(t){return n[t]||a[t.toLowerCase()]}class d extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let r=c(t);return r&&e?r.querySelector(e):r}return null}attributeChangedCallback(t,e,r,o){e!==r&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,i.Kk)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,i.iY)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(o.XN&&void 0!==c(t))throw l(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,l(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}d.prototype.modules=n,customElements.define("dom-module",d);const h="link[rel=import][type~=css]",u="include",p="shady-unscoped";function _(t){return d.import(t)}function m(t){let e=t.body?t.body:t;const r=(0,i.Rq)(e.textContent,t.baseURI),o=document.createElement("style");return o.textContent=r,o}function f(t){const e=t.trim().split(/\s+/),r=[];for(let t=0;t<e.length;t++)r.push(...y(e[t]));return r}function y(t){const e=_(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...v(e));const r=e.querySelector("template");r&&t.push(...g(r,e.assetpath)),e._styles=t}return e._styles}function g(t,e){if(!t._styles){const r=[],o=t.content.querySelectorAll("style");for(let t=0;t<o.length;t++){let s=o[t],n=s.getAttribute(u);n&&r.push(...f(n).filter((function(t,e,r){return r.indexOf(t)===e}))),e&&(s.textContent=(0,i.Rq)(s.textContent,e)),r.push(s)}t._styles=r}return t._styles}function v(t){const e=[],r=t.querySelectorAll(h);for(let t=0;t<r.length;t++){let o=r[t];if(o.import){const t=o.import,r=o.hasAttribute(p);if(r&&!t._unscopedStyle){const e=m(t);e.setAttribute(p,""),t._unscopedStyle=e}else t._style||(t._style=m(t));e.push(r?t._unscopedStyle:t._style)}}return e}var b=r(4933);const P=[];var w=r(7221);const A=(0,s.o)((t=>{const e=(0,w.e)(t);function r(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof s?e:null}function o(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const r=t.properties;r&&(e=function(t){const e={};for(let r in t){const o=t[r];e[r]="function"==typeof o?{type:o}:o}return e}(r))}t.__ownProperties=e}return t.__ownProperties}class s extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,P.push(t);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}var t;return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=r(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=o(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=r(this);this.__properties=Object.assign({},t&&t._properties,o(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return s}));var C=r(1342);const S=window.ShadyCSS&&window.ShadyCSS.cssBuild,E=(0,s.o)((t=>{const e=A((0,b.q)(t));return class extends e{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((r=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",r))||(r.__ownObservers=r.hasOwnProperty(JSCompiler_renameProperty("observers",r))?r.observers:null),r.__ownObservers);var r;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):o.nL||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let i in t)e=this.prototype,r=i,s=t,(o=t[i]).computed&&(o.readOnly=!0),o.computed&&(e._hasReadOnlyEffect(r)?console.warn(`Cannot redefine computed property '${r}'.`):e._createComputedProperty(r,o.computed,s)),o.readOnly&&!e._hasReadOnlyEffect(r)?e._createReadOnlyProperty(r,!o.computed):!1===o.readOnly&&e._hasReadOnlyEffect(r)&&console.warn(`Cannot make readOnly property '${r}' non-readOnly.`),o.reflectToAttribute&&!e._hasReflectEffect(r)?e._createReflectedProperty(r):!1===o.reflectToAttribute&&e._hasReflectEffect(r)&&console.warn(`Cannot make reflected property '${r}' non-reflected.`),o.notify&&!e._hasNotifyEffect(r)?e._createNotifyingProperty(r):!1===o.notify&&e._hasNotifyEffect(r)&&console.warn(`Cannot make notify property '${r}' non-notify.`),o.observer&&e._createPropertyObserver(r,o.observer,s[o.observer]),e._addPropertyToAttributeMap(r);var e,r,o,s}static createObservers(t,e){const r=this.prototype;for(let o=0;o<t.length;o++)r._createMethodObserver(t[o],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!o.XN||o.ZN)&&(e=d.import(t,"template"),o.XN&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,i.iY)(t.url);else{const t=d.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=o.sM,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let r in e){let o=e[r];"value"in o&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[r]=o)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let r=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof r.value?r.value.call(this):r.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,i.Rq)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const r=this.importPath;(function(t,e,r,s){if(!S){const o=e.content.querySelectorAll("style"),i=g(e),n=function(t){let e=_(t);return e?v(e):[]}(r),a=e.content.firstElementChild;for(let r=0;r<n.length;r++){let o=n[r];o.textContent=t._processStyleText(o.textContent,s),e.content.insertBefore(o,a)}let l=0;for(let e=0;e<i.length;e++){let r=i[e],n=o[l];n!==r?(r=r.cloneNode(!0),n.parentNode.insertBefore(r,n)):l++,r.textContent=t._processStyleText(r.textContent,s)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,r),o.md&&S&&o.FV){const r=e.content.querySelectorAll("style");if(r){let e="";Array.from(r).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,r?(0,i.Kk)(r):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=(0,C.r)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),o.Hr&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,i.Kk)(this.importPath)),(0,i.Kk)(t,e)}static _parseTemplateContent(t,r,o){return r.dynamicFns=r.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,r,o)}static _addTemplatePropertyEffect(t,r,s){return!o.a2||r in this._properties||s.info.part.signature&&s.info.part.signature.static||s.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${r}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,r,s)}}}));var x=r(1121);const T=E(HTMLElement)},7913:(t,e,r)=>{r.d(e,{Wc:()=>a,YA:()=>d,rs:()=>l,t$:()=>c});let o=0,s=0;const i=[];let n=!1;const a={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},l={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},c={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},d={run(t){n||(n=!0,queueMicrotask((()=>function(){n=!1;const t=i.length;for(let e=0;e<t;e++){const t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),s+=t}()))),i.push(t);const e=o;return o+=1,e},cancel(t){const e=t-s;if(e>=0){if(!i[e])throw new Error(`invalid async handle: ${t}`);i[e]=null}}}},6139:(t,e,r)=>{r.d(e,{Ex:()=>i,dx:()=>s,yl:()=>a});const o=new Set;class s{static debounce(t,e,r){return t instanceof s?t._cancelAsync():t=new s,t.setConfig(e,r),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,o.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),o.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}}function i(t){o.add(t)}function n(){const t=Boolean(o.size);return o.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t}const a=()=>{let t;do{t=n()}while(t)}},2807:(t,e,r)=>{function o(t){const e=customElements.get(t.is);if(e){const r=e.version;r&&t.version&&r===t.version?console.warn(`The component ${t.is} has been loaded twice`):console.error(`Tried to define ${t.is} version ${t.version} when version ${e.version} is already in use. Something will probably break.`)}else Object.defineProperty(t,"version",{get:()=>"24.3.10"}),customElements.define(t.is,t)}r.d(e,{M:()=>o})},1914:(t,e,r)=>{r.d(e,{U:()=>n});const o=[];function s(t,e,r=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=r&&t.removeAttribute("dir")}function i(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=i();o.forEach((e=>{s(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const n=t=>class extends t{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>""===t?null:t}}}}get __isRTL(){return"rtl"===this.getAttribute("dir")}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")&&!this.__restoreSubscription||(this.__subscribe(),s(this,i(),null))}attributeChangedCallback(t,e,r){if(super.attributeChangedCallback(t,e,r),"dir"!==t)return;const n=i(),a=r===n&&-1===o.indexOf(this),l=!r&&e&&-1===o.indexOf(this),c=r!==n&&e===n;a||l?(this.__subscribe(),s(this,n,r)):c&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=o.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,r){("dir"!==r||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,r)}_attributeToProperty(t,e,r){"dir"!==t||e?super._attributeToProperty(t,e,r):this.dir=""}__subscribe(){o.includes(this)||o.push(this)}__unsubscribe(){o.includes(this)&&o.splice(o.indexOf(this),1)}}},1195:(t,e,r)=>{r(4407);var o=r(6570),s=r(2463);const i=o.iv`
2
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[7531],{77221:(t,e,r)=>{r.d(e,{e:()=>a}),r(7894);var o=r(91014),s=r(2224),i=r(31342);const n=s.YA,a=(0,o.o)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let r in t)r in e||e._createPropertyAccessor(r)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,r){let o=this.__data[t],s=this._shouldPropertyChange(t,e,o);return s&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=o),this.__data[t]=e,this.__dataPending[t]=e),s}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,n.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(t,e,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,r)),this.__dataCounter--}_shouldPropertiesChange(t,e,r){return Boolean(e)}_propertiesChanged(t,e,r){}_shouldPropertyChange(t,e,r){return r!==e&&(r==r||e==e)}attributeChangedCallback(t,e,r,o){e!==r&&this._attributeToProperty(t,r),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,r,o)}_attributeToProperty(t,e,r){if(!this.__serializing){const o=this.__dataAttributes,s=o&&o[t]||t;this[s]=this._deserializeValue(e,r||this.constructor.typeForProperty(s))}}_propertyToAttribute(t,e,r){this.__serializing=!0,r=arguments.length<3?this[t]:r,this._valueToNodeAttribute(this,r,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,r){const o=this._serializeValue(e);"class"!==r&&"name"!==r&&"slot"!==r||(t=(0,i.r)(t)),void 0===o?t.removeAttribute(r):t.setAttribute(r,""===o&&window.trustedTypes?window.trustedTypes.emptyScript:o)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}}))},74933:(t,e,r)=>{r.d(e,{q:()=>at}),r(7894);var o=r(31342),s=r(91014),i=r(81446);const n={},a=/-[a-z]/g,l=/([A-Z])/g;function c(t){return n[t]||(n[t]=t.indexOf("-")<0?t:t.replace(a,(t=>t[1].toUpperCase())))}function d(t){return n[t]||(n[t]=t.replace(l,"-$1").toLowerCase())}var h=r(77221);const u={};let p=HTMLElement.prototype;for(;p;){let t=Object.getOwnPropertyNames(p);for(let e=0;e<t.length;e++)u[t[e]]=!0;p=Object.getPrototypeOf(p)}const _=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,m=(0,s.o)((t=>{const e=(0,h.e)(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor(c(t[e]))}static attributeNameForProperty(t){return d(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){this.hasAttribute(t)||this._valueToNodeAttribute(this,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(_(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let r;switch(e){case Object:try{r=JSON.parse(t)}catch(e){r=t}break;case Array:try{r=JSON.parse(t)}catch(e){r=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:r=isNaN(t)?String(t):Number(t),r=new Date(r);break;default:r=super._deserializeValue(t,e)}return r}_definePropertyAccessor(t,e){!function(t,e){if(!u[e]){let r=t[e];void 0!==r&&(t.__data?t._setPendingProperty(e,r):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=r))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),f={"dom-if":!0,"dom-repeat":!0};let y=!1,g=!1;const v=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,r,o)=>{const s=r.getAttribute(o);t&&o.startsWith("on-")?e.setAttribute(o,t.createScript(s,o)):e.setAttribute(o,s)}})();function b(t){let e=t.getAttribute("is");if(e&&f[e]){let r=t;for(r.removeAttribute("is"),t=r.ownerDocument.createElement(e),r.parentNode.replaceChild(t,r),t.appendChild(r);r.attributes.length;){const{name:e}=r.attributes[0];v(t,r,e),r.removeAttribute(e)}}return t}function P(t,e){let r=e.parentInfo&&P(t,e.parentInfo);if(!r)return t;for(let t=r.firstChild,o=0;t;t=t.nextSibling)if(e.parentIndex===o++)return t}function w(t,e,r,o){o.id&&(e[o.id]=r)}function A(t,e,r){if(r.events&&r.events.length)for(let o,s=0,i=r.events;s<i.length&&(o=i[s]);s++)t._addMethodEventListenerToNode(e,o.name,o.value,t)}function C(t,e,r,o){r.templateInfo&&(e._templateInfo=r.templateInfo,e._parentTemplateInfo=o)}const S=(0,s.o)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let r=t._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=Boolean(e),r.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,r,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,r){return this._parseTemplateNode(t.content,e,r)}static _parseTemplateNode(t,e,r){let o=!1,s=t;return"template"!=s.localName||s.hasAttribute("preserve-content")?"slot"===s.localName&&(e.hasInsertionPoint=!0):o=this._parseTemplateNestedTemplate(s,e,r)||o,function(t){(function(){if(!y){y=!0;const t=document.createElement("textarea");t.placeholder="a",g=t.placeholder===t.textContent}return g})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(s),s.firstChild&&this._parseTemplateChildNodes(s,e,r),s.hasAttributes&&s.hasAttributes()&&(o=this._parseTemplateNodeAttributes(s,e,r)||o),o||r.noted}static _parseTemplateChildNodes(t,e,r){if("script"!==t.localName&&"style"!==t.localName)for(let o,s=t.firstChild,i=0;s;s=o){if("template"==s.localName&&(s=b(s)),o=s.nextSibling,s.nodeType===Node.TEXT_NODE){let r=o;for(;r&&r.nodeType===Node.TEXT_NODE;)s.textContent+=r.textContent,o=r.nextSibling,t.removeChild(r),r=o;if(e.stripWhiteSpace&&!s.textContent.trim()){t.removeChild(s);continue}}let n={parentIndex:i,parentInfo:r};this._parseTemplateNode(s,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),s.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,r){let o=t,s=this._parseTemplate(o,e);return(s.content=o.content.ownerDocument.createDocumentFragment()).appendChild(o.content),r.templateInfo=s,!0}static _parseTemplateNodeAttributes(t,e,r){let o=!1,s=Array.from(t.attributes);for(let i,n=s.length-1;i=s[n];n--)o=this._parseTemplateNodeAttribute(t,e,r,i.name,i.value)||o;return o}static _parseTemplateNodeAttribute(t,e,r,o,s){return"on-"===o.slice(0,3)?(t.removeAttribute(o),r.events=r.events||[],r.events.push({name:o.slice(3),value:s}),!0):"id"===o&&(r.id=s,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let r=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,o=e.content||t.content,s=document.importNode(o,!0);s.__noInsertionPoint=!e.hasInsertionPoint;let i=s.nodeList=new Array(r.length);s.$={};for(let t,o=0,n=r.length;o<n&&(t=r[o]);o++){let r=i[o]=P(s,t);w(0,s.$,r,t),C(0,r,t,e),A(this,r,t)}return s}_addMethodEventListenerToNode(t,e,r,o){let s=function(t,e,r){return t=t._methodHost||t,function(e){t[r]?t[r](e,e.detail):console.warn("listener method `"+r+"` not defined")}}(o=o||t,0,r);return this._addEventListenerToNode(t,e,s),s}_addEventListenerToNode(t,e,r){t.addEventListener(e,r)}_removeEventListenerFromNode(t,e,r){t.removeEventListener(e,r)}}));var E=r(89387);let x=0;const T=[],$={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},O="__computeInfo",N=/[A-Z]/;function k(t,e,r){let o=t[e];if(o){if(!t.hasOwnProperty(e)&&(o=t[e]=Object.create(t[e]),r))for(let t in o){let e=o[t],r=o[t]=Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t]}}else o=t[e]={};return o}function I(t,e,r,o,s,n){if(e){let a=!1;const l=x++;for(let c in r){let d=e[s?(0,i.Jz)(c):c];if(d)for(let e,i=0,h=d.length;i<h&&(e=d[i]);i++)e.info&&e.info.lastRun===l||s&&!z(c,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,c,r,o,e.info,s,n),a=!0)}return a}return!1}function R(t,e,r,o,s,n,a,l){let c=!1,d=e[a?(0,i.Jz)(o):o];if(d)for(let e,i=0,h=d.length;i<h&&(e=d[i]);i++)e.info&&e.info.lastRun===r||a&&!z(o,e.trigger)||(e.info&&(e.info.lastRun=r),e.fn(t,o,s,n,e.info,a,l),c=!0);return c}function z(t,e){if(e){let r=e.name;return r==t||!(!e.structured||!(0,i.jg)(r,t))||!(!e.wildcard||!(0,i.SG)(r,t))}return!0}function M(t,e,r,o,s){let i="string"==typeof s.method?t[s.method]:s.method,n=s.property;i?i.call(t,t.__data[n],o[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function L(t,e,r){let o=(0,i.Jz)(e);return o!==e&&(H(t,d(o)+"-changed",r[e],e),!0)}function H(t,e,r,s){let i={value:r,queueProperty:!0};s&&(i.path=s),(0,o.r)(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function U(t,e,r,o,s,n){let a=(n?(0,i.Jz)(e):e)!=e?e:null,l=a?(0,i.U2)(t,a):t.__data[e];a&&void 0===l&&(l=r[e]),H(t,s.eventName,l,a)}function D(t,e,r,o,s){let i=t.__data[e];E.v1&&(i=(0,E.v1)(i,s.attrName,"attribute",t)),t._propertyToAttribute(e,s.attrName,i)}const F=(t,e,r)=>{let o=0,s=e.length-1,i=-1;for(;o<=s;){const n=o+s>>1,a=r.get(e[n].methodInfo)-r.get(t.methodInfo);if(a<0)o=n+1;else{if(!(a>0)){i=n;break}s=n-1}}i<0&&(i=s+1),e.splice(i,0,t)},j=(t,e,r,o,s)=>{const n=e[s?(0,i.Jz)(t):t];if(n)for(let e=0;e<n.length;e++){const i=n[e];i.info.lastRun===x||s&&!z(t,i.trigger)||(i.info.lastRun=x,F(i.info,r,o))}};function B(t,e,r,o,s){let i=Z(t,e,r,0,s);if(i===T)return!1;let n=s.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,i,!0):(t[n]=i,!1)}function Y(t,e,r,o,s,i,n){r.bindings=r.bindings||[];let a={kind:o,target:s,parts:i,literal:n,isCompound:1!==i.length};if(r.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||d(s)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let r=0;r<a.parts.length;r++){let o=a.parts[r];o.compoundIndex=r,J(t,e,a,o,l)}}function J(t,e,r,o,s){if(!o.literal)if("attribute"===r.kind&&"-"===r.target[0])console.warn("Cannot set attribute "+r.target+' because "-" is not a valid attribute starting character');else{let i=o.dependencies,n={index:s,binding:r,part:o,evaluator:t};for(let r=0;r<i.length;r++){let o=i[r];"string"==typeof o&&(o=ot(o),o.wildcard=!0),t._addTemplatePropertyEffect(e,o.rootProperty,{fn:V,info:n,trigger:o})}}}function V(t,e,r,o,s,n,a){let l=a[s.index],c=s.binding,d=s.part;if(n&&d.source&&e.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let o=r[e];e=(0,i.Iu)(d.source,c.target,e),l._setPendingPropertyOrPath(e,o,!1,!0)&&t._enqueueClient(l)}else{let i=s.evaluator._evaluateBinding(t,d,e,r,o,n);i!==T&&function(t,e,r,o,s){if(s=function(t,e,r,o){if(r.isCompound){let s=t.__dataCompoundStorage[r.target];s[o.compoundIndex]=e,e=s.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,s,r,o),E.v1&&(s=(0,E.v1)(s,r.target,r.kind,e)),"attribute"==r.kind)t._valueToNodeAttribute(e,s,r.target);else{let o=r.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[o]?e[$.READ_ONLY]&&e[$.READ_ONLY][o]||e._setPendingProperty(o,s)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,o,s)}}(t,l,c,d,i)}}function q(t,e){if(e.isCompound){let r=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),s=e.parts,i=new Array(s.length);for(let t=0;t<s.length;t++)i[t]=s[t].literal;let n=e.target;r[n]=i,e.literal&&"property"==e.kind&&("className"===n&&(t=(0,o.r)(t)),t[n]=e.literal)}}function W(t,e,r){if(r.listenerEvent){let o=r.parts[0];t.addEventListener(r.listenerEvent,(function(t){!function(t,e,r,o,s){let n,a=t.detail,l=a&&a.path;l?(o=(0,i.Iu)(r,o,l),n=a&&a.value):n=t.currentTarget[r],n=s?!n:n,e[$.READ_ONLY]&&e[$.READ_ONLY][o]||!e._setPendingPropertyOrPath(o,n,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,r.target,o.source,o.negate)}))}}function K(t,e,r,o,s,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:s,dynamicFn:i};for(let s,i=0;i<e.args.length&&(s=e.args[i]);i++)s.literal||t._addPropertyEffect(s.rootProperty,r,{fn:o,info:n,trigger:s});return i&&t._addPropertyEffect(e.methodName,r,{fn:o,info:n}),n}function Z(t,e,r,o,s){let i=t._methodHost||t,n=i[s.methodName];if(n){let o=t._marshalArgs(s.args,e,r);return o===T?T:n.apply(i,o)}s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const G=[],X="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Q="(?:("+X+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",tt=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+X+"\\s*(?:\\(\\s*(?:(?:"+Q+"(?:,\\s*"+Q+")*)?)\\)\\s*)?)(?:]]|}})","g");function et(t){let e="";for(let r=0;r<t.length;r++)e+=t[r].literal||"";return e}function rt(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:G};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let r=ot(t);return r.literal||(e.static=!1),r}),this),e}(e[2].replace(/\\,/g,"&comma;").split(","),t):t}return null}function ot(t){let e=t.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),r={name:e,value:"",literal:!1},o=e[0];switch("-"===o&&(o=e[1]),o>="0"&&o<="9"&&(o="#"),o){case"'":case'"':r.value=e.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(e),r.literal=!0}return r.literal||(r.rootProperty=(0,i.Jz)(e),r.structured=(0,i.AZ)(e),r.structured&&(r.wildcard=".*"==e.slice(-2),r.wildcard&&(r.name=e.slice(0,-2)))),r}function st(t,e,r){let o=(0,i.U2)(t,r);return void 0===o&&(o=e[r]),o}function it(t,e,r,o){const s={indexSplices:o};E.HY&&!t._overrideLegacyUndefined&&(e.splices=s),t.notifyPath(r+".splices",s),t.notifyPath(r+".length",e.length),E.HY&&!t._overrideLegacyUndefined&&(s.indexSplices=[])}function nt(t,e,r,o,s,i){it(t,e,r,[{index:o,addedCount:s,removed:i,object:e,type:"splice"}])}const at=(0,s.o)((t=>{const e=S(m(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return $}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(lt.length){let t=lt[lt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[$.READ_ONLY];for(let r in t)e&&e[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=t[r])}_addPropertyEffect(t,e,r){this._createPropertyAccessor(t,e==$.READ_ONLY);let o=k(this,e,!0)[t];o||(o=this[e][t]=[]),o.push(r)}_removePropertyEffect(t,e,r){let o=k(this,e,!0)[t],s=o.indexOf(r);s>=0&&o.splice(s,1)}_hasPropertyEffect(t,e){let r=this[e];return Boolean(r&&r[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,$.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,$.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,$.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,$.COMPUTE)}_setPendingPropertyOrPath(t,e,r,o){if(o||(0,i.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!o){let r=(0,i.U2)(this,t);if(!(t=(0,i.t8)(this,t,e))||!super._shouldPropertyChange(t,e,r))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,r))return function(t,e,r){let o=t.__dataLinkedPaths;if(o){let s;for(let n in o){let a=o[n];(0,i.SG)(n,e)?(s=(0,i.Iu)(n,a,e),t._setPendingPropertyOrPath(s,r,!0,!0)):(0,i.SG)(a,e)&&(s=(0,i.Iu)(a,n,e),t._setPendingPropertyOrPath(s,r,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,r);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,r){r===t[e]&&"object"!=typeof r||("className"===e&&(t=(0,o.r)(t)),t[e]=r)}_setPendingProperty(t,e,r){let o=this.__dataHasPaths&&(0,i.AZ)(t),s=o?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,s[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),o?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(o||this[$.NOTIFY]&&this[$.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=r),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let r=t[e];r.__dataEnabled?r.__dataPending&&r._flushProperties():r._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let r in t)!e&&this[$.READ_ONLY]&&this[$.READ_ONLY][r]||this._setPendingPropertyOrPath(r,t[r],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,r){let o,s=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,r,o){let s=t[$.COMPUTE];if(s)if(E.ls){x++;const i=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const r=t[$.COMPUTE];let o,{counts:s,ready:i,total:n}=function(t){const e=t[O],r={},o=t[$.COMPUTE],s=[];let i=0;for(let t in e){const o=e[t];i+=r[t]=o.args.filter((t=>!t.literal)).length+(o.dynamicFn?1:0)}for(let t in o)e[t]||s.push(t);return{counts:r,ready:s,total:i}}(t);for(;o=i.shift();){e.set(o,e.size);const t=r[o];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--s[e]&&i.push(e)}))}if(0!==n){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),n=[];for(let t in e)j(t,s,n,i,o);let a;for(;a=n.shift();)B(t,"",e,0,a)&&j(a.methodInfo,s,n,i,o);Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let i=e;for(;I(t,s,i,r,o);)Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),i=t.__dataPending,t.__dataPending=null}}(this,e,r,s),o=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,r,s),this._flushClients(),I(this,this[$.REFLECT],e,r,s),I(this,this[$.OBSERVE],e,r,s),o&&function(t,e,r,o,s){let i,n,a=t[$.NOTIFY],l=x++;for(let n in e)e[n]&&(a&&R(t,a,l,n,r,o,s)||s&&L(t,n,r))&&(i=!0);i&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,o,e,r,s),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,r){this[$.PROPAGATE]&&I(this,this[$.PROPAGATE],t,e,r),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,r)}_runEffectsForTemplate(t,e,r,o){const s=(e,o)=>{I(this,t.propertyEffects,e,r,o,t.nodeList);for(let s=t.firstChild;s;s=s.nextSibling)this._runEffectsForTemplate(s,e,r,o)};t.runEffects?t.runEffects(s,e,o):s(e,o)}linkPaths(t,e){t=(0,i.Fv)(t),e=(0,i.Fv)(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=(0,i.Fv)(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let r={path:""};it(this,(0,i.U2)(this,t,r),r.path,e)}get(t,e){return(0,i.U2)(e||this,t)}set(t,e,r){r?(0,i.t8)(r,t,e):this[$.READ_ONLY]&&this[$.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let r={path:""},o=(0,i.U2)(this,t,r),s=o.length,n=o.push(...e);return e.length&&nt(this,o,r.path,s,e.length,[]),n}pop(t){let e={path:""},r=(0,i.U2)(this,t,e),o=Boolean(r.length),s=r.pop();return o&&nt(this,r,e.path,r.length,0,[s]),s}splice(t,e,r,...o){let s,n={path:""},a=(0,i.U2)(this,t,n);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),s=2===arguments.length?a.splice(e):a.splice(e,r,...o),(o.length||s.length)&&nt(this,a,n.path,e,o.length,s),s}shift(t){let e={path:""},r=(0,i.U2)(this,t,e),o=Boolean(r.length),s=r.shift();return o&&nt(this,r,e.path,0,0,[s]),s}unshift(t,...e){let r={path:""},o=(0,i.U2)(this,t,r),s=o.unshift(...e);return e.length&&nt(this,o,r.path,0,e.length,[]),s}notifyPath(t,e){let r;if(1==arguments.length){let o={path:""};e=(0,i.U2)(this,t,o),r=o.path}else r=Array.isArray(t)?(0,i.Fv)(t):t;this._setPendingPropertyOrPath(r,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var r;this._addPropertyEffect(t,$.READ_ONLY),e&&(this["_set"+(r=t,r[0].toUpperCase()+r.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,r){let o={property:t,method:e,dynamicFn:Boolean(r)};this._addPropertyEffect(t,$.OBSERVE,{fn:M,info:o,trigger:{name:t}}),r&&this._addPropertyEffect(e,$.OBSERVE,{fn:M,info:o,trigger:{name:e}})}_createMethodObserver(t,e){let r=rt(t);if(!r)throw new Error("Malformed observer expression '"+t+"'");K(this,r,$.OBSERVE,Z,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,$.NOTIFY,{fn:U,info:{eventName:d(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,$.REFLECT,{fn:D,info:{attrName:e}})}_createComputedProperty(t,e,r){let o=rt(e);if(!o)throw new Error("Malformed computed expression '"+e+"'");const s=K(this,o,$.COMPUTE,B,t,r);k(this,O)[t]=s}_marshalArgs(t,e,r){const o=this.__data,s=[];for(let n=0,a=t.length;n<a;n++){let{name:a,structured:l,wildcard:c,value:d,literal:h}=t[n];if(!h)if(c){const t=(0,i.SG)(a,e),s=st(o,r,t?e:a);d={path:t?e:a,value:s,base:t?(0,i.U2)(o,a):s}}else d=l?st(o,r,a):o[a];if(E.HY&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return T;s[n]=d}return s}static addPropertyEffect(t,e,r){this.prototype._addPropertyEffect(t,e,r)}static createPropertyObserver(t,e,r){this.prototype._createPropertyObserver(t,e,r)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,r){this.prototype._createComputedProperty(t,e,r)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let r=this.constructor._parseTemplate(t),o=this.__preBoundTemplateInfo==r;if(!o)for(let t in r.propertyEffects)this._createPropertyAccessor(t);if(e)if(r=Object.create(r),r.wasPreBound=o,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,o=e.lastChild;r.parent=e,e.lastChild=r,r.previousSibling=o,o?o.nextSibling=r:e.firstChild=r}else this.__templateInfo=r;else this.__preBoundTemplateInfo=r;return r}static _addTemplatePropertyEffect(t,e,r){(t.hostProps=t.hostProps||{})[e]=!0;let o=t.propertyEffects=t.propertyEffects||{};(o[e]=o[e]||[]).push(r)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),lt.push(this);let r=super._stampTemplate(t,e);if(lt.pop(),e.nodeList=r.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=r.firstChild;e;e=e.nextSibling)t.push(e)}return r.templateInfo=e,function(t,e){let{nodeList:r,nodeInfoList:o}=e;if(o.length)for(let e=0;e<o.length;e++){let s=o[e],i=r[e],n=s.bindings;if(n)for(let e=0;e<n.length;e++){let r=n[e];q(i,r),W(i,t,r)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),r}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:r,nextSibling:s,parent:i}=e;r?r.nextSibling=s:i&&(i.firstChild=s),s?s.previousSibling=r:i&&(i.lastChild=r),e.nextSibling=e.previousSibling=null;let n=e.childNodes;for(let t=0;t<n.length;t++){let e=n[t];(0,o.r)((0,o.r)(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,r,o){let s=e._parseTemplateNode.call(this,t,r,o);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,r);e&&(t.textContent=et(e)||" ",Y(this,r,o,"text","textContent",e),s=!0)}return s}static _parseTemplateNodeAttribute(t,r,o,s,i){let n=this._parseBindings(i,r);if(n){let e=s,i="property";N.test(s)?i="attribute":"$"==s[s.length-1]&&(s=s.slice(0,-1),i="attribute");let a=et(n);return a&&"attribute"==i&&("class"==s&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(s)),t.setAttribute(s,a)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(s,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(s=c(s)),Y(this,r,o,i,s,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,r,o,s,i)}static _parseTemplateNestedTemplate(t,r,o){let s=e._parseTemplateNestedTemplate.call(this,t,r,o);const i=t.parentNode,n=o.templateInfo,a="dom-if"===i.localName,l="dom-repeat"===i.localName;E.gx&&(a||l)&&(i.removeChild(t),(o=o.parentInfo).templateInfo=n,o.noted=!0,s=!1);let c=n.hostProps;if(E.ew&&a)c&&(r.hostProps=Object.assign(r.hostProps||{},c),E.gx||(o.parentInfo.noted=!0));else{let t="{";for(let e in c)Y(this,r,o,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return s}static _parseBindings(t,e){let r,o=[],s=0;for(;null!==(r=tt.exec(t));){r.index>s&&o.push({literal:t.slice(s,r.index)});let i=r[1][0],n=Boolean(r[2]),a=r[3].trim(),l=!1,c="",d=-1;"{"==i&&(d=a.indexOf("::"))>0&&(c=a.substring(d+2),a=a.substring(0,d),l=!0);let h=rt(a),u=[];if(h){let{args:t,methodName:r}=h;for(let e=0;e<t.length;e++){let r=t[e];r.literal||u.push(r)}let o=e.dynamicFns;(o&&o[r]||h.static)&&(u.push(r),h.dynamicFn=!0)}else u.push(a);o.push({source:a,mode:i,negate:n,customEvent:l,signature:h,dependencies:u,event:c}),s=tt.lastIndex}if(s&&s<t.length){let e=t.substring(s);e&&o.push({literal:e})}return o.length?o:null}static _evaluateBinding(t,e,r,o,s,n){let a;return a=e.signature?Z(t,r,o,0,e.signature):r!=e.source?(0,i.U2)(t,e.source):n&&(0,i.AZ)(r)?(0,i.U2)(t,r):t.__data[r],e.negate&&(a=!a),a}}})),lt=[]},2224:(t,e,r)=>{r.d(e,{Wc:()=>c,YA:()=>d}),r(7894);let o=0,s=0,i=[],n=0,a=!1,l=document.createTextNode("");new window.MutationObserver((function(){a=!1;const t=i.length;for(let e=0;e<t;e++){let t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),s+=t})).observe(l,{characterData:!0});const c={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},d={run:t=>(a||(a=!0,l.textContent=n++),i.push(t),o++),cancel(t){const e=t-s;if(e>=0){if(!i[e])throw new Error("invalid async handle: "+t);i[e]=null}}}},7894:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},91121:(t,e,r)=>{r.d(e,{d:()=>n}),r(7894);const o=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class s{constructor(t,e){a(t,e);const r=e.reduce(((e,r,o)=>e+i(r)+t[o+1]),t[0]);this.value=r.toString()}toString(){return this.value}}function i(t){if(t instanceof s)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const n=function(t,...e){a(t,e);const r=document.createElement("template");let n=e.reduce(((e,r,o)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof s)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(r)+t[o+1]),t[0]);return o&&(n=o.createHTML(n)),r.innerHTML=n,r},a=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},91014:(t,e,r)=>{r.d(e,{o:()=>i}),r(7894);let o=0;function s(){}s.prototype.__mixinApplications,s.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let r=o++;return function(o){let s=o.__mixinSet;if(s&&s[r])return o;let i=e,n=i.get(o);if(!n){n=t(o),i.set(o,n);let e=Object.create(n.__mixinSet||s||null);e[r]=!0,n.__mixinSet=e}return n}}},81446:(t,e,r)=>{function o(t){return t.indexOf(".")>=0}function s(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function i(t,e){return 0===t.indexOf(e+".")}function n(t,e){return 0===e.indexOf(t+".")}function a(t,e,r){return e+r.slice(t.length)}function l(t,e){return t===e||i(t,e)||n(t,e)}function c(t){if(Array.isArray(t)){let e=[];for(let r=0;r<t.length;r++){let o=t[r].toString().split(".");for(let t=0;t<o.length;t++)e.push(o[t])}return e.join(".")}return t}function d(t){return Array.isArray(t)?c(t).split("."):t.toString().split(".")}function h(t,e,r){let o=t,s=d(e);for(let t=0;t<s.length;t++){if(!o)return;o=o[s[t]]}return r&&(r.path=s.join(".")),o}function u(t,e,r){let o=t,s=d(e),i=s[s.length-1];if(s.length>1){for(let t=0;t<s.length-1;t++)if(o=o[s[t]],!o)return;o[i]=r}else o[e]=r;return s.join(".")}r.d(e,{AZ:()=>o,Fv:()=>c,Iu:()=>a,Jz:()=>s,SG:()=>n,U2:()=>h,jg:()=>i,t8:()=>u,wB:()=>l}),r(7894)},79967:(t,e,r)=>{r.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>c}),r(7894);let o,s,i=/(url\()([^)]*)(\))/g,n=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&n.test(t))return t;if("//"===t)return t;if(void 0===o){o=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",o="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),o)try{return new URL(t,e).href}catch(e){return t}return s||(s=document.implementation.createHTMLDocument("temp"),s.base=s.createElement("base"),s.head.appendChild(s.base),s.anchor=s.createElement("a"),s.body.appendChild(s.anchor)),s.base.href=e,s.anchor.href=t,s.anchor.href||t}function l(t,e){return t.replace(i,(function(t,r,o,s){return r+"'"+a(o.replace(/["']/g,""),e)+"'"+s}))}function c(t){return t.substring(0,t.lastIndexOf("/")+1)}},89387:(t,e,r)=>{r.d(e,{FV:()=>i,HY:()=>p,Hr:()=>u,XN:()=>l,ZN:()=>c,a2:()=>h,dJ:()=>v,ew:()=>g,gx:()=>y,ls:()=>_,md:()=>b,my:()=>s,nL:()=>d,sM:()=>n,v1:()=>a,xj:()=>f}),r(7894);var o=r(79967);const s=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,s&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let n=window.Polymer&&window.Polymer.rootPath||(0,o.iY)(document.baseURI||window.location.href),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let l=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,c=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,d=window.Polymer&&window.Polymer.legacyOptimizations||!1,h=window.Polymer&&window.Polymer.legacyWarnings||!1,u=window.Polymer&&window.Polymer.syncInitialRender||!1,p=window.Polymer&&window.Polymer.legacyUndefined||!1,_=window.Polymer&&window.Polymer.orderedComputed||!1,m=!0;const f=function(t){m=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,g=window.Polymer&&window.Polymer.fastDomIf||!1,v=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let b=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},31342:(t,e,r)=>{r.d(e,{r:()=>o});const o=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t},74241:(t,e,r)=>{r.d(e,{H3:()=>T,dy:()=>x.d}),r(7894);var o=r(89387),s=r(91014),i=r(79967);let n={},a={};function l(t,e){n[t]=a[t.toLowerCase()]=e}function c(t){return n[t]||a[t.toLowerCase()]}class d extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let r=c(t);return r&&e?r.querySelector(e):r}return null}attributeChangedCallback(t,e,r,o){e!==r&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,i.Kk)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,i.iY)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(o.XN&&void 0!==c(t))throw l(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,l(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}d.prototype.modules=n,customElements.define("dom-module",d);const h="link[rel=import][type~=css]",u="include",p="shady-unscoped";function _(t){return d.import(t)}function m(t){let e=t.body?t.body:t;const r=(0,i.Rq)(e.textContent,t.baseURI),o=document.createElement("style");return o.textContent=r,o}function f(t){const e=t.trim().split(/\s+/),r=[];for(let t=0;t<e.length;t++)r.push(...y(e[t]));return r}function y(t){const e=_(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...v(e));const r=e.querySelector("template");r&&t.push(...g(r,e.assetpath)),e._styles=t}return e._styles}function g(t,e){if(!t._styles){const r=[],o=t.content.querySelectorAll("style");for(let t=0;t<o.length;t++){let s=o[t],n=s.getAttribute(u);n&&r.push(...f(n).filter((function(t,e,r){return r.indexOf(t)===e}))),e&&(s.textContent=(0,i.Rq)(s.textContent,e)),r.push(s)}t._styles=r}return t._styles}function v(t){const e=[],r=t.querySelectorAll(h);for(let t=0;t<r.length;t++){let o=r[t];if(o.import){const t=o.import,r=o.hasAttribute(p);if(r&&!t._unscopedStyle){const e=m(t);e.setAttribute(p,""),t._unscopedStyle=e}else t._style||(t._style=m(t));e.push(r?t._unscopedStyle:t._style)}}return e}var b=r(74933);const P=[];var w=r(77221);const A=(0,s.o)((t=>{const e=(0,w.e)(t);function r(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof s?e:null}function o(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const r=t.properties;r&&(e=function(t){const e={};for(let r in t){const o=t[r];e[r]="function"==typeof o?{type:o}:o}return e}(r))}t.__ownProperties=e}return t.__ownProperties}class s extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,P.push(t);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}var t;return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=r(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=o(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=r(this);this.__properties=Object.assign({},t&&t._properties,o(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return s}));var C=r(31342);const S=window.ShadyCSS&&window.ShadyCSS.cssBuild,E=(0,s.o)((t=>{const e=A((0,b.q)(t));return class extends e{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((r=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",r))||(r.__ownObservers=r.hasOwnProperty(JSCompiler_renameProperty("observers",r))?r.observers:null),r.__ownObservers);var r;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):o.nL||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let i in t)e=this.prototype,r=i,s=t,(o=t[i]).computed&&(o.readOnly=!0),o.computed&&(e._hasReadOnlyEffect(r)?console.warn(`Cannot redefine computed property '${r}'.`):e._createComputedProperty(r,o.computed,s)),o.readOnly&&!e._hasReadOnlyEffect(r)?e._createReadOnlyProperty(r,!o.computed):!1===o.readOnly&&e._hasReadOnlyEffect(r)&&console.warn(`Cannot make readOnly property '${r}' non-readOnly.`),o.reflectToAttribute&&!e._hasReflectEffect(r)?e._createReflectedProperty(r):!1===o.reflectToAttribute&&e._hasReflectEffect(r)&&console.warn(`Cannot make reflected property '${r}' non-reflected.`),o.notify&&!e._hasNotifyEffect(r)?e._createNotifyingProperty(r):!1===o.notify&&e._hasNotifyEffect(r)&&console.warn(`Cannot make notify property '${r}' non-notify.`),o.observer&&e._createPropertyObserver(r,o.observer,s[o.observer]),e._addPropertyToAttributeMap(r);var e,r,o,s}static createObservers(t,e){const r=this.prototype;for(let o=0;o<t.length;o++)r._createMethodObserver(t[o],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!o.XN||o.ZN)&&(e=d.import(t,"template"),o.XN&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,i.iY)(t.url);else{const t=d.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=o.sM,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let r in e){let o=e[r];"value"in o&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[r]=o)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let r=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof r.value?r.value.call(this):r.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,i.Rq)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const r=this.importPath;(function(t,e,r,s){if(!S){const o=e.content.querySelectorAll("style"),i=g(e),n=function(t){let e=_(t);return e?v(e):[]}(r),a=e.content.firstElementChild;for(let r=0;r<n.length;r++){let o=n[r];o.textContent=t._processStyleText(o.textContent,s),e.content.insertBefore(o,a)}let l=0;for(let e=0;e<i.length;e++){let r=i[e],n=o[l];n!==r?(r=r.cloneNode(!0),n.parentNode.insertBefore(r,n)):l++,r.textContent=t._processStyleText(r.textContent,s)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,r),o.md&&S&&o.FV){const r=e.content.querySelectorAll("style");if(r){let e="";Array.from(r).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,r?(0,i.Kk)(r):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=(0,C.r)(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),o.Hr&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,i.Kk)(this.importPath)),(0,i.Kk)(t,e)}static _parseTemplateContent(t,r,o){return r.dynamicFns=r.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,r,o)}static _addTemplatePropertyEffect(t,r,s){return!o.a2||r in this._properties||s.info.part.signature&&s.info.part.signature.static||s.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${r}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,r,s)}}}));var x=r(91121);const T=E(HTMLElement)},87913:(t,e,r)=>{r.d(e,{Wc:()=>a,YA:()=>d,rs:()=>l,t$:()=>c});let o=0,s=0;const i=[];let n=!1;const a={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},l={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},c={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},d={run(t){n||(n=!0,queueMicrotask((()=>function(){n=!1;const t=i.length;for(let e=0;e<t;e++){const t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),s+=t}()))),i.push(t);const e=o;return o+=1,e},cancel(t){const e=t-s;if(e>=0){if(!i[e])throw new Error(`invalid async handle: ${t}`);i[e]=null}}}},36139:(t,e,r)=>{r.d(e,{Ex:()=>i,dx:()=>s,yl:()=>a});const o=new Set;class s{static debounce(t,e,r){return t instanceof s?t._cancelAsync():t=new s,t.setConfig(e,r),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,o.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),o.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}}function i(t){o.add(t)}function n(){const t=Boolean(o.size);return o.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t}const a=()=>{let t;do{t=n()}while(t)}},52807:(t,e,r)=>{function o(t){const e=customElements.get(t.is);if(e){const r=e.version;r&&t.version&&r===t.version?console.warn(`The component ${t.is} has been loaded twice`):console.error(`Tried to define ${t.is} version ${t.version} when version ${e.version} is already in use. Something will probably break.`)}else Object.defineProperty(t,"version",{get:()=>"24.3.10"}),customElements.define(t.is,t)}r.d(e,{M:()=>o})},51914:(t,e,r)=>{r.d(e,{U:()=>n});const o=[];function s(t,e,r=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=r&&t.removeAttribute("dir")}function i(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=i();o.forEach((e=>{s(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const n=t=>class extends t{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>""===t?null:t}}}}get __isRTL(){return"rtl"===this.getAttribute("dir")}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")&&!this.__restoreSubscription||(this.__subscribe(),s(this,i(),null))}attributeChangedCallback(t,e,r){if(super.attributeChangedCallback(t,e,r),"dir"!==t)return;const n=i(),a=r===n&&-1===o.indexOf(this),l=!r&&e&&-1===o.indexOf(this),c=r!==n&&e===n;a||l?(this.__subscribe(),s(this,n,r)):c&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=o.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,r){("dir"!==r||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,r)}_attributeToProperty(t,e,r){"dir"!==t||e?super._attributeToProperty(t,e,r):this.dir=""}__subscribe(){o.includes(this)||o.push(this)}__unsubscribe(){o.includes(this)&&o.splice(o.indexOf(this),1)}}},51195:(t,e,r)=>{r(24407);var o=r(46570),s=r(32463);const i=o.iv`
3
3
  :host {
4
4
  /* Base (background) */
5
5
  --lumo-base-color: #fff;
@@ -199,7 +199,7 @@
199
199
  background-color: var(--lumo-contrast-10pct);
200
200
  border-radius: var(--lumo-border-radius-m);
201
201
  }
202
- `;(0,o.hC)("",n,{moduleId:"lumo-color"})},2463:(t,e,r)=>{r.d(e,{K:()=>o}),r(6570);const o=(t,...e)=>{((t,...e)=>{const r=document.createElement("style");r.id=t,r.textContent=e.map((t=>t.toString())).join("\n").replace(":host","html"),document.head.insertAdjacentElement("afterbegin",r)})(`lumo-${t}`,e)}},9416:(t,e,r)=>{r(4407);var o=r(6570),s=r(2463);const i=o.iv`
202
+ `;(0,o.hC)("",n,{moduleId:"lumo-color"})},32463:(t,e,r)=>{r.d(e,{K:()=>o}),r(46570);const o=(t,...e)=>{((t,...e)=>{const r=document.createElement("style");r.id=t,r.textContent=e.map((t=>t.toString())).join("\n").replace(":host","html"),document.head.insertAdjacentElement("afterbegin",r)})(`lumo-${t}`,e)}},29416:(t,e,r)=>{r(24407);var o=r(46570),s=r(32463);const i=o.iv`
203
203
  :host {
204
204
  /* Square */
205
205
  --lumo-space-xs: 0.25rem;
@@ -222,7 +222,7 @@
222
222
  --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
223
223
  --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
224
224
  }
225
- `;(0,s.K)("spacing-props",i)},9849:(t,e,r)=>{r(4407);var o=r(6570),s=r(2463);const i=o.iv`
225
+ `;(0,s.K)("spacing-props",i)},29849:(t,e,r)=>{r(24407);var o=r(46570),s=r(32463);const i=o.iv`
226
226
  :host {
227
227
  /* Border radius */
228
228
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -316,4 +316,4 @@
316
316
  --vaadin-input-field-value-font-size: var(--lumo-font-size-m);
317
317
  --vaadin-input-field-value-font-weight: 400;
318
318
  }
319
- `,(0,s.K)("style-props",i)},4407:(t,e,r)=>{var o=r(2807);class s extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}(0,o.M)(s)},6570:(t,e,r)=>{r.d(e,{Tb:()=>u,hC:()=>a,iv:()=>o.iv});var o=r(235),s=r(1462);const i=[];function n(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function a(t,e,r={}){var s;t&&(s=t,n(customElements.get(s))&&console.warn(`The custom element definition for "${t}"\n was finalized before a style module was registered.\n Make sure to add component specific style modules before\n importing the corresponding custom element.`)),e=function(t=[]){return[t].flat(1/0).filter((t=>t instanceof o.c3||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(e),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(t,e,r):i.push({themeFor:t,styles:e,include:r.include,moduleId:r.moduleId})}function l(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():i}function c(t=""){let e=0;return t.startsWith("lumo-")||t.startsWith("material-")?e=1:t.startsWith("vaadin-")&&(e=2),e}function d(t){const e=[];return t.include&&[].concat(t.include).forEach((t=>{const r=l().find((e=>e.moduleId===t));r?e.push(...d(r),...r.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function h(t){const e=`${t}-default-theme`,r=l().filter((r=>r.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(r.themeFor,t))).map((t=>({...t,styles:[...d(t),...t.styles],includePriority:c(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return r.length>0?r:l().filter((t=>t.moduleId===e))}const u=t=>class extends((0,s.I)(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!n(this)&&function(t,e){const r=document.createElement("style");r.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(r)}(this.getStylesForThis(),t)}static finalizeStyles(t){const e=this.getStylesForThis();return t?[...super.finalizeStyles(t),...e]:e}static getStylesForThis(){const t=Object.getPrototypeOf(this.prototype),e=(t?t.constructor.__themes:[])||[];this.__themes=[...e,...h(this.is)];const r=this.__themes.flatMap((t=>t.styles));return r.filter(((t,e)=>e===r.lastIndexOf(t)))}}},1462:(t,e,r)=>{r.d(e,{I:()=>o});const o=t=>class extends t{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),"theme"===t&&this._set_theme(r)}}},3692:(t,e,r)=>{r.d(e,{Jb:()=>S,Ld:()=>E,YP:()=>C,_$LH:()=>D,sY:()=>j});const o=globalThis,s=o.trustedTypes,i=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,n="$lit$",a=`lit$${(Math.random()+"").slice(9)}$`,l="?"+a,c=`<${l}>`,d=document,h=()=>d.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,_=t=>p(t)||"function"==typeof t?.[Symbol.iterator],m="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,g=/>/g,v=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,P=/"/g,w=/^(?:script|style|textarea|title)$/i,A=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),C=(A(1),A(2)),S=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),x=new WeakMap,T=d.createTreeWalker(d,129);function $(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==i?i.createHTML(e):e}const O=(t,e)=>{const r=t.length-1,o=[];let s,i=2===e?"<svg>":"",l=f;for(let e=0;e<r;e++){const r=t[e];let d,h,u=-1,p=0;for(;p<r.length&&(l.lastIndex=p,h=l.exec(r),null!==h);)p=l.lastIndex,l===f?"!--"===h[1]?l=y:void 0!==h[1]?l=g:void 0!==h[2]?(w.test(h[2])&&(s=RegExp("</"+h[2],"g")),l=v):void 0!==h[3]&&(l=v):l===v?">"===h[0]?(l=s??f,u=-1):void 0===h[1]?u=-2:(u=l.lastIndex-h[2].length,d=h[1],l=void 0===h[3]?v:'"'===h[3]?P:b):l===P||l===b?l=v:l===y||l===g?l=f:(l=v,s=void 0);const _=l===v&&t[e+1].startsWith("/>")?" ":"";i+=l===f?r+c:u>=0?(o.push(d),r.slice(0,u)+n+r.slice(u)+a+_):r+a+(-2===u?e:_)}return[$(t,i+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};class N{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let i=0,c=0;const d=t.length-1,u=this.parts,[p,_]=O(t,e);if(this.el=N.createElement(p,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=T.nextNode())&&u.length<d;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(n)){const e=_[c++],r=o.getAttribute(t).split(a),s=/([.?@])?(.*)/.exec(e);u.push({type:1,index:i,name:s[2],strings:r,ctor:"."===s[1]?M:"?"===s[1]?L:"@"===s[1]?H:z}),o.removeAttribute(t)}else t.startsWith(a)&&(u.push({type:6,index:i}),o.removeAttribute(t));if(w.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=s?s.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],h()),T.nextNode(),u.push({type:2,index:++i});o.append(t[e],h())}}}else if(8===o.nodeType)if(o.data===l)u.push({type:2,index:i});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)u.push({type:7,index:i}),t+=a.length-1}i++}}static createElement(t,e){const r=d.createElement("template");return r.innerHTML=t,r}}function k(t,e,r=t,o){if(e===S)return e;let s=void 0!==o?r._$Co?.[o]:r._$Cl;const i=u(e)?void 0:e._$litDirective$;return s?.constructor!==i&&(s?._$AO?.(!1),void 0===i?s=void 0:(s=new i(t),s._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=s:r._$Cl=s),void 0!==s&&(e=k(t,s._$AS(t,e.values),s,o)),e}class I{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){const{el:{content:e},parts:r}=this._$AD,o=(t?.creationScope??d).importNode(e,!0);T.currentNode=o;let s=T.nextNode(),i=0,n=0,a=r[0];for(;void 0!==a;){if(i===a.index){let e;2===a.type?e=new R(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new U(s,this,t)),this._$AV.push(e),a=r[++n]}i!==a?.index&&(s=T.nextNode(),i++)}return T.currentNode=d,o}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=k(this,t,e),u(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==E&&u(this._$AH)?this._$AA.nextSibling.data=t:this.$(d.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=N.createElement($(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new I(o,this),r=t.u(this.options);t.p(e),this.$(r),this._$AH=t}}_$AC(t){let e=x.get(t.strings);return void 0===e&&x.set(t.strings,e=new N(t)),e}T(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,o=0;for(const s of t)o===e.length?e.push(r=new R(this.k(h()),this.k(h()),this,this.options)):r=e[o],r._$AI(s),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class z{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,s){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=E}_$AI(t,e=this,r,o){const s=this.strings;let i=!1;if(void 0===s)t=k(this,t,e,0),i=!u(t)||t!==this._$AH&&t!==S,i&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=k(this,o[r+n],e,n),a===S&&(a=this._$AH[n]),i||=!u(a)||a!==this._$AH[n],a===E?t=E:t!==E&&(t+=(a??"")+s[n+1]),this._$AH[n]=a}i&&!o&&this.O(t)}O(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M extends z{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===E?void 0:t}}class L extends z{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class H extends z{constructor(t,e,r,o,s){super(t,e,r,o,s),this.type=5}_$AI(t,e=this){if((t=k(this,t,e,0)??E)===S)return;const r=this._$AH,o=t===E&&r!==E||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==E&&(r===E||o);o&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class U{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){k(this,t)}}const D={j:n,P:a,A:l,C:1,M:O,L:I,R:_,V:k,D:R,I:z,H:L,N:H,U:M,B:U},F=o.litHtmlPolyfillSupport;F?.(N,R),(o.litHtmlVersions??=[]).push("3.1.1");const j=(t,e,r)=>{const o=r?.renderBefore??e;let s=o._$litPart$;if(void 0===s){const t=r?.renderBefore??null;o._$litPart$=s=new R(e.insertBefore(h(),t),t,void 0,r??{})}return s._$AI(t),s}},235:(t,e,r)=>{r.d(e,{c3:()=>a,iv:()=>l,Ld:()=>E.Ld,sY:()=>E.sY,YP:()=>E.YP});const o=globalThis,s=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;class a{constructor(t,e,r){if(this._$cssResult$=!0,r!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&n.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1]),t[0]);return new a(r,t,i)},c=(t,e)=>{if(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),s=o.litNonce;void 0!==s&&e.setAttribute("nonce",s),e.textContent=r.cssText,t.appendChild(e)}},d=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,i))(e)})(t):t,{is:h,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:_,getOwnPropertySymbols:m,getPrototypeOf:f}=Object,y=globalThis,g=y.trustedTypes,v=g?g.emptyScript:"",b=y.reactiveElementPolyfillSupport,P=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},A=(t,e)=>!h(t,e),C={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:A};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class S extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=C){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&u(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:s}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const i=o?.call(this);s.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(P("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(P("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(P("properties"))){const t=this.properties,e=[..._(t),...m(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return c(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EO(t,e){const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const s=(void 0!==r.converter?.toAttribute?r.converter:w).toAttribute(e,r.type);this._$Em=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=o,this[o]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??A)(this[t],e))return;this.C(t,e,r)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$ET??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$Ej()}catch(e){throw t=!1,this._$Ej(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ej(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$ET&&=this._$ET.forEach((t=>this._$EO(t,this[t]))),this._$Ej()}updated(t){}firstUpdated(t){}}S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[P("elementProperties")]=new Map,S[P("finalized")]=new Map,b?.({ReactiveElement:S}),(y.reactiveElementVersions??=[]).push("2.0.3");var E=r(3692);class x extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,E.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return E.Jb}}x._$litElement$=!0,x.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:x});const T=globalThis.litElementPolyfillSupport;T?.({LitElement:x}),(globalThis.litElementVersions??=[]).push("4.0.3")}}]);
319
+ `,(0,s.K)("style-props",i)},24407:(t,e,r)=>{var o=r(52807);class s extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}(0,o.M)(s)},46570:(t,e,r)=>{r.d(e,{Tb:()=>u,hC:()=>a,iv:()=>o.iv});var o=r(9392),s=r(61462);const i=[];function n(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function a(t,e,r={}){var s;t&&(s=t,n(customElements.get(s))&&console.warn(`The custom element definition for "${t}"\n was finalized before a style module was registered.\n Make sure to add component specific style modules before\n importing the corresponding custom element.`)),e=function(t=[]){return[t].flat(1/0).filter((t=>t instanceof o.c3||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(e),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(t,e,r):i.push({themeFor:t,styles:e,include:r.include,moduleId:r.moduleId})}function l(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():i}function c(t=""){let e=0;return t.startsWith("lumo-")||t.startsWith("material-")?e=1:t.startsWith("vaadin-")&&(e=2),e}function d(t){const e=[];return t.include&&[].concat(t.include).forEach((t=>{const r=l().find((e=>e.moduleId===t));r?e.push(...d(r),...r.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function h(t){const e=`${t}-default-theme`,r=l().filter((r=>r.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(r.themeFor,t))).map((t=>({...t,styles:[...d(t),...t.styles],includePriority:c(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return r.length>0?r:l().filter((t=>t.moduleId===e))}const u=t=>class extends((0,s.I)(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!n(this)&&function(t,e){const r=document.createElement("style");r.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(r)}(this.getStylesForThis(),t)}static finalizeStyles(t){const e=this.getStylesForThis();return t?[...super.finalizeStyles(t),...e]:e}static getStylesForThis(){const t=Object.getPrototypeOf(this.prototype),e=(t?t.constructor.__themes:[])||[];this.__themes=[...e,...h(this.is)];const r=this.__themes.flatMap((t=>t.styles));return r.filter(((t,e)=>e===r.lastIndexOf(t)))}}},61462:(t,e,r)=>{r.d(e,{I:()=>o});const o=t=>class extends t{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),"theme"===t&&this._set_theme(r)}}},33692:(t,e,r)=>{r.d(e,{Jb:()=>S,Ld:()=>E,YP:()=>C,_$LH:()=>D,sY:()=>j});const o=globalThis,s=o.trustedTypes,i=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,n="$lit$",a=`lit$${(Math.random()+"").slice(9)}$`,l="?"+a,c=`<${l}>`,d=document,h=()=>d.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,_=t=>p(t)||"function"==typeof t?.[Symbol.iterator],m="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,g=/>/g,v=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,P=/"/g,w=/^(?:script|style|textarea|title)$/i,A=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),C=(A(1),A(2)),S=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),x=new WeakMap,T=d.createTreeWalker(d,129);function $(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==i?i.createHTML(e):e}const O=(t,e)=>{const r=t.length-1,o=[];let s,i=2===e?"<svg>":"",l=f;for(let e=0;e<r;e++){const r=t[e];let d,h,u=-1,p=0;for(;p<r.length&&(l.lastIndex=p,h=l.exec(r),null!==h);)p=l.lastIndex,l===f?"!--"===h[1]?l=y:void 0!==h[1]?l=g:void 0!==h[2]?(w.test(h[2])&&(s=RegExp("</"+h[2],"g")),l=v):void 0!==h[3]&&(l=v):l===v?">"===h[0]?(l=s??f,u=-1):void 0===h[1]?u=-2:(u=l.lastIndex-h[2].length,d=h[1],l=void 0===h[3]?v:'"'===h[3]?P:b):l===P||l===b?l=v:l===y||l===g?l=f:(l=v,s=void 0);const _=l===v&&t[e+1].startsWith("/>")?" ":"";i+=l===f?r+c:u>=0?(o.push(d),r.slice(0,u)+n+r.slice(u)+a+_):r+a+(-2===u?e:_)}return[$(t,i+(t[r]||"<?>")+(2===e?"</svg>":"")),o]};class N{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let i=0,c=0;const d=t.length-1,u=this.parts,[p,_]=O(t,e);if(this.el=N.createElement(p,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=T.nextNode())&&u.length<d;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(n)){const e=_[c++],r=o.getAttribute(t).split(a),s=/([.?@])?(.*)/.exec(e);u.push({type:1,index:i,name:s[2],strings:r,ctor:"."===s[1]?M:"?"===s[1]?L:"@"===s[1]?H:z}),o.removeAttribute(t)}else t.startsWith(a)&&(u.push({type:6,index:i}),o.removeAttribute(t));if(w.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=s?s.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],h()),T.nextNode(),u.push({type:2,index:++i});o.append(t[e],h())}}}else if(8===o.nodeType)if(o.data===l)u.push({type:2,index:i});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)u.push({type:7,index:i}),t+=a.length-1}i++}}static createElement(t,e){const r=d.createElement("template");return r.innerHTML=t,r}}function k(t,e,r=t,o){if(e===S)return e;let s=void 0!==o?r._$Co?.[o]:r._$Cl;const i=u(e)?void 0:e._$litDirective$;return s?.constructor!==i&&(s?._$AO?.(!1),void 0===i?s=void 0:(s=new i(t),s._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=s:r._$Cl=s),void 0!==s&&(e=k(t,s._$AS(t,e.values),s,o)),e}class I{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){const{el:{content:e},parts:r}=this._$AD,o=(t?.creationScope??d).importNode(e,!0);T.currentNode=o;let s=T.nextNode(),i=0,n=0,a=r[0];for(;void 0!==a;){if(i===a.index){let e;2===a.type?e=new R(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new U(s,this,t)),this._$AV.push(e),a=r[++n]}i!==a?.index&&(s=T.nextNode(),i++)}return T.currentNode=d,o}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=k(this,t,e),u(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==E&&u(this._$AH)?this._$AA.nextSibling.data=t:this.$(d.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=N.createElement($(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new I(o,this),r=t.u(this.options);t.p(e),this.$(r),this._$AH=t}}_$AC(t){let e=x.get(t.strings);return void 0===e&&x.set(t.strings,e=new N(t)),e}T(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,o=0;for(const s of t)o===e.length?e.push(r=new R(this.k(h()),this.k(h()),this,this.options)):r=e[o],r._$AI(s),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class z{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,s){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=E}_$AI(t,e=this,r,o){const s=this.strings;let i=!1;if(void 0===s)t=k(this,t,e,0),i=!u(t)||t!==this._$AH&&t!==S,i&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=k(this,o[r+n],e,n),a===S&&(a=this._$AH[n]),i||=!u(a)||a!==this._$AH[n],a===E?t=E:t!==E&&(t+=(a??"")+s[n+1]),this._$AH[n]=a}i&&!o&&this.O(t)}O(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M extends z{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===E?void 0:t}}class L extends z{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class H extends z{constructor(t,e,r,o,s){super(t,e,r,o,s),this.type=5}_$AI(t,e=this){if((t=k(this,t,e,0)??E)===S)return;const r=this._$AH,o=t===E&&r!==E||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==E&&(r===E||o);o&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class U{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){k(this,t)}}const D={j:n,P:a,A:l,C:1,M:O,L:I,R:_,V:k,D:R,I:z,H:L,N:H,U:M,B:U},F=o.litHtmlPolyfillSupport;F?.(N,R),(o.litHtmlVersions??=[]).push("3.1.1");const j=(t,e,r)=>{const o=r?.renderBefore??e;let s=o._$litPart$;if(void 0===s){const t=r?.renderBefore??null;o._$litPart$=s=new R(e.insertBefore(h(),t),t,void 0,r??{})}return s._$AI(t),s}},9392:(t,e,r)=>{r.d(e,{c3:()=>a,iv:()=>l,Ld:()=>E.Ld,sY:()=>E.sY,YP:()=>E.YP});const o=globalThis,s=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;class a{constructor(t,e,r){if(this._$cssResult$=!0,r!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&n.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1]),t[0]);return new a(r,t,i)},c=(t,e)=>{if(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),s=o.litNonce;void 0!==s&&e.setAttribute("nonce",s),e.textContent=r.cssText,t.appendChild(e)}},d=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,i))(e)})(t):t,{is:h,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:_,getOwnPropertySymbols:m,getPrototypeOf:f}=Object,y=globalThis,g=y.trustedTypes,v=g?g.emptyScript:"",b=y.reactiveElementPolyfillSupport,P=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},A=(t,e)=>!h(t,e),C={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:A};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class S extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=C){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&u(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:s}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const i=o?.call(this);s.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(P("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(P("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(P("properties"))){const t=this.properties,e=[..._(t),...m(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return c(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EO(t,e){const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const s=(void 0!==r.converter?.toAttribute?r.converter:w).toAttribute(e,r.type);this._$Em=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=o,this[o]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??A)(this[t],e))return;this.C(t,e,r)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$ET??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$Ej()}catch(e){throw t=!1,this._$Ej(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ej(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$ET&&=this._$ET.forEach((t=>this._$EO(t,this[t]))),this._$Ej()}updated(t){}firstUpdated(t){}}S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[P("elementProperties")]=new Map,S[P("finalized")]=new Map,b?.({ReactiveElement:S}),(y.reactiveElementVersions??=[]).push("2.0.3");var E=r(33692);class x extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,E.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return E.Jb}}x._$litElement$=!0,x.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:x});const T=globalThis.litElementPolyfillSupport;T?.({LitElement:x}),(globalThis.litElementVersions??=[]).push("4.0.3")}}]);