UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

2 lines 46.7 kB
/*! For license information please see 75929.481ae94e7ed80cfa.js.LICENSE.txt */ export const __rspack_esm_id=75929;export const __rspack_esm_ids=[75929];export const __webpack_modules__={12451(e,t,i){i.d(t,{O:()=>s,i:()=>o.is});var a=i(5124),o=i(12130);class s extends a.WF{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},12130(e,t,i){i.d(t,{SE:()=>l,U9:()=>c,hP:()=>a,is:()=>o});i(44114);const a=e=>e.nodeType===Node.ELEMENT_NODE;function o(e){return{addClass:t=>{e.classList.add(t)},removeClass:t=>{e.classList.remove(t)},hasClass:t=>e.classList.contains(t)}}let s=!1;const n=()=>{},r={get passive(){return s=!0,!1}};document.addEventListener("x",n,r),document.removeEventListener("x",n);const c=(e=window.document)=>{let t=e.activeElement;const i=[];if(!t)return i;for(;t&&(i.push(t),t.shadowRoot);)t=t.shadowRoot.activeElement;return i},l=e=>{const t=c();if(!t.length)return!1;const i=t[t.length-1],a=new Event("check-if-focused",{bubbles:!0,composed:!0});let o=[];const s=e=>{o=e.composedPath()};return document.body.addEventListener("check-if-focused",s),i.dispatchEvent(a),document.body.removeEventListener("check-if-focused",s),-1!==o.indexOf(e)}},29079(e,t,i){e.exports=i(81267)},65213(e,t,i){var a=i(44576),o=i(79039),s=a.RegExp,n=!o(function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},i="",a=e?"dgimsy":"gimsy",o=function(e,a){Object.defineProperty(t,e,{get:function(){return i+=a,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var r in e&&(n.hasIndices="d"),n)o(r,n[r]);return Object.getOwnPropertyDescriptor(s.prototype,"flags").get.call(t)!==a||i!==a});e.exports={correct:n}},67979(e,t,i){var a=i(28551);e.exports=function(){var e=a(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},69479(e,t,i){var a=i(43724),o=i(62106),s=i(65213),n=i(67979);a&&!s.correct&&(o(RegExp.prototype,"flags",{configurable:!0,get:n}),s.correct=!0)},97577(e,t,i){i.d(t,{A:()=>T});var a=i(5124),o=i(22441),s=i(6412),n=i(63672),r=i(34514),c=i(40991),l=i(92070),h=i(49546),d=i(9395),u=i(62676),p=i(15477),m=i(31896),f=(i(38625),a.AH`:host{--checked-icon-color:var(--wa-color-brand-on-loud);--checked-icon-scale:0.8;display:inline-flex;color:var(--wa-form-control-value-color);font-family:inherit;font-weight:var(--wa-form-control-value-font-weight);line-height:var(--wa-form-control-value-line-height);user-select:none;-webkit-user-select:none}[part~=control]{display:inline-flex;flex:0 0 auto;position:relative;align-items:center;justify-content:center;width:var(--wa-form-control-toggle-size);height:var(--wa-form-control-toggle-size);border-color:var(--wa-form-control-border-color);border-radius:min(calc(var(--wa-form-control-toggle-size) * .375),var(--wa-border-radius-s));border-style:var(--wa-border-style);border-width:var(--wa-form-control-border-width);background-color:var(--wa-form-control-background-color);transition:background var(--wa-transition-normal),border-color var(--wa-transition-fast),box-shadow var(--wa-transition-fast),color var(--wa-transition-fast);transition-timing-function:var(--wa-transition-easing);margin-inline-end:.5em}[part~=base]{display:flex;align-items:flex-start;position:relative;color:currentColor;vertical-align:middle;cursor:pointer}[part~=label]{display:inline}[part~=control]:has(:checked,:indeterminate){color:var(--checked-icon-color);border-color:var(--wa-form-control-activated-color);background-color:var(--wa-form-control-activated-color)}[part~=control]:has(> input:focus-visible:not(:disabled)){outline:var(--wa-focus-ring);outline-offset:var(--wa-focus-ring-offset)}:host [part~=base]:has(input:disabled){opacity:.5;cursor:not-allowed}input{position:absolute;padding:0;margin:0;height:100%;width:100%;opacity:0;pointer-events:none}[part~=icon]{display:flex;scale:var(--checked-icon-scale)}[part~=icon]::part(svg){translate:0.0009765625em}input:not(:checked,:indeterminate)+[part~=icon]{visibility:hidden}:host([required]) [part~=label]::after{content:var(--wa-form-control-required-content);color:var(--wa-form-control-required-content-color);margin-inline-start:var(--wa-form-control-required-content-offset)}`),g=Object.defineProperty,v=Object.getOwnPropertyDescriptor,M=(e,t,i,a)=>{for(var o,s=a>1?void 0:a?v(t,i):t,n=e.length-1;n>=0;n--)(o=e[n])&&(s=(a?o(t,i,s):o(s))||s);return a&&s&&g(t,i,s),s};let T=class extends u.q{static get validators(){const e=a.S$?[]:[(0,h.Y)({validationProperty:"checked",validationElement:Object.assign(document.createElement("input"),{type:"checkbox",required:!0})})];return[...super.validators,...e]}get value(){return this._value??"on"}set value(e){this._value=e}handleSizeChange(){(0,c.b)(this.localName,this.size)}get checked(){return this.valueHasChanged?Boolean(this._checked):this._checked??this.defaultChecked}set checked(e){this._checked=Boolean(e),this.valueHasChanged=!0}handleClick(){this.hasInteracted=!0,this.checked=!this.checked,this.indeterminate=!1,this.updateComplete.then(()=>{this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))})}connectedCallback(){super.connectedCallback(),this.handleDefaultCheckedChange()}handleDefaultCheckedChange(){this.handleValueOrCheckedChange()}handleValueOrCheckedChange(){this.setValue(this.checked?this.value:null,this._value),this.updateValidity()}handleStateChange(){this.hasUpdated&&(this.input.checked=this.checked,this.input.indeterminate=this.indeterminate),this.customStates.set("checked",this.checked),this.customStates.set("indeterminate",this.indeterminate),this.updateValidity()}handleDisabledChange(){this.customStates.set("disabled",this.disabled)}willUpdate(e){super.willUpdate(e),(e.has("value")||e.has("checked")||e.has("defaultChecked"))&&this.handleValueOrCheckedChange()}formResetCallback(){this._checked=null,super.formResetCallback(),this.handleValueOrCheckedChange()}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}render(){const e=!!a.S$||this.hasSlotController.test("hint"),t=!!this.hint||!!e,i=!this.checked&&this.indeterminate,o=i?"indeterminate":"check",c=i?"indeterminate":"check";return a.qy` <label part="base"> <span part="control"> <input class="input" type="checkbox" title="${this.title}" name="${(0,n.J)(this.name)}" value="${(0,n.J)(this._value)}" .indeterminate="${(0,r.V)(this.indeterminate)}" .checked="${(0,r.V)(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.indeterminate?"mixed":this.checked?"true":"false"}" aria-describedby="hint" @click="${this.handleClick}"> <wa-icon part="${c}-icon icon" library="system" name="${o}"></wa-icon> </span> <slot part="label"></slot> </label> <slot id="hint" part="hint" name="hint" aria-hidden="${t?"false":"true"}" class="${(0,s.H)({"has-slotted":t})}"> ${this.hint} </slot> `}constructor(){super(...arguments),this.hasSlotController=new l.X(this,"hint"),this.title="",this.name=null,this._value=this.getAttribute("value")??null,this.size="m",this.disabled=!1,this.indeterminate=!1,this._checked=null,this.defaultChecked=this.hasAttribute("checked"),this.required=!1,this.hint=""}};T.css=[p.A,m.A,f],T.shadowRootOptions={...u.q.shadowRootOptions,delegatesFocus:!0},M([(0,o.P)('input[type="checkbox"]')],T.prototype,"input",2),M([(0,o.MZ)()],T.prototype,"title",2),M([(0,o.MZ)({reflect:!0})],T.prototype,"name",2),M([(0,o.MZ)({reflect:!0})],T.prototype,"value",1),M([(0,o.MZ)({reflect:!0})],T.prototype,"size",2),M([(0,d.w)("size")],T.prototype,"handleSizeChange",1),M([(0,o.MZ)({type:Boolean})],T.prototype,"disabled",2),M([(0,o.MZ)({type:Boolean,reflect:!0})],T.prototype,"indeterminate",2),M([(0,o.MZ)({type:Boolean,attribute:!1})],T.prototype,"checked",1),M([(0,o.MZ)({type:Boolean,reflect:!0,attribute:"checked"})],T.prototype,"defaultChecked",2),M([(0,o.MZ)({type:Boolean,reflect:!0})],T.prototype,"required",2),M([(0,o.MZ)()],T.prototype,"hint",2),M([(0,d.w)(["checked","defaultChecked"])],T.prototype,"handleDefaultCheckedChange",1),M([(0,d.w)(["checked","indeterminate"])],T.prototype,"handleStateChange",1),M([(0,d.w)("disabled")],T.prototype,"handleDisabledChange",1),T=M([(0,o.EM)("wa-checkbox")],T),T.disableWarning?.("change-in-update")},68825(e,t,i){var a=i(22441),o=i(9395),s=i(717),n=i(5124).AH`:host{--color:var(--wa-color-surface-border);--width:var(--wa-border-width-s);--spacing:var(--wa-space-m)}:host(:not([orientation=vertical])){display:block;border-top:solid var(--width) var(--color);margin:var(--spacing) 0}:host([orientation=vertical]){display:inline-block;height:100%;border-inline-start:solid var(--width) var(--color);margin:0 var(--spacing);min-block-size:1lh}`,r=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=(e,t,i,a)=>{for(var o,s=a>1?void 0:a?c(t,i):t,n=e.length-1;n>=0;n--)(o=e[n])&&(s=(a?o(t,i,s):o(s))||s);return a&&s&&r(t,i,s),s};let h=class extends s.A{connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}handleVerticalChange(){this.setAttribute("aria-orientation",this.orientation)}constructor(){super(...arguments),this.orientation="horizontal"}};h.css=n,l([(0,a.MZ)({reflect:!0})],h.prototype,"orientation",2),l([(0,o.w)("orientation")],h.prototype,"handleVerticalChange",1),h=l([(0,a.EM)("wa-divider")],h)},49546(e,t,i){i.d(t,{Y:()=>a});i(44114);const a=(e={})=>{let{validationElement:t,validationProperty:i}=e;t||(t=Object.assign(document.createElement("input"),{required:!0})),i||(i="value");const a={observedAttributes:["required"],message:t.validationMessage,checkValidity(e){const t={message:"",isValid:!0,invalidKeys:[]};if(!(e.required??e.hasAttribute("required")))return t;return!e[i]&&(t.message="function"==typeof a.message?a.message(e):a.message||"",t.isValid=!1,t.invalidKeys.push("valueMissing")),t}};return a}},25423(e,t,i){i.d(t,{U:()=>o,Z:()=>s});i(44114);var a=i(27525);const o={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",Home:"Home",End:"End"};class s{get items(){const e=this.getPossibleItems(),t=[];for(const i of e){if(this.isItem(i)){t.push(i);continue}const e=i.item;e&&this.isItem(e)&&t.push(e)}return t}activateNextItem(){const e=this.items,t=(0,a.A6)(e,this.isActivatable);return t&&(t.item.tabIndex=-1),(0,a.wm)(e,t,this.isActivatable,this.wrapNavigation())}activatePreviousItem(){const e=this.items,t=(0,a.A6)(e,this.isActivatable);return t&&(t.item.tabIndex=-1),(0,a.u9)(e,t,this.isActivatable,this.wrapNavigation())}constructor(e){this.handleKeydown=e=>{const t=e.key;if(e.defaultPrevented||!this.isNavigableKey(t))return;const i=this.items;if(!i.length)return;const s=(0,a.A6)(i,this.isActivatable);e.preventDefault();const n=this.isRtl(),r=n?o.ArrowRight:o.ArrowLeft,c=n?o.ArrowLeft:o.ArrowRight;let l=null;switch(t){case o.ArrowDown:case c:l=(0,a.wm)(i,s,this.isActivatable,this.wrapNavigation());break;case o.ArrowUp:case r:l=(0,a.u9)(i,s,this.isActivatable,this.wrapNavigation());break;case o.Home:l=(0,a.zT)(i,this.isActivatable);break;case o.End:l=(0,a.RZ)(i,this.isActivatable)}l&&s&&s.item!==l&&(s.item.tabIndex=-1)},this.onDeactivateItems=()=>{const e=this.items;for(const t of e)this.deactivateItem(t)},this.onRequestActivation=e=>{this.onDeactivateItems();const t=e.target;this.activateItem(t),t.focus()},this.onSlotchange=()=>{const e=this.items;let t=!1;for(const i of e){!(!i.disabled&&i.tabIndex>-1)||t?i.tabIndex=-1:(t=!0,i.tabIndex=0)}if(t)return;const i=(0,a.c7)(e,this.isActivatable);i&&(i.tabIndex=0)};const{isItem:t,getPossibleItems:i,isRtl:s,deactivateItem:n,activateItem:r,isNavigableKey:c,isActivatable:l,wrapNavigation:h}=e;this.isItem=t,this.getPossibleItems=i,this.isRtl=s,this.deactivateItem=n,this.activateItem=r,this.isNavigableKey=c,this.isActivatable=l,this.wrapNavigation=h??(()=>!0)}}},87592(e,t,i){i.d(t,{R:()=>a});const a=i(5124).AH`:host{position:relative;display:flex;flex-direction:column}`},43666(e,t,i){i.d(t,{g:()=>x});i(44114);var a=i(62826),o=i(5124),s=i(22441),n=i(27525);i(18111),i(13579);function r(){return new Event("activate-typeahead",{bubbles:!0,composed:!0})}const c="ArrowRight",l="ArrowLeft",h={SPACE:"Space",ENTER:"Enter"},d="keydown",u={ESCAPE:"Escape",SPACE:h.SPACE,ENTER:h.ENTER};function p(e,t){const i=new Event("md-contains",{bubbles:!0,composed:!0});let a=[];const o=e=>{a=e.composedPath()};t.addEventListener("md-contains",o),e.dispatchEvent(i),t.removeEventListener("md-contains",o);return a.length>0}const m="none",f="list-root",g="first-item",v="last-item";i(74423),i(7588),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698),i(73535),i(75275);var M=i(6412),T=i(89784),y=i(76610),A=i(25423);const b="end-start",G="start-start",C="start-end";class w{get surfaceStyles(){return this.surfaceStylesInternal}async position(){const{surfaceEl:e,anchorEl:t,anchorCorner:i,surfaceCorner:a,positioning:o,xOffset:s,yOffset:n,disableBlockFlip:r,disableInlineFlip:c,repositionStrategy:l}=this.getProperties(),h=i.toLowerCase().trim(),d=a.toLowerCase().trim();if(!e||!t)return;const u=window.innerWidth,p=window.innerHeight,m=document.createElement("div");m.style.opacity="0",m.style.position="fixed",m.style.display="block",m.style.inset="0",document.body.appendChild(m);const f=m.getBoundingClientRect();m.remove();const g=window.innerHeight-f.bottom,v=window.innerWidth-f.right;this.surfaceStylesInternal={display:"block",opacity:"0"},this.host.requestUpdate(),await this.host.updateComplete,e.popover&&e.isConnected&&e.showPopover();const M=e.getSurfacePositionClientRect?e.getSurfacePositionClientRect():e.getBoundingClientRect(),T=t.getSurfacePositionClientRect?t.getSurfacePositionClientRect():t.getBoundingClientRect(),[y,A]=d.split("-"),[b,G]=h.split("-"),C="ltr"===getComputedStyle(e).direction;let{blockInset:w,blockOutOfBoundsCorrection:k,surfaceBlockProperty:E}=this.calculateBlock({surfaceRect:M,anchorRect:T,anchorBlock:b,surfaceBlock:y,yOffset:n,positioning:o,windowInnerHeight:p,blockScrollbarHeight:g});if(k&&!r){const e="start"===y?"end":"start",t="start"===b?"end":"start",i=this.calculateBlock({surfaceRect:M,anchorRect:T,anchorBlock:t,surfaceBlock:e,yOffset:n,positioning:o,windowInnerHeight:p,blockScrollbarHeight:g});k>i.blockOutOfBoundsCorrection&&(w=i.blockInset,k=i.blockOutOfBoundsCorrection,E=i.surfaceBlockProperty)}let{inlineInset:P,inlineOutOfBoundsCorrection:R,surfaceInlineProperty:S}=this.calculateInline({surfaceRect:M,anchorRect:T,anchorInline:G,surfaceInline:A,xOffset:s,positioning:o,isLTR:C,windowInnerWidth:u,inlineScrollbarWidth:v});if(R&&!c){const e="start"===A?"end":"start",t="start"===G?"end":"start",i=this.calculateInline({surfaceRect:M,anchorRect:T,anchorInline:t,surfaceInline:e,xOffset:s,positioning:o,isLTR:C,windowInnerWidth:u,inlineScrollbarWidth:v});Math.abs(R)>Math.abs(i.inlineOutOfBoundsCorrection)&&(P=i.inlineInset,R=i.inlineOutOfBoundsCorrection,S=i.surfaceInlineProperty)}"move"===l&&(w-=k,P-=R),this.surfaceStylesInternal={display:"block",opacity:"1",[E]:`${w}px`,[S]:`${P}px`},"resize"===l&&(k&&(this.surfaceStylesInternal.height=M.height-k+"px"),R&&(this.surfaceStylesInternal.width=M.width-R+"px")),this.host.requestUpdate()}calculateBlock(e){const{surfaceRect:t,anchorRect:i,anchorBlock:a,surfaceBlock:o,yOffset:s,positioning:n,windowInnerHeight:r,blockScrollbarHeight:c}=e,l="fixed"===n||"document"===n?1:0,h="document"===n?1:0,d="start"===o?1:0,u="end"===o?1:0,p=(a!==o?1:0)*i.height+s,m=d*i.top+u*(r-i.bottom-c);return{blockInset:l*m+h*(d*window.scrollY-u*window.scrollY)+p,blockOutOfBoundsCorrection:Math.abs(Math.min(0,r-m-p-t.height)),surfaceBlockProperty:"start"===o?"inset-block-start":"inset-block-end"}}calculateInline(e){const{isLTR:t,surfaceInline:i,anchorInline:a,anchorRect:o,surfaceRect:s,xOffset:n,positioning:r,windowInnerWidth:c,inlineScrollbarWidth:l}=e,h="fixed"===r||"document"===r?1:0,d="document"===r?1:0,u=t?1:0,p=t?0:1,m="start"===i?1:0,f="end"===i?1:0,g=(a!==i?1:0)*o.width+n,v=u*(m*o.left+f*(c-o.right-l))+p*(m*(c-o.right-l)+f*o.left);let M="start"===i?"inset-inline-start":"inset-inline-end";return"document"!==r&&"fixed"!==r||(M="start"===i&&t||"end"===i&&!t?"left":"right"),{inlineInset:h*v+g+d*(u*(m*window.scrollX-f*window.scrollX)+p*(f*window.scrollX-m*window.scrollX)),inlineOutOfBoundsCorrection:Math.abs(Math.min(0,c-v-g-s.width)),surfaceInlineProperty:M}}hostUpdate(){this.onUpdate()}hostUpdated(){this.onUpdate()}async onUpdate(){const e=this.getProperties();let t=!1;for(const[i,a]of Object.entries(e))if(t=t||a!==this.lastValues[i],t)break;const i=this.lastValues.isOpen!==e.isOpen,a=!!e.anchorEl,o=!!e.surfaceEl;t&&a&&o&&(this.lastValues.isOpen=e.isOpen,e.isOpen?(this.lastValues=e,await this.position(),e.onOpen()):i&&(await e.beforeClose(),this.close(),e.onClose()))}close(){this.surfaceStylesInternal={display:"none"},this.host.requestUpdate();const e=this.getProperties().surfaceEl;e?.popover&&e?.isConnected&&e.hidePopover()}constructor(e,t){this.host=e,this.getProperties=t,this.surfaceStylesInternal={display:"none"},this.lastValues={isOpen:!1},this.host.addController(this)}}i(22489),i(20116),i(61701);const k=0,E=1,P=2;class R{get items(){return this.getProperties().getItems()}get active(){return this.getProperties().active}beginTypeahead(e){this.active&&("Space"===e.code||"Enter"===e.code||e.code.startsWith("Arrow")||"Escape"===e.code||(this.isTypingAhead=!0,this.typeaheadRecords=this.items.map((e,t)=>[t,e,e.typeaheadText.trim().toLowerCase()]),this.lastActiveRecord=this.typeaheadRecords.find(e=>0===e[E].tabIndex)??null,this.lastActiveRecord&&(this.lastActiveRecord[E].tabIndex=-1),this.typeahead(e)))}typeahead(e){if(e.defaultPrevented)return;if(clearTimeout(this.cancelTypeaheadTimeout),"Enter"===e.code||e.code.startsWith("Arrow")||"Escape"===e.code)return this.endTypeahead(),void(this.lastActiveRecord&&(this.lastActiveRecord[E].tabIndex=-1));"Space"===e.code&&e.preventDefault(),this.cancelTypeaheadTimeout=setTimeout(this.endTypeahead,this.getProperties().typeaheadBufferTime),this.typaheadBuffer+=e.key.toLowerCase();const t=this.lastActiveRecord?this.lastActiveRecord[k]:-1,i=this.typeaheadRecords.length,a=e=>(e[k]+i-t)%i,o=this.typeaheadRecords.filter(e=>!e[E].disabled&&e[P].startsWith(this.typaheadBuffer)).sort((e,t)=>a(e)-a(t));if(0===o.length)return clearTimeout(this.cancelTypeaheadTimeout),this.lastActiveRecord&&(this.lastActiveRecord[E].tabIndex=-1),void this.endTypeahead();const s=1===this.typaheadBuffer.length;let n;n=this.lastActiveRecord===o[0]&&s?o[1]??o[0]:o[0],this.lastActiveRecord&&(this.lastActiveRecord[E].tabIndex=-1),this.lastActiveRecord=n,n[E].tabIndex=0,n[E].focus()}constructor(e){this.getProperties=e,this.typeaheadRecords=[],this.typaheadBuffer="",this.cancelTypeaheadTimeout=0,this.isTypingAhead=!1,this.lastActiveRecord=null,this.onKeydown=e=>{this.isTypingAhead?this.typeahead(e):this.beginTypeahead(e)},this.endTypeahead=()=>{this.isTypingAhead=!1,this.typaheadBuffer="",this.typeaheadRecords=[]}}}const S=new Set([A.U.ArrowDown,A.U.ArrowUp,A.U.Home,A.U.End]),O=new Set([A.U.ArrowLeft,A.U.ArrowRight,...S]);class I extends o.WF{get openDirection(){return"start"===this.menuCorner.split("-")[0]?"DOWN":"UP"}get anchorElement(){return this.anchor?this.getRootNode().querySelector(`#${this.anchor}`):this.currentAnchorElement}set anchorElement(e){this.currentAnchorElement=e,this.requestUpdate("anchorElement")}get items(){return this.listController.items}willUpdate(e){e.has("open")&&(this.open?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true"))}update(e){e.has("open")&&(this.open?this.setUpGlobalEventListeners():this.cleanUpGlobalEventListeners()),e.has("positioning")&&"popover"===this.positioning&&!this.showPopover&&(this.positioning="fixed"),super.update(e)}connectedCallback(){super.connectedCallback(),this.open&&this.setUpGlobalEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.cleanUpGlobalEventListeners()}getBoundingClientRect(){return this.surfaceEl?this.surfaceEl.getBoundingClientRect():super.getBoundingClientRect()}getClientRects(){return this.surfaceEl?this.surfaceEl.getClientRects():super.getClientRects()}render(){return this.renderSurface()}renderSurface(){return o.qy` <div class="menu ${(0,M.H)(this.getSurfaceClasses())}" style="${(0,T.W)(this.menuPositionController.surfaceStyles)}" popover="${"popover"===this.positioning?"manual":o.s6}"> ${this.renderElevation()} <div class="items"> <div class="item-padding"> ${this.renderMenuItems()} </div> </div> </div> `}renderMenuItems(){return o.qy`<slot @close-menu="${this.onCloseMenu}" @deactivate-items="${this.onDeactivateItems}" @request-activation="${this.onRequestActivation}" @deactivate-typeahead="${this.handleDeactivateTypeahead}" @activate-typeahead="${this.handleActivateTypeahead}" @stay-open-on-focusout="${this.handleStayOpenOnFocusout}" @close-on-focusout="${this.handleCloseOnFocusout}" @slotchange="${this.listController.onSlotchange}"></slot>`}renderElevation(){return o.qy`<md-elevation part="elevation"></md-elevation>`}getSurfaceClasses(){return{open:this.open,fixed:"fixed"===this.positioning,"has-overflow":this.hasOverflow}}captureKeydown(e){var t;e.target===this&&!e.defaultPrevented&&(t=e.code,Object.values(u).some(e=>e===t))&&(e.preventDefault(),this.close()),this.typeaheadController.onKeydown(e)}async animateOpen(){const e=this.surfaceEl,t=this.slotEl;if(!e||!t)return!0;const i=this.openDirection;this.dispatchEvent(new Event("opening")),e.classList.toggle("animating",!0);const a=this.openCloseAnimationSignal.start(),o=e.offsetHeight,s="UP"===i,n=this.items,r=250/n.length,c=e.animate([{height:"0px"},{height:`${o}px`}],{duration:500,easing:y.Ux.EMPHASIZED}),l=t.animate([{transform:s?`translateY(-${o}px)`:""},{transform:""}],{duration:500,easing:y.Ux.EMPHASIZED}),h=e.animate([{opacity:0},{opacity:1}],50),d=[];for(let e=0;e<n.length;e++){const t=n[s?n.length-1-e:e],i=t.animate([{opacity:0},{opacity:1}],{duration:250,delay:r*e});t.classList.toggle("md-menu-hidden",!0),i.addEventListener("finish",()=>{t.classList.toggle("md-menu-hidden",!1)}),d.push([t,i])}let u=e=>{};const p=new Promise(e=>{u=e});return a.addEventListener("abort",()=>{c.cancel(),l.cancel(),h.cancel(),d.forEach(([e,t])=>{e.classList.toggle("md-menu-hidden",!1),t.cancel()}),u(!0)}),c.addEventListener("finish",()=>{e.classList.toggle("animating",!1),this.openCloseAnimationSignal.finish(),u(!1)}),await p}animateClose(){let e;const t=new Promise(t=>{e=t}),i=this.surfaceEl,a=this.slotEl;if(!i||!a)return e(!1),t;const o="UP"===this.openDirection;this.dispatchEvent(new Event("closing")),i.classList.toggle("animating",!0);const s=this.openCloseAnimationSignal.start(),n=i.offsetHeight,r=this.items,c=150,l=50/r.length,h=i.animate([{height:`${n}px`},{height:.35*n+"px"}],{duration:c,easing:y.Ux.EMPHASIZED_ACCELERATE}),d=a.animate([{transform:""},{transform:o?`translateY(-${.65*n}px)`:""}],{duration:c,easing:y.Ux.EMPHASIZED_ACCELERATE}),u=i.animate([{opacity:1},{opacity:0}],{duration:50,delay:100}),p=[];for(let e=0;e<r.length;e++){const t=r[o?e:r.length-1-e],i=t.animate([{opacity:1},{opacity:0}],{duration:50,delay:50+l*e});i.addEventListener("finish",()=>{t.classList.toggle("md-menu-hidden",!0)}),p.push([t,i])}return s.addEventListener("abort",()=>{h.cancel(),d.cancel(),u.cancel(),p.forEach(([e,t])=>{t.cancel(),e.classList.toggle("md-menu-hidden",!1)}),e(!1)}),h.addEventListener("finish",()=>{i.classList.toggle("animating",!1),p.forEach(([e])=>{e.classList.toggle("md-menu-hidden",!1)}),this.openCloseAnimationSignal.finish(),this.dispatchEvent(new Event("closed")),e(!0)}),t}handleKeydown(e){this.pointerPath=[],this.listController.handleKeydown(e)}setUpGlobalEventListeners(){document.addEventListener("click",this.onDocumentClick,{capture:!0}),window.addEventListener("pointerdown",this.onWindowPointerdown),document.addEventListener("resize",this.onWindowResize,{passive:!0}),window.addEventListener("resize",this.onWindowResize,{passive:!0})}cleanUpGlobalEventListeners(){document.removeEventListener("click",this.onDocumentClick,{capture:!0}),window.removeEventListener("pointerdown",this.onWindowPointerdown),document.removeEventListener("resize",this.onWindowResize),window.removeEventListener("resize",this.onWindowResize)}onCloseMenu(){this.close()}onDeactivateItems(e){e.stopPropagation(),this.listController.onDeactivateItems()}onRequestActivation(e){e.stopPropagation(),this.listController.onRequestActivation(e)}handleDeactivateTypeahead(e){e.stopPropagation(),this.typeaheadActive=!1}handleActivateTypeahead(e){e.stopPropagation(),this.typeaheadActive=!0}handleStayOpenOnFocusout(e){e.stopPropagation(),this.stayOpenOnFocusout=!0}handleCloseOnFocusout(e){e.stopPropagation(),this.stayOpenOnFocusout=!1}close(){this.open=!1;this.slotItems.forEach(e=>{e.close?.()})}show(){this.open=!0}activateNextItem(){return this.listController.activateNextItem()??null}activatePreviousItem(){return this.listController.activatePreviousItem()??null}reposition(){this.open&&this.menuPositionController.position()}constructor(){super(),this.anchor="",this.positioning="absolute",this.quick=!1,this.hasOverflow=!1,this.open=!1,this.xOffset=0,this.yOffset=0,this.noHorizontalFlip=!1,this.noVerticalFlip=!1,this.typeaheadDelay=200,this.anchorCorner=b,this.menuCorner=G,this.stayOpenOnOutsideClick=!1,this.stayOpenOnFocusout=!1,this.skipRestoreFocus=!1,this.defaultFocus=g,this.noNavigationWrap=!1,this.typeaheadActive=!0,this.isSubmenu=!1,this.pointerPath=[],this.isRepositioning=!1,this.openCloseAnimationSignal=(0,y.du)(),this.listController=new A.Z({isItem:e=>e.hasAttribute("md-menu-item"),getPossibleItems:()=>this.slotItems,isRtl:()=>"rtl"===getComputedStyle(this).direction,deactivateItem:e=>{e.selected=!1,e.tabIndex=-1},activateItem:e=>{e.selected=!0,e.tabIndex=0},isNavigableKey:e=>{if(!this.isSubmenu)return O.has(e);return e===("rtl"===getComputedStyle(this).direction?A.U.ArrowLeft:A.U.ArrowRight)||S.has(e)},wrapNavigation:()=>!this.noNavigationWrap}),this.lastFocusedElement=null,this.typeaheadController=new R(()=>({getItems:()=>this.items,typeaheadBufferTime:this.typeaheadDelay,active:this.typeaheadActive})),this.currentAnchorElement=null,this.internals=this.attachInternals(),this.menuPositionController=new w(this,()=>({anchorCorner:this.anchorCorner,surfaceCorner:this.menuCorner,surfaceEl:this.surfaceEl,anchorEl:this.anchorElement,positioning:"popover"===this.positioning?"document":this.positioning,isOpen:this.open,xOffset:this.xOffset,yOffset:this.yOffset,disableBlockFlip:this.noVerticalFlip,disableInlineFlip:this.noHorizontalFlip,onOpen:this.onOpened,beforeClose:this.beforeClose,onClose:this.onClosed,repositionStrategy:this.hasOverflow&&"popover"!==this.positioning?"move":"resize"})),this.onWindowResize=()=>{this.isRepositioning||"document"!==this.positioning&&"fixed"!==this.positioning&&"popover"!==this.positioning||(this.isRepositioning=!0,this.reposition(),this.isRepositioning=!1)},this.handleFocusout=async e=>{const t=this.anchorElement;if(this.stayOpenOnFocusout||!this.open||this.pointerPath.includes(t))return;if(e.relatedTarget){if(p(e.relatedTarget,this)||0!==this.pointerPath.length&&p(e.relatedTarget,t))return}else if(this.pointerPath.includes(this))return;const i=this.skipRestoreFocus;this.skipRestoreFocus=!0,this.close(),await this.updateComplete,this.skipRestoreFocus=i},this.onOpened=async()=>{this.lastFocusedElement=function(e=document){let t=e.activeElement;for(;t&&t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}();const e=this.items,t=(0,n.A6)(e);t&&this.defaultFocus!==m&&(t.item.tabIndex=-1);let i=!this.quick;switch(this.quick?this.dispatchEvent(new Event("opening")):i=!!await this.animateOpen(),this.defaultFocus){case g:const t=(0,n.c7)(e);t&&(t.tabIndex=0,t.focus(),await t.updateComplete);break;case v:const i=(0,n.Ex)(e);i&&(i.tabIndex=0,i.focus(),await i.updateComplete);break;case f:this.focus()}i||this.dispatchEvent(new Event("opened"))},this.beforeClose=async()=>{this.open=!1,this.skipRestoreFocus||this.lastFocusedElement?.focus?.(),this.quick||await this.animateClose()},this.onClosed=()=>{this.quick&&(this.dispatchEvent(new Event("closing")),this.dispatchEvent(new Event("closed")))},this.onWindowPointerdown=e=>{this.pointerPath=e.composedPath()},this.onDocumentClick=e=>{if(!this.open)return;const t=e.composedPath();this.stayOpenOnOutsideClick||t.includes(this)||t.includes(this.anchorElement)||(this.open=!1)},o.S$||(this.internals.role="menu",this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keydown",this.captureKeydown,{capture:!0}),this.addEventListener("focusout",this.handleFocusout))}}(0,a.Cg)([(0,s.P)(".menu")],I.prototype,"surfaceEl",void 0),(0,a.Cg)([(0,s.P)("slot")],I.prototype,"slotEl",void 0),(0,a.Cg)([(0,s.MZ)()],I.prototype,"anchor",void 0),(0,a.Cg)([(0,s.MZ)()],I.prototype,"positioning",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean})],I.prototype,"quick",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,attribute:"has-overflow"})],I.prototype,"hasOverflow",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,reflect:!0})],I.prototype,"open",void 0),(0,a.Cg)([(0,s.MZ)({type:Number,attribute:"x-offset"})],I.prototype,"xOffset",void 0),(0,a.Cg)([(0,s.MZ)({type:Number,attribute:"y-offset"})],I.prototype,"yOffset",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,attribute:"no-horizontal-flip"})],I.prototype,"noHorizontalFlip",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,attribute:"no-vertical-flip"})],I.prototype,"noVerticalFlip",void 0),(0,a.Cg)([(0,s.MZ)({type:Number,attribute:"typeahead-delay"})],I.prototype,"typeaheadDelay",void 0),(0,a.Cg)([(0,s.MZ)({attribute:"anchor-corner"})],I.prototype,"anchorCorner",void 0),(0,a.Cg)([(0,s.MZ)({attribute:"menu-corner"})],I.prototype,"menuCorner",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,attribute:"stay-open-on-outside-click"})],I.prototype,"stayOpenOnOutsideClick",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,attribute:"stay-open-on-focusout"})],I.prototype,"stayOpenOnFocusout",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,attribute:"skip-restore-focus"})],I.prototype,"skipRestoreFocus",void 0),(0,a.Cg)([(0,s.MZ)({attribute:"default-focus"})],I.prototype,"defaultFocus",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,attribute:"no-navigation-wrap"})],I.prototype,"noNavigationWrap",void 0),(0,a.Cg)([(0,s.KN)({flatten:!0})],I.prototype,"slotItems",void 0),(0,a.Cg)([(0,s.wk)()],I.prototype,"typeaheadActive",void 0);class x extends o.WF{get item(){return this.items[0]??null}get menu(){return this.menus[0]??null}render(){return o.qy` <slot name="item" @click="${this.onClick}" @keydown="${this.onKeydown}" @slotchange="${this.onSlotchange}"> </slot> <slot name="menu" @keydown="${this.onSubMenuKeydown}" @close-menu="${this.onCloseSubmenu}" @slotchange="${this.onSlotchange}"> </slot> `}firstUpdated(){this.onSlotchange()}async show(){const e=this.menu;if(!e||e.open)return;e.addEventListener("closed",()=>{this.item.ariaExpanded="false",this.dispatchEvent(r()),this.dispatchEvent((0,n.RN)()),e.ariaHidden="true"},{once:!0}),"document"===e.positioning&&(e.positioning="absolute"),e.quick=!0,e.hasOverflow=!0,e.anchorCorner=this.anchorCorner,e.menuCorner=this.menuCorner,e.anchorElement=this.item,e.defaultFocus="first-item",e.removeAttribute("aria-hidden"),e.skipRestoreFocus=!1;const t=e.open;if(e.show(),this.item.ariaExpanded="true",this.item.ariaHasPopup="menu",e.id&&this.item.setAttribute("aria-controls",e.id),this.dispatchEvent((0,n.RN)()),this.dispatchEvent(new Event("deactivate-typeahead",{bubbles:!0,composed:!0})),this.item.selected=!0,!t){let t=e=>{};const i=new Promise(e=>{t=e});e.addEventListener("opened",t,{once:!0}),await i}}async close(){const e=this.menu;if(!e||!e.open)return;this.dispatchEvent(r()),e.quick=!0,e.close(),this.dispatchEvent((0,n.RN)());let t=e=>{};const i=new Promise(e=>{t=e});e.addEventListener("closed",t,{once:!0}),await i}onSlotchange(){if(!this.item)return;this.item.ariaExpanded="false",this.item.ariaHasPopup="menu",this.menu?.id&&this.item.setAttribute("aria-controls",this.menu.id),this.item.keepOpen=!0;const e=this.menu;e&&(e.isSubmenu=!0,e.ariaHidden="true")}onClick(){this.show()}async onKeydown(e){const t=this.isSubmenuOpenKey(e.code);if(e.defaultPrevented)return;const i=t&&(l===e.code||c===e.code);if((e.code===h.SPACE||i)&&(e.preventDefault(),i&&e.stopPropagation()),!t)return;const a=this.menu;if(!a)return;const o=a.items,s=(0,n.c7)(o);return s?(await this.show(),s.tabIndex=0,void s.focus()):void 0}onCloseSubmenu(e){const{itemPath:t,reason:i}=e.detail;if(t.push(this.item),this.dispatchEvent(r()),i.kind===d&&i.key===u.ESCAPE)return e.stopPropagation(),void this.item.dispatchEvent((0,n.cG)());this.dispatchEvent((0,n.RN)())}async onSubMenuKeydown(e){if(e.defaultPrevented)return;const{close:t,keyCode:i}=this.isSubmenuCloseKey(e.code);t&&(e.preventDefault(),i!==l&&i!==c||e.stopPropagation(),await this.close(),(0,n.ub)(this.menu.items),this.item?.focus(),this.item.tabIndex=0,this.item.focus())}isSubmenuOpenKey(e){switch(e){case"rtl"===getComputedStyle(this).direction?l:c:case h.SPACE:case h.ENTER:return!0;default:return!1}}isSubmenuCloseKey(e){switch(e){case"rtl"===getComputedStyle(this).direction?c:l:case u.ESCAPE:return{close:!0,keyCode:e};default:return{close:!1}}}constructor(){super(),this.anchorCorner=C,this.menuCorner=G,this.hoverOpenDelay=400,this.hoverCloseDelay=400,this.isSubMenu=!0,this.previousOpenTimeout=0,this.previousCloseTimeout=0,this.onMouseenter=()=>{clearTimeout(this.previousOpenTimeout),clearTimeout(this.previousCloseTimeout),this.menu?.open||(this.hoverOpenDelay?this.previousOpenTimeout=setTimeout(()=>{this.show()},this.hoverOpenDelay):this.show())},this.onMouseleave=()=>{clearTimeout(this.previousCloseTimeout),clearTimeout(this.previousOpenTimeout),this.hoverCloseDelay?this.previousCloseTimeout=setTimeout(()=>{this.close()},this.hoverCloseDelay):this.close()},o.S$||(this.addEventListener("mouseenter",this.onMouseenter),this.addEventListener("mouseleave",this.onMouseleave))}}(0,a.Cg)([(0,s.MZ)({attribute:"anchor-corner"})],x.prototype,"anchorCorner",void 0),(0,a.Cg)([(0,s.MZ)({attribute:"menu-corner"})],x.prototype,"menuCorner",void 0),(0,a.Cg)([(0,s.MZ)({type:Number,attribute:"hover-open-delay"})],x.prototype,"hoverOpenDelay",void 0),(0,a.Cg)([(0,s.MZ)({type:Number,attribute:"hover-close-delay"})],x.prototype,"hoverCloseDelay",void 0),(0,a.Cg)([(0,s.MZ)({type:Boolean,reflect:!0,attribute:"md-sub-menu"})],x.prototype,"isSubMenu",void 0),(0,a.Cg)([(0,s.KN)({slot:"item",flatten:!0})],x.prototype,"items",void 0),(0,a.Cg)([(0,s.KN)({slot:"menu",flatten:!0})],x.prototype,"menus",void 0)},91450(e,t,i){i.d(t,{T:()=>u});i(18111),i(20116);var a=i(5055),o=i(63937),s=i(37540);class n{disconnect(){this.G=void 0}reconnect(e){this.G=e}deref(){return this.G}constructor(e){this.G=e}}class r{get(){return this.Y}pause(){this.Y??=new Promise(e=>this.Z=e)}resume(){this.Z?.(),this.Y=this.Z=void 0}constructor(){this.Y=void 0,this.Z=void 0}}var c=i(42017);const l=e=>!(0,o.sO)(e)&&"function"==typeof e.then,h=1073741823;class d extends s.Kq{render(...e){return e.find(e=>!l(e))??a.c0}update(e,t){const i=this._$Cbt;let o=i.length;this._$Cbt=t;const s=this._$CK,n=this._$CX;this.isConnected||this.disconnected();for(let e=0;e<t.length&&!(e>this._$Cwt);e++){const a=t[e];if(!l(a))return this._$Cwt=e,a;e<o&&a===i[e]||(this._$Cwt=h,o=0,Promise.resolve(a).then(async e=>{for(;n.get();)await n.get();const t=s.deref();if(void 0!==t){const i=t._$Cbt.indexOf(a);i>-1&&i<t._$Cwt&&(t._$Cwt=i,t.setValue(e))}}))}return a.c0}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}constructor(){super(...arguments),this._$Cwt=h,this._$Cbt=[],this._$CK=new n(this),this._$CX=new r}}const u=(0,c.u$)(d)},81267(e){e.exports=JSON.parse('{"Pacific/Niue":"(GMT-11:00) Niue","Pacific/Pago_Pago":"(GMT-11:00) Pago Pago","Pacific/Honolulu":"(GMT-10:00) Hawaii Time","Pacific/Rarotonga":"(GMT-10:00) Rarotonga","Pacific/Tahiti":"(GMT-10:00) Tahiti","Pacific/Marquesas":"(GMT-09:30) Marquesas","America/Anchorage":"(GMT-09:00) Alaska Time","Pacific/Gambier":"(GMT-09:00) Gambier","America/Los_Angeles":"(GMT-08:00) Pacific Time","America/Tijuana":"(GMT-08:00) Pacific Time - Tijuana","America/Vancouver":"(GMT-08:00) Pacific Time - Vancouver","America/Whitehorse":"(GMT-08:00) Pacific Time - Whitehorse","Pacific/Pitcairn":"(GMT-08:00) Pitcairn","America/Dawson_Creek":"(GMT-07:00) Mountain Time - Dawson Creek","America/Denver":"(GMT-07:00) Mountain Time","America/Edmonton":"(GMT-07:00) Mountain Time - Edmonton","America/Hermosillo":"(GMT-07:00) Mountain Time - Hermosillo","America/Mazatlan":"(GMT-07:00) Mountain Time - Chihuahua, Mazatlan","America/Phoenix":"(GMT-07:00) Mountain Time - Arizona","America/Yellowknife":"(GMT-07:00) Mountain Time - Yellowknife","America/Belize":"(GMT-06:00) Belize","America/Chicago":"(GMT-06:00) Central Time","America/Costa_Rica":"(GMT-06:00) Costa Rica","America/El_Salvador":"(GMT-06:00) El Salvador","America/Guatemala":"(GMT-06:00) Guatemala","America/Managua":"(GMT-06:00) Managua","America/Mexico_City":"(GMT-06:00) Central Time - Mexico City","America/Regina":"(GMT-06:00) Central Time - Regina","America/Tegucigalpa":"(GMT-06:00) Central Time - Tegucigalpa","America/Winnipeg":"(GMT-06:00) Central Time - Winnipeg","Pacific/Galapagos":"(GMT-06:00) Galapagos","America/Bogota":"(GMT-05:00) Bogota","America/Cancun":"(GMT-05:00) America Cancun","America/Cayman":"(GMT-05:00) Cayman","America/Guayaquil":"(GMT-05:00) Guayaquil","America/Havana":"(GMT-05:00) Havana","America/Iqaluit":"(GMT-05:00) Eastern Time - Iqaluit","America/Jamaica":"(GMT-05:00) Jamaica","America/Lima":"(GMT-05:00) Lima","America/Nassau":"(GMT-05:00) Nassau","America/New_York":"(GMT-05:00) Eastern Time","America/Panama":"(GMT-05:00) Panama","America/Port-au-Prince":"(GMT-05:00) Port-au-Prince","America/Rio_Branco":"(GMT-05:00) Rio Branco","America/Toronto":"(GMT-05:00) Eastern Time - Toronto","Pacific/Easter":"(GMT-05:00) Easter Island","America/Caracas":"(GMT-04:00) Caracas","America/Asuncion":"(GMT-03:00) Asuncion","America/Barbados":"(GMT-04:00) Barbados","America/Boa_Vista":"(GMT-04:00) Boa Vista","America/Campo_Grande":"(GMT-03:00) Campo Grande","America/Cuiaba":"(GMT-03:00) Cuiaba","America/Curacao":"(GMT-04:00) Curacao","America/Grand_Turk":"(GMT-04:00) Grand Turk","America/Guyana":"(GMT-04:00) Guyana","America/Halifax":"(GMT-04:00) Atlantic Time - Halifax","America/La_Paz":"(GMT-04:00) La Paz","America/Manaus":"(GMT-04:00) Manaus","America/Martinique":"(GMT-04:00) Martinique","America/Port_of_Spain":"(GMT-04:00) Port of Spain","America/Porto_Velho":"(GMT-04:00) Porto Velho","America/Puerto_Rico":"(GMT-04:00) Puerto Rico","America/Santo_Domingo":"(GMT-04:00) Santo Domingo","America/Thule":"(GMT-04:00) Thule","Atlantic/Bermuda":"(GMT-04:00) Bermuda","America/St_Johns":"(GMT-03:30) Newfoundland Time - St. Johns","America/Araguaina":"(GMT-03:00) Araguaina","America/Argentina/Buenos_Aires":"(GMT-03:00) Buenos Aires","America/Bahia":"(GMT-03:00) Salvador","America/Belem":"(GMT-03:00) Belem","America/Cayenne":"(GMT-03:00) Cayenne","America/Fortaleza":"(GMT-03:00) Fortaleza","America/Godthab":"(GMT-03:00) Godthab","America/Maceio":"(GMT-03:00) Maceio","America/Miquelon":"(GMT-03:00) Miquelon","America/Montevideo":"(GMT-03:00) Montevideo","America/Paramaribo":"(GMT-03:00) Paramaribo","America/Recife":"(GMT-03:00) Recife","America/Santiago":"(GMT-03:00) Santiago","America/Sao_Paulo":"(GMT-03:00) Sao Paulo","Antarctica/Palmer":"(GMT-03:00) Palmer","Antarctica/Rothera":"(GMT-03:00) Rothera","Atlantic/Stanley":"(GMT-03:00) Stanley","America/Noronha":"(GMT-02:00) Noronha","Atlantic/South_Georgia":"(GMT-02:00) South Georgia","America/Scoresbysund":"(GMT-01:00) Scoresbysund","Atlantic/Azores":"(GMT-01:00) Azores","Atlantic/Cape_Verde":"(GMT-01:00) Cape Verde","Africa/Abidjan":"(GMT+00:00) Abidjan","Africa/Accra":"(GMT+00:00) Accra","Africa/Bissau":"(GMT+00:00) Bissau","Africa/Casablanca":"(GMT+00:00) Casablanca","Africa/El_Aaiun":"(GMT+00:00) El Aaiun","Africa/Monrovia":"(GMT+00:00) Monrovia","America/Danmarkshavn":"(GMT+00:00) Danmarkshavn","Atlantic/Canary":"(GMT+00:00) Canary Islands","Atlantic/Faroe":"(GMT+00:00) Faeroe","Atlantic/Reykjavik":"(GMT+00:00) Reykjavik","Etc/GMT":"(GMT+00:00) GMT (no daylight saving)","Europe/Dublin":"(GMT+00:00) Dublin","Europe/Lisbon":"(GMT+00:00) Lisbon","Europe/London":"(GMT+00:00) London","Africa/Algiers":"(GMT+01:00) Algiers","Africa/Ceuta":"(GMT+01:00) Ceuta","Africa/Lagos":"(GMT+01:00) Lagos","Africa/Ndjamena":"(GMT+01:00) Ndjamena","Africa/Tunis":"(GMT+01:00) Tunis","Africa/Windhoek":"(GMT+02:00) Windhoek","Europe/Amsterdam":"(GMT+01:00) Amsterdam","Europe/Andorra":"(GMT+01:00) Andorra","Europe/Belgrade":"(GMT+01:00) Central European Time - Belgrade","Europe/Berlin":"(GMT+01:00) Berlin","Europe/Brussels":"(GMT+01:00) Brussels","Europe/Budapest":"(GMT+01:00) Budapest","Europe/Copenhagen":"(GMT+01:00) Copenhagen","Europe/Gibraltar":"(GMT+01:00) Gibraltar","Europe/Luxembourg":"(GMT+01:00) Luxembourg","Europe/Madrid":"(GMT+01:00) Madrid","Europe/Malta":"(GMT+01:00) Malta","Europe/Monaco":"(GMT+01:00) Monaco","Europe/Oslo":"(GMT+01:00) Oslo","Europe/Paris":"(GMT+01:00) Paris","Europe/Prague":"(GMT+01:00) Central European Time - Prague","Europe/Rome":"(GMT+01:00) Rome","Europe/Stockholm":"(GMT+01:00) Stockholm","Europe/Tirane":"(GMT+01:00) Tirane","Europe/Vienna":"(GMT+01:00) Vienna","Europe/Warsaw":"(GMT+01:00) Warsaw","Europe/Zurich":"(GMT+01:00) Zurich","Africa/Cairo":"(GMT+02:00) Cairo","Africa/Johannesburg":"(GMT+02:00) Johannesburg","Africa/Maputo":"(GMT+02:00) Maputo","Africa/Tripoli":"(GMT+02:00) Tripoli","Asia/Amman":"(GMT+02:00) Amman","Asia/Beirut":"(GMT+02:00) Beirut","Asia/Damascus":"(GMT+02:00) Damascus","Asia/Gaza":"(GMT+02:00) Gaza","Asia/Jerusalem":"(GMT+02:00) Jerusalem","Asia/Nicosia":"(GMT+02:00) Nicosia","Europe/Athens":"(GMT+02:00) Athens","Europe/Bucharest":"(GMT+02:00) Bucharest","Europe/Chisinau":"(GMT+02:00) Chisinau","Europe/Helsinki":"(GMT+02:00) Helsinki","Europe/Istanbul":"(GMT+03:00) Istanbul","Europe/Kaliningrad":"(GMT+02:00) Moscow-01 - Kaliningrad","Europe/Kyiv":"(GMT+02:00) Kyiv","Europe/Riga":"(GMT+02:00) Riga","Europe/Sofia":"(GMT+02:00) Sofia","Europe/Tallinn":"(GMT+02:00) Tallinn","Europe/Vilnius":"(GMT+02:00) Vilnius","Africa/Khartoum":"(GMT+03:00) Khartoum","Africa/Nairobi":"(GMT+03:00) Nairobi","Antarctica/Syowa":"(GMT+03:00) Syowa","Asia/Baghdad":"(GMT+03:00) Baghdad","Asia/Qatar":"(GMT+03:00) Qatar","Asia/Riyadh":"(GMT+03:00) Riyadh","Europe/Minsk":"(GMT+03:00) Minsk","Europe/Moscow":"(GMT+03:00) Moscow+00 - Moscow","Asia/Tehran":"(GMT+03:30) Tehran","Asia/Baku":"(GMT+04:00) Baku","Asia/Dubai":"(GMT+04:00) Dubai","Asia/Tbilisi":"(GMT+04:00) Tbilisi","Asia/Yerevan":"(GMT+04:00) Yerevan","Europe/Samara":"(GMT+04:00) Moscow+01 - Samara","Indian/Mahe":"(GMT+04:00) Mahe","Indian/Mauritius":"(GMT+04:00) Mauritius","Indian/Reunion":"(GMT+04:00) Reunion","Asia/Kabul":"(GMT+04:30) Kabul","Antarctica/Mawson":"(GMT+05:00) Mawson","Asia/Aqtau":"(GMT+05:00) Aqtau","Asia/Aqtobe":"(GMT+05:00) Aqtobe","Asia/Ashgabat":"(GMT+05:00) Ashgabat","Asia/Dushanbe":"(GMT+05:00) Dushanbe","Asia/Karachi":"(GMT+05:00) Karachi","Asia/Tashkent":"(GMT+05:00) Tashkent","Asia/Yekaterinburg":"(GMT+05:00) Moscow+02 - Yekaterinburg","Indian/Kerguelen":"(GMT+05:00) Kerguelen","Indian/Maldives":"(GMT+05:00) Maldives","Asia/Calcutta":"(GMT+05:30) India Standard Time","Asia/Colombo":"(GMT+05:30) Colombo","Asia/Katmandu":"(GMT+05:45) Katmandu","Antarctica/Vostok":"(GMT+06:00) Vostok","Asia/Almaty":"(GMT+06:00) Almaty","Asia/Bishkek":"(GMT+06:00) Bishkek","Asia/Dhaka":"(GMT+06:00) Dhaka","Asia/Omsk":"(GMT+06:00) Moscow+03 - Omsk, Novosibirsk","Asia/Thimphu":"(GMT+06:00) Thimphu","Indian/Chagos":"(GMT+06:00) Chagos","Asia/Rangoon":"(GMT+06:30) Rangoon","Indian/Cocos":"(GMT+06:30) Cocos","Antarctica/Davis":"(GMT+07:00) Davis","Asia/Bangkok":"(GMT+07:00) Bangkok","Asia/Hovd":"(GMT+07:00) Hovd","Asia/Jakarta":"(GMT+07:00) Jakarta","Asia/Krasnoyarsk":"(GMT+07:00) Moscow+04 - Krasnoyarsk","Asia/Saigon":"(GMT+07:00) Hanoi","Asia/Ho_Chi_Minh":"(GMT+07:00) Ho Chi Minh","Indian/Christmas":"(GMT+07:00) Christmas","Antarctica/Casey":"(GMT+08:00) Casey","Asia/Brunei":"(GMT+08:00) Brunei","Asia/Choibalsan":"(GMT+08:00) Choibalsan","Asia/Hong_Kong":"(GMT+08:00) Hong Kong","Asia/Irkutsk":"(GMT+08:00) Moscow+05 - Irkutsk","Asia/Kuala_Lumpur":"(GMT+08:00) Kuala Lumpur","Asia/Macau":"(GMT+08:00) Macau","Asia/Makassar":"(GMT+08:00) Makassar","Asia/Manila":"(GMT+08:00) Manila","Asia/Shanghai":"(GMT+08:00) China Time - Beijing","Asia/Singapore":"(GMT+08:00) Singapore","Asia/Taipei":"(GMT+08:00) Taipei","Asia/Ulaanbaatar":"(GMT+08:00) Ulaanbaatar","Australia/Perth":"(GMT+08:00) Western Time - Perth","Asia/Pyongyang":"(GMT+08:30) Pyongyang","Asia/Dili":"(GMT+09:00) Dili","Asia/Jayapura":"(GMT+09:00) Jayapura","Asia/Seoul":"(GMT+09:00) Seoul","Asia/Tokyo":"(GMT+09:00) Tokyo","Asia/Yakutsk":"(GMT+09:00) Moscow+06 - Yakutsk","Pacific/Palau":"(GMT+09:00) Palau","Australia/Adelaide":"(GMT+10:30) Central Time - Adelaide","Australia/Darwin":"(GMT+09:30) Central Time - Darwin","Antarctica/DumontDUrville":"(GMT+10:00) Dumont D\'Urville","Asia/Magadan":"(GMT+10:00) Moscow+07 - Magadan","Asia/Vladivostok":"(GMT+10:00) Moscow+07 - Vladivostok","Australia/Brisbane":"(GMT+10:00) Eastern Time - Brisbane","Asia/Yuzhno-Sakhalinsk":"(GMT+11:00) Moscow+08 - Yuzhno-Sakhalinsk","Australia/Hobart":"(GMT+11:00) Eastern Time - Hobart","Australia/Sydney":"(GMT+11:00) Eastern Time - Melbourne, Sydney","Pacific/Chuuk":"(GMT+10:00) Truk","Pacific/Guam":"(GMT+10:00) Guam","Pacific/Port_Moresby":"(GMT+10:00) Port Moresby","Pacific/Efate":"(GMT+11:00) Efate","Pacific/Guadalcanal":"(GMT+11:00) Guadalcanal","Pacific/Kosrae":"(GMT+11:00) Kosrae","Pacific/Norfolk":"(GMT+11:00) Norfolk","Pacific/Noumea":"(GMT+11:00) Noumea","Pacific/Pohnpei":"(GMT+11:00) Ponape","Asia/Kamchatka":"(GMT+12:00) Moscow+09 - Petropavlovsk-Kamchatskiy","Pacific/Auckland":"(GMT+13:00) Auckland","Pacific/Fiji":"(GMT+13:00) Fiji","Pacific/Funafuti":"(GMT+12:00) Funafuti","Pacific/Kwajalein":"(GMT+12:00) Kwajalein","Pacific/Majuro":"(GMT+12:00) Majuro","Pacific/Nauru":"(GMT+12:00) Nauru","Pacific/Tarawa":"(GMT+12:00) Tarawa","Pacific/Wake":"(GMT+12:00) Wake","Pacific/Wallis":"(GMT+12:00) Wallis","Pacific/Apia":"(GMT+14:00) Apia","Pacific/Enderbury":"(GMT+13:00) Enderbury","Pacific/Fakaofo":"(GMT+13:00) Fakaofo","Pacific/Tongatapu":"(GMT+13:00) Tongatapu","Pacific/Kiritimati":"(GMT+14:00) Kiritimati"}')}};