@momentum-ui/web-components 2.14.0 → 2.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/dist/chunks/md-23.js +1 -1
  2. package/dist/chunks/md-26.js +1 -1
  3. package/dist/chunks/md-27.js +1 -1
  4. package/dist/chunks/md-29.js +2 -2
  5. package/dist/chunks/md-31.js +1 -1
  6. package/dist/chunks/md-33.js +36 -33
  7. package/dist/chunks/md-34.js +32 -22
  8. package/dist/chunks/md-35.js +23 -5
  9. package/dist/chunks/md-36.js +5 -5
  10. package/dist/chunks/md-37.js +5 -1
  11. package/dist/chunks/md-38.js +1 -21
  12. package/dist/chunks/md-39.js +20 -41
  13. package/dist/chunks/md-40.js +42 -1
  14. package/dist/chunks/md-41.js +1 -30
  15. package/dist/chunks/md-42.js +30 -16
  16. package/dist/chunks/md-43.js +16 -1
  17. package/dist/chunks/md-44.js +1 -27
  18. package/dist/chunks/md-45.js +26 -4
  19. package/dist/chunks/md-46.js +4 -37
  20. package/dist/chunks/md-47.js +38 -13
  21. package/dist/chunks/md-48.js +13 -20
  22. package/dist/chunks/md-49.js +19 -119
  23. package/dist/chunks/md-50.js +114 -91
  24. package/dist/chunks/md-51.js +98 -11
  25. package/dist/chunks/md-52.js +11 -5
  26. package/dist/chunks/md-53.js +4 -76
  27. package/dist/chunks/md-54.js +68 -59
  28. package/dist/chunks/md-55.js +64 -18
  29. package/dist/chunks/md-56.js +22 -14
  30. package/dist/chunks/md-57.js +14 -5
  31. package/dist/chunks/md-58.js +5 -51
  32. package/dist/chunks/md-59.js +51 -22
  33. package/dist/chunks/md-60.js +21 -4
  34. package/dist/chunks/md-61.js +5 -1
  35. package/dist/chunks/md-62.js +1 -23
  36. package/dist/chunks/md-63.js +23 -5
  37. package/dist/chunks/md-64.js +4 -10
  38. package/dist/chunks/md-65.js +9 -140
  39. package/dist/chunks/md-66.js +139 -27
  40. package/dist/chunks/md-67.js +29 -69
  41. package/dist/chunks/md-68.js +70 -19
  42. package/dist/chunks/md-69.js +19 -21
  43. package/dist/chunks/md-70.js +20 -16
  44. package/dist/chunks/md-71.js +17 -36
  45. package/dist/chunks/md-72.js +1 -1
  46. package/dist/chunks/md-73.js +3 -3
  47. package/dist/chunks/md-76.js +1 -1
  48. package/dist/chunks/md-77.js +1 -1
  49. package/dist/chunks/md-78.js +1 -1
  50. package/dist/chunks/md-80.js +1 -1
  51. package/dist/chunks/md-81.js +1 -1
  52. package/dist/chunks/md-82.js +1 -1
  53. package/dist/chunks/md-83.js +9 -9
  54. package/dist/chunks/md-85.js +1 -1
  55. package/dist/comp/md-accordion-entry.js +1 -1
  56. package/dist/comp/md-accordion-item-entry.js +1 -1
  57. package/dist/comp/md-accordion-item.js +1 -1
  58. package/dist/comp/md-accordion.js +1 -1
  59. package/dist/comp/md-activity-button-entry.js +1 -1
  60. package/dist/comp/md-activity-button.js +1 -1
  61. package/dist/comp/md-alert-banner-entry.js +1 -1
  62. package/dist/comp/md-alert-banner.js +1 -1
  63. package/dist/comp/md-alert-entry.js +1 -1
  64. package/dist/comp/md-alert.js +2 -1
  65. package/dist/comp/md-audio-player-entry.js +1 -1
  66. package/dist/comp/md-audio-player.js +1 -1
  67. package/dist/comp/md-badge-entry.js +1 -1
  68. package/dist/comp/md-badge.js +1 -1
  69. package/dist/comp/md-breadcrumb-entry.js +1 -1
  70. package/dist/comp/md-breadcrumb.js +1 -1
  71. package/dist/comp/md-button-group-entry.js +1 -1
  72. package/dist/comp/md-button-group.js +1 -1
  73. package/dist/comp/md-card-ai-entry.js +1 -1
  74. package/dist/comp/md-card-ai.js +1 -1
  75. package/dist/comp/md-card-entry.js +1 -1
  76. package/dist/comp/md-card.js +3 -3
  77. package/dist/comp/md-chat-message-entry.js +1 -1
  78. package/dist/comp/md-chat-message.js +1 -1
  79. package/dist/comp/md-checkbox-entry.js +1 -1
  80. package/dist/comp/md-checkbox.js +2 -2
  81. package/dist/comp/md-checkboxgroup-entry.js +1 -1
  82. package/dist/comp/md-checkboxgroup.js +2 -2
  83. package/dist/comp/md-chip-entry.js +1 -1
  84. package/dist/comp/md-chip.js +2 -2
  85. package/dist/comp/md-coachmark-entry.js +1 -1
  86. package/dist/comp/md-coachmark.js +1 -1
  87. package/dist/comp/md-composite-avatar-entry.js +1 -1
  88. package/dist/comp/md-composite-avatar.js +1 -1
  89. package/dist/comp/md-date-range-picker-entry.js +1 -1
  90. package/dist/comp/md-date-range-picker.js +2 -2
  91. package/dist/comp/md-date-time-picker-entry.js +1 -1
  92. package/dist/comp/md-date-time-picker.js +1 -1
  93. package/dist/comp/md-datepicker-entry.js +1 -1
  94. package/dist/comp/md-datepicker.js +1 -1
  95. package/dist/comp/md-draggable-entry.js +1 -1
  96. package/dist/comp/md-draggable-item-entry.js +1 -1
  97. package/dist/comp/md-draggable-item.js +2 -2
  98. package/dist/comp/md-draggable.js +2 -2
  99. package/dist/comp/md-dropdown-entry.js +1 -1
  100. package/dist/comp/md-dropdown.js +1 -1
  101. package/dist/comp/md-editable-field-entry.js +1 -1
  102. package/dist/comp/md-editable-field.js +1 -1
  103. package/dist/comp/md-favorite-entry.js +1 -1
  104. package/dist/comp/md-favorite.js +1 -1
  105. package/dist/comp/md-floating-minimize-entry.js +1 -1
  106. package/dist/comp/md-floating-minimize.js +1 -1
  107. package/dist/comp/md-floating-modal-entry.js +1 -1
  108. package/dist/comp/md-floating-modal.js +2 -2
  109. package/dist/comp/md-form-entry.js +1 -1
  110. package/dist/comp/md-form.js +1 -1
  111. package/dist/comp/md-grabber-entry.js +1 -1
  112. package/dist/comp/md-grabber.js +1 -1
  113. package/dist/comp/md-inpu.js +1 -1
  114. package/dist/comp/md-input-file.js +1 -1
  115. package/dist/comp/md-link-entry.js +1 -1
  116. package/dist/comp/md-link.js +1 -1
  117. package/dist/comp/md-list-entry.js +1 -1
  118. package/dist/comp/md-list-item-entry.js +1 -1
  119. package/dist/comp/md-list-item.js +1 -1
  120. package/dist/comp/md-list.js +1 -1
  121. package/dist/comp/md-loading-entry.js +1 -1
  122. package/dist/comp/md-meeting-alert-entry.js +1 -1
  123. package/dist/comp/md-menu-entry.js +1 -1
  124. package/dist/comp/md-menu-item-entry.js +1 -1
  125. package/dist/comp/md-menu-item.js +1 -1
  126. package/dist/comp/md-menu.js +1 -1
  127. package/dist/comp/md-phone-input-entry.js +1 -1
  128. package/dist/comp/md-progress-bar-entry.js +1 -1
  129. package/dist/comp/md-progress-bar.js +1 -1
  130. package/dist/comp/md-radio-entry.js +1 -1
  131. package/dist/comp/md-radio.js +1 -1
  132. package/dist/comp/md-radiogroup-entry.js +1 -1
  133. package/dist/comp/md-radiogroup.js +1 -1
  134. package/dist/comp/md-tab-entry.js +1 -1
  135. package/dist/comp/md-tab-panel-entry.js +1 -1
  136. package/dist/comp/md-tab.js +1 -1
  137. package/dist/comp/md-table-advanced-entry.js +1 -1
  138. package/dist/comp/md-tabs-entry.js +1 -1
  139. package/dist/comp/md-tabs.js +1 -1
  140. package/dist/comp/md-task-item-entry.js +1 -1
  141. package/dist/comp/md-task-item.js +1 -1
  142. package/dist/comp/md-theme-entry.js +1 -1
  143. package/dist/index-entry.js +2 -2
  144. package/dist/index.js +31 -31
  145. package/dist/types/components/alert/Alert.d.ts +8 -1
  146. package/dist/types/components/combobox/ComboBox.d.ts +2 -1
  147. package/dist/types/components/grabber/Grabber.d.ts +1 -1
  148. package/dist/types/components/table/Table.d.ts +2 -10
  149. package/dist/types/internal-components/color-table/ColorTable.d.ts +1 -5
  150. package/package.json +3 -3
