@momentum-ui/web-components 2.23.41 → 2.23.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/1200.js +1 -1
- package/dist/1270.js +1 -1
- package/dist/1323.js +2 -2
- package/dist/1439.js +1 -1
- package/dist/2019.js +1 -1
- package/dist/2547.js +6 -6
- package/dist/3135.js +1 -1
- package/dist/3192.js +1 -1
- package/dist/3820.js +1 -1
- package/dist/5830.js +1 -1
- package/dist/591.js +1 -1
- package/dist/6408.js +3 -3
- package/dist/6652.js +3 -3
- package/dist/6677.js +1 -1
- package/dist/7103.js +1 -1
- package/dist/7119.js +1 -1
- package/dist/754.js +1 -1
- package/dist/7919.js +1 -1
- package/dist/8004.js +1 -1
- package/dist/8028.js +2 -2
- package/dist/8210.js +1 -1
- package/dist/8868.js +1 -1
- package/dist/8889.js +1 -1
- package/dist/984.js +2 -2
- package/dist/chunks/md-1519.js +1 -1
- package/dist/chunks/md-1983.js +1 -1
- package/dist/chunks/md-2329.js +1 -1
- package/dist/chunks/md-258.js +1 -1
- package/dist/chunks/md-2698.js +1 -1
- package/dist/chunks/md-2701.js +1 -1
- package/dist/chunks/md-2731.js +1 -1
- package/dist/chunks/md-2825.js +1 -1
- package/dist/chunks/md-2896.js +1 -1
- package/dist/chunks/md-2978.js +1 -1
- package/dist/chunks/md-3195.js +1 -1
- package/dist/chunks/md-3315.js +1 -1
- package/dist/chunks/md-3402.js +1 -1
- package/dist/chunks/md-3543.js +1 -1
- package/dist/chunks/md-431.js +1 -1
- package/dist/chunks/md-4635.js +1 -1
- package/dist/chunks/md-4893.js +1 -1
- package/dist/chunks/md-5076.js +1 -1
- package/dist/chunks/md-5089.js +1 -1
- package/dist/chunks/md-5331.js +1 -1
- package/dist/chunks/md-5344.js +1 -1
- package/dist/chunks/md-5506.js +1 -1
- package/dist/chunks/md-5672.js +1 -1
- package/dist/chunks/md-5772.js +1 -1
- package/dist/chunks/md-634.js +1 -1
- package/dist/chunks/md-6384.js +1 -1
- package/dist/chunks/md-6414.js +1 -1
- package/dist/chunks/md-6478.js +1 -1
- package/dist/chunks/md-6503.js +1 -1
- package/dist/chunks/md-6891.js +1 -1
- package/dist/chunks/md-7053.js +1 -1
- package/dist/chunks/md-7192.js +1 -1
- package/dist/chunks/md-7220.js +1 -1
- package/dist/chunks/md-7285.js +1 -1
- package/dist/chunks/md-8100.js +1 -1
- package/dist/chunks/md-8126.js +1 -1
- package/dist/chunks/md-8514.js +1 -1
- package/dist/chunks/md-8811.js +1 -1
- package/dist/chunks/md-9115.js +1 -1
- package/dist/chunks/md-9405.js +1 -1
- package/dist/chunks/md-945.js +1 -1
- package/dist/chunks/md-9497.js +1 -1
- package/dist/chunks/md-959.js +1 -1
- package/dist/chunks/md-9721.js +1 -1
- package/dist/comp/md-accordion-entry.js +2 -2
- package/dist/comp/md-accordion-item-entry.js +2 -2
- package/dist/comp/md-activity-button-entry.js +2 -2
- package/dist/comp/md-advance-list-entry.js +3 -3
- package/dist/comp/md-alert-banner-entry.js +2 -2
- package/dist/comp/md-alert-entry.js +2 -2
- package/dist/comp/md-audio-player-entry.js +4 -4
- package/dist/comp/md-avatar-entry.js +4 -4
- package/dist/comp/md-badge-entry.js +2 -2
- package/dist/comp/md-breadcrumb-entry.js +4 -4
- package/dist/comp/md-button-entry.js +2 -2
- package/dist/comp/md-button-group-entry.js +2 -2
- package/dist/comp/md-card-ai-entry.js +2 -2
- package/dist/comp/md-card-entry.js +5 -5
- package/dist/comp/md-card-v2-entry.js +3 -3
- package/dist/comp/md-chat-message-entry.js +2 -2
- package/dist/comp/md-checkbox-entry.js +2 -2
- package/dist/comp/md-checkboxgroup-entry.js +2 -2
- package/dist/comp/md-chip-entry.js +6 -5
- package/dist/comp/md-coachmark-entry.js +2 -2
- package/dist/comp/md-coachmark-popover-entry.js +3 -3
- package/dist/comp/md-combobox-entry.js +7 -7
- package/dist/comp/md-composite-avatar-entry.js +2 -2
- package/dist/comp/md-country-code-picker-entry.js +3 -3
- package/dist/comp/md-date-range-picker-entry.js +1 -1
- package/dist/comp/md-date-time-picker-entry.js +2 -2
- package/dist/comp/md-datepicker-calendar-entry.js +3 -3
- package/dist/comp/md-datepicker-day-entry.js +2 -2
- package/dist/comp/md-datepicker-entry.js +2 -2
- package/dist/comp/md-datepicker-month-entry.js +2 -2
- package/dist/comp/md-datepicker-week-entry.js +2 -2
- package/dist/comp/md-draggable-entry.js +2 -2
- package/dist/comp/md-draggable-item-entry.js +2 -2
- package/dist/comp/md-dropdown-entry.js +6 -6
- package/dist/comp/md-editable-field-entry.js +5 -5
- package/dist/comp/md-favorite-entry.js +2 -2
- package/dist/comp/md-floating-minimize-entry.js +2 -2
- package/dist/comp/md-floating-modal-entry.js +3 -3
- package/dist/comp/md-form-entry.js +2 -2
- package/dist/comp/md-grabber-entry.js +2 -2
- package/dist/comp/md-help-text-entry.js +2 -2
- package/dist/comp/md-icon-entry.js +2 -2
- package/dist/comp/md-input-entry.js +4 -4
- package/dist/comp/md-input-file.js +2 -2
- package/dist/comp/md-label-entry.js +2 -2
- package/dist/comp/md-link-entry.js +2 -2
- package/dist/comp/md-list-entry.js +2 -2
- package/dist/comp/md-list-item-entry.js +2 -2
- package/dist/comp/md-loading-entry.js +2 -2
- package/dist/comp/md-meeting-alert-entry.js +2 -2
- package/dist/comp/md-menu-entry.js +2 -2
- package/dist/comp/md-menu-item-entry.js +2 -2
- package/dist/comp/md-menu-overlay-entry.js +3 -3
- package/dist/comp/md-modal-entry.js +2 -2
- package/dist/comp/md-pagination-entry.js +4 -4
- package/dist/comp/md-phone-input-entry.js +2 -2
- package/dist/comp/md-popover-entry.js +2 -2
- package/dist/comp/md-presence-entry.js +2 -2
- package/dist/comp/md-progress-bar-entry.js +2 -2
- package/dist/comp/md-radio-entry.js +2 -2
- package/dist/comp/md-radiogroup-entry.js +2 -2
- package/dist/comp/md-slider-entry.js +4 -4
- package/dist/comp/md-spinner-entry.js +2 -2
- package/dist/comp/md-tab-entry.js +2 -2
- package/dist/comp/md-tab-panel-entry.js +1 -1
- package/dist/comp/md-table-advanced-entry.js +15 -15
- package/dist/comp/md-table-entry.js +8 -8
- package/dist/comp/md-tabs-entry.js +7 -7
- package/dist/comp/md-task-item-entry.js +2 -2
- package/dist/comp/md-theme-entry.js +2 -2
- package/dist/comp/md-timepicker-entry.js +4 -4
- package/dist/comp/md-toggle-switch-entry.js +2 -2
- package/dist/comp/md-tooltip-entry.js +2 -2
- package/dist/index-entry.js +92 -91
- package/dist/managers/thememanager-entry.js +1 -1
- package/dist/types/components/chip/Chip.d.ts +1 -0
- package/dist/types/components/grabber/Grabber.d.ts +1 -1
- package/package.json +1 -1
package/dist/591.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[591,2972,8210],{32972:(e,t,s)=>{s.d(t,{y:()=>u});var o=s(41488),n=s(18889);const u=e=>{if((0,n.V)(u,e))return e;class t extends e{constructor(){super(...arguments),this.autofocus=!1}setFocus(e){this.toggleAttribute("focus-visible",e)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.setFocus(!0),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.setFocus(!1),this.dispatchEvent(new CustomEvent("focus-not-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}manageAutoFocus(e=this){e.focus()}firstUpdated(e){super.firstUpdated(e),this.addEventListener("focus",this.handleFocusIn),this.addEventListener("blur",this.handleFocusOut),this.autofocus&&requestAnimationFrame((
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[591,2972,8210],{32972:(e,t,s)=>{s.d(t,{y:()=>u});var o=s(41488),n=s(18889);const u=e=>{if((0,n.V)(u,e))return e;class t extends e{constructor(){super(...arguments),this.autofocus=!1}setFocus(e){this.toggleAttribute("focus-visible",e)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.setFocus(!0),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.setFocus(!1),this.dispatchEvent(new CustomEvent("focus-not-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}manageAutoFocus(e=this){e.focus()}firstUpdated(e){super.firstUpdated(e),this.addEventListener("focus",this.handleFocusIn),this.addEventListener("blur",this.handleFocusOut),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}getActiveElement(){return this.getRootNode().activeElement}getDeepActiveElement(){var e;let t=document.activeElement||document.body;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t}isElementFocused(e){return this.getDeepActiveElement()!==e}disconnectedCallback(){this.removeEventListener("focus",this.handleFocusIn),this.removeEventListener("blur",this.handleFocusOut)}}return function(e,t,s,o){var n,u=arguments.length,c=u<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,s,o);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(u<3?n(c):u>3?n(t,s,c):n(t,s))||c);u>3&&c&&Object.defineProperty(t,s,c)}([(0,o.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),(0,n.B)(u,t),t}}}]);
|
package/dist/6408.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[6408],{96408:(e,t,i)=>{i(20109),i(61200),i(6396),i(12176);var s,a=i(90195),o=i(31890),n=i(32972),r=i(26272),l=(i(32022),i(41488)),p=i(40333),d=i(23968),h=i(97822),u=i(22818),m=i(8229),c=i(21572),y=function(e,t,i,s){var a,o=arguments.length,n=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};!function(e){class t{determineMessageType(e){return e.reduce((
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[6408],{96408:(e,t,i)=>{i(20109),i(61200),i(6396),i(12176);var s,a=i(90195),o=i(31890),n=i(32972),r=i(26272),l=(i(32022),i(41488)),p=i(40333),d=i(23968),h=i(97822),u=i(22818),m=i(8229),c=i(21572),y=function(e,t,i,s){var a,o=arguments.length,n=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(n=(o<3?a(n):o>3?a(t,i,n):a(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};!function(e){class t{determineMessageType(e){return e.reduce((e,t)=>"error"===t?e:t.type,"")}filterMessagesByType(e,t){return e.reduce((e,i)=>i.type===t?e.concat(i.message):e,[])}}e.MessageController=t;let i=class extends((0,n.y)(l.LitElement)){constructor(){super(...arguments),this.ariaDescribedBy="",this.ariaInvalid="false",this.ariaLabel="input",this.autofocus=!1,this.auxiliaryContentPosition=null,this.clear=!1,this.clearAriaLabel="",this.compact=!1,this.containerSize="small-12",this.disabled=!1,this.id="",this.inputSize="",this.isFilled=!1,this.isLoading=!1,this.label="",this.helpText="",this.hideMessage=!1,this.htmlId="",this.role="",this.messageArr=[],this.min=void 0,this.max=void 0,this.maxLength=void 0,this.multi=!1,this.multiline=!1,this.name="",this.nestedLevel=0,this.placeholder="",this.readOnly=!1,this.required=!1,this.searchable=!1,this.secondaryLabel="",this.selectWhenInFocus=!1,this.shape="",this.type="text",this.value="",this.ariaControls="",this.ariaExpanded="",this.newMomentum=!1,this.disableUserTextInput=!1,this.isEditing=!1,this.hasRightSlotContent=!1,this.messageController=new t}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideClick)}select(){this.input.select()}handleOutsideClick(e){let t=!1;const i=e.composedPath();i.length&&(t=!!i.find(e=>e===this),t||(this.input.blur(),this.isEditing=!1))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("input-keydown",{bubbles:!0,composed:!0,detail:{srcEvent:e}}))}handleFocus(e){this.disabled||(this.isEditing=!0,this.selectWhenInFocus&&this.select(),this.dispatchEvent(new CustomEvent("input-focus",{bubbles:!0,composed:!0,detail:{srcEvent:e}})))}handleMouseDown(e){this.disabled||(this.isEditing=!0,this.dispatchEvent(new CustomEvent("input-mousedown",{bubbles:!0,composed:!0,detail:{srcEvent:e}})))}handleChange(e){var t;this.value=e.target.value,null===(t=this.control)||void 0===t||t.setValue(this.value),this.dispatchEvent(new CustomEvent("input-change",{bubbles:!0,composed:!0,detail:{srcEvent:e,value:this.value}}))}handleBlur(e){var t;null===(t=this.control)||void 0===t||t.markAsTouched(),this.isEditing=!1,this.dispatchEvent(new CustomEvent("input-blur",{bubbles:!0,composed:!0,detail:{srcEvent:e}}))}handleClear(e){if("keydown"===e.type){const{code:t}=e;if(t!==a.Uz.Space&&t!==a.Uz.Enter)return;e.preventDefault(),e.stopPropagation()}else"click"===e.type&&(e.preventDefault(),e.stopPropagation());this.input.focus(),this.dispatchEvent(new CustomEvent("input-clear",{bubbles:!0,composed:!0,detail:{srcEvent:e}})),document.dispatchEvent(new CustomEvent("on-widget-update")),this.handleChange(e)}handleLabelClick(){this.input.focus()}handleRighSlotChange(){var e;this.hasRightSlotContent=(null===(e=this.inputSectionRightSlot)||void 0===e?void 0:e.assignedNodes().length)>0}get messageType(){return this.messageArr.length>0?this.messageController.determineMessageType(this.messageArr):null}get messages(){return this.messageType?this.messageController.filterMessagesByType(this.messageArr,this.messageType):null}get inputClassMap(){return{"md-input--filled":this.isFilled,colums:!!this.containerSize,[`${this.containerSize}`]:!!this.containerSize,"md-read-only":this.readOnly,"md-disabled":this.disabled,[`md-${this.messageType}`]:!!this.messageType,[`md-input--nested-${this.nestedLevel}`]:!!this.nestedLevel,"md-multi":this.multi,"md-new-momentum":this.newMomentum}}get inputWrapperClassMap(){return{columns:!!this.inputSize,[`${this.inputSize}`]:!!this.inputSize}}get inputTemplateClassMap(){return{"md-input--multiline":this.multiline,"md-input--multi":this.multi,[`md-input--${this.shape}`]:!!this.shape,"md-input--compact":this.compact,"md-input--before":"before"===this.auxiliaryContentPosition||this.searchable,"md-input--after":"after"===this.auxiliaryContentPosition,"md-active":this.isEditing,"md-focus":this.isEditing,"md-read-only":this.readOnly,"md-disable-user-text-input":this.disableUserTextInput,"md-disabled":this.disabled,"md-dirty":!!this.value,"md-has-right-icon":this.hasRightIcon}}get ariaExpandedValue(){return"true"===this.ariaExpanded||"false"===this.ariaExpanded?this.ariaExpanded:"undefined"}get hasRightIcon(){return!(!this.clear||this.disabled||!this.value||this.readOnly)||!this.compact&&this.hasRightSlotContent}inputTemplate(){var e;return this.multiline?l.html`
|
|
2
2
|
<textarea
|
|
3
3
|
part="input"
|
|
4
4
|
class="md-input ${(0,d.classMap)(this.inputTemplateClassMap)}"
|
|
@@ -97,14 +97,14 @@
|
|
|
97
97
|
></md-help-text>
|
|
98
98
|
`:p.nothing}messagesTemplate(){return!this.hideMessage&&this.messages&&this.messages.length?l.html`
|
|
99
99
|
<div id="${this.htmlId}-message" part="message" class="md-input__messages">
|
|
100
|
-
${(0,u.repeat)(this.messages,(
|
|
100
|
+
${(0,u.repeat)(this.messages,(e,t)=>{var i,s;return l.html`
|
|
101
101
|
<md-help-text
|
|
102
102
|
.message=${e}
|
|
103
103
|
.id=${null!==(i=this.messageArr[t].id)&&void 0!==i?i:""}
|
|
104
104
|
.ariaLive=${null!==(s=this.messageArr[t].ariaLive)&&void 0!==s?s:"polite"}
|
|
105
105
|
.messageType=${this.messageType}
|
|
106
106
|
></md-help-text>
|
|
107
|
-
`})
|
|
107
|
+
`})}
|
|
108
108
|
</div>
|
|
109
109
|
`:p.nothing}labelTemplate(){return this.label?l.html`
|
|
110
110
|
<md-label
|
package/dist/6652.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1439,3820,6652,6677,9058],{63208:(t,e,i)=>{i(17814),i(61200);var o,r=i(31890),a=i(81625),n=i(26272),s=i(41488),d=i(14974),h=function(t,e,i,o){var r,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(n=(a<3?r(n):a>3?r(e,i,n):r(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this.monthFormat="MMMM yyyy",this.filterParams=void 0,this.handleMonthChange=void 0,this.datePickerProps=void 0,this.shortDay=!1,this.viewAnchorDate=(0,a.tB)(),this.localeMonth=void 0,this.setDate=(t,e)=>{this.viewAnchorDate=t,null==e||e()},this.increaseMonth=t=>{const{handleMonthChange:e}=this,{viewAnchorDate:i}=this;this.setDate((0,a.PS)(i,1),(
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1439,3820,6652,6677,9058],{63208:(t,e,i)=>{i(17814),i(61200);var o,r=i(31890),a=i(81625),n=i(26272),s=i(41488),d=i(14974),h=function(t,e,i,o){var r,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(n=(a<3?r(n):a>3?r(e,i,n):r(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n};!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this.monthFormat="MMMM yyyy",this.filterParams=void 0,this.handleMonthChange=void 0,this.datePickerProps=void 0,this.shortDay=!1,this.viewAnchorDate=(0,a.tB)(),this.localeMonth=void 0,this.setDate=(t,e)=>{this.viewAnchorDate=t,null==e||e()},this.increaseMonth=t=>{const{handleMonthChange:e}=this,{viewAnchorDate:i}=this;this.setDate((0,a.PS)(i,1),()=>e&&e(t,this.viewAnchorDate))},this.decreaseMonth=t=>{const{handleMonthChange:e}=this,{viewAnchorDate:i}=this;this.setDate((0,a.SL)(i,1),()=>e&&e(t,this.viewAnchorDate))},this.renderMonthName=()=>s.html` <div class="md-datepicker__navigation--current-month" aria-live="polite">${this.localeMonth}</div> `,this.renderPreviousMonthButton=()=>{var t,e;const i=(null===(t=this.filterParams)||void 0===t?void 0:t.minDate)&&(0,a.PD)(this.viewAnchorDate,null===(e=this.filterParams)||void 0===e?void 0:e.minDate);return s.html`
|
|
2
2
|
<md-button
|
|
3
3
|
variant="ghost"
|
|
4
4
|
circle
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
tabindex="-1"
|
|
26
26
|
><md-icon name="arrow-right-bold" size="16" iconSet="momentumDesign"></md-icon>
|
|
27
27
|
</md-button>
|
|
28
|
-
`},this.header=()=>{var t;const e=(0,a.mK)(this.viewAnchorDate,null===(t=this.datePickerProps)||void 0===t?void 0:t.weekStart);return[].concat([0,1,2,3,4,5,6].map(
|
|
28
|
+
`},this.header=()=>{var t;const e=(0,a.mK)(this.viewAnchorDate,null===(t=this.datePickerProps)||void 0===t?void 0:t.weekStart);return[].concat([0,1,2,3,4,5,6].map(t=>{var i;const o=(0,a.fi)((0,a.WV)(e,(null===(i=this.datePickerProps)||void 0===i?void 0:i.locale)||"en"),t),r=(0,a.XN)(o),n=this.getWeekDayName(r,o);return s.html` <div class="md-datepicker__day--name">${n}</div> `}))},this.renderMonth=()=>s.html`
|
|
29
29
|
<div class="md-datepicker__month-container">
|
|
30
30
|
<div class="md-datepicker__header">
|
|
31
31
|
<div class="md-datepicker__navigation">
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
</div>
|
|
45
45
|
`}connectedCallback(){var t,e,i;super.connectedCallback(),this.viewAnchorDate=(null===(t=this.datePickerProps)||void 0===t?void 0:t.focused)||(null===(e=this.datePickerProps)||void 0===e?void 0:e.selected)||(0,a.tB)(),this.localeMonth=(0,a.WV)(this.viewAnchorDate,(null===(i=this.datePickerProps)||void 0===i?void 0:i.locale)||"en").toFormat(this.monthFormat)}updated(t){var e,i,o,r,n;super.updated(t),t.has("datePickerProps")&&(null===(null===(e=this.datePickerProps)||void 0===e?void 0:e.selected.invalidReason)&&(this.viewAnchorDate=this.datePickerProps.selected||(0,a.tB)()),this.localeMonth=((null===(i=this.datePickerProps)||void 0===i?void 0:i.locale)?(0,a.WV)(this.viewAnchorDate,null===(o=this.datePickerProps)||void 0===o?void 0:o.locale):this.viewAnchorDate).toFormat(this.monthFormat)),t.has("viewAnchorDate")&&(this.localeMonth=((null===(r=this.datePickerProps)||void 0===r?void 0:r.locale)?(0,a.WV)(this.viewAnchorDate,null===(n=this.datePickerProps)||void 0===n?void 0:n.locale):this.viewAnchorDate).toFormat(this.monthFormat))}getWeekDayName(t,e){return this.shortDay?(0,a.XY)(t,e):(0,a.DY)(t,e)}static get styles(){return[n.A,d.A]}render(){return s.html`
|
|
46
46
|
<div class="md-datepicker__calendar" id="Datepicker-Calendar">${this.viewAnchorDate&&this.renderMonth()}</div>
|
|
47
|
-
`}};h([(0,s.property)({attribute:!1})],e.prototype,"monthFormat",void 0),h([(0,s.property)({attribute:!1})],e.prototype,"filterParams",void 0),h([(0,s.property)({attribute:!1})],e.prototype,"handleMonthChange",void 0),h([(0,s.property)({attribute:!1})],e.prototype,"datePickerProps",void 0),h([(0,s.property)({type:Boolean,reflect:!0,attribute:"short-day"})],e.prototype,"shortDay",void 0),h([(0,s.internalProperty)()],e.prototype,"viewAnchorDate",void 0),h([(0,s.internalProperty)()],e.prototype,"localeMonth",void 0),e=h([(0,r.w)("md-datepicker-calendar")],e),t.ELEMENT=e}(o||(o={}))},66677:(t,e,i)=>{function o(t,e,i){let o;return function(...r){const a=this,n=i&&!o;clearTimeout(o),o=setTimeout(
|
|
47
|
+
`}};h([(0,s.property)({attribute:!1})],e.prototype,"monthFormat",void 0),h([(0,s.property)({attribute:!1})],e.prototype,"filterParams",void 0),h([(0,s.property)({attribute:!1})],e.prototype,"handleMonthChange",void 0),h([(0,s.property)({attribute:!1})],e.prototype,"datePickerProps",void 0),h([(0,s.property)({type:Boolean,reflect:!0,attribute:"short-day"})],e.prototype,"shortDay",void 0),h([(0,s.internalProperty)()],e.prototype,"viewAnchorDate",void 0),h([(0,s.internalProperty)()],e.prototype,"localeMonth",void 0),e=h([(0,r.w)("md-datepicker-calendar")],e),t.ELEMENT=e}(o||(o={}))},66677:(t,e,i)=>{function o(t,e,i){let o;return function(...r){const a=this,n=i&&!o;clearTimeout(o),o=setTimeout(function(){o=null,i||t.apply(a,r)},e),n&&t.apply(a,r)}}function r(t,e){return function e(i){if(!i||i===document||i===window)return null;const o=i.closest(t);return null!=o?o:e(i.getRootNode().host)}(e)}i.d(e,{QZ:()=>r,sg:()=>o})}}]);
|
package/dist/6677.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1439,3820,6677,9058],{66677:(t,e,n)=>{function o(t,e,n){let o;return function(...s){const u=this,m=n&&!o;clearTimeout(o),o=setTimeout(
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1439,3820,6677,9058],{66677:(t,e,n)=>{function o(t,e,n){let o;return function(...s){const u=this,m=n&&!o;clearTimeout(o),o=setTimeout(function(){o=null,n||t.apply(u,s)},e),m&&t.apply(u,s)}}n.d(e,{sg:()=>o})}}]);
|
package/dist/7103.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[7103],{42791:function(e,t,n){!function(e){"use strict";if(!e.setImmediate){var t,n,i,o,a,s=1,c={},r=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?t=function(e){process.nextTick(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[7103],{42791:function(e,t,n){!function(e){"use strict";if(!e.setImmediate){var t,n,i,o,a,s=1,c={},r=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?t=function(e){process.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&f(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),t=function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},t=function(e){i.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(n=l.documentElement,t=function(e){var t=l.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):t=function(e){setTimeout(f,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var n=new Array(arguments.length-1),i=0;i<n.length;i++)n[i]=arguments[i+1];var o={callback:e,args:n};return c[s]=o,t(s),s++},u.clearImmediate=m}function m(e){delete c[e]}function f(e){if(r)setTimeout(f,0,e);else{var t=c[e];if(t){r=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{m(e),r=!1}}}}}("undefined"==typeof self?void 0===n.g?this:n.g:self)},97103:function(e,t,n){var i=void 0!==n.g&&n.g||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(o.call(setTimeout,i,arguments),clearTimeout)},t.setInterval=function(){return new a(o.call(setInterval,i,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(i,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(42791),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==n.g&&n.g.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==n.g&&n.g.clearImmediate||this&&this.clearImmediate}}]);
|
package/dist/7119.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
>
|
|
10
10
|
</md-icon>
|
|
11
11
|
</div>
|
|
12
|
-
`}};c([(0,a.property)({type:String})],t.prototype,"name",void 0),c([(0,a.property)({type:Number})],t.prototype,"size",void 0),c([(0,a.property)({type:String})],t.prototype,"title",void 0),c([(0,a.property)({type:String})],t.prototype,"color",void 0),c([(0,a.property)({type:String,attribute:"presence-type"})],t.prototype,"presenceType",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"newMomentum",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"failurePresence",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"avatarLinked",void 0),t=c([(0,n.w)("md-presence")],t),e.ELEMENT=t}(s||(s={}))},69788:(e,t,i)=>{var s,n=i(31890),o=i(26272),a=i(41488),r=i(17518),l=i(76700),p=function(e,t,i,s){var n,o=arguments.length,a=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(n=e[r])&&(a=(o<3?n(a):o>3?n(t,i,a):n(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.size="",this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[o.A,l.A]}firstUpdated(e){super.firstUpdated(e),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".md-loading__icon");if(!t)return;let i=null;const s=1400,n=e=>{if(!this.isAnimating)return;i||(i=e);const o=(e-i)%s;t.forEach((
|
|
12
|
+
`}};c([(0,a.property)({type:String})],t.prototype,"name",void 0),c([(0,a.property)({type:Number})],t.prototype,"size",void 0),c([(0,a.property)({type:String})],t.prototype,"title",void 0),c([(0,a.property)({type:String})],t.prototype,"color",void 0),c([(0,a.property)({type:String,attribute:"presence-type"})],t.prototype,"presenceType",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"newMomentum",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"failurePresence",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"avatarLinked",void 0),t=c([(0,n.w)("md-presence")],t),e.ELEMENT=t}(s||(s={}))},69788:(e,t,i)=>{var s,n=i(31890),o=i(26272),a=i(41488),r=i(17518),l=i(76700),p=function(e,t,i,s){var n,o=arguments.length,a=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,s);else for(var r=e.length-1;r>=0;r--)(n=e[r])&&(a=(o<3?n(a):o>3?n(t,i,a):n(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.size="",this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[o.A,l.A]}firstUpdated(e){super.firstUpdated(e),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".md-loading__icon");if(!t)return;let i=null;const s=1400,n=e=>{if(!this.isAnimating)return;i||(i=e);const o=(e-i)%s;t.forEach((e,t)=>{const i=(o-200*t+s)%s;let n=0,a=.1;if(i<280){const e=.1+i/280*.9;n=e,a=e}else if(i<1400){const e=Math.min((i-280)/1120*2,1);n=Math.max(1-.9*e,.9),a=Math.max(1-.9*e,.2)}e.style.transform=`scale(${n})`,e.style.opacity=`${a}`}),this.animationFrameId=requestAnimationFrame(n)};this.animationFrameId=requestAnimationFrame(n)}stopAnimation(){var e;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".md-loading__icon");t&&t.forEach(e=>{e.style.transform="scale(0, 0)",e.style.opacity="0.1"})}get loadingClassMap(){return{[`md-loading--${this.size}`]:!!this.size}}get loadingIconClassMap(){return{"md-loading__icon":!0}}render(){return a.html`
|
|
13
13
|
<div class="md-loading ${(0,r.classMap)(this.loadingClassMap)}">
|
|
14
14
|
<span class=${(0,r.classMap)(this.loadingIconClassMap)}></span>
|
|
15
15
|
<span class=${(0,r.classMap)(this.loadingIconClassMap)}></span>
|
package/dist/754.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[754,3135,8373],{28373:(e,t,s)=>{s.d(t,{d:()=>r});var i=s(90195),n=s(41488),o=s(18889),a=s(32972),c=function(e,t,s,i){var n,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(a=(o<3?n(a):o>3?n(t,s,a):n(t,s))||a);return o>3&&a&&Object.defineProperty(t,s,a),a},l=function(e,t,s,i){return new(s||(s=Promise))(
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[754,3135,8373],{28373:(e,t,s)=>{s.d(t,{d:()=>r});var i=s(90195),n=s(41488),o=s(18889),a=s(32972),c=function(e,t,s,i){var n,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(a=(o<3?n(a):o>3?n(t,s,a):n(t,s))||a);return o>3&&a&&Object.defineProperty(t,s,a),a},l=function(e,t,s,i){return new(s||(s=Promise))(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function c(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof s?t:new s(function(e){e(t)})).then(a,c)}l((i=i.apply(e,t||[])).next())})};const r=e=>{if((0,o.V)(r,e))return e;class t extends((0,a.y)(e)){constructor(){super(...arguments),this.focusableElements=[],this.initialFocusComplete=!1,this.focusableTimer=[],this.activeFocusTrap=!1,this.preventClickOutside=!1,this.focusTrapIndex=-1,this.preventScroll=!1,this.shouldWrapFocus=()=>!0,this.useLegacyFindFocusable=()=>!0,this.handleFocusOnClear=()=>{this.trapFocus(!0)},this.handleKeydownFocusTrap=e=>{e.code!==i.Uz.Tab||e.shiftKey&&e.code!==i.Uz.Tab||this.activeFocusTrap&&this.focusableElements.length&&(e.shiftKey?(e.preventDefault(),this.trapFocus(!0)):(e.preventDefault(),this.trapFocus(!1)))},this.handleOutsideTrapClick=e=>{let t=!1;const s=e.composedPath();s.length&&(t=!!s.find(e=>e===this),t||this.preventClickOutside||!this.activeFocusTrap?t&&this.activeFocusTrap&&this.initialFocusComplete&&this.handleClickInsideTrap(e):this.deactivateFocusTrap())},this.updateFocusableElements=()=>{this.focusableTimer&&(clearTimeout(this.focusableTimer),this.focusableElements=[]),this.focusableTimer=setTimeout(()=>{this.setFocusableElements()},10)},this.handleChildFocusTrap=e=>{e.target!==this&&(e.stopPropagation(),this.deactivateFocusTrap(!1))},this.handleChildFocusUntrap=e=>{e.target!==this&&(e.stopPropagation(),this.activateFocusTrap(!1))}}updated(e){if(super.updated(e),e.has("focusTrapIndex")){const t=e.get("focusTrapIndex"),s=this.focusableElements[t];s&&(s.blur(),s.toggleAttribute("focus-visible",!1));const i=this.focusableElements[this.focusTrapIndex];i&&this.tryFocus(i)}}tryFocus(e){requestAnimationFrame(()=>l(this,void 0,void 0,function*(){this.isElementFocused(e)&&e.focus({preventScroll:this.preventScroll}),void 0!==e.updateComplete&&(yield e.updateComplete),document.hasFocus()&&this.isElementFocused(e)&&e.focus({preventScroll:this.preventScroll}),this.initialFocusComplete||(this.initialFocusComplete=!0)}))}domRectCollection(e){return 0===e.getClientRects().length}viewportPosition(e){const{width:t,height:s}=e.getBoundingClientRect(),{offsetWidth:i,offsetHeight:n}=e;return i+n+s+t===0}isNotVisible(e){return"SLOT"!==e.tagName&&(this.viewportPosition(e)||this.domRectCollection(e))}hasHiddenStyle(e){const t=e.style;return t?"none"===t.display||"0"===t.opacity||"hidden"===t.visibility||"collapse"===t.visibility:e instanceof HTMLElement==0}hasComputedHidden(e){const t=getComputedStyle(e);return"hidden"===t.visibility||"0"===t.height}isHidden(e){return e.hasAttribute("hidden")||e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden")||this.hasHiddenStyle(e)||this.isNotVisible(e)||this.hasComputedHidden(e)}isNotTabbable(e){return"-1"===e.getAttribute("tabindex")}isInteractiveElement(e){return e instanceof HTMLButtonElement||e instanceof HTMLDetailsElement||e instanceof HTMLEmbedElement||e instanceof HTMLIFrameElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||!!(e instanceof HTMLAnchorElement&&e.hasAttribute("href"))||e instanceof HTMLInputElement&&"hidden"!==e.type||!(!(e instanceof HTMLAudioElement||e instanceof HTMLVideoElement)||!e.hasAttribute("controls"))||!(!(e instanceof HTMLImageElement||e instanceof HTMLObjectElement)||!e.hasAttribute("usemap"))||!!(e.hasAttribute("tabindex")&&e.tabIndex>-1)}isFocusable(e){return!this.isHidden(e)&&!this.isNotTabbable(e)&&!!this.isInteractiveElement(e)}shouldSkipFocus(e){var t;return(null===(t=null==e?void 0:e.id)||void 0===t?void 0:t.split(" ").indexOf("md-combobox-listbox"))>-1}handleFindFocusableSlot(e,t){const s=e.assignedNodes().filter(e=>e.nodeType===e.ELEMENT_NODE);if(s.length){const e=s[0].parentElement;e&&this.findFocusable(e,t)}}findFocusable(e,t){return this.useLegacyFindFocusable()?this.legacyFindFocusable(e,t):this.newFindFocusable(e,t)}legacyFindFocusable(e,t){const s=Array.from(e.children);for(const e of s)if(!this.isHidden(e)){if(this.shouldSkipFocus(e))break;if(this.isFocusable(e)&&t.add(e),e.shadowRoot)this.findFocusable(e.shadowRoot,t);else if("SLOT"===e.tagName){const s=e;this.handleFindFocusableSlot(s,t)}else this.findFocusable(e,t)}return[...t]}newFindFocusable(e,t){const s=Array.from(e.children);for(const e of s)if(!this.isHidden(e)){if(this.shouldSkipFocus(e))break;if(this.isFocusable(e)&&t.add(e),e.shadowRoot)this.findFocusable(e.shadowRoot,t);else if("SLOT"===e.tagName){const s=e;this.handleFindFocusableSlot(s,t)}else this.findFocusable(e,t)}return[...t]}isEqualFocusNode(e,t){return e.nodeType>=0&&t.isEqualNode(e)&&t==e}findElement(e){return this.focusableElements.findIndex(t=>this.isEqualFocusNode(e,t))}calculateNextFocusIndex(e,t){return t?e>0?e-1:this.shouldWrapFocus()?this.focusableElements.length-1:0:e+1<this.focusableElements.length?e+1:this.shouldWrapFocus()?0:this.focusableElements.length-1}trapFocus(e){const t=this.getDeepActiveElement(),s=this.findElement(t);if(e)-1===s&&this.focusTrapIndex-1>0?this.focusTrapIndex--:this.focusTrapIndex=this.calculateNextFocusIndex(s,e);else if(-1===s&&this.focusTrapIndex+1<this.focusableElements.length)this.focusTrapIndex++;else if(s===this.focusableElements.length-1&&0===this.focusTrapIndex){const e=this.focusableElements[this.focusTrapIndex];e&&this.tryFocus(e)}else this.focusTrapIndex=this.calculateNextFocusIndex(s,e)}hasAutofocus(e){return e.hasAttribute("autofocus")}setInitialFocus(e=0,t=!1){let s=-1;this.initialFocusComplete=!1,this.focusableElements.length&&!t&&(s=this.focusableElements.findIndex(this.hasAutofocus)),this.focusableElements.length&&-1===s&&("object"==typeof e?s=this.findElement(e):"number"==typeof e&&(s=e)),this.focusableElements[s]&&(this.focusTrapIndex=s)}setFocusOnTrigger(e){if(!e)return;const t=this.getDeepNestedTriggerElement(e);if(t.length>0){const e=this.findElement(t[0]);this.focusTrapIndex=e}}setFocusOnDeepestNestedElement(e){if(!e)return;const t=this.getDeepNestedTriggerElement(e);if(t.length>0){const e=t[0],s=this.findElement(e);this.focusTrapIndex=s,e.focus()}}getDeepNestedTriggerElement(e){return e.shadowRoot?this.findFocusable(e.shadowRoot,new Set):this.isFocusable(e)?[e]:this.findFocusable(e,new Set)}setFocusableElements(){this.shadowRoot?this.focusableElements=this.findFocusable(this.shadowRoot,new Set):console.warn("shadow root is not available")}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return l(this,void 0,void 0,function*(){t.firstUpdated.call(this,e),yield new Promise(e=>setTimeout(e,0)),this.setFocusableElements()})}activateFocusTrap(e=!0){e&&this.dispatchEvent(new CustomEvent("on-focus-trap",{bubbles:!0,composed:!0,cancelable:!0})),this.activeFocusTrap=!0}deactivateFocusTrap(e=!0){this.activeFocusTrap=!1,this.focusTrapIndex=-1,this.removeAttribute("focus-trap-index"),e&&this.dispatchEvent(new CustomEvent("on-focus-untrap",{bubbles:!0,composed:!0,cancelable:!0}))}handleClickInsideTrap(e){const t=e.composedPath(),s=t.findIndex(e=>-1!==this.findElement(e));if(-1!==s){const e=t[s],i=this.findElement(e);-1!==i&&(this.focusTrapIndex=i)}}manageNewElement(e){requestAnimationFrame(()=>{this.setFocusableElements();const t=this.findElement(e);-1!==t&&(this.focusTrapIndex=t)})}handleFocusVisible(e){const t=(e.detail?e.detail.sourceEvent:e).composedPath()[0];-1===(e.detail?this.findElement(t):-1)&&t!==this&&this.manageNewElement(t)}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeydownFocusTrap),this.addEventListener("focus-visible",this.handleFocusVisible),this.addEventListener("on-focus-trap",this.handleChildFocusTrap),this.addEventListener("on-focus-untrap",this.handleChildFocusUntrap),document.addEventListener("click",this.handleOutsideTrapClick),document.addEventListener("on-widget-update",this.updateFocusableElements),this.addEventListener("input-clear",this.handleFocusOnClear)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeydownFocusTrap),this.removeEventListener("focus-visible",this.handleFocusVisible),this.removeEventListener("on-focus-trap",this.handleChildFocusTrap),this.removeEventListener("on-focus-untrap",this.handleChildFocusUntrap),document.removeEventListener("click",this.handleOutsideTrapClick),document.removeEventListener("on-widget-update",this.updateFocusableElements),this.removeEventListener("input-clear",this.handleFocusOnClear),this.focusableTimer&&clearTimeout(this.focusableTimer)}}return c([(0,n.internalProperty)()],t.prototype,"focusableElements",void 0),c([(0,n.internalProperty)()],t.prototype,"initialFocusComplete",void 0),c([(0,n.internalProperty)()],t.prototype,"focusableTimer",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"active-focus-trap"})],t.prototype,"activeFocusTrap",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"prevent-click-outside"})],t.prototype,"preventClickOutside",void 0),c([(0,n.property)({type:Number,reflect:!0,attribute:"focus-trap-index"})],t.prototype,"focusTrapIndex",void 0),c([(0,n.property)({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],t.prototype,"preventScroll",void 0),(0,o.B)(r,t),t}}}]);
|
package/dist/7919.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[300,7919],{70300:(e,n,s)=>{s.d(n,{U:()=>i}),s(41488);var r=s(18889);const i=e=>{if((0,r.V)(i,e))return e;class n extends e{_initResizeObserver(){null==n._resizeObserver&&(n._resizeObserver=new ResizeObserver(
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[300,7919],{70300:(e,n,s)=>{s.d(n,{U:()=>i}),s(41488);var r=s(18889);const i=e=>{if((0,r.V)(i,e))return e;class n extends e{_initResizeObserver(){null==n._resizeObserver&&(n._resizeObserver=new ResizeObserver(e=>{n._animationFrameID&&cancelAnimationFrame(n._animationFrameID),n._animationFrameID=requestAnimationFrame(()=>{Array.isArray(e)&&e.length&&e.forEach(e=>{const{target:n,contentRect:s}=e,r=n;if(r.isConnected&&"function"==typeof r.handleResize)try{r.handleResize.call(r,s)}catch(e){console.warn("ResizeObserver handleResize error:",e)}}),n._animationFrameID=void 0})}))}handleResize(e){super.handleResize&&super.handleResize(e),this.dispatchEvent(new CustomEvent("md-resize",{detail:{contentRect:e},bubbles:!0,composed:!0}))}unobserveAll(){super.unobserveAll&&super.unobserveAll();const e=n._resizeObserver;e&&e.disconnect()}connectedCallback(){super.connectedCallback(),this._initResizeObserver();const e=n._resizeObserver;e&&this.isConnected&&e.observe(this)}disconnectedCallback(){super.disconnectedCallback();const e=n._resizeObserver,s=n._animationFrameID;e&&e.unobserve(this),s&&cancelAnimationFrame(s)}}return(0,r.B)(i,n),n}}}]);
|
package/dist/8004.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[8004],{3998:(e,o,t)=>{t.d(o,{S:()=>r});const r=new class{constructor(){this.stack=[]}push(e){this.stack.push(e)}pop(){return this.stack.pop()}removeItem(e){this.stack=this.stack.filter(
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[8004],{3998:(e,o,t)=>{t.d(o,{S:()=>r});const r=new class{constructor(){this.stack=[]}push(e){this.stack.push(e)}pop(){return this.stack.pop()}removeItem(e){this.stack=this.stack.filter(o=>o!==e)}peek(){return this.stack[this.stack.length-1]}remove(e){this.stack=this.stack.filter(o=>o!==e)}clear(){this.stack=[]}shouldDeferToTopForOutsideClick(e){const o=this.peek();return!(!o||o===e||!(o.triggerElement&&e.contains(o.triggerElement)||e.triggerElement&&o.contains(e.triggerElement)))}}},33759:(e,o,t)=>{t.d(o,{h:()=>i});var r=t(66677);class i{constructor(e){this.arrowPixelChange=!1,this.originalParent=null,this.originalNextSibling=null,this.popover=e}setupDelay(){try{const[e,o]=this.popover.delay.split(",").map(e=>{const o=parseInt(e,10);if(Number.isNaN(o)||o<0)throw new Error(`Invalid delay value: ${e}`);return o});return[e,o]}catch(e){return this.popover.delay="0,0",[0,0]}}setupHoverBridge(e){const o=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(o.style,{top:"",left:"",right:"",bottom:""});const t=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,r=this.popover.offsetHeight||0,i=this.popover.offsetWidth||0,p=!!this.popover.appendTo&&this.originalParent;if(o){const s=e.split("-")[0];switch(p&&this.popover.trigger.includes("mouseenter")&&o.addEventListener("mouseenter",this.popover.cancelCloseDelay),s){case"top":o.style.height=t,o.style.bottom=`calc(-1 * (${t}))`,o.style.left="50%",o.style.width=`${i}px`;break;case"left":o.style.height=`${r}px`,o.style.width=t,o.style.right=`calc(-1.5 * (${t}))`;break;case"right":o.style.height=`${r}px`,o.style.width=t,o.style.left=`calc(-0.5 * (${t}))`;break;default:o.style.height=t,o.style.top=`calc(-1 * (${t}))`,o.style.left="50%",o.style.width=`${i}px`}}}handleAppendTo(e){if(this.popover.appendTo)if(e){this.originalParent=this.popover.parentNode,this.originalNextSibling=this.popover.nextSibling;const e=(0,r.XI)(this.popover.appendTo,document);if(e&&(this.popover.removeEventListeners(),e.appendChild(this.popover),this.popover.setupTriggerListener(),this.popover.trigger.includes("mouseenter"))){const e=this.popover.renderRoot.querySelector(".popover-hover-bridge");e&&e.addEventListener("mouseenter",this.popover.cancelCloseDelay)}}else this.originalParent&&(this.popover.removeEventListeners(),this.originalNextSibling?this.originalParent.insertBefore(this.popover,this.originalNextSibling):this.originalParent.appendChild(this.popover),this.popover.setupTriggerListener())}setupAccessibility(){var e,o,t;"dialog"!==this.popover.role&&"alertdialog"!==this.popover.role||this.popover.toggleAttribute("aria-modal",this.popover.interactive),this.popover.interactive?(this.popover.setAttribute("aria-modal","true"),this.popover.ariaLabel||(this.popover.ariaLabel=(null===(e=this.popover.triggerElement)||void 0===e?void 0:e.ariaLabel)||(null===(o=this.popover.triggerElement)||void 0===o?void 0:o.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=(null===(t=this.popover.triggerElement)||void 0===t?void 0:t.id)||"")):this.popover.removeAttribute("aria-modal")}updateAriaHasPopupAttribute(){var e,o,t;this.popover.interactive?null===(e=this.popover.triggerElement)||void 0===e||e.setAttribute("aria-haspopup",(null===(o=this.popover.triggerElement)||void 0===o?void 0:o.getAttribute("aria-haspopup"))||"dialog"):null===(t=this.popover.triggerElement)||void 0===t||t.removeAttribute("aria-haspopup")}updateAriaExpandedAttribute(){var e,o;this.popover.disableAriaExpanded?null===(e=this.popover.triggerElement)||void 0===e||e.removeAttribute("aria-expanded"):null===(o=this.popover.triggerElement)||void 0===o||o.setAttribute("aria-expanded",`${this.popover.visible}`)}updateArrowStyle(e,o){var t;if(!this.popover.arrowElement)return;const r=o.split("-")[0],i={top:"bottom",right:"left",bottom:"top",left:"right"}[r],{x:p,y:s}=e,a=this.popover.arrowElement.getBoundingClientRect(),n=null===(t=this.popover.arrowElement.offsetParent)||void 0===t?void 0:t.getBoundingClientRect();if(!this.arrowPixelChange){const e=(null==n?void 0:n[i])?12-Math.abs(a[i]-n[i]):0;1===Math.round(e)?this.arrowPixelChange=!0:this.arrowPixelChange=!1}const l=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",r),Object.assign(this.popover.arrowElement.style,{left:null!=p?`${p}px`:"",top:null!=s?`${s}px`:"",[i]:-this.popover.arrowElement.offsetHeight/2-l+"px"})}updatePopoverStyle(e,o){Object.assign(this.popover.style,{left:`${e}px`,top:`${o}px`})}createBackdrop(){var e;if(!this.popover.backdropElement){const o=document.createElement("div");o.classList.add("popover-backdrop"),null===(e=this.popover.parentElement)||void 0===e||e.appendChild(o);const t=document.createElement("style");t.textContent=`\n .popover-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: transparent;\n z-index: ${this.popover.zIndex-1};\n }\n `,o.appendChild(t),this.popover.backdropElement=o}}}},36365:(e,o,t)=>{t.d(o,{T:()=>r});class r{static dispatchPopoverEvent(e,o){o.dispatchEvent(new CustomEvent(e,{detail:{show:o.visible},composed:!0,bubbles:!0}))}static onShowPopover(e){this.dispatchPopoverEvent("shown",e)}static onHidePopover(e){this.dispatchPopoverEvent("hidden",e)}static onCreatedPopover(e){this.dispatchPopoverEvent("created",e)}static onDestroyedPopover(e){this.dispatchPopoverEvent("destroyed",e)}}},50325:(e,o,t)=>{t.d(o,{A:()=>r});const r=t(41488).css`:host{--md-popover-arrow-border-radius:0.1875rem;--md-popover-arrow-border:0.0625rem solid var(--popover-border-color);--md-popover-elevation-3:var(--md-elevation-3);--md-popover-max-width:max-content;--md-popover-max-height:auto;--md-popover-position:absolute;display:none;position:var(--md-popover-position);top:0;left:0;box-sizing:content-box;background-color:var(--popover-bg-color);border-radius:.5rem;border:.0625rem solid var(--popover-border-color);filter:var(--md-popover-elevation-3);width:var(--md-popover-max-width)}:host([strategy=fixed]){--md-popover-position:fixed}:host([visible]){display:block}:host([color=contrast]){background-color:var(--popover-inverted-bg-color);border-color:var(--popover-inverted-border-color);color:var(--popover-inverted-text-color)}:host([color=contrast]) .popover-arrow{background-color:var(--popover-inverted-bg-color);border-color:var(--popover-inverted-border-color)}:host([color=contrast]) .popover-close{color:var(--popover-inverted-text-color)}:host::part(popover-content){position:relative;padding:.75rem;min-width:max-content;z-index:9998;max-height:var(--md-popover-max-height)}.popover-hover-bridge{position:absolute;transform:translateX(-50%);background:rgba(0,0,0,0);pointer-events:auto}.popover-arrow{position:absolute;width:1rem;height:1rem;background-color:var(--popover-bg-color);transform:rotate(45deg);pointer-events:none;border:var(--md-popover-arrow-border)}.popover-close{position:absolute;right:.75rem;top:.75rem;cursor:pointer;z-index:9999;padding-left:.5rem;width:1.25rem;height:1.25rem}.popover-arrow[data-side=top]{border-top:none;border-left:none;border-bottom-right-radius:var(--md-popover-arrow-border-radius);border-top-left-radius:100%}.popover-arrow[data-side=bottom]{border-bottom:none;border-right:none;border-top-left-radius:var(--md-popover-arrow-border-radius);border-bottom-right-radius:100%}.popover-arrow[data-side=right]{border-top:none;border-right:none;border-bottom-left-radius:var(--md-popover-arrow-border-radius);border-top-right-radius:100%}.popover-arrow[data-side=left]{border-bottom:none;border-left:none;border-top-right-radius:var(--md-popover-arrow-border-radius);border-bottom-left-radius:100%}`},68419:(e,o,t)=>{t.d(o,{ME:()=>r,o$:()=>p,tr:()=>i,zY:()=>s});const r={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},i={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},p={TONAL:"tonal",CONTRAST:"contrast"},s={PLACEMENT:r.BOTTOM,STRATEGY:"absolute",TRIGGER:i.CLICK,COLOR:p.TONAL,OFFSET:4,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_WINDOW_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1}}}]);
|
package/dist/8028.js
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
></md-icon>
|
|
14
14
|
</span>
|
|
15
15
|
`}get avatarImage(){return r.html`
|
|
16
|
-
${(0,d.until)(this.loadImage().then(
|
|
17
|
-
`}loadImage(){return e=this,t=void 0,a=function*(){return new Promise((
|
|
16
|
+
${(0,d.until)(this.loadImage().then(e=>(this.handleImageLoad(),r.html` ${e} `)).catch(()=>this.handleImageError()),r.html` ${this.iconName?this.avatarIcon:this.title?r.html` ${this.avatarLetter} `:c.nothing} `)}
|
|
17
|
+
`}loadImage(){return e=this,t=void 0,a=function*(){return new Promise((e,t)=>{const i=document.createElement("img");i.src=this.src,i.alt=this.alt,i.onload=()=>e(i),i.onerror=e=>t(e),i.classList.add("md-avatar__img"),i.classList.toggle("md-avatar__img--hidden",!this.imageLoaded)})},new((i=void 0)||(i=Promise))(function(n,o){function s(e){try{c(a.next(e))}catch(e){o(e)}}function r(e){try{c(a.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i(function(e){e(t)})).then(s,r)}c((a=a.apply(e,t||[])).next())});var e,t,i,a}handleImageLoad(){this.imageLoaded=!0}handleImageError(){this.imageErrored=!0}handleKeyDown(e){if(!this.clickable)return;const{code:t}=e;(0,o.o)(t)&&this.dispatchEvent(new CustomEvent("button-keydown",{composed:!0,bubbles:!0,detail:{srcEvent:e}}))}handleClick(e){var t;this.clickable&&(null===(t=this.clickFunction)||void 0===t||t.call(this),this.dispatchEvent(new CustomEvent("button-click",{composed:!0,bubbles:!0,detail:{srcEvent:e}})))}getBrandOrDesignIconSet(e){return new Set(["webex-app-icon-color-container","social-fbmessenger-color","social-facebook-color","apple-business-chat-color","social-line-color","social-viber-color","social-x","social-whatsapp-color","social-wechat-color"]).has(e)?"momentumBrandVisuals":"momentumDesign"}get avatarContent(){return this.src&&!this.imageErrored?this.avatarImage:this.iconName?this.avatarIcon:this.title?this.avatarLetter:c.nothing}renderPresence(){return this.newMomentum&&(this.presenceType||this.type)&&"self"!==this.type&&this.presenceIcon?r.html`
|
|
18
18
|
<md-presence
|
|
19
19
|
class="avatar-presence"
|
|
20
20
|
name="${this.presenceIcon}"
|
package/dist/8210.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[591,2972,8210],{32972:(e,t,s)=>{s.d(t,{y:()=>u});var o=s(41488),n=s(18889);const u=e=>{if((0,n.V)(u,e))return e;class t extends e{constructor(){super(...arguments),this.autofocus=!1}setFocus(e){this.toggleAttribute("focus-visible",e)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.setFocus(!0),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.setFocus(!1),this.dispatchEvent(new CustomEvent("focus-not-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}manageAutoFocus(e=this){e.focus()}firstUpdated(e){super.firstUpdated(e),this.addEventListener("focus",this.handleFocusIn),this.addEventListener("blur",this.handleFocusOut),this.autofocus&&requestAnimationFrame((
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[591,2972,8210],{32972:(e,t,s)=>{s.d(t,{y:()=>u});var o=s(41488),n=s(18889);const u=e=>{if((0,n.V)(u,e))return e;class t extends e{constructor(){super(...arguments),this.autofocus=!1}setFocus(e){this.toggleAttribute("focus-visible",e)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.setFocus(!0),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.setFocus(!1),this.dispatchEvent(new CustomEvent("focus-not-visible",{composed:!0,bubbles:!0,detail:{sourceEvent:e}}))}manageAutoFocus(e=this){e.focus()}firstUpdated(e){super.firstUpdated(e),this.addEventListener("focus",this.handleFocusIn),this.addEventListener("blur",this.handleFocusOut),this.autofocus&&requestAnimationFrame(()=>{this.manageAutoFocus()})}getActiveElement(){return this.getRootNode().activeElement}getDeepActiveElement(){var e;let t=document.activeElement||document.body;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t}isElementFocused(e){return this.getDeepActiveElement()!==e}disconnectedCallback(){this.removeEventListener("focus",this.handleFocusIn),this.removeEventListener("blur",this.handleFocusOut)}}return function(e,t,s,o){var n,u=arguments.length,c=u<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,s,o);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(u<3?n(c):u>3?n(t,s,c):n(t,s))||c);u>3&&c&&Object.defineProperty(t,s,c)}([(0,o.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),(0,n.B)(u,t),t}}}]);
|
package/dist/8868.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[8868],{32908:(s,j,e)=>{var a={"./1c":[32402,2402],"./1c.js":[32402,2402],"./abnf":[52701,2701],"./abnf.js":[52701,2701],"./accesslog":[35076,5076],"./accesslog.js":[35076,5076],"./actionscript":[49115,9115],"./actionscript.js":[49115,9115],"./ada":[99428,9428],"./ada.js":[99428,9428],"./angelscript":[57246,7246],"./angelscript.js":[57246,7246],"./apache":[29980,9980],"./apache.js":[29980,9980],"./applescript":[42731,2731],"./applescript.js":[42731,2731],"./arcade":[18206,8206],"./arcade.js":[18206,8206],"./arduino":[27220,7220],"./arduino.js":[27220,7220],"./armasm":[79139,9139],"./armasm.js":[79139,9139],"./asciidoc":[49405,9405],"./asciidoc.js":[49405,9405],"./aspectj":[36478,6478],"./aspectj.js":[36478,6478],"./autohotkey":[62923,2923],"./autohotkey.js":[62923,2923],"./autoit":[77556,7556],"./autoit.js":[77556,7556],"./avrasm":[13732,3732],"./avrasm.js":[13732,3732],"./awk":[19277,9277],"./awk.js":[19277,9277],"./axapta":[77909,7909],"./axapta.js":[77909,7909],"./bash":[35344,5344],"./bash.js":[35344,5344],"./basic":[6722,6722],"./basic.js":[6722,6722],"./bnf":[75610,5610],"./bnf.js":[75610,5610],"./brainfuck":[25439,5439],"./brainfuck.js":[25439,5439],"./c":[39497,9497],"./c-like":[97053,7053],"./c-like.js":[97053,7053],"./c.js":[39497,9497],"./cal":[67040,7040],"./cal.js":[67040,7040],"./capnproto":[60436,436],"./capnproto.js":[60436,436],"./ceylon":[3838,3838],"./ceylon.js":[3838,3838],"./clean":[78333,8333],"./clean.js":[78333,8333],"./clojure":[80364,364],"./clojure-repl":[5892,5892],"./clojure-repl.js":[5892,5892],"./clojure.js":[80364,364],"./cmake":[56427,6427],"./cmake.js":[56427,6427],"./coffeescript":[64125,4125],"./coffeescript.js":[64125,4125],"./coq":[39081,9081],"./coq.js":[39081,9081],"./cos":[30279,279],"./cos.js":[30279,279],"./cpp":[29721,9721],"./cpp.js":[29721,9721],"./crmsh":[67015,7015],"./crmsh.js":[67015,7015],"./crystal":[33270,3270],"./crystal.js":[33270,3270],"./csharp":[88425,8425],"./csharp.js":[88425,8425],"./csp":[82086,2086],"./csp.js":[82086,2086],"./css":[53315,3315],"./css.js":[53315,3315],"./d":[91036,1036],"./d.js":[91036,1036],"./dart":[81192,8811],"./dart.js":[81192,8811],"./delphi":[61870,1870],"./delphi.js":[61870,1870],"./diff":[6033,6033],"./diff.js":[6033,6033],"./django":[35133,5133],"./django.js":[35133,5133],"./dns":[49927,9927],"./dns.js":[49927,9927],"./dockerfile":[26756,6756],"./dockerfile.js":[26756,6756],"./dos":[55754,5754],"./dos.js":[55754,5754],"./dsconfig":[91533,1533],"./dsconfig.js":[91533,1533],"./dts":[39129,9129],"./dts.js":[39129,9129],"./dust":[14058,4058],"./dust.js":[14058,4058],"./ebnf":[44177,4177],"./ebnf.js":[44177,4177],"./elixir":[81297,1297],"./elixir.js":[81297,1297],"./elm":[42292,2292],"./elm.js":[42292,2292],"./erb":[84663,4663],"./erb.js":[84663,4663],"./erlang":[945,945],"./erlang-repl":[81983,1983],"./erlang-repl.js":[81983,1983],"./erlang.js":[945,945],"./excel":[58451,8451],"./excel.js":[58451,8451],"./fix":[7003,7003],"./fix.js":[7003,7003],"./flix":[24701,4701],"./flix.js":[24701,4701],"./fortran":[30258,258],"./fortran.js":[30258,258],"./fsharp":[94108,4108],"./fsharp.js":[94108,4108],"./gams":[48126,8126],"./gams.js":[48126,8126],"./gauss":[25117,5117],"./gauss.js":[25117,5117],"./gcode":[19156,9156],"./gcode.js":[19156,9156],"./gherkin":[13666,3666],"./gherkin.js":[13666,3666],"./glsl":[19614,9614],"./glsl.js":[19614,9614],"./gml":[2904,2904],"./gml.js":[2904,2904],"./go":[22183,4564],"./go.js":[22183,4564],"./golo":[14205,4205],"./golo.js":[14205,4205],"./gradle":[29789,9789],"./gradle.js":[29789,9789],"./groovy":[72896,2896],"./groovy.js":[72896,2896],"./haml":[57292,7292],"./haml.js":[57292,7292],"./handlebars":[18514,8514],"./handlebars.js":[18514,8514],"./haskell":[34904,4904],"./haskell.js":[34904,4904],"./haxe":[58670,8670],"./haxe.js":[58670,8670],"./hsp":[51679,1679],"./hsp.js":[51679,1679],"./htmlbars":[22329,2329],"./htmlbars.js":[22329,2329],"./http":[73402,3402],"./http.js":[73402,3402],"./hy":[45617,5617],"./hy.js":[45617,5617],"./inform7":[12962,2962],"./inform7.js":[12962,2962],"./ini":[40634,634],"./ini.js":[40634,634],"./irpf90":[76414,6414],"./irpf90.js":[76414,6414],"./isbl":[1012,1012],"./isbl.js":[1012,1012],"./java":[59405,1786],"./java.js":[59405,1786],"./javascript":[95089,5089],"./javascript.js":[95089,5089],"./jboss-cli":[39040,9040],"./jboss-cli.js":[39040,9040],"./json":[65772,5772],"./json.js":[65772,5772],"./julia":[27601,7601],"./julia-repl":[3231,3231],"./julia-repl.js":[3231,3231],"./julia.js":[27601,7601],"./kotlin":[99559,9559],"./kotlin.js":[99559,9559],"./lasso":[31942,1942],"./lasso.js":[31942,1942],"./latex":[8100,8100],"./latex.js":[8100,8100],"./ldif":[86685,6685],"./ldif.js":[86685,6685],"./leaf":[98186,8186],"./leaf.js":[98186,8186],"./less":[52539,2539],"./less.js":[52539,2539],"./lisp":[51077,3458],"./lisp.js":[51077,3458],"./livecodeserver":[75814,5814],"./livecodeserver.js":[75814,5814],"./livescript":[3035,3035],"./livescript.js":[3035,3035],"./llvm":[33543,3543],"./llvm.js":[33543,3543],"./lsl":[3399,3399],"./lsl.js":[3399,3399],"./lua":[32670,2670],"./lua.js":[32670,2670],"./makefile":[59934,9934],"./makefile.js":[59934,9934],"./markdown":[96503,6503],"./markdown.js":[96503,6503],"./mathematica":[55672,5672],"./mathematica.js":[55672,5672],"./matlab":[56023,6023],"./matlab.js":[56023,6023],"./maxima":[29433,9433],"./maxima.js":[29433,9433],"./mel":[68254,8254],"./mel.js":[68254,8254],"./mercury":[48557,8557],"./mercury.js":[48557,8557],"./mipsasm":[24714,4714],"./mipsasm.js":[24714,4714],"./mizar":[69407,9407],"./mizar.js":[69407,9407],"./mojolicious":[90593,593],"./mojolicious.js":[90593,593],"./monkey":[29387,9387],"./monkey.js":[29387,9387],"./moonscript":[75468,5468],"./moonscript.js":[75468,5468],"./n1ql":[52962,581],"./n1ql.js":[52962,581],"./nginx":[4896,4896],"./nginx.js":[4896,4896],"./nim":[63712,3712],"./nim.js":[63712,3712],"./nix":[34659,4659],"./nix.js":[34659,4659],"./node-repl":[26122,6122],"./node-repl.js":[26122,6122],"./nsis":[64561,4561],"./nsis.js":[64561,4561],"./objectivec":[96494,4113],"./objectivec.js":[96494,4113],"./ocaml":[60108,108],"./ocaml.js":[60108,108],"./openscad":[89689,9689],"./openscad.js":[89689,9689],"./oxygene":[78327,8327],"./oxygene.js":[78327,8327],"./parser3":[52052,2052],"./parser3.js":[52052,2052],"./perl":[36891,6891],"./perl.js":[36891,6891],"./pf":[9412,9412],"./pf.js":[9412,9412],"./pgsql":[80431,431],"./pgsql.js":[80431,431],"./php":[34608,4608],"./php-template":[85579,5579],"./php-template.js":[85579,5579],"./php.js":[34608,4608],"./plaintext":[7939,7939],"./plaintext.js":[7939,7939],"./pony":[39350,9350],"./pony.js":[39350,9350],"./powershell":[26571,6571],"./powershell.js":[26571,6571],"./processing":[50181,181],"./processing.js":[50181,181],"./profile":[46269,6269],"./profile.js":[46269,6269],"./prolog":[3105,3105],"./prolog.js":[3105,3105],"./properties":[79975,9975],"./properties.js":[79975,9975],"./protobuf":[25093,5093],"./protobuf.js":[25093,5093],"./puppet":[69104,9104],"./puppet.js":[69104,9104],"./purebasic":[94412,4412],"./purebasic.js":[94412,4412],"./python":[87192,7192],"./python-repl":[90736,736],"./python-repl.js":[90736,736],"./python.js":[87192,7192],"./q":[23255,3255],"./q.js":[23255,3255],"./qml":[55506,5506],"./qml.js":[55506,5506],"./r":[22698,2698],"./r.js":[22698,2698],"./reasonml":[15331,5331],"./reasonml.js":[15331,5331],"./rib":[24745,4745],"./rib.js":[24745,4745],"./roboconf":[75812,5812],"./roboconf.js":[75812,5812],"./routeros":[53557,3557],"./routeros.js":[53557,3557],"./rsl":[53409,3409],"./rsl.js":[53409,3409],"./ruby":[82978,2978],"./ruby.js":[82978,2978],"./ruleslanguage":[78385,8385],"./ruleslanguage.js":[78385,8385],"./rust":[39688,9688],"./rust.js":[39688,9688],"./sas":[7005,7005],"./sas.js":[7005,7005],"./scala":[43618,3618],"./scala.js":[43618,3618],"./scheme":[36617,6617],"./scheme.js":[36617,6617],"./scilab":[92970,2970],"./scilab.js":[92970,2970],"./scss":[3206,3206],"./scss.js":[3206,3206],"./shell":[77918,7918],"./shell.js":[77918,7918],"./smali":[91180,1180],"./smali.js":[91180,1180],"./smalltalk":[72241,2241],"./smalltalk.js":[72241,2241],"./sml":[4460,4460],"./sml.js":[4460,4460],"./sqf":[7186,7186],"./sqf.js":[7186,7186],"./sql":[76384,6384],"./sql.js":[76384,6384],"./sql_more":[30414,414],"./sql_more.js":[30414,414],"./stan":[24490,4490],"./stan.js":[24490,4490],"./stata":[81497,1497],"./stata.js":[81497,1497],"./step21":[36809,6809],"./step21.js":[36809,6809],"./stylus":[62224,2224],"./stylus.js":[62224,2224],"./subunit":[95976,5976],"./subunit.js":[95976,5976],"./swift":[94635,4635],"./swift.js":[94635,4635],"./taggerscript":[98199,8199],"./taggerscript.js":[98199,8199],"./tap":[58713,8713],"./tap.js":[58713,8713],"./tcl":[41519,1519],"./tcl.js":[41519,1519],"./thrift":[45449,5449],"./thrift.js":[45449,5449],"./tp":[88454,8454],"./tp.js":[88454,8454],"./twig":[23195,3195],"./twig.js":[23195,3195],"./typescript":[62825,2825],"./typescript.js":[62825,2825],"./vala":[55320,5320],"./vala.js":[55320,5320],"./vbnet":[50959,959],"./vbnet.js":[50959,959],"./vbscript":[27274,4893],"./vbscript-html":[88103,8103],"./vbscript-html.js":[88103,8103],"./vbscript.js":[27274,4893],"./verilog":[57522,7522],"./verilog.js":[57522,7522],"./vhdl":[37492,7492],"./vhdl.js":[37492,7492],"./vim":[1192,1192],"./vim.js":[1192,1192],"./x86asm":[53447,3447],"./x86asm.js":[53447,3447],"./xl":[15790,5790],"./xl.js":[15790,5790],"./xml":[17285,7285],"./xml.js":[17285,7285],"./xquery":[78130,8130],"./xquery.js":[78130,8130],"./yaml":[17533,7533],"./yaml.js":[17533,7533],"./zephir":[57204,7204],"./zephir.js":[57204,7204]};function l(s){if(!e.o(a,s))return Promise.resolve().then((()=>{var j=new Error("Cannot find module '"+s+"'");throw j.code="MODULE_NOT_FOUND",j}));var j=a[s],l=j[0];return e.e(j[1]).then((()=>e.t(l,23)))}l.keys=()=>Object.keys(a),l.id=32908,s.exports=l},45213:(s,j,e)=>{"use strict";e.d(j,{A:()=>a});const a=e(41488).css`:host(md-input-file) md-button{margin:.25rem}:host(md-input-file) input[type=file]{display:none}`}}]);
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[8868],{32908:(s,j,e)=>{var a={"./1c":[32402,2402],"./1c.js":[32402,2402],"./abnf":[52701,2701],"./abnf.js":[52701,2701],"./accesslog":[35076,5076],"./accesslog.js":[35076,5076],"./actionscript":[49115,9115],"./actionscript.js":[49115,9115],"./ada":[99428,9428],"./ada.js":[99428,9428],"./angelscript":[57246,7246],"./angelscript.js":[57246,7246],"./apache":[29980,9980],"./apache.js":[29980,9980],"./applescript":[42731,2731],"./applescript.js":[42731,2731],"./arcade":[18206,8206],"./arcade.js":[18206,8206],"./arduino":[27220,7220],"./arduino.js":[27220,7220],"./armasm":[79139,9139],"./armasm.js":[79139,9139],"./asciidoc":[49405,9405],"./asciidoc.js":[49405,9405],"./aspectj":[36478,6478],"./aspectj.js":[36478,6478],"./autohotkey":[62923,2923],"./autohotkey.js":[62923,2923],"./autoit":[77556,7556],"./autoit.js":[77556,7556],"./avrasm":[13732,3732],"./avrasm.js":[13732,3732],"./awk":[19277,9277],"./awk.js":[19277,9277],"./axapta":[77909,7909],"./axapta.js":[77909,7909],"./bash":[35344,5344],"./bash.js":[35344,5344],"./basic":[6722,6722],"./basic.js":[6722,6722],"./bnf":[75610,5610],"./bnf.js":[75610,5610],"./brainfuck":[25439,5439],"./brainfuck.js":[25439,5439],"./c":[39497,9497],"./c-like":[97053,7053],"./c-like.js":[97053,7053],"./c.js":[39497,9497],"./cal":[67040,7040],"./cal.js":[67040,7040],"./capnproto":[60436,436],"./capnproto.js":[60436,436],"./ceylon":[3838,3838],"./ceylon.js":[3838,3838],"./clean":[78333,8333],"./clean.js":[78333,8333],"./clojure":[80364,364],"./clojure-repl":[5892,5892],"./clojure-repl.js":[5892,5892],"./clojure.js":[80364,364],"./cmake":[56427,6427],"./cmake.js":[56427,6427],"./coffeescript":[64125,4125],"./coffeescript.js":[64125,4125],"./coq":[39081,9081],"./coq.js":[39081,9081],"./cos":[30279,279],"./cos.js":[30279,279],"./cpp":[29721,9721],"./cpp.js":[29721,9721],"./crmsh":[67015,7015],"./crmsh.js":[67015,7015],"./crystal":[33270,3270],"./crystal.js":[33270,3270],"./csharp":[88425,8425],"./csharp.js":[88425,8425],"./csp":[82086,2086],"./csp.js":[82086,2086],"./css":[53315,3315],"./css.js":[53315,3315],"./d":[91036,1036],"./d.js":[91036,1036],"./dart":[81192,8811],"./dart.js":[81192,8811],"./delphi":[61870,1870],"./delphi.js":[61870,1870],"./diff":[6033,6033],"./diff.js":[6033,6033],"./django":[35133,5133],"./django.js":[35133,5133],"./dns":[49927,9927],"./dns.js":[49927,9927],"./dockerfile":[26756,6756],"./dockerfile.js":[26756,6756],"./dos":[55754,5754],"./dos.js":[55754,5754],"./dsconfig":[91533,1533],"./dsconfig.js":[91533,1533],"./dts":[39129,9129],"./dts.js":[39129,9129],"./dust":[14058,4058],"./dust.js":[14058,4058],"./ebnf":[44177,4177],"./ebnf.js":[44177,4177],"./elixir":[81297,1297],"./elixir.js":[81297,1297],"./elm":[42292,2292],"./elm.js":[42292,2292],"./erb":[84663,4663],"./erb.js":[84663,4663],"./erlang":[945,945],"./erlang-repl":[81983,1983],"./erlang-repl.js":[81983,1983],"./erlang.js":[945,945],"./excel":[58451,8451],"./excel.js":[58451,8451],"./fix":[7003,7003],"./fix.js":[7003,7003],"./flix":[24701,4701],"./flix.js":[24701,4701],"./fortran":[30258,258],"./fortran.js":[30258,258],"./fsharp":[94108,4108],"./fsharp.js":[94108,4108],"./gams":[48126,8126],"./gams.js":[48126,8126],"./gauss":[25117,5117],"./gauss.js":[25117,5117],"./gcode":[19156,9156],"./gcode.js":[19156,9156],"./gherkin":[13666,3666],"./gherkin.js":[13666,3666],"./glsl":[19614,9614],"./glsl.js":[19614,9614],"./gml":[2904,2904],"./gml.js":[2904,2904],"./go":[22183,4564],"./go.js":[22183,4564],"./golo":[14205,4205],"./golo.js":[14205,4205],"./gradle":[29789,9789],"./gradle.js":[29789,9789],"./groovy":[72896,2896],"./groovy.js":[72896,2896],"./haml":[57292,7292],"./haml.js":[57292,7292],"./handlebars":[18514,8514],"./handlebars.js":[18514,8514],"./haskell":[34904,4904],"./haskell.js":[34904,4904],"./haxe":[58670,8670],"./haxe.js":[58670,8670],"./hsp":[51679,1679],"./hsp.js":[51679,1679],"./htmlbars":[22329,2329],"./htmlbars.js":[22329,2329],"./http":[73402,3402],"./http.js":[73402,3402],"./hy":[45617,5617],"./hy.js":[45617,5617],"./inform7":[12962,2962],"./inform7.js":[12962,2962],"./ini":[40634,634],"./ini.js":[40634,634],"./irpf90":[76414,6414],"./irpf90.js":[76414,6414],"./isbl":[1012,1012],"./isbl.js":[1012,1012],"./java":[59405,1786],"./java.js":[59405,1786],"./javascript":[95089,5089],"./javascript.js":[95089,5089],"./jboss-cli":[39040,9040],"./jboss-cli.js":[39040,9040],"./json":[65772,5772],"./json.js":[65772,5772],"./julia":[27601,7601],"./julia-repl":[3231,3231],"./julia-repl.js":[3231,3231],"./julia.js":[27601,7601],"./kotlin":[99559,9559],"./kotlin.js":[99559,9559],"./lasso":[31942,1942],"./lasso.js":[31942,1942],"./latex":[8100,8100],"./latex.js":[8100,8100],"./ldif":[86685,6685],"./ldif.js":[86685,6685],"./leaf":[98186,8186],"./leaf.js":[98186,8186],"./less":[52539,2539],"./less.js":[52539,2539],"./lisp":[51077,3458],"./lisp.js":[51077,3458],"./livecodeserver":[75814,5814],"./livecodeserver.js":[75814,5814],"./livescript":[3035,3035],"./livescript.js":[3035,3035],"./llvm":[33543,3543],"./llvm.js":[33543,3543],"./lsl":[3399,3399],"./lsl.js":[3399,3399],"./lua":[32670,2670],"./lua.js":[32670,2670],"./makefile":[59934,9934],"./makefile.js":[59934,9934],"./markdown":[96503,6503],"./markdown.js":[96503,6503],"./mathematica":[55672,5672],"./mathematica.js":[55672,5672],"./matlab":[56023,6023],"./matlab.js":[56023,6023],"./maxima":[29433,9433],"./maxima.js":[29433,9433],"./mel":[68254,8254],"./mel.js":[68254,8254],"./mercury":[48557,8557],"./mercury.js":[48557,8557],"./mipsasm":[24714,4714],"./mipsasm.js":[24714,4714],"./mizar":[69407,9407],"./mizar.js":[69407,9407],"./mojolicious":[90593,593],"./mojolicious.js":[90593,593],"./monkey":[29387,9387],"./monkey.js":[29387,9387],"./moonscript":[75468,5468],"./moonscript.js":[75468,5468],"./n1ql":[52962,581],"./n1ql.js":[52962,581],"./nginx":[4896,4896],"./nginx.js":[4896,4896],"./nim":[63712,3712],"./nim.js":[63712,3712],"./nix":[34659,4659],"./nix.js":[34659,4659],"./node-repl":[26122,6122],"./node-repl.js":[26122,6122],"./nsis":[64561,4561],"./nsis.js":[64561,4561],"./objectivec":[96494,4113],"./objectivec.js":[96494,4113],"./ocaml":[60108,108],"./ocaml.js":[60108,108],"./openscad":[89689,9689],"./openscad.js":[89689,9689],"./oxygene":[78327,8327],"./oxygene.js":[78327,8327],"./parser3":[52052,2052],"./parser3.js":[52052,2052],"./perl":[36891,6891],"./perl.js":[36891,6891],"./pf":[9412,9412],"./pf.js":[9412,9412],"./pgsql":[80431,431],"./pgsql.js":[80431,431],"./php":[34608,4608],"./php-template":[85579,5579],"./php-template.js":[85579,5579],"./php.js":[34608,4608],"./plaintext":[7939,7939],"./plaintext.js":[7939,7939],"./pony":[39350,9350],"./pony.js":[39350,9350],"./powershell":[26571,6571],"./powershell.js":[26571,6571],"./processing":[50181,181],"./processing.js":[50181,181],"./profile":[46269,6269],"./profile.js":[46269,6269],"./prolog":[3105,3105],"./prolog.js":[3105,3105],"./properties":[79975,9975],"./properties.js":[79975,9975],"./protobuf":[25093,5093],"./protobuf.js":[25093,5093],"./puppet":[69104,9104],"./puppet.js":[69104,9104],"./purebasic":[94412,4412],"./purebasic.js":[94412,4412],"./python":[87192,7192],"./python-repl":[90736,736],"./python-repl.js":[90736,736],"./python.js":[87192,7192],"./q":[23255,3255],"./q.js":[23255,3255],"./qml":[55506,5506],"./qml.js":[55506,5506],"./r":[22698,2698],"./r.js":[22698,2698],"./reasonml":[15331,5331],"./reasonml.js":[15331,5331],"./rib":[24745,4745],"./rib.js":[24745,4745],"./roboconf":[75812,5812],"./roboconf.js":[75812,5812],"./routeros":[53557,3557],"./routeros.js":[53557,3557],"./rsl":[53409,3409],"./rsl.js":[53409,3409],"./ruby":[82978,2978],"./ruby.js":[82978,2978],"./ruleslanguage":[78385,8385],"./ruleslanguage.js":[78385,8385],"./rust":[39688,9688],"./rust.js":[39688,9688],"./sas":[7005,7005],"./sas.js":[7005,7005],"./scala":[43618,3618],"./scala.js":[43618,3618],"./scheme":[36617,6617],"./scheme.js":[36617,6617],"./scilab":[92970,2970],"./scilab.js":[92970,2970],"./scss":[3206,3206],"./scss.js":[3206,3206],"./shell":[77918,7918],"./shell.js":[77918,7918],"./smali":[91180,1180],"./smali.js":[91180,1180],"./smalltalk":[72241,2241],"./smalltalk.js":[72241,2241],"./sml":[4460,4460],"./sml.js":[4460,4460],"./sqf":[7186,7186],"./sqf.js":[7186,7186],"./sql":[76384,6384],"./sql.js":[76384,6384],"./sql_more":[30414,414],"./sql_more.js":[30414,414],"./stan":[24490,4490],"./stan.js":[24490,4490],"./stata":[81497,1497],"./stata.js":[81497,1497],"./step21":[36809,6809],"./step21.js":[36809,6809],"./stylus":[62224,2224],"./stylus.js":[62224,2224],"./subunit":[95976,5976],"./subunit.js":[95976,5976],"./swift":[94635,4635],"./swift.js":[94635,4635],"./taggerscript":[98199,8199],"./taggerscript.js":[98199,8199],"./tap":[58713,8713],"./tap.js":[58713,8713],"./tcl":[41519,1519],"./tcl.js":[41519,1519],"./thrift":[45449,5449],"./thrift.js":[45449,5449],"./tp":[88454,8454],"./tp.js":[88454,8454],"./twig":[23195,3195],"./twig.js":[23195,3195],"./typescript":[62825,2825],"./typescript.js":[62825,2825],"./vala":[55320,5320],"./vala.js":[55320,5320],"./vbnet":[50959,959],"./vbnet.js":[50959,959],"./vbscript":[27274,4893],"./vbscript-html":[88103,8103],"./vbscript-html.js":[88103,8103],"./vbscript.js":[27274,4893],"./verilog":[57522,7522],"./verilog.js":[57522,7522],"./vhdl":[37492,7492],"./vhdl.js":[37492,7492],"./vim":[1192,1192],"./vim.js":[1192,1192],"./x86asm":[53447,3447],"./x86asm.js":[53447,3447],"./xl":[15790,5790],"./xl.js":[15790,5790],"./xml":[17285,7285],"./xml.js":[17285,7285],"./xquery":[78130,8130],"./xquery.js":[78130,8130],"./yaml":[17533,7533],"./yaml.js":[17533,7533],"./zephir":[57204,7204],"./zephir.js":[57204,7204]};function l(s){if(!e.o(a,s))return Promise.resolve().then(()=>{var j=new Error("Cannot find module '"+s+"'");throw j.code="MODULE_NOT_FOUND",j});var j=a[s],l=j[0];return e.e(j[1]).then(()=>e.t(l,23))}l.keys=()=>Object.keys(a),l.id=32908,s.exports=l},45213:(s,j,e)=>{"use strict";e.d(j,{A:()=>a});const a=e(41488).css`:host(md-input-file) md-button{margin:.25rem}:host(md-input-file) input[type=file]{display:none}`}}]);
|
package/dist/8889.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1270,8889],{18889:(e,t,s)=>{s.d(t,{B:()=>c,V:()=>o});const n=new WeakMap,o=(e,t)=>{const s=n.get(e);let o=t;const c=[];for(;o;)c.push(o),o=Object.getPrototypeOf(o);return!!s&&c.reduce((
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1270,8889],{18889:(e,t,s)=>{s.d(t,{B:()=>c,V:()=>o});const n=new WeakMap,o=(e,t)=>{const s=n.get(e);let o=t;const c=[];for(;o;)c.push(o),o=Object.getPrototypeOf(o);return!!s&&c.reduce((e,t)=>e||s.has(t),!1)},c=(e,t)=>{let s=n.get(e);s||(s=new WeakSet,n.set(e,s)),s.add(t)}}}]);
|
package/dist/984.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[984],{10984:(t,e,r)=>{r(16754);var o,i=r(31890),s=r(81625),a=r(26272),n=r(41488),p=r(14974),c=function(t,e,r,o){var i,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(a=(s<3?i(a):s>3?i(e,r,a):i(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.startOfWeekDay=(0,s.tB)(),this.viewAnchorMonth=(0,s.tB)().month,this.filterParams=void 0,this.datePickerProps=void 0,this.renderDays=()=>[0,1,2,3,4,5,6].map(
|
|
1
|
+
"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[984],{10984:(t,e,r)=>{r(16754);var o,i=r(31890),s=r(81625),a=r(26272),n=r(41488),p=r(14974),c=function(t,e,r,o){var i,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(a=(s<3?i(a):s>3?i(e,r,a):i(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a};!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this.startOfWeekDay=(0,s.tB)(),this.viewAnchorMonth=(0,s.tB)().month,this.filterParams=void 0,this.datePickerProps=void 0,this.renderDays=()=>[0,1,2,3,4,5,6].map(t=>{const e=(0,s.fi)(this.startOfWeekDay,t);return n.html`
|
|
2
2
|
<md-datepicker-day
|
|
3
3
|
.viewAnchorMonth=${this.viewAnchorMonth}
|
|
4
4
|
.day=${e}
|
|
5
5
|
.filterParams=${this.filterParams}
|
|
6
6
|
.datePickerProps=${this.datePickerProps}
|
|
7
7
|
></md-datepicker-day>
|
|
8
|
-
`})
|
|
8
|
+
`})}static get styles(){return[a.A,p.A]}render(){return n.html` <div class="md-datepicker__week">${this.renderDays()}</div> `}};c([(0,n.property)({attribute:!1})],e.prototype,"startOfWeekDay",void 0),c([(0,n.property)({attribute:!1})],e.prototype,"viewAnchorMonth",void 0),c([(0,n.property)({attribute:!1})],e.prototype,"filterParams",void 0),c([(0,n.property)({attribute:!1})],e.prototype,"datePickerProps",void 0),e=c([(0,i.w)("md-datepicker-week")],e),t.ELEMENT=e}(o||(o={}))}}]);
|
package/dist/chunks/md-1519.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1519],{41519:e=>{function t(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1519],{41519:e=>{function t(...e){return e.map(e=>{return(t=e)?"string"==typeof t?t:t.source:null;var t}).join("")}e.exports=function(e){const a=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t(/\$/,(n=/::/,t("(",n,")?")),a,"(::",a,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]};var n}}}]);
|
package/dist/chunks/md-1983.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1983],{81983:e=>{function n(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[1983],{81983:e=>{function n(...e){return e.map(e=>{return(n=e)?"string"==typeof n?n:n.source:null;var n}).join("")}e.exports=function(e){return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:n(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}}}]);
|
package/dist/chunks/md-2329.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2329],{22329:e=>{function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2329],{22329:e=>{function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}e.exports=function(e){const t=function(e){const t={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},s=/\[\]|\[[^\]]+\]/,i=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,l=function(...e){return"("+e.map(e=>n(e)).join("|")+")"}(/""|"[^"]+"/,/''|'[^']+'/,s,i),r=a(a("(",/\.|\.\/|\//,")?"),l,(o=a(/(\.|\/)/,l),a("(",o,")*")));var o;const c=a("(",s,"|",i,")(?==)"),m={begin:r,lexemes:/[\w.\/]+/},d=e.inherit(m,{keywords:{literal:["true","false","undefined","null"]}}),u={begin:/\(/,end:/\)/},b={className:"attr",begin:c,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,d,u]}}},g={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},b,d,u],returnEnd:!0},p=e.inherit(m,{className:"name",keywords:t,starts:e.inherit(g,{end:/\)/})});u.contains=[p];const h=e.inherit(m,{keywords:t,className:"name",starts:e.inherit(g,{end:/\}\}/})}),N=e.inherit(m,{keywords:t,className:"name"}),w=e.inherit(m,{className:"name",keywords:t,starts:e.inherit(g,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[h],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[N]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[h]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[N]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[w]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[w]}]}}(e);return t.name="HTMLbars",e.getLanguage("handlebars")&&(t.disableAutodetect=!0),t}}}]);
|
package/dist/chunks/md-258.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[258],{30258:e=>{function n(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[258],{30258:e=>{function n(...e){return e.map(e=>{return(n=e)?"string"==typeof n?n:n.source:null;var n}).join("")}e.exports=function(e){const t={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},a=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:n(/\b\d+/,/\.(\d*)/,i,a)},{begin:n(/\b\d+/,i,a)},{begin:n(/\.\d+/,i,a)}],relevance:0},c={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{literal:".False. .True.",keyword:"kind do concurrent local shared while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock endassociate public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure impure integer real character complex logical codimension dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image sync change team co_broadcast co_max co_min co_sum co_reduce"},illegal:/\/\*/,contains:[{className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c,{begin:/^C\s*=(?!=)/,relevance:0},t,o]}}}}]);
|
package/dist/chunks/md-2698.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2698],{22698:e=>{function n(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2698],{22698:e=>{function n(...e){return e.map(e=>{return(n=e)?"string"==typeof n?n:n.source:null;var n}).join("")}e.exports=function(e){const a=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/;return{name:"R",illegal:/->/,keywords:{$pattern:a,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},compilerExtensions:[(e,a)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const s=Object.assign({},e);Object.keys(e).forEach(n=>{delete e[n]}),e.begin=n(s.beforeMatch,n("(?=",s.begin,")")),e.starts={relevance:0,contains:[Object.assign(s,{endsParent:!0})]},e.relevance=0,delete s.beforeMatch}],contains:[e.COMMENT(/#'/,/$/,{contains:[{className:"doctag",begin:"@examples",starts:{contains:[{begin:/\n/},{begin:/#'\s*(?=@[a-zA-Z]+)/,endsParent:!0},{begin:/#'/,end:/$/,excludeBegin:!0}]}},{className:"doctag",begin:"@param",end:/$/,contains:[{className:"variable",variants:[{begin:a},{begin:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{className:"doctag",begin:/@[a-zA-Z]+/},{className:"meta-keyword",begin:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{className:"number",relevance:0,beforeMatch:/([^a-zA-Z0-9._])/,variants:[{match:/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/},{match:/0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/},{match:/(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/}]},{begin:"%",end:"%"},{begin:n(/[a-zA-Z][a-zA-Z_0-9]*/,"\\s+<-\\s+")},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}}}]);
|
package/dist/chunks/md-2701.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2701],{52701:e=>{function n(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2701],{52701:e=>{function n(...e){return e.map(e=>{return(n=e)?"string"==typeof n?n:n.source:null;var n}).join("")}e.exports=function(e){const s={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},a=e.COMMENT(/;/,/$/),o={className:"attribute",begin:n(s.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:s.unexpectedChars,keywords:["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],contains:[o,a,{className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},{className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},{className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},{className:"symbol",begin:/%[si]/},e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}}}]);
|
package/dist/chunks/md-2731.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2731],{42731:e=>{function t(e){return e?"string"==typeof e?e:e.source:null}function n(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2731],{42731:e=>{function t(e){return e?"string"==typeof e?e:e.source:null}function n(...e){return e.map(e=>t(e)).join("")}function o(...e){return"("+e.map(e=>t(e)).join("|")+")"}e.exports=function(e){const t=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,t]},r=e.COMMENT(/--/,/$/),a=[r,e.COMMENT(/\(\*/,/\*\)/,{contains:["self",r]}),e.HASH_COMMENT_MODE];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[t,e.C_NUMBER_MODE,{className:"built_in",begin:n(/\b/,o(/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:n(/\b/,o(/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},...a],illegal:/\/\/|->|=>|\[\[/}}}}]);
|
package/dist/chunks/md-2825.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2825],{62825:e=>{const n="[A-Za-z$_][0-9A-Za-z$_]*",a=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],s=["true","false","null","undefined","NaN","Infinity"],t=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function i(e){return r("(?=",e,")")}function r(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2825],{62825:e=>{const n="[A-Za-z$_][0-9A-Za-z$_]*",a=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],s=["true","false","null","undefined","NaN","Infinity"],t=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function i(e){return r("(?=",e,")")}function r(...e){return e.map(e=>{return(n=e)?"string"==typeof n?n:n.source:null;var n}).join("")}e.exports=function(e){const c=n,o={$pattern:n,keyword:a.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]),literal:s,built_in:t.concat(["any","void","number","boolean","string","object","never","enum"])},l={className:"meta",begin:"@"+c},b=(e,n,a)=>{const s=e.contains.findIndex(e=>e.label===n);if(-1===s)throw new Error("can not find mode to replace");e.contains.splice(s,1,a)},d=function(e){const c=n,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,n)=>{const a=e[0].length+e.index,s=e.input[a];"<"!==s?">"===s&&(((e,{after:n})=>{const a="</"+e[0].slice(1);return-1!==e.input.indexOf(a,n)})(e,{after:a})||n.ignoreMatch()):n.ignoreMatch()}},l={$pattern:n,keyword:a,literal:s,built_in:t},b="[0-9](_?[0-9])*",d=`\\.(${b})`,g="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={className:"number",variants:[{begin:`(\\b(${g})((${d})|\\.)?|(${d}))[eE][+-]?(${b})\\b`},{begin:`\\b(${g})\\b((${d})\\b|\\.)?|(${d})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},E={className:"subst",begin:"\\$\\{",end:"\\}",keywords:l,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,E],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,E],subLanguage:"css"}},p={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,E]},_={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:c+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},f=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,y,p,u,e.REGEXP_MODE];E.contains=f.concat({begin:/\{/,end:/\}/,keywords:l,contains:["self"].concat(f)});const N=[].concat(_,E.contains),A=N.concat([{begin:/\(/,end:/\)/,keywords:l,contains:["self"].concat(N)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:A};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:l,exports:{PARAMS_CONTAINS:A},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,y,p,_,u,{begin:r(/[{,\n]\s*/,i(r(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,c+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:c+i("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[_,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:A}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:"</>"},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:l,contains:["self",e.inherit(e.TITLE_MODE,{begin:c}),w],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[w,e.inherit(e.TITLE_MODE,{begin:c})]},{variants:[{begin:"\\."+c},{begin:"\\$"+c}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:c}),"self",w]},{begin:"(get|set)\\s+(?="+c+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:c}),{begin:/\(\)/},w]},{begin:/\$[(.]/}]}}(e);return Object.assign(d.keywords,o),d.exports.PARAMS_CONTAINS.push(l),d.contains=d.contains.concat([l,{beginKeywords:"namespace",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"}]),b(d,"shebang",e.SHEBANG()),b(d,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),d.contains.find(e=>"function"===e.className).relevance=0,Object.assign(d,{name:"TypeScript",aliases:["ts","tsx"]}),d}}}]);
|
package/dist/chunks/md-2896.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2896],{72896:e=>{function n(e,n={}){return n.variants=e,n}e.exports=function(e){const a="[A-Za-z0-9_$]+",t=n([e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),s={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},i=n([e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]),r=n([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.SHEBANG({binary:"groovy",relevance:10}),t,r,s,i,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:a+"[ \t]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[t,r,s,i,"self"]},{className:"symbol",begin:"^[ \t]*"+(l=a+":",function(...e){return e.map(
|
|
1
|
+
(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[2896],{72896:e=>{function n(e,n={}){return n.variants=e,n}e.exports=function(e){const a="[A-Za-z0-9_$]+",t=n([e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),s={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},i=n([e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]),r=n([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.SHEBANG({binary:"groovy",relevance:10}),t,r,s,i,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:a+"[ \t]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[t,r,s,i,"self"]},{className:"symbol",begin:"^[ \t]*"+(l=a+":",function(...e){return e.map(e=>function(e){return e?"string"==typeof e?e:e.source:null}(e)).join("")}("(?=",l,")")),excludeBegin:!0,end:a+":",relevance:0}],illegal:/#|<\//};var l}}}]);
|