@descope/web-components-ui 1.0.135 → 1.0.148

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/package.json +77 -56
  2. package/src/baseClasses/createBaseClass.js +18 -16
  3. package/src/baseClasses/createBaseInputClass.js +14 -8
  4. package/src/baseClasses/createCssVarImageClass.js +27 -23
  5. package/src/components/boolean-fields/booleanFieldMixin.js +18 -29
  6. package/src/components/boolean-fields/commonStyles.js +1 -1
  7. package/src/components/boolean-fields/descope-boolean-field-internal/BooleanFieldInternal.js +46 -51
  8. package/src/components/boolean-fields/descope-boolean-field-internal/index.js +1 -1
  9. package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +80 -85
  10. package/src/components/boolean-fields/descope-checkbox/index.js +2 -2
  11. package/src/components/boolean-fields/descope-switch-toggle/SwitchToggleClass.js +88 -95
  12. package/src/components/boolean-fields/descope-switch-toggle/index.js +2 -2
  13. package/src/components/descope-button/ButtonClass.js +57 -47
  14. package/src/components/descope-button/clickableMixin.js +10 -0
  15. package/src/components/descope-combo-box/ComboBoxClass.js +156 -160
  16. package/src/components/descope-container/ContainerClass.js +32 -42
  17. package/src/components/descope-date-picker/index.js +9 -14
  18. package/src/components/descope-divider/DividerClass.js +52 -62
  19. package/src/components/descope-email-field/EmailFieldClass.js +25 -20
  20. package/src/components/descope-image/ImageClass.js +21 -24
  21. package/src/components/descope-link/LinkClass.js +31 -35
  22. package/src/components/descope-loader-linear/LoaderLinearClass.js +31 -36
  23. package/src/components/descope-loader-radial/LoaderRadialClass.js +23 -30
  24. package/src/components/descope-logo/LogoClass.js +5 -1
  25. package/src/components/descope-new-password/NewPasswordClass.js +63 -81
  26. package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +157 -162
  27. package/src/components/descope-new-password/descope-new-password-internal/componentName.js +1 -1
  28. package/src/components/descope-new-password/descope-new-password-internal/index.js +3 -3
  29. package/src/components/descope-new-password/index.js +3 -3
  30. package/src/components/descope-number-field/NumberFieldClass.js +25 -20
  31. package/src/components/descope-passcode/PasscodeClass.js +95 -95
  32. package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +151 -157
  33. package/src/components/descope-passcode/descope-passcode-internal/helpers.js +7 -8
  34. package/src/components/descope-passcode/descope-passcode-internal/index.js +2 -2
  35. package/src/components/descope-passcode/index.js +2 -2
  36. package/src/components/descope-password/PasswordClass.js +75 -83
  37. package/src/components/descope-password/passwordDraggableMixin.js +28 -27
  38. package/src/components/descope-phone-field/CountryCodes.js +1210 -1210
  39. package/src/components/descope-phone-field/PhoneFieldClass.js +139 -141
  40. package/src/components/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +157 -173
  41. package/src/components/descope-phone-field/helpers.js +3 -3
  42. package/src/components/descope-text/TextClass.js +25 -29
  43. package/src/components/descope-text-area/TextAreaClass.js +68 -67
  44. package/src/components/descope-text-field/TextFieldClass.js +42 -37
  45. package/src/components/descope-text-field/textFieldMappings.js +40 -55
  46. package/src/components/descope-totp-image/TotpImageClass.js +5 -1
  47. package/src/components/descope-upload-file/UploadFileClass.js +202 -0
  48. package/src/components/descope-upload-file/helpers.js +11 -0
  49. package/src/components/descope-upload-file/index.js +6 -0
  50. package/src/constants.js +3 -3
  51. package/src/helpers/componentHelpers.js +68 -74
  52. package/src/helpers/index.js +17 -16
  53. package/src/helpers/mixinsHelpers.js +21 -10
  54. package/src/helpers/themeHelpers/colorsHelpers.js +18 -18
  55. package/src/helpers/themeHelpers/componentsThemeManager.js +7 -6
  56. package/src/helpers/themeHelpers/index.js +114 -124
  57. package/src/helpers/themeHelpers/resetHelpers.js +16 -16
  58. package/src/index.cjs.js +3 -3
  59. package/src/index.d.ts +22 -21
  60. package/src/index.js +5 -4
  61. package/src/index.umd.js +14 -13
  62. package/src/mixins/changeMixin.js +18 -17
  63. package/src/mixins/componentNameValidationMixin.js +19 -19
  64. package/src/mixins/createProxy.js +33 -33
  65. package/src/mixins/createStyleMixin/helpers.js +54 -64
  66. package/src/mixins/createStyleMixin/index.js +155 -141
  67. package/src/mixins/draggableMixin.js +61 -61
  68. package/src/mixins/hoverableMixin.js +11 -13
  69. package/src/mixins/index.js +6 -6
  70. package/src/mixins/inputEventsDispatchingMixin.js +61 -60
  71. package/src/mixins/inputValidationMixin.js +153 -148
  72. package/src/mixins/lifecycleEventsMixin.js +17 -15
  73. package/src/mixins/normalizeBooleanAttributesMixin.js +31 -23
  74. package/src/mixins/portalMixin.js +58 -52
  75. package/src/mixins/proxyInputMixin.js +138 -132
  76. package/src/theme/components/button.js +86 -81
  77. package/src/theme/components/checkbox.js +26 -28
  78. package/src/theme/components/comboBox.js +32 -31
  79. package/src/theme/components/container.js +99 -89
  80. package/src/theme/components/divider.js +30 -31
  81. package/src/theme/components/emailField.js +20 -19
  82. package/src/theme/components/image.js +3 -3
  83. package/src/theme/components/index.js +33 -25
  84. package/src/theme/components/inputWrapper.js +28 -25
  85. package/src/theme/components/link.js +29 -36
  86. package/src/theme/components/loader/index.js +3 -3
  87. package/src/theme/components/loader/loaderLinear.js +34 -34
  88. package/src/theme/components/loader/loaderRadial.js +40 -34
  89. package/src/theme/components/logo.js +4 -4
  90. package/src/theme/components/newPassword.js +14 -13
  91. package/src/theme/components/numberField.js +20 -19
  92. package/src/theme/components/passcode.js +20 -22
  93. package/src/theme/components/password.js +22 -21
  94. package/src/theme/components/phoneField.js +23 -23
  95. package/src/theme/components/switchToggle.js +47 -46
  96. package/src/theme/components/text.js +72 -72
  97. package/src/theme/components/textArea.js +27 -25
  98. package/src/theme/components/textField.js +23 -22
  99. package/src/theme/components/totpImage.js +4 -4
  100. package/src/theme/components/uploadFile.js +60 -0
  101. package/src/theme/globals.js +123 -124
  102. package/src/theme/index.js +1 -1
  103. package/dist/cjs/index.cjs.js +0 -5924
  104. package/dist/cjs/index.cjs.js.map +0 -1
  105. package/dist/cjs/package.json +0 -1
  106. package/dist/index.d.ts +0 -51
  107. package/dist/index.esm.js +0 -6606
  108. package/dist/index.esm.js.map +0 -1
  109. package/dist/umd/1018.js +0 -577
  110. package/dist/umd/1018.js.LICENSE.txt +0 -23
  111. package/dist/umd/2481.js +0 -1
  112. package/dist/umd/3208.js +0 -2
  113. package/dist/umd/3208.js.LICENSE.txt +0 -5
  114. package/dist/umd/3585.js +0 -1
  115. package/dist/umd/3878.js +0 -1
  116. package/dist/umd/4201.js +0 -1
  117. package/dist/umd/422.js +0 -2
  118. package/dist/umd/422.js.LICENSE.txt +0 -5
  119. package/dist/umd/4447.js +0 -1
  120. package/dist/umd/4513.js +0 -1
  121. package/dist/umd/4803.js +0 -1
  122. package/dist/umd/541.js +0 -744
  123. package/dist/umd/541.js.LICENSE.txt +0 -21
  124. package/dist/umd/5767.js +0 -2
  125. package/dist/umd/5767.js.LICENSE.txt +0 -15
  126. package/dist/umd/5806.js +0 -109
  127. package/dist/umd/5806.js.LICENSE.txt +0 -5
  128. package/dist/umd/7056.js +0 -48
  129. package/dist/umd/7056.js.LICENSE.txt +0 -5
  130. package/dist/umd/7101.js +0 -148
  131. package/dist/umd/7101.js.LICENSE.txt +0 -11
  132. package/dist/umd/729.js +0 -1
  133. package/dist/umd/7824.js +0 -229
  134. package/dist/umd/7824.js.LICENSE.txt +0 -27
  135. package/dist/umd/7840.js +0 -356
  136. package/dist/umd/7840.js.LICENSE.txt +0 -61
  137. package/dist/umd/8725.js +0 -37
  138. package/dist/umd/8725.js.LICENSE.txt +0 -11
  139. package/dist/umd/9211.js +0 -312
  140. package/dist/umd/9211.js.LICENSE.txt +0 -5
  141. package/dist/umd/9241.js +0 -1
  142. package/dist/umd/9314.js +0 -283
  143. package/dist/umd/9314.js.LICENSE.txt +0 -27
  144. package/dist/umd/9437.js +0 -19
  145. package/dist/umd/9437.js.LICENSE.txt +0 -5
  146. package/dist/umd/9515.js +0 -202
  147. package/dist/umd/9515.js.LICENSE.txt +0 -11
  148. package/dist/umd/9789.js +0 -1
  149. package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +0 -1
  150. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +0 -1
  151. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +0 -1
  152. package/dist/umd/descope-button-index-js.js +0 -1
  153. package/dist/umd/descope-combo-box-index-js.js +0 -1
  154. package/dist/umd/descope-container-index-js.js +0 -1
  155. package/dist/umd/descope-date-picker-index-js.js +0 -1
  156. package/dist/umd/descope-divider-index-js.js +0 -1
  157. package/dist/umd/descope-email-field-index-js.js +0 -1
  158. package/dist/umd/descope-image-index-js.js +0 -1
  159. package/dist/umd/descope-link-index-js.js +0 -1
  160. package/dist/umd/descope-loader-linear-index-js.js +0 -1
  161. package/dist/umd/descope-loader-radial-index-js.js +0 -1
  162. package/dist/umd/descope-logo-index-js.js +0 -1
  163. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +0 -1
  164. package/dist/umd/descope-new-password-index-js.js +0 -1
  165. package/dist/umd/descope-number-field-index-js.js +0 -1
  166. package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +0 -1
  167. package/dist/umd/descope-passcode-index-js.js +0 -1
  168. package/dist/umd/descope-password-index-js.js +0 -1
  169. package/dist/umd/descope-phone-field-descope-phone-field-internal-index-js.js +0 -1
  170. package/dist/umd/descope-phone-field-index-js.js +0 -1
  171. package/dist/umd/descope-text-area-index-js.js +0 -1
  172. package/dist/umd/descope-text-field-index-js.js +0 -1
  173. package/dist/umd/descope-text-index-js.js +0 -1
  174. package/dist/umd/descope-totp-image-index-js.js +0 -1
  175. package/dist/umd/index.js +0 -1