@@ -1,19 +1,70 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[68],{96:function(t,e,i){"use strict";i.r(e),i.d(e,"Form",(function(){return o}));var o,r=i(7),n=i(0),s=i(3),a=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};!function(t){let e=class extends(Object(r.e)(n.LitElement)){constructor(){super(...arguments),this.rel="",this.name="",this.action="",this.label="",this.method="get",this.target="_self",this.enctype="application/x-www-form-urlencoded",this.novalidate=!1,this.charset="UTF-8",this.isvalid=!1,this.token="on",this.allowRedirect=!1,this.autofillname="input-name",this.formElement=[],this.handleSubmit=t=>{t.preventDefault(),this.validated()&&this.submitForm()},this.handleFormSubmit=t=>{this.allowRedirect||t.preventDefault(),this.dispatchEvent(new CustomEvent("form-submitted",{composed:!0,bubbles:!0}))}}get formMethod(){return"GET"===this.method?"get":"POST"===this.method?"post":this.method}isSubmittable(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement}isDisabled(t){return t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")}findSubmittable(t,e){const i=Array.from(t.children);for(const t of i)if(!this.isDisabled(t))if(this.isSubmittable(t)&&e.add(t),t.shadowRoot)this.findSubmittable(t.shadowRoot,e);else if("SLOT"===t.tagName){const i=t.assignedElements();if(i.length){const{parentElement:t}=i[0];t&&this.findSubmittable(t,e)}}else this.findSubmittable(t,e);return[...e]}validated(){return!!this.novalidate||this.isvalid}submitForm(){const{form:t}=this;t.requestSubmit?t.requestSubmit():t.submit()}get submitButton(){return this.querySelector("button[type='submit']")||this.querySelector("input[type='submit']")||this.querySelector("md-button[type='submit']")}disconnectedCallback(){super.disconnectedCallback(),this.cleanupWrappedForms(),this.teardownEvents()}deleteWrappedForm(t){t.removeEventListener("submit",this.handleFormSubmit)}cleanupWrappedForms(){const{formElement:t}=this;if(t.length)for(const e of t)this.deleteWrappedForm(e);this.formElement=[]}createWrappedForm(t){const e=document.createElement("form");e.addEventListener("submit",this.handleFormSubmit);const{parentNode:i}=t;t.autocomplete=this.token,t.id||(t.id=this.autofillname),t.name||(t.name=this.autofillname),i&&(this.formElement.push(e),i.insertBefore(e,t),e.append(t))}teardownEvents(){this.submitButton&&this.submitButton.removeEventListener("click",this.handleSubmit)}setupEvents(){this.submitButton&&this.submitButton.addEventListener("click",this.handleSubmit)}setupSubmittable(){const t=this.findSubmittable(this.form,new Set);if(t.length)for(const e of t)this.createWrappedForm(e)}slottedChanged(){this.setupSubmittable(),this.setupEvents()}render(){return n.html`
2
- <form
3
- class="md-form"
4
- role="form"
5
- name=${Object(s.ifDefined)(this.name||void 0)}
6
- rel=${Object(s.ifDefined)(this.rel||void 0)}
7
- action=${Object(s.ifDefined)(this.action||void 0)}
8
- accept-charset=${this.charset}
9
- enctype=${this.enctype}
10
- aria-label=${Object(s.ifDefined)(this.label||void 0)}
11
- ?novalidate=${this.novalidate}
12
- method=${this.formMethod}
13
- target=${this.target}
14
- part="form"
15
- @submit=${this.handleFormSubmit}
16
- >
17
- <slot></slot>
18
- </form>
19
- `}};a([Object(n.property)({type:String})],e.prototype,"rel",void 0),a([Object(n.property)({type:String})],e.prototype,"name",void 0),a([Object(n.property)({type:String})],e.prototype,"action",void 0),a([Object(n.property)({type:String})],e.prototype,"label",void 0),a([Object(n.property)({type:String})],e.prototype,"method",void 0),a([Object(n.property)({type:String})],e.prototype,"target",void 0),a([Object(n.property)({type:String})],e.prototype,"enctype",void 0),a([Object(n.property)({type:Boolean,reflect:!0,attribute:"no-validate"})],e.prototype,"novalidate",void 0),a([Object(n.property)({type:String,reflect:!0,attribute:"accept-charset"})],e.prototype,"charset",void 0),a([Object(n.property)({type:Boolean,reflect:!0,attribute:"is-valid"})],e.prototype,"isvalid",void 0),a([Object(n.property)({type:String,attribute:"autofill-token"})],e.prototype,"token",void 0),a([Object(n.property)({type:Boolean,attribute:"allow-redirect"})],e.prototype,"allowRedirect",void 0),a([Object(n.property)({type:String,attribute:"autofill-name"})],e.prototype,"autofillname",void 0),a([Object(n.query)(".md-form")],e.prototype,"form",void 0),e=a([Object(r.f)("md-form")],e),t.ELEMENT=e}(o||(o={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[68],{96:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingModal",(function(){return o}));e(17),e(15);var o,n=e(7),a=e(6),s=e(5),r=(e(46),e(47),e(48),e(21)),l=e.n(r),d=(e(49),e(0)),c=e(2),h=e(3),m=(e(76),e(65)),p=function(t,i,e,o){var n,a=arguments.length,s=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,o);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(s=(a<3?n(s):a>3?n(i,e,s):n(i,e))||s);return a>3&&s&&Object.defineProperty(i,e,s),s},b=function(t,i,e,o){return new(e||(e=Promise))((function(n,a){function s(t){try{l(o.next(t))}catch(t){a(t)}}function r(t){try{l(o.throw(t))}catch(t){a(t)}}function l(t){var i;t.done?n(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(s,r)}l((o=o.apply(t,i||[])).next())}))};!function(t){let i=class extends(Object(n.a)(Object(n.e)(d.LitElement))){constructor(){super(...arguments),this.heading="",this.label="",this.show=!1,this.aspectRatio=!1,this.fixed=!1,this.full=!1,this.closeAriaLabel="Close Modal",this.resizeAriaLabel="Resize Modal",this.maximizeScreenLabel="Maximize Modal",this.minimizeAriaLabel="Minimize Modal",this.minimize=!1,this.minimizable=!1,this.containerRect=null,this.dragOccured=!1,this.containerTransform="",this.applyInitialPosition=!0,this.resizeMoveListener=t=>{const{target:i}=t;let e=parseFloat(i.getAttribute("data-x"))||0,o=parseFloat(i.getAttribute("data-y"))||0;i.style.setProperty("width",t.rect.width+"px","important"),i.style.setProperty("height",t.rect.height+"px","important");const{initialX:n,initialY:a}=this.getInitialPosition();e+=t.deltaRect.left+n,o+=t.deltaRect.top+a,this.setTargetPosition(i,e,o),this.applyInitialPosition=!1},this.resizeEndListener=()=>{this.setContainerRect()},this.getInitialPosition=()=>{var t,i;return this.applyInitialPosition&&this.position?{initialX:Number(null===(t=this.position)||void 0===t?void 0:t.x),initialY:Number(null===(i=this.position)||void 0===i?void 0:i.y)}:{initialX:0,initialY:0}},this.dragMoveListener=t=>{const{target:i}=t,{x:e,y:o}=this.getTransformValues(t);this.setTargetPosition(i,e,o),this.applyInitialPosition=!1},this.dragEndListener=()=>{this.dragOccured=!0,this.setContainerRect()}}static get styles(){return[s.a,m.a]}updated(t){super.updated(t),t.has("show")&&(this.container&&this.show?(this.applyInitialPosition=!0,this.setContainerRect(),this.setInteractInstance()):(this.cleanContainerStyles(),this.destroyInteractInstance())),this.container&&t.has("position")&&!t.has("show")&&this.setInitialTargetPosition()}isNewPositionNotSame(){var t,i,e,o;if(this.container)return Number(null===(t=this.container)||void 0===t?void 0:t.getAttribute("data-x"))!==(null===(i=this.position)||void 0===i?void 0:i.x)||Number(null===(e=this.container)||void 0===e?void 0:e.getAttribute("data-y"))!==(null===(o=this.position)||void 0===o?void 0:o.y)}setInitialTargetPosition(){var t,i;this.container&&this.isNewPositionNotSame()&&this.setTargetPosition(this.container,Number(null===(t=this.position)||void 0===t?void 0:t.x),Number(null===(i=this.position)||void 0===i?void 0:i.y))}cleanContainerStyles(){this.containerTransform=""}getContainerTransform(){const t=this.container.getAttribute("data-x"),i=this.container.getAttribute("data-y");return t&&i?(this.dispatchEvent(new CustomEvent("floating-modal-location",{composed:!0,bubbles:!0,detail:{transform:{x:t,y:i}}})),`translate(${t}px, ${i}px)`):this.container.style.transform}setContainerRect(){requestAnimationFrame(()=>b(this,void 0,void 0,(function*(){yield this.updateComplete,this.containerRect=this.container.getBoundingClientRect(),this.dispatchEvent(new CustomEvent("floating-modal-resize",{composed:!0,bubbles:!0,detail:{size:this.containerRect}})),this.containerTransform=this.getContainerTransform()})))}setInteractInstance(){requestAnimationFrame(()=>{this.container&&l()(this.container).resizable({edges:{left:!0,right:!0,bottom:!0,top:!0},listeners:{end:this.resizeEndListener,move:this.resizeMoveListener},modifiers:this.aspectRatio?[l.a.modifiers.aspectRatio({ratio:"preserve",equalDelta:!0,modifiers:[l.a.modifiers.restrictSize({max:"parent"})]})]:void 0}).draggable({autoScroll:!0,allowFrom:this.header,ignoreFrom:this.body,listeners:{move:this.dragMoveListener,end:this.dragEndListener}})})}handleClose(t){this.show=!1,this.full=!1,this.dispatchEvent(new CustomEvent("floating-modal-close",{composed:!0,bubbles:!0,detail:{srcEvent:t}}))}handleMinimize(){this.minimizable&&(this.dragOccured||(this.minimize=!this.minimize,this.dispatchEvent(new CustomEvent("floating-modal-minimize",{composed:!0,bubbles:!0,detail:{minimize:this.minimize}}))),this.dragOccured=!1)}handleToggleExpandCollapse(){this.full=!this.full}getTransformValues(t){const{target:i,dx:e,dy:o}=t,{initialX:n,initialY:a}=this.getInitialPosition();return{x:(parseFloat(i.getAttribute("data-x"))||0)+e+n,y:(parseFloat(i.getAttribute("data-y"))||0)+o+a}}setTargetPosition(t,i,e){t.style.transform=`translate(${i}px, ${e}px)`,t.setAttribute("data-x",""+i),t.setAttribute("data-y",""+e)}destroyInteractInstance(){this.container&&l.a.isSet(this.container)&&l()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance()}renderedCallback(){this.containerTransform=this.position?`translate(${this.position.x}px, ${this.position.y}px)`:""}render(){return d.html`
2
+ ${this.show?d.html`
3
+ <div
4
+ class="md-floating ${this.fixed?"fixed":""} ${this.minimize?"hide":""}"
5
+ part="floating"
6
+ role="dialog"
7
+ aria-label=${Object(h.ifDefined)(this.label||void 0)}
8
+ aria-modal="true"
9
+ style=${Object(h.ifDefined)(this.containerRect?`width: ${this.full?"100% !important":this.containerRect.width+"px !important"};\n height: ${this.full?"100% !important":this.containerRect.height+"px !important"};\n top: ${this.full?"0 !important":""};\n left: ${this.full?"0 !important":""};\n bottom: ${this.full?"0 !important":""};\n right: ${this.full?"0 !important":""};\n ${this.full?"transform: none !important":""};\n ${this.full?"":`transform: ${this.position?`translate(${this.position.x}px, ${this.position.y}px)`:this.containerTransform} !important`};`:void 0)}
10
+ >
11
+ <div class="md-floating__header">
12
+ <div class="md-floating__header-text">
13
+ ${this.heading?d.html` ${this.heading} `:d.html`
14
+ ${!this.minimize&&this.headerSlot}
15
+ <slot name="header"></slot>
16
+ `}
17
+ </div>
18
+ ${this.minimizable?d.html` <md-button
19
+ color="color-none"
20
+ class="md-floating__minimize"
21
+ ariaLabel="${this.minimizeAriaLabel}"
22
+ circle
23
+ @click=${this.handleMinimize}
24
+ >
25
+ <md-icon name="minus-bold" size="16" iconSet="momentumDesign"></md-icon>
26
+ </md-button>`:c.nothing}
27
+ ${this.minimize?"":d.html` <md-button
28
+ color="color-none"
29
+ class="md-floating__resize"
30
+ ariaLabel="${this.full?this.resizeAriaLabel:this.maximizeScreenLabel}"
31
+ circle
32
+ @click=${this.handleToggleExpandCollapse}
33
+ >
34
+ <md-icon
35
+ name=${this.full?"minimize-bold":"maximize-bold"}
36
+ size="16"
37
+ iconSet="momentumDesign"
38
+ ></md-icon>
39
+ </md-button>`}
40
+
41
+ <md-button
42
+ color="color-none"
43
+ class="md-floating__close"
44
+ ariaLabel="${this.closeAriaLabel}"
45
+ circle
46
+ @click=${this.handleClose}
47
+ >
48
+ <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
49
+ </md-button>
50
+ </div>
51
+ <div class="md-floating__body" part="floating-body">
52
+ <slot></slot>
53
+ </div>
54
+ </div>
55
+ ${this.minimizable?d.html` <div class="md-floating-min-parent" part="minimize-floating" tabindex="-1">
56
+ <md-floating-modal-minimized
57
+ class="float-modal-min"
58
+ part="floating-minimized"
59
+ heading=${this.heading}
60
+ .minimize=${this.minimize}
61
+ .minPosition=${this.minPosition}
62
+ @floating-min-modal-minimize=${()=>this.handleMinimize()}
63
+ @floating-modal-close=${this.handleClose}
64
+ ?show=${this.show}
65
+ >
66
+ ${this.minimize&&this.headerSlot}
67
+ </md-floating-modal-minimized>
68
+ </div>`:c.nothing}
69
+ `:c.nothing}
70
+ `}};p([Object(d.property)({type:String})],i.prototype,"heading",void 0),p([Object(d.property)({type:String})],i.prototype,"label",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"show",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"aspect-ratio"})],i.prototype,"aspectRatio",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"fixed-strategy"})],i.prototype,"fixed",void 0),p([Object(d.property)({type:Boolean,reflect:!0,attribute:"full-screen"})],i.prototype,"full",void 0),p([Object(d.property)({type:String,attribute:"close-aria-label"})],i.prototype,"closeAriaLabel",void 0),p([Object(d.property)({type:String,attribute:"resize-aria-label"})],i.prototype,"resizeAriaLabel",void 0),p([Object(d.property)({type:String,attribute:"maximize-aria-label"})],i.prototype,"maximizeScreenLabel",void 0),p([Object(d.property)({type:String,attribute:"minimize-aria-label"})],i.prototype,"minimizeAriaLabel",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"minimize",void 0),p([Object(d.property)({type:Object})],i.prototype,"position",void 0),p([Object(d.property)({type:Object})],i.prototype,"minPosition",void 0),p([Object(d.property)({type:Boolean,reflect:!0})],i.prototype,"minimizable",void 0),p([Object(d.property)({type:Object})],i.prototype,"containerRect",void 0),p([Object(d.internalProperty)()],i.prototype,"dragOccured",void 0),p([Object(d.query)(".md-floating")],i.prototype,"container",void 0),p([Object(d.query)(".md-floating__body")],i.prototype,"body",void 0),p([Object(d.query)(".md-floating__header")],i.prototype,"header",void 0),p([Object(d.query)(".md-floating-min-parent")],i.prototype,"minimizedHeader",void 0),p([Object(d.query)('slot[name="header"]')],i.prototype,"headerSlot",void 0),i=p([Object(a.a)("md-floating-modal")],i),t.ELEMENT=i}(o||(o={}))}}]);
@@ -1,21 +1,19 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[69],{118:function(e,r,t){"use strict";t.r(r),t.d(r,"Grabber",(function(){return o}));t(15);var o,a=t(1),i=t(7),n=t(6),d=t(5),b=t(0),c=t(4),l=t(3),s=b.css`:host{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center}.md-grabber__container{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center;overflow:hidden}.md-grabber__container:focus-within{box-shadow:0 0 0 2px var(--md-default-focus-outline-color)}.md-grabber{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center;position:relative;gap:2px;background-color:var(--grabber-bg-color);border-color:var(--grabber-border-color);justify-content:center;align-items:center;cursor:pointer;transition:transform 150ms ease-in-out}.md-grabber.visible{transform:translate3d(0,0,0)}.md-grabber:hover{background-color:var(--grabber-hover-bg-color)}.md-grabber:active{background-color:var(--grabber-pressed-bg-color)}.md-grabber:focus{outline:0}.md-grabber--leading,.md-grabber--trailing{width:var(--grabber-width,20px);height:40px;border-radius:0 var(--grabber-border-radius) var(--grabber-border-radius) 0;border:1px solid var(--grabber-border-color);border-left-width:0}.md-grabber--leading:not(.visible),.md-grabber--trailing:not(.visible){transform:translate3d(-100%,0,0)}.md-grabber--trailing{rotate:180deg}.md-grabber--bottom,.md-grabber--top{width:40px;height:var(--grabber-width,20px);border-radius:0 0 var(--grabber-border-radius) var(--grabber-border-radius);border:1px solid var(--grabber-border-color);border-top-width:0}.md-grabber--bottom:not(.visible),.md-grabber--top:not(.visible){transform:translate3d(0,-100%,0)}.md-grabber--bottom{rotate:180deg}.md-grabber md-icon,.md-grabber md-icon::part(icon){color:var(--grabber-text-color);width:fit-content;height:fit-content}.md-grabber--disabled{background-color:rgba(0,0,0,0)}.md-grabber--disabled:active,.md-grabber--disabled:hover{background-color:rgba(0,0,0,0)}.md-grabber--disabled md-icon::part(icon){color:var(--button-disabled-text-color)}@media(forced-colors:active){.md-grabber__container:focus-within{outline:2px solid ButtonText;outline-offset:1px}.md-grabber{background-color:Highlight}.md-grabber:hover{background-color:Highlight}.md-grabber:active{background-color:Highlight}.md-grabber md-icon,.md-grabber md-icon::part(icon){forced-color-adjust:none;color:HighlightText}}`,g=function(e,r,t,o){var a,i=arguments.length,n=i<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,t,o);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(n=(i<3?a(n):i>3?a(r,t,n):a(r,t))||n);return i>3&&n&&Object.defineProperty(r,t,n),n};!function(e){let r=class extends(Object(i.a)(b.LitElement)){constructor(){super(...arguments),this.label="Expand",this.checkedLabel="Collapse",this.hovered=!1,this.disabled=!1,this.checked=!1,this.visible=!0,this.focused=!1,this.alignment="leading"}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}static get styles(){return[d.a,s]}toggleGrabber(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("grabber-toggled",{detail:{checked:this.checked},bubbles:!0,composed:!0})))}handleMouseDownn(){this.toggleGrabber()}handleKeyDown(e){e.code!==a.b.Enter&&e.code!==a.b.Space&&e.code!==a.b.NumpadEnter||(e.preventDefault(),this.toggleGrabber())}handleMouseEnter(){this.hovered=!0,this.dispatchHoverEvent()}handleMouseLeave(){this.hovered=!1,this.dispatchHoverEvent()}handleFocus(){this.focused=!0}handleBlur(){this.focused=!1}dispatchHoverEvent(){this.dispatchEvent(new CustomEvent("grabber-hover-changed",{bubbles:!0,composed:!0,detail:{hovered:this.hovered}}))}get collapsed(){return!this.checked}get grabberClassMap(){return{"md-grabber--active":this.checked,"md-grabber--disabled":this.disabled,["md-grabber--"+this.alignment]:this.alignment,visible:this.visible||this.focused}}get iconName(){return"leading"===this.alignment||"trailing"===this.alignment?this.checked?"arrow-left-bold":"arrow-right-bold":this.checked?"arrow-up-bold":"arrow-down-bold"}render(){return b.html`
2
- <div class="md-grabber__container">
3
- <button
4
- class="md-grabber ${Object(c.classMap)(this.grabberClassMap)}"
5
- aria-pressed=${this.checked}
6
- ?disabled=${this.disabled}
7
- tabindex="0"
8
- aria-label=${Object(l.ifDefined)(this.label.length?this.label:void 0)}
9
- type="button"
10
- role="button"
11
- @click="${()=>this.handleMouseDownn()}"
12
- @keydown="${e=>this.handleKeyDown(e)}"
13
- @mouseenter="${()=>this.handleMouseEnter()}"
14
- @mouseleave="${()=>this.handleMouseLeave()}"
15
- @focus="${()=>this.handleFocus()}"
16
- @blur="${()=>this.handleBlur()}"
17
- >
18
- <md-icon name="${this.iconName}" size="12" iconSet="momentumDesign"></md-icon>
19
- </button>
20
- </div>
21
- `}};g([Object(b.property)({type:String})],r.prototype,"label",void 0),g([Object(b.property)({type:String})],r.prototype,"checkedLabel",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"hovered",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"disabled",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"checked",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"visible",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"focused",void 0),g([Object(b.property)({type:String,reflect:!0})],r.prototype,"alignment",void 0),r=g([Object(n.a)("md-grabber")],r),e.ELEMENT=r}(o||(o={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[69],{97:function(t,e,i){"use strict";i.r(e),i.d(e,"Form",(function(){return o}));var o,r=i(7),n=i(0),s=i(3),a=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};!function(t){let e=class extends(Object(r.e)(n.LitElement)){constructor(){super(...arguments),this.rel="",this.name="",this.action="",this.label="",this.method="get",this.target="_self",this.enctype="application/x-www-form-urlencoded",this.novalidate=!1,this.charset="UTF-8",this.isvalid=!1,this.token="on",this.allowRedirect=!1,this.autofillname="input-name",this.formElement=[],this.handleSubmit=t=>{t.preventDefault(),this.validated()&&this.submitForm()},this.handleFormSubmit=t=>{this.allowRedirect||t.preventDefault(),this.dispatchEvent(new CustomEvent("form-submitted",{composed:!0,bubbles:!0}))}}get formMethod(){return"GET"===this.method?"get":"POST"===this.method?"post":this.method}isSubmittable(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement}isDisabled(t){return t.hasAttribute("disabled")||"true"===t.getAttribute("aria-disabled")}findSubmittable(t,e){const i=Array.from(t.children);for(const t of i)if(!this.isDisabled(t))if(this.isSubmittable(t)&&e.add(t),t.shadowRoot)this.findSubmittable(t.shadowRoot,e);else if("SLOT"===t.tagName){const i=t.assignedElements();if(i.length){const{parentElement:t}=i[0];t&&this.findSubmittable(t,e)}}else this.findSubmittable(t,e);return[...e]}validated(){return!!this.novalidate||this.isvalid}submitForm(){const{form:t}=this;t.requestSubmit?t.requestSubmit():t.submit()}get submitButton(){return this.querySelector("button[type='submit']")||this.querySelector("input[type='submit']")||this.querySelector("md-button[type='submit']")}disconnectedCallback(){super.disconnectedCallback(),this.cleanupWrappedForms(),this.teardownEvents()}deleteWrappedForm(t){t.removeEventListener("submit",this.handleFormSubmit)}cleanupWrappedForms(){const{formElement:t}=this;if(t.length)for(const e of t)this.deleteWrappedForm(e);this.formElement=[]}createWrappedForm(t){const e=document.createElement("form");e.addEventListener("submit",this.handleFormSubmit);const{parentNode:i}=t;t.autocomplete=this.token,t.id||(t.id=this.autofillname),t.name||(t.name=this.autofillname),i&&(this.formElement.push(e),i.insertBefore(e,t),e.append(t))}teardownEvents(){this.submitButton&&this.submitButton.removeEventListener("click",this.handleSubmit)}setupEvents(){this.submitButton&&this.submitButton.addEventListener("click",this.handleSubmit)}setupSubmittable(){const t=this.findSubmittable(this.form,new Set);if(t.length)for(const e of t)this.createWrappedForm(e)}slottedChanged(){this.setupSubmittable(),this.setupEvents()}render(){return n.html`
2
+ <form
3
+ class="md-form"
4
+ role="form"
5
+ name=${Object(s.ifDefined)(this.name||void 0)}
6
+ rel=${Object(s.ifDefined)(this.rel||void 0)}
7
+ action=${Object(s.ifDefined)(this.action||void 0)}
8
+ accept-charset=${this.charset}
9
+ enctype=${this.enctype}
10
+ aria-label=${Object(s.ifDefined)(this.label||void 0)}
11
+ ?novalidate=${this.novalidate}
12
+ method=${this.formMethod}
13
+ target=${this.target}
14
+ part="form"
15
+ @submit=${this.handleFormSubmit}
16
+ >
17
+ <slot></slot>
18
+ </form>
19
+ `}};a([Object(n.property)({type:String})],e.prototype,"rel",void 0),a([Object(n.property)({type:String})],e.prototype,"name",void 0),a([Object(n.property)({type:String})],e.prototype,"action",void 0),a([Object(n.property)({type:String})],e.prototype,"label",void 0),a([Object(n.property)({type:String})],e.prototype,"method",void 0),a([Object(n.property)({type:String})],e.prototype,"target",void 0),a([Object(n.property)({type:String})],e.prototype,"enctype",void 0),a([Object(n.property)({type:Boolean,reflect:!0,attribute:"no-validate"})],e.prototype,"novalidate",void 0),a([Object(n.property)({type:String,reflect:!0,attribute:"accept-charset"})],e.prototype,"charset",void 0),a([Object(n.property)({type:Boolean,reflect:!0,attribute:"is-valid"})],e.prototype,"isvalid",void 0),a([Object(n.property)({type:String,attribute:"autofill-token"})],e.prototype,"token",void 0),a([Object(n.property)({type:Boolean,attribute:"allow-redirect"})],e.prototype,"allowRedirect",void 0),a([Object(n.property)({type:String,attribute:"autofill-name"})],e.prototype,"autofillname",void 0),a([Object(n.query)(".md-form")],e.prototype,"form",void 0),e=a([Object(r.f)("md-form")],e),t.ELEMENT=e}(o||(o={}))}}]);
@@ -1,17 +1,21 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[70],{119:function(s,e,t){"use strict";t.r(e),t.d(e,"InputFile",(function(){return a}));t(17);var a,i=t(7),r=t(5),l=t(23),n=t.n(l),o=t(0),j=t(2),c=t(3),p=o.css`:host(md-input-file) md-button{margin:.25rem}:host(md-input-file) input[type=file]{display:none}`,u=function(s,e,t,a){var i,r=arguments.length,l=r<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(s,e,t,a);else for(var n=s.length-1;n>=0;n--)(i=s[n])&&(l=(r<3?i(l):r>3?i(e,t,l):i(e,t))||l);return r>3&&l&&Object.defineProperty(e,t,l),l},m=function(s,e,t,a){return new(t||(t=Promise))((function(i,r){function l(s){try{o(a.next(s))}catch(s){r(s)}}function n(s){try{o(a.throw(s))}catch(s){r(s)}}function o(s){var e;s.done?i(s.value):(e=s.value,e instanceof t?e:new t((function(s){s(e)}))).then(l,n)}o((a=a.apply(s,e||[])).next())}))};!function(s){let e=class extends o.LitElement{constructor(){super(...arguments),this.acceptLanguage="javascript",this.getLocalization="Input File",this.acceptTypes="",this.fileName=""}static get styles(){return[r.a,p]}triggerFileLoad(s){s.preventDefault(),this.input.click()}handleFile(s){return m(this,void 0,void 0,(function*(){s.preventDefault();const e=this.input.files;if(e&&0!==e.length)for(const s of e){let e="";this.fileName=s.name;try{e=yield this.readFile(s)}catch(s){e=""}}}))}readFile(s){return new Promise((e,t)=>{const a=new FileReader;a.onload=s=>{e(s.target.result)},a.onerror=s=>t(s),a.readAsText(s)})}importLanguage(s){return m(this,void 0,void 0,(function*(){try{const{default:e}=yield t(90)("./"+s);n.a.registerLanguage(""+s,e),this.setAcceptTypes()}catch(s){console.warn("Please set correct language name")}}))}getAllAcceptTypes(){const s=n.a.listLanguages();return s.length?s.map(s=>n.a.getLanguage(""+s).aliases).map(s=>s.map(s=>"."+s)).join(","):""}setAcceptTypes(){this.acceptTypes=this.getAllAcceptTypes()}updated(s){super.updated(s),s.has("acceptLanguage")&&this.importLanguage(this.acceptLanguage)}render(){return o.html`
2
- <div class="md-input-file">
3
- <label for="file-input">
4
- <md-button color="blue" class="md-input-file-btn" @click=${this.triggerFileLoad}>
5
- ${this.getLocalization.trim()}
6
- </md-button>
7
- ${this.fileName.length?this.fileName:j.nothing}
8
- </label>
9
- <input
10
- type="file"
11
- id="file-input"
12
- name="file-input"
13
- accept=${Object(c.ifDefined)(this.acceptTypes||void 0)}
14
- @change=${s=>this.handleFile(s)}
15
- />
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[70],{119:function(e,r,t){"use strict";t.r(r),t.d(r,"Grabber",(function(){return o}));t(15);var o,a=t(1),i=t(7),n=t(6),d=t(5),b=t(0),c=t(4),l=t(3),s=b.css`:host{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center}.md-grabber__container{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center;overflow:hidden}.md-grabber__container:focus-within{box-shadow:0 0 0 2px var(--md-default-focus-outline-color)}.md-grabber{align-content:center;align-items:center;display:inline-flex;flex-flow:row nowrap;justify-content:center;position:relative;gap:2px;background-color:var(--grabber-bg-color);border-color:var(--grabber-border-color);justify-content:center;align-items:center;cursor:pointer;transition:transform 150ms ease-in-out}.md-grabber.visible{transform:translate3d(0,0,0)}.md-grabber:hover{background-color:var(--grabber-hover-bg-color)}.md-grabber:active{background-color:var(--grabber-pressed-bg-color)}.md-grabber:focus{outline:0}.md-grabber--leading,.md-grabber--trailing{width:var(--grabber-width,20px);height:40px;border-radius:0 var(--grabber-border-radius) var(--grabber-border-radius) 0;border:1px solid var(--grabber-border-color);border-left-width:0}.md-grabber--leading:not(.visible),.md-grabber--trailing:not(.visible){transform:translate3d(-100%,0,0)}.md-grabber--trailing{rotate:180deg}.md-grabber--bottom,.md-grabber--top{width:40px;height:var(--grabber-width,20px);border-radius:0 0 var(--grabber-border-radius) var(--grabber-border-radius);border:1px solid var(--grabber-border-color);border-top-width:0}.md-grabber--bottom:not(.visible),.md-grabber--top:not(.visible){transform:translate3d(0,-100%,0)}.md-grabber--bottom{rotate:180deg}.md-grabber md-icon,.md-grabber md-icon::part(icon){color:var(--grabber-text-color);width:fit-content;height:fit-content}.md-grabber--disabled{background-color:rgba(0,0,0,0)}.md-grabber--disabled:active,.md-grabber--disabled:hover{background-color:rgba(0,0,0,0)}.md-grabber--disabled md-icon::part(icon){color:var(--button-disabled-text-color)}@media(forced-colors:active){.md-grabber__container:focus-within{outline:2px solid ButtonText;outline-offset:1px}.md-grabber{background-color:Highlight}.md-grabber:hover{background-color:Highlight}.md-grabber:active{background-color:Highlight}.md-grabber md-icon,.md-grabber md-icon::part(icon){forced-color-adjust:none;color:HighlightText}}`,g=function(e,r,t,o){var a,i=arguments.length,n=i<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,t,o);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(n=(i<3?a(n):i>3?a(r,t,n):a(r,t))||n);return i>3&&n&&Object.defineProperty(r,t,n),n};!function(e){let r=class extends(Object(i.a)(b.LitElement)){constructor(){super(...arguments),this.label="Expand",this.checkedLabel="Collapse",this.hovered=!1,this.disabled=!1,this.checked=!1,this.visible=!0,this.focused=!1,this.alignment="leading"}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}static get styles(){return[d.a,s]}toggleGrabber(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("grabber-toggled",{detail:{checked:this.checked},bubbles:!0,composed:!0})))}handleMouseDown(){this.toggleGrabber()}handleKeyDown(e){e.code!==a.b.Enter&&e.code!==a.b.Space&&e.code!==a.b.NumpadEnter||(e.preventDefault(),this.toggleGrabber())}handleMouseEnter(){this.hovered=!0,this.dispatchHoverEvent()}handleMouseLeave(){this.hovered=!1,this.dispatchHoverEvent()}handleFocus(){this.focused=!0}handleBlur(){this.focused=!1}dispatchHoverEvent(){this.dispatchEvent(new CustomEvent("grabber-hover-changed",{bubbles:!0,composed:!0,detail:{hovered:this.hovered}}))}get collapsed(){return!this.checked}get grabberClassMap(){return{"md-grabber--active":this.checked,"md-grabber--disabled":this.disabled,["md-grabber--"+this.alignment]:this.alignment,visible:this.visible||this.focused}}get iconName(){return"leading"===this.alignment||"trailing"===this.alignment?this.checked?"arrow-left-bold":"arrow-right-bold":this.checked?"arrow-up-bold":"arrow-down-bold"}render(){return b.html`
2
+ <div class="md-grabber__container">
3
+ <button
4
+ class="md-grabber ${Object(c.classMap)(this.grabberClassMap)}"
5
+ aria-pressed=${this.checked}
6
+ ?disabled=${this.disabled}
7
+ tabindex="0"
8
+ aria-label=${Object(l.ifDefined)(this.label.length?this.label:void 0)}
9
+ type="button"
10
+ role="button"
11
+ @click="${()=>this.handleMouseDown()}"
12
+ @keydown="${e=>this.handleKeyDown(e)}"
13
+ @mouseenter="${()=>this.handleMouseEnter()}"
14
+ @mouseleave="${()=>this.handleMouseLeave()}"
15
+ @focus="${()=>this.handleFocus()}"
16
+ @blur="${()=>this.handleBlur()}"
17
+ >
18
+ <md-icon name="${this.iconName}" size="12" iconSet="momentumDesign"></md-icon>
19
+ </button>
16
20
  </div>
17
- `}};u([Object(o.property)({type:String,attribute:"accept-language"})],e.prototype,"acceptLanguage",void 0),u([Object(o.property)({type:String})],e.prototype,"getLocalization",void 0),u([Object(o.query)("input[type='file']")],e.prototype,"input",void 0),u([Object(o.internalProperty)()],e.prototype,"acceptTypes",void 0),u([Object(o.internalProperty)()],e.prototype,"fileName",void 0),e=u([Object(i.f)("md-input-file")],e),s.ELEMENT=e}(a||(a={}))},90:function(s,e,t){var a={"./1c":[130,88],"./1c.js":[130,88],"./abnf":[131,89],"./abnf.js":[131,89],"./accesslog":[132,90],"./accesslog.js":[132,90],"./actionscript":[133,91],"./actionscript.js":[133,91],"./ada":[134,92],"./ada.js":[134,92],"./angelscript":[135,93],"./angelscript.js":[135,93],"./apache":[136,94],"./apache.js":[136,94],"./applescript":[137,95],"./applescript.js":[137,95],"./arcade":[138,96],"./arcade.js":[138,96],"./arduino":[139,97],"./arduino.js":[139,97],"./armasm":[140,98],"./armasm.js":[140,98],"./asciidoc":[141,99],"./asciidoc.js":[141,99],"./aspectj":[142,100],"./aspectj.js":[142,100],"./autohotkey":[143,101],"./autohotkey.js":[143,101],"./autoit":[144,102],"./autoit.js":[144,102],"./avrasm":[145,103],"./avrasm.js":[145,103],"./awk":[146,104],"./awk.js":[146,104],"./axapta":[147,105],"./axapta.js":[147,105],"./bash":[148,106],"./bash.js":[148,106],"./basic":[149,107],"./basic.js":[149,107],"./bnf":[150,108],"./bnf.js":[150,108],"./brainfuck":[151,109],"./brainfuck.js":[151,109],"./c":[153,111],"./c-like":[152,110],"./c-like.js":[152,110],"./c.js":[153,111],"./cal":[154,112],"./cal.js":[154,112],"./capnproto":[155,113],"./capnproto.js":[155,113],"./ceylon":[156,114],"./ceylon.js":[156,114],"./clean":[157,115],"./clean.js":[157,115],"./clojure":[159,117],"./clojure-repl":[158,116],"./clojure-repl.js":[158,116],"./clojure.js":[159,117],"./cmake":[160,118],"./cmake.js":[160,118],"./coffeescript":[161,119],"./coffeescript.js":[161,119],"./coq":[162,120],"./coq.js":[162,120],"./cos":[163,121],"./cos.js":[163,121],"./cpp":[164,122],"./cpp.js":[164,122],"./crmsh":[165,123],"./crmsh.js":[165,123],"./crystal":[166,124],"./crystal.js":[166,124],"./csharp":[167,125],"./csharp.js":[167,125],"./csp":[168,126],"./csp.js":[168,126],"./css":[169,127],"./css.js":[169,127],"./d":[170,128],"./d.js":[170,128],"./dart":[171,129],"./dart.js":[171,129],"./delphi":[172,130],"./delphi.js":[172,130],"./diff":[173,131],"./diff.js":[173,131],"./django":[174,132],"./django.js":[174,132],"./dns":[175,133],"./dns.js":[175,133],"./dockerfile":[176,134],"./dockerfile.js":[176,134],"./dos":[177,135],"./dos.js":[177,135],"./dsconfig":[178,136],"./dsconfig.js":[178,136],"./dts":[179,137],"./dts.js":[179,137],"./dust":[180,138],"./dust.js":[180,138],"./ebnf":[181,139],"./ebnf.js":[181,139],"./elixir":[182,140],"./elixir.js":[182,140],"./elm":[183,141],"./elm.js":[183,141],"./erb":[184,142],"./erb.js":[184,142],"./erlang":[186,144],"./erlang-repl":[185,143],"./erlang-repl.js":[185,143],"./erlang.js":[186,144],"./excel":[187,145],"./excel.js":[187,145],"./fix":[188,146],"./fix.js":[188,146],"./flix":[189,147],"./flix.js":[189,147],"./fortran":[190,148],"./fortran.js":[190,148],"./fsharp":[191,149],"./fsharp.js":[191,149],"./gams":[192,150],"./gams.js":[192,150],"./gauss":[193,151],"./gauss.js":[193,151],"./gcode":[194,152],"./gcode.js":[194,152],"./gherkin":[195,153],"./gherkin.js":[195,153],"./glsl":[196,154],"./glsl.js":[196,154],"./gml":[197,155],"./gml.js":[197,155],"./go":[198,156],"./go.js":[198,156],"./golo":[199,157],"./golo.js":[199,157],"./gradle":[200,158],"./gradle.js":[200,158],"./groovy":[201,159],"./groovy.js":[201,159],"./haml":[202,160],"./haml.js":[202,160],"./handlebars":[203,161],"./handlebars.js":[203,161],"./haskell":[204,162],"./haskell.js":[204,162],"./haxe":[205,163],"./haxe.js":[205,163],"./hsp":[206,164],"./hsp.js":[206,164],"./htmlbars":[207,165],"./htmlbars.js":[207,165],"./http":[208,166],"./http.js":[208,166],"./hy":[209,167],"./hy.js":[209,167],"./inform7":[210,168],"./inform7.js":[210,168],"./ini":[211,169],"./ini.js":[211,169],"./irpf90":[212,170],"./irpf90.js":[212,170],"./isbl":[213,171],"./isbl.js":[213,171],"./java":[214,172],"./java.js":[214,172],"./javascript":[215,173],"./javascript.js":[215,173],"./jboss-cli":[216,174],"./jboss-cli.js":[216,174],"./json":[217,175],"./json.js":[217,175],"./julia":[219,177],"./julia-repl":[218,176],"./julia-repl.js":[218,176],"./julia.js":[219,177],"./kotlin":[220,178],"./kotlin.js":[220,178],"./lasso":[221,179],"./lasso.js":[221,179],"./latex":[222,180],"./latex.js":[222,180],"./ldif":[223,181],"./ldif.js":[223,181],"./leaf":[224,182],"./leaf.js":[224,182],"./less":[225,183],"./less.js":[225,183],"./lisp":[226,184],"./lisp.js":[226,184],"./livecodeserver":[227,185],"./livecodeserver.js":[227,185],"./livescript":[228,186],"./livescript.js":[228,186],"./llvm":[229,187],"./llvm.js":[229,187],"./lsl":[230,188],"./lsl.js":[230,188],"./lua":[231,189],"./lua.js":[231,189],"./makefile":[232,190],"./makefile.js":[232,190],"./markdown":[233,191],"./markdown.js":[233,191],"./mathematica":[234,192],"./mathematica.js":[234,192],"./matlab":[235,193],"./matlab.js":[235,193],"./maxima":[236,194],"./maxima.js":[236,194],"./mel":[237,195],"./mel.js":[237,195],"./mercury":[238,196],"./mercury.js":[238,196],"./mipsasm":[239,197],"./mipsasm.js":[239,197],"./mizar":[240,198],"./mizar.js":[240,198],"./mojolicious":[241,199],"./mojolicious.js":[241,199],"./monkey":[242,200],"./monkey.js":[242,200],"./moonscript":[243,201],"./moonscript.js":[243,201],"./n1ql":[244,202],"./n1ql.js":[244,202],"./nginx":[245,203],"./nginx.js":[245,203],"./nim":[246,204],"./nim.js":[246,204],"./nix":[247,205],"./nix.js":[247,205],"./node-repl":[248,206],"./node-repl.js":[248,206],"./nsis":[249,207],"./nsis.js":[249,207],"./objectivec":[250,208],"./objectivec.js":[250,208],"./ocaml":[251,209],"./ocaml.js":[251,209],"./openscad":[252,210],"./openscad.js":[252,210],"./oxygene":[253,211],"./oxygene.js":[253,211],"./parser3":[254,212],"./parser3.js":[254,212],"./perl":[255,213],"./perl.js":[255,213],"./pf":[256,214],"./pf.js":[256,214],"./pgsql":[257,215],"./pgsql.js":[257,215],"./php":[259,217],"./php-template":[258,216],"./php-template.js":[258,216],"./php.js":[259,217],"./plaintext":[260,218],"./plaintext.js":[260,218],"./pony":[261,219],"./pony.js":[261,219],"./powershell":[262,220],"./powershell.js":[262,220],"./processing":[263,221],"./processing.js":[263,221],"./profile":[264,222],"./profile.js":[264,222],"./prolog":[265,223],"./prolog.js":[265,223],"./properties":[266,224],"./properties.js":[266,224],"./protobuf":[267,225],"./protobuf.js":[267,225],"./puppet":[268,226],"./puppet.js":[268,226],"./purebasic":[269,227],"./purebasic.js":[269,227],"./python":[271,229],"./python-repl":[270,228],"./python-repl.js":[270,228],"./python.js":[271,229],"./q":[272,230],"./q.js":[272,230],"./qml":[273,231],"./qml.js":[273,231],"./r":[274,232],"./r.js":[274,232],"./reasonml":[275,233],"./reasonml.js":[275,233],"./rib":[276,234],"./rib.js":[276,234],"./roboconf":[277,235],"./roboconf.js":[277,235],"./routeros":[278,236],"./routeros.js":[278,236],"./rsl":[279,237],"./rsl.js":[279,237],"./ruby":[280,238],"./ruby.js":[280,238],"./ruleslanguage":[281,239],"./ruleslanguage.js":[281,239],"./rust":[282,240],"./rust.js":[282,240],"./sas":[283,241],"./sas.js":[283,241],"./scala":[284,242],"./scala.js":[284,242],"./scheme":[285,243],"./scheme.js":[285,243],"./scilab":[286,244],"./scilab.js":[286,244],"./scss":[287,245],"./scss.js":[287,245],"./shell":[288,246],"./shell.js":[288,246],"./smali":[289,247],"./smali.js":[289,247],"./smalltalk":[290,248],"./smalltalk.js":[290,248],"./sml":[291,249],"./sml.js":[291,249],"./sqf":[292,250],"./sqf.js":[292,250],"./sql":[293,251],"./sql.js":[293,251],"./sql_more":[294,252],"./sql_more.js":[294,252],"./stan":[295,253],"./stan.js":[295,253],"./stata":[296,254],"./stata.js":[296,254],"./step21":[297,255],"./step21.js":[297,255],"./stylus":[298,256],"./stylus.js":[298,256],"./subunit":[299,257],"./subunit.js":[299,257],"./swift":[300,258],"./swift.js":[300,258],"./taggerscript":[301,259],"./taggerscript.js":[301,259],"./tap":[302,260],"./tap.js":[302,260],"./tcl":[303,261],"./tcl.js":[303,261],"./thrift":[304,262],"./thrift.js":[304,262],"./tp":[305,263],"./tp.js":[305,263],"./twig":[306,264],"./twig.js":[306,264],"./typescript":[307,265],"./typescript.js":[307,265],"./vala":[308,266],"./vala.js":[308,266],"./vbnet":[309,267],"./vbnet.js":[309,267],"./vbscript":[311,269],"./vbscript-html":[310,268],"./vbscript-html.js":[310,268],"./vbscript.js":[311,269],"./verilog":[312,270],"./verilog.js":[312,270],"./vhdl":[313,271],"./vhdl.js":[313,271],"./vim":[314,272],"./vim.js":[314,272],"./x86asm":[315,273],"./x86asm.js":[315,273],"./xl":[316,274],"./xl.js":[316,274],"./xml":[317,275],"./xml.js":[317,275],"./xquery":[318,276],"./xquery.js":[318,276],"./yaml":[319,277],"./yaml.js":[319,277],"./zephir":[320,278],"./zephir.js":[320,278]};function i(s){if(!t.o(a,s))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+s+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=a[s],i=e[0];return t.e(e[1]).then((function(){return t.t(i,7)}))}i.keys=function(){return Object.keys(a)},i.id=90,s.exports=i}}]);
21
+ `}};g([Object(b.property)({type:String})],r.prototype,"label",void 0),g([Object(b.property)({type:String})],r.prototype,"checkedLabel",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"hovered",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"disabled",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"checked",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"visible",void 0),g([Object(b.property)({type:Boolean})],r.prototype,"focused",void 0),g([Object(b.property)({type:String,reflect:!0})],r.prototype,"alignment",void 0),r=g([Object(n.a)("md-grabber")],r),e.ELEMENT=r}(o||(o={}))}}]);
@@ -1,36 +1,17 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[71],{120:function(e,i,n){"use strict";n.r(i),n.d(i,"linkTag",(function(){return s})),n.d(i,"linkColor",(function(){return k})),n.d(i,"linkRole",(function(){return b})),n.d(i,"Link",(function(){return m}));var t=n(5),l=n(6),r=n(0),o=n(4),a=n(3),d=r.css`.md-link{border-radius:.25rem;cursor:pointer;display:inline-flex;font-size:var(--link-inline-font-size,14px);line-height:170%;width:fit-content;color:var(--link-default,#005e7d)}.md-link:hover{color:var(--link-hover,#005e7d)}.md-link:focus{box-shadow:0 0 0 2px var(--link-focus-outline,#007aa3);color:var(--link-focus,#005e7d)}.md-link.active{color:var(--link-pressed,#064157)}.md-link.disabled,.md-link.md-link--inline.disabled{color:var(--link-disabled,#b2b2b2)!important}.md-link.md-link--inline{color:var(--link-inline,#a12512)}.md-link.md-link--inline:hover{color:var(--link-inline-hover,#6e1d13)}.md-link.md-link--inline:focus{color:var(--link-inline-focus,#a12512)}.md-link.md-link--inline.active{color:var(--link-inline-pressed,#4a1812)}.md-link .md-link--blue{color:var(--link-blue,#00a0d1)}.md-link .md-link--blue:hover{color:var(--link-blue-hover,#007aa3)}.md-link .md-link--blue.active{color:var(--link-blue-active,#005e7d)}.md-link .md-link--red{color:var(--link-red,#f7644a)}.md-link .md-link--red:hover{color:var(--link-red-hover,#d4371c)}.md-link .md-link--red.active{color:var(--link-red-active,#a12512)}.md-link .md-link--green{color:var(--link-green,#00ab50)}.md-link .md-link--green:hover{color:var(--link-green-hover,#00853c)}.md-link .md-link--green.active{color:var(--link-green-active,#03612c)}.md-link .md-link--yellow{color:var(--link-yellow,#d97f00)}.md-link .md-link--yellow:hover{color:var(--link-yellow-hover,#a85f00)}.md-link .md-link--yellow.active{color:var(--link-yellow-active,#7d4705)}.md-link .md-link--orange{color:var(--link-orange,#f26b1d)}.md-link .md-link--orange:hover{color:var(--link-orange-hover,#c74f0e)}.md-link .md-link--orange.active{color:var(--link-orange-active,#914017)}.md-link:focus{outline:0}.md-link.disabled{pointer-events:none}.md-link--inline{font-size:var(--link-inline-font-size,14px);line-height:100%;text-decoration:underline}@media(forced-colors:active){.md-link:focus{box-shadow:none;outline:2px solid Highlight}.md-link.disabled{color:GrayText!important}}`,c=function(e,i,n,t){var l,r=arguments.length,o=r<3?i:null===t?t=Object.getOwnPropertyDescriptor(i,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,n,t);else for(var a=e.length-1;a>=0;a--)(l=e[a])&&(o=(r<3?l(o):r>3?l(i,n,o):l(i,n))||o);return r>3&&o&&Object.defineProperty(i,n,o),o};const s=["a","div","span"],k=["","blue","red","green","yellow","orange"],b=["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"];var m;!function(e){let i=class extends r.LitElement{constructor(){super(...arguments),this.color="",this.ariaLabel="",this.ariaRole="link",this.disabled=!1,this.inline=!1,this.href="",this.tag="a",this.target="_self",this._tabIndex=0}get tabIndex(){return this._tabIndex}set tabIndex(e){const i=this._tabIndex;this._tabIndex=e,this.requestUpdate("tabIndex",i)}static get styles(){return[t.a,d]}render(){const e={["md-link--"+this.color]:this.color,"md-link--inline":this.inline,disabled:this.disabled};return r.html` ${(()=>{switch(this.tag){case"div":return r.html`
2
- <div
3
- class="md-link ${Object(o.classMap)(e)}"
4
- tabindex=${this.tabIndex}
5
- aria-label=${Object(a.ifDefined)(this.ariaLabel||void 0)}
6
- aria-disabled=${Object(a.ifDefined)(this.disabled||void 0)}
7
- role=${this.ariaRole}
8
- part="link"
9
- >
10
- <slot></slot>
11
- </div>
12
- `;case"span":return r.html`
13
- <span
14
- class="md-link ${Object(o.classMap)(e)}"
15
- tabindex=${this.tabIndex}
16
- aria-label=${Object(a.ifDefined)(this.ariaLabel||void 0)}
17
- aria-disabled=${Object(a.ifDefined)(this.disabled||void 0)}
18
- role=${this.ariaRole}
19
- part="link"
20
- >
21
- <slot></slot>
22
- </span>
23
- `;default:return r.html`
24
- <a
25
- class="md-link ${Object(o.classMap)(e)}"
26
- .target="${this.target}"
27
- href=${Object(a.ifDefined)(this.disabled?void 0:this.href)}
28
- tabindex=${this.tabIndex}
29
- aria-label=${Object(a.ifDefined)(this.ariaLabel||void 0)}
30
- aria-disabled=${Object(a.ifDefined)(this.disabled||void 0)}
31
- role=${this.ariaRole}
32
- part="link"
33
- >
34
- <slot></slot>
35
- </a>
36
- `}})()} `}};c([Object(r.property)({type:String,attribute:!1})],i.prototype,"color",void 0),c([Object(r.property)({type:String})],i.prototype,"ariaLabel",void 0),c([Object(r.property)({type:String})],i.prototype,"ariaRole",void 0),c([Object(r.property)({type:Boolean})],i.prototype,"disabled",void 0),c([Object(r.property)({type:Boolean})],i.prototype,"inline",void 0),c([Object(r.property)({type:String})],i.prototype,"href",void 0),c([Object(r.property)({type:String})],i.prototype,"tag",void 0),c([Object(r.property)({type:String})],i.prototype,"target",void 0),c([Object(r.property)({type:Number,attribute:"tab-index",reflect:!0})],i.prototype,"tabIndex",null),i=c([Object(l.a)("md-link")],i),e.ELEMENT=i}(m||(m={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[71],{120:function(s,e,t){"use strict";t.r(e),t.d(e,"InputFile",(function(){return a}));t(17);var a,i=t(7),r=t(5),l=t(23),n=t.n(l),o=t(0),j=t(2),c=t(3),p=o.css`:host(md-input-file) md-button{margin:.25rem}:host(md-input-file) input[type=file]{display:none}`,u=function(s,e,t,a){var i,r=arguments.length,l=r<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(s,e,t,a);else for(var n=s.length-1;n>=0;n--)(i=s[n])&&(l=(r<3?i(l):r>3?i(e,t,l):i(e,t))||l);return r>3&&l&&Object.defineProperty(e,t,l),l},m=function(s,e,t,a){return new(t||(t=Promise))((function(i,r){function l(s){try{o(a.next(s))}catch(s){r(s)}}function n(s){try{o(a.throw(s))}catch(s){r(s)}}function o(s){var e;s.done?i(s.value):(e=s.value,e instanceof t?e:new t((function(s){s(e)}))).then(l,n)}o((a=a.apply(s,e||[])).next())}))};!function(s){let e=class extends o.LitElement{constructor(){super(...arguments),this.acceptLanguage="javascript",this.getLocalization="Input File",this.acceptTypes="",this.fileName=""}static get styles(){return[r.a,p]}triggerFileLoad(s){s.preventDefault(),this.input.click()}handleFile(s){return m(this,void 0,void 0,(function*(){s.preventDefault();const e=this.input.files;if(e&&0!==e.length)for(const s of e){this.fileName=s.name;try{yield this.readFile(s)}catch(s){console.error("Error reading file",s)}}}))}readFile(s){return new Promise((e,t)=>{const a=new FileReader;a.onload=s=>{e(s.target.result)},a.onerror=s=>t(s),a.readAsText(s)})}importLanguage(s){return m(this,void 0,void 0,(function*(){try{const{default:e}=yield t(91)("./"+s);n.a.registerLanguage(""+s,e),this.setAcceptTypes()}catch(s){console.warn("Please set correct language name")}}))}getAllAcceptTypes(){const s=n.a.listLanguages();return s.length?s.map(s=>n.a.getLanguage(""+s).aliases).map(s=>s.map(s=>"."+s)).join(","):""}setAcceptTypes(){this.acceptTypes=this.getAllAcceptTypes()}updated(s){super.updated(s),s.has("acceptLanguage")&&this.importLanguage(this.acceptLanguage)}render(){return o.html`
2
+ <div class="md-input-file">
3
+ <label for="file-input">
4
+ <md-button color="blue" class="md-input-file-btn" @click=${this.triggerFileLoad}>
5
+ ${this.getLocalization.trim()}
6
+ </md-button>
7
+ ${this.fileName.length?this.fileName:j.nothing}
8
+ </label>
9
+ <input
10
+ type="file"
11
+ id="file-input"
12
+ name="file-input"
13
+ accept=${Object(c.ifDefined)(this.acceptTypes||void 0)}
14
+ @change=${s=>this.handleFile(s)}
15
+ />
16
+ </div>
17
+ `}};u([Object(o.property)({type:String,attribute:"accept-language"})],e.prototype,"acceptLanguage",void 0),u([Object(o.property)({type:String})],e.prototype,"getLocalization",void 0),u([Object(o.query)("input[type='file']")],e.prototype,"input",void 0),u([Object(o.internalProperty)()],e.prototype,"acceptTypes",void 0),u([Object(o.internalProperty)()],e.prototype,"fileName",void 0),e=u([Object(i.f)("md-input-file")],e),s.ELEMENT=e}(a||(a={}))},91:function(s,e,t){var a={"./1c":[130,88],"./1c.js":[130,88],"./abnf":[131,89],"./abnf.js":[131,89],"./accesslog":[132,90],"./accesslog.js":[132,90],"./actionscript":[133,91],"./actionscript.js":[133,91],"./ada":[134,92],"./ada.js":[134,92],"./angelscript":[135,93],"./angelscript.js":[135,93],"./apache":[136,94],"./apache.js":[136,94],"./applescript":[137,95],"./applescript.js":[137,95],"./arcade":[138,96],"./arcade.js":[138,96],"./arduino":[139,97],"./arduino.js":[139,97],"./armasm":[140,98],"./armasm.js":[140,98],"./asciidoc":[141,99],"./asciidoc.js":[141,99],"./aspectj":[142,100],"./aspectj.js":[142,100],"./autohotkey":[143,101],"./autohotkey.js":[143,101],"./autoit":[144,102],"./autoit.js":[144,102],"./avrasm":[145,103],"./avrasm.js":[145,103],"./awk":[146,104],"./awk.js":[146,104],"./axapta":[147,105],"./axapta.js":[147,105],"./bash":[148,106],"./bash.js":[148,106],"./basic":[149,107],"./basic.js":[149,107],"./bnf":[150,108],"./bnf.js":[150,108],"./brainfuck":[151,109],"./brainfuck.js":[151,109],"./c":[153,111],"./c-like":[152,110],"./c-like.js":[152,110],"./c.js":[153,111],"./cal":[154,112],"./cal.js":[154,112],"./capnproto":[155,113],"./capnproto.js":[155,113],"./ceylon":[156,114],"./ceylon.js":[156,114],"./clean":[157,115],"./clean.js":[157,115],"./clojure":[159,117],"./clojure-repl":[158,116],"./clojure-repl.js":[158,116],"./clojure.js":[159,117],"./cmake":[160,118],"./cmake.js":[160,118],"./coffeescript":[161,119],"./coffeescript.js":[161,119],"./coq":[162,120],"./coq.js":[162,120],"./cos":[163,121],"./cos.js":[163,121],"./cpp":[164,122],"./cpp.js":[164,122],"./crmsh":[165,123],"./crmsh.js":[165,123],"./crystal":[166,124],"./crystal.js":[166,124],"./csharp":[167,125],"./csharp.js":[167,125],"./csp":[168,126],"./csp.js":[168,126],"./css":[169,127],"./css.js":[169,127],"./d":[170,128],"./d.js":[170,128],"./dart":[171,129],"./dart.js":[171,129],"./delphi":[172,130],"./delphi.js":[172,130],"./diff":[173,131],"./diff.js":[173,131],"./django":[174,132],"./django.js":[174,132],"./dns":[175,133],"./dns.js":[175,133],"./dockerfile":[176,134],"./dockerfile.js":[176,134],"./dos":[177,135],"./dos.js":[177,135],"./dsconfig":[178,136],"./dsconfig.js":[178,136],"./dts":[179,137],"./dts.js":[179,137],"./dust":[180,138],"./dust.js":[180,138],"./ebnf":[181,139],"./ebnf.js":[181,139],"./elixir":[182,140],"./elixir.js":[182,140],"./elm":[183,141],"./elm.js":[183,141],"./erb":[184,142],"./erb.js":[184,142],"./erlang":[186,144],"./erlang-repl":[185,143],"./erlang-repl.js":[185,143],"./erlang.js":[186,144],"./excel":[187,145],"./excel.js":[187,145],"./fix":[188,146],"./fix.js":[188,146],"./flix":[189,147],"./flix.js":[189,147],"./fortran":[190,148],"./fortran.js":[190,148],"./fsharp":[191,149],"./fsharp.js":[191,149],"./gams":[192,150],"./gams.js":[192,150],"./gauss":[193,151],"./gauss.js":[193,151],"./gcode":[194,152],"./gcode.js":[194,152],"./gherkin":[195,153],"./gherkin.js":[195,153],"./glsl":[196,154],"./glsl.js":[196,154],"./gml":[197,155],"./gml.js":[197,155],"./go":[198,156],"./go.js":[198,156],"./golo":[199,157],"./golo.js":[199,157],"./gradle":[200,158],"./gradle.js":[200,158],"./groovy":[201,159],"./groovy.js":[201,159],"./haml":[202,160],"./haml.js":[202,160],"./handlebars":[203,161],"./handlebars.js":[203,161],"./haskell":[204,162],"./haskell.js":[204,162],"./haxe":[205,163],"./haxe.js":[205,163],"./hsp":[206,164],"./hsp.js":[206,164],"./htmlbars":[207,165],"./htmlbars.js":[207,165],"./http":[208,166],"./http.js":[208,166],"./hy":[209,167],"./hy.js":[209,167],"./inform7":[210,168],"./inform7.js":[210,168],"./ini":[211,169],"./ini.js":[211,169],"./irpf90":[212,170],"./irpf90.js":[212,170],"./isbl":[213,171],"./isbl.js":[213,171],"./java":[214,172],"./java.js":[214,172],"./javascript":[215,173],"./javascript.js":[215,173],"./jboss-cli":[216,174],"./jboss-cli.js":[216,174],"./json":[217,175],"./json.js":[217,175],"./julia":[219,177],"./julia-repl":[218,176],"./julia-repl.js":[218,176],"./julia.js":[219,177],"./kotlin":[220,178],"./kotlin.js":[220,178],"./lasso":[221,179],"./lasso.js":[221,179],"./latex":[222,180],"./latex.js":[222,180],"./ldif":[223,181],"./ldif.js":[223,181],"./leaf":[224,182],"./leaf.js":[224,182],"./less":[225,183],"./less.js":[225,183],"./lisp":[226,184],"./lisp.js":[226,184],"./livecodeserver":[227,185],"./livecodeserver.js":[227,185],"./livescript":[228,186],"./livescript.js":[228,186],"./llvm":[229,187],"./llvm.js":[229,187],"./lsl":[230,188],"./lsl.js":[230,188],"./lua":[231,189],"./lua.js":[231,189],"./makefile":[232,190],"./makefile.js":[232,190],"./markdown":[233,191],"./markdown.js":[233,191],"./mathematica":[234,192],"./mathematica.js":[234,192],"./matlab":[235,193],"./matlab.js":[235,193],"./maxima":[236,194],"./maxima.js":[236,194],"./mel":[237,195],"./mel.js":[237,195],"./mercury":[238,196],"./mercury.js":[238,196],"./mipsasm":[239,197],"./mipsasm.js":[239,197],"./mizar":[240,198],"./mizar.js":[240,198],"./mojolicious":[241,199],"./mojolicious.js":[241,199],"./monkey":[242,200],"./monkey.js":[242,200],"./moonscript":[243,201],"./moonscript.js":[243,201],"./n1ql":[244,202],"./n1ql.js":[244,202],"./nginx":[245,203],"./nginx.js":[245,203],"./nim":[246,204],"./nim.js":[246,204],"./nix":[247,205],"./nix.js":[247,205],"./node-repl":[248,206],"./node-repl.js":[248,206],"./nsis":[249,207],"./nsis.js":[249,207],"./objectivec":[250,208],"./objectivec.js":[250,208],"./ocaml":[251,209],"./ocaml.js":[251,209],"./openscad":[252,210],"./openscad.js":[252,210],"./oxygene":[253,211],"./oxygene.js":[253,211],"./parser3":[254,212],"./parser3.js":[254,212],"./perl":[255,213],"./perl.js":[255,213],"./pf":[256,214],"./pf.js":[256,214],"./pgsql":[257,215],"./pgsql.js":[257,215],"./php":[259,217],"./php-template":[258,216],"./php-template.js":[258,216],"./php.js":[259,217],"./plaintext":[260,218],"./plaintext.js":[260,218],"./pony":[261,219],"./pony.js":[261,219],"./powershell":[262,220],"./powershell.js":[262,220],"./processing":[263,221],"./processing.js":[263,221],"./profile":[264,222],"./profile.js":[264,222],"./prolog":[265,223],"./prolog.js":[265,223],"./properties":[266,224],"./properties.js":[266,224],"./protobuf":[267,225],"./protobuf.js":[267,225],"./puppet":[268,226],"./puppet.js":[268,226],"./purebasic":[269,227],"./purebasic.js":[269,227],"./python":[271,229],"./python-repl":[270,228],"./python-repl.js":[270,228],"./python.js":[271,229],"./q":[272,230],"./q.js":[272,230],"./qml":[273,231],"./qml.js":[273,231],"./r":[274,232],"./r.js":[274,232],"./reasonml":[275,233],"./reasonml.js":[275,233],"./rib":[276,234],"./rib.js":[276,234],"./roboconf":[277,235],"./roboconf.js":[277,235],"./routeros":[278,236],"./routeros.js":[278,236],"./rsl":[279,237],"./rsl.js":[279,237],"./ruby":[280,238],"./ruby.js":[280,238],"./ruleslanguage":[281,239],"./ruleslanguage.js":[281,239],"./rust":[282,240],"./rust.js":[282,240],"./sas":[283,241],"./sas.js":[283,241],"./scala":[284,242],"./scala.js":[284,242],"./scheme":[285,243],"./scheme.js":[285,243],"./scilab":[286,244],"./scilab.js":[286,244],"./scss":[287,245],"./scss.js":[287,245],"./shell":[288,246],"./shell.js":[288,246],"./smali":[289,247],"./smali.js":[289,247],"./smalltalk":[290,248],"./smalltalk.js":[290,248],"./sml":[291,249],"./sml.js":[291,249],"./sqf":[292,250],"./sqf.js":[292,250],"./sql":[293,251],"./sql.js":[293,251],"./sql_more":[294,252],"./sql_more.js":[294,252],"./stan":[295,253],"./stan.js":[295,253],"./stata":[296,254],"./stata.js":[296,254],"./step21":[297,255],"./step21.js":[297,255],"./stylus":[298,256],"./stylus.js":[298,256],"./subunit":[299,257],"./subunit.js":[299,257],"./swift":[300,258],"./swift.js":[300,258],"./taggerscript":[301,259],"./taggerscript.js":[301,259],"./tap":[302,260],"./tap.js":[302,260],"./tcl":[303,261],"./tcl.js":[303,261],"./thrift":[304,262],"./thrift.js":[304,262],"./tp":[305,263],"./tp.js":[305,263],"./twig":[306,264],"./twig.js":[306,264],"./typescript":[307,265],"./typescript.js":[307,265],"./vala":[308,266],"./vala.js":[308,266],"./vbnet":[309,267],"./vbnet.js":[309,267],"./vbscript":[311,269],"./vbscript-html":[310,268],"./vbscript-html.js":[310,268],"./vbscript.js":[311,269],"./verilog":[312,270],"./verilog.js":[312,270],"./vhdl":[313,271],"./vhdl.js":[313,271],"./vim":[314,272],"./vim.js":[314,272],"./x86asm":[315,273],"./x86asm.js":[315,273],"./xl":[316,274],"./xl.js":[316,274],"./xml":[317,275],"./xml.js":[317,275],"./xquery":[318,276],"./xquery.js":[318,276],"./yaml":[319,277],"./yaml.js":[319,277],"./zephir":[320,278],"./zephir.js":[320,278]};function i(s){if(!t.o(a,s))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+s+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=a[s],i=e[0];return t.e(e[1]).then((function(){return t.t(i,7)}))}i.keys=function(){return Object.keys(a)},i.id=91,s.exports=i}}]);
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[72],{104:function(e,t,r){"use strict";r.r(t),r.d(t,"MeetingAlertRole",(function(){return c})),r.d(t,"MeetingAlert",(function(){return p}));r(50),r(17),r(15);var o=r(1),l=r(6),a=r(5),i=r(0),n=r(2),m=r(3);var s=i.css`.md-alert__container{position:fixed;z-index:9999}.md-alert__container--top-left{left:1em;top:1em}.md-alert__container--top-center{left:50%;top:1em;transform:translate(-50%)}.md-alert__container--top-right{right:1em;top:1em}.md-alert__container--bottom-left{bottom:1em;left:1em}.md-alert__container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.md-alert__container--bottom-right{bottom:1em;right:1em}.md-alert__container--call{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;left:50%;top:50%;transform:translate(-50%,-50%)}.md-alert{align-content:space-between;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:var(--meeting-alert-bg-color,#fff);border:1px solid var(--meeting-alert-border-color,rgba(0,0,0,.12));box-shadow:0 8px 16px 0 rgba(0,0,0,.08);justify-content:space-between;margin-bottom:.5rem;max-height:19.25rem;min-height:4.875rem;padding:.5rem .8125rem .5rem 1.0625rem;width:21.375rem}.md-alert__icon{font-family:momentum-ui-icons;font-size:2.75rem;line-height:0}.md-alert__icon::before{content:"\\f6e8";color:var(--meeting-alert-info-text-color,#00a0d1)}.md-alert__content{display:flex;flex-basis:0%;flex-direction:column;flex-grow:2;padding-left:1rem;padding-right:.125rem}.md-alert__title{color:var(--meeting-alert-info-text-color,#00a0d1);font-size:var(--body-primary-font-size,1rem);line-height:1.5rem}.md-alert__message,.md-alert__status{font-size:var(--body-secondary-font-size,.875rem);font-family:var(--brand-font-medium, var(--brand-font-light, "CiscoSansTT Light", "Helvetica Neue", Helvetica, Arial, sans-serif));line-height:1.125rem}.md-alert__status{color:var(--meeting-alert-success-text-color,#03612c)}.md-alert__message{color:var(--meeting-alert-text-color,#292929)}.md-alert__message,.md-alert__title{max-width:10rem;word-wrap:break-word}.md-alert__button{margin-left:.5rem}.md-alert.md-alert--success .md-alert__icon::before{content:"\\f381";color:var(--meeting-alert-success-text-color,#00ab50)}.md-alert.md-alert--success .md-alert__title{color:var(--meeting-alert-success-text-color,#00ab50)}.md-alert.md-alert--warning .md-alert__icon::before{content:"\\fca3";color:var(--meeting-alert-warning-text-color,#d97f00)}.md-alert.md-alert--warning .md-alert__title{color:var(--meeting-alert-warning-text-color,#d97f00)}.md-alert.md-alert--error .md-alert__icon::before{content:"\\fca3";color:var(--meeting-alert-error-text-color,#f7644a)}.md-alert.md-alert--error .md-alert__title{color:var(--meeting-alert-error-text-color,#f7644a)}.md-alert.md-alert--meeting .md-alert__content{width:10rem}.md-alert.md-alert--meeting .md-alert__content--wide{width:13rem}.md-alert.md-alert--meeting .md-alert__message,.md-alert.md-alert--meeting .md-alert__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-alert.md-alert--meeting .md-alert__title{color:var(--meeting-alert-title-text-color,#000)}.md-alert.md-alert--call{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin-right:.9375rem;max-height:31.25rem;min-height:17.625rem;padding:.75rem 1.0625rem 1.5625rem 1.0625rem;width:17.375rem}.md-alert.md-alert--call .md-alert__title{color:var(--meeting-alert-title-text-color,#000);font-size:.875rem;font-weight:700;line-height:1.375rem;padding-bottom:1.5rem}.md-alert.md-alert--call .md-alert__caller{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center}.md-alert.md-alert--call .md-alert__caller-title{font-size:1rem;font-weight:700;line-height:1.5rem;padding-top:.5rem}.md-alert.md-alert--call .md-alert__caller-subtitle{font-size:.875rem;line-height:1.375rem}.md-alert.md-alert--call .md-alert--call--buttons{padding-top:1.5rem}.md-alert.md-alert--call .md-alert--call--buttons .md-icon{fill:#fff}.md-alert.md-alert--call .md-list{padding-top:.75rem}.md-alert.md-alert--call .md-list .md-list-item{background-color:rgba(0,0,0,.04)}.md-alert.md-alert--call .md-list .md-list-item:hover{background-color:rgba(0,0,0,.04)}.md-alert.md-alert--call .md-list .md-list-item:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.md-alert.md-alert--call .md-list .md-list-item-header{border-top-left-radius:8px;border-top-right-radius:8px;border-bottom:1px solid rgba(0,0,0,.08)}`,d=function(e,t,r,o){var l,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};const c=["alert","alertdialog","button","checkbox","dialog","link","option","status"];var p;!function(e){let t=class extends i.LitElement{constructor(){super(...arguments),this.attendees=[{title:"Attendee",src:null,alt:"Attendee"}],this.closeAriaLabel="close",this.onKeyDown=null,this.onSnooze=null,this.message="",this.snoozeAriaLabel="snooze",this.role="button",this.show=!1,this.src="",this.status="",this.userStyles="",this.title="",this._onSnooze=e=>{this.dispatchEvent(new CustomEvent("snooze",{composed:!0,detail:{srcEvent:e}}))},this._onClose=e=>{this.dispatchEvent(new CustomEvent("close",{composed:!0,detail:{srcEvent:e}}))},this.handleSnooze=e=>{this.onSnooze?this.onSnooze(e):this._onSnooze(e),e.stopPropagation()},this.handleClose=e=>{this._onClose(e),e.stopPropagation()},this.handleKeyDown=e=>{if(e.code===o.b.Escape&&this.handleClose(e),e.code===o.b.Enter||e.code===o.b.Space){switch(e.target.attributes.getNamedItem("aria-label").value){case"close":this.handleClose(e);break;case"snooze":this.handleSnooze(e)}e.preventDefault()}this.onKeyDown&&this.onKeyDown(e)}}getStyles(){return i.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[72],{105:function(e,t,r){"use strict";r.r(t),r.d(t,"MeetingAlertRole",(function(){return c})),r.d(t,"MeetingAlert",(function(){return p}));r(50),r(17),r(15);var o=r(1),l=r(6),a=r(5),i=r(0),n=r(2),m=r(3);var s=i.css`.md-alert__container{position:fixed;z-index:9999}.md-alert__container--top-left{left:1em;top:1em}.md-alert__container--top-center{left:50%;top:1em;transform:translate(-50%)}.md-alert__container--top-right{right:1em;top:1em}.md-alert__container--bottom-left{bottom:1em;left:1em}.md-alert__container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.md-alert__container--bottom-right{bottom:1em;right:1em}.md-alert__container--call{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;left:50%;top:50%;transform:translate(-50%,-50%)}.md-alert{align-content:space-between;align-items:center;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:var(--meeting-alert-bg-color,#fff);border:1px solid var(--meeting-alert-border-color,rgba(0,0,0,.12));box-shadow:0 8px 16px 0 rgba(0,0,0,.08);justify-content:space-between;margin-bottom:.5rem;max-height:19.25rem;min-height:4.875rem;padding:.5rem .8125rem .5rem 1.0625rem;width:21.375rem}.md-alert__icon{font-family:momentum-ui-icons;font-size:2.75rem;line-height:0}.md-alert__icon::before{content:"\\f6e8";color:var(--meeting-alert-info-text-color,#00a0d1)}.md-alert__content{display:flex;flex-basis:0%;flex-direction:column;flex-grow:2;padding-left:1rem;padding-right:.125rem}.md-alert__title{color:var(--meeting-alert-info-text-color,#00a0d1);font-size:var(--body-primary-font-size,1rem);line-height:1.5rem}.md-alert__message,.md-alert__status{font-size:var(--body-secondary-font-size,.875rem);font-family:var(--brand-font-medium, var(--brand-font-light, "CiscoSansTT Light", "Helvetica Neue", Helvetica, Arial, sans-serif));line-height:1.125rem}.md-alert__status{color:var(--meeting-alert-success-text-color,#03612c)}.md-alert__message{color:var(--meeting-alert-text-color,#292929)}.md-alert__message,.md-alert__title{max-width:10rem;word-wrap:break-word}.md-alert__button{margin-left:.5rem}.md-alert.md-alert--success .md-alert__icon::before{content:"\\f381";color:var(--meeting-alert-success-text-color,#00ab50)}.md-alert.md-alert--success .md-alert__title{color:var(--meeting-alert-success-text-color,#00ab50)}.md-alert.md-alert--warning .md-alert__icon::before{content:"\\fca3";color:var(--meeting-alert-warning-text-color,#d97f00)}.md-alert.md-alert--warning .md-alert__title{color:var(--meeting-alert-warning-text-color,#d97f00)}.md-alert.md-alert--error .md-alert__icon::before{content:"\\fca3";color:var(--meeting-alert-error-text-color,#f7644a)}.md-alert.md-alert--error .md-alert__title{color:var(--meeting-alert-error-text-color,#f7644a)}.md-alert.md-alert--meeting .md-alert__content{width:10rem}.md-alert.md-alert--meeting .md-alert__content--wide{width:13rem}.md-alert.md-alert--meeting .md-alert__message,.md-alert.md-alert--meeting .md-alert__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-alert.md-alert--meeting .md-alert__title{color:var(--meeting-alert-title-text-color,#000)}.md-alert.md-alert--call{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center;margin-right:.9375rem;max-height:31.25rem;min-height:17.625rem;padding:.75rem 1.0625rem 1.5625rem 1.0625rem;width:17.375rem}.md-alert.md-alert--call .md-alert__title{color:var(--meeting-alert-title-text-color,#000);font-size:.875rem;font-weight:700;line-height:1.375rem;padding-bottom:1.5rem}.md-alert.md-alert--call .md-alert__caller{align-content:center;align-items:center;display:flex;flex-flow:column nowrap;justify-content:center}.md-alert.md-alert--call .md-alert__caller-title{font-size:1rem;font-weight:700;line-height:1.5rem;padding-top:.5rem}.md-alert.md-alert--call .md-alert__caller-subtitle{font-size:.875rem;line-height:1.375rem}.md-alert.md-alert--call .md-alert--call--buttons{padding-top:1.5rem}.md-alert.md-alert--call .md-alert--call--buttons .md-icon{fill:#fff}.md-alert.md-alert--call .md-list{padding-top:.75rem}.md-alert.md-alert--call .md-list .md-list-item{background-color:rgba(0,0,0,.04)}.md-alert.md-alert--call .md-list .md-list-item:hover{background-color:rgba(0,0,0,.04)}.md-alert.md-alert--call .md-list .md-list-item:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.md-alert.md-alert--call .md-list .md-list-item-header{border-top-left-radius:8px;border-top-right-radius:8px;border-bottom:1px solid rgba(0,0,0,.08)}`,d=function(e,t,r,o){var l,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};const c=["alert","alertdialog","button","checkbox","dialog","link","option","status"];var p;!function(e){let t=class extends i.LitElement{constructor(){super(...arguments),this.attendees=[{title:"Attendee",src:null,alt:"Attendee"}],this.closeAriaLabel="close",this.onKeyDown=null,this.onSnooze=null,this.message="",this.snoozeAriaLabel="snooze",this.role="button",this.show=!1,this.src="",this.status="",this.userStyles="",this.title="",this._onSnooze=e=>{this.dispatchEvent(new CustomEvent("snooze",{composed:!0,detail:{srcEvent:e}}))},this._onClose=e=>{this.dispatchEvent(new CustomEvent("close",{composed:!0,detail:{srcEvent:e}}))},this.handleSnooze=e=>{this.onSnooze?this.onSnooze(e):this._onSnooze(e),e.stopPropagation()},this.handleClose=e=>{this._onClose(e),e.stopPropagation()},this.handleKeyDown=e=>{if(e.code===o.b.Escape&&this.handleClose(e),e.code===o.b.Enter||e.code===o.b.Space){switch(e.target.attributes.getNamedItem("aria-label").value){case"close":this.handleClose(e);break;case"snooze":this.handleSnooze(e)}e.preventDefault()}this.onKeyDown&&this.onKeyDown(e)}}getStyles(){return i.html`
2
2
  <style>
3
3
  ::slotted(img) {
4
4
  display: inline-block;
@@ -1,7 +1,7 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[73],{97:function(e,t,i){"use strict";i.r(t),i.d(t,"MORE_MENU_ITEM_COPY_ID_PREFIX",(function(){return I})),i.d(t,"Menu",(function(){return b}));var s=i(1),n=i(6),c=i(56),d=i(35),o=i(5),l=i(0),r=i(4),h=i(22),a=i(57),m=i(66),u=function(e,t,i,s){var n,c=arguments.length,d=c<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(n=e[o])&&(d=(c<3?n(d):c>3?n(t,i,d):n(t,i))||d);return c>3&&d&&Object.defineProperty(t,i,d),d},p=function(e,t,i,s){return new(i||(i=Promise))((function(n,c){function d(e){try{l(s.next(e))}catch(e){c(e)}}function o(e){try{l(s.throw(e))}catch(e){c(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(d,o)}l((s=s.apply(e,t||[])).next())}))};const I="more-menu-item-";var b;!function(e){let t=class extends(Object(d.a)(Object(c.a)(l.LitElement))){constructor(){super(...arguments),this.justified=!1,this.direction="horizontal",this.items=[],this.itemsHash={},this.itemsIdxHash={}}getNormalizedItemId(e){return e.replace(I,"")}static get styles(){return[o.a,m.a]}get slotItem(){return this.menuSlotElement}linkMenuItems(){return p(this,void 0,void 0,(function*(){const{items:e}=this;e.forEach((e,t)=>{const i=Object(h.nanoid)();e.setAttribute("id",i),e.setAttribute("aria-controls",i),e.selected=this.selected===t}),this.itemsHash=this.items.reduce((e,t)=>(e[t.id]=t,e),{}),this.itemsIdxHash=this.items.reduce((e,t,i)=>(e[t.id]=i,e),{})}))}setupMenuItems(){if(this.menuSlotElement){const e=this.menuSlotElement.assignedElements({flatten:!0});this.getChildrenFromTree({children:e},this.items)}}getChildrenFromTree(e,t){for(let i=0;i<e.children.length;i++){const s=e.children[i];s instanceof a.MenuItem.ELEMENT&&t.push(s),this.getChildrenFromTree(s,t)}}updateSelectedItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("selected"));t!==e&&(this.items&&[t,e].forEach(e=>{const t=this.items[e];t&&t.toggleAttribute("selected")}),this.dispatchEvent(new CustomEvent("selected-menu-item",{detail:{value:e},composed:!0,bubbles:!0})),this.changeSelectedItemIdx(e))}changeSelectedItemIdx(e){this.selected=e}handleItemClick(e){const{id:t}=e.detail,i=this.itemsHash[this.getNormalizedItemId(t)];if(i&&!i.disabled){const e=this.itemsIdxHash[i.id];-1!==e&&this.updateSelectedItem(e)}}handleItemKeydown(e){const{key:t,id:i}=e.detail;switch(t){case s.b.End:this.changeSelectedItemIdx(this.items.length-1);break;case s.b.Home:this.changeSelectedItemIdx(0);break;case s.b.ArrowLeft:case s.b.ArrowUp:0===this.selected?this.changeSelectedItemIdx(this.items.length-1):this.changeSelectedItemIdx(this.selected-1);break;case s.b.ArrowRight:case s.b.ArrowDown:this.selected===this.items.length-1?this.changeSelectedItemIdx(0):this.changeSelectedItemIdx(this.selected+1);break;case s.b.Enter:case s.b.Space:const e=this.slotted.findIndex(e=>e.id===i&&!e.disabled);-1!==e&&this.updateSelectedItem(e)}}connectedCallback(){super.connectedCallback(),this.addEventListener("menu-item-click",this.handleItemClick),this.addEventListener("menu-item-keydown",this.handleItemKeydown)}updated(e){const t=Object.create(null,{updated:{get:()=>super.updated}});return p(this,void 0,void 0,(function*(){t.updated.call(this,e),e.has("slotted")&&(this.setupMenuItems(),this.linkMenuItems())}))}disconnectedCallback(){super.connectedCallback(),this.removeEventListener("menu-item-click",this.handleItemClick),this.removeEventListener("menu-item-keydown",this.handleItemKeydown)}get menuClassMap(){return{["md-menu--"+this.direction]:this.direction,justified:this.justified}}render(){return l.html`
2
- <nav class="md-menu ${Object(r.classMap)(this.menuClassMap)}">
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[73],{98:function(e,t,i){"use strict";i.r(t),i.d(t,"MORE_MENU_ITEM_COPY_ID_PREFIX",(function(){return I})),i.d(t,"Menu",(function(){return b}));var s=i(1),n=i(6),c=i(56),d=i(35),o=i(5),r=i(0),l=i(4),a=i(22),h=i(57),m=i(66),u=function(e,t,i,s){var n,c=arguments.length,d=c<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(n=e[o])&&(d=(c<3?n(d):c>3?n(t,i,d):n(t,i))||d);return c>3&&d&&Object.defineProperty(t,i,d),d},p=function(e,t,i,s){return new(i||(i=Promise))((function(n,c){function d(e){try{r(s.next(e))}catch(e){c(e)}}function o(e){try{r(s.throw(e))}catch(e){c(e)}}function r(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(d,o)}r((s=s.apply(e,t||[])).next())}))};const I="more-menu-item-";var b;!function(e){let t=class extends(Object(d.a)(Object(c.a)(r.LitElement))){constructor(){super(...arguments),this.justified=!1,this.direction="horizontal",this.items=[],this.itemsHash={},this.itemsIdxHash={}}getNormalizedItemId(e){return e.replace(I,"")}static get styles(){return[o.a,m.a]}get slotItem(){return this.menuSlotElement}linkMenuItems(){return p(this,void 0,void 0,(function*(){const{items:e}=this;e.forEach((e,t)=>{const i=Object(a.nanoid)();e.setAttribute("id",i),e.setAttribute("aria-controls",i),e.selected=this.selected===t}),this.itemsHash=this.items.reduce((e,t)=>(e[t.id]=t,e),{}),this.itemsIdxHash=this.items.reduce((e,t,i)=>(e[t.id]=i,e),{})}))}setupMenuItems(){if(this.menuSlotElement){const e=this.menuSlotElement.assignedElements({flatten:!0});this.getChildrenFromTree({children:e},this.items)}}getChildrenFromTree(e,t){e.children.forEach(e=>{e instanceof h.MenuItem.ELEMENT&&t.push(e),this.getChildrenFromTree({children:Array.from(e.children)},t)})}updateSelectedItem(e){const t=this.slotted.findIndex(e=>e.hasAttribute("selected"));t!==e&&(this.items&&[t,e].forEach(e=>{const t=this.items[e];t&&t.toggleAttribute("selected")}),this.dispatchEvent(new CustomEvent("selected-menu-item",{detail:{value:e},composed:!0,bubbles:!0})),this.changeSelectedItemIdx(e))}changeSelectedItemIdx(e){this.selected=e}handleItemClick(e){const{id:t}=e.detail,i=this.itemsHash[this.getNormalizedItemId(t)];if(i&&!i.disabled){const e=this.itemsIdxHash[i.id];-1!==e&&this.updateSelectedItem(e)}}handleItemKeydown(e){const{key:t,id:i}=e.detail;switch(t){case s.b.End:this.changeSelectedItemIdx(this.items.length-1);break;case s.b.Home:this.changeSelectedItemIdx(0);break;case s.b.ArrowLeft:case s.b.ArrowUp:0===this.selected?this.changeSelectedItemIdx(this.items.length-1):this.changeSelectedItemIdx(this.selected-1);break;case s.b.ArrowRight:case s.b.ArrowDown:this.selected===this.items.length-1?this.changeSelectedItemIdx(0):this.changeSelectedItemIdx(this.selected+1);break;case s.b.Enter:case s.b.Space:const e=this.slotted.findIndex(e=>e.id===i&&!e.disabled);-1!==e&&this.updateSelectedItem(e)}}connectedCallback(){super.connectedCallback(),this.addEventListener("menu-item-click",this.handleItemClick),this.addEventListener("menu-item-keydown",this.handleItemKeydown)}updated(e){const t=Object.create(null,{updated:{get:()=>super.updated}});return p(this,void 0,void 0,(function*(){t.updated.call(this,e),e.has("slotted")&&(this.setupMenuItems(),this.linkMenuItems())}))}disconnectedCallback(){super.connectedCallback(),this.removeEventListener("menu-item-click",this.handleItemClick),this.removeEventListener("menu-item-keydown",this.handleItemKeydown)}get menuClassMap(){return{["md-menu--"+this.direction]:this.direction,justified:this.justified}}render(){return r.html`
2
+ <nav class="md-menu ${Object(l.classMap)(this.menuClassMap)}">
3
3
  <ul class="md-menu-list">
4
4
  <slot></slot>
5
5
  </ul>
6
6
  </nav>
7
- `}};u([Object(l.property)({type:Boolean})],t.prototype,"justified",void 0),u([Object(l.property)({type:String})],t.prototype,"direction",void 0),u([Object(l.query)("slot")],t.prototype,"menuSlotElement",void 0),u([Object(l.query)("md-menu-overlay")],t.prototype,"menuSubElement",void 0),t=u([Object(n.a)("md-menu")],t),e.ELEMENT=t}(b||(b={}))}}]);
7
+ `}};u([Object(r.property)({type:Boolean})],t.prototype,"justified",void 0),u([Object(r.property)({type:String})],t.prototype,"direction",void 0),u([Object(r.query)("slot")],t.prototype,"menuSlotElement",void 0),u([Object(r.query)("md-menu-overlay")],t.prototype,"menuSubElement",void 0),t=u([Object(n.a)("md-menu")],t),e.ELEMENT=t}(b||(b={}))}}]);
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[76],{123:function(t,e,o){"use strict";o.r(e),o.d(e,"PhoneInput",(function(){return i}));o(53),o(28);var i,r=o(6),n=o(5),a=o(80),l=o(81),d=o(67),p=o(0),s=o(2),h=o(82),c=p.css`.md-phone-input__container{--combo-box-contaier-width:100px;display:flex;position:relative}.md-phone-input__container span.flag-box{align-items:center;border:1px solid var(--input-default-border-color,#ccc);border-bottom-left-radius:.25rem;border-right:none;border-top-left-radius:.25rem;display:flex;height:2.125rem;justify-content:center;position:relative;width:2.25rem}.md-phone-input__container span.flag-box .flag-svg-wrapper{justify-content:center}.md-phone-input__container .flag-svg-wrapper{align-items:center;display:flex;width:2rem}.md-phone-input__container .flag-svg-wrapper img{max-height:.7rem}.md-phone-input__container md-combobox{width:var(--combo-box-contaier-width)}.md-phone-input__container md-combobox::part(combobox){position:initial}.md-phone-input__container md-combobox::part(group){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.md-phone-input__container md-combobox::part(multiwrap){overflow-x:hidden}.md-phone-input__container md-combobox::part(multiwrap-input){padding-left:0;padding-right:0;width:100%}.md-phone-input__container md-combobox::part(combobox-options){top:2.5rem}.md-phone-input__container md-combobox::part(label){width:100%}.md-phone-input__container md-input::part(input){border-bottom-left-radius:0;border-top-left-radius:0;padding-right:2.125rem}.md-phone-input__container md-input::part(message){margin-left:calc(var(--combo-box-contaier-width)*-1);width:calc(100% + var(--combo-box-contaier-width))}.md-phone-input__container .md-phone-input__option{align-items:center;display:flex;justify-content:start}.md-phone-input__container .md-phone-input__option :nth-child(3){margin-left:1rem}.md-phone-input__container md-input[disabled]::part(input){background:var(--phone-input-disabled-bg-color);border:1px solid var(--phone-input-default-border-color);color:var(--md-disabled-text-color)}.md-phone-input__container md-input[disabled]::part(input)::placeholder{border:none}`,u=function(t,e,o,i){var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};!function(t){let e=class extends p.LitElement{constructor(){super(...arguments),this.codePlaceholder="+1",this.numberPlaceholder="Enter Phone Number",this.countryCallingCode="",this.showFlags=!1,this.pill=!1,this.disabled=!1,this.value="",this.errorMessage="",this.showErrorMessage=!1,this.clearIconHeight="auto",this.countryCodeAriaLabel="",this.dialNumberAriaLabel="",this.clearAriaLabel="Clear Input",this.clearCountryCodeAriaLabel="Clear Country Code",this.id="",this.countryCode="US",this.codeList=[],this.formattedValue="",this.isValid=!0}connectedCallback(){super.connectedCallback(),this.codeList=Object(a.customArray)({name:"{countryNameEn}",value:"{countryCallingCode}",code:"{countryCode}"}),""===this.id&&(this.id="md-phone-input-"+Math.random().toString(36).substr(2,4)),this.validateInput(this.value)}getCountryFlag(t){return p.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[76],{123:function(t,e,o){"use strict";o.r(e),o.d(e,"PhoneInput",(function(){return i}));o(53),o(28);var i,r=o(6),n=o(5),a=o(81),l=o(82),d=o(67),p=o(0),s=o(2),h=o(83),c=p.css`.md-phone-input__container{--combo-box-contaier-width:100px;display:flex;position:relative}.md-phone-input__container span.flag-box{align-items:center;border:1px solid var(--input-default-border-color,#ccc);border-bottom-left-radius:.25rem;border-right:none;border-top-left-radius:.25rem;display:flex;height:2.125rem;justify-content:center;position:relative;width:2.25rem}.md-phone-input__container span.flag-box .flag-svg-wrapper{justify-content:center}.md-phone-input__container .flag-svg-wrapper{align-items:center;display:flex;width:2rem}.md-phone-input__container .flag-svg-wrapper img{max-height:.7rem}.md-phone-input__container md-combobox{width:var(--combo-box-contaier-width)}.md-phone-input__container md-combobox::part(combobox){position:initial}.md-phone-input__container md-combobox::part(group){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.md-phone-input__container md-combobox::part(multiwrap){overflow-x:hidden}.md-phone-input__container md-combobox::part(multiwrap-input){padding-left:0;padding-right:0;width:100%}.md-phone-input__container md-combobox::part(combobox-options){top:2.5rem}.md-phone-input__container md-combobox::part(label){width:100%}.md-phone-input__container md-input::part(input){border-bottom-left-radius:0;border-top-left-radius:0;padding-right:2.125rem}.md-phone-input__container md-input::part(message){margin-left:calc(var(--combo-box-contaier-width)*-1);width:calc(100% + var(--combo-box-contaier-width))}.md-phone-input__container .md-phone-input__option{align-items:center;display:flex;justify-content:start}.md-phone-input__container .md-phone-input__option :nth-child(3){margin-left:1rem}.md-phone-input__container md-input[disabled]::part(input){background:var(--phone-input-disabled-bg-color);border:1px solid var(--phone-input-default-border-color);color:var(--md-disabled-text-color)}.md-phone-input__container md-input[disabled]::part(input)::placeholder{border:none}`,u=function(t,e,o,i){var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};!function(t){let e=class extends p.LitElement{constructor(){super(...arguments),this.codePlaceholder="+1",this.numberPlaceholder="Enter Phone Number",this.countryCallingCode="",this.showFlags=!1,this.pill=!1,this.disabled=!1,this.value="",this.errorMessage="",this.showErrorMessage=!1,this.clearIconHeight="auto",this.countryCodeAriaLabel="",this.dialNumberAriaLabel="",this.clearAriaLabel="Clear Input",this.clearCountryCodeAriaLabel="Clear Country Code",this.id="",this.countryCode="US",this.codeList=[],this.formattedValue="",this.isValid=!0}connectedCallback(){super.connectedCallback(),this.codeList=Object(a.customArray)({name:"{countryNameEn}",value:"{countryCallingCode}",code:"{countryCode}"}),""===this.id&&(this.id="md-phone-input-"+Math.random().toString(36).substr(2,4)),this.validateInput(this.value)}getCountryFlag(t){return p.html`
2
2
  <span class="flag-svg-wrapper">
3
3
  <img src="${Object(l.findFlagUrlByIso2Code)(t)}" />
4
4
  </span>
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[77],{98:function(e,t,i){"use strict";i.r(t),i.d(t,"Radio",(function(){return r}));var r,a=i(7),o=i(6),d=i(5),s=i(0),l=i(3),c=i(68),p=function(e,t,i,r){var a,o=arguments.length,d=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(d=(o<3?a(d):o>3?a(t,i,d):a(t,i))||d);return o>3&&d&&Object.defineProperty(t,i,d),d};!function(e){let t=class extends(Object(a.a)(s.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.label="",this.value="",this.ariaLabel="",this.autofocus=!1,this._disabled=!1,this._checked=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get checked(){return this._checked}set checked(e){const t=this._checked;this._checked=e,this.setAttribute("aria-checked",""+e),this.requestUpdate("checked",t)}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","radio"),this.label&&this.setAttribute("aria-label",this.label)}static get styles(){return[d.a,c.a]}render(){return s.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[77],{99:function(e,t,i){"use strict";i.r(t),i.d(t,"Radio",(function(){return r}));var r,a=i(7),o=i(6),d=i(5),s=i(0),l=i(3),c=i(68),p=function(e,t,i,r){var a,o=arguments.length,d=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(d=(o<3?a(d):o>3?a(t,i,d):a(t,i))||d);return o>3&&d&&Object.defineProperty(t,i,d),d};!function(e){let t=class extends(Object(a.a)(s.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.label="",this.value="",this.ariaLabel="",this.autofocus=!1,this._disabled=!1,this._checked=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get checked(){return this._checked}set checked(e){const t=this._checked;this._checked=e,this.setAttribute("aria-checked",""+e),this.requestUpdate("checked",t)}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","radio"),this.label&&this.setAttribute("aria-label",this.label)}static get styles(){return[d.a,c.a]}render(){return s.html`
2
2
  <div class="md-radio-wrapper" part="radio-wrapper">
3
3
  <input
4
4
  class="md-radio-input"
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[78],{99:function(e,t,s){"use strict";s.r(t),s.d(t,"RadioGroup",(function(){return i}));var i,d=s(1),o=s(7),r=s(6),c=s(5),n=s(0),l=s(68),a=function(e,t,s,i){var d,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(d=e[c])&&(r=(o<3?d(r):o>3?d(t,s,r):d(t,s))||r);return o>3&&r&&Object.defineProperty(t,s,r),r};!function(e){let t=class extends(Object(o.d)(n.LitElement)){constructor(){super(...arguments),this.label="group",this.checked=-1,this.alignment="vertical",this._disabled=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.requestUpdate("disabled",t)}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.label)}updated(e){super.updated(e),(e.has("slotted")||e.has("checked"))&&this.setFirstChecked()}get selectedRadioValue(){return this.slotted[this.selected].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("radio-change",{detail:{selected:this.selectedRadioValue},bubbles:!0,composed:!0}))}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}setFirstChecked(){-1!==this.checked&&(this.selected=this.checked,this.setChecked(this.checked))}findRadioIndex(e){const t=e.composedPath();return this.slotted.findIndex(e=>t.includes(e))}findCheckedRadioIndex(){return this.slotted.findIndex(e=>e.checked)}setChecked(e){const t=this.findCheckedRadioIndex();-1!==t&&t!==e&&this.slotted[t]&&(this.slotted[t].checked=!1),this.slotted[e]&&(this.slotted[e].checked=!0)}switchRadioOnArrowPress(e,t=1){const s=super.getAvailableSelectedIndex(e,t);-1!==s&&(this.selected=s,this.setChecked(s),this.notifySelectedChange())}isRadioDisabled(e){return this.slotted[e].disabled}handleClick(e){if(this.disabled)return!1;const t=this.findRadioIndex(e);-1!==t&&(this.isRadioDisabled(t)||(this.selected=t,this.setChecked(t),this.notifySelectedChange()))}handleKeyDown(e){if(this.disabled)return!1;const{code:t}=e;switch(t){case d.b.Enter:case d.b.Space:this.isRadioDisabled(this.selected)||(this.setChecked(this.selected),this.notifySelectedChange());break;case d.b.ArrowUp:case d.b.ArrowLeft:0===this.selected?this.switchRadioOnArrowPress(this.slotted.length-1,-1):this.switchRadioOnArrowPress(this.selected-1,-1);break;case d.b.ArrowDown:case d.b.ArrowRight:this.selected===this.slotted.length-1?this.switchRadioOnArrowPress(0):this.switchRadioOnArrowPress(this.selected+1)}}get slotElement(){return this.radioSlot}static get styles(){return[c.a,l.a]}render(){return n.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[78],{100:function(e,t,s){"use strict";s.r(t),s.d(t,"RadioGroup",(function(){return i}));var i,d=s(1),o=s(7),r=s(6),c=s(5),n=s(0),l=s(68),a=function(e,t,s,i){var d,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(d=e[c])&&(r=(o<3?d(r):o>3?d(t,s,r):d(t,s))||r);return o>3&&r&&Object.defineProperty(t,s,r),r};!function(e){let t=class extends(Object(o.d)(n.LitElement)){constructor(){super(...arguments),this.label="group",this.checked=-1,this.alignment="vertical",this._disabled=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.requestUpdate("disabled",t)}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.label)}updated(e){super.updated(e),(e.has("slotted")||e.has("checked"))&&this.setFirstChecked()}get selectedRadioValue(){return this.slotted[this.selected].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("radio-change",{detail:{selected:this.selectedRadioValue},bubbles:!0,composed:!0}))}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}setFirstChecked(){-1!==this.checked&&(this.selected=this.checked,this.setChecked(this.checked))}findRadioIndex(e){const t=e.composedPath();return this.slotted.findIndex(e=>t.includes(e))}findCheckedRadioIndex(){return this.slotted.findIndex(e=>e.checked)}setChecked(e){const t=this.findCheckedRadioIndex();-1!==t&&t!==e&&this.slotted[t]&&(this.slotted[t].checked=!1),this.slotted[e]&&(this.slotted[e].checked=!0)}switchRadioOnArrowPress(e,t=1){const s=super.getAvailableSelectedIndex(e,t);-1!==s&&(this.selected=s,this.setChecked(s),this.notifySelectedChange())}isRadioDisabled(e){return this.slotted[e].disabled}handleClick(e){if(this.disabled)return!1;const t=this.findRadioIndex(e);-1!==t&&(this.isRadioDisabled(t)||(this.selected=t,this.setChecked(t),this.notifySelectedChange()))}handleKeyDown(e){if(this.disabled)return!1;const{code:t}=e;switch(t){case d.b.Enter:case d.b.Space:this.isRadioDisabled(this.selected)||(this.setChecked(this.selected),this.notifySelectedChange());break;case d.b.ArrowUp:case d.b.ArrowLeft:0===this.selected?this.switchRadioOnArrowPress(this.slotted.length-1,-1):this.switchRadioOnArrowPress(this.selected-1,-1);break;case d.b.ArrowDown:case d.b.ArrowRight:this.selected===this.slotted.length-1?this.switchRadioOnArrowPress(0):this.switchRadioOnArrowPress(this.selected+1)}}get slotElement(){return this.radioSlot}static get styles(){return[c.a,l.a]}render(){return n.html`
2
2
  <div class="radio-group-container" part="radio-group-container">
3
3
  <slot name="radio"></slot>
4
4
  </div>
@@ -1 +1 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[80],{100:function(e,t,r){"use strict";r.r(t),r.d(t,"TabPanel",(function(){return n}));var n,o=r(7),a=r(6),s=r(5),c=r(0),i=r(38),l=function(e,t,r,n){var o,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(s=(a<3?o(s):a>3?o(t,r,s):o(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s};!function(e){let t=class extends(Object(o.a)(c.LitElement)){constructor(){super(...arguments),this.selected=!1,this.name="",this.focusablePanel="true"}static get styles(){return[s.a,i.a]}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","tabpanel"),"true"===this.focusablePanel&&this.setAttribute("tabindex","0")}render(){return c.html` <slot></slot> `}};l([Object(c.property)({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),l([Object(c.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),l([Object(c.property)({type:String,attribute:"focusable-panel"})],t.prototype,"focusablePanel",void 0),t=l([Object(a.a)("md-tab-panel")],t),e.ELEMENT=t}(n||(n={}))}}]);
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[80],{101:function(e,t,r){"use strict";r.r(t),r.d(t,"TabPanel",(function(){return n}));var n,o=r(7),a=r(6),s=r(5),c=r(0),i=r(38),l=function(e,t,r,n){var o,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(s=(a<3?o(s):a>3?o(t,r,s):o(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s};!function(e){let t=class extends(Object(o.a)(c.LitElement)){constructor(){super(...arguments),this.selected=!1,this.name="",this.focusablePanel="true"}static get styles(){return[s.a,i.a]}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","tabpanel"),"true"===this.focusablePanel&&this.setAttribute("tabindex","0")}render(){return c.html` <slot></slot> `}};l([Object(c.property)({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),l([Object(c.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),l([Object(c.property)({type:String,attribute:"focusable-panel"})],t.prototype,"focusablePanel",void 0),t=l([Object(a.a)("md-tab-panel")],t),e.ELEMENT=t}(n||(n={}))}}]);