package/dist/umd/7840.js DELETED
@@ -1,356 +0,0 @@
1
- /*! For license information please see 7840.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[7840],{7221:(t,e,s)=>{s.d(e,{e:()=>a}),s(7894);var o=s(1014),r=s(2224),i=s(1342);const n=r.YA,a=(0,o.o)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let s in t)s in e||e._createPropertyAccessor(s)}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,s){let o=this.__data[t],r=this._shouldPropertyChange(t,e,o);return r&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=o),this.__data[t]=e,this.__dataPending[t]=e),r}_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,s=this.__dataOld;this._shouldPropertiesChange(t,e,s)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,s)),this.__dataCounter--}_shouldPropertiesChange(t,e,s){return Boolean(e)}_propertiesChanged(t,e,s){}_shouldPropertyChange(t,e,s){return s!==e&&(s==s||e==e)}attributeChangedCallback(t,e,s,o){e!==s&&this._attributeToProperty(t,s),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,s,o)}_attributeToProperty(t,e,s){if(!this.__serializing){const o=this.__dataAttributes,r=o&&o[t]||t;this[r]=this._deserializeValue(e,s||this.constructor.typeForProperty(r))}}_propertyToAttribute(t,e,s){this.__serializing=!0,s=arguments.length<3?this[t]:s,this._valueToNodeAttribute(this,s,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,s){const o=this._serializeValue(e);"class"!==s&&"name"!==s&&"slot"!==s||(t=(0,i.r)(t)),void 0===o?t.removeAttribute(s):t.setAttribute(s,""===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,s)=>{s.d(e,{q:()=>at}),s(7894);var o=s(1342),r=s(1014),i=s(1446);const n={},a=/-[a-z]/g,l=/([A-Z])/g;function d(t){return n[t]||(n[t]=t.indexOf("-")<0?t:t.replace(a,(t=>t[1].toUpperCase())))}function c(t){return n[t]||(n[t]=t.replace(l,"-$1").toLowerCase())}var h=s(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,r.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(d(t[e]))}static attributeNameForProperty(t){return c(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 s;switch(e){case Object:try{s=JSON.parse(t)}catch(e){s=t}break;case Array:try{s=JSON.parse(t)}catch(e){s=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:s=isNaN(t)?String(t):Number(t),s=new Date(s);break;default:s=super._deserializeValue(t,e)}return s}_definePropertyAccessor(t,e){!function(t,e){if(!u[e]){let s=t[e];void 0!==s&&(t.__data?t._setPendingProperty(e,s):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=s))}}(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,v=!1;const g=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,s,o)=>{const r=s.getAttribute(o);t&&o.startsWith("on-")?e.setAttribute(o,t.createScript(r,o)):e.setAttribute(o,r)}})();function b(t){let e=t.getAttribute("is");if(e&&f[e]){let s=t;for(s.removeAttribute("is"),t=s.ownerDocument.createElement(e),s.parentNode.replaceChild(t,s),t.appendChild(s);s.attributes.length;){const{name:e}=s.attributes[0];g(t,s,e),s.removeAttribute(e)}}return t}function w(t,e){let s=e.parentInfo&&w(t,e.parentInfo);if(!s)return t;for(let t=s.firstChild,o=0;t;t=t.nextSibling)if(e.parentIndex===o++)return t}function P(t,e,s,o){o.id&&(e[o.id]=s)}function C(t,e,s){if(s.events&&s.events.length)for(let o,r=0,i=s.events;r<i.length&&(o=i[r]);r++)t._addMethodEventListenerToNode(e,o.name,o.value,t)}function A(t,e,s,o){s.templateInfo&&(e._templateInfo=s.templateInfo,e._parentTemplateInfo=o)}const S=(0,r.o)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let s=t._templateInfo={};s.nodeInfoList=[],s.nestedTemplate=Boolean(e),s.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,s,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,s){return this._parseTemplateNode(t.content,e,s)}static _parseTemplateNode(t,e,s){let o=!1,r=t;return"template"!=r.localName||r.hasAttribute("preserve-content")?"slot"===r.localName&&(e.hasInsertionPoint=!0):o=this._parseTemplateNestedTemplate(r,e,s)||o,function(t){(function(){if(!y){y=!0;const t=document.createElement("textarea");t.placeholder="a",v=t.placeholder===t.textContent}return v})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(r),r.firstChild&&this._parseTemplateChildNodes(r,e,s),r.hasAttributes&&r.hasAttributes()&&(o=this._parseTemplateNodeAttributes(r,e,s)||o),o||s.noted}static _parseTemplateChildNodes(t,e,s){if("script"!==t.localName&&"style"!==t.localName)for(let o,r=t.firstChild,i=0;r;r=o){if("template"==r.localName&&(r=b(r)),o=r.nextSibling,r.nodeType===Node.TEXT_NODE){let s=o;for(;s&&s.nodeType===Node.TEXT_NODE;)r.textContent+=s.textContent,o=s.nextSibling,t.removeChild(s),s=o;if(e.stripWhiteSpace&&!r.textContent.trim()){t.removeChild(r);continue}}let n={parentIndex:i,parentInfo:s};this._parseTemplateNode(r,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),r.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,s){let o=t,r=this._parseTemplate(o,e);return(r.content=o.content.ownerDocument.createDocumentFragment()).appendChild(o.content),s.templateInfo=r,!0}static _parseTemplateNodeAttributes(t,e,s){let o=!1,r=Array.from(t.attributes);for(let i,n=r.length-1;i=r[n];n--)o=this._parseTemplateNodeAttribute(t,e,s,i.name,i.value)||o;return o}static _parseTemplateNodeAttribute(t,e,s,o,r){return"on-"===o.slice(0,3)?(t.removeAttribute(o),s.events=s.events||[],s.events.push({name:o.slice(3),value:r}),!0):"id"===o&&(s.id=r,!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 s=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,o=e.content||t.content,r=document.importNode(o,!0);r.__noInsertionPoint=!e.hasInsertionPoint;let i=r.nodeList=new Array(s.length);r.$={};for(let t,o=0,n=s.length;o<n&&(t=s[o]);o++){let s=i[o]=w(r,t);P(0,r.$,s,t),A(0,s,t,e),C(this,s,t)}return r}_addMethodEventListenerToNode(t,e,s,o){let r=function(t,e,s){return t=t._methodHost||t,function(e){t[s]?t[s](e,e.detail):console.warn("listener method `"+s+"` not defined")}}(o=o||t,0,s);return this._addEventListenerToNode(t,e,r),r}_addEventListenerToNode(t,e,s){t.addEventListener(e,s)}_removeEventListenerFromNode(t,e,s){t.removeEventListener(e,s)}}));var E=s(9387);let x=0;const T=[],N={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},O="__computeInfo",$=/[A-Z]/;function k(t,e,s){let o=t[e];if(o){if(!t.hasOwnProperty(e)&&(o=t[e]=Object.create(t[e]),s))for(let t in o){let e=o[t],s=o[t]=Array(e.length);for(let t=0;t<e.length;t++)s[t]=e[t]}}else o=t[e]={};return o}function M(t,e,s,o,r,n){if(e){let a=!1;const l=x++;for(let d in s){let c=e[r?(0,i.Jz)(d):d];if(c)for(let e,i=0,h=c.length;i<h&&(e=c[i]);i++)e.info&&e.info.lastRun===l||r&&!z(d,e.trigger)||(e.info&&(e.info.lastRun=l),e.fn(t,d,s,o,e.info,r,n),a=!0)}return a}return!1}function I(t,e,s,o,r,n,a,l){let d=!1,c=e[a?(0,i.Jz)(o):o];if(c)for(let e,i=0,h=c.length;i<h&&(e=c[i]);i++)e.info&&e.info.lastRun===s||a&&!z(o,e.trigger)||(e.info&&(e.info.lastRun=s),e.fn(t,o,r,n,e.info,a,l),d=!0);return d}function z(t,e){if(e){let s=e.name;return s==t||!(!e.structured||!(0,i.jg)(s,t))||!(!e.wildcard||!(0,i.SG)(s,t))}return!0}function R(t,e,s,o,r){let i="string"==typeof r.method?t[r.method]:r.method,n=r.property;i?i.call(t,t.__data[n],o[n]):r.dynamicFn||console.warn("observer method `"+r.method+"` not defined")}function L(t,e,s){let o=(0,i.Jz)(e);return o!==e&&(H(t,c(o)+"-changed",s[e],e),!0)}function H(t,e,s,r){let i={value:s,queueProperty:!0};r&&(i.path=r),(0,o.r)(t).dispatchEvent(new CustomEvent(e,{detail:i}))}function D(t,e,s,o,r,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=s[e]),H(t,r.eventName,l,a)}function U(t,e,s,o,r){let i=t.__data[e];E.v1&&(i=(0,E.v1)(i,r.attrName,"attribute",t)),t._propertyToAttribute(e,r.attrName,i)}const F=(t,e,s)=>{let o=0,r=e.length-1,i=-1;for(;o<=r;){const n=o+r>>1,a=s.get(e[n].methodInfo)-s.get(t.methodInfo);if(a<0)o=n+1;else{if(!(a>0)){i=n;break}r=n-1}}i<0&&(i=r+1),e.splice(i,0,t)},j=(t,e,s,o,r)=>{const n=e[r?(0,i.Jz)(t):t];if(n)for(let e=0;e<n.length;e++){const i=n[e];i.info.lastRun===x||r&&!z(t,i.trigger)||(i.info.lastRun=x,F(i.info,s,o))}};function B(t,e,s,o,r){let i=K(t,e,s,0,r);if(i===T)return!1;let n=r.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,i,!0):(t[n]=i,!1)}function V(t,e,s,o,r,i,n){s.bindings=s.bindings||[];let a={kind:o,target:r,parts:i,literal:n,isCompound:1!==i.length};if(s.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||c(r)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let s=0;s<a.parts.length;s++){let o=a.parts[s];o.compoundIndex=s,Y(t,e,a,o,l)}}function Y(t,e,s,o,r){if(!o.literal)if("attribute"===s.kind&&"-"===s.target[0])console.warn("Cannot set attribute "+s.target+' because "-" is not a valid attribute starting character');else{let i=o.dependencies,n={index:r,binding:s,part:o,evaluator:t};for(let s=0;s<i.length;s++){let o=i[s];"string"==typeof o&&(o=ot(o),o.wildcard=!0),t._addTemplatePropertyEffect(e,o.rootProperty,{fn:q,info:n,trigger:o})}}}function q(t,e,s,o,r,n,a){let l=a[r.index],d=r.binding,c=r.part;if(n&&c.source&&e.length>c.source.length&&"property"==d.kind&&!d.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[d.target]){let o=s[e];e=(0,i.Iu)(c.source,d.target,e),l._setPendingPropertyOrPath(e,o,!1,!0)&&t._enqueueClient(l)}else{let i=r.evaluator._evaluateBinding(t,c,e,s,o,n);i!==T&&function(t,e,s,o,r){if(r=function(t,e,s,o){if(s.isCompound){let r=t.__dataCompoundStorage[s.target];r[o.compoundIndex]=e,e=r.join("")}return"attribute"!==s.kind&&("textContent"!==s.target&&("value"!==s.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,r,s,o),E.v1&&(r=(0,E.v1)(r,s.target,s.kind,e)),"attribute"==s.kind)t._valueToNodeAttribute(e,r,s.target);else{let o=s.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[o]?e[N.READ_ONLY]&&e[N.READ_ONLY][o]||e._setPendingProperty(o,r)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,o,r)}}(t,l,d,c,i)}}function J(t,e){if(e.isCompound){let s=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),r=e.parts,i=new Array(r.length);for(let t=0;t<r.length;t++)i[t]=r[t].literal;let n=e.target;s[n]=i,e.literal&&"property"==e.kind&&("className"===n&&(t=(0,o.r)(t)),t[n]=e.literal)}}function W(t,e,s){if(s.listenerEvent){let o=s.parts[0];t.addEventListener(s.listenerEvent,(function(t){!function(t,e,s,o,r){let n,a=t.detail,l=a&&a.path;l?(o=(0,i.Iu)(s,o,l),n=a&&a.value):n=t.currentTarget[s],n=r?!n:n,e[N.READ_ONLY]&&e[N.READ_ONLY][o]||!e._setPendingPropertyOrPath(o,n,!0,Boolean(l))||a&&a.queueProperty||e._invalidateProperties()}(t,e,s.target,o.source,o.negate)}))}}function G(t,e,s,o,r,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:r,dynamicFn:i};for(let r,i=0;i<e.args.length&&(r=e.args[i]);i++)r.literal||t._addPropertyEffect(r.rootProperty,s,{fn:o,info:n,trigger:r});return i&&t._addPropertyEffect(e.methodName,s,{fn:o,info:n}),n}function K(t,e,s,o,r){let i=t._methodHost||t,n=i[r.methodName];if(n){let o=t._marshalArgs(r.args,e,s);return o===T?T:n.apply(i,o)}r.dynamicFn||console.warn("method `"+r.methodName+"` not defined")}const Z=[],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 s=0;s<t.length;s++)e+=t[s].literal||"";return e}function st(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Z};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let s=ot(t);return s.literal||(e.static=!1),s}),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"),s={name:e,value:"",literal:!1},o=e[0];switch("-"===o&&(o=e[1]),o>="0"&&o<="9"&&(o="#"),o){case"'":case'"':s.value=e.slice(1,-1),s.literal=!0;break;case"#":s.value=Number(e),s.literal=!0}return s.literal||(s.rootProperty=(0,i.Jz)(e),s.structured=(0,i.AZ)(e),s.structured&&(s.wildcard=".*"==e.slice(-2),s.wildcard&&(s.name=e.slice(0,-2)))),s}function rt(t,e,s){let o=(0,i.U2)(t,s);return void 0===o&&(o=e[s]),o}function it(t,e,s,o){const r={indexSplices:o};E.HY&&!t._overrideLegacyUndefined&&(e.splices=r),t.notifyPath(s+".splices",r),t.notifyPath(s+".length",e.length),E.HY&&!t._overrideLegacyUndefined&&(r.indexSplices=[])}function nt(t,e,s,o,r,i){it(t,e,s,[{index:o,addedCount:r,removed:i,object:e,type:"splice"}])}const at=(0,r.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 N}_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[N.READ_ONLY];for(let s in t)e&&e[s]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[s]=this.__dataPending[s]=t[s])}_addPropertyEffect(t,e,s){this._createPropertyAccessor(t,e==N.READ_ONLY);let o=k(this,e,!0)[t];o||(o=this[e][t]=[]),o.push(s)}_removePropertyEffect(t,e,s){let o=k(this,e,!0)[t],r=o.indexOf(s);r>=0&&o.splice(r,1)}_hasPropertyEffect(t,e){let s=this[e];return Boolean(s&&s[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,N.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,N.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,N.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,N.COMPUTE)}_setPendingPropertyOrPath(t,e,s,o){if(o||(0,i.Jz)(Array.isArray(t)?t[0]:t)!==t){if(!o){let s=(0,i.U2)(this,t);if(!(t=(0,i.t8)(this,t,e))||!super._shouldPropertyChange(t,e,s))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,s))return function(t,e,s){let o=t.__dataLinkedPaths;if(o){let r;for(let n in o){let a=o[n];(0,i.SG)(n,e)?(r=(0,i.Iu)(n,a,e),t._setPendingPropertyOrPath(r,s,!0,!0)):(0,i.SG)(a,e)&&(r=(0,i.Iu)(a,n,e),t._setPendingPropertyOrPath(r,s,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,s);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,s){s===t[e]&&"object"!=typeof s||("className"===e&&(t=(0,o.r)(t)),t[e]=s)}_setPendingProperty(t,e,s){let o=this.__dataHasPaths&&(0,i.AZ)(t),r=o?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,r[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[N.NOTIFY]&&this[N.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=s),!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 s=t[e];s.__dataEnabled?s.__dataPending&&s._flushProperties():s._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let s in t)!e&&this[N.READ_ONLY]&&this[N.READ_ONLY][s]||this._setPendingPropertyOrPath(s,t[s],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,s){let o,r=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,s,o){let r=t[N.COMPUTE];if(r)if(E.ls){x++;const i=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const s=t[N.COMPUTE];let o,{counts:r,ready:i,total:n}=function(t){const e=t[O],s={},o=t[N.COMPUTE],r=[];let i=0;for(let t in e){const o=e[t];i+=s[t]=o.args.filter((t=>!t.literal)).length+(o.dynamicFn?1:0)}for(let t in o)e[t]||r.push(t);return{counts:s,ready:r,total:i}}(t);for(;o=i.shift();){e.set(o,e.size);const t=s[o];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--r[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,r,n,i,o);let a;for(;a=n.shift();)B(t,"",e,0,a)&&j(a.methodInfo,r,n,i,o);Object.assign(s,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let i=e;for(;M(t,r,i,s,o);)Object.assign(s,t.__dataOld),Object.assign(e,t.__dataPending),i=t.__dataPending,t.__dataPending=null}}(this,e,s,r),o=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,s,r),this._flushClients(),M(this,this[N.REFLECT],e,s,r),M(this,this[N.OBSERVE],e,s,r),o&&function(t,e,s,o,r){let i,n,a=t[N.NOTIFY],l=x++;for(let n in e)e[n]&&(a&&I(t,a,l,n,s,o,r)||r&&L(t,n,s))&&(i=!0);i&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,o,e,s,r),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,s){this[N.PROPAGATE]&&M(this,this[N.PROPAGATE],t,e,s),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,s)}_runEffectsForTemplate(t,e,s,o){const r=(e,o)=>{M(this,t.propertyEffects,e,s,o,t.nodeList);for(let r=t.firstChild;r;r=r.nextSibling)this._runEffectsForTemplate(r,e,s,o)};t.runEffects?t.runEffects(r,e,o):r(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 s={path:""};it(this,(0,i.U2)(this,t,s),s.path,e)}get(t,e){return(0,i.U2)(e||this,t)}set(t,e,s){s?(0,i.t8)(s,t,e):this[N.READ_ONLY]&&this[N.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let s={path:""},o=(0,i.U2)(this,t,s),r=o.length,n=o.push(...e);return e.length&&nt(this,o,s.path,r,e.length,[]),n}pop(t){let e={path:""},s=(0,i.U2)(this,t,e),o=Boolean(s.length),r=s.pop();return o&&nt(this,s,e.path,s.length,0,[r]),r}splice(t,e,s,...o){let r,n={path:""},a=(0,i.U2)(this,t,n);return e<0?e=a.length-Math.floor(-e):e&&(e=Math.floor(e)),r=2===arguments.length?a.splice(e):a.splice(e,s,...o),(o.length||r.length)&&nt(this,a,n.path,e,o.length,r),r}shift(t){let e={path:""},s=(0,i.U2)(this,t,e),o=Boolean(s.length),r=s.shift();return o&&nt(this,s,e.path,0,0,[r]),r}unshift(t,...e){let s={path:""},o=(0,i.U2)(this,t,s),r=o.unshift(...e);return e.length&&nt(this,o,s.path,0,e.length,[]),r}notifyPath(t,e){let s;if(1==arguments.length){let o={path:""};e=(0,i.U2)(this,t,o),s=o.path}else s=Array.isArray(t)?(0,i.Fv)(t):t;this._setPendingPropertyOrPath(s,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var s;this._addPropertyEffect(t,N.READ_ONLY),e&&(this["_set"+(s=t,s[0].toUpperCase()+s.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,s){let o={property:t,method:e,dynamicFn:Boolean(s)};this._addPropertyEffect(t,N.OBSERVE,{fn:R,info:o,trigger:{name:t}}),s&&this._addPropertyEffect(e,N.OBSERVE,{fn:R,info:o,trigger:{name:e}})}_createMethodObserver(t,e){let s=st(t);if(!s)throw new Error("Malformed observer expression '"+t+"'");G(this,s,N.OBSERVE,K,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,N.NOTIFY,{fn:D,info:{eventName:c(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,N.REFLECT,{fn:U,info:{attrName:e}})}_createComputedProperty(t,e,s){let o=st(e);if(!o)throw new Error("Malformed computed expression '"+e+"'");const r=G(this,o,N.COMPUTE,B,t,s);k(this,O)[t]=r}_marshalArgs(t,e,s){const o=this.__data,r=[];for(let n=0,a=t.length;n<a;n++){let{name:a,structured:l,wildcard:d,value:c,literal:h}=t[n];if(!h)if(d){const t=(0,i.SG)(a,e),r=rt(o,s,t?e:a);c={path:t?e:a,value:r,base:t?(0,i.U2)(o,a):r}}else c=l?rt(o,s,a):o[a];if(E.HY&&!this._overrideLegacyUndefined&&void 0===c&&t.length>1)return T;r[n]=c}return r}static addPropertyEffect(t,e,s){this.prototype._addPropertyEffect(t,e,s)}static createPropertyObserver(t,e,s){this.prototype._createPropertyObserver(t,e,s)}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,s){this.prototype._createComputedProperty(t,e,s)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let s=this.constructor._parseTemplate(t),o=this.__preBoundTemplateInfo==s;if(!o)for(let t in s.propertyEffects)this._createPropertyAccessor(t);if(e)if(s=Object.create(s),s.wasPreBound=o,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,o=e.lastChild;s.parent=e,e.lastChild=s,s.previousSibling=o,o?o.nextSibling=s:e.firstChild=s}else this.__templateInfo=s;else this.__preBoundTemplateInfo=s;return s}static _addTemplatePropertyEffect(t,e,s){(t.hostProps=t.hostProps||{})[e]=!0;let o=t.propertyEffects=t.propertyEffects||{};(o[e]=o[e]||[]).push(s)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),lt.push(this);let s=super._stampTemplate(t,e);if(lt.pop(),e.nodeList=s.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=s.firstChild;e;e=e.nextSibling)t.push(e)}return s.templateInfo=e,function(t,e){let{nodeList:s,nodeInfoList:o}=e;if(o.length)for(let e=0;e<o.length;e++){let r=o[e],i=s[e],n=r.bindings;if(n)for(let e=0;e<n.length;e++){let s=n[e];J(i,s),W(i,t,s)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),s}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:s,nextSibling:r,parent:i}=e;s?s.nextSibling=r:i&&(i.firstChild=r),r?r.previousSibling=s:i&&(i.lastChild=s),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,s,o){let r=e._parseTemplateNode.call(this,t,s,o);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,s);e&&(t.textContent=et(e)||" ",V(this,s,o,"text","textContent",e),r=!0)}return r}static _parseTemplateNodeAttribute(t,s,o,r,i){let n=this._parseBindings(i,s);if(n){let e=r,i="property";$.test(r)?i="attribute":"$"==r[r.length-1]&&(r=r.slice(0,-1),i="attribute");let a=et(n);return a&&"attribute"==i&&("class"==r&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(r)),t.setAttribute(r,a)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(r,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(r=d(r)),V(this,s,o,i,r,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,s,o,r,i)}static _parseTemplateNestedTemplate(t,s,o){let r=e._parseTemplateNestedTemplate.call(this,t,s,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,r=!1);let d=n.hostProps;if(E.ew&&a)d&&(s.hostProps=Object.assign(s.hostProps||{},d),E.gx||(o.parentInfo.noted=!0));else{let t="{";for(let e in d)V(this,s,o,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return r}static _parseBindings(t,e){let s,o=[],r=0;for(;null!==(s=tt.exec(t));){s.index>r&&o.push({literal:t.slice(r,s.index)});let i=s[1][0],n=Boolean(s[2]),a=s[3].trim(),l=!1,d="",c=-1;"{"==i&&(c=a.indexOf("::"))>0&&(d=a.substring(c+2),a=a.substring(0,c),l=!0);let h=st(a),u=[];if(h){let{args:t,methodName:s}=h;for(let e=0;e<t.length;e++){let s=t[e];s.literal||u.push(s)}let o=e.dynamicFns;(o&&o[s]||h.static)&&(u.push(s),h.dynamicFn=!0)}else u.push(a);o.push({source:a,mode:i,negate:n,customEvent:l,signature:h,dependencies:u,event:d}),r=tt.lastIndex}if(r&&r<t.length){let e=t.substring(r);e&&o.push({literal:e})}return o.length?o:null}static _evaluateBinding(t,e,s,o,r,n){let a;return a=e.signature?K(t,s,o,0,e.signature):s!=e.source?(0,i.U2)(t,e.source):n&&(0,i.AZ)(s)?(0,i.U2)(t,s):t.__data[s],e.negate&&(a=!a),a}}})),lt=[]},2224:(t,e,s)=>{s.d(e,{Wc:()=>d,YA:()=>c}),s(7894);let o=0,r=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),r+=t})).observe(l,{characterData:!0});const d={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)}},c={run:t=>(a||(a=!0,l.textContent=n++),i.push(t),o++),cancel(t){const e=t-r;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,s)=>{s.d(e,{d:()=>n}),s(7894);const o=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class r{constructor(t,e){a(t,e);const s=e.reduce(((e,s,o)=>e+i(s)+t[o+1]),t[0]);this.value=s.toString()}toString(){return this.value}}function i(t){if(t instanceof r)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 s=document.createElement("template");let n=e.reduce(((e,s,o)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof r)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(s)+t[o+1]),t[0]);return o&&(n=o.createHTML(n)),s.innerHTML=n,s},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,s)=>{s.d(e,{o:()=>i}),s(7894);let o=0;function r(){}r.prototype.__mixinApplications,r.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let s=o++;return function(o){let r=o.__mixinSet;if(r&&r[s])return o;let i=e,n=i.get(o);if(!n){n=t(o),i.set(o,n);let e=Object.create(n.__mixinSet||r||null);e[s]=!0,n.__mixinSet=e}return n}}},1446:(t,e,s)=>{function o(t){return t.indexOf(".")>=0}function r(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,s){return e+s.slice(t.length)}function l(t,e){return t===e||i(t,e)||n(t,e)}function d(t){if(Array.isArray(t)){let e=[];for(let s=0;s<t.length;s++){let o=t[s].toString().split(".");for(let t=0;t<o.length;t++)e.push(o[t])}return e.join(".")}return t}function c(t){return Array.isArray(t)?d(t).split("."):t.toString().split(".")}function h(t,e,s){let o=t,r=c(e);for(let t=0;t<r.length;t++){if(!o)return;o=o[r[t]]}return s&&(s.path=r.join(".")),o}function u(t,e,s){let o=t,r=c(e),i=r[r.length-1];if(r.length>1){for(let t=0;t<r.length-1;t++)if(o=o[r[t]],!o)return;o[i]=s}else o[e]=s;return r.join(".")}s.d(e,{AZ:()=>o,Fv:()=>d,Iu:()=>a,Jz:()=>r,SG:()=>n,U2:()=>h,jg:()=>i,t8:()=>u,wB:()=>l}),s(7894)},9967:(t,e,s)=>{s.d(e,{Kk:()=>a,Rq:()=>l,iY:()=>d}),s(7894);let o,r,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 r||(r=document.implementation.createHTMLDocument("temp"),r.base=r.createElement("base"),r.head.appendChild(r.base),r.anchor=r.createElement("a"),r.body.appendChild(r.anchor)),r.base.href=e,r.anchor.href=t,r.anchor.href||t}function l(t,e){return t.replace(i,(function(t,s,o,r){return s+"'"+a(o.replace(/["']/g,""),e)+"'"+r}))}function d(t){return t.substring(0,t.lastIndexOf("/")+1)}},9387:(t,e,s)=>{s.d(e,{FV:()=>i,HY:()=>p,Hr:()=>u,XN:()=>l,ZN:()=>d,a2:()=>h,dJ:()=>g,ew:()=>v,gx:()=>y,ls:()=>_,md:()=>b,my:()=>r,nL:()=>c,sM:()=>n,v1:()=>a,xj:()=>f}),s(7894);var o=s(9967);const r=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,r&&"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,d=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,c=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,v=window.Polymer&&window.Polymer.fastDomIf||!1,g=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let b=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},1342:(t,e,s)=>{s.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,s)=>{s.d(e,{H3:()=>T,dy:()=>x.d}),s(7894);var o=s(9387),r=s(1014),i=s(9967);let n={},a={};function l(t,e){n[t]=a[t.toLowerCase()]=e}function d(t){return n[t]||a[t.toLowerCase()]}class c extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let s=d(t);return s&&e?s.querySelector(e):s}return null}attributeChangedCallback(t,e,s,o){e!==s&&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!==d(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}}c.prototype.modules=n,customElements.define("dom-module",c);const h="link[rel=import][type~=css]",u="include",p="shady-unscoped";function _(t){return c.import(t)}function m(t){let e=t.body?t.body:t;const s=(0,i.Rq)(e.textContent,t.baseURI),o=document.createElement("style");return o.textContent=s,o}function f(t){const e=t.trim().split(/\s+/),s=[];for(let t=0;t<e.length;t++)s.push(...y(e[t]));return s}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(...g(e));const s=e.querySelector("template");s&&t.push(...v(s,e.assetpath)),e._styles=t}return e._styles}function v(t,e){if(!t._styles){const s=[],o=t.content.querySelectorAll("style");for(let t=0;t<o.length;t++){let r=o[t],n=r.getAttribute(u);n&&s.push(...f(n).filter((function(t,e,s){return s.indexOf(t)===e}))),e&&(r.textContent=(0,i.Rq)(r.textContent,e)),s.push(r)}t._styles=s}return t._styles}function g(t){const e=[],s=t.querySelectorAll(h);for(let t=0;t<s.length;t++){let o=s[t];if(o.import){const t=o.import,s=o.hasAttribute(p);if(s&&!t._unscopedStyle){const e=m(t);e.setAttribute(p,""),t._unscopedStyle=e}else t._style||(t._style=m(t));e.push(s?t._unscopedStyle:t._style)}}return e}var b=s(4933);const w=[];var P=s(7221);const C=(0,r.o)((t=>{const e=(0,P.e)(t);function s(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof r?e:null}function o(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const s=t.properties;s&&(e=function(t){const e={};for(let s in t){const o=t[s];e[s]="function"==typeof o?{type:o}:o}return e}(s))}t.__ownProperties=e}return t.__ownProperties}class r extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,w.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=s(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=s(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 r}));var A=s(1342);const S=window.ShadyCSS&&window.ShadyCSS.cssBuild,E=(0,r.o)((t=>{const e=C((0,b.q)(t));return class extends e{static get polymerElementVersion(){return"3.5.1"}static _finalizeClass(){e._finalizeClass.call(this);const t=((s=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",s))||(s.__ownObservers=s.hasOwnProperty(JSCompiler_renameProperty("observers",s))?s.observers:null),s.__ownObservers);var s;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,s=i,r=t,(o=t[i]).computed&&(o.readOnly=!0),o.computed&&(e._hasReadOnlyEffect(s)?console.warn(`Cannot redefine computed property '${s}'.`):e._createComputedProperty(s,o.computed,r)),o.readOnly&&!e._hasReadOnlyEffect(s)?e._createReadOnlyProperty(s,!o.computed):!1===o.readOnly&&e._hasReadOnlyEffect(s)&&console.warn(`Cannot make readOnly property '${s}' non-readOnly.`),o.reflectToAttribute&&!e._hasReflectEffect(s)?e._createReflectedProperty(s):!1===o.reflectToAttribute&&e._hasReflectEffect(s)&&console.warn(`Cannot make reflected property '${s}' non-reflected.`),o.notify&&!e._hasNotifyEffect(s)?e._createNotifyingProperty(s):!1===o.notify&&e._hasNotifyEffect(s)&&console.warn(`Cannot make notify property '${s}' non-notify.`),o.observer&&e._createPropertyObserver(s,o.observer,r[o.observer]),e._addPropertyToAttributeMap(s);var e,s,o,r}static createObservers(t,e){const s=this.prototype;for(let o=0;o<t.length;o++)s._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=c.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=c.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 s in e){let o=e[s];"value"in o&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[s]=o)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let s=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof s.value?s.value.call(this):s.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 s=this.importPath;(function(t,e,s,r){if(!S){const o=e.content.querySelectorAll("style"),i=v(e),n=function(t){let e=_(t);return e?g(e):[]}(s),a=e.content.firstElementChild;for(let s=0;s<n.length;s++){let o=n[s];o.textContent=t._processStyleText(o.textContent,r),e.content.insertBefore(o,a)}let l=0;for(let e=0;e<i.length;e++){let s=i[e],n=o[l];n!==s?(s=s.cloneNode(!0),n.parentNode.insertBefore(s,n)):l++,s.textContent=t._processStyleText(s.textContent,r)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,s),o.md&&S&&o.FV){const s=e.content.querySelectorAll("style");if(s){let e="";Array.from(s).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,s?(0,i.Kk)(s):""),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,A.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,s,o){return s.dynamicFns=s.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,s,o)}static _addTemplatePropertyEffect(t,s,r){return!o.a2||s in this._properties||r.info.part.signature&&r.info.part.signature.static||r.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${s}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,s,r)}}}));var x=s(1121);const T=E(HTMLElement)},7913:(t,e,s)=>{s.d(e,{Wc:()=>d,YA:()=>u,rs:()=>c,t$:()=>h});let o=0,r=0;const i=[];let n=0,a=!1;const l=document.createTextNode("");new window.MutationObserver((function(){a=!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),r+=t})).observe(l,{characterData:!0});const d={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)}},c={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},h={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},u={run(t){a||(a=!0,l.textContent=n,n+=1),i.push(t);const e=o;return o+=1,e},cancel(t){const e=t-r;if(e>=0){if(!i[e])throw new Error(`invalid async handle: ${t}`);i[e]=null}}}},6155:(t,e,s)=>{s.d(e,{k:()=>o});const o=(0,s(1014).o)((t=>class extends t{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach((t=>{t.hostConnected&&t.hostConnected()}))}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach((t=>{t.hostDisconnected&&t.hostDisconnected()}))}addController(t){this.__controllers.add(t),void 0!==this.$&&this.isConnected&&t.hostConnected&&t.hostConnected()}removeController(t){this.__controllers.delete(t)}}))},6139:(t,e,s)=>{s.d(e,{Ex:()=>i,dx:()=>r,yl:()=>a});const o=new Set;class r{static debounce(t,e,s){return t instanceof r?t._cancelAsync():t=new r,t.setConfig(e,s),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)}},1914:(t,e,s)=>{s.d(e,{U:()=>n});const o=[];function r(t,e,s=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=s&&t.removeAttribute("dir")}function i(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=i();o.forEach((e=>{r(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(),r(this,i(),null))}attributeChangedCallback(t,e,s){if(super.attributeChangedCallback(t,e,s),"dir"!==t)return;const n=i(),a=s===n&&-1===o.indexOf(this),l=!s&&e&&-1===o.indexOf(this),d=s!==n&&e===n;a||l?(this.__subscribe(),r(this,n,s)):d&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=o.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,s){("dir"!==s||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,s)}_attributeToProperty(t,e,s){"dir"!==t||e?super._attributeToProperty(t,e,s):this.dir=""}__subscribe(){o.includes(this)||o.push(this)}__unsubscribe(){o.includes(this)&&o.splice(o.indexOf(this),1)}}},1598:(t,e,s)=>{s.d(e,{f:()=>o});const o=(0,s(1014).o)((t=>class extends t{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(t){this._setAriaDisabled(t)}_setAriaDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}}))},3726:(t,e,s)=>{function o(t){const e=[];for(;t;){if(t.nodeType===Node.DOCUMENT_NODE){e.push(t);break}t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?t=t.assignedSlot?t.assignedSlot:t.parentNode:(e.push(t),t=t.host)}return e}function r(t){return t?new Set(t.split(" ")):new Set}function i(t){return[...t].join(" ")}function n(t,e,s){const o=r(t.getAttribute(e));o.add(s),t.setAttribute(e,i(o))}function a(t,e,s){const o=r(t.getAttribute(e));o.delete(s),0!==o.size?t.setAttribute(e,i(o)):t.removeAttribute(e)}function l(t){return t.nodeType===Node.TEXT_NODE&&""===t.textContent.trim()}s.d(e,{$2:()=>n,AD:()=>o,eC:()=>l,x_:()=>a})},1402:(t,e,s)=>{s.d(e,{S:()=>p});var o=s(9387);const r=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,i=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function n(t,e){if("function"!=typeof t)return;const s=r.exec(t.toString());if(s)try{t=new Function(s[1])}catch(t){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",t)}return t(e)}window.Vaadin=window.Vaadin||{};function a(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=function(){try{return!!localStorage.getItem("vaadin.developmentmode.force")||["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0&&(i?!(i&&Object.keys(i).map((t=>i[t])).filter((t=>t.productionMode)).length>0):!n((function(){return!0})))}catch(t){return!1}}());var l=s(7913),d=s(6139),c=s(1914);let h;(0,o.xj)(!1),window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations||(window.Vaadin.registrations=[]),window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={}),window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){!function(t,e){if(window.Vaadin.developmentMode)n(t,e)}(a)};const u=new Set,p=t=>class extends((0,c.U)(t)){static get version(){return"24.0.11"}static finalize(){super.finalize();const{is:t}=this;t&&!u.has(t)&&(window.Vaadin.registrations.push(this),u.add(t),window.Vaadin.developmentModeCallback&&(h=d.dx.debounce(h,l.t$,(()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()})),(0,d.Ex)(h)))}constructor(){super(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}}},2527:(t,e,s)=>{s.d(e,{W:()=>i});var o=s(1014),r=s(4530);const i=(0,o.o)((t=>class extends t{get _keyboardActive(){return(0,r.LQ)()}ready(){this.addEventListener("focusin",(t=>{this._shouldSetFocus(t)&&this._setFocused(!0)})),this.addEventListener("focusout",(t=>{this._shouldRemoveFocus(t)&&this._setFocused(!1)})),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(t){this.toggleAttribute("focused",t),this.toggleAttribute("focus-ring",t&&this._keyboardActive)}_shouldSetFocus(t){return!0}_shouldRemoveFocus(t){return!0}}))},4530:(t,e,s)=>{s.d(e,{GO:()=>d,LQ:()=>r,Qw:()=>a});let o=!1;function r(){return o}function i(t,e){const s=Math.max(t.tabIndex,0),o=Math.max(e.tabIndex,0);return 0===s||0===o?o>s:s>o}function n(t){const e=t.length;if(e<2)return t;const s=Math.ceil(e/2);return function(t,e){const s=[];for(;t.length>0&&e.length>0;)i(t[0],e[0])?s.push(e.shift()):s.push(t.shift());return s.concat(t,e)}(n(t.slice(0,s)),n(t.slice(s)))}function a(t){return t.getRootNode().activeElement===t}function l(t,e){if(t.nodeType!==Node.ELEMENT_NODE||function(t){const e=t.style;if("hidden"===e.visibility||"none"===e.display)return!0;const s=window.getComputedStyle(t);return"hidden"===s.visibility||"none"===s.display}(t))return!1;const s=t,o=function(t){if(!function(t){return!t.matches('[tabindex="-1"]')&&(t.matches("input, select, textarea, button, object")?t.matches(":not([disabled])"):t.matches("a[href], area[href], iframe, [tabindex], [contentEditable]"))}(t))return-1;const e=t.getAttribute("tabindex")||0;return Number(e)}(s);let r=o>0;o>=0&&e.push(s);let i=[];return i="slot"===s.localName?s.assignedNodes({flatten:!0}):(s.shadowRoot||s).children,[...i].forEach((t=>{r=l(t,e)||r})),r}function d(t){const e=[];return l(t,e)?n(e):e}window.addEventListener("keydown",(()=>{o=!0}),{capture:!0}),window.addEventListener("mousedown",(()=>{o=!1}),{capture:!0})},602:(t,e,s)=>{s.d(e,{L:()=>o});const o=(0,s(1014).o)((t=>class extends t{ready(){super.ready(),this.addEventListener("keydown",(t=>{this._onKeyDown(t)})),this.addEventListener("keyup",(t=>{this._onKeyUp(t)}))}_onKeyDown(t){switch(t.key){case"Enter":this._onEnter(t);break;case"Escape":this._onEscape(t)}}_onKeyUp(t){}_onEnter(t){}_onEscape(t){}}))},4271:(t,e,s)=>{function o(t,e,s){return{index:t,removed:e,addedCount:s}}s.d(e,{n:()=>c}),s(7894);function r(t,e){return t===e}var i=s(2224),n=s(1342);function a(t){return"slot"===t.localName}var l=s(3726),d=s(3971);class c extends EventTarget{static generateId(t,e){return`${e||"default"}-${t.localName}-${(0,d.l)()}`}constructor(t,e,s,o={}){super();const{initializer:r,multiple:i,observe:n,useUniqueId:a}=o;this.host=t,this.slotName=e,this.tagName=s,this.observe="boolean"!=typeof n||n,this.multiple="boolean"==typeof i&&i,this.slotInitializer=r,i&&(this.nodes=[]),a&&(this.defaultId=this.constructor.generateId(t,e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(0===t.length){const t=this.attachDefaultNode();this.nodes=[t],this.initNode(t)}else this.nodes=t,t.forEach((t=>{this.initAddedNode(t)}))}attachDefaultNode(){const{host:t,slotName:e,tagName:s}=this;let o=this.defaultNode;return!o&&s&&(o=document.createElement(s),o instanceof Element&&(""!==e&&o.setAttribute("slot",e),this.node=o,this.defaultNode=o)),o&&t.appendChild(o),o}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter((e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&""===t))}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=""===t?"slot:not([name])":`slot[name=${t}]`,s=this.host.shadowRoot.querySelector(e);this.__slotObserver=new class{static getFlattenedNodes(t){const e=(0,n.r)(t);return a(t)?e.assignedNodes({flatten:!0}):Array.from(e.childNodes).map((t=>a(t)?(0,n.r)(t).assignedNodes({flatten:!0}):[t])).reduce(((t,e)=>t.concat(e)),[])}constructor(t,e){this._shadyChildrenObserver=null,this._nativeChildrenObserver=null,this._connected=!1,this._target=t,this.callback=e,this._effectiveNodes=[],this._observer=null,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){a(this._target)?this._listenSlots([this._target]):(0,n.r)(this._target).children&&(this._listenSlots((0,n.r)(this._target).children),window.ShadyDOM?this._shadyChildrenObserver=window.ShadyDOM.observeChildren(this._target,(t=>{this._processMutations(t)})):(this._nativeChildrenObserver=new MutationObserver((t=>{this._processMutations(t)})),this._nativeChildrenObserver.observe(this._target,{childList:!0}))),this._connected=!0}disconnect(){a(this._target)?this._unlistenSlots([this._target]):(0,n.r)(this._target).children&&(this._unlistenSlots((0,n.r)(this._target).children),window.ShadyDOM&&this._shadyChildrenObserver?(window.ShadyDOM.unobserveChildren(this._shadyChildrenObserver),this._shadyChildrenObserver=null):this._nativeChildrenObserver&&(this._nativeChildrenObserver.disconnect(),this._nativeChildrenObserver=null)),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,i.YA.run((()=>this.flush())))}_processMutations(t){this._processSlotMutations(t),this.flush()}_processSlotMutations(t){if(t)for(let e=0;e<t.length;e++){let s=t[e];s.addedNodes&&this._listenSlots(s.addedNodes),s.removedNodes&&this._unlistenSlots(s.removedNodes)}}flush(){if(!this._connected)return!1;window.ShadyDOM&&ShadyDOM.flush(),this._nativeChildrenObserver?this._processSlotMutations(this._nativeChildrenObserver.takeRecords()):this._shadyChildrenObserver&&this._processSlotMutations(this._shadyChildrenObserver.takeRecords()),this._scheduled=!1;let t={target:this._target,addedNodes:[],removedNodes:[]},e=this.constructor.getFlattenedNodes(this._target),s=(i=e,n=this._effectiveNodes,function(t,e,s,i,n,a){let l,d=0,c=0,h=Math.min(s-e,a-n);if(0==e&&0==n&&(d=function(t,e,s){for(let o=0;o<s;o++)if(!r(t[o],e[o]))return o;return s}(t,i,h)),s==t.length&&a==i.length&&(c=function(t,e,s){let o=t.length,i=e.length,n=0;for(;n<s&&r(t[--o],e[--i]);)n++;return n}(t,i,h-d)),n+=d,a-=c,(s-=c)-(e+=d)==0&&a-n==0)return[];if(e==s){for(l=o(e,[],0);n<a;)l.removed.push(i[n++]);return[l]}if(n==a)return[o(e,[],s-e)];let u=function(t){let e=t.length-1,s=t[0].length-1,o=t[e][s],r=[];for(;e>0||s>0;){if(0==e){r.push(2),s--;continue}if(0==s){r.push(3),e--;continue}let i,n=t[e-1][s-1],a=t[e-1][s],l=t[e][s-1];i=a<l?a<n?a:n:l<n?l:n,i==n?(n==o?r.push(0):(r.push(1),o=n),e--,s--):i==a?(r.push(3),e--,o=a):(r.push(2),s--,o=l)}return r.reverse(),r}(function(t,e,s,o,i,n){let a=n-i+1,l=s-e+1,d=new Array(a);for(let t=0;t<a;t++)d[t]=new Array(l),d[t][0]=t;for(let t=0;t<l;t++)d[0][t]=t;for(let s=1;s<a;s++)for(let n=1;n<l;n++)if(r(t[e+n-1],o[i+s-1]))d[s][n]=d[s-1][n-1];else{let t=d[s-1][n]+1,e=d[s][n-1]+1;d[s][n]=t<e?t:e}return d}(t,e,s,i,n,a));l=void 0;let p=[],_=e,m=n;for(let t=0;t<u.length;t++)switch(u[t]){case 0:l&&(p.push(l),l=void 0),_++,m++;break;case 1:l||(l=o(_,[],0)),l.addedCount++,_++,l.removed.push(i[m]),m++;break;case 2:l||(l=o(_,[],0)),l.addedCount++,_++;break;case 3:l||(l=o(_,[],0)),l.removed.push(i[m]),m++}return l&&p.push(l),p}(i,0,i.length,n,0,n.length));var i,n;for(let e,o=0;o<s.length&&(e=s[o]);o++)for(let s,o=0;o<e.removed.length&&(s=e.removed[o]);o++)t.removedNodes.push(s);for(let o,r=0;r<s.length&&(o=s[r]);r++)for(let s=o.index;s<o.index+o.addedCount;s++)t.addedNodes.push(e[s]);this._effectiveNodes=e;let a=!1;return(t.addedNodes.length||t.removedNodes.length)&&(a=!0,this.callback.call(this._target,t)),a}_listenSlots(t){for(let e=0;e<t.length;e++){let s=t[e];a(s)&&s.addEventListener("slotchange",this._boundSchedule)}}_unlistenSlots(t){for(let e=0;e<t.length;e++){let s=t[e];a(s)&&s.removeEventListener("slotchange",this._boundSchedule)}}}(s,(t=>{const e=this.multiple?this.nodes:[this.node],s=t.addedNodes.filter((t=>!(0,l.eC)(t)&&!e.includes(t)));t.removedNodes.length&&t.removedNodes.forEach((t=>{this.teardownNode(t)})),s&&s.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...e,...s].filter((t=>t!==this.defaultNode)),s.forEach((t=>{this.initAddedNode(t)}))):(this.node&&this.node.remove(),this.node=s[0],this.initAddedNode(this.node)))}))}}},4062:(t,e,s)=>{s.d(e,{N:()=>r});var o=s(1598);const r=t=>class extends((0,o.f)(t)){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(t,e){super._disabledChanged(t,e),t?(void 0!==this.tabindex&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):e&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(t){this.disabled&&-1!==t&&(this._lastTabIndex=t,this.tabindex=-1)}}},4463:(t,e,s)=>{s.d(e,{f:()=>r});var o=s(4271);class r extends o.n{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,void 0!==this.context&&(t.context=this.context),void 0!==this.manual&&(t.manual=this.manual),void 0!==this.opened&&(t.opened=this.opened),void 0!==this.position&&(t._position=this.position),void 0!==this.shouldShow&&(t.shouldShow=this.shouldShow)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}}},3971:(t,e,s)=>{s.d(e,{l:()=>r});let o=0;function r(){return o++}},1195:(t,e,s)=>{s(4407);var o=s(5128);const r=o.iv`
3
- :host {
4
- /* Base (background) */
5
- --lumo-base-color: #fff;
6
-
7
- /* Tint */
8
- --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
9
- --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
10
- --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
11
- --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
12
- --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
13
- --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
14
- --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
15
- --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
16
- --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
17
- --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
18
- --lumo-tint: #fff;
19
-
20
- /* Shade */
21
- --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
22
- --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
23
- --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
24
- --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
25
- --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
26
- --lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
27
- --lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
28
- --lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
29
- --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
30
- --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
31
- --lumo-shade: hsl(214, 35%, 15%);
32
-
33
- /* Contrast */
34
- --lumo-contrast-5pct: var(--lumo-shade-5pct);
35
- --lumo-contrast-10pct: var(--lumo-shade-10pct);
36
- --lumo-contrast-20pct: var(--lumo-shade-20pct);
37
- --lumo-contrast-30pct: var(--lumo-shade-30pct);
38
- --lumo-contrast-40pct: var(--lumo-shade-40pct);
39
- --lumo-contrast-50pct: var(--lumo-shade-50pct);
40
- --lumo-contrast-60pct: var(--lumo-shade-60pct);
41
- --lumo-contrast-70pct: var(--lumo-shade-70pct);
42
- --lumo-contrast-80pct: var(--lumo-shade-80pct);
43
- --lumo-contrast-90pct: var(--lumo-shade-90pct);
44
- --lumo-contrast: var(--lumo-shade);
45
-
46
- /* Text */
47
- --lumo-header-text-color: var(--lumo-contrast);
48
- --lumo-body-text-color: var(--lumo-contrast-90pct);
49
- --lumo-secondary-text-color: var(--lumo-contrast-70pct);
50
- --lumo-tertiary-text-color: var(--lumo-contrast-50pct);
51
- --lumo-disabled-text-color: var(--lumo-contrast-30pct);
52
-
53
- /* Primary */
54
- --lumo-primary-color: hsl(214, 100%, 48%);
55
- --lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
56
- --lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
57
- --lumo-primary-text-color: hsl(214, 100%, 43%);
58
- --lumo-primary-contrast-color: #fff;
59
-
60
- /* Error */
61
- --lumo-error-color: hsl(3, 85%, 48%);
62
- --lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
63
- --lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
64
- --lumo-error-text-color: hsl(3, 89%, 42%);
65
- --lumo-error-contrast-color: #fff;
66
-
67
- /* Success */
68
- --lumo-success-color: hsl(145, 72%, 30%);
69
- --lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
70
- --lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
71
- --lumo-success-text-color: hsl(145, 85%, 25%);
72
- --lumo-success-contrast-color: #fff;
73
- }
74
- `,i=document.createElement("template");i.innerHTML=`<style>${r.toString().replace(":host","html")}</style>`,document.head.appendChild(i.content);const n=o.iv`
75
- [theme~='dark'] {
76
- /* Base (background) */
77
- --lumo-base-color: hsl(214, 35%, 21%);
78
-
79
- /* Tint */
80
- --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
81
- --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
82
- --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
83
- --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
84
- --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
85
- --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
86
- --lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
87
- --lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
88
- --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
89
- --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
90
- --lumo-tint: hsl(214, 100%, 98%);
91
-
92
- /* Shade */
93
- --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
94
- --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
95
- --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
96
- --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
97
- --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
98
- --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
99
- --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
100
- --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
101
- --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
102
- --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
103
- --lumo-shade: hsl(214, 33%, 13%);
104
-
105
- /* Contrast */
106
- --lumo-contrast-5pct: var(--lumo-tint-5pct);
107
- --lumo-contrast-10pct: var(--lumo-tint-10pct);
108
- --lumo-contrast-20pct: var(--lumo-tint-20pct);
109
- --lumo-contrast-30pct: var(--lumo-tint-30pct);
110
- --lumo-contrast-40pct: var(--lumo-tint-40pct);
111
- --lumo-contrast-50pct: var(--lumo-tint-50pct);
112
- --lumo-contrast-60pct: var(--lumo-tint-60pct);
113
- --lumo-contrast-70pct: var(--lumo-tint-70pct);
114
- --lumo-contrast-80pct: var(--lumo-tint-80pct);
115
- --lumo-contrast-90pct: var(--lumo-tint-90pct);
116
- --lumo-contrast: var(--lumo-tint);
117
-
118
- /* Text */
119
- --lumo-header-text-color: var(--lumo-contrast);
120
- --lumo-body-text-color: var(--lumo-contrast-90pct);
121
- --lumo-secondary-text-color: var(--lumo-contrast-70pct);
122
- --lumo-tertiary-text-color: var(--lumo-contrast-50pct);
123
- --lumo-disabled-text-color: var(--lumo-contrast-30pct);
124
-
125
- /* Primary */
126
- --lumo-primary-color: hsl(214, 90%, 48%);
127
- --lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
128
- --lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
129
- --lumo-primary-text-color: hsl(214, 90%, 77%);
130
- --lumo-primary-contrast-color: #fff;
131
-
132
- /* Error */
133
- --lumo-error-color: hsl(3, 79%, 49%);
134
- --lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
135
- --lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
136
- --lumo-error-text-color: hsl(3, 100%, 80%);
137
-
138
- /* Success */
139
- --lumo-success-color: hsl(145, 72%, 30%);
140
- --lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
141
- --lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
142
- --lumo-success-text-color: hsl(145, 85%, 46%);
143
- }
144
-
145
- html {
146
- color: var(--lumo-body-text-color);
147
- background-color: var(--lumo-base-color);
148
- color-scheme: light;
149
- }
150
-
151
- [theme~='dark'] {
152
- color: var(--lumo-body-text-color);
153
- background-color: var(--lumo-base-color);
154
- color-scheme: dark;
155
- }
156
-
157
- h1,
158
- h2,
159
- h3,
160
- h4,
161
- h5,
162
- h6 {
163
- color: var(--lumo-header-text-color);
164
- }
165
-
166
- a:where(:any-link) {
167
- color: var(--lumo-primary-text-color);
168
- }
169
-
170
- a:not(:any-link) {
171
- color: var(--lumo-disabled-text-color);
172
- }
173
-
174
- blockquote {
175
- color: var(--lumo-secondary-text-color);
176
- }
177
-
178
- code,
179
- pre {
180
- background-color: var(--lumo-contrast-10pct);
181
- border-radius: var(--lumo-border-radius-m);
182
- }
183
- `;(0,o.hC)("",n,{moduleId:"lumo-color"})},9098:(t,e,s)=>{s(4407);const o=s(5128).iv`
184
- :host {
185
- --lumo-size-xs: 1.625rem;
186
- --lumo-size-s: 1.875rem;
187
- --lumo-size-m: 2.25rem;
188
- --lumo-size-l: 2.75rem;
189
- --lumo-size-xl: 3.5rem;
190
-
191
- /* Icons */
192
- --lumo-icon-size-s: 1.25em;
193
- --lumo-icon-size-m: 1.5em;
194
- --lumo-icon-size-l: 2.25em;
195
- /* For backwards compatibility */
196
- --lumo-icon-size: var(--lumo-icon-size-m);
197
- }
198
- `,r=document.createElement("template");r.innerHTML=`<style>${o.toString().replace(":host","html")}</style>`,document.head.appendChild(r.content)},9416:(t,e,s)=>{s(4407);const o=s(5128).iv`
199
- :host {
200
- /* Square */
201
- --lumo-space-xs: 0.25rem;
202
- --lumo-space-s: 0.5rem;
203
- --lumo-space-m: 1rem;
204
- --lumo-space-l: 1.5rem;
205
- --lumo-space-xl: 2.5rem;
206
-
207
- /* Wide */
208
- --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
209
- --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
210
- --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
211
- --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
212
- --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
213
-
214
- /* Tall */
215
- --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
216
- --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
217
- --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
218
- --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
219
- --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
220
- }
221
- `,r=document.createElement("template");r.innerHTML=`<style>${o.toString().replace(":host","html")}</style>`,document.head.appendChild(r.content)},9849:(t,e,s)=>{s(4407);var o=s(5128);const r=o.iv`
222
- :host {
223
- /* Border radius */
224
- --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
225
- --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
226
- --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
227
-
228
- /* Shadow */
229
- --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
230
- --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
231
- --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
232
- --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
233
- --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
234
-
235
- /* Clickable element cursor */
236
- --lumo-clickable-cursor: default;
237
- }
238
- `,i=(o.iv`
239
- html {
240
- --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
241
- --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
242
- --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
243
- }
244
- `,document.createElement("template"));i.innerHTML=`<style>${r.toString().replace(":host","html")}$</style>`,document.head.appendChild(i.content)},4173:(t,e,s)=>{s(4407);var o=s(5128);const r=o.iv`
245
- :host {
246
- /* prettier-ignore */
247
- --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
248
-
249
- /* Font sizes */
250
- --lumo-font-size-xxs: 0.75rem;
251
- --lumo-font-size-xs: 0.8125rem;
252
- --lumo-font-size-s: 0.875rem;
253
- --lumo-font-size-m: 1rem;
254
- --lumo-font-size-l: 1.125rem;
255
- --lumo-font-size-xl: 1.375rem;
256
- --lumo-font-size-xxl: 1.75rem;
257
- --lumo-font-size-xxxl: 2.5rem;
258
-
259
- /* Line heights */
260
- --lumo-line-height-xs: 1.25;
261
- --lumo-line-height-s: 1.375;
262
- --lumo-line-height-m: 1.625;
263
- }
264
- `,i=o.iv`
265
- body,
266
- :host {
267
- font-family: var(--lumo-font-family);
268
- font-size: var(--lumo-font-size-m);
269
- line-height: var(--lumo-line-height-m);
270
- -webkit-text-size-adjust: 100%;
271
- -webkit-font-smoothing: antialiased;
272
- -moz-osx-font-smoothing: grayscale;
273
- }
274
-
275
- small,
276
- [theme~='font-size-s'] {
277
- font-size: var(--lumo-font-size-s);
278
- line-height: var(--lumo-line-height-s);
279
- }
280
-
281
- [theme~='font-size-xs'] {
282
- font-size: var(--lumo-font-size-xs);
283
- line-height: var(--lumo-line-height-xs);
284
- }
285
-
286
- :where(h1, h2, h3, h4, h5, h6) {
287
- font-weight: 600;
288
- line-height: var(--lumo-line-height-xs);
289
- margin-block: 0;
290
- }
291
-
292
- :where(h1) {
293
- font-size: var(--lumo-font-size-xxxl);
294
- }
295
-
296
- :where(h2) {
297
- font-size: var(--lumo-font-size-xxl);
298
- }
299
-
300
- :where(h3) {
301
- font-size: var(--lumo-font-size-xl);
302
- }
303
-
304
- :where(h4) {
305
- font-size: var(--lumo-font-size-l);
306
- }
307
-
308
- :where(h5) {
309
- font-size: var(--lumo-font-size-m);
310
- }
311
-
312
- :where(h6) {
313
- font-size: var(--lumo-font-size-xs);
314
- text-transform: uppercase;
315
- letter-spacing: 0.03em;
316
- }
317
-
318
- p,
319
- blockquote {
320
- margin-top: 0.5em;
321
- margin-bottom: 0.75em;
322
- }
323
-
324
- a {
325
- text-decoration: none;
326
- }
327
-
328
- a:where(:any-link):hover {
329
- text-decoration: underline;
330
- }
331
-
332
- hr {
333
- display: block;
334
- align-self: stretch;
335
- height: 1px;
336
- border: 0;
337
- padding: 0;
338
- margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
339
- background-color: var(--lumo-contrast-10pct);
340
- }
341
-
342
- blockquote {
343
- border-left: 2px solid var(--lumo-contrast-30pct);
344
- }
345
-
346
- b,
347
- strong {
348
- font-weight: 600;
349
- }
350
-
351
- /* RTL specific styles */
352
- blockquote[dir='rtl'] {
353
- border-left: none;
354
- border-right: 2px solid var(--lumo-contrast-30pct);
355
- }
356
- `;(0,o.hC)("",i,{moduleId:"lumo-typography"});const n=document.createElement("template");n.innerHTML=`<style>${r.toString().replace(":host","html")}</style>`,document.head.appendChild(n.content)},4407:(t,e,s)=>{class o extends HTMLElement{static get version(){return"24.0.11"}}customElements.define("vaadin-lumo-styles",o)},5128:(t,e,s)=>{s.d(e,{Tb:()=>u,iv:()=>o.iv,hC:()=>a});var o=s(9897);const r=t=>class extends t{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(t,e,s){super.attributeChangedCallback(t,e,s),"theme"===t&&this._set_theme(s)}},i=[];function n(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function a(t,e,s={}){var r;t&&(r=t,n(customElements.get(r))&&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,s):i.push({themeFor:t,styles:e,include:s.include,moduleId:s.moduleId})}function l(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():i}function d(t=""){let e=0;return t.startsWith("lumo-")||t.startsWith("material-")?e=1:t.startsWith("vaadin-")&&(e=2),e}function c(t){const e=[];return t.include&&[].concat(t.include).forEach((t=>{const s=l().find((e=>e.moduleId===t));s?e.push(...c(s),...s.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function h(t){const e=`${t}-default-theme`,s=l().filter((s=>s.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(s.themeFor,t))).map((t=>({...t,styles:[...c(t),...t.styles],includePriority:d(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return s.length>0?s:l().filter((t=>t.moduleId===e))}const u=t=>class extends(r(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!n(this)&&function(t,e){const s=document.createElement("style");s.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(s)}(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 s=this.__themes.flatMap((t=>t.styles));return s.filter(((t,e)=>e===s.lastIndexOf(t)))}}},9897:(t,e,s)=>{s.d(e,{c3:()=>a,iv:()=>l});const o=window,r=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,s){if(this._$cssResult$=!0,s!==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(r&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const s=1===t.length?t[0]:e.reduce(((e,s,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.")})(s)+t[o+1]),t[0]);return new a(s,t,i)},d=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,i))(e)})(t):t;var c;const h=window,u=h.trustedTypes,p=u?u.emptyScript:"",_=h.reactiveElementPolyfillSupport,m={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},f=(t,e)=>e!==t&&(e==e||t==t),y={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:f};class v extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,s)=>{const o=this._$Ep(s,e);void 0!==o&&(this._$Ev.set(o,s),t.push(o))})),t}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,s,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||y}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of e)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Ep(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,s;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{r?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const s=document.createElement("style"),r=o.litNonce;void 0!==r&&s.setAttribute("nonce",r),s.textContent=e.cssText,t.appendChild(s)}))})(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=y){var o;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const i=(void 0!==(null===(o=s.converter)||void 0===o?void 0:o.toAttribute)?s.converter:m).toAttribute(e,s.type);this._$El=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$El=null}}_$AK(t,e){var s;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:m;this._$El=r,this[r]=i.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,s){let o=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||f)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(s)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}var g;v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==_||_({ReactiveElement:v}),(null!==(c=h.reactiveElementVersions)&&void 0!==c?c:h.reactiveElementVersions=[]).push("1.6.1");const b=window,w=b.trustedTypes,P=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,S="?"+A,E=`<${S}>`,x=document,T=()=>x.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,O=Array.isArray,$="[ \t\n\f\r]",k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,M=/-->/g,I=/>/g,z=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,L=/"/g,H=/^(?:script|style|textarea|title)$/i,D=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),U=(D(1),D(2),Symbol.for("lit-noChange")),F=Symbol.for("lit-nothing"),j=new WeakMap,B=x.createTreeWalker(x,129,null,!1),V=(t,e)=>{const s=t.length-1,o=[];let r,i=2===e?"<svg>":"",n=k;for(let e=0;e<s;e++){const s=t[e];let a,l,d=-1,c=0;for(;c<s.length&&(n.lastIndex=c,l=n.exec(s),null!==l);)c=n.lastIndex,n===k?"!--"===l[1]?n=M:void 0!==l[1]?n=I:void 0!==l[2]?(H.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=z):void 0!==l[3]&&(n=z):n===z?">"===l[0]?(n=null!=r?r:k,d=-1):void 0===l[1]?d=-2:(d=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?z:'"'===l[3]?L:R):n===L||n===R?n=z:n===M||n===I?n=k:(n=z,r=void 0);const h=n===z&&t[e+1].startsWith("/>")?" ":"";i+=n===k?s+E:d>=0?(o.push(a),s.slice(0,d)+C+s.slice(d)+A+h):s+A+(-2===d?(o.push(void 0),e):h)}const a=i+(t[s]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==P?P.createHTML(a):a,o]};class Y{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let r=0,i=0;const n=t.length-1,a=this.parts,[l,d]=V(t,e);if(this.el=Y.createElement(l,s),B.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=B.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(C)||e.startsWith(A)){const s=d[i++];if(t.push(e),void 0!==s){const t=o.getAttribute(s.toLowerCase()+C).split(A),e=/([.?@])?(.*)/.exec(s);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?K:"?"===e[1]?X:"@"===e[1]?Q:G})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(H.test(o.tagName)){const t=o.textContent.split(A),e=t.length-1;if(e>0){o.textContent=w?w.emptyScript:"";for(let s=0;s<e;s++)o.append(t[s],T()),B.nextNode(),a.push({type:2,index:++r});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===S)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(A,t+1));)a.push({type:7,index:r}),t+=A.length-1}r++}}static createElement(t,e){const s=x.createElement("template");return s.innerHTML=t,s}}function q(t,e,s=t,o){var r,i,n,a;if(e===U)return e;let l=void 0!==o?null===(r=s._$Co)||void 0===r?void 0:r[o]:s._$Cl;const d=N(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==d&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===d?l=void 0:(l=new d(t),l._$AT(t,s,o)),void 0!==o?(null!==(n=(a=s)._$Co)&&void 0!==n?n:a._$Co=[])[o]=l:s._$Cl=l),void 0!==l&&(e=q(t,l._$AS(t,e.values),l,o)),e}class J{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){var e;const{el:{content:s},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:x).importNode(s,!0);B.currentNode=r;let i=B.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new W(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new tt(i,this,t)),this._$AV.push(e),l=o[++a]}n!==(null==l?void 0:l.index)&&(i=B.nextNode(),n++)}return r}v(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class W{constructor(t,e,s,o){var r;this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=q(this,t,e),N(t)?t===F||null==t||""===t?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==U&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>O(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(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!==F&&N(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){var e;const{values:s,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Y.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(s);else{const t=new J(r,this),e=t.u(this.options);t.v(s),this.$(e),this._$AH=t}}_$AC(t){let e=j.get(t.strings);return void 0===e&&j.set(t.strings,e=new Y(t)),e}T(t){O(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const r of t)o===e.length?e.push(s=new W(this.k(T()),this.k(T()),this,this.options)):s=e[o],s._$AI(r),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class G{constructor(t,e,s,o,r){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=F}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,o){const r=this.strings;let i=!1;if(void 0===r)t=q(this,t,e,0),i=!N(t)||t!==this._$AH&&t!==U,i&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=q(this,o[s+n],e,n),a===U&&(a=this._$AH[n]),i||(i=!N(a)||a!==this._$AH[n]),a===F?t=F:t!==F&&(t+=(null!=a?a:"")+r[n+1]),this._$AH[n]=a}i&&!o&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class K extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}}const Z=w?w.emptyScript:"";class X extends G{constructor(){super(...arguments),this.type=4}j(t){t&&t!==F?this.element.setAttribute(this.name,Z):this.element.removeAttribute(this.name)}}class Q extends G{constructor(t,e,s,o,r){super(t,e,s,o,r),this.type=5}_$AI(t,e=this){var s;if((t=null!==(s=q(this,t,e,0))&&void 0!==s?s:F)===U)return;const o=this._$AH,r=t===F&&o!==F||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==F&&(o===F||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class tt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}}const et=b.litHtmlPolyfillSupport;var st,ot;null==et||et(Y,W),(null!==(g=b.litHtmlVersions)&&void 0!==g?g:b.litHtmlVersions=[]).push("2.7.2");class rt extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,s)=>{var o,r;const i=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:e;let n=i._$litPart$;if(void 0===n){const t=null!==(r=null==s?void 0:s.renderBefore)&&void 0!==r?r:null;i._$litPart$=n=new W(e.insertBefore(T(),t),t,void 0,null!=s?s:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return U}}rt.finalized=!0,rt._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:rt});const it=globalThis.litElementPolyfillSupport;null==it||it({LitElement:rt}),(null!==(ot=globalThis.litElementVersions)&&void 0!==ot?ot:globalThis.litElementVersions=[]).push("3.3.1")}}]);
@@ -1,61 +0,0 @@
1
- /**
2
- * @fileoverview
3
- * @suppress {checkPrototypalTypes}
4
- * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
5
- * This code may only be used under the BSD style license found at
6
- * http://polymer.github.io/LICENSE.txt The complete set of authors may be found
7
- * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
8
- * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
9
- * Google as part of the polymer project is also subject to an additional IP
10
- * rights grant found at http://polymer.github.io/PATENTS.txt
11
- */
12
-
13
- /**
14
- * @license
15
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
16
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
17
- */
18
-
19
- /**
20
- * @license
21
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
22
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
23
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
24
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
25
- * Code distributed by Google as part of the polymer project is also
26
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
27
- */
28
-
29
- /**
30
- * @license
31
- * Copyright (c) 2021 - 2023 Vaadin Ltd.
32
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33
- */
34
-
35
- /**
36
- * @license
37
- * Copyright (c) 2022 - 2023 Vaadin Ltd.
38
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
39
- */
40
-
41
- /**
42
- * @license
43
- * Copyright 2017 Google LLC
44
- * SPDX-License-Identifier: BSD-3-Clause
45
- */
46
-
47
- /**
48
- * @license
49
- * Copyright 2019 Google LLC
50
- * SPDX-License-Identifier: BSD-3-Clause
51
- */
52
-
53
- /**
54
- @license
55
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
56
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
57
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
58
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
59
- Code distributed by Google as part of the polymer project is also
60
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
61
- */
package/dist/umd/8725.js DELETED
@@ -1,37 +0,0 @@
1
- /*! For license information please see 8725.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[8725],{8005:(t,e,s)=>{s.d(e,{n:()=>h}),s(3130);var i=s(4241),r=s(1402),l=s(4463),n=s(2743),a=s(5128),o=s(3208),d=s(422),p=s(6729);const u=t=>class extends((0,d.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 o.b(this,(t=>{this._setInputElement(t),this._setFocusElement(t),this.stateTarget=t,this.ariaTarget=t}))),this.addController(new p.v(this.inputElement,this._labelController))}};(0,a.hC)("vaadin-text-field",n.J,{moduleId:"vaadin-text-field-styles"});class h extends(u((0,a.Tb)((0,r.S)(i.H3)))){static get is(){return"vaadin-text-field"}static get template(){return i.dy`
3
- <style>
4
- [part='input-field'] {
5
- flex-grow: 0;
6
- }
7
- </style>
8
-
9
- <div class="vaadin-field-container">
10
- <div part="label">
11
- <slot name="label"></slot>
12
- <span part="required-indicator" aria-hidden="true" on-click="focus"></span>
13
- </div>
14
-
15
- <vaadin-input-container
16
- part="input-field"
17
- readonly="[[readonly]]"
18
- disabled="[[disabled]]"
19
- invalid="[[invalid]]"
20
- theme$="[[_theme]]"
21
- >
22
- <slot name="prefix" slot="prefix"></slot>
23
- <slot name="input"></slot>
24
- <slot name="suffix" slot="suffix"></slot>
25
- <div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
26
- </vaadin-input-container>
27
-
28
- <div part="helper-text">
29
- <slot name="helper"></slot>
30
- </div>
31
-
32
- <div part="error-message">
33
- <slot name="error-message"></slot>
34
- </div>
35
- </div>
36
- <slot name="tooltip"></slot>
37
- `}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new l.f(this),this._tooltipController.setPosition("top"),this.addController(this._tooltipController)}}customElements.define(h.is,h)},8725:(t,e,s)=>{s(3787);var i=s(2279);(0,s(5128).hC)("vaadin-text-field",i.J,{moduleId:"lumo-text-field-styles"}),s(8005)}}]);