aboutsummaryrefslogtreecommitdiffstats
path: root/dist/dav-settings-personal-availability.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-11-29 08:57:54 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-11-29 14:25:00 +0100
commit84cfbe6b1966943e7df04afc3d29ba8a3597cf4c (patch)
treecf564784bab88f10daeec244c8480b9d55971874 /dist/dav-settings-personal-availability.js
parente589232815f5a89f25aa3bd963f307290bad82ba (diff)
downloadnextcloud-server-84cfbe6b1966943e7df04afc3d29ba8a3597cf4c.tar.gz
nextcloud-server-84cfbe6b1966943e7df04afc3d29ba8a3597cf4c.zip
fix(dav): Allow single-day out of office
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'dist/dav-settings-personal-availability.js')
-rw-r--r--dist/dav-settings-personal-availability.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/dav-settings-personal-availability.js b/dist/dav-settings-personal-availability.js
index e1d7ba457a7..b07d508b542 100644
--- a/dist/dav-settings-personal-availability.js
+++ b/dist/dav-settings-personal-availability.js
@@ -1,3 +1,3 @@
/*! For license information please see dav-settings-personal-availability.js.LICENSE.txt */
-(()=>{var e,r,n,i={74395:(e,r,n)=>{"use strict";var i=n(20144),a=n(31352),s=n(67912),o=n(74628),u=n(49368),l=n(70653),c=n(37008),d=n(79753),f=n(93664);function h(t){return`${t.getFullYear()}-${(t.getMonth()+1).toString().padStart(2,"0")}-${t.getDate().toString().padStart(2,"0")}`}var p=n(43554),m=n(64024);const y=(0,n(17499).IY)().setApp("dav").detectUser().build(),v={name:"AbsenceForm",components:{NcButton:o.Z,NcTextField:u.Z,NcTextArea:l.Z,NcDateTimePickerNative:c.Z},data(){const{firstDay:t,lastDay:e,status:r,message:n}=(0,p.j)("dav","absence",{});return{loading:!1,status:r??"",message:n??"",firstDay:t?new Date(t):new Date,lastDay:e?new Date(e):null}},computed:{valid(){return!!this.firstDay&&!!this.lastDay&&!!this.status&&!!this.message&&this.lastDay>this.firstDay}},methods:{resetForm(){this.status="",this.message="",this.firstDay=new Date,this.lastDay=null},async saveForm(){if(this.valid){this.loading=!0;try{await f.Z.post((0,d.generateUrl)("/apps/dav/settings/absence"),{firstDay:h(this.firstDay),lastDay:h(this.lastDay),status:this.status,message:this.message}),(0,m.s$)(this.$t("dav","Absence saved"))}catch(t){(0,m.x2)(this.$t("dav","Failed to save your absence settings")),y.error("Could not save absence",{error:t})}finally{this.loading=!1}}},async clearAbsence(){this.loading=!0;try{await f.Z.delete((0,d.generateUrl)("/apps/dav/settings/absence")),this.resetForm(),(0,m.s$)(this.$t("dav","Absence cleared"))}catch(t){(0,m.x2)(this.$t("dav","Failed to clear your absence settings")),y.error("Could not clear absence",{error:t})}finally{this.loading=!1}}}};var T=n(93379),g=n.n(T),A=n(7795),b=n.n(A),S=n(90569),E=n.n(S),_=n(3565),D=n.n(_),C=n(19216),O=n.n(C),w=n(44589),x=n.n(w),I=n(76440),N={};N.styleTagTransform=x(),N.setAttributes=D(),N.insert=E().bind(null,"head"),N.domAPI=b(),N.insertStyleElement=O(),g()(I.Z,N),I.Z&&I.Z.locals&&I.Z.locals;var U=n(51900),M=(0,U.Z)(v,(function(){var t=this,e=t._self._c;return e("form",{staticClass:"absence",on:{submit:function(e){return e.preventDefault(),t.saveForm.apply(null,arguments)}}},[e("div",{staticClass:"absence__dates"},[e("NcDateTimePickerNative",{staticClass:"absence__dates__picker",attrs:{id:"absence-first-day",label:t.$t("dav","First day"),required:!0},model:{value:t.firstDay,callback:function(e){t.firstDay=e},expression:"firstDay"}}),t._v(" "),e("NcDateTimePickerNative",{staticClass:"absence__dates__picker",attrs:{id:"absence-last-day",label:t.$t("dav","Last day (inclusive)"),required:!0},model:{value:t.lastDay,callback:function(e){t.lastDay=e},expression:"lastDay"}})],1),t._v(" "),e("NcTextField",{attrs:{value:t.status,label:t.$t("dav","Short absence status"),required:!0},on:{"update:value":function(e){t.status=e}}}),t._v(" "),e("NcTextArea",{attrs:{value:t.message,label:t.$t("dav","Long absence Message"),required:!0},on:{"update:value":function(e){t.message=e}}}),t._v(" "),e("div",{staticClass:"absence__buttons"},[e("NcButton",{attrs:{disabled:t.loading||!t.valid,type:"primary","native-type":"submit"}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Save"))+"\n\t\t")]),t._v(" "),e("NcButton",{attrs:{disabled:t.loading||!t.valid,type:"error"},on:{click:t.clearAbsence}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Disable absence"))+"\n\t\t")])],1)],1)}),[],!1,null,"5c67914f",null);const L=M.exports;var P=n(25108),Y=n(34155),k=n(18350);function R(t,e,r,n,i,a,s,o){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(u=function(t){!(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=o?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}!function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";.material-design-icon[data-v-22982259]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.native-datetime-picker[data-v-22982259]{display:flex;flex-direction:column}.native-datetime-picker .native-datetime-picker--input[data-v-22982259]{width:100%;flex:0 0 auto;padding-right:4px}/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */.material-design-icon[data-v-f507b497]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-f507b497]{position:relative;width:fit-content;overflow:hidden;border:0;padding:0;font-size:var(--default-font-size);font-weight:700;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:22px;transition-property:color,border-color,background-color;transition-duration:.1s;transition-timing-function:linear;color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light)}.button-vue *[data-v-f507b497],.button-vue span[data-v-f507b497]{cursor:pointer}.button-vue[data-v-f507b497]:focus{outline:none}.button-vue[data-v-f507b497]:disabled{cursor:default;opacity:.5;filter:saturate(.7)}.button-vue:disabled *[data-v-f507b497]{cursor:default}.button-vue[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-f507b497]:active{background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-f507b497]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-f507b497]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-f507b497]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-f507b497]{flex-direction:row-reverse}.button-vue--reverse.button-vue--icon-and-text[data-v-f507b497]{padding-inline:calc(var(--default-grid-baseline) * 4) var(--default-grid-baseline)}.button-vue__icon[data-v-f507b497]{height:44px;width:44px;min-height:44px;min-width:44px;display:flex;justify-content:center;align-items:center}.button-vue__text[data-v-f507b497]{font-weight:700;margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue--icon-only[data-v-f507b497]{width:44px!important}.button-vue--text-only[data-v-f507b497]{padding:0 12px}.button-vue--text-only .button-vue__text[data-v-f507b497]{margin-left:4px;margin-right:4px}.button-vue--icon-and-text[data-v-f507b497]{padding-block:0;padding-inline:var(--default-grid-baseline) calc(var(--default-grid-baseline) * 4)}.button-vue--wide[data-v-f507b497]{width:100%}.button-vue[data-v-f507b497]:focus-visible{outline:2px solid var(--color-main-text)!important;box-shadow:0 0 0 4px var(--color-main-background)!important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-f507b497]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius);background-color:transparent}.button-vue--vue-primary[data-v-f507b497]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.button-vue--vue-primary[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-f507b497]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-f507b497]{color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light)}.button-vue--vue-secondary[data-v-f507b497]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--vue-tertiary[data-v-f507b497]{color:var(--color-main-text);background-color:transparent}.button-vue--vue-tertiary[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--vue-tertiary-no-background[data-v-f507b497]{color:var(--color-main-text);background-color:transparent}.button-vue--vue-tertiary-no-background[data-v-f507b497]:hover:not(:disabled){background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-f507b497]{color:var(--color-primary-element-text);background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-f507b497]:hover:not(:disabled){background-color:transparent}.button-vue--vue-success[data-v-f507b497]{background-color:var(--color-success);color:#fff}.button-vue--vue-success[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-f507b497]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-f507b497]{background-color:var(--color-warning);color:#fff}.button-vue--vue-warning[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-f507b497]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-f507b497]{background-color:var(--color-error);color:#fff}.button-vue--vue-error[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-f507b497]:active{background-color:var(--color-error)}.availability-day[data-v-31358f1f]{padding:0 10px;position:absolute}.availability-slots[data-v-31358f1f]{display:flex;white-space:nowrap}.availability-slot[data-v-31358f1f]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-31358f1f]{display:flex;flex-direction:column}[data-v-31358f1f] .mx-input-wrapper{width:85px}[data-v-31358f1f] .mx-datepicker{width:97px}[data-v-31358f1f] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-31358f1f]{padding:32px 12px 12px 0}.grid-table[data-v-31358f1f]{display:grid;margin-bottom:32px;grid-column-gap:24px;grid-row-gap:6px;grid-template-columns:min-content min-content min-content}.button[data-v-31358f1f]{align-self:flex-end}.label-weekday[data-v-31358f1f]{position:relative;display:flex;align-items:flex-start}.label-weekday>span[data-v-31358f1f]{height:50px;display:flex;align-items:center}.add-another[data-v-31358f1f]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-31358f1f]:hover{opacity:1}.to-text[data-v-31358f1f]{padding-right:12px}.time-zone-text[data-v-31358f1f]{padding-left:22px}.empty-content[data-v-31358f1f]{color:var(--color-text-lighter);display:inline-flex;align-items:center}.start-date[data-v-31358f1f]{padding-right:12px}')),document.head.appendChild(t)}}catch(t){P.error("vite-plugin-css-injected-by-js",t)}}();const B=["date","datetime-local","month","time","week"],j={name:"NcDateTimePickerNative",inheritAttrs:!1,props:{value:{type:Date,default:null},id:{type:String,required:!0},type:{type:String,default:"date",validate:t=>B.includes(t)},label:{type:String,default:"Please choose a date"},min:{type:[Date,Boolean],default:null},max:{type:[Date,Boolean],default:null},hideLabel:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["input"],computed:{formattedValue(){return this.formatValue(this.value)},formattedMin(){return!!this.min&&this.formatValue(this.min)},formattedMax(){return!!this.max&&this.formatValue(this.max)},listeners(){return{...this.$listeners,input:t=>{if(isNaN(t.target.valueAsNumber))return this.$emit("input",null);if("time"===this.type){const e=t.target.value;if(""===this.value){const{yyyy:t,MM:r,dd:n}=this.getReadableDate(new Date);return this.$emit("input",new Date(`${t}-${r}-${n}T${e}`))}const{yyyy:r,MM:n,dd:i}=this.getReadableDate(this.value);return this.$emit("input",new Date(`${r}-${n}-${i}T${e}`))}if("month"===this.type){const e=(new Date(t.target.value).getMonth()+1).toString().padStart(2,"0");if(""===this.value){const{yyyy:t,dd:r,hh:n,mm:i}=this.getReadableDate(new Date);return this.$emit("input",new Date(`${t}-${e}-${r}T${n}:${i}`))}const{yyyy:r,dd:n,hh:i,mm:a}=this.getReadableDate(this.value);return this.$emit("input",new Date(`${r}-${e}-${n}T${i}:${a}`))}const e=1e3*new Date(t.target.valueAsNumber).getTimezoneOffset()*60,r=t.target.valueAsNumber+e;return this.$emit("input",new Date(r))}}}},methods:{getReadableDate(t){if(t instanceof Date)return{yyyy:t.getFullYear().toString().padStart(4,"0"),MM:(t.getMonth()+1).toString().padStart(2,"0"),dd:t.getDate().toString().padStart(2,"0"),hh:t.getHours().toString().padStart(2,"0"),mm:t.getMinutes().toString().padStart(2,"0")}},formatValue(t){if(!(t instanceof Date))return"";{const{yyyy:e,MM:r,dd:n,hh:i,mm:a}=this.getReadableDate(t);if("datetime-local"===this.type)return`${e}-${r}-${n}T${i}:${a}`;if("date"===this.type)return`${e}-${r}-${n}`;if("month"===this.type)return`${e}-${r}`;if("time"===this.type)return`${i}:${a}`;if("week"===this.type){const r=new Date(e,0,1),n=Math.floor((t-r)/864e5);return`${e}-W${Math.ceil(n/7)}`}}}}};var z=function(){var t=this,e=t._self._c;return e("div",{staticClass:"native-datetime-picker"},[e("label",{class:{"hidden-visually":t.hideLabel},attrs:{for:t.id}},[t._v(t._s(t.label))]),e("input",t._g(t._b({staticClass:"native-datetime-picker--input",class:t.inputClass,attrs:{id:t.id,type:t.type,min:t.formattedMin,max:t.formattedMax},domProps:{value:t.formattedValue}},"input",t.$attrs,!1),t.listeners))])};const F=R(j,z,[],!1,null,"22982259",null,null).exports;var W;(W=F).mounted?Array.isArray(W.mounted)||(W.mounted=[W.mounted]):W.mounted=[],W.mounted.push((function(){this.$el.setAttribute("data-v-cfad8df","")}));const $={name:"NcButton",props:{alignment:{type:String,default:"center",validator:t=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,validator:t=>-1!==["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(t),default:"secondary"},nativeType:{type:String,validator:t=>-1!==["submit","reset","button"].indexOf(t),default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null}},emits:["update:pressed","click"],computed:{realType(){return this.pressed?"primary":!1===this.pressed&&"primary"===this.type?"secondary":this.type},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")}},render(t){var e,r,n;const i=!!this.$slots.default,a=null==(e=this.$slots)?void 0:e.icon;!i&&!this.ariaLabel&&P.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:null==(n=null==(r=this.$slots.default)?void 0:r[0])?void 0:n.text,ariaLabel:this.ariaLabel},this);const s=({navigate:e,isActive:r,isExactActive:n}={})=>t(this.to||!this.href?"button":"a",{class:["button-vue",{"button-vue--icon-only":a&&!i,"button-vue--text-only":i&&!a,"button-vue--icon-and-text":a&&i,[`button-vue--vue-${this.realType}`]:this.realType,"button-vue--wide":this.wide,[`button-vue--${this.flexAlignment}`]:"center"!==this.flexAlignment,"button-vue--reverse":this.isReverseAligned,active:r,"router-link-exact-active":n}],attrs:{"aria-label":this.ariaLabel,"aria-pressed":this.pressed,disabled:this.disabled,type:this.href?null:this.nativeType,role:this.href?"button":null,href:!this.to&&this.href?this.href:null,target:!this.to&&this.href?"_self":null,rel:!this.to&&this.href?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.$attrs},on:{...this.$listeners,click:t=>{"boolean"==typeof this.pressed&&this.$emit("update:pressed",!this.pressed),this.$emit("click",t),null==e||e(t)}}},[t("span",{class:"button-vue__wrapper"},[a?t("span",{class:"button-vue__icon",attrs:{"aria-hidden":this.ariaHidden}},[this.$slots.icon]):null,i?t("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?t("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:s}}):s()}},V=R($,null,null,!1,null,"f507b497",null,null).exports;function H(t,e,r,n,i,a,s,o){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(u=function(t){!(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=o?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}const G=H({name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon delete-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null,null).exports,Z={name:"CalendarAvailability",components:{NcDateTimePickerNative:F,NcButton:V,IconAdd:H({name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon plus-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null,null).exports,IconDelete:G},props:{slots:{type:Object,required:!0},loading:{type:Boolean,default:!1},l10nTo:{type:String,required:!0},l10nDeleteSlot:{type:String,required:!0},l10nEmptyDay:{type:String,required:!0},l10nAddSlot:{type:String,required:!0},l10nMonday:{type:String,required:!0},l10nTuesday:{type:String,required:!0},l10nWednesday:{type:String,required:!0},l10nThursday:{type:String,required:!0},l10nFriday:{type:String,required:!0},l10nSaturday:{type:String,required:!0},l10nSunday:{type:String,required:!0},l10nStartPickerLabel:{type:Function,default:t=>`Pick a start time for ${t}`},l10nEndPickerLabel:{type:Function,default:t=>`Pick a end time for ${t}`}},data(){return{internalSlots:this.slotsToInternalData(this.slots)}},watch:{slots(){this.internalSlots=this.slotsToInternalData(this.slots)}},methods:{timeStampSlotsToDateObjectSlots:t=>t.map((t=>({start:new Date(1e3*t.start),end:new Date(1e3*t.end)}))),slotsToInternalData(){const t=[{id:"MO",displayName:this.l10nMonday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.MO)},{id:"TU",displayName:this.l10nTuesday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.TU)},{id:"WE",displayName:this.l10nWednesday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.WE)},{id:"TH",displayName:this.l10nThursday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.TH)},{id:"FR",displayName:this.l10nFriday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.FR)},{id:"SA",displayName:this.l10nSaturday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.SA)}],e={id:"SU",displayName:this.l10nSunday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.SU)};return 1===(0,a.yo)()?[...t,e]:[e,...t]},internalDataToSlots(){const t={};return this.internalSlots.forEach((({id:e,slots:r})=>{t[e]=r.map((t=>({start:Math.round(t.start.getTime()/1e3),end:Math.round(t.end.getTime()/1e3)})))})),t},addSlot(t){const e=new Date;e.setHours(9,0,0,0);const r=new Date;r.setHours(17,0,0,0),t.slots.push({start:e,end:r}),this.onChangeSlots()},removeSlot(t,e){t.slots.splice(e,1),this.onChangeSlots()},onChangeSlots(){this.$emit("update:slots",this.internalDataToSlots())}}},K=H(Z,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"grid-table"},[t._l(t.internalSlots,(function(r){return[e("div",{key:`day-label-${r.id}`,staticClass:"label-weekday"},[e("span",[t._v(t._s(r.displayName))])]),e("div",{key:`day-slots-${r.id}`,staticClass:"availability-slots"},[e("div",{staticClass:"availability-slot-group"},[t._l(r.slots,(function(n,i){var a,s;return[e("div",{key:`slot-${r.id}-${i}`,staticClass:"availability-slot"},[e("NcDateTimePickerNative",{staticClass:"start-date",attrs:{id:`start-${r.id}-${i}`,type:"time",label:null==(a=t.l10nStartPickerLabel)?void 0:a.call(t,r.displayName),"hide-label":!0},on:{change:t.onChangeSlots},model:{value:n.start,callback:function(e){t.$set(n,"start",e)},expression:"slot.start"}}),e("span",{staticClass:"to-text"},[t._v(" "+t._s(t.l10nTo)+" ")]),e("NcDateTimePickerNative",{staticClass:"end-date",attrs:{id:`end-${r.id}-${i}`,type:"time",label:null==(s=t.l10nEndPickerLabel)?void 0:s.call(t,r.displayName),"hide-label":!0},on:{change:t.onChangeSlots},model:{value:n.end,callback:function(e){t.$set(n,"end",e)},expression:"slot.end"}}),e("NcButton",{key:`slot-${r.id}-${i}-btn`,staticClass:"button",attrs:{type:"tertiary","aria-label":t.l10nDeleteSlot,title:t.l10nDeleteSlot},on:{click:function(e){return t.removeSlot(r,i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDelete",{attrs:{size:20}})]},proxy:!0}],null,!0)})],1)]}))],2),0===r.slots.length?e("span",{staticClass:"empty-content"},[t._v(" "+t._s(t.l10nEmptyDay)+" ")]):t._e()]),e("NcButton",{key:`add-slot-${r.id}`,staticClass:"add-another button",attrs:{disabled:t.loading,title:t.l10nAddSlot,"aria-label":t.l10nAddSlot},on:{click:function(e){return t.addSlot(r)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAdd",{attrs:{size:20}})]},proxy:!0}],null,!0)})]}))],2)}),[],!1,null,"31358f1f",null,null).exports;var q=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},X={},J={};Object.defineProperty(J,"__esModule",{value:!0}),J.zonesMap=J.defaultStart=void 0,J.defaultStart="19700101T000000",J.zonesMap=new Map([["Africa/Abidjan",{s:{f:"+0000",n:"GMT"}}],["Africa/Accra",{s:{f:"+0000",n:"GMT"}}],["Africa/Addis_Ababa",{s:{f:"+0300",n:"EAT"}}],["Africa/Algiers",{s:{f:"+0100",n:"CET"}}],["Africa/Asmara",{s:{f:"+0300",n:"EAT"}}],["Africa/Bamako",{s:{f:"+0000",n:"GMT"}}],["Africa/Bangui",{s:{f:"+0100",n:"WAT"}}],["Africa/Banjul",{s:{f:"+0000",n:"GMT"}}],["Africa/Bissau",{s:{f:"+0000",n:"GMT"}}],["Africa/Blantyre",{s:{f:"+0200",n:"CAT"}}],["Africa/Brazzaville",{s:{f:"+0100",n:"WAT"}}],["Africa/Bujumbura",{s:{f:"+0200",n:"CAT"}}],["Africa/Cairo",{s:{f:"+0200",n:"EET"}}],["Africa/Casablanca",{s:{f:"+0100",n:"+01"}}],["Africa/Ceuta",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Africa/Conakry",{s:{f:"+0000",n:"GMT"}}],["Africa/Dakar",{s:{f:"+0000",n:"GMT"}}],["Africa/Dar_es_Salaam",{s:{f:"+0300",n:"EAT"}}],["Africa/Djibouti",{s:{f:"+0300",n:"EAT"}}],["Africa/Douala",{s:{f:"+0100",n:"WAT"}}],["Africa/El_Aaiun",{s:{f:"+0100",n:"+01"}}],["Africa/Freetown",{s:{f:"+0000",n:"GMT"}}],["Africa/Gaborone",{s:{f:"+0200",n:"CAT"}}],["Africa/Harare",{s:{f:"+0200",n:"CAT"}}],["Africa/Johannesburg",{s:{f:"+0200",n:"SAST"}}],["Africa/Juba",{s:{f:"+0300",n:"EAT"}}],["Africa/Kampala",{s:{f:"+0300",n:"EAT"}}],["Africa/Khartoum",{s:{f:"+0200",n:"CAT"}}],["Africa/Kigali",{s:{f:"+0200",n:"CAT"}}],["Africa/Kinshasa",{s:{f:"+0100",n:"WAT"}}],["Africa/Lagos",{s:{f:"+0100",n:"WAT"}}],["Africa/Libreville",{s:{f:"+0100",n:"WAT"}}],["Africa/Lome",{s:{f:"+0000",n:"GMT"}}],["Africa/Luanda",{s:{f:"+0100",n:"WAT"}}],["Africa/Lubumbashi",{s:{f:"+0200",n:"CAT"}}],["Africa/Lusaka",{s:{f:"+0200",n:"CAT"}}],["Africa/Malabo",{s:{f:"+0100",n:"WAT"}}],["Africa/Maputo",{s:{f:"+0200",n:"CAT"}}],["Africa/Maseru",{s:{f:"+0200",n:"SAST"}}],["Africa/Mbabane",{s:{f:"+0200",n:"SAST"}}],["Africa/Mogadishu",{s:{f:"+0300",n:"EAT"}}],["Africa/Monrovia",{s:{f:"+0000",n:"GMT"}}],["Africa/Nairobi",{s:{f:"+0300",n:"EAT"}}],["Africa/Ndjamena",{s:{f:"+0100",n:"WAT"}}],["Africa/Niamey",{s:{f:"+0100",n:"WAT"}}],["Africa/Nouakchott",{s:{f:"+0000",n:"GMT"}}],["Africa/Ouagadougou",{s:{f:"+0000",n:"GMT"}}],["Africa/Porto-Novo",{s:{f:"+0100",n:"WAT"}}],["Africa/Sao_Tome",{s:{f:"+0100",n:"WAT"}}],["Africa/Tripoli",{s:{f:"+0200",n:"EET"}}],["Africa/Tunis",{s:{f:"+0100",n:"CET"}}],["Africa/Windhoek",{s:{f:"+0200",n:"CAT"}}],["America/Adak",{s:{f:"-0900",t:"-1000",n:"HST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-1000",t:"-0900",n:"HDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Anchorage",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Anguilla",{s:{f:"-0400",n:"AST"}}],["America/Antigua",{s:{f:"-0400",n:"AST"}}],["America/Araguaina",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Buenos_Aires",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Catamarca",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Cordoba",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Jujuy",{s:{f:"-0300",n:"-03"}}],["America/Argentina/La_Rioja",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Mendoza",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Rio_Gallegos",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Salta",{s:{f:"-0300",n:"-03"}}],["America/Argentina/San_Juan",{s:{f:"-0300",n:"-03"}}],["America/Argentina/San_Luis",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Tucuman",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Ushuaia",{s:{f:"-0300",n:"-03"}}],["America/Aruba",{s:{f:"-0400",n:"AST"}}],["America/Asuncion",{s:{f:"-0300",t:"-0400",n:"-04",s:"19700322T000000",r:{m:3,d:"4SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701004T000000",r:{m:10,d:"1SU"}}}],["America/Atikokan",{s:{f:"-0500",n:"EST"}}],["America/Bahia_Banderas",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Bahia",{s:{f:"-0300",n:"-03"}}],["America/Barbados",{s:{f:"-0400",n:"AST"}}],["America/Belem",{s:{f:"-0300",n:"-03"}}],["America/Belize",{s:{f:"-0600",n:"CST"}}],["America/Blanc-Sablon",{s:{f:"-0400",n:"AST"}}],["America/Boa_Vista",{s:{f:"-0400",n:"-04"}}],["America/Bogota",{s:{f:"-0500",n:"-05"}}],["America/Boise",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Cambridge_Bay",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Campo_Grande",{s:{f:"-0400",n:"-04",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Cancun",{s:{f:"-0500",n:"EST"}}],["America/Caracas",{s:{f:"-0400",n:"-04"}}],["America/Cayenne",{s:{f:"-0300",n:"-03"}}],["America/Cayman",{s:{f:"-0500",n:"EST"}}],["America/Chicago",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Chihuahua",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Costa_Rica",{s:{f:"-0600",n:"CST"}}],["America/Creston",{s:{f:"-0700",n:"MST"}}],["America/Cuiaba",{s:{f:"-0400",n:"-04",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Curacao",{s:{f:"-0400",n:"AST"}}],["America/Danmarkshavn",{s:{f:"+0000",n:"GMT"}}],["America/Dawson_Creek",{s:{f:"-0700",n:"MST"}}],["America/Dawson",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Denver",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Detroit",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Dominica",{s:{f:"-0400",n:"AST"}}],["America/Edmonton",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Eirunepe",{s:{f:"-0500",n:"-05"}}],["America/El_Salvador",{s:{f:"-0600",n:"CST"}}],["America/Fort_Nelson",{s:{f:"-0700",n:"MST"}}],["America/Fortaleza",{s:{f:"-0300",n:"-03"}}],["America/Glace_Bay",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Godthab",{s:{f:"-0200",t:"-0300",n:"-03",s:"19701024T230000",r:{m:10,d:"-1SA"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19700328T220000",r:{m:3,d:"-1SA"}}}],["America/Goose_Bay",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Grand_Turk",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Grenada",{s:{f:"-0400",n:"AST"}}],["America/Guadeloupe",{s:{f:"-0400",n:"AST"}}],["America/Guatemala",{s:{f:"-0600",n:"CST"}}],["America/Guayaquil",{s:{f:"-0500",n:"-05"}}],["America/Guyana",{s:{f:"-0400",n:"-04"}}],["America/Halifax",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Havana",{s:{f:"-0400",t:"-0500",n:"CST",s:"19701101T010000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"CDT",s:"19700308T000000",r:{m:3,d:"2SU"}}}],["America/Hermosillo",{s:{f:"-0700",n:"MST"}}],["America/Indiana/Indianapolis",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Knox",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Marengo",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Petersburg",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Tell_City",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Vevay",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Vincennes",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Winamac",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Inuvik",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Iqaluit",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Jamaica",{s:{f:"-0500",n:"EST"}}],["America/Juneau",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kentucky/Louisville",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kentucky/Monticello",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kralendijk",{s:{f:"-0400",n:"AST"}}],["America/La_Paz",{s:{f:"-0400",n:"-04"}}],["America/Lima",{s:{f:"-0500",n:"-05"}}],["America/Los_Angeles",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Lower_Princes",{s:{f:"-0400",n:"AST"}}],["America/Maceio",{s:{f:"-0300",n:"-03"}}],["America/Managua",{s:{f:"-0600",n:"CST"}}],["America/Manaus",{s:{f:"-0400",n:"-04"}}],["America/Marigot",{s:{f:"-0400",n:"AST"}}],["America/Martinique",{s:{f:"-0400",n:"AST"}}],["America/Matamoros",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Mazatlan",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Menominee",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Merida",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Metlakatla",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Mexico_City",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Miquelon",{s:{f:"-0200",t:"-0300",n:"-03",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Moncton",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Monterrey",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Montevideo",{s:{f:"-0300",n:"-03"}}],["America/Montserrat",{s:{f:"-0400",n:"AST"}}],["America/Nassau",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/New_York",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Nipigon",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Nome",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Noronha",{s:{f:"-0200",n:"-02"}}],["America/North_Dakota/Beulah",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/North_Dakota/Center",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/North_Dakota/New_Salem",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Ojinaga",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Panama",{s:{f:"-0500",n:"EST"}}],["America/Pangnirtung",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Paramaribo",{s:{f:"-0300",n:"-03"}}],["America/Phoenix",{s:{f:"-0700",n:"MST"}}],["America/Port_of_Spain",{s:{f:"-0400",n:"AST"}}],["America/Port-au-Prince",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Porto_Velho",{s:{f:"-0400",n:"-04"}}],["America/Puerto_Rico",{s:{f:"-0400",n:"AST"}}],["America/Punta_Arenas",{s:{f:"-0300",n:"-03"}}],["America/Rainy_River",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Rankin_Inlet",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Recife",{s:{f:"-0300",n:"-03"}}],["America/Regina",{s:{f:"-0600",n:"CST"}}],["America/Resolute",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Rio_Branco",{s:{f:"-0500",n:"-05"}}],["America/Santarem",{s:{f:"-0300",n:"-03"}}],["America/Santiago",{s:{f:"-0300",t:"-0400",n:"-04",s:"19700405T000000",r:{m:4,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19700906T000000",r:{m:9,d:"1SU"}}}],["America/Santo_Domingo",{s:{f:"-0400",n:"AST"}}],["America/Sao_Paulo",{s:{f:"-0300",n:"-03",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Scoresbysund",{s:{f:"+0000",t:"-0100",n:"-01",s:"19701025T010000",r:{m:10,d:"-1SU"}},d:{f:"-0100",t:"+0000",n:"+00",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["America/Sitka",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/St_Barthelemy",{s:{f:"-0400",n:"AST"}}],["America/St_Johns",{s:{f:"-0230",t:"-0330",n:"NST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0330",t:"-0230",n:"NDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/St_Kitts",{s:{f:"-0400",n:"AST"}}],["America/St_Lucia",{s:{f:"-0400",n:"AST"}}],["America/St_Thomas",{s:{f:"-0400",n:"AST"}}],["America/St_Vincent",{s:{f:"-0400",n:"AST"}}],["America/Swift_Current",{s:{f:"-0600",n:"CST"}}],["America/Tegucigalpa",{s:{f:"-0600",n:"CST"}}],["America/Thule",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Thunder_Bay",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Tijuana",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Toronto",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Tortola",{s:{f:"-0400",n:"AST"}}],["America/Vancouver",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Whitehorse",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Winnipeg",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Yakutat",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Yellowknife",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["Antarctica/Casey",{s:{f:"+0800",n:"+08"}}],["Antarctica/Davis",{s:{f:"+0700",n:"+07"}}],["Antarctica/DumontDUrville",{s:{f:"+1000",n:"+10"}}],["Antarctica/Macquarie",{s:{f:"+1100",n:"+11"}}],["Antarctica/Mawson",{s:{f:"+0500",n:"+05"}}],["Antarctica/McMurdo",{s:{f:"+1300",t:"+1200",n:"NZST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1200",t:"+1300",n:"NZDT",s:"19700927T020000",r:{m:9,d:"-1SU"}}}],["Antarctica/Palmer",{s:{f:"-0300",n:"-03"}}],["Antarctica/Rothera",{s:{f:"-0300",n:"-03"}}],["Antarctica/Syowa",{s:{f:"+0300",n:"+03"}}],["Antarctica/Troll",{s:{f:"+0200",t:"+0000",n:"+00",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0200",n:"+02",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Antarctica/Vostok",{s:{f:"+0600",n:"+06"}}],["Arctic/Longyearbyen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Asia/Aden",{s:{f:"+0300",n:"+03"}}],["Asia/Almaty",{s:{f:"+0600",n:"+06"}}],["Asia/Amman",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701030T010000",r:{m:10,d:"-1FR"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700326T235959",r:{m:3,d:"-1TH"}}}],["Asia/Anadyr",{s:{f:"+1200",n:"+12"}}],["Asia/Aqtau",{s:{f:"+0500",n:"+05"}}],["Asia/Aqtobe",{s:{f:"+0500",n:"+05"}}],["Asia/Ashgabat",{s:{f:"+0500",n:"+05"}}],["Asia/Atyrau",{s:{f:"+0500",n:"+05"}}],["Asia/Baghdad",{s:{f:"+0300",n:"+03"}}],["Asia/Bahrain",{s:{f:"+0300",n:"+03"}}],["Asia/Baku",{s:{f:"+0400",n:"+04"}}],["Asia/Bangkok",{s:{f:"+0700",n:"+07"}}],["Asia/Barnaul",{s:{f:"+0700",n:"+07"}}],["Asia/Beirut",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T000000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["Asia/Bishkek",{s:{f:"+0600",n:"+06"}}],["Asia/Brunei",{s:{f:"+0800",n:"+08"}}],["Asia/Chita",{s:{f:"+0900",n:"+09"}}],["Asia/Choibalsan",{s:{f:"+0800",n:"+08"}}],["Asia/Colombo",{s:{f:"+0530",n:"+0530"}}],["Asia/Damascus",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701030T000000",r:{m:10,d:"-1FR"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700327T000000",r:{m:3,d:"-1FR"}}}],["Asia/Dhaka",{s:{f:"+0600",n:"+06"}}],["Asia/Dili",{s:{f:"+0900",n:"+09"}}],["Asia/Dubai",{s:{f:"+0400",n:"+04"}}],["Asia/Dushanbe",{s:{f:"+0500",n:"+05"}}],["Asia/Famagusta",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Asia/Gaza",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701031T010000",r:{m:10,d:"-1SA"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700328T010000",r:{m:3,d:"4SA"}}}],["Asia/Hebron",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701031T010000",r:{m:10,d:"-1SA"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700328T010000",r:{m:3,d:"4SA"}}}],["Asia/Ho_Chi_Minh",{s:{f:"+0700",n:"+07"}}],["Asia/Hong_Kong",{s:{f:"+0800",n:"HKT"}}],["Asia/Hovd",{s:{f:"+0700",n:"+07"}}],["Asia/Irkutsk",{s:{f:"+0800",n:"+08"}}],["Asia/Istanbul",{s:{f:"+0300",n:"+03"}}],["Asia/Jakarta",{s:{f:"+0700",n:"WIB"}}],["Asia/Jayapura",{s:{f:"+0900",n:"WIT"}}],["Asia/Jerusalem",{s:{f:"+0300",t:"+0200",n:"IST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"IDT",s:"19700327T020000",r:{m:3,d:"-1FR"}}}],["Asia/Kabul",{s:{f:"+0430",n:"+0430"}}],["Asia/Kamchatka",{s:{f:"+1200",n:"+12"}}],["Asia/Karachi",{s:{f:"+0500",n:"PKT"}}],["Asia/Kathmandu",{s:{f:"+0545",n:"+0545"}}],["Asia/Khandyga",{s:{f:"+0900",n:"+09"}}],["Asia/Kolkata",{s:{f:"+0530",n:"IST"}}],["Asia/Krasnoyarsk",{s:{f:"+0700",n:"+07"}}],["Asia/Kuala_Lumpur",{s:{f:"+0800",n:"+08"}}],["Asia/Kuching",{s:{f:"+0800",n:"+08"}}],["Asia/Kuwait",{s:{f:"+0300",n:"+03"}}],["Asia/Macau",{s:{f:"+0800",n:"CST"}}],["Asia/Magadan",{s:{f:"+1100",n:"+11"}}],["Asia/Makassar",{s:{f:"+0800",n:"WITA"}}],["Asia/Manila",{s:{f:"+0800",n:"PST"}}],["Asia/Muscat",{s:{f:"+0400",n:"+04"}}],["Asia/Nicosia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Asia/Novokuznetsk",{s:{f:"+0700",n:"+07"}}],["Asia/Novosibirsk",{s:{f:"+0700",n:"+07"}}],["Asia/Omsk",{s:{f:"+0600",n:"+06"}}],["Asia/Oral",{s:{f:"+0500",n:"+05"}}],["Asia/Phnom_Penh",{s:{f:"+0700",n:"+07"}}],["Asia/Pontianak",{s:{f:"+0700",n:"WIB"}}],["Asia/Pyongyang",{s:{f:"+0900",n:"KST"}}],["Asia/Qatar",{s:{f:"+0300",n:"+03"}}],["Asia/Qyzylorda",{s:{f:"+0600",n:"+06"}}],["Asia/Riyadh",{s:{f:"+0300",n:"+03"}}],["Asia/Sakhalin",{s:{f:"+1100",n:"+11"}}],["Asia/Samarkand",{s:{f:"+0500",n:"+05"}}],["Asia/Seoul",{s:{f:"+0900",n:"KST"}}],["Asia/Shanghai",{s:{f:"+0800",n:"CST"}}],["Asia/Singapore",{s:{f:"+0800",n:"+08"}}],["Asia/Srednekolymsk",{s:{f:"+1100",n:"+11"}}],["Asia/Taipei",{s:{f:"+0800",n:"CST"}}],["Asia/Tashkent",{s:{f:"+0500",n:"+05"}}],["Asia/Tbilisi",{s:{f:"+0400",n:"+04"}}],["Asia/Tehran",{s:{f:"+0430",t:"+0330",n:"+0330",s:"19700921T000000",r:{m:9,d:"3SU"}},d:{f:"+0330",t:"+0430",n:"+0430",s:"19700321T000000",r:{m:3,d:"3SU"}}}],["Asia/Thimphu",{s:{f:"+0600",n:"+06"}}],["Asia/Tokyo",{s:{f:"+0900",n:"JST"}}],["Asia/Tomsk",{s:{f:"+0700",n:"+07"}}],["Asia/Ulaanbaatar",{s:{f:"+0800",n:"+08"}}],["Asia/Urumqi",{s:{f:"+0600",n:"+06"}}],["Asia/Ust-Nera",{s:{f:"+1000",n:"+10"}}],["Asia/Vientiane",{s:{f:"+0700",n:"+07"}}],["Asia/Vladivostok",{s:{f:"+1000",n:"+10"}}],["Asia/Yakutsk",{s:{f:"+0900",n:"+09"}}],["Asia/Yangon",{s:{f:"+0630",n:"+0630"}}],["Asia/Yekaterinburg",{s:{f:"+0500",n:"+05"}}],["Asia/Yerevan",{s:{f:"+0400",n:"+04"}}],["Atlantic/Azores",{s:{f:"+0000",t:"-0100",n:"-01",s:"19701025T010000",r:{m:10,d:"-1SU"}},d:{f:"-0100",t:"+0000",n:"+00",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["Atlantic/Bermuda",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["Atlantic/Canary",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Cape_Verde",{s:{f:"-0100",n:"-01"}}],["Atlantic/Faroe",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Madeira",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Reykjavik",{s:{f:"+0000",n:"GMT"}}],["Atlantic/South_Georgia",{s:{f:"-0200",n:"-02"}}],["Atlantic/St_Helena",{s:{f:"+0000",n:"GMT"}}],["Atlantic/Stanley",{s:{f:"-0300",n:"-03"}}],["Australia/Adelaide",{s:{f:"+1030",t:"+0930",n:"ACST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+0930",t:"+1030",n:"ACDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Brisbane",{s:{f:"+1000",n:"AEST"}}],["Australia/Broken_Hill",{s:{f:"+1030",t:"+0930",n:"ACST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+0930",t:"+1030",n:"ACDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Currie",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Darwin",{s:{f:"+0930",n:"ACST"}}],["Australia/Eucla",{s:{f:"+0845",n:"+0845"}}],["Australia/Hobart",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Lindeman",{s:{f:"+1000",n:"AEST"}}],["Australia/Lord_Howe",{s:{f:"+1100",t:"+1030",n:"+1030",s:"19700405T020000",r:{m:4,d:"1SU"}},d:{f:"+1030",t:"+1100",n:"+11",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Melbourne",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Perth",{s:{f:"+0800",n:"AWST"}}],["Australia/Sydney",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Etc/GMT-0",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT-1",{s:{f:"-0100",n:"-01"}}],["Etc/GMT-10",{s:{f:"-1000",n:"-10"}}],["Etc/GMT-11",{s:{f:"-1100",n:"-11"}}],["Etc/GMT-12",{s:{f:"-1200",n:"-12"}}],["Etc/GMT-2",{s:{f:"-0200",n:"-02"}}],["Etc/GMT-3",{s:{f:"-0300",n:"-03"}}],["Etc/GMT-4",{s:{f:"-0400",n:"-04"}}],["Etc/GMT-5",{s:{f:"-0500",n:"-05"}}],["Etc/GMT-6",{s:{f:"-0600",n:"-06"}}],["Etc/GMT-7",{s:{f:"-0700",n:"-07"}}],["Etc/GMT-8",{s:{f:"-0800",n:"-08"}}],["Etc/GMT-9",{s:{f:"-0900",n:"-09"}}],["Etc/GMT",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT+0",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT+1",{s:{f:"+0100",n:"+01"}}],["Etc/GMT+10",{s:{f:"+1000",n:"+10"}}],["Etc/GMT+11",{s:{f:"+1100",n:"+11"}}],["Etc/GMT+12",{s:{f:"+1200",n:"+12"}}],["Etc/GMT+13",{s:{f:"+1300",n:"+13"}}],["Etc/GMT+14",{s:{f:"+1400",n:"+14"}}],["Etc/GMT+2",{s:{f:"+0200",n:"+02"}}],["Etc/GMT+3",{s:{f:"+0300",n:"+03"}}],["Etc/GMT+4",{s:{f:"+0400",n:"+04"}}],["Etc/GMT+5",{s:{f:"+0500",n:"+05"}}],["Etc/GMT+6",{s:{f:"+0600",n:"+06"}}],["Etc/GMT+7",{s:{f:"+0700",n:"+07"}}],["Etc/GMT+8",{s:{f:"+0800",n:"+08"}}],["Etc/GMT+9",{s:{f:"+0900",n:"+09"}}],["Etc/GMT0",{s:{f:"+0000",n:"GMT"}}],["Etc/Greenwich",{s:{f:"+0000",n:"GMT"}}],["Etc/UCT",{s:{f:"+0000",n:"UCT"}}],["Etc/Universal",{s:{f:"+0000",n:"UTC"}}],["Etc/UTC",{s:{f:"+0000",n:"UTC"}}],["Etc/Zulu",{s:{f:"+0000",n:"UTC"}}],["Europe/Amsterdam",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Andorra",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Astrakhan",{s:{f:"+0400",n:"+04"}}],["Europe/Athens",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Belgrade",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Berlin",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Bratislava",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Brussels",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Bucharest",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Budapest",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Busingen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Chisinau",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Copenhagen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Dublin",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"IST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Gibraltar",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Guernsey",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Helsinki",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Isle_of_Man",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Istanbul",{s:{f:"+0300",n:"+03"}}],["Europe/Jersey",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Kaliningrad",{s:{f:"+0200",n:"EET"}}],["Europe/Kiev",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Kirov",{s:{f:"+0300",n:"+03"}}],["Europe/Lisbon",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Ljubljana",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/London",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Luxembourg",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Madrid",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Malta",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Mariehamn",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Minsk",{s:{f:"+0300",n:"+03"}}],["Europe/Monaco",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Moscow",{s:{f:"+0300",n:"MSK"}}],["Europe/Nicosia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Oslo",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Paris",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Podgorica",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Prague",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Riga",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Rome",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Samara",{s:{f:"+0400",n:"+04"}}],["Europe/San_Marino",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Sarajevo",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Saratov",{s:{f:"+0400",n:"+04"}}],["Europe/Simferopol",{s:{f:"+0300",n:"MSK"}}],["Europe/Skopje",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Sofia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Stockholm",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Tallinn",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Tirane",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Ulyanovsk",{s:{f:"+0400",n:"+04"}}],["Europe/Uzhgorod",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Vaduz",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vatican",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vienna",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vilnius",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Volgograd",{s:{f:"+0400",n:"+04"}}],["Europe/Warsaw",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Zagreb",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Zaporozhye",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Zurich",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Indian/Antananarivo",{s:{f:"+0300",n:"EAT"}}],["Indian/Chagos",{s:{f:"+0600",n:"+06"}}],["Indian/Christmas",{s:{f:"+0700",n:"+07"}}],["Indian/Cocos",{s:{f:"+0630",n:"+0630"}}],["Indian/Comoro",{s:{f:"+0300",n:"EAT"}}],["Indian/Kerguelen",{s:{f:"+0500",n:"+05"}}],["Indian/Mahe",{s:{f:"+0400",n:"+04"}}],["Indian/Maldives",{s:{f:"+0500",n:"+05"}}],["Indian/Mauritius",{s:{f:"+0400",n:"+04"}}],["Indian/Mayotte",{s:{f:"+0300",n:"EAT"}}],["Indian/Reunion",{s:{f:"+0400",n:"+04"}}],["Pacific/Apia",{s:{f:"+1400",t:"+1300",n:"+13",s:"19700405T040000",r:{m:4,d:"1SU"}},d:{f:"+1300",t:"+1400",n:"+14",s:"19700927T030000",r:{m:9,d:"-1SU"}}}],["Pacific/Auckland",{s:{f:"+1300",t:"+1200",n:"NZST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1200",t:"+1300",n:"NZDT",s:"19700927T020000",r:{m:9,d:"-1SU"}}}],["Pacific/Bougainville",{s:{f:"+1100",n:"+11"}}],["Pacific/Chatham",{s:{f:"+1345",t:"+1245",n:"+1245",s:"19700405T034500",r:{m:4,d:"1SU"}},d:{f:"+1245",t:"+1345",n:"+1345",s:"19700927T024500",r:{m:9,d:"-1SU"}}}],["Pacific/Chuuk",{s:{f:"+1000",n:"+10"}}],["Pacific/Easter",{s:{f:"-0500",t:"-0600",n:"-06",s:"19700404T220000",r:{m:4,d:"1SA"}},d:{f:"-0600",t:"-0500",n:"-05",s:"19700905T220000",r:{m:9,d:"1SA"}}}],["Pacific/Efate",{s:{f:"+1100",n:"+11"}}],["Pacific/Enderbury",{s:{f:"+1300",n:"+13"}}],["Pacific/Fakaofo",{s:{f:"+1300",n:"+13"}}],["Pacific/Fiji",{s:{f:"+1300",t:"+1200",n:"+12",s:"19700118T030000",r:{m:1,d:"-2SU"}},d:{f:"+1200",t:"+1300",n:"+13",s:"19701101T020000",r:{m:11,d:"1SU"}}}],["Pacific/Funafuti",{s:{f:"+1200",n:"+12"}}],["Pacific/Galapagos",{s:{f:"-0600",n:"-06"}}],["Pacific/Gambier",{s:{f:"-0900",n:"-09"}}],["Pacific/Guadalcanal",{s:{f:"+1100",n:"+11"}}],["Pacific/Guam",{s:{f:"+1000",n:"ChST"}}],["Pacific/Honolulu",{s:{f:"-1000",n:"HST"}}],["Pacific/Kiritimati",{s:{f:"+1400",n:"+14"}}],["Pacific/Kosrae",{s:{f:"+1100",n:"+11"}}],["Pacific/Kwajalein",{s:{f:"+1200",n:"+12"}}],["Pacific/Majuro",{s:{f:"+1200",n:"+12"}}],["Pacific/Marquesas",{s:{f:"-0930",n:"-0930"}}],["Pacific/Midway",{s:{f:"-1100",n:"SST"}}],["Pacific/Nauru",{s:{f:"+1200",n:"+12"}}],["Pacific/Niue",{s:{f:"-1100",n:"-11"}}],["Pacific/Norfolk",{s:{f:"+1100",n:"+11"}}],["Pacific/Noumea",{s:{f:"+1100",n:"+11"}}],["Pacific/Pago_Pago",{s:{f:"-1100",n:"SST"}}],["Pacific/Palau",{s:{f:"+0900",n:"+09"}}],["Pacific/Pitcairn",{s:{f:"-0800",n:"-08"}}],["Pacific/Pohnpei",{s:{f:"+1100",n:"+11"}}],["Pacific/Port_Moresby",{s:{f:"+1000",n:"+10"}}],["Pacific/Rarotonga",{s:{f:"-1000",n:"-10"}}],["Pacific/Saipan",{s:{f:"+1000",n:"ChST"}}],["Pacific/Tahiti",{s:{f:"-1000",n:"-10"}}],["Pacific/Tarawa",{s:{f:"+1200",n:"+12"}}],["Pacific/Tongatapu",{s:{f:"+1300",n:"+13"}}],["Pacific/Wake",{s:{f:"+1200",n:"+12"}}],["Pacific/Wallis",{s:{f:"+1200",n:"+12"}}]]),Object.defineProperty(X,"__esModule",{value:!0});var Q=X.getZoneString=X.getZoneLines=void 0;const tt=J;function et(t){const{n:e,f:r,t:n,r:i,s:a}=t;return[`TZNAME:${e}`,`TZOFFSETFROM:${r}`,`TZOFFSETTO:${n||r}`,`DTSTART:${a||tt.defaultStart}`,...i?[`RRULE:FREQ=${i.f||"YEARLY"};BYMONTH=${i.m};BYDAY=${i.d}`]:[]]}function rt(t,e=!0){const r=tt.zonesMap.get(t);if(r){const{s:n,d:i}=r;return[...e?["BEGIN:VTIMEZONE"]:[],`TZID:${t}`,"BEGIN:STANDARD",...et(n),"END:STANDARD",...i?["BEGIN:DAYLIGHT",...et(i),"END:DAYLIGHT"]:[],...e?["END:VTIMEZONE"]:[]]}}X.getZoneLines=rt,Q=X.getZoneString=function(t,e=!0){const r=rt(t,e);return null==r?void 0:r.join("\r\n")};var nt={exports:{}};!function(t){var e,r;(e=t.exports).foldLength=75,e.newLineChar="\r\n",e.helpers={updateTimezones:function(t){var r,n,i,a,s,o;if(!t||"vcalendar"!==t.name)return t;for(r=t.getAllSubcomponents(),n=[],i={},s=0;s<r.length;s++)"vtimezone"===r[s].name?i[o=r[s].getFirstProperty("tzid").getFirstValue()]=r[s]:n=n.concat(r[s].getAllProperties());for(a={},s=0;s<n.length;s++)(o=n[s].getParameter("tzid"))&&(a[o]=!0);for(s in i)i.hasOwnProperty(s)&&!a[s]&&t.removeSubcomponent(i[s]);for(s in a)a.hasOwnProperty(s)&&!i[s]&&e.TimezoneService.has(s)&&t.addSubcomponent(e.TimezoneService.get(s).component);return t},isStrictlyNaN:function(t){return"number"==typeof t&&isNaN(t)},strictParseInt:function(t){var r=parseInt(t,10);if(e.helpers.isStrictlyNaN(r))throw new Error('Could not extract integer from "'+t+'"');return r},formatClassType:function(t,e){if(!(typeof t>"u"))return t instanceof e?t:new e(t)},unescapedIndexOf:function(t,e,r){for(;-1!==(r=t.indexOf(e,r));){if(!(r>0&&"\\"===t[r-1]))return r;r+=1}return-1},binsearchInsert:function(t,e,r){if(!t.length)return 0;for(var n,i,a=0,s=t.length-1;a<=s;)if((i=r(e,t[n=a+Math.floor((s-a)/2)]))<0)s=n-1;else{if(!(i>0))break;a=n+1}return i<0?n:i>0?n+1:n},dumpn:function(){e.debug&&(e.helpers.dumpn=typeof P<"u"&&"log"in P?function(t){P.log(t)}:function(t){dump(t+"\n")},e.helpers.dumpn(arguments[0]))},clone:function(t,r){if(!t||"object"!=typeof t)return t;if(t instanceof Date)return new Date(t.getTime());if("clone"in t)return t.clone();if(Array.isArray(t)){for(var n=[],i=0;i<t.length;i++)n.push(r?e.helpers.clone(t[i],!0):t[i]);return n}var a={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=r?e.helpers.clone(t[s],!0):t[s]);return a},foldline:function(t){for(var r="",n=t||"",i=0,a=0;n.length;){var s=n.codePointAt(i);s<128?++a:a+=s<2048?2:s<65536?3:4,a<e.foldLength+1?i+=s>65535?2:1:(r+=e.newLineChar+" "+n.substring(0,i),n=n.substring(i),i=a=0)}return r.substr(e.newLineChar.length+1)},pad2:function(t){switch("string"!=typeof t&&("number"==typeof t&&(t=parseInt(t)),t=String(t)),t.length){case 0:return"00";case 1:return"0"+t;default:return t}},trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)},inherits:function(t,r,n){function i(){}i.prototype=t.prototype,r.prototype=new i,n&&e.helpers.extend(n,r.prototype)},extend:function(t,e){for(var r in t){var n=Object.getOwnPropertyDescriptor(t,r);n&&!Object.getOwnPropertyDescriptor(e,r)&&Object.defineProperty(e,r,n)}return e}},e.design=function(){var t=/\\\\|\\,|\\[Nn]/g,r=/\\|,|\n/g;function n(t,e){var r={matches:/.*/,fromICAL:function(e,r){return function(t,e,r){return-1===t.indexOf("\\")?t:(r&&(e=new RegExp(e.source+"|\\\\"+r)),t.replace(e,p))}(e,t,r)},toICAL:function(t,r){var n=e;return r&&(n=new RegExp(n.source+"|"+r)),t.replace(n,(function(t){switch(t){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case"\n":return"\\n";default:return t}}))}};return r}var i={defaultType:"text"},a={defaultType:"text",multiValue:","},s={defaultType:"text",structuredValue:";"},o={defaultType:"integer"},u={defaultType:"date-time",allowedTypes:["date-time","date"]},l={defaultType:"date-time"},c={defaultType:"uri"},d={defaultType:"utc-offset"},f={defaultType:"recur"},h={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function p(t){switch(t){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return"\n";default:return t}}var m={categories:a,url:c,version:i,uid:i},y={boolean:{values:["TRUE","FALSE"],fromICAL:function(t){return"TRUE"===t},toICAL:function(t){return t?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(t){var r=parseFloat(t);return e.helpers.isStrictlyNaN(r)?0:r},toICAL:function(t){return String(t)}},integer:{fromICAL:function(t){var r=parseInt(t);return e.helpers.isStrictlyNaN(r)?0:r},toICAL:function(t){return String(t)}},"utc-offset":{toICAL:function(t){return t.length<7?t.substr(0,3)+t.substr(4,2):t.substr(0,3)+t.substr(4,2)+t.substr(7,2)},fromICAL:function(t){return t.length<6?t.substr(0,3)+":"+t.substr(3,2):t.substr(0,3)+":"+t.substr(3,2)+":"+t.substr(5,2)},decorate:function(t){return e.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}},v=e.helpers.extend(y,{text:n(/\\\\|\\;|\\,|\\[Nn]/g,/\\|;|,|\n/g),uri:{},binary:{decorate:function(t){return e.Binary.fromString(t)},undecorate:function(t){return t.toString()}},"cal-address":{},date:{decorate:function(t,r){return C.strict?e.Time.fromDateString(t,r):e.Time.fromString(t,r)},undecorate:function(t){return t.toString()},fromICAL:function(t){return!C.strict&&t.length>=15?v["date-time"].fromICAL(t):t.substr(0,4)+"-"+t.substr(4,2)+"-"+t.substr(6,2)},toICAL:function(t){var e=t.length;return 10==e?t.substr(0,4)+t.substr(5,2)+t.substr(8,2):e>=19?v["date-time"].toICAL(t):t}},"date-time":{fromICAL:function(t){if(!C.strict&&8==t.length)return v.date.fromICAL(t);var e=t.substr(0,4)+"-"+t.substr(4,2)+"-"+t.substr(6,2)+"T"+t.substr(9,2)+":"+t.substr(11,2)+":"+t.substr(13,2);return t[15]&&"Z"===t[15]&&(e+="Z"),e},toICAL:function(t){var e=t.length;if(10==e&&!C.strict)return v.date.toICAL(t);if(e>=19){var r=t.substr(0,4)+t.substr(5,2)+t.substr(8,5)+t.substr(14,2)+t.substr(17,2);return t[19]&&"Z"===t[19]&&(r+="Z"),r}return t},decorate:function(t,r){return C.strict?e.Time.fromDateTimeString(t,r):e.Time.fromString(t,r)},undecorate:function(t){return t.toString()}},duration:{decorate:function(t){return e.Duration.fromString(t)},undecorate:function(t){return t.toString()}},period:{fromICAL:function(t){var r=t.split("/");return r[0]=v["date-time"].fromICAL(r[0]),e.Duration.isValueString(r[1])||(r[1]=v["date-time"].fromICAL(r[1])),r},toICAL:function(t){return C.strict||10!=t[0].length?t[0]=v["date-time"].toICAL(t[0]):t[0]=v.date.toICAL(t[0]),e.Duration.isValueString(t[1])||(C.strict||10!=t[1].length?t[1]=v["date-time"].toICAL(t[1]):t[1]=v.date.toICAL(t[1])),t.join("/")},decorate:function(t,r){return e.Period.fromJSON(t,r,!C.strict)},undecorate:function(t){return t.toJSON()}},recur:{fromICAL:function(t){return e.Recur._stringToData(t,!0)},toICAL:function(t){var r="";for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];"until"==n?i=i.length>10?v["date-time"].toICAL(i):v.date.toICAL(i):"wkst"==n?"number"==typeof i&&(i=e.Recur.numericDayToIcalDay(i)):Array.isArray(i)&&(i=i.join(",")),r+=n.toUpperCase()+"="+i+";"}return r.substr(0,r.length-1)},decorate:function(t){return e.Recur.fromData(t)},undecorate:function(t){return t.toJSON()}},time:{fromICAL:function(t){if(t.length<6)return t;var e=t.substr(0,2)+":"+t.substr(2,2)+":"+t.substr(4,2);return"Z"===t[6]&&(e+="Z"),e},toICAL:function(t){if(t.length<8)return t;var e=t.substr(0,2)+t.substr(3,2)+t.substr(6,2);return"Z"===t[8]&&(e+="Z"),e}}}),T=e.helpers.extend(m,{action:i,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:i,class:i,comment:i,completed:l,contact:i,created:l,description:i,dtend:u,dtstamp:l,dtstart:u,due:u,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:f,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":l,location:i,method:i,organizer:{defaultType:"cal-address"},"percent-complete":o,priority:o,prodid:i,"related-to":i,repeat:o,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(t){return-1!==t.indexOf("/")?"period":-1===t.indexOf("T")?"date":"date-time"}},"recurrence-id":u,resources:a,"request-status":s,rrule:f,sequence:o,status:i,summary:i,transp:i,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:d,tzoffsetto:d,tzurl:c,tzid:i,tzname:i}),g=e.helpers.extend(y,{text:n(t,r),uri:n(t,r),date:{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date")},undecorate:function(t){return t.toString()},fromICAL:function(t){return 8==t.length?v.date.fromICAL(t):"-"==t[0]&&6==t.length?t.substr(0,4)+"-"+t.substr(4):t},toICAL:function(t){return 10==t.length?v.date.toICAL(t):"-"==t[0]&&7==t.length?t.substr(0,4)+t.substr(5):t}},time:{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString("T"+t,"time")},undecorate:function(t){return t.toString()},fromICAL:function(t){var e=g.time._splitZone(t,!0),r=e[0],n=e[1];return 6==n.length?n=n.substr(0,2)+":"+n.substr(2,2)+":"+n.substr(4,2):4==n.length&&"-"!=n[0]?n=n.substr(0,2)+":"+n.substr(2,2):5==n.length&&(n=n.substr(0,3)+":"+n.substr(3,2)),5==r.length&&("-"==r[0]||"+"==r[0])&&(r=r.substr(0,3)+":"+r.substr(3)),n+r},toICAL:function(t){var e=g.time._splitZone(t),r=e[0],n=e[1];return 8==n.length?n=n.substr(0,2)+n.substr(3,2)+n.substr(6,2):5==n.length&&"-"!=n[0]?n=n.substr(0,2)+n.substr(3,2):6==n.length&&(n=n.substr(0,3)+n.substr(4,2)),6==r.length&&("-"==r[0]||"+"==r[0])&&(r=r.substr(0,3)+r.substr(4)),n+r},_splitZone:function(t,e){var r,n,i=t.length-1,a=t.length-(e?5:6),s=t[a];return"Z"==t[i]?(r=t[i],n=t.substr(0,i)):t.length>6&&("-"==s||"+"==s)?(r=t.substr(a),n=t.substr(0,a)):(r="",n=t),[r,n]}},"date-time":{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date-time")},undecorate:function(t){return t.toString()},fromICAL:function(t){return g["date-and-or-time"].fromICAL(t)},toICAL:function(t){return g["date-and-or-time"].toICAL(t)}},"date-and-or-time":{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date-and-or-time")},undecorate:function(t){return t.toString()},fromICAL:function(t){var e=t.split("T");return(e[0]?g.date.fromICAL(e[0]):"")+(e[1]?"T"+g.time.fromICAL(e[1]):"")},toICAL:function(t){var e=t.split("T");return g.date.toICAL(e[0])+(e[1]?"T"+g.time.toICAL(e[1]):"")}},timestamp:v["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/}}),A=e.helpers.extend(m,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:h,bday:h,caladruri:c,caluri:c,clientpidmap:s,email:i,fburl:c,fn:i,gender:s,geo:c,impp:c,key:c,kind:i,lang:{defaultType:"language-tag"},logo:c,member:c,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:a,note:i,org:{defaultType:"text",structuredValue:";"},photo:c,related:c,rev:{defaultType:"timestamp"},role:i,sound:c,source:c,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:i,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:i}),b=e.helpers.extend(y,{binary:v.binary,date:g.date,"date-time":g["date-time"],"phone-number":{},uri:v.uri,text:v.text,time:v.time,vcard:v.text,"utc-offset":{toICAL:function(t){return t.substr(0,7)},fromICAL:function(t){return t.substr(0,7)},decorate:function(t){return e.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}}),S=e.helpers.extend(m,{fn:i,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:a,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:i,tel:{defaultType:"phone-number"},email:i,mailer:i,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:i,role:i,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:s,note:a,prodid:i,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},"sort-string":i,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:i,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),E={value:v,param:{cutype:{values:["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"],allowXName:!0,allowIanaToken:!0},"delegated-from":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},"delegated-to":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},encoding:{values:["8BIT","BASE64"]},fbtype:{values:["FREE","BUSY","BUSY-UNAVAILABLE","BUSY-TENTATIVE"],allowXName:!0,allowIanaToken:!0},member:{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},partstat:{values:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"],allowXName:!0,allowIanaToken:!0},range:{values:["THISANDFUTURE"]},related:{values:["START","END"]},reltype:{values:["PARENT","CHILD","SIBLING"],allowXName:!0,allowIanaToken:!0},role:{values:["REQ-PARTICIPANT","CHAIR","OPT-PARTICIPANT","NON-PARTICIPANT"],allowXName:!0,allowIanaToken:!0},rsvp:{values:["TRUE","FALSE"]},"sent-by":{valueType:"cal-address"},tzid:{matches:/^\//},value:{values:["binary","boolean","cal-address","date","date-time","duration","float","integer","period","recur","text","time","uri","utc-offset"],allowXName:!0,allowIanaToken:!0}},property:T},_={value:g,param:{type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","time","date-time","date-and-or-time","timestamp","boolean","integer","float","utc-offset","language-tag"],allowXName:!0,allowIanaToken:!0}},property:A},D={value:b,param:{type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","date-time","phone-number","time","boolean","integer","float","utc-offset","vcard","binary"],allowXName:!0,allowIanaToken:!0}},property:S},C={strict:!0,defaultSet:E,defaultType:"unknown",components:{vcard:_,vcard3:D,vevent:E,vtodo:E,vjournal:E,valarm:E,vtimezone:E,daylight:E,standard:E},icalendar:E,vcard:_,vcard3:D,getDesignSet:function(t){return t&&t in C.components?C.components[t]:C.defaultSet}};return C}(),e.stringify=function(){var t="\r\n",r="unknown",n=e.design,i=e.helpers;function a(e){"string"==typeof e[0]&&(e=[e]);for(var r=0,n=e.length,i="";r<n;r++)i+=a.component(e[r])+t;return i}a.component=function(e,r){var i=e[0].toUpperCase(),s="BEGIN:"+i+t,o=e[1],u=0,l=o.length,c=e[0];for("vcard"===c&&e[1].length>0&&!("version"===e[1][0][0]&&"4.0"===e[1][0][3])&&(c="vcard3"),r=r||n.getDesignSet(c);u<l;u++)s+=a.property(o[u],r)+t;for(var d=e[2]||[],f=0,h=d.length;f<h;f++)s+=a.component(d[f],r)+t;return s+"END:"+i},a.property=function(t,i,s){var o,u=t[0].toUpperCase(),l=t[0],c=t[1],d=u;for(o in c){var f=c[o];c.hasOwnProperty(o)&&((m=o in i.param&&i.param[o].multiValue)&&Array.isArray(f)?(i.param[o].multiValueSeparateDQuote&&(m='"'+m+'"'),f=f.map(a._rfc6868Unescape),f=a.multiValue(f,m,"unknown",null,i)):f=a._rfc6868Unescape(f),d+=";"+o.toUpperCase(),d+="="+a.propertyValue(f))}if(3===t.length)return d+":";var h=t[2];i||(i=n.defaultSet);var p,m=!1,y=!1,v=!1;return l in i.property?("multiValue"in(p=i.property[l])&&(m=p.multiValue),"structuredValue"in p&&Array.isArray(t[3])&&(y=p.structuredValue),"defaultType"in p?h===p.defaultType&&(v=!0):h===r&&(v=!0)):h===r&&(v=!0),v||(d+=";VALUE="+h.toUpperCase()),d+=":",d+=m&&y?a.multiValue(t[3],y,h,m,i,y):m?a.multiValue(t.slice(3),m,h,null,i,!1):y?a.multiValue(t[3],y,h,null,i,y):a.value(t[3],h,i,!1),s?d:e.helpers.foldline(d)},a.propertyValue=function(t){return-1===i.unescapedIndexOf(t,",")&&-1===i.unescapedIndexOf(t,":")&&-1===i.unescapedIndexOf(t,";")?t:'"'+t+'"'},a.multiValue=function(t,e,r,n,i,s){for(var o="",u=t.length,l=0;l<u;l++)n&&Array.isArray(t[l])?o+=a.multiValue(t[l],n,r,null,i,s):o+=a.value(t[l],r,i,s),l!==u-1&&(o+=e);return o},a.value=function(t,e,r,n){return e in r.value&&"toICAL"in r.value[e]?r.value[e].toICAL(t,n):t},a._rfc6868Unescape=function(t){return t.replace(/[\n^"]/g,(function(t){return s[t]}))};var s={'"':"^'","\n":"^n","^":"^^"};return a}(),e.parse=function(){var t=/[^ \t]/,r=e.design,n=e.helpers;function i(t){this.message=t,this.name="ParserError";try{throw new Error}catch(t){if(t.stack){var e=t.stack.split("\n");e.shift(),this.stack=e.join("\n")}}}function a(t){var e={},r=e.component=[];if(e.stack=[r],a._eachLine(t,(function(t,r){a._handleContentLine(r,e)})),e.stack.length>1)throw new i("invalid ical body. component began but did not end");return e=null,1==r.length?r[0]:r}i.prototype=Error.prototype,a.property=function(t,e){var n={component:[[],[]],designSet:e||r.defaultSet};return a._handleContentLine(t,n),n.component[1][0]},a.component=function(t){return a(t)},a.ParserError=i,a._handleContentLine=function(t,e){var n,s,o,u,l,c=t.indexOf(":"),d=t.indexOf(";"),f={};if(-1!==d&&-1!==c&&d>c&&(d=-1),-1!==d){if(o=t.substring(0,d).toLowerCase(),-1==(l=a._parseParameters(t.substring(d),0,e.designSet))[2])throw new i("Invalid parameters in '"+t+"'");if(f=l[0],n=l[1].length+l[2]+d,-1===(s=t.substring(n).indexOf(":")))throw new i("Missing parameter value in '"+t+"'");u=t.substring(n+s+1)}else{if(-1===c)throw new i('invalid line (no token ";" or ":") "'+t+'"');if(o=t.substring(0,c).toLowerCase(),u=t.substring(c+1),"begin"===o){var h=[u.toLowerCase(),[],[]];return 1===e.stack.length?e.component.push(h):e.component[2].push(h),e.stack.push(e.component),e.component=h,void(e.designSet||(e.designSet=r.getDesignSet(e.component[0])))}if("end"===o)return void(e.component=e.stack.pop())}var p,m,y,v=!1,T=!1;o in e.designSet.property&&("multiValue"in(m=e.designSet.property[o])&&(v=m.multiValue),"structuredValue"in m&&(T=m.structuredValue),u&&"detectType"in m&&(p=m.detectType(u))),p||(p="value"in f?f.value.toLowerCase():m?m.defaultType:"unknown"),delete f.value,v&&T?y=[o,f,p,u=a._parseMultiValue(u,T,p,[],v,e.designSet,T)]:v?(y=[o,f,p],a._parseMultiValue(u,v,p,y,null,e.designSet,!1)):y=T?[o,f,p,u=a._parseMultiValue(u,T,p,[],null,e.designSet,T)]:[o,f,p,u=a._parseValue(u,p,e.designSet,!1)],"vcard"===e.component[0]&&0===e.component[1].length&&!("version"===o&&"4.0"===u)&&(e.designSet=r.getDesignSet("vcard3")),e.component[1].push(y)},a._parseValue=function(t,e,r,n){return e in r.value&&"fromICAL"in r.value[e]?r.value[e].fromICAL(t,n):t},a._parseParameters=function(t,e,r){for(var s,o,u,l,c,d,f=e,h=0,p={},m=-1;!1!==h&&-1!==(h=n.unescapedIndexOf(t,"=",h+1));){if(0==(s=t.substr(f+1,h-f-1)).length)throw new i("Empty parameter name in '"+t+"'");if(d=!1,c=!1,l=(o=s.toLowerCase())in r.param&&r.param[o].valueType?r.param[o].valueType:"text",o in r.param&&(c=r.param[o].multiValue,r.param[o].multiValueSeparateDQuote&&(d=a._rfc6868Escape('"'+c+'"'))),'"'===t[h+1]){if(m=h+2,h=n.unescapedIndexOf(t,'"',m),c&&-1!=h)for(var y=!0;y;)t[h+1]==c&&'"'==t[h+2]?h=n.unescapedIndexOf(t,'"',h+3):y=!1;if(-1===h)throw new i('invalid line (no matching double quote) "'+t+'"');u=t.substr(m,h-m),-1===(f=n.unescapedIndexOf(t,";",h))&&(h=!1)}else{m=h+1;var v=n.unescapedIndexOf(t,";",m),T=n.unescapedIndexOf(t,":",m);-1!==T&&v>T?(v=T,h=!1):-1===v?(v=-1===T?t.length:T,h=!1):(f=v,h=v),u=t.substr(m,v-m)}if(u=a._rfc6868Escape(u),c){var g=d||c;u=a._parseMultiValue(u,g,l,[],null,r)}else u=a._parseValue(u,l,r);c&&o in p?Array.isArray(p[o])?p[o].push(u):p[o]=[p[o],u]:p[o]=u}return[p,u,m]},a._rfc6868Escape=function(t){return t.replace(/\^['n^]/g,(function(t){return s[t]}))};var s={"^'":'"',"^n":"\n","^^":"^"};return a._parseMultiValue=function(t,e,r,i,s,o,u){var l,c=0,d=0;if(0===e.length)return t;for(;-1!==(c=n.unescapedIndexOf(t,e,d));)l=t.substr(d,c-d),l=s?a._parseMultiValue(l,s,r,[],null,o,u):a._parseValue(l,r,o,u),i.push(l),d=c+e.length;return l=t.substr(d),l=s?a._parseMultiValue(l,s,r,[],null,o,u):a._parseValue(l,r,o,u),i.push(l),1==i.length?i[0]:i},a._eachLine=function(e,r){var n,i,a,s=e.length,o=e.search(t),u=o;do{a=(u=e.indexOf("\n",o)+1)>1&&"\r"===e[u-2]?2:1,0===u&&(u=s,a=0)," "===(i=e[o])||"\t"===i?n+=e.substr(o+1,u-o-(a+1)):(n&&r(null,n),n=e.substr(o,u-o-a)),o=u}while(u!==s);(n=n.trim()).length&&r(null,n)},a}(),e.Component=function(){function t(t,e){"string"==typeof t&&(t=[t,[],[]]),this.jCal=t,this.parent=e||null}return t.prototype={_hydratedPropertyCount:0,_hydratedComponentCount:0,get name(){return this.jCal[0]},get _designSet(){return this.parent&&this.parent._designSet||e.design.getDesignSet(this.name)},_hydrateComponent:function(e){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[e])return this._components[e];var r=new t(this.jCal[2][e],this);return this._hydratedComponentCount++,this._components[e]=r},_hydrateProperty:function(t){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[t])return this._properties[t];var r=new e.Property(this.jCal[1][t],this);return this._hydratedPropertyCount++,this._properties[t]=r},getFirstSubcomponent:function(t){if(t){for(var e=0,r=this.jCal[2],n=r.length;e<n;e++)if(r[e][0]===t)return this._hydrateComponent(e)}else if(this.jCal[2].length)return this._hydrateComponent(0);return null},getAllSubcomponents:function(t){var e=this.jCal[2].length,r=0;if(t){for(var n=this.jCal[2],i=[];r<e;r++)t===n[r][0]&&i.push(this._hydrateComponent(r));return i}if(!this._components||this._hydratedComponentCount!==e)for(;r<e;r++)this._hydrateComponent(r);return this._components||[]},hasProperty:function(t){for(var e=this.jCal[1],r=e.length,n=0;n<r;n++)if(e[n][0]===t)return!0;return!1},getFirstProperty:function(t){if(t){for(var e=0,r=this.jCal[1],n=r.length;e<n;e++)if(r[e][0]===t)return this._hydrateProperty(e)}else if(this.jCal[1].length)return this._hydrateProperty(0);return null},getFirstPropertyValue:function(t){var e=this.getFirstProperty(t);return e?e.getFirstValue():null},getAllProperties:function(t){var e=this.jCal[1].length,r=0;if(t){for(var n=this.jCal[1],i=[];r<e;r++)t===n[r][0]&&i.push(this._hydrateProperty(r));return i}if(!this._properties||this._hydratedPropertyCount!==e)for(;r<e;r++)this._hydrateProperty(r);return this._properties||[]},_removeObjectByIndex:function(t,e,r){if((e=e||[])[r]){var n=e[r];"parent"in n&&(n.parent=null)}e.splice(r,1),this.jCal[t].splice(r,1)},_removeObject:function(t,e,r){var n=0,i=this.jCal[t],a=i.length,s=this[e];if("string"==typeof r){for(;n<a;n++)if(i[n][0]===r)return this._removeObjectByIndex(t,s,n),!0}else if(s)for(;n<a;n++)if(s[n]&&s[n]===r)return this._removeObjectByIndex(t,s,n),!0;return!1},_removeAllObjects:function(t,e,r){for(var n=this[e],i=this.jCal[t],a=i.length-1;a>=0;a--)(!r||i[a][0]===r)&&this._removeObjectByIndex(t,n,a)},addSubcomponent:function(t){this._components||(this._components=[],this._hydratedComponentCount=0),t.parent&&t.parent.removeSubcomponent(t);var e=this.jCal[2].push(t.jCal);return this._components[e-1]=t,this._hydratedComponentCount++,t.parent=this,t},removeSubcomponent:function(t){var e=this._removeObject(2,"_components",t);return e&&this._hydratedComponentCount--,e},removeAllSubcomponents:function(t){var e=this._removeAllObjects(2,"_components",t);return this._hydratedComponentCount=0,e},addProperty:function(t){if(!(t instanceof e.Property))throw new TypeError("must instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),t.parent&&t.parent.removeProperty(t);var r=this.jCal[1].push(t.jCal);return this._properties[r-1]=t,this._hydratedPropertyCount++,t.parent=this,t},addPropertyWithValue:function(t,r){var n=new e.Property(t);return n.setValue(r),this.addProperty(n),n},updatePropertyWithValue:function(t,e){var r=this.getFirstProperty(t);return r?r.setValue(e):r=this.addPropertyWithValue(t,e),r},removeProperty:function(t){var e=this._removeObject(1,"_properties",t);return e&&this._hydratedPropertyCount--,e},removeAllProperties:function(t){var e=this._removeAllObjects(1,"_properties",t);return this._hydratedPropertyCount=0,e},toJSON:function(){return this.jCal},toString:function(){return e.stringify.component(this.jCal,this._designSet)}},t.fromString=function(r){return new t(e.parse.component(r))},t}(),e.Property=function(){var t=e.design;function r(e,r){this._parent=r||null,"string"==typeof e?(this.jCal=[e,{},t.defaultType],this.jCal[2]=this.getDefaultType()):this.jCal=e,this._updateType()}return r.prototype={get type(){return this.jCal[2]},get name(){return this.jCal[0]},get parent(){return this._parent},set parent(e){var r=!this._parent||e&&e._designSet!=this._parent._designSet;return this._parent=e,this.type==t.defaultType&&r&&(this.jCal[2]=this.getDefaultType(),this._updateType()),e},get _designSet(){return this.parent?this.parent._designSet:t.defaultSet},_updateType:function(){var t=this._designSet;this.type in t.value&&(t.value[this.type],"decorate"in t.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in t.property&&(this.isMultiValue="multiValue"in t.property[this.name],this.isStructuredValue="structuredValue"in t.property[this.name]))},_hydrateValue:function(t){return this._values&&this._values[t]?this._values[t]:this.jCal.length<=3+t?null:this.isDecorated?(this._values||(this._values=[]),this._values[t]=this._decorate(this.jCal[3+t])):this.jCal[3+t]},_decorate:function(t){return this._designSet.value[this.type].decorate(t,this)},_undecorate:function(t){return this._designSet.value[this.type].undecorate(t,this)},_setDecoratedValue:function(t,e){this._values||(this._values=[]),"object"==typeof t&&"icaltype"in t?(this.jCal[3+e]=this._undecorate(t),this._values[e]=t):(this.jCal[3+e]=t,this._values[e]=this._decorate(t))},getParameter:function(t){if(t in this.jCal[1])return this.jCal[1][t]},getFirstParameter:function(t){var e=this.getParameter(t);return Array.isArray(e)?e[0]:e},setParameter:function(t,e){var r=t.toLowerCase();"string"==typeof e&&r in this._designSet.param&&"multiValue"in this._designSet.param[r]&&(e=[e]),this.jCal[1][t]=e},removeParameter:function(t){delete this.jCal[1][t]},getDefaultType:function(){var e=this.jCal[0],r=this._designSet;if(e in r.property){var n=r.property[e];if("defaultType"in n)return n.defaultType}return t.defaultType},resetType:function(t){this.removeAllValues(),this.jCal[2]=t,this._updateType()},getFirstValue:function(){return this._hydrateValue(0)},getValues:function(){var t=this.jCal.length-3;if(t<1)return[];for(var e=0,r=[];e<t;e++)r[e]=this._hydrateValue(e);return r},removeAllValues:function(){this._values&&(this._values.length=0),this.jCal.length=3},setValues:function(t){if(!this.isMultiValue)throw new Error(this.name+": does not not support mulitValue.\noverride isMultiValue");var e=t.length,r=0;if(this.removeAllValues(),e>0&&"object"==typeof t[0]&&"icaltype"in t[0]&&this.resetType(t[0].icaltype),this.isDecorated)for(;r<e;r++)this._setDecoratedValue(t[r],r);else for(;r<e;r++)this.jCal[3+r]=t[r]},setValue:function(t){this.removeAllValues(),"object"==typeof t&&"icaltype"in t&&this.resetType(t.icaltype),this.isDecorated?this._setDecoratedValue(t,0):this.jCal[3]=t},toJSON:function(){return this.jCal},toICALString:function(){return e.stringify.property(this.jCal,this._designSet,!0)}},r.fromString=function(t,n){return new r(e.parse.property(t,n))},r}(),e.UtcOffset=function(){function t(t){this.fromData(t)}return t.prototype={hours:0,minutes:0,factor:1,icaltype:"utc-offset",clone:function(){return e.UtcOffset.fromSeconds(this.toSeconds())},fromData:function(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._normalize()},fromSeconds:function(t){var r=Math.abs(t);return this.factor=t<0?-1:1,this.hours=e.helpers.trunc(r/3600),r-=3600*this.hours,this.minutes=e.helpers.trunc(r/60),this},toSeconds:function(){return this.factor*(60*this.minutes+3600*this.hours)},compare:function(t){var e=this.toSeconds(),r=t.toSeconds();return(e>r)-(r>e)},_normalize:function(){for(var t=this.toSeconds(),e=this.factor;t<-43200;)t+=97200;for(;t>50400;)t-=97200;this.fromSeconds(t),0==t&&(this.factor=e)},toICALString:function(){return e.design.icalendar.value["utc-offset"].toICAL(this.toString())},toString:function(){return(1==this.factor?"+":"-")+e.helpers.pad2(this.hours)+":"+e.helpers.pad2(this.minutes)}},t.fromString=function(t){var r={};return r.factor="+"===t[0]?1:-1,r.hours=e.helpers.strictParseInt(t.substr(1,2)),r.minutes=e.helpers.strictParseInt(t.substr(4,2)),new e.UtcOffset(r)},t.fromSeconds=function(e){var r=new t;return r.fromSeconds(e),r},t}(),e.Binary=function(){function t(t){this.value=t}return t.prototype={icaltype:"binary",decodeValue:function(){return this._b64_decode(this.value)},setEncodedValue:function(t){this.value=this._b64_encode(t)},_b64_encode:function(t){var e,r,n,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o=0,u=0,l="",c=[];if(!t)return t;do{e=(a=t.charCodeAt(o++)<<16|t.charCodeAt(o++)<<8|t.charCodeAt(o++))>>18&63,r=a>>12&63,n=a>>6&63,i=63&a,c[u++]=s.charAt(e)+s.charAt(r)+s.charAt(n)+s.charAt(i)}while(o<t.length);l=c.join("");var d=t.length%3;return(d?l.slice(0,d-3):l)+"===".slice(d||3)},_b64_decode:function(t){var e,r,n,i,a,s,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=0,l=0,c=[];if(!t)return t;t+="";do{e=(s=o.indexOf(t.charAt(u++))<<18|o.indexOf(t.charAt(u++))<<12|(i=o.indexOf(t.charAt(u++)))<<6|(a=o.indexOf(t.charAt(u++))))>>16&255,r=s>>8&255,n=255&s,c[l++]=64==i?String.fromCharCode(e):64==a?String.fromCharCode(e,r):String.fromCharCode(e,r,n)}while(u<t.length);return c.join("")},toString:function(){return this.value}},t.fromString=function(e){return new t(e)},t}(),e.Period=function(t){if(this.wrappedJSObject=this,t&&"start"in t){if(t.start&&!(t.start instanceof e.Time))throw new TypeError(".start must be an instance of ICAL.Time");this.start=t.start}if(t&&t.end&&t.duration)throw new Error("cannot accept both end and duration");if(t&&"end"in t){if(t.end&&!(t.end instanceof e.Time))throw new TypeError(".end must be an instance of ICAL.Time");this.end=t.end}if(t&&"duration"in t){if(t.duration&&!(t.duration instanceof e.Duration))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=t.duration}},e.Period.prototype={start:null,end:null,duration:null,icalclass:"icalperiod",icaltype:"period",clone:function(){return e.Period.fromData({start:this.start?this.start.clone():null,end:this.end?this.end.clone():null,duration:this.duration?this.duration.clone():null})},getDuration:function(){return this.duration?this.duration:this.end.subtractDate(this.start)},getEnd:function(){if(this.end)return this.end;var t=this.start.clone();return t.addDuration(this.duration),t},toString:function(){return this.start+"/"+(this.end||this.duration)},toJSON:function(){return[this.start.toString(),(this.end||this.duration).toString()]},toICALString:function(){return this.start.toICALString()+"/"+(this.end||this.duration).toICALString()}},e.Period.fromString=function(t,r){var n=t.split("/");if(2!==n.length)throw new Error('Invalid string value: "'+t+'" must contain a "/" char.');var i={start:e.Time.fromDateTimeString(n[0],r)},a=n[1];return e.Duration.isValueString(a)?i.duration=e.Duration.fromString(a):i.end=e.Time.fromDateTimeString(a,r),new e.Period(i)},e.Period.fromData=function(t){return new e.Period(t)},e.Period.fromJSON=function(t,r,n){function i(t,r){return n?e.Time.fromString(t,r):e.Time.fromDateTimeString(t,r)}return e.Duration.isValueString(t[1])?e.Period.fromData({start:i(t[0],r),duration:e.Duration.fromString(t[1])}):e.Period.fromData({start:i(t[0],r),end:i(t[1],r)})},function(){var t=/([PDWHMTS]{1,1})/;function r(t,r,n){var i;switch(t){case"P":n.isNegative=!(!r||"-"!==r);break;case"D":i="days";break;case"W":i="weeks";break;case"H":i="hours";break;case"M":i="minutes";break;case"S":i="seconds";break;default:return 0}if(i){if(!r&&0!==r)throw new Error('invalid duration value: Missing number before "'+t+'"');var a=parseInt(r,10);if(e.helpers.isStrictlyNaN(a))throw new Error('invalid duration value: Invalid number "'+r+'" before "'+t+'"');n[i]=a}return 1}e.Duration=function(t){this.wrappedJSObject=this,this.fromData(t)},e.Duration.prototype={weeks:0,days:0,hours:0,minutes:0,seconds:0,isNegative:!1,icalclass:"icalduration",icaltype:"duration",clone:function(){return e.Duration.fromData(this)},toSeconds:function(){var t=this.seconds+60*this.minutes+3600*this.hours+86400*this.days+604800*this.weeks;return this.isNegative?-t:t},fromSeconds:function(t){var r=Math.abs(t);return this.isNegative=t<0,this.days=e.helpers.trunc(r/86400),this.days%7==0?(this.weeks=this.days/7,this.days=0):this.weeks=0,r-=86400*(this.days+7*this.weeks),this.hours=e.helpers.trunc(r/3600),r-=3600*this.hours,this.minutes=e.helpers.trunc(r/60),r-=60*this.minutes,this.seconds=r,this},fromData:function(t){var e=["weeks","days","hours","minutes","seconds","isNegative"];for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];this[n]=t&&n in t?t[n]:0}},reset:function(){this.isNegative=!1,this.weeks=0,this.days=0,this.hours=0,this.minutes=0,this.seconds=0},compare:function(t){var e=this.toSeconds(),r=t.toSeconds();return(e>r)-(e<r)},normalize:function(){this.fromSeconds(this.toSeconds())},toString:function(){if(0==this.toSeconds())return"PT0S";var t="";return this.isNegative&&(t+="-"),t+="P",this.weeks&&(t+=this.weeks+"W"),this.days&&(t+=this.days+"D"),(this.hours||this.minutes||this.seconds)&&(t+="T",this.hours&&(t+=this.hours+"H"),this.minutes&&(t+=this.minutes+"M"),this.seconds&&(t+=this.seconds+"S")),t},toICALString:function(){return this.toString()}},e.Duration.fromSeconds=function(t){return(new e.Duration).fromSeconds(t)},e.Duration.isValueString=function(t){return"P"===t[0]||"P"===t[1]},e.Duration.fromString=function(n){for(var i=0,a=Object.create(null),s=0;-1!==(i=n.search(t));){var o=n[i],u=n.substr(0,i);n=n.substr(i+1),s+=r(o,u,a)}if(s<2)throw new Error('invalid duration value: Not enough duration components in "'+n+'"');return new e.Duration(a)},e.Duration.fromData=function(t){return new e.Duration(t)}}(),r=["tzid","location","tznames","latitude","longitude"],e.Timezone=function(t){this.wrappedJSObject=this,this.fromData(t)},e.Timezone.prototype={tzid:"",location:"",tznames:"",latitude:0,longitude:0,component:null,expandedUntilYear:0,icalclass:"icaltimezone",fromData:function(t){if(this.expandedUntilYear=0,this.changes=[],t instanceof e.Component)this.component=t;else{if(t&&"component"in t)if("string"==typeof t.component){var n=e.parse(t.component);this.component=new e.Component(n)}else t.component instanceof e.Component?this.component=t.component:this.component=null;for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];t&&a in t&&(this[a]=t[a])}}return this.component instanceof e.Component&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this},utcOffset:function(t){if(this==e.Timezone.utcTimezone||this==e.Timezone.localTimezone||(this._ensureCoverage(t.year),!this.changes.length))return 0;for(var r={year:t.year,month:t.month,day:t.day,hour:t.hour,minute:t.minute,second:t.second},n=this._findNearbyChange(r),i=-1,a=1;;){var s=e.helpers.clone(this.changes[n],!0);if(s.utcOffset<s.prevUtcOffset?e.Timezone.adjust_change(s,0,0,0,s.utcOffset):e.Timezone.adjust_change(s,0,0,0,s.prevUtcOffset),e.Timezone._compare_change_fn(r,s)>=0?i=n:a=-1,-1==a&&-1!=i)break;if((n+=a)<0)return 0;if(n>=this.changes.length)break}var o=this.changes[i];if(o.utcOffset-o.prevUtcOffset<0&&i>0){var u=e.helpers.clone(o,!0);if(e.Timezone.adjust_change(u,0,0,0,u.prevUtcOffset),e.Timezone._compare_change_fn(r,u)<0){var l=this.changes[i-1];0!=o.is_daylight&&0==l.is_daylight&&(o=l)}}return o.utcOffset},_findNearbyChange:function(t){var r=e.helpers.binsearchInsert(this.changes,t,e.Timezone._compare_change_fn);return r>=this.changes.length?this.changes.length-1:r},_ensureCoverage:function(t){if(-1==e.Timezone._minimumExpansionYear){var r=e.Time.now();e.Timezone._minimumExpansionYear=r.year}var n=t;if(n<e.Timezone._minimumExpansionYear&&(n=e.Timezone._minimumExpansionYear),(n+=e.Timezone.EXTRA_COVERAGE)>e.Timezone.MAX_YEAR&&(n=e.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYear<t){for(var i=this.component.getAllSubcomponents(),a=i.length,s=0;s<a;s++)this._expandComponent(i[s],n,this.changes);this.changes.sort(e.Timezone._compare_change_fn),this.expandedUntilYear=n}},_expandComponent:function(t,r,n){if(!t.hasProperty("dtstart")||!t.hasProperty("tzoffsetto")||!t.hasProperty("tzoffsetfrom"))return null;var i,a=t.getFirstProperty("dtstart").getFirstValue();function s(t){return t.factor*(3600*t.hours+60*t.minutes)}function o(){var e={};return e.is_daylight="daylight"==t.name,e.utcOffset=s(t.getFirstProperty("tzoffsetto").getFirstValue()),e.prevUtcOffset=s(t.getFirstProperty("tzoffsetfrom").getFirstValue()),e}if(t.hasProperty("rrule")||t.hasProperty("rdate")){var u=t.getAllProperties("rdate");for(var l in u)if(u.hasOwnProperty(l)){var c=u[l].getFirstValue();(i=o()).year=c.year,i.month=c.month,i.day=c.day,c.isDate?(i.hour=a.hour,i.minute=a.minute,i.second=a.second,a.zone!=e.Timezone.utcTimezone&&e.Timezone.adjust_change(i,0,0,0,-i.prevUtcOffset)):(i.hour=c.hour,i.minute=c.minute,i.second=c.second,c.zone!=e.Timezone.utcTimezone&&e.Timezone.adjust_change(i,0,0,0,-i.prevUtcOffset)),n.push(i)}var d=t.getFirstProperty("rrule");if(d){d=d.getFirstValue(),i=o(),d.until&&d.until.zone==e.Timezone.utcTimezone&&(d.until.adjust(0,0,0,i.prevUtcOffset),d.until.zone=e.Timezone.localTimezone);for(var f,h=d.iterator(a);(f=h.next())&&(i=o(),!(f.year>r)&&f);)i.year=f.year,i.month=f.month,i.day=f.day,i.hour=f.hour,i.minute=f.minute,i.second=f.second,i.isDate=f.isDate,e.Timezone.adjust_change(i,0,0,0,-i.prevUtcOffset),n.push(i)}}else(i=o()).year=a.year,i.month=a.month,i.day=a.day,i.hour=a.hour,i.minute=a.minute,i.second=a.second,e.Timezone.adjust_change(i,0,0,0,-i.prevUtcOffset),n.push(i);return n},toString:function(){return this.tznames?this.tznames:this.tzid}},e.Timezone._compare_change_fn=function(t,e){return t.year<e.year?-1:t.year>e.year?1:t.month<e.month?-1:t.month>e.month?1:t.day<e.day?-1:t.day>e.day?1:t.hour<e.hour?-1:t.hour>e.hour?1:t.minute<e.minute?-1:t.minute>e.minute?1:t.second<e.second?-1:t.second>e.second?1:0},e.Timezone.convert_time=function(t,r,n){if(t.isDate||r.tzid==n.tzid||r==e.Timezone.localTimezone||n==e.Timezone.localTimezone)return t.zone=n,t;var i=r.utcOffset(t);return t.adjust(0,0,0,-i),i=n.utcOffset(t),t.adjust(0,0,0,i),null},e.Timezone.fromData=function(t){return(new e.Timezone).fromData(t)},e.Timezone.utcTimezone=e.Timezone.fromData({tzid:"UTC"}),e.Timezone.localTimezone=e.Timezone.fromData({tzid:"floating"}),e.Timezone.adjust_change=function(t,r,n,i,a){return e.Time.prototype.adjust.call(t,r,n,i,a,t)},e.Timezone._minimumExpansionYear=-1,e.Timezone.MAX_YEAR=2035,e.Timezone.EXTRA_COVERAGE=5,e.TimezoneService=function(){var t,r={get count(){return Object.keys(t).length},reset:function(){t=Object.create(null);var r=e.Timezone.utcTimezone;t.Z=r,t.UTC=r,t.GMT=r},has:function(e){return!!t[e]},get:function(e){return t[e]},register:function(r,n){if(r instanceof e.Component&&"vtimezone"===r.name&&(r=(n=new e.Timezone(r)).tzid),!(n instanceof e.Timezone))throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component");t[r]=n},remove:function(e){return delete t[e]}};return r.reset(),r}(),e.Time=function(t,e){this.wrappedJSObject=this;var r=this._time=Object.create(null);r.year=0,r.month=1,r.day=1,r.hour=0,r.minute=0,r.second=0,r.isDate=!1,this.fromData(t,e)},e.Time._dowCache={},e.Time._wnCache={},e.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new e.Time(this._time,this.zone)},reset:function(){this.fromData(e.Time.epochTime),this.zone=e.Timezone.utcTimezone},resetTo:function(t,e,r,n,i,a,s){this.fromData({year:t,month:e,day:r,hour:n,minute:i,second:a,zone:s})},fromJSDate:function(t,r){return t?r?(this.zone=e.Timezone.utcTimezone,this.year=t.getUTCFullYear(),this.month=t.getUTCMonth()+1,this.day=t.getUTCDate(),this.hour=t.getUTCHours(),this.minute=t.getUTCMinutes(),this.second=t.getUTCSeconds()):(this.zone=e.Timezone.localTimezone,this.year=t.getFullYear(),this.month=t.getMonth()+1,this.day=t.getDate(),this.hour=t.getHours(),this.minute=t.getMinutes(),this.second=t.getSeconds()):this.reset(),this._cachedUnixTime=null,this},fromData:function(t,r){if(t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if("icaltype"===n)continue;this[n]=t[n]}if(r&&(this.zone=r),t&&!("isDate"in t)?this.isDate=!("hour"in t):t&&"isDate"in t&&(this.isDate=t.isDate),t&&"timezone"in t){var i=e.TimezoneService.get(t.timezone);this.zone=i||e.Timezone.localTimezone}return t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=e.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(t){var r=t||e.Time.SUNDAY,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+r;if(n in e.Time._dowCache)return e.Time._dowCache[n];var i=this.day,a=this.month+(this.month<3?12:0),s=this.year-(this.month<3?1:0),o=i+s+e.helpers.trunc(26*(a+1)/10)+e.helpers.trunc(s/4);return o=((o+=6*e.helpers.trunc(s/100)+e.helpers.trunc(s/400))+7-r)%7+1,e.Time._dowCache[n]=o,o},dayOfYear:function(){var t=e.Time.isLeapYear(this.year)?1:0;return e.Time.daysInYearPassedMonth[t][this.month-1]+this.day},startOfWeek:function(t){var r=t||e.Time.SUNDAY,n=this.clone();return n.day-=(this.dayOfWeek()+7-r)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},endOfWeek:function(t){var r=t||e.Time.SUNDAY,n=this.clone();return n.day+=(7-this.dayOfWeek()+r-e.Time.SUNDAY)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},startOfMonth:function(){var t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfMonth:function(){var t=this.clone();return t.day=e.Time.daysInMonth(t.month,t.year),t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startOfYear:function(){var t=this.clone();return t.day=1,t.month=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfYear:function(){var t=this.clone();return t.day=31,t.month=12,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startDoyWeek:function(t){var r=t||e.Time.SUNDAY,n=this.dayOfWeek()-r;return n<0&&(n+=7),this.dayOfYear()-n},getDominicalLetter:function(){return e.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,r){var n,i=e.Time.daysInMonth(this.month,this.year),a=r,s=0,o=this.clone();if(a>=0){o.day=1,0!=a&&a--,s=o.day;var u=t-o.dayOfWeek();u<0&&(u+=7),s+=u,s-=t,n=t}else o.day=i,a++,(n=o.dayOfWeek()-t)<0&&(n+=7),n=i-n;return s+(n+7*a)},isNthWeekDay:function(t,e){var r=this.dayOfWeek();return 0===e&&r===t||this.nthWeekDay(t,e)===this.day},weekNumber:function(t){var r=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(r in e.Time._wnCache)return e.Time._wnCache[r];var n,i=this.clone();i.isDate=!0;var a=this.year;12==i.month&&i.day>25?(n=e.Time.weekOneStarts(a+1,t),i.compare(n)<0?n=e.Time.weekOneStarts(a,t):a++):(n=e.Time.weekOneStarts(a,t),i.compare(n)<0&&(n=e.Time.weekOneStarts(--a,t)));var s=i.subtractDate(n).toSeconds()/86400,o=e.helpers.trunc(s/7)+1;return e.Time._wnCache[r]=o,o},addDuration:function(t){var e=t.isNegative?-1:1,r=this.second,n=this.minute,i=this.hour,a=this.day;r+=e*t.seconds,n+=e*t.minutes,i+=e*t.hours,a+=e*t.days,a+=7*e*t.weeks,this.second=r,this.minute=n,this.hour=i,this.day=a,this._cachedUnixTime=null},subtractDate:function(t){var r=this.toUnixTime()+this.utcOffset(),n=t.toUnixTime()+t.utcOffset();return e.Duration.fromSeconds(r-n)},subtractDateTz:function(t){var r=this.toUnixTime(),n=t.toUnixTime();return e.Duration.fromSeconds(r-n)},compare:function(t){var e=this.toUnixTime(),r=t.toUnixTime();return e>r?1:r>e?-1:0},compareDateOnlyTz:function(t,r){function n(t){return e.Time._cmp_attr(i,a,t)}var i=this.convertToZone(r),a=t.convertToZone(r),s=0;return 0!=(s=n("year"))||0!=(s=n("month"))||(s=n("day")),s},convertToZone:function(t){var r=this.clone(),n=this.zone.tzid==t.tzid;return!this.isDate&&!n&&e.Timezone.convert_time(r,this.zone,t),r.zone=t,r},utcOffset:function(){return this.zone==e.Timezone.localTimezone||this.zone==e.Timezone.utcTimezone?0:this.zone.utcOffset(this)},toICALString:function(){var t=this.toString();return t.length>10?e.design.icalendar.value["date-time"].toICAL(t):e.design.icalendar.value.date.toICAL(t)},toString:function(){var t=this.year+"-"+e.helpers.pad2(this.month)+"-"+e.helpers.pad2(this.day);return this.isDate||(t+="T"+e.helpers.pad2(this.hour)+":"+e.helpers.pad2(this.minute)+":"+e.helpers.pad2(this.second),this.zone===e.Timezone.utcTimezone&&(t+="Z")),t},toJSDate:function(){return this.zone==e.Timezone.localTimezone?this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0):new Date(1e3*this.toUnixTime())},_normalize:function(){return this._time.isDate,this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this},adjust:function(t,r,n,i,a){var s,o,u,l,c,d,f,h=0,p=0,m=a||this._time;if(m.isDate||(u=m.second+i,m.second=u%60,s=e.helpers.trunc(u/60),m.second<0&&(m.second+=60,s--),l=m.minute+n+s,m.minute=l%60,o=e.helpers.trunc(l/60),m.minute<0&&(m.minute+=60,o--),c=m.hour+r+o,m.hour=c%24,h=e.helpers.trunc(c/24),m.hour<0&&(m.hour+=24,h--)),m.month>12?p=e.helpers.trunc((m.month-1)/12):m.month<1&&(p=e.helpers.trunc(m.month/12)-1),m.year+=p,m.month-=12*p,(d=m.day+t+h)>0)for(;!(d<=(f=e.Time.daysInMonth(m.month,m.year)));)m.month++,m.month>12&&(m.year++,m.month=1),d-=f;else for(;d<=0;)1==m.month?(m.year--,m.month=12):m.month--,d+=e.Time.daysInMonth(m.month,m.year);return m.day=d,this._cachedUnixTime=null,this},fromUnixTime:function(t){this.zone=e.Timezone.utcTimezone;var r=e.Time.epochTime.clone();r.adjust(0,0,0,t),this.year=r.year,this.month=r.month,this.day=r.day,this.hour=r.hour,this.minute=r.minute,this.second=Math.floor(r.second),this._cachedUnixTime=null},toUnixTime:function(){if(null!==this._cachedUnixTime)return this._cachedUnixTime;var t=this.utcOffset(),e=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-t);return this._cachedUnixTime=e/1e3,this._cachedUnixTime},toJSON:function(){for(var t,e=["year","month","day","hour","minute","second","isDate"],r=Object.create(null),n=0,i=e.length;n<i;n++)r[t=e[n]]=this[t];return this.zone&&(r.timezone=this.zone.tzid),r}},function(){function t(t){Object.defineProperty(e.Time.prototype,t,{get:function(){return this._pendingNormalization&&(this._normalize(),this._pendingNormalization=!1),this._time[t]},set:function(e){return"isDate"===t&&e&&!this._time.isDate&&this.adjust(0,0,0,0),this._cachedUnixTime=null,this._pendingNormalization=!0,this._time[t]=e,e}})}"defineProperty"in Object&&(t("year"),t("month"),t("day"),t("hour"),t("minute"),t("second"),t("isDate"))}(),e.Time.daysInMonth=function(t,r){var n=30;return t<1||t>12||(n=[0,31,28,31,30,31,30,31,31,30,31,30,31][t],2==t&&(n+=e.Time.isLeapYear(r))),n},e.Time.isLeapYear=function(t){return t<=1752?t%4==0:t%4==0&&t%100!=0||t%400==0},e.Time.fromDayOfYear=function(t,r){var n=r,i=t,a=new e.Time;a.auto_normalize=!1;var s=e.Time.isLeapYear(n)?1:0;if(i<1)return n--,s=e.Time.isLeapYear(n)?1:0,i+=e.Time.daysInYearPassedMonth[s][12],e.Time.fromDayOfYear(i,n);if(i>e.Time.daysInYearPassedMonth[s][12])return s=e.Time.isLeapYear(n)?1:0,i-=e.Time.daysInYearPassedMonth[s][12],n++,e.Time.fromDayOfYear(i,n);a.year=n,a.isDate=!0;for(var o=11;o>=0;o--)if(i>e.Time.daysInYearPassedMonth[s][o]){a.month=o+1,a.day=i-e.Time.daysInYearPassedMonth[s][o];break}return a.auto_normalize=!0,a},e.Time.fromStringv2=function(t){return new e.Time({year:parseInt(t.substr(0,4),10),month:parseInt(t.substr(5,2),10),day:parseInt(t.substr(8,2),10),isDate:!0})},e.Time.fromDateString=function(t){return new e.Time({year:e.helpers.strictParseInt(t.substr(0,4)),month:e.helpers.strictParseInt(t.substr(5,2)),day:e.helpers.strictParseInt(t.substr(8,2)),isDate:!0})},e.Time.fromDateTimeString=function(t,r){if(t.length<19)throw new Error('invalid date-time value: "'+t+'"');var n;return t[19]&&"Z"===t[19]?n="Z":r&&(n=r.getParameter("tzid")),new e.Time({year:e.helpers.strictParseInt(t.substr(0,4)),month:e.helpers.strictParseInt(t.substr(5,2)),day:e.helpers.strictParseInt(t.substr(8,2)),hour:e.helpers.strictParseInt(t.substr(11,2)),minute:e.helpers.strictParseInt(t.substr(14,2)),second:e.helpers.strictParseInt(t.substr(17,2)),timezone:n})},e.Time.fromString=function(t,r){return t.length>10?e.Time.fromDateTimeString(t,r):e.Time.fromDateString(t)},e.Time.fromJSDate=function(t,r){return(new e.Time).fromJSDate(t,r)},e.Time.fromData=function(t,r){return(new e.Time).fromData(t,r)},e.Time.now=function(){return e.Time.fromJSDate(new Date,!1)},e.Time.weekOneStarts=function(t,r){var n=e.Time.fromData({year:t,month:1,day:1,isDate:!0}),i=n.dayOfWeek(),a=r||e.Time.DEFAULT_WEEK_START;return i>e.Time.THURSDAY&&(n.day+=7),a>e.Time.THURSDAY&&(n.day-=7),n.day-=i-a,n},e.Time.getDominicalLetter=function(t){var r="GFEDCBA",n=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return e.Time.isLeapYear(t)?r[(n+6)%7]+r[n]:r[n]},e.Time.epochTime=e.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),e.Time._cmp_attr=function(t,e,r){return t[r]>e[r]?1:t[r]<e[r]?-1:0},e.Time.daysInYearPassedMonth=[[0,31,59,90,120,151,181,212,243,273,304,334,365],[0,31,60,91,121,152,182,213,244,274,305,335,366]],e.Time.SUNDAY=1,e.Time.MONDAY=2,e.Time.TUESDAY=3,e.Time.WEDNESDAY=4,e.Time.THURSDAY=5,e.Time.FRIDAY=6,e.Time.SATURDAY=7,e.Time.DEFAULT_WEEK_START=e.Time.MONDAY,e.VCardTime=function(t,e,r){this.wrappedJSObject=this;var n=this._time=Object.create(null);n.year=null,n.month=null,n.day=null,n.hour=null,n.minute=null,n.second=null,this.icaltype=r||"date-and-or-time",this.fromData(t,e)},e.helpers.inherits(e.Time,e.VCardTime,{icalclass:"vcardtime",icaltype:"date-and-or-time",zone:null,clone:function(){return new e.VCardTime(this._time,this.zone,this.icaltype)},_normalize:function(){return this},utcOffset:function(){return this.zone instanceof e.UtcOffset?this.zone.toSeconds():e.Time.prototype.utcOffset.apply(this,arguments)},toICALString:function(){return e.design.vcard.value[this.icaltype].toICAL(this.toString())},toString:function(){var t,r=e.helpers.pad2,n=this.year,i=this.month,a=this.day,s=this.hour,o=this.minute,u=this.second,l=null!==i,c=null!==a,d=null!==s,f=null!==o,h=null!==u,p=(null!==n?r(n)+(l||c?"-":""):l||c?"--":"")+(l?r(i):"")+(c?"-"+r(a):""),m=(d?r(s):"-")+(d&&f?":":"")+(f?r(o):"")+(d||f?"":"-")+(f&&h?":":"")+(h?r(u):"");switch(t=this.zone===e.Timezone.utcTimezone?"Z":this.zone instanceof e.UtcOffset?this.zone.toString():this.zone===e.Timezone.localTimezone?"":this.zone instanceof e.Timezone?e.UtcOffset.fromSeconds(this.zone.utcOffset(this)).toString():"",this.icaltype){case"time":return m+t;case"date-and-or-time":case"date-time":return p+("--"==m?"":"T"+m+t);case"date":return p}return null}}),e.VCardTime.fromDateAndOrTimeString=function(t,r){function n(t,r,n){return t?e.helpers.strictParseInt(t.substr(r,n)):null}var i=t.split("T"),a=i[0],s=i[1],o=s?e.design.vcard.value.time._splitZone(s):[],u=o[0],l=o[1];e.helpers.strictParseInt;var c=a?a.length:0,d=l?l.length:0,f=a&&"-"==a[0]&&"-"==a[1],h=l&&"-"==l[0],p={year:f?null:n(a,0,4),month:!f||4!=c&&7!=c?7==c||10==c?n(a,5,2):null:n(a,2,2),day:5==c?n(a,3,2):7==c&&f?n(a,5,2):10==c?n(a,8,2):null,hour:h?null:n(l,0,2),minute:h&&3==d?n(l,1,2):d>4?n(l,h?1:3,2):null,second:4==d?n(l,2,2):6==d?n(l,4,2):8==d?n(l,6,2):null};return u="Z"==u?e.Timezone.utcTimezone:u&&":"==u[3]?e.UtcOffset.fromString(u):null,new e.VCardTime(p,u,r)},function(){var t={SU:e.Time.SUNDAY,MO:e.Time.MONDAY,TU:e.Time.TUESDAY,WE:e.Time.WEDNESDAY,TH:e.Time.THURSDAY,FR:e.Time.FRIDAY,SA:e.Time.SATURDAY},r={};for(var n in t)t.hasOwnProperty(n)&&(r[t[n]]=n);function i(t,r,n,i){var a=i;if("+"===i[0]&&(a=i.substr(1)),a=e.helpers.strictParseInt(a),void 0!==r&&i<r)throw new Error(t+': invalid value "'+i+'" must be > '+r);if(void 0!==n&&i>n)throw new Error(t+': invalid value "'+i+'" must be < '+r);return a}e.Recur=function(t){this.wrappedJSObject=this,this.parts={},t&&"object"==typeof t&&this.fromData(t)},e.Recur.prototype={parts:null,interval:1,wkst:e.Time.MONDAY,until:null,count:null,freq:null,icalclass:"icalrecur",icaltype:"recur",iterator:function(t){return new e.RecurIterator({rule:this,dtstart:t})},clone:function(){return new e.Recur(this.toJSON())},isFinite:function(){return!(!this.count&&!this.until)},isByCount:function(){return!(!this.count||this.until)},addComponent:function(t,e){var r=t.toUpperCase();r in this.parts?this.parts[r].push(e):this.parts[r]=[e]},setComponent:function(t,e){this.parts[t.toUpperCase()]=e.slice()},getComponent:function(t){var e=t.toUpperCase();return e in this.parts?this.parts[e].slice():[]},getNextOccurrence:function(t,e){var r,n=this.iterator(t);do{r=n.next()}while(r&&r.compare(e)<=0);return r&&e.zone&&(r.zone=e.zone),r},fromData:function(t){for(var r in t){var n=r.toUpperCase();n in l?Array.isArray(t[r])?this.parts[n]=t[r]:this.parts[n]=[t[r]]:this[r]=t[r]}this.interval&&"number"!=typeof this.interval&&u.INTERVAL(this.interval,this),this.wkst&&"number"!=typeof this.wkst&&(this.wkst=e.Recur.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof e.Time)&&(this.until=e.Time.fromString(this.until))},toJSON:function(){var t=Object.create(null);for(var r in t.freq=this.freq,this.count&&(t.count=this.count),this.interval>1&&(t.interval=this.interval),this.parts)if(this.parts.hasOwnProperty(r)){var n=this.parts[r];Array.isArray(n)&&1==n.length?t[r.toLowerCase()]=n[0]:t[r.toLowerCase()]=e.helpers.clone(this.parts[r])}return this.until&&(t.until=this.until.toString()),"wkst"in this&&this.wkst!==e.Time.DEFAULT_WEEK_START&&(t.wkst=e.Recur.numericDayToIcalDay(this.wkst)),t},toString:function(){var t="FREQ="+this.freq;for(var r in this.count&&(t+=";COUNT="+this.count),this.interval>1&&(t+=";INTERVAL="+this.interval),this.parts)this.parts.hasOwnProperty(r)&&(t+=";"+r+"="+this.parts[r]);return this.until&&(t+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==e.Time.DEFAULT_WEEK_START&&(t+=";WKST="+e.Recur.numericDayToIcalDay(this.wkst)),t}},e.Recur.icalDayToNumericDay=function(r,n){var i=n||e.Time.SUNDAY;return(t[r]-i+7)%7+1},e.Recur.numericDayToIcalDay=function(t,n){var i=t+(n||e.Time.SUNDAY)-e.Time.SUNDAY;return i>7&&(i-=7),r[i]};var a=/^(SU|MO|TU|WE|TH|FR|SA)$/,s=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,o=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],u={FREQ:function(t,e,r){if(-1===o.indexOf(t))throw new Error('invalid frequency "'+t+'" expected: "'+o.join(", ")+'"');e.freq=t},COUNT:function(t,r,n){r.count=e.helpers.strictParseInt(t)},INTERVAL:function(t,r,n){r.interval=e.helpers.strictParseInt(t),r.interval<1&&(r.interval=1)},UNTIL:function(t,r,n){t.length>10?r.until=e.design.icalendar.value["date-time"].fromICAL(t):r.until=e.design.icalendar.value.date.fromICAL(t),n||(r.until=e.Time.fromString(r.until))},WKST:function(t,r,n){if(!a.test(t))throw new Error('invalid WKST value "'+t+'"');r.wkst=e.Recur.icalDayToNumericDay(t)}},l={BYSECOND:i.bind(this,"BYSECOND",0,60),BYMINUTE:i.bind(this,"BYMINUTE",0,59),BYHOUR:i.bind(this,"BYHOUR",0,23),BYDAY:function(t){if(s.test(t))return t;throw new Error('invalid BYDAY value "'+t+'"')},BYMONTHDAY:i.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:i.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:i.bind(this,"BYWEEKNO",-53,53),BYMONTH:i.bind(this,"BYMONTH",1,12),BYSETPOS:i.bind(this,"BYSETPOS",-366,366)};e.Recur.fromString=function(t){var r=e.Recur._stringToData(t,!1);return new e.Recur(r)},e.Recur.fromData=function(t){return new e.Recur(t)},e.Recur._stringToData=function(t,e){for(var r=Object.create(null),n=t.split(";"),i=n.length,a=0;a<i;a++){var s=n[a].split("="),o=s[0].toUpperCase(),c=s[0].toLowerCase(),d=e?c:o,f=s[1];if(o in l){for(var h=f.split(","),p=0,m=h.length;p<m;p++)h[p]=l[o](h[p]);r[d]=1==h.length?h[0]:h}else o in u?u[o](f,r,e):r[c]=f}return r}}(),e.RecurIterator=function(){function t(t){this.fromData(t)}return t.prototype={completed:!1,rule:null,dtstart:null,last:null,occurrence_number:0,by_indices:null,initialized:!1,by_data:null,days:null,days_index:0,fromData:function(t){if(this.rule=e.helpers.formatClassType(t.rule,e.Recur),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=e.helpers.formatClassType(t.dtstart,e.Time),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");t.by_data?this.by_data=t.by_data:this.by_data=e.helpers.clone(this.rule.parts,!0),t.occurrence_number&&(this.occurrence_number=t.occurrence_number),this.days=t.days||[],t.last&&(this.last=e.helpers.formatClassType(t.last,e.Time)),this.by_indices=t.by_indices,this.by_indices||(this.by_indices={BYSECOND:0,BYMINUTE:0,BYHOUR:0,BYDAY:0,BYMONTH:0,BYWEEKNO:0,BYMONTHDAY:0}),this.initialized=t.initialized||!1,this.initialized||this.init()},init:function(){this.initialized=!0,this.last=this.dtstart.clone();var t=this.by_data;if("BYDAY"in t&&this.sort_byday_rules(t.BYDAY),"BYYEARDAY"in t&&("BYMONTH"in t||"BYWEEKNO"in t||"BYMONTHDAY"in t||"BYDAY"in t))throw new Error("Invalid BYYEARDAY rule");if("BYWEEKNO"in t&&"BYMONTHDAY"in t)throw new Error("BYWEEKNO does not fit to BYMONTHDAY");if("MONTHLY"==this.rule.freq&&("BYYEARDAY"in t||"BYWEEKNO"in t))throw new Error("For MONTHLY recurrences neither BYYEARDAY nor BYWEEKNO may appear");if("WEEKLY"==this.rule.freq&&("BYYEARDAY"in t||"BYMONTHDAY"in t))throw new Error("For WEEKLY recurrences neither BYMONTHDAY nor BYYEARDAY may appear");if("YEARLY"!=this.rule.freq&&"BYYEARDAY"in t)throw new Error("BYYEARDAY may only appear in YEARLY rules");if(this.last.second=this.setup_defaults("BYSECOND","SECONDLY",this.dtstart.second),this.last.minute=this.setup_defaults("BYMINUTE","MINUTELY",this.dtstart.minute),this.last.hour=this.setup_defaults("BYHOUR","HOURLY",this.dtstart.hour),this.last.day=this.setup_defaults("BYMONTHDAY","DAILY",this.dtstart.day),this.last.month=this.setup_defaults("BYMONTH","MONTHLY",this.dtstart.month),"WEEKLY"==this.rule.freq)if("BYDAY"in t){var r=(l=this.ruleDayOfWeek(t.BYDAY[0],this.rule.wkst))[0],n=(c=l[1])-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<c&&n>=0||n<0)&&(this.last.day+=n)}else{var i=e.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[i]}if("YEARLY"==this.rule.freq){for(;this.expand_year_days(this.last.year),!(this.days.length>0);)this.increment_year(this.rule.interval);this._nextByYearDay()}if("MONTHLY"==this.rule.freq&&this.has_by_data("BYDAY")){var a=null,s=this.last.clone(),o=e.Time.daysInMonth(this.last.month,this.last.year);for(var u in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(u)){this.last=s.clone(),r=(l=this.ruleDayOfWeek(this.by_data.BYDAY[u]))[0];var l,c=l[1],d=this.last.nthWeekDay(c,r);if(r>=6||r<=-6)throw new Error("Malformed values in BYDAY part");if(d>o||d<=0){if(a&&a.month==s.month)continue;for(;d>o||d<=0;)this.increment_month(),o=e.Time.daysInMonth(this.last.month,this.last.year),d=this.last.nthWeekDay(c,r)}this.last.day=d,(!a||this.last.compare(a)<0)&&(a=this.last.clone())}if(this.last=a.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>o||0==this.last.day)throw new Error("Malformed values in BYDAY part")}else this.has_by_data("BYMONTHDAY")&&this.last.day<0&&(o=e.Time.daysInMonth(this.last.month,this.last.year),this.last.day=o+this.last.day+1)},next:function(){var t,e=this.last?this.last.clone():null;if(this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)return this.completed=!0,null;if(0==this.occurrence_number&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;do{switch(t=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":t=this.next_month();break;case"YEARLY":this.next_year();break;default:return null}}while(!this.check_contracting_rules()||this.last.compare(this.dtstart)<0||!t);if(0==this.last.compare(e))throw new Error("Same occurrence found twice, protecting you from death by recursion");return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)},next_second:function(){return this.next_generic("BYSECOND","SECONDLY","second","minute")},increment_second:function(t){return this.increment_generic(t,"second",60,"minute")},next_minute:function(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")},increment_minute:function(t){return this.increment_generic(t,"minute",60,"hour")},next_hour:function(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")},increment_hour:function(t){this.increment_generic(t,"hour",24,"monthday")},next_day:function(){this.by_data;var t="DAILY"==this.rule.freq;return 0==this.next_hour()||(t?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0},next_week:function(){var t=0;if(0==this.next_weekday_by_week())return t;if(this.has_by_data("BYWEEKNO")){++this.by_indices.BYWEEKNO,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,t=1),this.last.month=1,this.last.day=1;var e=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*e,t&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return t},normalizeByMonthDayRules:function(t,r,n){for(var i,a=e.Time.daysInMonth(r,t),s=[],o=0,u=n.length;o<u;o++)if(i=n[o],!(Math.abs(i)>a)){if(i<0)i=a+(i+1);else if(0===i)continue;-1===s.indexOf(i)&&s.push(i)}return s.sort((function(t,e){return t-e}))},_byDayAndMonthDay:function(t){var r,n,i,a,s=this.by_data.BYDAY,o=0,u=s.length,l=0,c=this,d=this.last.day;function f(){for(a=e.Time.daysInMonth(c.last.month,c.last.year),r=c.normalizeByMonthDayRules(c.last.year,c.last.month,c.by_data.BYMONTHDAY),i=r.length;r[o]<=d&&(!t||r[o]!=d)&&o<i-1;)o++}function h(){d=0,c.increment_month(),o=0,f()}f(),t&&(d-=1);for(var p=48;!l&&p;)if(p--,(n=d+1)>a)h();else{var m=r[o++];if(m>=n){d=m;for(var y=0;y<u;y++){var v=this.ruleDayOfWeek(s[y]),T=v[0],g=v[1];if(this.last.day=d,this.last.isNthWeekDay(g,T)){l=1;break}}l||o!==i||h()}else h()}if(p<=0)throw new Error("Malformed values in BYDAY combined with BYMONTHDAY parts");return l},next_month:function(){this.rule.freq;var t=1;if(0==this.next_hour())return t;if(this.has_by_data("BYDAY")&&this.has_by_data("BYMONTHDAY"))t=this._byDayAndMonthDay();else if(this.has_by_data("BYDAY")){var r=e.Time.daysInMonth(this.last.month,this.last.year),n=0,i=0;if(this.has_by_data("BYSETPOS")){for(var a=this.last.day,s=1;s<=r;s++)this.last.day=s,this.is_day_in_byday(this.last)&&(i++,s<=a&&n++);this.last.day=a}for(t=0,s=this.last.day+1;s<=r;s++)if(this.last.day=s,this.is_day_in_byday(this.last)&&(!this.has_by_data("BYSETPOS")||this.check_set_position(++n)||this.check_set_position(n-i-1))){t=1;break}s>r&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(t=1):t=0)}else this.has_by_data("BYMONTHDAY")?(this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month()),r=e.Time.daysInMonth(this.last.month,this.last.year),(s=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY])<0&&(s=r+s+1),s>r?(this.last.day=1,t=this.is_day_in_byday(this.last)):this.last.day=s):(this.increment_month(),r=e.Time.daysInMonth(this.last.month,this.last.year),this.by_data.BYMONTHDAY[0]>r?t=0:this.last.day=this.by_data.BYMONTHDAY[0]);return t},next_weekday_by_week:function(){var t=0;if(0==this.next_hour())return t;if(!this.has_by_data("BYDAY"))return 1;for(;;){var r=new e.Time;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,t=1);var n=this.by_data.BYDAY[this.by_indices.BYDAY],i=this.ruleDayOfWeek(n)[1];(i-=this.rule.wkst)<0&&(i+=7),r.year=this.last.year,r.month=this.last.month,r.day=this.last.day;var a=r.startDoyWeek(this.rule.wkst);if(!(i+a<1)||t){var s=e.Time.fromDayOfYear(a+i,this.last.year);return this.last.year=s.year,this.last.month=s.month,this.last.day=s.day,t}}},next_year:function(){if(0==this.next_hour())return 0;if(++this.days_index==this.days.length){this.days_index=0;do{this.increment_year(this.rule.interval),this.expand_year_days(this.last.year)}while(0==this.days.length)}return this._nextByYearDay(),1},_nextByYearDay:function(){var t=this.days[this.days_index],r=this.last.year;t<1&&(t+=1,r+=1);var n=e.Time.fromDayOfYear(t,r);this.last.day=n.day,this.last.month=n.month},ruleDayOfWeek:function(t,r){var n=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return n?[parseInt(n[1]||0,10),t=e.Recur.icalDayToNumericDay(n[2],r)]:[0,0]},next_generic:function(t,e,r,n,i){var a=t in this.by_data,s=this.rule.freq==e,o=0;if(i&&0==this[i]())return o;if(a){this.by_indices[t]++,this.by_indices[t];var u=this.by_data[t];this.by_indices[t]==u.length&&(this.by_indices[t]=0,o=1),this.last[r]=u[this.by_indices[t]]}else s&&this["increment_"+r](this.rule.interval);return a&&o&&s&&this["increment_"+n](1),o},increment_monthday:function(t){for(var r=0;r<t;r++){var n=e.Time.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>n&&(this.last.day-=n,this.increment_month())}},increment_month:function(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{"MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;var t=e.helpers.trunc(this.last.month/12);this.last.month%=12,this.last.month++,0!=t&&this.increment_year(t)}},increment_year:function(t){this.last.year+=t},increment_generic:function(t,r,n,i){this.last[r]+=t;var a=e.helpers.trunc(this.last[r]/n);this.last[r]%=n,0!=a&&this["increment_"+i](a)},has_by_data:function(t){return t in this.rule.parts},expand_year_days:function(t){var r=new e.Time;this.days=[];var n={},i=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];s in this.rule.parts&&(n[s]=this.rule.parts[s])}if("BYMONTH"in n&&"BYWEEKNO"in n){var o=1,u={};r.year=t,r.isDate=!0;for(var l=0;l<this.by_data.BYMONTH.length;l++){var c=this.by_data.BYMONTH[l];r.month=c,r.day=1;var d=r.weekNumber(this.rule.wkst);r.day=e.Time.daysInMonth(c,t);var f=r.weekNumber(this.rule.wkst);for(l=d;l<f;l++)u[l]=1}for(var h=0;h<this.by_data.BYWEEKNO.length&&o;h++)(j=this.by_data.BYWEEKNO[h])<52?o&=u[h]:o=0;o?delete n.BYMONTH:delete n.BYWEEKNO}var p=Object.keys(n).length;if(0==p){var m=this.dtstart.clone();m.year=this.last.year,this.days.push(m.dayOfYear())}else if(1==p&&"BYMONTH"in n){for(var y in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(y)){var v=this.dtstart.clone();v.year=t,v.month=this.by_data.BYMONTH[y],v.isDate=!0,this.days.push(v.dayOfYear())}}else if(1==p&&"BYMONTHDAY"in n){for(var T in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(T)){var g=this.dtstart.clone();(S=this.by_data.BYMONTHDAY[T])<0&&(S=S+(b=e.Time.daysInMonth(g.month,t))+1),g.day=S,g.year=t,g.isDate=!0,this.days.push(g.dayOfYear())}}else if(2==p&&"BYMONTHDAY"in n&&"BYMONTH"in n){for(var y in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(y)){var A=this.by_data.BYMONTH[y],b=e.Time.daysInMonth(A,t);for(var T in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(T)){var S;(S=this.by_data.BYMONTHDAY[T])<0&&(S=S+b+1),r.day=S,r.month=A,r.year=t,r.isDate=!0,this.days.push(r.dayOfYear())}}}else if(!(1==p&&"BYWEEKNO"in n||2==p&&"BYWEEKNO"in n&&"BYMONTHDAY"in n))if(1==p&&"BYDAY"in n)this.days=this.days.concat(this.expand_by_day(t));else if(2==p&&"BYDAY"in n&&"BYMONTH"in n){for(var y in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(y)){c=this.by_data.BYMONTH[y],b=e.Time.daysInMonth(c,t),r.year=t,r.month=this.by_data.BYMONTH[y],r.day=1,r.isDate=!0;var E=r.dayOfWeek(),_=r.dayOfYear()-1;r.day=b;var D=r.dayOfWeek();if(this.has_by_data("BYSETPOS")){for(var C=[],O=1;O<=b;O++)r.day=O,this.is_day_in_byday(r)&&C.push(O);for(var w=0;w<C.length;w++)(this.check_set_position(w+1)||this.check_set_position(w-C.length))&&this.days.push(_+C[w])}else for(var x in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(x)){var I,N=this.by_data.BYDAY[x],U=this.ruleDayOfWeek(N),M=U[0],L=U[1],P=(L+7-E)%7+1,Y=b-(D+7-L)%7;if(0==M)for(O=P;O<=b;O+=7)this.days.push(_+O);else M>0?(I=P+7*(M-1))<=b&&this.days.push(_+I):(I=Y+7*(M+1))>0&&this.days.push(_+I)}}this.days.sort((function(t,e){return t-e}))}else if(2==p&&"BYDAY"in n&&"BYMONTHDAY"in n){var k=this.expand_by_day(t);for(var R in k)if(k.hasOwnProperty(R)){O=k[R];var B=e.Time.fromDayOfYear(O,t);this.by_data.BYMONTHDAY.indexOf(B.day)>=0&&this.days.push(O)}}else if(3==p&&"BYDAY"in n&&"BYMONTHDAY"in n&&"BYMONTH"in n)for(var R in k=this.expand_by_day(t))k.hasOwnProperty(R)&&(O=k[R],B=e.Time.fromDayOfYear(O,t),this.by_data.BYMONTH.indexOf(B.month)>=0&&this.by_data.BYMONTHDAY.indexOf(B.day)>=0&&this.days.push(O));else if(2==p&&"BYDAY"in n&&"BYWEEKNO"in n){for(var R in k=this.expand_by_day(t))if(k.hasOwnProperty(R)){O=k[R];var j=(B=e.Time.fromDayOfYear(O,t)).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(j)&&this.days.push(O)}}else 3==p&&"BYDAY"in n&&"BYWEEKNO"in n&&"BYMONTHDAY"in n||(this.days=1==p&&"BYYEARDAY"in n?this.days.concat(this.by_data.BYYEARDAY):[]);return 0},expand_by_day:function(t){var e=[],r=this.last.clone();r.year=t,r.month=1,r.day=1,r.isDate=!0;var n=r.dayOfWeek();r.month=12,r.day=31,r.isDate=!0;var i=r.dayOfWeek(),a=r.dayOfYear();for(var s in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(s)){var o=this.by_data.BYDAY[s],u=this.ruleDayOfWeek(o),l=u[0],c=u[1];if(0==l)for(var d=(c+7-n)%7+1;d<=a;d+=7)e.push(d);else if(l>0){var f;f=c>=n?c-n+1:c-n+8,e.push(f+7*(l-1))}else{var h;l=-l,h=c<=i?a-i+c:a-i+c-7,e.push(h-7*(l-1))}}return e},is_day_in_byday:function(t){for(var e in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(e)){var r=this.by_data.BYDAY[e],n=this.ruleDayOfWeek(r),i=n[0],a=n[1],s=t.dayOfWeek();if(0==i&&a==s||t.nthWeekDay(a,i)==t.day)return 1}return 0},check_set_position:function(t){return!!this.has_by_data("BYSETPOS")&&-1!==this.by_data.BYSETPOS.indexOf(t)},sort_byday_rules:function(t){for(var e=0;e<t.length;e++)for(var r=0;r<e;r++)if(this.ruleDayOfWeek(t[r],this.rule.wkst)[1]>this.ruleDayOfWeek(t[e],this.rule.wkst)[1]){var n=t[e];t[e]=t[r],t[r]=n}},check_contract_restriction:function(e,r){var n=t._indexMap[e],i=t._expandMap[this.rule.freq][n],a=!1;if(e in this.by_data&&i==t.CONTRACT){var s=this.by_data[e];for(var o in s)if(s.hasOwnProperty(o)&&s[o]==r){a=!0;break}}else a=!0;return a},check_contracting_rules:function(){var t=this.last.dayOfWeek(),r=this.last.weekNumber(this.rule.wkst),n=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",e.Recur.numericDayToIcalDay(t))&&this.check_contract_restriction("BYWEEKNO",r)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",n)},setup_defaults:function(e,r,n){var i=t._indexMap[e];return t._expandMap[this.rule.freq][i]!=t.CONTRACT&&(e in this.by_data||(this.by_data[e]=[n]),this.rule.freq!=r)?this.by_data[e][0]:n},toJSON:function(){var t=Object.create(null);return t.initialized=this.initialized,t.rule=this.rule.toJSON(),t.dtstart=this.dtstart.toJSON(),t.by_data=this.by_data,t.days=this.days,t.last=this.last.toJSON(),t.by_indices=this.by_indices,t.occurrence_number=this.occurrence_number,t}},t._indexMap={BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8},t._expandMap={SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]},t.UNKNOWN=0,t.CONTRACT=1,t.EXPAND=2,t.ILLEGAL=3,t}(),e.RecurExpansion=function(){function t(t){return e.helpers.formatClassType(t,e.Time)}function r(t,e){return t.compare(e)}function n(t){this.ruleDates=[],this.exDates=[],this.fromData(t)}return n.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(r){var n=e.helpers.formatClassType(r.dtstart,e.Time);if(!n)throw new Error(".dtstart (ICAL.Time) must be given");if(this.dtstart=n,r.component)this._init(r.component);else{if(this.last=t(r.last)||n.clone(),!r.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=r.ruleIterators.map((function(t){return e.helpers.formatClassType(t,e.RecurIterator)})),this.ruleDateInc=r.ruleDateInc,this.exDateInc=r.exDateInc,r.ruleDates&&(this.ruleDates=r.ruleDates.map(t),this.ruleDate=this.ruleDates[this.ruleDateInc]),r.exDates&&(this.exDates=r.exDates.map(t),this.exDate=this.exDates[this.exDateInc]),typeof r.complete<"u"&&(this.complete=r.complete)}},next:function(){for(var t,e,r,n=0;;){if(n++>500)throw new Error("max tries have occured, rule may be impossible to forfill.");if(e=this.ruleDate,t=this._nextRecurrenceIter(this.last),!e&&!t){this.complete=!0;break}if((!e||t&&e.compare(t.last)>0)&&(e=t.last.clone(),t.next()),this.ruleDate===e&&this._nextRuleDay(),this.last=e,!this.exDate||((r=this.exDate.compare(this.last))<0&&this._nextExDay(),0!==r))return this.last;this._nextExDay()}},toJSON:function(){function t(t){return t.toJSON()}var e=Object.create(null);return e.ruleIterators=this.ruleIterators.map(t),this.ruleDates&&(e.ruleDates=this.ruleDates.map(t)),this.exDates&&(e.exDates=this.exDates.map(t)),e.ruleDateInc=this.ruleDateInc,e.exDateInc=this.exDateInc,e.last=this.last.toJSON(),e.dtstart=this.dtstart.toJSON(),e.complete=this.complete,e},_extractDates:function(t,n){function i(t){a=e.helpers.binsearchInsert(s,t,r),s.splice(a,0,t)}for(var a,s=[],o=t.getAllProperties(n),u=o.length,l=0;l<u;l++)o[l].getValues().forEach(i);return s},_init:function(t){if(this.ruleIterators=[],this.last=this.dtstart.clone(),!function(t){return t.hasProperty("rdate")||t.hasProperty("rrule")||t.hasProperty("recurrence-id")}(t))return this.ruleDate=this.last.clone(),void(this.complete=!0);if(t.hasProperty("rdate")&&(this.ruleDates=this._extractDates(t,"rdate"),this.ruleDates[0]&&this.ruleDates[0].compare(this.dtstart)<0?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=e.helpers.binsearchInsert(this.ruleDates,this.last,r),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.hasProperty("rrule"))for(var n,i=t.getAllProperties("rrule"),a=0,s=i.length;a<s;a++)n=i[a].getFirstValue().iterator(this.dtstart),this.ruleIterators.push(n),n.next();t.hasProperty("exdate")&&(this.exDates=this._extractDates(t,"exdate"),this.exDateInc=e.helpers.binsearchInsert(this.exDates,this.last,r),this.exDate=this.exDates[this.exDateInc])},_nextExDay:function(){this.exDate=this.exDates[++this.exDateInc]},_nextRuleDay:function(){this.ruleDate=this.ruleDates[++this.ruleDateInc]},_nextRecurrenceIter:function(){var t=this.ruleIterators;if(0===t.length)return null;for(var e,r,n,i=t.length,a=0;a<i;a++)r=(e=t[a]).last,e.completed?(i--,0!==a&&a--,t.splice(a,1)):(!n||n.last.compare(r)>0)&&(n=e);return n}},n}(),e.Event=function(){function t(t,r){t instanceof e.Component||(r=t,t=null),this.component=t||new e.Component("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],r&&r.strictExceptions&&(this.strictExceptions=r.strictExceptions),r&&r.exceptions?r.exceptions.forEach(this.relateException,this):this.component.parent&&!this.isRecurrenceException()&&this.component.parent.getAllSubcomponents("vevent").forEach((function(t){t.hasProperty("recurrence-id")&&this.relateException(t)}),this)}function r(t,e){return t[0]>e[0]?1:e[0]>t[0]?-1:0}return t.prototype={THISANDFUTURE:"THISANDFUTURE",exceptions:null,strictExceptions:!1,relateException:function(t){if(this.isRecurrenceException())throw new Error("cannot relate exception to exceptions");if(t instanceof e.Component&&(t=new e.Event(t)),this.strictExceptions&&t.uid!==this.uid)throw new Error("attempted to relate unrelated exception");var n=t.recurrenceId.toString();if(this.exceptions[n]=t,t.modifiesFuture()){var i=[t.recurrenceId.toUnixTime(),n],a=e.helpers.binsearchInsert(this.rangeExceptions,i,r);this.rangeExceptions.splice(a,0,i)}},modifiesFuture:function(){return!!this.component.hasProperty("recurrence-id")&&this.component.getFirstProperty("recurrence-id").getParameter("range")===this.THISANDFUTURE},findRangeException:function(t){if(!this.rangeExceptions.length)return null;var n=t.toUnixTime(),i=e.helpers.binsearchInsert(this.rangeExceptions,[n],r);if((i-=1)<0)return null;var a=this.rangeExceptions[i];return n<a[0]?null:a[1]},getOccurrenceDetails:function(t){var r,n=t.toString(),i=t.convertToZone(e.Timezone.utcTimezone).toString(),a={recurrenceId:t};if(n in this.exceptions)r=a.item=this.exceptions[n],a.startDate=r.startDate,a.endDate=r.endDate,a.item=r;else if(i in this.exceptions)r=this.exceptions[i],a.startDate=r.startDate,a.endDate=r.endDate,a.item=r;else{var s,o=this.findRangeException(t);if(o){var u=this.exceptions[o];a.item=u;var l=this._rangeExceptionCache[o];if(!l){var c=u.recurrenceId.clone(),d=u.startDate.clone();c.zone=d.zone,l=d.subtractDate(c),this._rangeExceptionCache[o]=l}var f=t.clone();f.zone=u.startDate.zone,f.addDuration(l),(s=f.clone()).addDuration(u.duration),a.startDate=f,a.endDate=s}else(s=t.clone()).addDuration(this.duration),a.endDate=s,a.startDate=t,a.item=this}return a},iterator:function(t){return new e.RecurExpansion({component:this.component,dtstart:t||this.startDate})},isRecurring:function(){var t=this.component;return t.hasProperty("rrule")||t.hasProperty("rdate")},isRecurrenceException:function(){return this.component.hasProperty("recurrence-id")},getRecurrenceTypes:function(){for(var t=this.component.getAllProperties("rrule"),e=0,r=t.length,n=Object.create(null);e<r;e++)n[t[e].getFirstValue().freq]=!0;return n},get uid(){return this._firstProp("uid")},set uid(t){this._setProp("uid",t)},get startDate(){return this._firstProp("dtstart")},set startDate(t){this._setTime("dtstart",t)},get endDate(){var t=this._firstProp("dtend");if(!t){var e=this._firstProp("duration");t=this.startDate.clone(),e?t.addDuration(e):t.isDate&&(t.day+=1)}return t},set endDate(t){this.component.hasProperty("duration")&&this.component.removeProperty("duration"),this._setTime("dtend",t)},get duration(){return this._firstProp("duration")||this.endDate.subtractDateTz(this.startDate)},set duration(t){this.component.hasProperty("dtend")&&this.component.removeProperty("dtend"),this._setProp("duration",t)},get location(){return this._firstProp("location")},set location(t){return this._setProp("location",t)},get attendees(){return this.component.getAllProperties("attendee")},get summary(){return this._firstProp("summary")},set summary(t){this._setProp("summary",t)},get description(){return this._firstProp("description")},set description(t){this._setProp("description",t)},get color(){return this._firstProp("color")},set color(t){this._setProp("color",t)},get organizer(){return this._firstProp("organizer")},set organizer(t){this._setProp("organizer",t)},get sequence(){return this._firstProp("sequence")},set sequence(t){this._setProp("sequence",t)},get recurrenceId(){return this._firstProp("recurrence-id")},set recurrenceId(t){this._setTime("recurrence-id",t)},_setTime:function(t,r){var n=this.component.getFirstProperty(t);n||(n=new e.Property(t),this.component.addProperty(n)),r.zone===e.Timezone.localTimezone||r.zone===e.Timezone.utcTimezone?n.removeParameter("tzid"):n.setParameter("tzid",r.zone.tzid),n.setValue(r)},_setProp:function(t,e){this.component.updatePropertyWithValue(t,e)},_firstProp:function(t){return this.component.getFirstPropertyValue(t)},toString:function(){return this.component.toString()}},t}(),e.ComponentParser=function(){function t(t){var e;for(e in typeof t>"u"&&(t={}),t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype={parseEvent:!0,parseTimezone:!0,oncomplete:function(){},onerror:function(t){},ontimezone:function(t){},onevent:function(t){},process:function(t){"string"==typeof t&&(t=e.parse(t)),t instanceof e.Component||(t=new e.Component(t));for(var r,n=t.getAllSubcomponents(),i=0,a=n.length;i<a;i++)switch(r=n[i],r.name){case"vtimezone":if(this.parseTimezone){var s=r.getFirstPropertyValue("tzid");s&&this.ontimezone(new e.Timezone({tzid:s,component:r}))}break;case"vevent":this.parseEvent&&this.onevent(new e.Event(r));break;default:continue}this.oncomplete()}},t}()}(nt);var it=nt.exports;let at;const st=new Uint8Array(16);function ot(){if(!at&&(at=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!at))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return at(st)}const ut=[];for(let t=0;t<256;++t)ut.push((t+256).toString(16).slice(1));const lt={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ct(t,e,r){if(lt.randomUUID&&!e&&!t)return lt.randomUUID();const n=(t=t||{}).random||(t.rng||ot)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(let t=0;t<16;++t)e[r+t]=n[t];return e}return function(t,e=0){return ut[t[e+0]]+ut[t[e+1]]+ut[t[e+2]]+ut[t[e+3]]+"-"+ut[t[e+4]]+ut[t[e+5]]+"-"+ut[t[e+6]]+ut[t[e+7]]+"-"+ut[t[e+8]]+ut[t[e+9]]+"-"+ut[t[e+10]]+ut[t[e+11]]+ut[t[e+12]]+ut[t[e+13]]+ut[t[e+14]]+ut[t[e+15]]}(n)}var dt={},ft=function(t){return t&&t.Math===Math&&t},ht=ft("object"==typeof globalThis&&globalThis)||ft("object"==typeof window&&window)||ft("object"==typeof self&&self)||ft("object"==typeof q&&q)||function(){return this}()||q||Function("return this")(),pt={},mt=function(t){try{return!!t()}catch{return!0}},yt=!mt((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),vt=!mt((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),Tt=vt,gt=Function.prototype.call,At=Tt?gt.bind(gt):function(){return gt.apply(gt,arguments)},bt={},St={}.propertyIsEnumerable,Et=Object.getOwnPropertyDescriptor,_t=Et&&!St.call({1:2},1);bt.f=_t?function(t){var e=Et(this,t);return!!e&&e.enumerable}:St;var Dt,Ct,Ot=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},wt=vt,xt=Function.prototype,It=xt.call,Nt=wt&&xt.bind.bind(It,It),Ut=wt?Nt:function(t){return function(){return It.apply(t,arguments)}},Mt=Ut,Lt=Mt({}.toString),Pt=Mt("".slice),Yt=function(t){return Pt(Lt(t),8,-1)},kt=mt,Rt=Yt,Bt=Object,jt=Ut("".split),zt=kt((function(){return!Bt("z").propertyIsEnumerable(0)}))?function(t){return"String"===Rt(t)?jt(t,""):Bt(t)}:Bt,Ft=function(t){return null==t},Wt=Ft,$t=TypeError,Vt=function(t){if(Wt(t))throw new $t("Can't call method on "+t);return t},Ht=zt,Gt=Vt,Zt=function(t){return Ht(Gt(t))},Kt="object"==typeof document&&document.all,qt={all:Kt,IS_HTMLDDA:typeof Kt>"u"&&void 0!==Kt},Xt=qt.all,Jt=qt.IS_HTMLDDA?function(t){return"function"==typeof t||t===Xt}:function(t){return"function"==typeof t},Qt=Jt,te=qt.all,ee=qt.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Qt(t)||t===te}:function(t){return"object"==typeof t?null!==t:Qt(t)},re=ht,ne=Jt,ie=function(t,e){return arguments.length<2?function(t){return ne(t)?t:void 0}(re[t]):re[t]&&re[t][e]},ae=Ut({}.isPrototypeOf),se=ht,oe=typeof navigator<"u"&&String(navigator.userAgent)||"",ue=se.process,le=se.Deno,ce=ue&&ue.versions||le&&le.version,de=ce&&ce.v8;de&&(Ct=(Dt=de.split("."))[0]>0&&Dt[0]<4?1:+(Dt[0]+Dt[1])),!Ct&&oe&&(!(Dt=oe.match(/Edge\/(\d+)/))||Dt[1]>=74)&&(Dt=oe.match(/Chrome\/(\d+)/))&&(Ct=+Dt[1]);var fe=Ct,he=mt,pe=ht.String,me=!!Object.getOwnPropertySymbols&&!he((function(){var t=Symbol("symbol detection");return!pe(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&fe&&fe<41})),ye=me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=ie,Te=Jt,ge=ae,Ae=Object,be=ye?function(t){return"symbol"==typeof t}:function(t){var e=ve("Symbol");return Te(e)&&ge(e.prototype,Ae(t))},Se=String,Ee=function(t){try{return Se(t)}catch{return"Object"}},_e=Jt,De=Ee,Ce=TypeError,Oe=function(t){if(_e(t))return t;throw new Ce(De(t)+" is not a function")},we=Oe,xe=Ft,Ie=At,Ne=Jt,Ue=ee,Me=TypeError,Le=function(t,e){var r,n;if("string"===e&&Ne(r=t.toString)&&!Ue(n=Ie(r,t))||Ne(r=t.valueOf)&&!Ue(n=Ie(r,t))||"string"!==e&&Ne(r=t.toString)&&!Ue(n=Ie(r,t)))return n;throw new Me("Can't convert object to primitive value")},Pe={exports:{}},Ye=ht,ke=Object.defineProperty,Re=function(t,e){try{ke(Ye,t,{value:e,configurable:!0,writable:!0})}catch{Ye[t]=e}return e},Be=Re,je="__core-js_shared__",ze=ht[je]||Be(je,{}),Fe=ze;(Pe.exports=function(t,e){return Fe[t]||(Fe[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"});var We=Pe.exports,$e=Vt,Ve=Object,He=function(t){return Ve($e(t))},Ge=He,Ze=Ut({}.hasOwnProperty),Ke=Object.hasOwn||function(t,e){return Ze(Ge(t),e)},qe=Ut,Xe=0,Je=Math.random(),Qe=qe(1..toString),tr=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Qe(++Xe+Je,36)},er=We,rr=Ke,nr=tr,ir=me,ar=ye,sr=ht.Symbol,or=er("wks"),ur=ar?sr.for||sr:sr&&sr.withoutSetter||nr,lr=function(t){return rr(or,t)||(or[t]=ir&&rr(sr,t)?sr[t]:ur("Symbol."+t)),or[t]},cr=At,dr=ee,fr=be,hr=Le,pr=TypeError,mr=lr("toPrimitive"),yr=function(t,e){if(!dr(t)||fr(t))return t;var r,n=function(t,e){var r=t[e];return xe(r)?void 0:we(r)}(t,mr);if(n){if(void 0===e&&(e="default"),r=cr(n,t,e),!dr(r)||fr(r))return r;throw new pr("Can't convert object to primitive value")}return void 0===e&&(e="number"),hr(t,e)},vr=yr,Tr=be,gr=function(t){var e=vr(t,"string");return Tr(e)?e:e+""},Ar=ee,br=ht.document,Sr=Ar(br)&&Ar(br.createElement),Er=function(t){return Sr?br.createElement(t):{}},_r=Er,Dr=!yt&&!mt((function(){return 7!==Object.defineProperty(_r("div"),"a",{get:function(){return 7}}).a})),Cr=yt,Or=At,wr=bt,xr=Ot,Ir=Zt,Nr=gr,Ur=Ke,Mr=Dr,Lr=Object.getOwnPropertyDescriptor;pt.f=Cr?Lr:function(t,e){if(t=Ir(t),e=Nr(e),Mr)try{return Lr(t,e)}catch{}if(Ur(t,e))return xr(!Or(wr.f,t,e),t[e])};var Pr={},Yr=yt&&mt((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),kr=ee,Rr=String,Br=TypeError,jr=function(t){if(kr(t))return t;throw new Br(Rr(t)+" is not an object")},zr=yt,Fr=Dr,Wr=Yr,$r=jr,Vr=gr,Hr=TypeError,Gr=Object.defineProperty,Zr=Object.getOwnPropertyDescriptor,Kr="enumerable",qr="configurable",Xr="writable";Pr.f=zr?Wr?function(t,e,r){if($r(t),e=Vr(e),$r(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Xr in r&&!r[Xr]){var n=Zr(t,e);n&&n[Xr]&&(t[e]=r.value,r={configurable:qr in r?r[qr]:n[qr],enumerable:Kr in r?r[Kr]:n[Kr],writable:!1})}return Gr(t,e,r)}:Gr:function(t,e,r){if($r(t),e=Vr(e),$r(r),Fr)try{return Gr(t,e,r)}catch{}if("get"in r||"set"in r)throw new Hr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Jr=Pr,Qr=Ot,tn=yt?function(t,e,r){return Jr.f(t,e,Qr(1,r))}:function(t,e,r){return t[e]=r,t},en={exports:{}},rn=yt,nn=Ke,an=Function.prototype,sn=rn&&Object.getOwnPropertyDescriptor,on=nn(an,"name"),un={EXISTS:on,PROPER:on&&"something"===function(){}.name,CONFIGURABLE:on&&(!rn||rn&&sn(an,"name").configurable)},ln=Jt,cn=ze,dn=Ut(Function.toString);ln(cn.inspectSource)||(cn.inspectSource=function(t){return dn(t)});var fn,hn,pn,mn=cn.inspectSource,yn=Jt,vn=ht.WeakMap,Tn=yn(vn)&&/native code/.test(String(vn)),gn=tr,An=We("keys"),bn=function(t){return An[t]||(An[t]=gn(t))},Sn={},En=Tn,_n=ht,Dn=ee,Cn=tn,On=Ke,wn=ze,xn=bn,In=Sn,Nn="Object already initialized",Un=_n.TypeError,Mn=_n.WeakMap;if(En||wn.state){var Ln=wn.state||(wn.state=new Mn);Ln.get=Ln.get,Ln.has=Ln.has,Ln.set=Ln.set,fn=function(t,e){if(Ln.has(t))throw new Un(Nn);return e.facade=t,Ln.set(t,e),e},hn=function(t){return Ln.get(t)||{}},pn=function(t){return Ln.has(t)}}else{var Pn=xn("state");In[Pn]=!0,fn=function(t,e){if(On(t,Pn))throw new Un(Nn);return e.facade=t,Cn(t,Pn,e),e},hn=function(t){return On(t,Pn)?t[Pn]:{}},pn=function(t){return On(t,Pn)}}var Yn={set:fn,get:hn,has:pn,enforce:function(t){return pn(t)?hn(t):fn(t,{})},getterFor:function(t){return function(e){var r;if(!Dn(e)||(r=hn(e)).type!==t)throw new Un("Incompatible receiver, "+t+" required");return r}}},kn=Ut,Rn=mt,Bn=Jt,jn=Ke,zn=yt,Fn=un.CONFIGURABLE,Wn=mn,$n=Yn.enforce,Vn=Yn.get,Hn=String,Gn=Object.defineProperty,Zn=kn("".slice),Kn=kn("".replace),qn=kn([].join),Xn=zn&&!Rn((function(){return 8!==Gn((function(){}),"length",{value:8}).length})),Jn=String(String).split("String"),Qn=en.exports=function(t,e,r){"Symbol("===Zn(Hn(e),0,7)&&(e="["+Kn(Hn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!jn(t,"name")||Fn&&t.name!==e)&&(zn?Gn(t,"name",{value:e,configurable:!0}):t.name=e),Xn&&r&&jn(r,"arity")&&t.length!==r.arity&&Gn(t,"length",{value:r.arity});try{r&&jn(r,"constructor")&&r.constructor?zn&&Gn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var n=$n(t);return jn(n,"source")||(n.source=qn(Jn,"string"==typeof e?e:"")),t};Function.prototype.toString=Qn((function(){return Bn(this)&&Vn(this).source||Wn(this)}),"toString");var ti=en.exports,ei=Jt,ri=Pr,ni=ti,ii=Re,ai=function(t,e,r,n){n||(n={});var i=n.enumerable,a=void 0!==n.name?n.name:e;if(ei(r)&&ni(r,a,n),n.global)i?t[e]=r:ii(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch{}i?t[e]=r:ri.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},si={},oi=Math.ceil,ui=Math.floor,li=Math.trunc||function(t){var e=+t;return(e>0?ui:oi)(e)},ci=function(t){var e=+t;return e!=e||0===e?0:li(e)},di=ci,fi=Math.max,hi=Math.min,pi=function(t,e){var r=di(t);return r<0?fi(r+e,0):hi(r,e)},mi=ci,yi=Math.min,vi=function(t){return function(t){return t>0?yi(mi(t),9007199254740991):0}(t.length)},Ti=Zt,gi=pi,Ai=vi,bi=function(t){return function(e,r,n){var i,a=Ti(e),s=Ai(a),o=gi(n,s);if(t&&r!=r){for(;s>o;)if((i=a[o++])!=i)return!0}else for(;s>o;o++)if((t||o in a)&&a[o]===r)return t||o||0;return!t&&-1}},Si={includes:bi(!0),indexOf:bi(!1)},Ei=Ke,_i=Zt,Di=Si.indexOf,Ci=Sn,Oi=Ut([].push),wi=function(t,e){var r,n=_i(t),i=0,a=[];for(r in n)!Ei(Ci,r)&&Ei(n,r)&&Oi(a,r);for(;e.length>i;)Ei(n,r=e[i++])&&(~Di(a,r)||Oi(a,r));return a},xi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ii=wi,Ni=xi.concat("length","prototype");si.f=Object.getOwnPropertyNames||function(t){return Ii(t,Ni)};var Ui={};Ui.f=Object.getOwnPropertySymbols;var Mi=ie,Li=si,Pi=Ui,Yi=jr,ki=Ut([].concat),Ri=Mi("Reflect","ownKeys")||function(t){var e=Li.f(Yi(t)),r=Pi.f;return r?ki(e,r(t)):e},Bi=Ke,ji=Ri,zi=pt,Fi=Pr,Wi=function(t,e,r){for(var n=ji(e),i=Fi.f,a=zi.f,s=0;s<n.length;s++){var o=n[s];!Bi(t,o)&&(!r||!Bi(r,o))&&i(t,o,a(e,o))}},$i=mt,Vi=Jt,Hi=/#|\.prototype\./,Gi=function(t,e){var r=Ki[Zi(t)];return r===Xi||r!==qi&&(Vi(e)?$i(e):!!e)},Zi=Gi.normalize=function(t){return String(t).replace(Hi,".").toLowerCase()},Ki=Gi.data={},qi=Gi.NATIVE="N",Xi=Gi.POLYFILL="P",Ji=Gi,Qi=ht,ta=pt.f,ea=tn,ra=ai,na=Re,ia=Wi,aa=Ji,sa=function(t,e){var r,n,i,a,s,o=t.target,u=t.global,l=t.stat;if(r=u?Qi:l?Qi[o]||na(o,{}):(Qi[o]||{}).prototype)for(n in e){if(a=e[n],i=t.dontCallGetSet?(s=ta(r,n))&&s.value:r[n],!aa(u?n:o+(l?".":"#")+n,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;ia(a,i)}(t.sham||i&&i.sham)&&ea(a,"sham",!0),ra(r,n,a,t)}},oa=sa,ua=yt,la=Pr.f;oa({target:"Object",stat:!0,forced:Object.defineProperty!==la,sham:!ua},{defineProperty:la});var ca={},da=ht,fa={},ha=lr;fa.f=ha;var pa=da,ma=Ke,ya=fa,va=Pr.f,Ta=function(t){var e=pa.Symbol||(pa.Symbol={});ma(e,t)||va(e,t,{value:ya.f(t)})};Ta("iterator");var ga={},Aa=wi,ba=xi,Sa=Object.keys||function(t){return Aa(t,ba)},Ea=yt,_a=Yr,Da=Pr,Ca=jr,Oa=Zt,wa=Sa;ga.f=Ea&&!_a?Object.defineProperties:function(t,e){Ca(t);for(var r,n=Oa(e),i=wa(e),a=i.length,s=0;a>s;)Da.f(t,r=i[s++],n[r]);return t};var xa,Ia=ie("document","documentElement"),Na=jr,Ua=ga,Ma=xi,La=Sn,Pa=Ia,Ya=Er,ka="prototype",Ra="script",Ba=bn("IE_PROTO"),ja=function(){},za=function(t){return"<"+Ra+">"+t+"</"+Ra+">"},Fa=function(t){t.write(za("")),t.close();var e=t.parentWindow.Object;return t=null,e},Wa=function(){try{xa=new ActiveXObject("htmlfile")}catch{}Wa=typeof document<"u"?document.domain&&xa?Fa(xa):function(){var t,e=Ya("iframe"),r="java"+Ra+":";return e.style.display="none",Pa.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(za("document.F=Object")),t.close(),t.F}():Fa(xa);for(var t=Ma.length;t--;)delete Wa[ka][Ma[t]];return Wa()};La[Ba]=!0;var $a=Object.create||function(t,e){var r;return null!==t?(ja[ka]=Na(t),r=new ja,ja[ka]=null,r[Ba]=t):r=Wa(),void 0===e?r:Ua.f(r,e)},Va=lr,Ha=$a,Ga=Pr.f,Za=Va("unscopables"),Ka=Array.prototype;void 0===Ka[Za]&&Ga(Ka,Za,{configurable:!0,value:Ha(null)});var qa,Xa,Ja,Qa={},ts=!mt((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),es=Ke,rs=Jt,ns=He,is=ts,as=bn("IE_PROTO"),ss=Object,os=ss.prototype,us=is?ss.getPrototypeOf:function(t){var e=ns(t);if(es(e,as))return e[as];var r=e.constructor;return rs(r)&&e instanceof r?r.prototype:e instanceof ss?os:null},ls=mt,cs=Jt,ds=ee,fs=us,hs=ai,ps=lr("iterator"),ms=!1;[].keys&&("next"in(Ja=[].keys())?(Xa=fs(fs(Ja)))!==Object.prototype&&(qa=Xa):ms=!0);var ys=!ds(qa)||ls((function(){var t={};return qa[ps].call(t)!==t}));ys&&(qa={}),cs(qa[ps])||hs(qa,ps,(function(){return this}));var vs={IteratorPrototype:qa,BUGGY_SAFARI_ITERATORS:ms},Ts=Pr.f,gs=Ke,As=lr("toStringTag"),bs=function(t,e,r){t&&!r&&(t=t.prototype),t&&!gs(t,As)&&Ts(t,As,{configurable:!0,value:e})},Ss=vs.IteratorPrototype,Es=$a,_s=Ot,Ds=bs,Cs=Qa,Os=function(){return this},ws=Ut,xs=Oe,Is=Jt,Ns=String,Us=TypeError,Ms=jr,Ls=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=function(t,e,r){try{return ws(xs(Object.getOwnPropertyDescriptor(t,e)[r]))}catch{}}(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch{}return function(r,n){return Ms(r),function(t){if("object"==typeof t||Is(t))return t;throw new Us("Can't set "+Ns(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Ps=sa,Ys=At,ks=Jt,Rs=us,Bs=Ls,js=bs,zs=tn,Fs=ai,Ws=Qa,$s=un.PROPER,Vs=un.CONFIGURABLE,Hs=vs.IteratorPrototype,Gs=vs.BUGGY_SAFARI_ITERATORS,Zs=lr("iterator"),Ks="keys",qs="values",Xs="entries",Js=function(){return this},Qs=function(t,e,r,n,i,a,s){!function(t,e,r,n){var i=e+" Iterator";t.prototype=Es(Ss,{next:_s(+!n,r)}),Ds(t,i,!1),Cs[i]=Os}(r,e,n);var o,u,l,c=function(t){if(t===i&&m)return m;if(!Gs&&t&&t in h)return h[t];switch(t){case Ks:case qs:case Xs:return function(){return new r(this,t)}}return function(){return new r(this)}},d=e+" Iterator",f=!1,h=t.prototype,p=h[Zs]||h["@@iterator"]||i&&h[i],m=!Gs&&p||c(i),y="Array"===e&&h.entries||p;if(y&&(o=Rs(y.call(new t)))!==Object.prototype&&o.next&&(Rs(o)!==Hs&&(Bs?Bs(o,Hs):ks(o[Zs])||Fs(o,Zs,Js)),js(o,d,!0)),$s&&i===qs&&p&&p.name!==qs&&(Vs?zs(h,"name",qs):(f=!0,m=function(){return Ys(p,this)})),i)if(u={values:c(qs),keys:a?m:c(Ks),entries:c(Xs)},s)for(l in u)(Gs||f||!(l in h))&&Fs(h,l,u[l]);else Ps({target:e,proto:!0,forced:Gs||f},u);return h[Zs]!==m&&Fs(h,Zs,m,{name:i}),Ws[e]=m,u},to=function(t,e){return{value:t,done:e}},eo=Zt,ro=function(t){Ka[Za][t]=!0},no=Qa,io=Yn,ao=Pr.f,so=Qs,oo=to,uo=yt,lo="Array Iterator",co=io.set,fo=io.getterFor(lo),ho=so(Array,"Array",(function(t,e){co(this,{type:lo,target:eo(t),index:0,kind:e})}),(function(){var t=fo(this),e=t.target,r=t.kind,n=t.index++;if(!e||n>=e.length)return t.target=void 0,oo(void 0,!0);switch(r){case"keys":return oo(n,!1);case"values":return oo(e[n],!1)}return oo([n,e[n]],!1)}),"values"),po=no.Arguments=no.Array;if(ro("keys"),ro("values"),ro("entries"),uo&&"values"!==po.name)try{ao(po,"name",{value:"values"})}catch{}var mo={};mo[lr("toStringTag")]="z";var yo="[object z]"===String(mo),vo=yo,To=Jt,go=Yt,Ao=lr("toStringTag"),bo=Object,So="Arguments"===go(function(){return arguments}()),Eo=vo?go:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch{}}(e=bo(t),Ao))?r:So?go(e):"Object"===(n=go(e))&&To(e.callee)?"Arguments":n},_o=Eo,Do=String,Co=function(t){if("Symbol"===_o(t))throw new TypeError("Cannot convert a Symbol value to a string");return Do(t)},Oo=Ut,wo=ci,xo=Co,Io=Vt,No=Oo("".charAt),Uo=Oo("".charCodeAt),Mo=Oo("".slice),Lo=function(t){return function(e,r){var n,i,a=xo(Io(e)),s=wo(r),o=a.length;return s<0||s>=o?t?"":void 0:(n=Uo(a,s))<55296||n>56319||s+1===o||(i=Uo(a,s+1))<56320||i>57343?t?No(a,s):n:t?Mo(a,s,s+2):i-56320+(n-55296<<10)+65536}},Po=(Lo(!1),Lo(!0)),Yo=Co,ko=Yn,Ro=Qs,Bo=to,jo="String Iterator",zo=ko.set,Fo=ko.getterFor(jo);Ro(String,"String",(function(t){zo(this,{type:jo,string:Yo(t),index:0})}),(function(){var t,e=Fo(this),r=e.string,n=e.index;return n>=r.length?Bo(void 0,!0):(t=Po(r,n),e.index+=t.length,Bo(t,!1))}));var Wo=Er("span").classList,$o=Wo&&Wo.constructor&&Wo.constructor.prototype,Vo=$o===Object.prototype?void 0:$o,Ho=ht,Go={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Zo=Vo,Ko=ho,qo=tn,Xo=lr,Jo=Xo("iterator"),Qo=Xo("toStringTag"),tu=Ko.values,eu=function(t,e){if(t){if(t[Jo]!==tu)try{qo(t,Jo,tu)}catch{t[Jo]=tu}if(t[Qo]||qo(t,Qo,e),Go[e])for(var r in Ko)if(t[r]!==Ko[r])try{qo(t,r,Ko[r])}catch{t[r]=Ko[r]}}};for(var ru in Go)eu(Ho[ru]&&Ho[ru].prototype,ru);eu(Zo,"DOMTokenList");var nu=yt,iu=Ut,au=At,su=mt,ou=Sa,uu=Ui,lu=bt,cu=He,du=zt,fu=Object.assign,hu=Object.defineProperty,pu=iu([].concat),mu=!fu||su((function(){if(nu&&1!==fu({b:1},fu(hu({},"a",{enumerable:!0,get:function(){hu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==fu({},t)[r]||ou(fu({},e)).join("")!==n}))?function(t,e){for(var r=cu(t),n=arguments.length,i=1,a=uu.f,s=lu.f;n>i;)for(var o,u=du(arguments[i++]),l=a?pu(ou(u),a(u)):ou(u),c=l.length,d=0;c>d;)o=l[d++],(!nu||au(s,u,o))&&(r[o]=u[o]);return r}:fu,yu=mu;sa({target:"Object",stat:!0,arity:2,forced:Object.assign!==yu},{assign:yu});var vu=At,Tu=ie,gu=lr,Au=ai,bu=function(){var t=Tu("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=gu("toPrimitive");e&&!e[n]&&Au(e,n,(function(t){return vu(r,this)}),{arity:1})},Su=bu;Ta("toPrimitive"),Su();var Eu=jr,_u=Le,Du=TypeError,Cu=Ke,Ou=ai,wu=lr("toPrimitive"),xu=Date.prototype;Cu(xu,wu)||Ou(xu,wu,(function(t){if(Eu(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new Du("Incorrect hint");return _u(this,t)}));var Iu={},Nu=gr,Uu=Pr,Mu=Ot,Lu=pi,Pu=vi,Yu=function(t,e,r){var n=Nu(e);n in t?Uu.f(t,n,Mu(0,r)):t[n]=r},ku=Array,Ru=Math.max,Bu=Yt,ju=Zt,zu=si.f,Fu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Iu.f=function(t){return Fu&&"Window"===Bu(t)?function(t){try{return zu(t)}catch{return function(t,e,r){for(var n=Pu(t),i=Lu(e,n),a=Lu(void 0===r?n:r,n),s=ku(Ru(a-i,0)),o=0;i<a;i++,o++)Yu(s,o,t[i]);return s.length=o,s}(Fu)}}(t):zu(ju(t))};var Wu=ti,$u=Pr,Vu=function(t,e,r){return r.get&&Wu(r.get,e,{getter:!0}),r.set&&Wu(r.set,e,{setter:!0}),$u.f(t,e,r)},Hu=Yt,Gu=Ut,Zu=function(t){if("Function"===Hu(t))return Gu(t)},Ku=Oe,qu=vt,Xu=Zu(Zu.bind),Ju=Yt,Qu=Array.isArray||function(t){return"Array"===Ju(t)},tl=Ut,el=mt,rl=Jt,nl=Eo,il=mn,al=function(){},sl=[],ol=ie("Reflect","construct"),ul=/^\s*(?:class|function)\b/,ll=tl(ul.exec),cl=!ul.test(al),dl=function(t){if(!rl(t))return!1;try{return ol(al,sl,t),!0}catch{return!1}},fl=function(t){if(!rl(t))return!1;switch(nl(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return cl||!!ll(ul,il(t))}catch{return!0}};fl.sham=!0;var hl=!ol||el((function(){var t;return dl(dl.call)||!dl(Object)||!dl((function(){t=!0}))||t}))?fl:dl,pl=Qu,ml=hl,yl=ee,vl=lr("species"),Tl=Array,gl=zt,Al=He,bl=vi,Sl=function(t,e){return new(function(t){var e;return pl(t)&&(e=t.constructor,(ml(e)&&(e===Tl||pl(e.prototype))||yl(e)&&null===(e=e[vl]))&&(e=void 0)),void 0===e?Tl:e}(t))(0===e?0:e)},El=Ut([].push),_l=function(t){var e=1===t,r=2===t,n=3===t,i=4===t,a=6===t,s=7===t,o=5===t||a;return function(u,l,c,d){for(var f,h,p=Al(u),m=gl(p),y=function(t,e){return Ku(t),void 0===e?t:qu?Xu(t,e):function(){return t.apply(e,arguments)}}(l,c),v=bl(m),T=0,g=d||Sl,A=e?g(u,v):r||s?g(u,0):void 0;v>T;T++)if((o||T in m)&&(h=y(f=m[T],T,p),t))if(e)A[T]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return T;case 2:El(A,f)}else switch(t){case 4:return!1;case 7:El(A,f)}return a?-1:n||i?i:A}},Dl={forEach:_l(0),map:_l(1),filter:_l(2),some:_l(3),every:_l(4),find:_l(5),findIndex:_l(6),filterReject:_l(7)},Cl=sa,Ol=ht,wl=At,xl=Ut,Il=yt,Nl=me,Ul=mt,Ml=Ke,Ll=ae,Pl=jr,Yl=Zt,kl=gr,Rl=Co,Bl=Ot,jl=$a,zl=Sa,Fl=si,Wl=Iu,$l=Ui,Vl=pt,Hl=Pr,Gl=ga,Zl=bt,Kl=ai,ql=Vu,Xl=We,Jl=Sn,Ql=tr,tc=lr,ec=fa,rc=Ta,nc=bu,ic=bs,ac=Yn,sc=Dl.forEach,oc=bn("hidden"),uc="Symbol",lc="prototype",cc=ac.set,dc=ac.getterFor(uc),fc=Object[lc],hc=Ol.Symbol,pc=hc&&hc[lc],mc=Ol.RangeError,yc=Ol.TypeError,vc=Ol.QObject,Tc=Vl.f,gc=Hl.f,Ac=Wl.f,bc=Zl.f,Sc=xl([].push),Ec=Xl("symbols"),_c=Xl("op-symbols"),Dc=Xl("wks"),Cc=!vc||!vc[lc]||!vc[lc].findChild,Oc=function(t,e,r){var n=Tc(fc,e);n&&delete fc[e],gc(t,e,r),n&&t!==fc&&gc(fc,e,n)},wc=Il&&Ul((function(){return 7!==jl(gc({},"a",{get:function(){return gc(this,"a",{value:7}).a}})).a}))?Oc:gc,xc=function(t,e){var r=Ec[t]=jl(pc);return cc(r,{type:uc,tag:t,description:e}),Il||(r.description=e),r},Ic=function(t,e,r){t===fc&&Ic(_c,e,r),Pl(t);var n=kl(e);return Pl(r),Ml(Ec,n)?(r.enumerable?(Ml(t,oc)&&t[oc][n]&&(t[oc][n]=!1),r=jl(r,{enumerable:Bl(0,!1)})):(Ml(t,oc)||gc(t,oc,Bl(1,{})),t[oc][n]=!0),wc(t,n,r)):gc(t,n,r)},Nc=function(t,e){Pl(t);var r=Yl(e),n=zl(r).concat(Pc(r));return sc(n,(function(e){(!Il||wl(Uc,r,e))&&Ic(t,e,r[e])})),t},Uc=function(t){var e=kl(t),r=wl(bc,this,e);return!(this===fc&&Ml(Ec,e)&&!Ml(_c,e))&&(!(r||!Ml(this,e)||!Ml(Ec,e)||Ml(this,oc)&&this[oc][e])||r)},Mc=function(t,e){var r=Yl(t),n=kl(e);if(r!==fc||!Ml(Ec,n)||Ml(_c,n)){var i=Tc(r,n);return i&&Ml(Ec,n)&&!(Ml(r,oc)&&r[oc][n])&&(i.enumerable=!0),i}},Lc=function(t){var e=Ac(Yl(t)),r=[];return sc(e,(function(t){!Ml(Ec,t)&&!Ml(Jl,t)&&Sc(r,t)})),r},Pc=function(t){var e=t===fc,r=Ac(e?_c:Yl(t)),n=[];return sc(r,(function(t){Ml(Ec,t)&&(!e||Ml(fc,t))&&Sc(n,Ec[t])})),n};Nl||(Kl(pc=(hc=function(){if(Ll(pc,this))throw new yc("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Rl(arguments[0]):void 0,e=Ql(t),r=function(t){this===fc&&wl(r,_c,t),Ml(this,oc)&&Ml(this[oc],e)&&(this[oc][e]=!1);var n=Bl(1,t);try{wc(this,e,n)}catch(t){if(!(t instanceof mc))throw t;Oc(this,e,n)}};return Il&&Cc&&wc(fc,e,{configurable:!0,set:r}),xc(e,t)})[lc],"toString",(function(){return dc(this).tag})),Kl(hc,"withoutSetter",(function(t){return xc(Ql(t),t)})),Zl.f=Uc,Hl.f=Ic,Gl.f=Nc,Vl.f=Mc,Fl.f=Wl.f=Lc,$l.f=Pc,ec.f=function(t){return xc(tc(t),t)},Il&&(ql(pc,"description",{configurable:!0,get:function(){return dc(this).description}}),Kl(fc,"propertyIsEnumerable",Uc,{unsafe:!0}))),Cl({global:!0,constructor:!0,wrap:!0,forced:!Nl,sham:!Nl},{Symbol:hc}),sc(zl(Dc),(function(t){rc(t)})),Cl({target:uc,stat:!0,forced:!Nl},{useSetter:function(){Cc=!0},useSimple:function(){Cc=!1}}),Cl({target:"Object",stat:!0,forced:!Nl,sham:!Il},{create:function(t,e){return void 0===e?jl(t):Nc(jl(t),e)},defineProperty:Ic,defineProperties:Nc,getOwnPropertyDescriptor:Mc}),Cl({target:"Object",stat:!0,forced:!Nl},{getOwnPropertyNames:Lc}),nc(),ic(hc,uc),Jl[oc]=!0;var Yc=me&&!!Symbol.for&&!!Symbol.keyFor,kc=sa,Rc=ie,Bc=Ke,jc=Co,zc=We,Fc=Yc,Wc=zc("string-to-symbol-registry"),$c=zc("symbol-to-string-registry");kc({target:"Symbol",stat:!0,forced:!Fc},{for:function(t){var e=jc(t);if(Bc(Wc,e))return Wc[e];var r=Rc("Symbol")(e);return Wc[e]=r,$c[r]=e,r}});var Vc=sa,Hc=Ke,Gc=be,Zc=Ee,Kc=Yc,qc=We("symbol-to-string-registry");Vc({target:"Symbol",stat:!0,forced:!Kc},{keyFor:function(t){if(!Gc(t))throw new TypeError(Zc(t)+" is not a symbol");if(Hc(qc,t))return qc[t]}});var Xc=vt,Jc=Function.prototype,Qc=Jc.apply,td=Jc.call,ed="object"==typeof Reflect&&Reflect.apply||(Xc?td.bind(Qc):function(){return td.apply(Qc,arguments)}),rd=Ut([].slice),nd=Qu,id=Jt,ad=Yt,sd=Co,od=Ut([].push),ud=sa,ld=ie,cd=ed,dd=At,fd=Ut,hd=mt,pd=Jt,md=be,yd=rd,vd=me,Td=String,gd=ld("JSON","stringify"),Ad=fd(/./.exec),bd=fd("".charAt),Sd=fd("".charCodeAt),Ed=fd("".replace),_d=fd(1..toString),Dd=/[\uD800-\uDFFF]/g,Cd=/^[\uD800-\uDBFF]$/,Od=/^[\uDC00-\uDFFF]$/,wd=!vd||hd((function(){var t=ld("Symbol")("stringify detection");return"[null]"!==gd([t])||"{}"!==gd({a:t})||"{}"!==gd(Object(t))})),xd=hd((function(){return'"\\udf06\\ud834"'!==gd("\udf06\ud834")||'"\\udead"'!==gd("\udead")})),Id=function(t,e){var r=yd(arguments),n=function(t){if(id(t))return t;if(nd(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[n];"string"==typeof i?od(r,i):("number"==typeof i||"Number"===ad(i)||"String"===ad(i))&&od(r,sd(i))}var a=r.length,s=!0;return function(t,e){if(s)return s=!1,e;if(nd(this))return e;for(var n=0;n<a;n++)if(r[n]===t)return e}}}(e);if(pd(n)||void 0!==t&&!md(t))return r[1]=function(t,e){if(pd(n)&&(e=dd(n,this,Td(t),e)),!md(e))return e},cd(gd,null,r)},Nd=function(t,e,r){var n=bd(r,e-1),i=bd(r,e+1);return Ad(Cd,t)&&!Ad(Od,i)||Ad(Od,t)&&!Ad(Cd,n)?"\\u"+_d(Sd(t,0),16):t};gd&&ud({target:"JSON",stat:!0,arity:3,forced:wd||xd},{stringify:function(t,e,r){var n=yd(arguments),i=cd(wd?Id:gd,null,n);return xd&&"string"==typeof i?Ed(i,Dd,Nd):i}});var Ud=Ui,Md=He;sa({target:"Object",stat:!0,forced:!me||mt((function(){Ud.f(1)}))},{getOwnPropertySymbols:function(t){var e=Ud.f;return e?e(Md(t)):[]}});var Ld=sa,Pd=yt,Yd=Ut,kd=Ke,Rd=Jt,Bd=ae,jd=Co,zd=Vu,Fd=Wi,Wd=ht.Symbol,$d=Wd&&Wd.prototype;if(Pd&&Rd(Wd)&&(!("description"in $d)||void 0!==Wd().description)){var Vd={},Hd=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:jd(arguments[0]),e=Bd($d,this)?new Wd(t):void 0===t?Wd():Wd(t);return""===t&&(Vd[e]=!0),e};Fd(Hd,Wd),Hd.prototype=$d,$d.constructor=Hd;var Gd="Symbol(description detection)"===String(Wd("description detection")),Zd=Yd($d.valueOf),Kd=Yd($d.toString),qd=/^Symbol\((.*)\)[^)]+$/,Xd=Yd("".replace),Jd=Yd("".slice);zd($d,"description",{configurable:!0,get:function(){var t=Zd(this);if(kd(Vd,t))return"";var e=Kd(t),r=Gd?Jd(e,7,-1):Xd(e,qd,"$1");return""===r?void 0:r}}),Ld({global:!0,constructor:!0,forced:!0},{Symbol:Hd})}var Qd=Eo,tf=yo?{}.toString:function(){return"[object "+Qd(this)+"]"};yo||ai(Object.prototype,"toString",tf,{unsafe:!0});var ef=Jt,rf=ee,nf=Ls,af=Ut(1..valueOf),sf=Vt,of=Co,uf="\t\n\v\f\r                 \u2028\u2029\ufeff",lf=Ut("".replace),cf=RegExp("^["+uf+"]+"),df=RegExp("(^|[^"+uf+"])["+uf+"]+$"),ff=function(t){return function(e){var r=of(sf(e));return 1&t&&(r=lf(r,cf,"")),2&t&&(r=lf(r,df,"$1")),r}},hf={start:ff(1),end:ff(2),trim:ff(3)},pf=sa,mf=yt,yf=ht,vf=da,Tf=Ut,gf=Ji,Af=Ke,bf=ae,Sf=be,Ef=yr,_f=mt,Df=si.f,Cf=pt.f,Of=Pr.f,wf=af,xf=hf.trim,If="Number",Nf=yf[If];vf[If];var Uf=Nf.prototype,Mf=yf.TypeError,Lf=Tf("".slice),Pf=Tf("".charCodeAt),Yf=gf(If,!Nf(" 0o1")||!Nf("0b1")||Nf("+0x1")),kf=function(t){var e=arguments.length<1?0:Nf(function(t){var e=Ef(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,i,a,s,o,u,l=Ef(t,"number");if(Sf(l))throw new Mf("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=xf(l),43===(e=Pf(l,0))||45===e){if(88===(r=Pf(l,2))||120===r)return NaN}else if(48===e){switch(Pf(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(s=(a=Lf(l,2)).length,o=0;o<s;o++)if((u=Pf(a,o))<48||u>i)return NaN;return parseInt(a,n)}return+l}(e)}(t));return function(t){return bf(Uf,t)&&_f((function(){wf(t)}))}(this)?function(t,e,r){var n,i;return nf&&ef(n=e.constructor)&&n!==r&&rf(i=n.prototype)&&i!==r.prototype&&nf(t,i),t}(Object(e),this,kf):e};kf.prototype=Uf,Yf&&(Uf.constructor=kf),pf({global:!0,constructor:!0,wrap:!0,forced:Yf},{Number:kf}),Yf&&function(t,e){for(var r,n=mf?Df(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)Af(e,r=n[i])&&!Af(t,r)&&Of(t,r,Cf(e,r))}(vf[If],Nf);var Rf={};Object.defineProperty(Rf,"__esModule",{value:!0}),Rf.LogLevel=void 0;var Bf=function(t){return t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t}({});Rf.LogLevel=Bf,Object.defineProperty(ca,"__esModule",{value:!0}),ca.ConsoleLogger=void 0,ca.buildConsoleLogger=function(t){return new $f(t)};var jf=Rf;function zf(t){return(zf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ff(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Wf(n.key),n)}}function Wf(t){var e=function(t,e){if("object"!==zf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==zf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===zf(e)?e:String(e)}var $f=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),function(t,e,r){(e=Wf(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}(this,"context",void 0),this.context=e||{}}return function(t,e,r){e&&Ff(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"formatMessage",value:function(t,e,r){var n="["+jf.LogLevel[e].toUpperCase()+"] ";return r&&r.app&&(n+=r.app+": "),"string"==typeof t?n+t:(n+="Unexpected ".concat(t.name),t.message&&(n+=' "'.concat(t.message,'"')),e===jf.LogLevel.Debug&&t.stack&&(n+="\n\nStack trace:\n".concat(t.stack)),n)}},{key:"log",value:function(t,e,r){var n,i;if(!("number"==typeof(null===(n=this.context)||void 0===n?void 0:n.level)&&t<(null===(i=this.context)||void 0===i?void 0:i.level)))switch("object"===zf(e)&&void 0===(null==r?void 0:r.error)&&(r.error=e),t){case jf.LogLevel.Debug:P.debug(this.formatMessage(e,jf.LogLevel.Debug,r),r);break;case jf.LogLevel.Info:P.info(this.formatMessage(e,jf.LogLevel.Info,r),r);break;case jf.LogLevel.Warn:P.warn(this.formatMessage(e,jf.LogLevel.Warn,r),r);break;case jf.LogLevel.Error:P.error(this.formatMessage(e,jf.LogLevel.Error,r),r);break;case jf.LogLevel.Fatal:default:P.error(this.formatMessage(e,jf.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(t,e){this.log(jf.LogLevel.Debug,t,Object.assign({},this.context,e))}},{key:"info",value:function(t,e){this.log(jf.LogLevel.Info,t,Object.assign({},this.context,e))}},{key:"warn",value:function(t,e){this.log(jf.LogLevel.Warn,t,Object.assign({},this.context,e))}},{key:"error",value:function(t,e){this.log(jf.LogLevel.Error,t,Object.assign({},this.context,e))}},{key:"fatal",value:function(t,e){this.log(jf.LogLevel.Fatal,t,Object.assign({},this.context,e))}}]),t}();ca.ConsoleLogger=$f;var Vf={},Hf={},Gf={};const Zf="object"==typeof Y&&Y.env&&Y.env.NODE_DEBUG&&/\bsemver\b/i.test(Y.env.NODE_DEBUG)?(...t)=>P.error("SEMVER",...t):()=>{};var Kf=Zf,qf={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Xf={exports:{}};!function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=qf,a=Kf,s=(e=t.exports={}).re=[],o=e.safeRe=[],u=e.src=[],l=e.t={};let c=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",i],[d,n]],h=(t,e,r)=>{const n=(t=>{for(const[e,r]of f)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t})(e),i=c++;a(t,i,e),l[t]=i,u[i]=e,s[i]=new RegExp(e,r?"g":void 0),o[i]=new RegExp(n,r?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),h("FULL",`^${u[l.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),h("LOOSE",`^${u[l.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),h("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),h("COERCERTL",u[l.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",h("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",h("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(Xf,Xf.exports);var Jf=Xf.exports;const Qf=Object.freeze({loose:!0}),th=Object.freeze({});const eh=/^[0-9]+$/,rh=(t,e)=>{const r=eh.test(t),n=eh.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1};var nh={compareIdentifiers:rh,rcompareIdentifiers:(t,e)=>rh(e,t)};const ih=Kf,{MAX_LENGTH:ah,MAX_SAFE_INTEGER:sh}=qf,{safeRe:oh,t:uh}=Jf,lh=t=>t?"object"!=typeof t?Qf:t:th,{compareIdentifiers:ch}=nh;var dh=class t{constructor(e,r){if(r=lh(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>ah)throw new TypeError(`version is longer than ${ah} characters`);ih("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=e.trim().match(r.loose?oh[uh.LOOSE]:oh[uh.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>sh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>sh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>sh||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<sh)return e}return t})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(ih("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if("string"==typeof e&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),ch(this.major,e.major)||ch(this.minor,e.minor)||ch(this.patch,e.patch)}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{const t=this.prerelease[r],n=e.prerelease[r];if(ih("prerelease compare",r,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return ch(t,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{const t=this.build[r],n=e.build[r];if(ih("prerelease compare",r,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return ch(t,n)}while(++r)}inc(t,e,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,r),this.inc("pre",e,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,r),this.inc("pre",e,r);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const t=Number(r)?1:0;if(!e&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[t];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===r&&(n=[e]),0===ch(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};const fh=dh;const hh=(t,e,r=!1)=>{if(t instanceof fh)return t;try{return new fh(t,e)}catch(t){if(!r)return null;throw t}};var ph=(t,e)=>{const r=hh(t,e);return r?r.version:null};const mh=dh;Object.defineProperty(Gf,"__esModule",{value:!0});var yh=(t,e)=>new mh(t,e).major;function vh(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var Th=vh(ph),gh=vh(yh),Ah=function(){function t(t){"function"==typeof t.getVersion&&Th.default(t.getVersion())?gh.default(t.getVersion())!==gh.default(this.getVersion())&&P.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):P.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}return t.prototype.getVersion=function(){return"3.0.2"},t.prototype.subscribe=function(t,e){this.bus.subscribe(t,e)},t.prototype.unsubscribe=function(t,e){this.bus.unsubscribe(t,e)},t.prototype.emit=function(t,e){this.bus.emit(t,e)},t}(),bh=function(){function t(){this.handlers=new Map}return t.prototype.getVersion=function(){return"3.0.2"},t.prototype.subscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))},t.prototype.unsubscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))},t.prototype.emit=function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){P.error("could not invoke event listener",t)}}))},t}(),Sh=(typeof window.OC<"u"&&window.OC._eventBus&&typeof window._nc_event_bus>"u"&&(P.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window._nc_event_bus<"u"?new Ah(window._nc_event_bus):window._nc_event_bus=new bh);Gf.ProxyBus=Ah,Gf.SimpleBus=bh,Gf.emit=function(t,e){Sh.emit(t,e)},Gf.subscribe=function(t,e){Sh.subscribe(t,e)},Gf.unsubscribe=function(t,e){Sh.unsubscribe(t,e)},Object.defineProperty(Hf,"__esModule",{value:!0});var Eh=Gf,_h=document.getElementsByTagName("head")[0],Dh=_h?_h.getAttribute("data-requesttoken"):null,Ch=[];Eh.subscribe("csrf-token-update",(function(t){Dh=t.token,Ch.forEach((function(e){try{e(t.token)}catch(t){P.error("error updating CSRF token observer",t)}}))}));var Oh=function(t,e){return t?t.getAttribute(e):null},wh=document.getElementsByTagName("head")[0],xh=Oh(wh,"data-user"),Ih=Oh(wh,"data-user-displayname"),Nh=!(typeof OC>"u")&&OC.isUserAdmin();Hf.getCurrentUser=function(){return null===xh?null:{uid:xh,displayName:Ih,isAdmin:Nh}},Hf.getRequestToken=function(){return Dh},Hf.onRequestTokenUpdate=function(t){Ch.push(t)},Object.defineProperty(Vf,"__esModule",{value:!0}),Vf.LoggerBuilder=void 0;var Uh=Hf,Mh=Rf;function Lh(t){return(Lh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ph(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kh(n.key),n)}}function Yh(t,e,r){return(e=kh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kh(t){var e=function(t,e){if("object"!==Lh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Lh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Lh(e)?e:String(e)}var Rh=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),Yh(this,"context",void 0),Yh(this,"factory",void 0),this.context={},this.factory=e}return function(t,e,r){e&&Ph(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"setApp",value:function(t){return this.context.app=t,this}},{key:"setLogLevel",value:function(t){return this.context.level=t,this}},{key:"setUid",value:function(t){return this.context.uid=t,this}},{key:"detectUser",value:function(){var t=(0,Uh.getCurrentUser)();return null!==t&&(this.context.uid=t.uid),this}},{key:"detectLogLevel",value:function(){var t=this;return function e(){var r,n;"complete"===document.readyState||"interactive"===document.readyState?(t.context.level=null!==(r=null===(n=window._oc_config)||void 0===n?void 0:n.loglevel)&&void 0!==r?r:Mh.LogLevel.Warn,window._oc_debug&&(t.context.level=Mh.LogLevel.Debug),document.removeEventListener("readystatechange",e)):document.addEventListener("readystatechange",e)}(),this}},{key:"build",value:function(){return void 0===this.context.level&&this.detectLogLevel(),this.factory(this.context)}}]),t}();Vf.LoggerBuilder=Rh,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LogLevel",{enumerable:!0,get:function(){return n.LogLevel}}),t.getLogger=function(){return i().build()},t.getLoggerBuilder=i;var e=ca,r=Vf,n=Rf;function i(){return new r.LoggerBuilder(e.buildConsoleLogger)}}(dt);const Bh=dt.getLoggerBuilder().detectUser().setApp("@nextcloud/calendar-availability-vue").build();var jh=n(14596),zh=n(56580),Fh=n.n(zh),Wh=n(77958);const $h=Fh()((t=>(f.Z.defaults.headers["X-Requested-With"]="XMLHttpRequest",jh.lD().patch("request",f.Z),jh.eI((0,d.generateRemoteUrl)(`dav/${t}/${(0,Wh.ts)().uid}`)))));var Vh=n(10038),Hh=n(13888),Gh=n(25108);const Zh={name:"AvailabilityForm",components:{NcButton:o.Z,NcCheckboxRadioSwitch:Vh.Z,CalendarAvailability:K,NcTimezonePicker:Hh.Z},data:()=>({loading:!0,saving:!1,timezone:(new Intl.DateTimeFormat)?.resolvedOptions()?.timeZone??"UTC",slots:{MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]},automated:"yes"===(0,p.j)("dav","user_status_automation")}),computed:{timeZonePickerId:()=>`tz-${(Math.random()+1).toString(36).substring(7)}`},async mounted(){try{const t=await async function(){const t=$h("calendars"),e=await t.customRequest("inbox",{method:"PROPFIND",data:'<?xml version="1.0"?>\n\t\t\t<x0:propfind xmlns:x0="DAV:">\n\t\t\t <x0:prop>\n\t\t\t\t<x1:calendar-availability xmlns:x1="urn:ietf:params:xml:ns:caldav"/>\n\t\t\t </x0:prop>\n\t\t\t</x0:propfind>'}),r=await(0,jh.sw)(e.data);if(!r)return;const n=r?.multistatus?.response[0]?.propstat?.prop["calendar-availability"];return n?function(t){const e=it.parse(t),r=new it.Component(e),n=r.getFirstSubcomponent("vavailability");let i;const a=r.getFirstSubcomponent("vtimezone");a&&(i=a.getFirstProperty("tzid").getFirstValue());const s=n.getAllSubcomponents("available"),o={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]};return s.forEach((t=>{const e=t.getFirstProperty("dtstart").getFirstValue().toJSDate(),r=t.getFirstProperty("dtend").getFirstValue().toJSDate(),n=t.getFirstProperty("rrule");"WEEKLY"===n.getFirstValue().freq?n.getFirstValue().getComponent("BYDAY").forEach((t=>{o[t].push({start:e.getTime()/1e3,end:r.getTime()/1e3})})):Bh.warn("rrule not supported",{rrule:n.toICALString()})})),{slots:o,timezoneId:i}}(n):void 0}();if(t){const{slots:e,timezoneId:r}=t;this.slots=e,r&&(this.timezone=r),Gh.info("availability loaded",this.slots,this.timezoneId)}else Gh.info("no availability is set"),this.slots={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]}}catch(e){Gh.error("could not load existing availability",e),(0,m.x2)(t("dav","Failed to load availability"))}finally{this.loading=!1}},methods:{async save(){try{this.saving=!0,await async function(t,e){const r=function(t,e){const r=new k.Component("vcalendar");r.addPropertyWithValue("prodid","Nextcloud DAV app");const n=Q(e);if(n){const t=new k.Component(k.parse(n));r.addSubcomponent(t)}else{const t=new k.Component("vtimezone");t.addPropertyWithValue("tzid",e),r.addSubcomponent(t)}const i=new k.Component("vavailability"),a=t.reduce(((t,e)=>{var r;const n=new Date(1e3*e.start),i=new Date(1e3*e.end),a=[n.getHours(),n.getMinutes(),i.getHours(),i.getMinutes()].join("-");return{...t,[a]:[...null!=(r=t[a])?r:[],e]}}),{});return Object.keys(a).map((t=>{const r=a[t],n=r[0].start,i=r[0].end,s=r.map((t=>t.day)).filter(((t,e,r)=>r.indexOf(t)===e)),o=new k.Component("available");return o.addPropertyWithValue("dtstart",k.Time.fromJSDate(new Date(1e3*n),!1)).setParameter("tzid",e),o.addPropertyWithValue("dtend",k.Time.fromJSDate(new Date(1e3*i),!1)).setParameter("tzid",e),o.addPropertyWithValue("uid",ct()),o.addPropertyWithValue("rrule",{freq:"WEEKLY",byday:s}),o})).map(i.addSubcomponent.bind(i)),r.addSubcomponent(i),r.toString()}([...Object.keys(t).flatMap((e=>t[e].map((t=>({...t,day:e})))))],e);y.debug("New availability ical created",{vavailability:r});const n=$h("calendars");await n.customRequest("inbox",{method:"PROPPATCH",data:`<?xml version="1.0"?>\n\t\t\t<x0:propertyupdate xmlns:x0="DAV:">\n\t\t\t <x0:set>\n\t\t\t\t<x0:prop>\n\t\t\t\t <x1:calendar-availability xmlns:x1="urn:ietf:params:xml:ns:caldav">${r}</x1:calendar-availability>\n\t\t\t\t</x0:prop>\n\t\t\t </x0:set>\n\t\t\t</x0:propertyupdate>`})}(this.slots,this.timezone),this.automated?await async function(){return await f.Z.post((0,d.generateOcsUrl)("/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:"dav",configKey:"user_status_automation"}),{configValue:"yes"})}():await async function(){return await f.Z.delete((0,d.generateOcsUrl)("/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:"dav",configKey:"user_status_automation"}))}(),(0,m.s$)(t("dav","Saved availability"))}catch(e){Gh.error("could not save availability",e),(0,m.x2)(t("dav","Failed to save availability"))}finally{this.saving=!1}}}};var Kh=n(67228),qh={};qh.styleTagTransform=x(),qh.setAttributes=D(),qh.insert=E().bind(null,"head"),qh.domAPI=b(),qh.insertStyleElement=O(),g()(Kh.Z,qh),Kh.Z&&Kh.Z.locals&&Kh.Z.locals;var Xh=(0,U.Z)(Zh,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"time-zone"},[e("label",{staticClass:"time-zone__heading",attrs:{for:`vs${t.timeZonePickerId}__combobox`}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Time zone:"))+"\n\t\t")]),t._v(" "),e("span",{staticClass:"time-zone-text"},[e("NcTimezonePicker",{attrs:{uid:t.timeZonePickerId},model:{value:t.timezone,callback:function(e){t.timezone=e},expression:"timezone"}})],1)]),t._v(" "),e("CalendarAvailability",{attrs:{slots:t.slots,loading:t.loading,"l10n-to":t.$t("dav","to"),"l10n-delete-slot":t.$t("dav","Delete slot"),"l10n-empty-day":t.$t("dav","No working hours set"),"l10n-add-slot":t.$t("dav","Add slot"),"l10n-monday":t.$t("dav","Monday"),"l10n-tuesday":t.$t("dav","Tuesday"),"l10n-wednesday":t.$t("dav","Wednesday"),"l10n-thursday":t.$t("dav","Thursday"),"l10n-friday":t.$t("dav","Friday"),"l10n-saturday":t.$t("dav","Saturday"),"l10n-sunday":t.$t("dav","Sunday"),"l10n-start-picker-label":e=>t.$t("dav","Pick a start time for {dayName}",{dayName:e}),"l10n-end-picker-label":e=>t.$t("dav","Pick a end time for {dayName}",{dayName:e})},on:{"update:slots":function(e){t.slots=e}}}),t._v(" "),e("NcCheckboxRadioSwitch",{attrs:{checked:t.automated},on:{"update:checked":function(e){t.automated=e}}},[t._v("\n\t\t"+t._s(t.$t("dav",'Automatically set user status to "Do not disturb" outside of availability to mute all notifications.'))+"\n\t")]),t._v(" "),e("NcButton",{attrs:{disabled:t.loading||t.saving,type:"primary"},on:{click:t.save}},[t._v("\n\t\t"+t._s(t.$t("dav","Save"))+"\n\t")])],1)}),[],!1,null,"6052111b",null);const Jh=Xh.exports,Qh={name:"Availability",components:{NcSettingsSection:s.Z,AbsenceForm:L,AvailabilityForm:Jh},data:()=>({hideAbsenceSettings:(0,p.j)("dav","hide_absence_settings",!0)})};var tp=(0,U.Z)(Qh,(function(){var t=this,e=t._self._c;return e("div",[e("NcSettingsSection",{attrs:{name:t.$t("dav","Availability"),description:t.$t("dav","If you configure your working hours, other users will see when you are out of office when they book a meeting.")}},[e("AvailabilityForm")],1),t._v(" "),t.hideAbsenceSettings?t._e():e("NcSettingsSection",{attrs:{name:t.$t("dav","Absence"),description:t.$t("dav","Configure your next absence period.")}},[e("AbsenceForm")],1)],1)}),[],!1,null,null,null);const ep=tp.exports;i.default.prototype.$t=a.Iu,new(i.default.extend(ep))({}).$mount("#settings-personal-availability")},76440:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});var n=r(87537),i=r.n(n),a=r(23645),s=r.n(a)()(i());s.push([t.id,".absence[data-v-5c67914f]{display:flex;flex-direction:column;gap:5px}.absence__dates[data-v-5c67914f]{display:flex;gap:10px;width:100%}.absence__dates__picker[data-v-5c67914f]{flex:1 auto}.absence__dates__picker[data-v-5c67914f] .native-datetime-picker--input{margin-bottom:0}.absence__buttons[data-v-5c67914f]{display:flex;gap:5px}","",{version:3,sources:["webpack://./apps/dav/src/components/AbsenceForm.vue"],names:[],mappings:"AACA,0BACC,YAAA,CACA,qBAAA,CACA,OAAA,CAEA,iCACC,YAAA,CACA,QAAA,CACA,UAAA,CAEA,yCACC,WAAA,CAEA,wEACC,eAAA,CAKH,mCACC,YAAA,CACA,OAAA",sourcesContent:["\n.absence {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 5px;\n\n\t&__dates {\n\t\tdisplay: flex;\n\t\tgap: 10px;\n\t\twidth: 100%;\n\n\t\t&__picker {\n\t\t\tflex: 1 auto;\n\n\t\t\t::v-deep .native-datetime-picker--input {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__buttons {\n\t\tdisplay: flex;\n\t\tgap: 5px;\n\t}\n}\n"],sourceRoot:""}]);const o=s},67228:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});var n=r(87537),i=r.n(n),a=r(23645),s=r.n(a)()(i());s.push([t.id,"[data-v-6052111b] .availability-day{padding:0 10px 0 10px;position:absolute}[data-v-6052111b] .availability-slots{display:flex;white-space:normal}[data-v-6052111b] .availability-slot{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}[data-v-6052111b] .availability-slot-group{display:flex;flex-direction:column}[data-v-6052111b] .mx-input-wrapper{width:85px}[data-v-6052111b] .mx-datepicker{width:97px}[data-v-6052111b] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-6052111b]{padding:32px 12px 12px 0;display:flex;flex-wrap:wrap}.time-zone__heading[data-v-6052111b]{margin-right:calc(var(--default-grid-baseline)*2);line-height:var(--default-clickable-area);font-weight:bold}.grid-table[data-v-6052111b]{display:grid;margin-bottom:32px;grid-column-gap:24px;grid-row-gap:6px;grid-template-columns:min-content auto min-content;max-width:500px}.button[data-v-6052111b]{align-self:flex-end}[data-v-6052111b] .label-weekday{position:relative;display:inline-flex;padding-top:4px;align-self:center}[data-v-6052111b] .delete-slot{padding-bottom:unset}[data-v-6052111b] .add-another{align-self:center}.to-text[data-v-6052111b]{padding-right:12px}.empty-content[data-v-6052111b]{color:var(--color-text-lighter);margin-top:4px;align-self:center}","",{version:3,sources:["webpack://./apps/dav/src/components/AvailabilityForm.vue"],names:[],mappings:"AACA,oCACC,qBAAA,CACA,iBAAA,CAED,sCACC,YAAA,CACA,kBAAA,CAED,qCACC,YAAA,CACA,kBAAA,CACA,kBAAA,CACA,cAAA,CAED,2CACC,YAAA,CACA,qBAAA,CAED,oCACC,UAAA,CAED,iCACC,UAAA,CAED,+BACC,yCAAA,CACA,WAAA,CAED,4BACC,wBAAA,CACG,YAAA,CACA,cAAA,CAEH,qCACC,iDAAA,CACA,yCAAA,CACA,gBAAA,CAGF,6BACC,YAAA,CACA,kBAAA,CACA,oBAAA,CACA,gBAAA,CACA,kDAAA,CACA,eAAA,CAED,yBACC,mBAAA,CAED,iCACC,iBAAA,CACA,mBAAA,CACA,eAAA,CACA,iBAAA,CAGD,+BACC,oBAAA,CAGD,+BACC,iBAAA,CAGD,0BACC,kBAAA,CAGD,gCACC,+BAAA,CACA,cAAA,CACA,iBAAA",sourcesContent:["\n:deep(.availability-day) {\n\tpadding: 0 10px 0 10px;\n\tposition: absolute;\n}\n:deep(.availability-slots) {\n\tdisplay: flex;\n\twhite-space: normal;\n}\n:deep(.availability-slot) {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\tflex-wrap: wrap;\n}\n:deep(.availability-slot-group) {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n:deep(.mx-input-wrapper) {\n\twidth: 85px;\n}\n:deep(.mx-datepicker) {\n\twidth: 97px;\n}\n:deep(.multiselect) {\n\tborder: 1px solid var(--color-border-dark);\n\twidth: 120px;\n}\n.time-zone {\n\tpadding: 32px 12px 12px 0;\n display: flex;\n flex-wrap: wrap;\n\n\t&__heading {\n\t\tmargin-right: calc(var(--default-grid-baseline) * 2);\n\t\tline-height: var(--default-clickable-area);\n\t\tfont-weight: bold;\n\t}\n}\n.grid-table {\n\tdisplay: grid;\n\tmargin-bottom: 32px;\n\tgrid-column-gap: 24px;\n\tgrid-row-gap: 6px;\n\tgrid-template-columns: min-content auto min-content;\n\tmax-width: 500px;\n}\n.button {\n\talign-self: flex-end;\n}\n:deep(.label-weekday) {\n\tposition: relative;\n\tdisplay: inline-flex;\n\tpadding-top: 4px;\n\talign-self: center;\n}\n\n:deep(.delete-slot) {\n\tpadding-bottom: unset;\n}\n\n:deep(.add-another) {\n\talign-self: center;\n}\n\n.to-text {\n\tpadding-right: 12px;\n}\n\n.empty-content {\n\tcolor: var(--color-text-lighter);\n\tmargin-top: 4px;\n\talign-self: center;\n}\n"],sourceRoot:""}]);const o=s},96425:(t,e,r)=>{var n=r(3118),i=r(9435);function a(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}a.prototype=n(i.prototype),a.prototype.constructor=a,t.exports=a},7548:(t,e,r)=>{var n=r(3118),i=r(9435);function a(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}a.prototype=n(i.prototype),a.prototype.constructor=a,t.exports=a},21078:(t,e,r)=>{var n=r(62488),i=r(37285);t.exports=function t(e,r,a,s,o){var u=-1,l=e.length;for(a||(a=i),o||(o=[]);++u<l;){var c=e[u];r>0&&a(c)?r>1?t(c,r-1,a,s,o):n(o,c):s||(o[o.length]=c)}return o}},9435:t=>{t.exports=function(){}},28045:(t,e,r)=>{var n=r(6557),i=r(89250),a=i?function(t,e){return i.set(t,e),t}:n;t.exports=a},52157:t=>{var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,s=t.length,o=n.length,u=-1,l=r.length,c=e(s-o,0),d=Array(l+c),f=!i;++u<l;)d[u]=r[u];for(;++a<o;)(f||a<s)&&(d[n[a]]=t[a]);for(;c--;)d[u++]=t[a++];return d}},14054:t=>{var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,s=t.length,o=-1,u=n.length,l=-1,c=r.length,d=e(s-u,0),f=Array(d+c),h=!i;++a<d;)f[a]=t[a];for(var p=a;++l<c;)f[p+l]=r[l];for(;++o<u;)(h||a<s)&&(f[p+n[o]]=t[a++]);return f}},97991:t=>{t.exports=function(t,e){for(var r=t.length,n=0;r--;)t[r]===e&&++n;return n}},22402:(t,e,r)=>{var n=r(71774),i=r(55639);t.exports=function(t,e,r){var a=1&e,s=n(t);return function e(){return(this&&this!==i&&this instanceof e?s:t).apply(a?r:this,arguments)}}},71774:(t,e,r)=>{var n=r(3118),i=r(13218);t.exports=function(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=n(t.prototype),a=t.apply(r,e);return i(a)?a:r}}},46347:(t,e,r)=>{var n=r(96874),i=r(71774),a=r(86935),s=r(94487),o=r(20893),u=r(46460),l=r(55639);t.exports=function(t,e,r){var c=i(t);return function i(){for(var d=arguments.length,f=Array(d),h=d,p=o(i);h--;)f[h]=arguments[h];var m=d<3&&f[0]!==p&&f[d-1]!==p?[]:u(f,p);return(d-=m.length)<r?s(t,e,a,i.placeholder,void 0,f,m,void 0,void 0,r-d):n(this&&this!==l&&this instanceof i?c:t,this,f)}}},86935:(t,e,r)=>{var n=r(52157),i=r(14054),a=r(97991),s=r(71774),o=r(94487),u=r(20893),l=r(90451),c=r(46460),d=r(55639);t.exports=function t(e,r,f,h,p,m,y,v,T,g){var A=128&r,b=1&r,S=2&r,E=24&r,_=512&r,D=S?void 0:s(e);return function C(){for(var O=arguments.length,w=Array(O),x=O;x--;)w[x]=arguments[x];if(E)var I=u(C),N=a(w,I);if(h&&(w=n(w,h,p,E)),m&&(w=i(w,m,y,E)),O-=N,E&&O<g){var U=c(w,I);return o(e,r,t,C.placeholder,f,w,U,v,T,g-O)}var M=b?f:this,L=S?M[e]:e;return O=w.length,v?w=l(w,v):_&&O>1&&w.reverse(),A&&T<O&&(w.length=T),this&&this!==d&&this instanceof C&&(L=D||s(L)),L.apply(M,w)}}},84375:(t,e,r)=>{var n=r(96874),i=r(71774),a=r(55639);t.exports=function(t,e,r,s){var o=1&e,u=i(t);return function e(){for(var i=-1,l=arguments.length,c=-1,d=s.length,f=Array(d+l),h=this&&this!==a&&this instanceof e?u:t;++c<d;)f[c]=s[c];for(;l--;)f[c++]=arguments[++i];return n(h,o?r:this,f)}}},94487:(t,e,r)=>{var n=r(86528),i=r(258),a=r(69255);t.exports=function(t,e,r,s,o,u,l,c,d,f){var h=8&e;e|=h?32:64,4&(e&=~(h?64:32))||(e&=-4);var p=[t,e,o,h?u:void 0,h?l:void 0,h?void 0:u,h?void 0:l,c,d,f],m=r.apply(void 0,p);return n(t)&&i(m,p),m.placeholder=s,a(m,t,e)}},97727:(t,e,r)=>{var n=r(28045),i=r(22402),a=r(46347),s=r(86935),o=r(84375),u=r(66833),l=r(63833),c=r(258),d=r(69255),f=r(40554),h=Math.max;t.exports=function(t,e,r,p,m,y,v,T){var g=2&e;if(!g&&"function"!=typeof t)throw new TypeError("Expected a function");var A=p?p.length:0;if(A||(e&=-97,p=m=void 0),v=void 0===v?v:h(f(v),0),T=void 0===T?T:f(T),A-=m?m.length:0,64&e){var b=p,S=m;p=m=void 0}var E=g?void 0:u(t),_=[t,e,r,p,m,b,S,y,v,T];if(E&&l(_,E),t=_[0],e=_[1],r=_[2],p=_[3],m=_[4],!(T=_[9]=void 0===_[9]?g?0:t.length:h(_[9]-A,0))&&24&e&&(e&=-25),e&&1!=e)D=8==e||16==e?a(t,e,T):32!=e&&33!=e||m.length?s.apply(void 0,_):o(t,e,r,p);else var D=i(t,e,r);return d((E?n:c)(D,_),t,e)}},99021:(t,e,r)=>{var n=r(85564),i=r(45357),a=r(30061);t.exports=function(t){return a(i(t,void 0,n),t+"")}},66833:(t,e,r)=>{var n=r(89250),i=r(50308),a=n?function(t){return n.get(t)}:i;t.exports=a},97658:(t,e,r)=>{var n=r(52060),i=Object.prototype.hasOwnProperty;t.exports=function(t){for(var e=t.name+"",r=n[e],a=i.call(n,e)?r.length:0;a--;){var s=r[a],o=s.func;if(null==o||o==t)return s.name}return e}},20893:t=>{t.exports=function(t){return t.placeholder}},58775:t=>{var e=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;t.exports=function(t){var n=t.match(e);return n?n[1].split(r):[]}},83112:t=>{var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=function(t,r){var n=r.length;if(!n)return t;var i=n-1;return r[i]=(n>1?"& ":"")+r[i],r=r.join(n>2?", ":" "),t.replace(e,"{\n/* [wrapped with "+r+"] */\n")}},37285:(t,e,r)=>{var n=r(62705),i=r(35694),a=r(1469),s=n?n.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(s&&t&&t[s])}},86528:(t,e,r)=>{var n=r(96425),i=r(66833),a=r(97658),s=r(8111);t.exports=function(t){var e=a(t),r=s[e];if("function"!=typeof r||!(e in n.prototype))return!1;if(t===r)return!0;var o=i(r);return!!o&&t===o[0]}},63833:(t,e,r)=>{var n=r(52157),i=r(14054),a=r(46460),s="__lodash_placeholder__",o=Math.min;t.exports=function(t,e){var r=t[1],u=e[1],l=r|u,c=l<131,d=128==u&&8==r||128==u&&256==r&&t[7].length<=e[8]||384==u&&e[7].length<=e[8]&&8==r;if(!c&&!d)return t;1&u&&(t[2]=e[2],l|=1&r?0:4);var f=e[3];if(f){var h=t[3];t[3]=h?n(h,f,e[4]):f,t[4]=h?a(t[3],s):e[4]}return(f=e[5])&&(h=t[5],t[5]=h?i(h,f,e[6]):f,t[6]=h?a(t[5],s):e[6]),(f=e[7])&&(t[7]=f),128&u&&(t[8]=null==t[8]?e[8]:o(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=l,t}},89250:(t,e,r)=>{var n=r(70577),i=n&&new n;t.exports=i},52060:t=>{t.exports={}},90451:(t,e,r)=>{var n=r(278),i=r(65776),a=Math.min;t.exports=function(t,e){for(var r=t.length,s=a(e.length,r),o=n(t);s--;){var u=e[s];t[s]=i(u,r)?o[u]:void 0}return t}},46460:t=>{var e="__lodash_placeholder__";t.exports=function(t,r){for(var n=-1,i=t.length,a=0,s=[];++n<i;){var o=t[n];o!==r&&o!==e||(t[n]=e,s[a++]=n)}return s}},258:(t,e,r)=>{var n=r(28045),i=r(21275)(n);t.exports=i},69255:(t,e,r)=>{var n=r(58775),i=r(83112),a=r(30061),s=r(87241);t.exports=function(t,e,r){var o=e+"";return a(t,i(o,s(n(o),r)))}},87241:(t,e,r)=>{var n=r(77412),i=r(47443),a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=function(t,e){return n(a,(function(r){var n="_."+r[0];e&r[1]&&!i(t,n)&&t.push(n)})),t.sort()}},21913:(t,e,r)=>{var n=r(96425),i=r(7548),a=r(278);t.exports=function(t){if(t instanceof n)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=a(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}},39514:(t,e,r)=>{var n=r(97727);t.exports=function(t,e,r){return e=r?void 0:e,e=t&&null==e?t.length:e,n(t,128,void 0,void 0,void 0,void 0,e)}},40087:(t,e,r)=>{var n=r(97727);function i(t,e,r){var a=n(t,8,void 0,void 0,void 0,void 0,void 0,e=r?void 0:e);return a.placeholder=i.placeholder,a}i.placeholder={},t.exports=i},85564:(t,e,r)=>{var n=r(21078);t.exports=function(t){return null!=t&&t.length?n(t,1):[]}},84599:(t,e,r)=>{var n=r(68836),i=r(69306),a=Array.prototype.push;function s(t,e){return 2==e?function(e,r){return t(e,r)}:function(e){return t(e)}}function o(t){for(var e=t?t.length:0,r=Array(e);e--;)r[e]=t[e];return r}function u(t,e){return function(){var r=arguments.length;if(r){for(var n=Array(r);r--;)n[r]=arguments[r];var i=n[0]=e.apply(void 0,n);return t.apply(void 0,n),i}}}t.exports=function t(e,r,l,c){var d="function"==typeof r,f=r===Object(r);if(f&&(c=l,l=r,r=void 0),null==l)throw new TypeError;c||(c={});var h={cap:!("cap"in c)||c.cap,curry:!("curry"in c)||c.curry,fixed:!("fixed"in c)||c.fixed,immutable:!("immutable"in c)||c.immutable,rearg:!("rearg"in c)||c.rearg},p=d?l:i,m="curry"in c&&c.curry,y="fixed"in c&&c.fixed,v="rearg"in c&&c.rearg,T=d?l.runInContext():void 0,g=d?l:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},A=g.ary,b=g.assign,S=g.clone,E=g.curry,_=g.forEach,D=g.isArray,C=g.isError,O=g.isFunction,w=g.isWeakMap,x=g.keys,I=g.rearg,N=g.toInteger,U=g.toPath,M=x(n.aryMethod),L={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(o(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[1],r=t(arguments[0],e),n=r.length;return h.cap&&"number"==typeof e?(e=e>2?e-2:1,n&&n<=e?r:s(r,e)):r}},mixin:function(t){return function(e){var r=this;if(!O(r))return t(r,Object(e));var n=[];return _(x(e),(function(t){O(e[t])&&n.push([t,r.prototype[t]])})),t(r,Object(e)),_(n,(function(t){var e=t[1];O(e)?r.prototype[t[0]]=e:delete r.prototype[t[0]]})),r}},nthArg:function(t){return function(e){var r=e<0?1:N(e)+1;return E(t(e),r)}},rearg:function(t){return function(e,r){var n=r?r.length:0;return E(t(e,r),n)}},runInContext:function(r){return function(n){return t(e,r(n),c)}}};function P(t,e,r){if(h.fixed&&(y||!n.skipFixed[t])){var i=n.methodSpread[t],s=i&&i.start;return void 0===s?A(e,r):function(t,e){return function(){for(var r=arguments.length,n=r-1,i=Array(r);r--;)i[r]=arguments[r];var s=i[e],o=i.slice(0,e);return s&&a.apply(o,s),e!=n&&a.apply(o,i.slice(e+1)),t.apply(this,o)}}(e,s)}return e}function Y(t,e,r){return h.rearg&&r>1&&(v||!n.skipRearg[t])?I(e,n.methodRearg[t]||n.aryRearg[r]):e}function k(t,e){for(var r=-1,n=(e=U(e)).length,i=n-1,a=S(Object(t)),s=a;null!=s&&++r<n;){var o=e[r],u=s[o];null==u||O(u)||C(u)||w(u)||(s[o]=S(r==i?u:Object(u))),s=s[o]}return a}function R(e,r){var i=n.aliasToReal[e]||e,a=n.remap[i]||i,s=c;return function(e){var n=d?T:g,o=d?T[a]:r,u=b(b({},s),e);return t(n,i,o,u)}}function B(t,e){return function(){var r=arguments.length;if(!r)return t();for(var n=Array(r);r--;)n[r]=arguments[r];var i=h.rearg?0:r-1;return n[i]=e(n[i]),t.apply(void 0,n)}}function j(t,e,r){var i,a=n.aliasToReal[t]||t,l=e,c=L[a];return c?l=c(e):h.immutable&&(n.mutate.array[a]?l=u(e,o):n.mutate.object[a]?l=u(e,function(t){return function(e){return t({},e)}}(e)):n.mutate.set[a]&&(l=u(e,k))),_(M,(function(t){return _(n.aryMethod[t],(function(e){if(a==e){var r=n.methodSpread[a],o=r&&r.afterRearg;return i=o?P(a,Y(a,l,t),t):Y(a,P(a,l,t),t),i=function(t,e,r){return m||h.curry&&r>1?E(e,r):e}(0,i=function(t,e){if(h.cap){var r=n.iterateeRearg[t];if(r)return function(t,e){return B(t,(function(t){var r=e.length;return function(t,e){return 2==e?function(e,r){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(I(s(t,r),e),r)}))}(e,r);var i=!d&&n.iterateeAry[t];if(i)return function(t,e){return B(t,(function(t){return"function"==typeof t?s(t,e):t}))}(e,i)}return e}(a,i),t),!1}})),!i})),i||(i=l),i==e&&(i=m?E(i,1):function(){return e.apply(this,arguments)}),i.convert=R(a,e),i.placeholder=e.placeholder=r,i}if(!f)return j(r,l,p);var z=l,F=[];return _(M,(function(t){_(n.aryMethod[t],(function(t){var e=z[n.remap[t]||t];e&&F.push([t,j(t,e,z)])}))})),_(x(z),(function(t){var e=z[t];if("function"==typeof e){for(var r=F.length;r--;)if(F[r][0]==t)return;e.convert=R(t,e),F.push([t,e])}})),_(F,(function(t){z[t[0]]=t[1]})),z.convert=function(t){return z.runInContext.convert(t)(void 0)},z.placeholder=z,_(x(z),(function(t){_(n.realToAlias[t]||[],(function(e){z[e]=z[t]}))})),z}},68836:(t,e)=>{e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,n={};for(var i in r){var a=r[i];t.call(n,a)?n[a].push(i):n[a]=[i]}return n}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},4269:(t,e,r)=>{t.exports={ary:r(39514),assign:r(44037),clone:r(66678),curry:r(40087),forEach:r(77412),isArray:r(1469),isError:r(64647),isFunction:r(23560),isWeakMap:r(81018),iteratee:r(72594),keys:r(280),rearg:r(4963),toInteger:r(40554),toPath:r(30084)}},92822:(t,e,r)=>{var n=r(84599),i=r(4269);t.exports=function(t,e,r){return n(i,t,e,r)}},56580:(t,e,r)=>{var n=r(92822)("memoize",r(88306));n.placeholder=r(69306),t.exports=n},69306:t=>{t.exports={}},64647:(t,e,r)=>{var n=r(44239),i=r(37005),a=r(68630);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!a(t)}},81018:(t,e,r)=>{var n=r(64160),i=r(37005);t.exports=function(t){return i(t)&&"[object WeakMap]"==n(t)}},72594:(t,e,r)=>{var n=r(85990),i=r(67206);t.exports=function(t){return i("function"==typeof t?t:n(t,1))}},4963:(t,e,r)=>{var n=r(97727),i=r(99021)((function(t,e){return n(t,256,void 0,void 0,void 0,e)}));t.exports=i},18601:(t,e,r)=>{var n=r(14841);t.exports=function(t){return t?Infinity===(t=n(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},40554:(t,e,r)=>{var n=r(18601);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},30084:(t,e,r)=>{var n=r(29932),i=r(278),a=r(1469),s=r(33448),o=r(55514),u=r(40327),l=r(79833);t.exports=function(t){return a(t)?n(t,u):s(t)?[t]:i(o(l(t)))}},8111:(t,e,r)=>{var n=r(96425),i=r(7548),a=r(9435),s=r(1469),o=r(37005),u=r(21913),l=Object.prototype.hasOwnProperty;function c(t){if(o(t)&&!s(t)&&!(t instanceof n)){if(t instanceof i)return t;if(l.call(t,"__wrapped__"))return u(t)}return new i(t)}c.prototype=a.prototype,c.prototype.constructor=c,t.exports=c},42761:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg=="},87210:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K"},94659:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg=="}},a={};function s(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={id:t,loaded:!1,exports:{}};return i[t].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=i,e=[],s.O=(t,r,n,i)=>{if(!r){var a=1/0;for(c=0;c<e.length;c++){r=e[c][0],n=e[c][1],i=e[c][2];for(var o=!0,u=0;u<r.length;u++)(!1&i||a>=i)&&Object.keys(s.O).every((t=>s.O[t](r[u])))?r.splice(u--,1):(o=!1,i<a&&(a=i));if(o){e.splice(c--,1);var l=n();void 0!==l&&(t=l)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[r,n,i]},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.f={},s.e=t=>Promise.all(Object.keys(s.f).reduce(((e,r)=>(s.f[r](t,e),e)),[])),s.u=t=>t+"-"+t+".js?v="+{2048:"78a82614529a3cefcde7",4180:"fe82f3a2dac70d6b82bc"}[t],s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r={},n="nextcloud:",s.l=(t,e,i,a)=>{if(r[t])r[t].push(e);else{var o,u;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var d=l[c];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==n+i){o=d;break}}o||(u=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",n+i),o.src=t),r[t]=[e];var f=(e,n)=>{o.onerror=o.onload=null,clearTimeout(h);var i=r[t];if(delete r[t],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach((t=>t(n))),e)return e(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),u&&document.head.appendChild(o)}},s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),s.j=3347,(()=>{var t;s.g.importScripts&&(t=s.g.location+"");var e=s.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!t;)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=t})(),(()=>{s.b=document.baseURI||self.location.href;var t={3347:0};s.f.j=(e,r)=>{var n=s.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=t[e]=[r,i]));r.push(n[2]=i);var a=s.p+s.u(e),o=new Error;s.l(a,(r=>{if(s.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;o.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",o.name="ChunkLoadError",o.type=i,o.request=a,n[1](o)}}),"chunk-"+e,e)}},s.O.j=e=>0===t[e];var e=(e,r)=>{var n,i,a=r[0],o=r[1],u=r[2],l=0;if(a.some((e=>0!==t[e]))){for(n in o)s.o(o,n)&&(s.m[n]=o[n]);if(u)var c=u(s)}for(e&&e(r);l<a.length;l++)i=a[l],s.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return s.O(c)},r=self.webpackChunknextcloud=self.webpackChunknextcloud||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),s.nc=void 0;var o=s.O(void 0,[7874],(()=>s(74395)));o=s.O(o)})();
-//# sourceMappingURL=dav-settings-personal-availability.js.map?v=87811e5fb8a7837be947 \ No newline at end of file
+(()=>{var e,r,n,i={85670:(e,r,n)=>{"use strict";var i=n(20144),a=n(31352),s=n(67912),o=n(74628),u=n(49368),l=n(70653),c=n(37008),d=n(79753),f=n(93664);function h(t){return`${t.getFullYear()}-${(t.getMonth()+1).toString().padStart(2,"0")}-${t.getDate().toString().padStart(2,"0")}`}var p=n(43554),m=n(64024);const y=(0,n(17499).IY)().setApp("dav").detectUser().build(),v={name:"AbsenceForm",components:{NcButton:o.Z,NcTextField:u.Z,NcTextArea:l.Z,NcDateTimePickerNative:c.Z},data(){const{firstDay:t,lastDay:e,status:r,message:n}=(0,p.j)("dav","absence",{});return{loading:!1,status:r??"",message:n??"",firstDay:t?new Date(t):new Date,lastDay:e?new Date(e):null}},computed:{valid(){const t=new Date(this.firstDay?.getTime()),e=new Date(this.lastDay?.getTime());return t?.setHours(0,0,0,0),e?.setHours(0,0,0,0),!!this.firstDay&&!!this.lastDay&&!!this.status&&!!this.message&&e>=t}},methods:{resetForm(){this.status="",this.message="",this.firstDay=new Date,this.lastDay=null},async saveForm(){if(this.valid){this.loading=!0;try{await f.Z.post((0,d.generateUrl)("/apps/dav/settings/absence"),{firstDay:h(this.firstDay),lastDay:h(this.lastDay),status:this.status,message:this.message}),(0,m.s$)(this.$t("dav","Absence saved"))}catch(t){(0,m.x2)(this.$t("dav","Failed to save your absence settings")),y.error("Could not save absence",{error:t})}finally{this.loading=!1}}},async clearAbsence(){this.loading=!0;try{await f.Z.delete((0,d.generateUrl)("/apps/dav/settings/absence")),this.resetForm(),(0,m.s$)(this.$t("dav","Absence cleared"))}catch(t){(0,m.x2)(this.$t("dav","Failed to clear your absence settings")),y.error("Could not clear absence",{error:t})}finally{this.loading=!1}}}};var T=n(93379),g=n.n(T),A=n(7795),b=n.n(A),S=n(90569),E=n.n(S),_=n(3565),D=n.n(_),C=n(19216),O=n.n(C),w=n(44589),x=n.n(w),I=n(43248),N={};N.styleTagTransform=x(),N.setAttributes=D(),N.insert=E().bind(null,"head"),N.domAPI=b(),N.insertStyleElement=O(),g()(I.Z,N),I.Z&&I.Z.locals&&I.Z.locals;var U=n(51900),M=(0,U.Z)(v,(function(){var t=this,e=t._self._c;return e("form",{staticClass:"absence",on:{submit:function(e){return e.preventDefault(),t.saveForm.apply(null,arguments)}}},[e("div",{staticClass:"absence__dates"},[e("NcDateTimePickerNative",{staticClass:"absence__dates__picker",attrs:{id:"absence-first-day",label:t.$t("dav","First day"),required:!0},model:{value:t.firstDay,callback:function(e){t.firstDay=e},expression:"firstDay"}}),t._v(" "),e("NcDateTimePickerNative",{staticClass:"absence__dates__picker",attrs:{id:"absence-last-day",label:t.$t("dav","Last day (inclusive)"),required:!0},model:{value:t.lastDay,callback:function(e){t.lastDay=e},expression:"lastDay"}})],1),t._v(" "),e("NcTextField",{attrs:{value:t.status,label:t.$t("dav","Short absence status"),required:!0},on:{"update:value":function(e){t.status=e}}}),t._v(" "),e("NcTextArea",{attrs:{value:t.message,label:t.$t("dav","Long absence Message"),required:!0},on:{"update:value":function(e){t.message=e}}}),t._v(" "),e("div",{staticClass:"absence__buttons"},[e("NcButton",{attrs:{disabled:t.loading||!t.valid,type:"primary","native-type":"submit"}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Save"))+"\n\t\t")]),t._v(" "),e("NcButton",{attrs:{disabled:t.loading||!t.valid,type:"error"},on:{click:t.clearAbsence}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Disable absence"))+"\n\t\t")])],1)],1)}),[],!1,null,"863a2868",null);const L=M.exports;var P=n(25108),Y=n(34155),k=n(18350);function R(t,e,r,n,i,a,s,o){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(u=function(t){!(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=o?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}!function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";.material-design-icon[data-v-22982259]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.native-datetime-picker[data-v-22982259]{display:flex;flex-direction:column}.native-datetime-picker .native-datetime-picker--input[data-v-22982259]{width:100%;flex:0 0 auto;padding-right:4px}/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */.material-design-icon[data-v-f507b497]{display:flex;align-self:center;justify-self:center;align-items:center;justify-content:center}.button-vue[data-v-f507b497]{position:relative;width:fit-content;overflow:hidden;border:0;padding:0;font-size:var(--default-font-size);font-weight:700;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:22px;transition-property:color,border-color,background-color;transition-duration:.1s;transition-timing-function:linear;color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light)}.button-vue *[data-v-f507b497],.button-vue span[data-v-f507b497]{cursor:pointer}.button-vue[data-v-f507b497]:focus{outline:none}.button-vue[data-v-f507b497]:disabled{cursor:default;opacity:.5;filter:saturate(.7)}.button-vue:disabled *[data-v-f507b497]{cursor:default}.button-vue[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-primary-element-light-hover)}.button-vue[data-v-f507b497]:active{background-color:var(--color-primary-element-light)}.button-vue__wrapper[data-v-f507b497]{display:inline-flex;align-items:center;justify-content:center;width:100%}.button-vue--end .button-vue__wrapper[data-v-f507b497]{justify-content:end}.button-vue--start .button-vue__wrapper[data-v-f507b497]{justify-content:start}.button-vue--reverse .button-vue__wrapper[data-v-f507b497]{flex-direction:row-reverse}.button-vue--reverse.button-vue--icon-and-text[data-v-f507b497]{padding-inline:calc(var(--default-grid-baseline) * 4) var(--default-grid-baseline)}.button-vue__icon[data-v-f507b497]{height:44px;width:44px;min-height:44px;min-width:44px;display:flex;justify-content:center;align-items:center}.button-vue__text[data-v-f507b497]{font-weight:700;margin-bottom:1px;padding:2px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.button-vue--icon-only[data-v-f507b497]{width:44px!important}.button-vue--text-only[data-v-f507b497]{padding:0 12px}.button-vue--text-only .button-vue__text[data-v-f507b497]{margin-left:4px;margin-right:4px}.button-vue--icon-and-text[data-v-f507b497]{padding-block:0;padding-inline:var(--default-grid-baseline) calc(var(--default-grid-baseline) * 4)}.button-vue--wide[data-v-f507b497]{width:100%}.button-vue[data-v-f507b497]:focus-visible{outline:2px solid var(--color-main-text)!important;box-shadow:0 0 0 4px var(--color-main-background)!important}.button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-f507b497]{outline:2px solid var(--color-primary-element-text);border-radius:var(--border-radius);background-color:transparent}.button-vue--vue-primary[data-v-f507b497]{background-color:var(--color-primary-element);color:var(--color-primary-element-text)}.button-vue--vue-primary[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-primary-element-hover)}.button-vue--vue-primary[data-v-f507b497]:active{background-color:var(--color-primary-element)}.button-vue--vue-secondary[data-v-f507b497]{color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light)}.button-vue--vue-secondary[data-v-f507b497]:hover:not(:disabled){color:var(--color-primary-element-light-text);background-color:var(--color-primary-element-light-hover)}.button-vue--vue-tertiary[data-v-f507b497]{color:var(--color-main-text);background-color:transparent}.button-vue--vue-tertiary[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-background-hover)}.button-vue--vue-tertiary-no-background[data-v-f507b497]{color:var(--color-main-text);background-color:transparent}.button-vue--vue-tertiary-no-background[data-v-f507b497]:hover:not(:disabled){background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-f507b497]{color:var(--color-primary-element-text);background-color:transparent}.button-vue--vue-tertiary-on-primary[data-v-f507b497]:hover:not(:disabled){background-color:transparent}.button-vue--vue-success[data-v-f507b497]{background-color:var(--color-success);color:#fff}.button-vue--vue-success[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-success-hover)}.button-vue--vue-success[data-v-f507b497]:active{background-color:var(--color-success)}.button-vue--vue-warning[data-v-f507b497]{background-color:var(--color-warning);color:#fff}.button-vue--vue-warning[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-warning-hover)}.button-vue--vue-warning[data-v-f507b497]:active{background-color:var(--color-warning)}.button-vue--vue-error[data-v-f507b497]{background-color:var(--color-error);color:#fff}.button-vue--vue-error[data-v-f507b497]:hover:not(:disabled){background-color:var(--color-error-hover)}.button-vue--vue-error[data-v-f507b497]:active{background-color:var(--color-error)}.availability-day[data-v-31358f1f]{padding:0 10px;position:absolute}.availability-slots[data-v-31358f1f]{display:flex;white-space:nowrap}.availability-slot[data-v-31358f1f]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-31358f1f]{display:flex;flex-direction:column}[data-v-31358f1f] .mx-input-wrapper{width:85px}[data-v-31358f1f] .mx-datepicker{width:97px}[data-v-31358f1f] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-31358f1f]{padding:32px 12px 12px 0}.grid-table[data-v-31358f1f]{display:grid;margin-bottom:32px;grid-column-gap:24px;grid-row-gap:6px;grid-template-columns:min-content min-content min-content}.button[data-v-31358f1f]{align-self:flex-end}.label-weekday[data-v-31358f1f]{position:relative;display:flex;align-items:flex-start}.label-weekday>span[data-v-31358f1f]{height:50px;display:flex;align-items:center}.add-another[data-v-31358f1f]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-31358f1f]:hover{opacity:1}.to-text[data-v-31358f1f]{padding-right:12px}.time-zone-text[data-v-31358f1f]{padding-left:22px}.empty-content[data-v-31358f1f]{color:var(--color-text-lighter);display:inline-flex;align-items:center}.start-date[data-v-31358f1f]{padding-right:12px}')),document.head.appendChild(t)}}catch(t){P.error("vite-plugin-css-injected-by-js",t)}}();const B=["date","datetime-local","month","time","week"],j={name:"NcDateTimePickerNative",inheritAttrs:!1,props:{value:{type:Date,default:null},id:{type:String,required:!0},type:{type:String,default:"date",validate:t=>B.includes(t)},label:{type:String,default:"Please choose a date"},min:{type:[Date,Boolean],default:null},max:{type:[Date,Boolean],default:null},hideLabel:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["input"],computed:{formattedValue(){return this.formatValue(this.value)},formattedMin(){return!!this.min&&this.formatValue(this.min)},formattedMax(){return!!this.max&&this.formatValue(this.max)},listeners(){return{...this.$listeners,input:t=>{if(isNaN(t.target.valueAsNumber))return this.$emit("input",null);if("time"===this.type){const e=t.target.value;if(""===this.value){const{yyyy:t,MM:r,dd:n}=this.getReadableDate(new Date);return this.$emit("input",new Date(`${t}-${r}-${n}T${e}`))}const{yyyy:r,MM:n,dd:i}=this.getReadableDate(this.value);return this.$emit("input",new Date(`${r}-${n}-${i}T${e}`))}if("month"===this.type){const e=(new Date(t.target.value).getMonth()+1).toString().padStart(2,"0");if(""===this.value){const{yyyy:t,dd:r,hh:n,mm:i}=this.getReadableDate(new Date);return this.$emit("input",new Date(`${t}-${e}-${r}T${n}:${i}`))}const{yyyy:r,dd:n,hh:i,mm:a}=this.getReadableDate(this.value);return this.$emit("input",new Date(`${r}-${e}-${n}T${i}:${a}`))}const e=1e3*new Date(t.target.valueAsNumber).getTimezoneOffset()*60,r=t.target.valueAsNumber+e;return this.$emit("input",new Date(r))}}}},methods:{getReadableDate(t){if(t instanceof Date)return{yyyy:t.getFullYear().toString().padStart(4,"0"),MM:(t.getMonth()+1).toString().padStart(2,"0"),dd:t.getDate().toString().padStart(2,"0"),hh:t.getHours().toString().padStart(2,"0"),mm:t.getMinutes().toString().padStart(2,"0")}},formatValue(t){if(!(t instanceof Date))return"";{const{yyyy:e,MM:r,dd:n,hh:i,mm:a}=this.getReadableDate(t);if("datetime-local"===this.type)return`${e}-${r}-${n}T${i}:${a}`;if("date"===this.type)return`${e}-${r}-${n}`;if("month"===this.type)return`${e}-${r}`;if("time"===this.type)return`${i}:${a}`;if("week"===this.type){const r=new Date(e,0,1),n=Math.floor((t-r)/864e5);return`${e}-W${Math.ceil(n/7)}`}}}}};var z=function(){var t=this,e=t._self._c;return e("div",{staticClass:"native-datetime-picker"},[e("label",{class:{"hidden-visually":t.hideLabel},attrs:{for:t.id}},[t._v(t._s(t.label))]),e("input",t._g(t._b({staticClass:"native-datetime-picker--input",class:t.inputClass,attrs:{id:t.id,type:t.type,min:t.formattedMin,max:t.formattedMax},domProps:{value:t.formattedValue}},"input",t.$attrs,!1),t.listeners))])};const F=R(j,z,[],!1,null,"22982259",null,null).exports;var W;(W=F).mounted?Array.isArray(W.mounted)||(W.mounted=[W.mounted]):W.mounted=[],W.mounted.push((function(){this.$el.setAttribute("data-v-cfad8df","")}));const $={name:"NcButton",props:{alignment:{type:String,default:"center",validator:t=>["start","start-reverse","center","center-reverse","end","end-reverse"].includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,validator:t=>-1!==["primary","secondary","tertiary","tertiary-no-background","tertiary-on-primary","error","warning","success"].indexOf(t),default:"secondary"},nativeType:{type:String,validator:t=>-1!==["submit","reset","button"].indexOf(t),default:"button"},wide:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},href:{type:String,default:null},download:{type:String,default:null},to:{type:[String,Object],default:null},exact:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:null},pressed:{type:Boolean,default:null}},emits:["update:pressed","click"],computed:{realType(){return this.pressed?"primary":!1===this.pressed&&"primary"===this.type?"secondary":this.type},flexAlignment(){return this.alignment.split("-")[0]},isReverseAligned(){return this.alignment.includes("-")}},render(t){var e,r,n;const i=!!this.$slots.default,a=null==(e=this.$slots)?void 0:e.icon;!i&&!this.ariaLabel&&P.warn("You need to fill either the text or the ariaLabel props in the button component.",{text:null==(n=null==(r=this.$slots.default)?void 0:r[0])?void 0:n.text,ariaLabel:this.ariaLabel},this);const s=({navigate:e,isActive:r,isExactActive:n}={})=>t(this.to||!this.href?"button":"a",{class:["button-vue",{"button-vue--icon-only":a&&!i,"button-vue--text-only":i&&!a,"button-vue--icon-and-text":a&&i,[`button-vue--vue-${this.realType}`]:this.realType,"button-vue--wide":this.wide,[`button-vue--${this.flexAlignment}`]:"center"!==this.flexAlignment,"button-vue--reverse":this.isReverseAligned,active:r,"router-link-exact-active":n}],attrs:{"aria-label":this.ariaLabel,"aria-pressed":this.pressed,disabled:this.disabled,type:this.href?null:this.nativeType,role:this.href?"button":null,href:!this.to&&this.href?this.href:null,target:!this.to&&this.href?"_self":null,rel:!this.to&&this.href?"nofollow noreferrer noopener":null,download:!this.to&&this.href&&this.download?this.download:null,...this.$attrs},on:{...this.$listeners,click:t=>{"boolean"==typeof this.pressed&&this.$emit("update:pressed",!this.pressed),this.$emit("click",t),null==e||e(t)}}},[t("span",{class:"button-vue__wrapper"},[a?t("span",{class:"button-vue__icon",attrs:{"aria-hidden":this.ariaHidden}},[this.$slots.icon]):null,i?t("span",{class:"button-vue__text"},[this.$slots.default]):null])]);return this.to?t("router-link",{props:{custom:!0,to:this.to,exact:this.exact},scopedSlots:{default:s}}):s()}},V=R($,null,null,!1,null,"f507b497",null,null).exports;function H(t,e,r,n,i,a,s,o){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(u=function(t){!(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=o?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}const G=H({name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon delete-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null,null).exports,Z={name:"CalendarAvailability",components:{NcDateTimePickerNative:F,NcButton:V,IconAdd:H({name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},(function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon plus-icon",attrs:{"aria-hidden":!t.title,"aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])}),[],!1,null,null,null,null).exports,IconDelete:G},props:{slots:{type:Object,required:!0},loading:{type:Boolean,default:!1},l10nTo:{type:String,required:!0},l10nDeleteSlot:{type:String,required:!0},l10nEmptyDay:{type:String,required:!0},l10nAddSlot:{type:String,required:!0},l10nMonday:{type:String,required:!0},l10nTuesday:{type:String,required:!0},l10nWednesday:{type:String,required:!0},l10nThursday:{type:String,required:!0},l10nFriday:{type:String,required:!0},l10nSaturday:{type:String,required:!0},l10nSunday:{type:String,required:!0},l10nStartPickerLabel:{type:Function,default:t=>`Pick a start time for ${t}`},l10nEndPickerLabel:{type:Function,default:t=>`Pick a end time for ${t}`}},data(){return{internalSlots:this.slotsToInternalData(this.slots)}},watch:{slots(){this.internalSlots=this.slotsToInternalData(this.slots)}},methods:{timeStampSlotsToDateObjectSlots:t=>t.map((t=>({start:new Date(1e3*t.start),end:new Date(1e3*t.end)}))),slotsToInternalData(){const t=[{id:"MO",displayName:this.l10nMonday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.MO)},{id:"TU",displayName:this.l10nTuesday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.TU)},{id:"WE",displayName:this.l10nWednesday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.WE)},{id:"TH",displayName:this.l10nThursday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.TH)},{id:"FR",displayName:this.l10nFriday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.FR)},{id:"SA",displayName:this.l10nSaturday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.SA)}],e={id:"SU",displayName:this.l10nSunday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.SU)};return 1===(0,a.yo)()?[...t,e]:[e,...t]},internalDataToSlots(){const t={};return this.internalSlots.forEach((({id:e,slots:r})=>{t[e]=r.map((t=>({start:Math.round(t.start.getTime()/1e3),end:Math.round(t.end.getTime()/1e3)})))})),t},addSlot(t){const e=new Date;e.setHours(9,0,0,0);const r=new Date;r.setHours(17,0,0,0),t.slots.push({start:e,end:r}),this.onChangeSlots()},removeSlot(t,e){t.slots.splice(e,1),this.onChangeSlots()},onChangeSlots(){this.$emit("update:slots",this.internalDataToSlots())}}},K=H(Z,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"grid-table"},[t._l(t.internalSlots,(function(r){return[e("div",{key:`day-label-${r.id}`,staticClass:"label-weekday"},[e("span",[t._v(t._s(r.displayName))])]),e("div",{key:`day-slots-${r.id}`,staticClass:"availability-slots"},[e("div",{staticClass:"availability-slot-group"},[t._l(r.slots,(function(n,i){var a,s;return[e("div",{key:`slot-${r.id}-${i}`,staticClass:"availability-slot"},[e("NcDateTimePickerNative",{staticClass:"start-date",attrs:{id:`start-${r.id}-${i}`,type:"time",label:null==(a=t.l10nStartPickerLabel)?void 0:a.call(t,r.displayName),"hide-label":!0},on:{change:t.onChangeSlots},model:{value:n.start,callback:function(e){t.$set(n,"start",e)},expression:"slot.start"}}),e("span",{staticClass:"to-text"},[t._v(" "+t._s(t.l10nTo)+" ")]),e("NcDateTimePickerNative",{staticClass:"end-date",attrs:{id:`end-${r.id}-${i}`,type:"time",label:null==(s=t.l10nEndPickerLabel)?void 0:s.call(t,r.displayName),"hide-label":!0},on:{change:t.onChangeSlots},model:{value:n.end,callback:function(e){t.$set(n,"end",e)},expression:"slot.end"}}),e("NcButton",{key:`slot-${r.id}-${i}-btn`,staticClass:"button",attrs:{type:"tertiary","aria-label":t.l10nDeleteSlot,title:t.l10nDeleteSlot},on:{click:function(e){return t.removeSlot(r,i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDelete",{attrs:{size:20}})]},proxy:!0}],null,!0)})],1)]}))],2),0===r.slots.length?e("span",{staticClass:"empty-content"},[t._v(" "+t._s(t.l10nEmptyDay)+" ")]):t._e()]),e("NcButton",{key:`add-slot-${r.id}`,staticClass:"add-another button",attrs:{disabled:t.loading,title:t.l10nAddSlot,"aria-label":t.l10nAddSlot},on:{click:function(e){return t.addSlot(r)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAdd",{attrs:{size:20}})]},proxy:!0}],null,!0)})]}))],2)}),[],!1,null,"31358f1f",null,null).exports;var q=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},X={},J={};Object.defineProperty(J,"__esModule",{value:!0}),J.zonesMap=J.defaultStart=void 0,J.defaultStart="19700101T000000",J.zonesMap=new Map([["Africa/Abidjan",{s:{f:"+0000",n:"GMT"}}],["Africa/Accra",{s:{f:"+0000",n:"GMT"}}],["Africa/Addis_Ababa",{s:{f:"+0300",n:"EAT"}}],["Africa/Algiers",{s:{f:"+0100",n:"CET"}}],["Africa/Asmara",{s:{f:"+0300",n:"EAT"}}],["Africa/Bamako",{s:{f:"+0000",n:"GMT"}}],["Africa/Bangui",{s:{f:"+0100",n:"WAT"}}],["Africa/Banjul",{s:{f:"+0000",n:"GMT"}}],["Africa/Bissau",{s:{f:"+0000",n:"GMT"}}],["Africa/Blantyre",{s:{f:"+0200",n:"CAT"}}],["Africa/Brazzaville",{s:{f:"+0100",n:"WAT"}}],["Africa/Bujumbura",{s:{f:"+0200",n:"CAT"}}],["Africa/Cairo",{s:{f:"+0200",n:"EET"}}],["Africa/Casablanca",{s:{f:"+0100",n:"+01"}}],["Africa/Ceuta",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Africa/Conakry",{s:{f:"+0000",n:"GMT"}}],["Africa/Dakar",{s:{f:"+0000",n:"GMT"}}],["Africa/Dar_es_Salaam",{s:{f:"+0300",n:"EAT"}}],["Africa/Djibouti",{s:{f:"+0300",n:"EAT"}}],["Africa/Douala",{s:{f:"+0100",n:"WAT"}}],["Africa/El_Aaiun",{s:{f:"+0100",n:"+01"}}],["Africa/Freetown",{s:{f:"+0000",n:"GMT"}}],["Africa/Gaborone",{s:{f:"+0200",n:"CAT"}}],["Africa/Harare",{s:{f:"+0200",n:"CAT"}}],["Africa/Johannesburg",{s:{f:"+0200",n:"SAST"}}],["Africa/Juba",{s:{f:"+0300",n:"EAT"}}],["Africa/Kampala",{s:{f:"+0300",n:"EAT"}}],["Africa/Khartoum",{s:{f:"+0200",n:"CAT"}}],["Africa/Kigali",{s:{f:"+0200",n:"CAT"}}],["Africa/Kinshasa",{s:{f:"+0100",n:"WAT"}}],["Africa/Lagos",{s:{f:"+0100",n:"WAT"}}],["Africa/Libreville",{s:{f:"+0100",n:"WAT"}}],["Africa/Lome",{s:{f:"+0000",n:"GMT"}}],["Africa/Luanda",{s:{f:"+0100",n:"WAT"}}],["Africa/Lubumbashi",{s:{f:"+0200",n:"CAT"}}],["Africa/Lusaka",{s:{f:"+0200",n:"CAT"}}],["Africa/Malabo",{s:{f:"+0100",n:"WAT"}}],["Africa/Maputo",{s:{f:"+0200",n:"CAT"}}],["Africa/Maseru",{s:{f:"+0200",n:"SAST"}}],["Africa/Mbabane",{s:{f:"+0200",n:"SAST"}}],["Africa/Mogadishu",{s:{f:"+0300",n:"EAT"}}],["Africa/Monrovia",{s:{f:"+0000",n:"GMT"}}],["Africa/Nairobi",{s:{f:"+0300",n:"EAT"}}],["Africa/Ndjamena",{s:{f:"+0100",n:"WAT"}}],["Africa/Niamey",{s:{f:"+0100",n:"WAT"}}],["Africa/Nouakchott",{s:{f:"+0000",n:"GMT"}}],["Africa/Ouagadougou",{s:{f:"+0000",n:"GMT"}}],["Africa/Porto-Novo",{s:{f:"+0100",n:"WAT"}}],["Africa/Sao_Tome",{s:{f:"+0100",n:"WAT"}}],["Africa/Tripoli",{s:{f:"+0200",n:"EET"}}],["Africa/Tunis",{s:{f:"+0100",n:"CET"}}],["Africa/Windhoek",{s:{f:"+0200",n:"CAT"}}],["America/Adak",{s:{f:"-0900",t:"-1000",n:"HST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-1000",t:"-0900",n:"HDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Anchorage",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Anguilla",{s:{f:"-0400",n:"AST"}}],["America/Antigua",{s:{f:"-0400",n:"AST"}}],["America/Araguaina",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Buenos_Aires",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Catamarca",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Cordoba",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Jujuy",{s:{f:"-0300",n:"-03"}}],["America/Argentina/La_Rioja",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Mendoza",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Rio_Gallegos",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Salta",{s:{f:"-0300",n:"-03"}}],["America/Argentina/San_Juan",{s:{f:"-0300",n:"-03"}}],["America/Argentina/San_Luis",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Tucuman",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Ushuaia",{s:{f:"-0300",n:"-03"}}],["America/Aruba",{s:{f:"-0400",n:"AST"}}],["America/Asuncion",{s:{f:"-0300",t:"-0400",n:"-04",s:"19700322T000000",r:{m:3,d:"4SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701004T000000",r:{m:10,d:"1SU"}}}],["America/Atikokan",{s:{f:"-0500",n:"EST"}}],["America/Bahia_Banderas",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Bahia",{s:{f:"-0300",n:"-03"}}],["America/Barbados",{s:{f:"-0400",n:"AST"}}],["America/Belem",{s:{f:"-0300",n:"-03"}}],["America/Belize",{s:{f:"-0600",n:"CST"}}],["America/Blanc-Sablon",{s:{f:"-0400",n:"AST"}}],["America/Boa_Vista",{s:{f:"-0400",n:"-04"}}],["America/Bogota",{s:{f:"-0500",n:"-05"}}],["America/Boise",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Cambridge_Bay",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Campo_Grande",{s:{f:"-0400",n:"-04",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Cancun",{s:{f:"-0500",n:"EST"}}],["America/Caracas",{s:{f:"-0400",n:"-04"}}],["America/Cayenne",{s:{f:"-0300",n:"-03"}}],["America/Cayman",{s:{f:"-0500",n:"EST"}}],["America/Chicago",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Chihuahua",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Costa_Rica",{s:{f:"-0600",n:"CST"}}],["America/Creston",{s:{f:"-0700",n:"MST"}}],["America/Cuiaba",{s:{f:"-0400",n:"-04",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Curacao",{s:{f:"-0400",n:"AST"}}],["America/Danmarkshavn",{s:{f:"+0000",n:"GMT"}}],["America/Dawson_Creek",{s:{f:"-0700",n:"MST"}}],["America/Dawson",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Denver",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Detroit",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Dominica",{s:{f:"-0400",n:"AST"}}],["America/Edmonton",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Eirunepe",{s:{f:"-0500",n:"-05"}}],["America/El_Salvador",{s:{f:"-0600",n:"CST"}}],["America/Fort_Nelson",{s:{f:"-0700",n:"MST"}}],["America/Fortaleza",{s:{f:"-0300",n:"-03"}}],["America/Glace_Bay",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Godthab",{s:{f:"-0200",t:"-0300",n:"-03",s:"19701024T230000",r:{m:10,d:"-1SA"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19700328T220000",r:{m:3,d:"-1SA"}}}],["America/Goose_Bay",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Grand_Turk",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Grenada",{s:{f:"-0400",n:"AST"}}],["America/Guadeloupe",{s:{f:"-0400",n:"AST"}}],["America/Guatemala",{s:{f:"-0600",n:"CST"}}],["America/Guayaquil",{s:{f:"-0500",n:"-05"}}],["America/Guyana",{s:{f:"-0400",n:"-04"}}],["America/Halifax",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Havana",{s:{f:"-0400",t:"-0500",n:"CST",s:"19701101T010000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"CDT",s:"19700308T000000",r:{m:3,d:"2SU"}}}],["America/Hermosillo",{s:{f:"-0700",n:"MST"}}],["America/Indiana/Indianapolis",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Knox",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Marengo",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Petersburg",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Tell_City",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Vevay",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Vincennes",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Winamac",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Inuvik",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Iqaluit",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Jamaica",{s:{f:"-0500",n:"EST"}}],["America/Juneau",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kentucky/Louisville",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kentucky/Monticello",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kralendijk",{s:{f:"-0400",n:"AST"}}],["America/La_Paz",{s:{f:"-0400",n:"-04"}}],["America/Lima",{s:{f:"-0500",n:"-05"}}],["America/Los_Angeles",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Lower_Princes",{s:{f:"-0400",n:"AST"}}],["America/Maceio",{s:{f:"-0300",n:"-03"}}],["America/Managua",{s:{f:"-0600",n:"CST"}}],["America/Manaus",{s:{f:"-0400",n:"-04"}}],["America/Marigot",{s:{f:"-0400",n:"AST"}}],["America/Martinique",{s:{f:"-0400",n:"AST"}}],["America/Matamoros",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Mazatlan",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Menominee",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Merida",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Metlakatla",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Mexico_City",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Miquelon",{s:{f:"-0200",t:"-0300",n:"-03",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Moncton",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Monterrey",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Montevideo",{s:{f:"-0300",n:"-03"}}],["America/Montserrat",{s:{f:"-0400",n:"AST"}}],["America/Nassau",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/New_York",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Nipigon",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Nome",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Noronha",{s:{f:"-0200",n:"-02"}}],["America/North_Dakota/Beulah",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/North_Dakota/Center",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/North_Dakota/New_Salem",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Ojinaga",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Panama",{s:{f:"-0500",n:"EST"}}],["America/Pangnirtung",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Paramaribo",{s:{f:"-0300",n:"-03"}}],["America/Phoenix",{s:{f:"-0700",n:"MST"}}],["America/Port_of_Spain",{s:{f:"-0400",n:"AST"}}],["America/Port-au-Prince",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Porto_Velho",{s:{f:"-0400",n:"-04"}}],["America/Puerto_Rico",{s:{f:"-0400",n:"AST"}}],["America/Punta_Arenas",{s:{f:"-0300",n:"-03"}}],["America/Rainy_River",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Rankin_Inlet",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Recife",{s:{f:"-0300",n:"-03"}}],["America/Regina",{s:{f:"-0600",n:"CST"}}],["America/Resolute",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Rio_Branco",{s:{f:"-0500",n:"-05"}}],["America/Santarem",{s:{f:"-0300",n:"-03"}}],["America/Santiago",{s:{f:"-0300",t:"-0400",n:"-04",s:"19700405T000000",r:{m:4,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19700906T000000",r:{m:9,d:"1SU"}}}],["America/Santo_Domingo",{s:{f:"-0400",n:"AST"}}],["America/Sao_Paulo",{s:{f:"-0300",n:"-03",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Scoresbysund",{s:{f:"+0000",t:"-0100",n:"-01",s:"19701025T010000",r:{m:10,d:"-1SU"}},d:{f:"-0100",t:"+0000",n:"+00",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["America/Sitka",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/St_Barthelemy",{s:{f:"-0400",n:"AST"}}],["America/St_Johns",{s:{f:"-0230",t:"-0330",n:"NST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0330",t:"-0230",n:"NDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/St_Kitts",{s:{f:"-0400",n:"AST"}}],["America/St_Lucia",{s:{f:"-0400",n:"AST"}}],["America/St_Thomas",{s:{f:"-0400",n:"AST"}}],["America/St_Vincent",{s:{f:"-0400",n:"AST"}}],["America/Swift_Current",{s:{f:"-0600",n:"CST"}}],["America/Tegucigalpa",{s:{f:"-0600",n:"CST"}}],["America/Thule",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Thunder_Bay",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Tijuana",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Toronto",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Tortola",{s:{f:"-0400",n:"AST"}}],["America/Vancouver",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Whitehorse",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Winnipeg",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Yakutat",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Yellowknife",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["Antarctica/Casey",{s:{f:"+0800",n:"+08"}}],["Antarctica/Davis",{s:{f:"+0700",n:"+07"}}],["Antarctica/DumontDUrville",{s:{f:"+1000",n:"+10"}}],["Antarctica/Macquarie",{s:{f:"+1100",n:"+11"}}],["Antarctica/Mawson",{s:{f:"+0500",n:"+05"}}],["Antarctica/McMurdo",{s:{f:"+1300",t:"+1200",n:"NZST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1200",t:"+1300",n:"NZDT",s:"19700927T020000",r:{m:9,d:"-1SU"}}}],["Antarctica/Palmer",{s:{f:"-0300",n:"-03"}}],["Antarctica/Rothera",{s:{f:"-0300",n:"-03"}}],["Antarctica/Syowa",{s:{f:"+0300",n:"+03"}}],["Antarctica/Troll",{s:{f:"+0200",t:"+0000",n:"+00",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0200",n:"+02",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Antarctica/Vostok",{s:{f:"+0600",n:"+06"}}],["Arctic/Longyearbyen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Asia/Aden",{s:{f:"+0300",n:"+03"}}],["Asia/Almaty",{s:{f:"+0600",n:"+06"}}],["Asia/Amman",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701030T010000",r:{m:10,d:"-1FR"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700326T235959",r:{m:3,d:"-1TH"}}}],["Asia/Anadyr",{s:{f:"+1200",n:"+12"}}],["Asia/Aqtau",{s:{f:"+0500",n:"+05"}}],["Asia/Aqtobe",{s:{f:"+0500",n:"+05"}}],["Asia/Ashgabat",{s:{f:"+0500",n:"+05"}}],["Asia/Atyrau",{s:{f:"+0500",n:"+05"}}],["Asia/Baghdad",{s:{f:"+0300",n:"+03"}}],["Asia/Bahrain",{s:{f:"+0300",n:"+03"}}],["Asia/Baku",{s:{f:"+0400",n:"+04"}}],["Asia/Bangkok",{s:{f:"+0700",n:"+07"}}],["Asia/Barnaul",{s:{f:"+0700",n:"+07"}}],["Asia/Beirut",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T000000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["Asia/Bishkek",{s:{f:"+0600",n:"+06"}}],["Asia/Brunei",{s:{f:"+0800",n:"+08"}}],["Asia/Chita",{s:{f:"+0900",n:"+09"}}],["Asia/Choibalsan",{s:{f:"+0800",n:"+08"}}],["Asia/Colombo",{s:{f:"+0530",n:"+0530"}}],["Asia/Damascus",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701030T000000",r:{m:10,d:"-1FR"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700327T000000",r:{m:3,d:"-1FR"}}}],["Asia/Dhaka",{s:{f:"+0600",n:"+06"}}],["Asia/Dili",{s:{f:"+0900",n:"+09"}}],["Asia/Dubai",{s:{f:"+0400",n:"+04"}}],["Asia/Dushanbe",{s:{f:"+0500",n:"+05"}}],["Asia/Famagusta",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Asia/Gaza",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701031T010000",r:{m:10,d:"-1SA"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700328T010000",r:{m:3,d:"4SA"}}}],["Asia/Hebron",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701031T010000",r:{m:10,d:"-1SA"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700328T010000",r:{m:3,d:"4SA"}}}],["Asia/Ho_Chi_Minh",{s:{f:"+0700",n:"+07"}}],["Asia/Hong_Kong",{s:{f:"+0800",n:"HKT"}}],["Asia/Hovd",{s:{f:"+0700",n:"+07"}}],["Asia/Irkutsk",{s:{f:"+0800",n:"+08"}}],["Asia/Istanbul",{s:{f:"+0300",n:"+03"}}],["Asia/Jakarta",{s:{f:"+0700",n:"WIB"}}],["Asia/Jayapura",{s:{f:"+0900",n:"WIT"}}],["Asia/Jerusalem",{s:{f:"+0300",t:"+0200",n:"IST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"IDT",s:"19700327T020000",r:{m:3,d:"-1FR"}}}],["Asia/Kabul",{s:{f:"+0430",n:"+0430"}}],["Asia/Kamchatka",{s:{f:"+1200",n:"+12"}}],["Asia/Karachi",{s:{f:"+0500",n:"PKT"}}],["Asia/Kathmandu",{s:{f:"+0545",n:"+0545"}}],["Asia/Khandyga",{s:{f:"+0900",n:"+09"}}],["Asia/Kolkata",{s:{f:"+0530",n:"IST"}}],["Asia/Krasnoyarsk",{s:{f:"+0700",n:"+07"}}],["Asia/Kuala_Lumpur",{s:{f:"+0800",n:"+08"}}],["Asia/Kuching",{s:{f:"+0800",n:"+08"}}],["Asia/Kuwait",{s:{f:"+0300",n:"+03"}}],["Asia/Macau",{s:{f:"+0800",n:"CST"}}],["Asia/Magadan",{s:{f:"+1100",n:"+11"}}],["Asia/Makassar",{s:{f:"+0800",n:"WITA"}}],["Asia/Manila",{s:{f:"+0800",n:"PST"}}],["Asia/Muscat",{s:{f:"+0400",n:"+04"}}],["Asia/Nicosia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Asia/Novokuznetsk",{s:{f:"+0700",n:"+07"}}],["Asia/Novosibirsk",{s:{f:"+0700",n:"+07"}}],["Asia/Omsk",{s:{f:"+0600",n:"+06"}}],["Asia/Oral",{s:{f:"+0500",n:"+05"}}],["Asia/Phnom_Penh",{s:{f:"+0700",n:"+07"}}],["Asia/Pontianak",{s:{f:"+0700",n:"WIB"}}],["Asia/Pyongyang",{s:{f:"+0900",n:"KST"}}],["Asia/Qatar",{s:{f:"+0300",n:"+03"}}],["Asia/Qyzylorda",{s:{f:"+0600",n:"+06"}}],["Asia/Riyadh",{s:{f:"+0300",n:"+03"}}],["Asia/Sakhalin",{s:{f:"+1100",n:"+11"}}],["Asia/Samarkand",{s:{f:"+0500",n:"+05"}}],["Asia/Seoul",{s:{f:"+0900",n:"KST"}}],["Asia/Shanghai",{s:{f:"+0800",n:"CST"}}],["Asia/Singapore",{s:{f:"+0800",n:"+08"}}],["Asia/Srednekolymsk",{s:{f:"+1100",n:"+11"}}],["Asia/Taipei",{s:{f:"+0800",n:"CST"}}],["Asia/Tashkent",{s:{f:"+0500",n:"+05"}}],["Asia/Tbilisi",{s:{f:"+0400",n:"+04"}}],["Asia/Tehran",{s:{f:"+0430",t:"+0330",n:"+0330",s:"19700921T000000",r:{m:9,d:"3SU"}},d:{f:"+0330",t:"+0430",n:"+0430",s:"19700321T000000",r:{m:3,d:"3SU"}}}],["Asia/Thimphu",{s:{f:"+0600",n:"+06"}}],["Asia/Tokyo",{s:{f:"+0900",n:"JST"}}],["Asia/Tomsk",{s:{f:"+0700",n:"+07"}}],["Asia/Ulaanbaatar",{s:{f:"+0800",n:"+08"}}],["Asia/Urumqi",{s:{f:"+0600",n:"+06"}}],["Asia/Ust-Nera",{s:{f:"+1000",n:"+10"}}],["Asia/Vientiane",{s:{f:"+0700",n:"+07"}}],["Asia/Vladivostok",{s:{f:"+1000",n:"+10"}}],["Asia/Yakutsk",{s:{f:"+0900",n:"+09"}}],["Asia/Yangon",{s:{f:"+0630",n:"+0630"}}],["Asia/Yekaterinburg",{s:{f:"+0500",n:"+05"}}],["Asia/Yerevan",{s:{f:"+0400",n:"+04"}}],["Atlantic/Azores",{s:{f:"+0000",t:"-0100",n:"-01",s:"19701025T010000",r:{m:10,d:"-1SU"}},d:{f:"-0100",t:"+0000",n:"+00",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["Atlantic/Bermuda",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["Atlantic/Canary",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Cape_Verde",{s:{f:"-0100",n:"-01"}}],["Atlantic/Faroe",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Madeira",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Reykjavik",{s:{f:"+0000",n:"GMT"}}],["Atlantic/South_Georgia",{s:{f:"-0200",n:"-02"}}],["Atlantic/St_Helena",{s:{f:"+0000",n:"GMT"}}],["Atlantic/Stanley",{s:{f:"-0300",n:"-03"}}],["Australia/Adelaide",{s:{f:"+1030",t:"+0930",n:"ACST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+0930",t:"+1030",n:"ACDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Brisbane",{s:{f:"+1000",n:"AEST"}}],["Australia/Broken_Hill",{s:{f:"+1030",t:"+0930",n:"ACST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+0930",t:"+1030",n:"ACDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Currie",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Darwin",{s:{f:"+0930",n:"ACST"}}],["Australia/Eucla",{s:{f:"+0845",n:"+0845"}}],["Australia/Hobart",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Lindeman",{s:{f:"+1000",n:"AEST"}}],["Australia/Lord_Howe",{s:{f:"+1100",t:"+1030",n:"+1030",s:"19700405T020000",r:{m:4,d:"1SU"}},d:{f:"+1030",t:"+1100",n:"+11",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Melbourne",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Perth",{s:{f:"+0800",n:"AWST"}}],["Australia/Sydney",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Etc/GMT-0",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT-1",{s:{f:"-0100",n:"-01"}}],["Etc/GMT-10",{s:{f:"-1000",n:"-10"}}],["Etc/GMT-11",{s:{f:"-1100",n:"-11"}}],["Etc/GMT-12",{s:{f:"-1200",n:"-12"}}],["Etc/GMT-2",{s:{f:"-0200",n:"-02"}}],["Etc/GMT-3",{s:{f:"-0300",n:"-03"}}],["Etc/GMT-4",{s:{f:"-0400",n:"-04"}}],["Etc/GMT-5",{s:{f:"-0500",n:"-05"}}],["Etc/GMT-6",{s:{f:"-0600",n:"-06"}}],["Etc/GMT-7",{s:{f:"-0700",n:"-07"}}],["Etc/GMT-8",{s:{f:"-0800",n:"-08"}}],["Etc/GMT-9",{s:{f:"-0900",n:"-09"}}],["Etc/GMT",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT+0",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT+1",{s:{f:"+0100",n:"+01"}}],["Etc/GMT+10",{s:{f:"+1000",n:"+10"}}],["Etc/GMT+11",{s:{f:"+1100",n:"+11"}}],["Etc/GMT+12",{s:{f:"+1200",n:"+12"}}],["Etc/GMT+13",{s:{f:"+1300",n:"+13"}}],["Etc/GMT+14",{s:{f:"+1400",n:"+14"}}],["Etc/GMT+2",{s:{f:"+0200",n:"+02"}}],["Etc/GMT+3",{s:{f:"+0300",n:"+03"}}],["Etc/GMT+4",{s:{f:"+0400",n:"+04"}}],["Etc/GMT+5",{s:{f:"+0500",n:"+05"}}],["Etc/GMT+6",{s:{f:"+0600",n:"+06"}}],["Etc/GMT+7",{s:{f:"+0700",n:"+07"}}],["Etc/GMT+8",{s:{f:"+0800",n:"+08"}}],["Etc/GMT+9",{s:{f:"+0900",n:"+09"}}],["Etc/GMT0",{s:{f:"+0000",n:"GMT"}}],["Etc/Greenwich",{s:{f:"+0000",n:"GMT"}}],["Etc/UCT",{s:{f:"+0000",n:"UCT"}}],["Etc/Universal",{s:{f:"+0000",n:"UTC"}}],["Etc/UTC",{s:{f:"+0000",n:"UTC"}}],["Etc/Zulu",{s:{f:"+0000",n:"UTC"}}],["Europe/Amsterdam",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Andorra",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Astrakhan",{s:{f:"+0400",n:"+04"}}],["Europe/Athens",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Belgrade",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Berlin",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Bratislava",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Brussels",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Bucharest",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Budapest",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Busingen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Chisinau",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Copenhagen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Dublin",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"IST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Gibraltar",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Guernsey",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Helsinki",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Isle_of_Man",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Istanbul",{s:{f:"+0300",n:"+03"}}],["Europe/Jersey",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Kaliningrad",{s:{f:"+0200",n:"EET"}}],["Europe/Kiev",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Kirov",{s:{f:"+0300",n:"+03"}}],["Europe/Lisbon",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Ljubljana",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/London",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Luxembourg",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Madrid",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Malta",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Mariehamn",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Minsk",{s:{f:"+0300",n:"+03"}}],["Europe/Monaco",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Moscow",{s:{f:"+0300",n:"MSK"}}],["Europe/Nicosia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Oslo",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Paris",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Podgorica",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Prague",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Riga",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Rome",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Samara",{s:{f:"+0400",n:"+04"}}],["Europe/San_Marino",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Sarajevo",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Saratov",{s:{f:"+0400",n:"+04"}}],["Europe/Simferopol",{s:{f:"+0300",n:"MSK"}}],["Europe/Skopje",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Sofia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Stockholm",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Tallinn",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Tirane",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Ulyanovsk",{s:{f:"+0400",n:"+04"}}],["Europe/Uzhgorod",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Vaduz",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vatican",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vienna",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vilnius",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Volgograd",{s:{f:"+0400",n:"+04"}}],["Europe/Warsaw",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Zagreb",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Zaporozhye",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Zurich",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Indian/Antananarivo",{s:{f:"+0300",n:"EAT"}}],["Indian/Chagos",{s:{f:"+0600",n:"+06"}}],["Indian/Christmas",{s:{f:"+0700",n:"+07"}}],["Indian/Cocos",{s:{f:"+0630",n:"+0630"}}],["Indian/Comoro",{s:{f:"+0300",n:"EAT"}}],["Indian/Kerguelen",{s:{f:"+0500",n:"+05"}}],["Indian/Mahe",{s:{f:"+0400",n:"+04"}}],["Indian/Maldives",{s:{f:"+0500",n:"+05"}}],["Indian/Mauritius",{s:{f:"+0400",n:"+04"}}],["Indian/Mayotte",{s:{f:"+0300",n:"EAT"}}],["Indian/Reunion",{s:{f:"+0400",n:"+04"}}],["Pacific/Apia",{s:{f:"+1400",t:"+1300",n:"+13",s:"19700405T040000",r:{m:4,d:"1SU"}},d:{f:"+1300",t:"+1400",n:"+14",s:"19700927T030000",r:{m:9,d:"-1SU"}}}],["Pacific/Auckland",{s:{f:"+1300",t:"+1200",n:"NZST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1200",t:"+1300",n:"NZDT",s:"19700927T020000",r:{m:9,d:"-1SU"}}}],["Pacific/Bougainville",{s:{f:"+1100",n:"+11"}}],["Pacific/Chatham",{s:{f:"+1345",t:"+1245",n:"+1245",s:"19700405T034500",r:{m:4,d:"1SU"}},d:{f:"+1245",t:"+1345",n:"+1345",s:"19700927T024500",r:{m:9,d:"-1SU"}}}],["Pacific/Chuuk",{s:{f:"+1000",n:"+10"}}],["Pacific/Easter",{s:{f:"-0500",t:"-0600",n:"-06",s:"19700404T220000",r:{m:4,d:"1SA"}},d:{f:"-0600",t:"-0500",n:"-05",s:"19700905T220000",r:{m:9,d:"1SA"}}}],["Pacific/Efate",{s:{f:"+1100",n:"+11"}}],["Pacific/Enderbury",{s:{f:"+1300",n:"+13"}}],["Pacific/Fakaofo",{s:{f:"+1300",n:"+13"}}],["Pacific/Fiji",{s:{f:"+1300",t:"+1200",n:"+12",s:"19700118T030000",r:{m:1,d:"-2SU"}},d:{f:"+1200",t:"+1300",n:"+13",s:"19701101T020000",r:{m:11,d:"1SU"}}}],["Pacific/Funafuti",{s:{f:"+1200",n:"+12"}}],["Pacific/Galapagos",{s:{f:"-0600",n:"-06"}}],["Pacific/Gambier",{s:{f:"-0900",n:"-09"}}],["Pacific/Guadalcanal",{s:{f:"+1100",n:"+11"}}],["Pacific/Guam",{s:{f:"+1000",n:"ChST"}}],["Pacific/Honolulu",{s:{f:"-1000",n:"HST"}}],["Pacific/Kiritimati",{s:{f:"+1400",n:"+14"}}],["Pacific/Kosrae",{s:{f:"+1100",n:"+11"}}],["Pacific/Kwajalein",{s:{f:"+1200",n:"+12"}}],["Pacific/Majuro",{s:{f:"+1200",n:"+12"}}],["Pacific/Marquesas",{s:{f:"-0930",n:"-0930"}}],["Pacific/Midway",{s:{f:"-1100",n:"SST"}}],["Pacific/Nauru",{s:{f:"+1200",n:"+12"}}],["Pacific/Niue",{s:{f:"-1100",n:"-11"}}],["Pacific/Norfolk",{s:{f:"+1100",n:"+11"}}],["Pacific/Noumea",{s:{f:"+1100",n:"+11"}}],["Pacific/Pago_Pago",{s:{f:"-1100",n:"SST"}}],["Pacific/Palau",{s:{f:"+0900",n:"+09"}}],["Pacific/Pitcairn",{s:{f:"-0800",n:"-08"}}],["Pacific/Pohnpei",{s:{f:"+1100",n:"+11"}}],["Pacific/Port_Moresby",{s:{f:"+1000",n:"+10"}}],["Pacific/Rarotonga",{s:{f:"-1000",n:"-10"}}],["Pacific/Saipan",{s:{f:"+1000",n:"ChST"}}],["Pacific/Tahiti",{s:{f:"-1000",n:"-10"}}],["Pacific/Tarawa",{s:{f:"+1200",n:"+12"}}],["Pacific/Tongatapu",{s:{f:"+1300",n:"+13"}}],["Pacific/Wake",{s:{f:"+1200",n:"+12"}}],["Pacific/Wallis",{s:{f:"+1200",n:"+12"}}]]),Object.defineProperty(X,"__esModule",{value:!0});var Q=X.getZoneString=X.getZoneLines=void 0;const tt=J;function et(t){const{n:e,f:r,t:n,r:i,s:a}=t;return[`TZNAME:${e}`,`TZOFFSETFROM:${r}`,`TZOFFSETTO:${n||r}`,`DTSTART:${a||tt.defaultStart}`,...i?[`RRULE:FREQ=${i.f||"YEARLY"};BYMONTH=${i.m};BYDAY=${i.d}`]:[]]}function rt(t,e=!0){const r=tt.zonesMap.get(t);if(r){const{s:n,d:i}=r;return[...e?["BEGIN:VTIMEZONE"]:[],`TZID:${t}`,"BEGIN:STANDARD",...et(n),"END:STANDARD",...i?["BEGIN:DAYLIGHT",...et(i),"END:DAYLIGHT"]:[],...e?["END:VTIMEZONE"]:[]]}}X.getZoneLines=rt,Q=X.getZoneString=function(t,e=!0){const r=rt(t,e);return null==r?void 0:r.join("\r\n")};var nt={exports:{}};!function(t){var e,r;(e=t.exports).foldLength=75,e.newLineChar="\r\n",e.helpers={updateTimezones:function(t){var r,n,i,a,s,o;if(!t||"vcalendar"!==t.name)return t;for(r=t.getAllSubcomponents(),n=[],i={},s=0;s<r.length;s++)"vtimezone"===r[s].name?i[o=r[s].getFirstProperty("tzid").getFirstValue()]=r[s]:n=n.concat(r[s].getAllProperties());for(a={},s=0;s<n.length;s++)(o=n[s].getParameter("tzid"))&&(a[o]=!0);for(s in i)i.hasOwnProperty(s)&&!a[s]&&t.removeSubcomponent(i[s]);for(s in a)a.hasOwnProperty(s)&&!i[s]&&e.TimezoneService.has(s)&&t.addSubcomponent(e.TimezoneService.get(s).component);return t},isStrictlyNaN:function(t){return"number"==typeof t&&isNaN(t)},strictParseInt:function(t){var r=parseInt(t,10);if(e.helpers.isStrictlyNaN(r))throw new Error('Could not extract integer from "'+t+'"');return r},formatClassType:function(t,e){if(!(typeof t>"u"))return t instanceof e?t:new e(t)},unescapedIndexOf:function(t,e,r){for(;-1!==(r=t.indexOf(e,r));){if(!(r>0&&"\\"===t[r-1]))return r;r+=1}return-1},binsearchInsert:function(t,e,r){if(!t.length)return 0;for(var n,i,a=0,s=t.length-1;a<=s;)if((i=r(e,t[n=a+Math.floor((s-a)/2)]))<0)s=n-1;else{if(!(i>0))break;a=n+1}return i<0?n:i>0?n+1:n},dumpn:function(){e.debug&&(e.helpers.dumpn=typeof P<"u"&&"log"in P?function(t){P.log(t)}:function(t){dump(t+"\n")},e.helpers.dumpn(arguments[0]))},clone:function(t,r){if(!t||"object"!=typeof t)return t;if(t instanceof Date)return new Date(t.getTime());if("clone"in t)return t.clone();if(Array.isArray(t)){for(var n=[],i=0;i<t.length;i++)n.push(r?e.helpers.clone(t[i],!0):t[i]);return n}var a={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=r?e.helpers.clone(t[s],!0):t[s]);return a},foldline:function(t){for(var r="",n=t||"",i=0,a=0;n.length;){var s=n.codePointAt(i);s<128?++a:a+=s<2048?2:s<65536?3:4,a<e.foldLength+1?i+=s>65535?2:1:(r+=e.newLineChar+" "+n.substring(0,i),n=n.substring(i),i=a=0)}return r.substr(e.newLineChar.length+1)},pad2:function(t){switch("string"!=typeof t&&("number"==typeof t&&(t=parseInt(t)),t=String(t)),t.length){case 0:return"00";case 1:return"0"+t;default:return t}},trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)},inherits:function(t,r,n){function i(){}i.prototype=t.prototype,r.prototype=new i,n&&e.helpers.extend(n,r.prototype)},extend:function(t,e){for(var r in t){var n=Object.getOwnPropertyDescriptor(t,r);n&&!Object.getOwnPropertyDescriptor(e,r)&&Object.defineProperty(e,r,n)}return e}},e.design=function(){var t=/\\\\|\\,|\\[Nn]/g,r=/\\|,|\n/g;function n(t,e){var r={matches:/.*/,fromICAL:function(e,r){return function(t,e,r){return-1===t.indexOf("\\")?t:(r&&(e=new RegExp(e.source+"|\\\\"+r)),t.replace(e,p))}(e,t,r)},toICAL:function(t,r){var n=e;return r&&(n=new RegExp(n.source+"|"+r)),t.replace(n,(function(t){switch(t){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case"\n":return"\\n";default:return t}}))}};return r}var i={defaultType:"text"},a={defaultType:"text",multiValue:","},s={defaultType:"text",structuredValue:";"},o={defaultType:"integer"},u={defaultType:"date-time",allowedTypes:["date-time","date"]},l={defaultType:"date-time"},c={defaultType:"uri"},d={defaultType:"utc-offset"},f={defaultType:"recur"},h={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function p(t){switch(t){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return"\n";default:return t}}var m={categories:a,url:c,version:i,uid:i},y={boolean:{values:["TRUE","FALSE"],fromICAL:function(t){return"TRUE"===t},toICAL:function(t){return t?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(t){var r=parseFloat(t);return e.helpers.isStrictlyNaN(r)?0:r},toICAL:function(t){return String(t)}},integer:{fromICAL:function(t){var r=parseInt(t);return e.helpers.isStrictlyNaN(r)?0:r},toICAL:function(t){return String(t)}},"utc-offset":{toICAL:function(t){return t.length<7?t.substr(0,3)+t.substr(4,2):t.substr(0,3)+t.substr(4,2)+t.substr(7,2)},fromICAL:function(t){return t.length<6?t.substr(0,3)+":"+t.substr(3,2):t.substr(0,3)+":"+t.substr(3,2)+":"+t.substr(5,2)},decorate:function(t){return e.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}},v=e.helpers.extend(y,{text:n(/\\\\|\\;|\\,|\\[Nn]/g,/\\|;|,|\n/g),uri:{},binary:{decorate:function(t){return e.Binary.fromString(t)},undecorate:function(t){return t.toString()}},"cal-address":{},date:{decorate:function(t,r){return C.strict?e.Time.fromDateString(t,r):e.Time.fromString(t,r)},undecorate:function(t){return t.toString()},fromICAL:function(t){return!C.strict&&t.length>=15?v["date-time"].fromICAL(t):t.substr(0,4)+"-"+t.substr(4,2)+"-"+t.substr(6,2)},toICAL:function(t){var e=t.length;return 10==e?t.substr(0,4)+t.substr(5,2)+t.substr(8,2):e>=19?v["date-time"].toICAL(t):t}},"date-time":{fromICAL:function(t){if(!C.strict&&8==t.length)return v.date.fromICAL(t);var e=t.substr(0,4)+"-"+t.substr(4,2)+"-"+t.substr(6,2)+"T"+t.substr(9,2)+":"+t.substr(11,2)+":"+t.substr(13,2);return t[15]&&"Z"===t[15]&&(e+="Z"),e},toICAL:function(t){var e=t.length;if(10==e&&!C.strict)return v.date.toICAL(t);if(e>=19){var r=t.substr(0,4)+t.substr(5,2)+t.substr(8,5)+t.substr(14,2)+t.substr(17,2);return t[19]&&"Z"===t[19]&&(r+="Z"),r}return t},decorate:function(t,r){return C.strict?e.Time.fromDateTimeString(t,r):e.Time.fromString(t,r)},undecorate:function(t){return t.toString()}},duration:{decorate:function(t){return e.Duration.fromString(t)},undecorate:function(t){return t.toString()}},period:{fromICAL:function(t){var r=t.split("/");return r[0]=v["date-time"].fromICAL(r[0]),e.Duration.isValueString(r[1])||(r[1]=v["date-time"].fromICAL(r[1])),r},toICAL:function(t){return C.strict||10!=t[0].length?t[0]=v["date-time"].toICAL(t[0]):t[0]=v.date.toICAL(t[0]),e.Duration.isValueString(t[1])||(C.strict||10!=t[1].length?t[1]=v["date-time"].toICAL(t[1]):t[1]=v.date.toICAL(t[1])),t.join("/")},decorate:function(t,r){return e.Period.fromJSON(t,r,!C.strict)},undecorate:function(t){return t.toJSON()}},recur:{fromICAL:function(t){return e.Recur._stringToData(t,!0)},toICAL:function(t){var r="";for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];"until"==n?i=i.length>10?v["date-time"].toICAL(i):v.date.toICAL(i):"wkst"==n?"number"==typeof i&&(i=e.Recur.numericDayToIcalDay(i)):Array.isArray(i)&&(i=i.join(",")),r+=n.toUpperCase()+"="+i+";"}return r.substr(0,r.length-1)},decorate:function(t){return e.Recur.fromData(t)},undecorate:function(t){return t.toJSON()}},time:{fromICAL:function(t){if(t.length<6)return t;var e=t.substr(0,2)+":"+t.substr(2,2)+":"+t.substr(4,2);return"Z"===t[6]&&(e+="Z"),e},toICAL:function(t){if(t.length<8)return t;var e=t.substr(0,2)+t.substr(3,2)+t.substr(6,2);return"Z"===t[8]&&(e+="Z"),e}}}),T=e.helpers.extend(m,{action:i,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:i,class:i,comment:i,completed:l,contact:i,created:l,description:i,dtend:u,dtstamp:l,dtstart:u,due:u,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:f,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":l,location:i,method:i,organizer:{defaultType:"cal-address"},"percent-complete":o,priority:o,prodid:i,"related-to":i,repeat:o,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(t){return-1!==t.indexOf("/")?"period":-1===t.indexOf("T")?"date":"date-time"}},"recurrence-id":u,resources:a,"request-status":s,rrule:f,sequence:o,status:i,summary:i,transp:i,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:d,tzoffsetto:d,tzurl:c,tzid:i,tzname:i}),g=e.helpers.extend(y,{text:n(t,r),uri:n(t,r),date:{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date")},undecorate:function(t){return t.toString()},fromICAL:function(t){return 8==t.length?v.date.fromICAL(t):"-"==t[0]&&6==t.length?t.substr(0,4)+"-"+t.substr(4):t},toICAL:function(t){return 10==t.length?v.date.toICAL(t):"-"==t[0]&&7==t.length?t.substr(0,4)+t.substr(5):t}},time:{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString("T"+t,"time")},undecorate:function(t){return t.toString()},fromICAL:function(t){var e=g.time._splitZone(t,!0),r=e[0],n=e[1];return 6==n.length?n=n.substr(0,2)+":"+n.substr(2,2)+":"+n.substr(4,2):4==n.length&&"-"!=n[0]?n=n.substr(0,2)+":"+n.substr(2,2):5==n.length&&(n=n.substr(0,3)+":"+n.substr(3,2)),5==r.length&&("-"==r[0]||"+"==r[0])&&(r=r.substr(0,3)+":"+r.substr(3)),n+r},toICAL:function(t){var e=g.time._splitZone(t),r=e[0],n=e[1];return 8==n.length?n=n.substr(0,2)+n.substr(3,2)+n.substr(6,2):5==n.length&&"-"!=n[0]?n=n.substr(0,2)+n.substr(3,2):6==n.length&&(n=n.substr(0,3)+n.substr(4,2)),6==r.length&&("-"==r[0]||"+"==r[0])&&(r=r.substr(0,3)+r.substr(4)),n+r},_splitZone:function(t,e){var r,n,i=t.length-1,a=t.length-(e?5:6),s=t[a];return"Z"==t[i]?(r=t[i],n=t.substr(0,i)):t.length>6&&("-"==s||"+"==s)?(r=t.substr(a),n=t.substr(0,a)):(r="",n=t),[r,n]}},"date-time":{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date-time")},undecorate:function(t){return t.toString()},fromICAL:function(t){return g["date-and-or-time"].fromICAL(t)},toICAL:function(t){return g["date-and-or-time"].toICAL(t)}},"date-and-or-time":{decorate:function(t){return e.VCardTime.fromDateAndOrTimeString(t,"date-and-or-time")},undecorate:function(t){return t.toString()},fromICAL:function(t){var e=t.split("T");return(e[0]?g.date.fromICAL(e[0]):"")+(e[1]?"T"+g.time.fromICAL(e[1]):"")},toICAL:function(t){var e=t.split("T");return g.date.toICAL(e[0])+(e[1]?"T"+g.time.toICAL(e[1]):"")}},timestamp:v["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/}}),A=e.helpers.extend(m,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:h,bday:h,caladruri:c,caluri:c,clientpidmap:s,email:i,fburl:c,fn:i,gender:s,geo:c,impp:c,key:c,kind:i,lang:{defaultType:"language-tag"},logo:c,member:c,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:a,note:i,org:{defaultType:"text",structuredValue:";"},photo:c,related:c,rev:{defaultType:"timestamp"},role:i,sound:c,source:c,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:i,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:i}),b=e.helpers.extend(y,{binary:v.binary,date:g.date,"date-time":g["date-time"],"phone-number":{},uri:v.uri,text:v.text,time:v.time,vcard:v.text,"utc-offset":{toICAL:function(t){return t.substr(0,7)},fromICAL:function(t){return t.substr(0,7)},decorate:function(t){return e.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}}),S=e.helpers.extend(m,{fn:i,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:a,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:i,tel:{defaultType:"phone-number"},email:i,mailer:i,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:i,role:i,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:s,note:a,prodid:i,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},"sort-string":i,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:i,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),E={value:v,param:{cutype:{values:["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"],allowXName:!0,allowIanaToken:!0},"delegated-from":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},"delegated-to":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},encoding:{values:["8BIT","BASE64"]},fbtype:{values:["FREE","BUSY","BUSY-UNAVAILABLE","BUSY-TENTATIVE"],allowXName:!0,allowIanaToken:!0},member:{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},partstat:{values:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"],allowXName:!0,allowIanaToken:!0},range:{values:["THISANDFUTURE"]},related:{values:["START","END"]},reltype:{values:["PARENT","CHILD","SIBLING"],allowXName:!0,allowIanaToken:!0},role:{values:["REQ-PARTICIPANT","CHAIR","OPT-PARTICIPANT","NON-PARTICIPANT"],allowXName:!0,allowIanaToken:!0},rsvp:{values:["TRUE","FALSE"]},"sent-by":{valueType:"cal-address"},tzid:{matches:/^\//},value:{values:["binary","boolean","cal-address","date","date-time","duration","float","integer","period","recur","text","time","uri","utc-offset"],allowXName:!0,allowIanaToken:!0}},property:T},_={value:g,param:{type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","time","date-time","date-and-or-time","timestamp","boolean","integer","float","utc-offset","language-tag"],allowXName:!0,allowIanaToken:!0}},property:A},D={value:b,param:{type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","date-time","phone-number","time","boolean","integer","float","utc-offset","vcard","binary"],allowXName:!0,allowIanaToken:!0}},property:S},C={strict:!0,defaultSet:E,defaultType:"unknown",components:{vcard:_,vcard3:D,vevent:E,vtodo:E,vjournal:E,valarm:E,vtimezone:E,daylight:E,standard:E},icalendar:E,vcard:_,vcard3:D,getDesignSet:function(t){return t&&t in C.components?C.components[t]:C.defaultSet}};return C}(),e.stringify=function(){var t="\r\n",r="unknown",n=e.design,i=e.helpers;function a(e){"string"==typeof e[0]&&(e=[e]);for(var r=0,n=e.length,i="";r<n;r++)i+=a.component(e[r])+t;return i}a.component=function(e,r){var i=e[0].toUpperCase(),s="BEGIN:"+i+t,o=e[1],u=0,l=o.length,c=e[0];for("vcard"===c&&e[1].length>0&&!("version"===e[1][0][0]&&"4.0"===e[1][0][3])&&(c="vcard3"),r=r||n.getDesignSet(c);u<l;u++)s+=a.property(o[u],r)+t;for(var d=e[2]||[],f=0,h=d.length;f<h;f++)s+=a.component(d[f],r)+t;return s+"END:"+i},a.property=function(t,i,s){var o,u=t[0].toUpperCase(),l=t[0],c=t[1],d=u;for(o in c){var f=c[o];c.hasOwnProperty(o)&&((m=o in i.param&&i.param[o].multiValue)&&Array.isArray(f)?(i.param[o].multiValueSeparateDQuote&&(m='"'+m+'"'),f=f.map(a._rfc6868Unescape),f=a.multiValue(f,m,"unknown",null,i)):f=a._rfc6868Unescape(f),d+=";"+o.toUpperCase(),d+="="+a.propertyValue(f))}if(3===t.length)return d+":";var h=t[2];i||(i=n.defaultSet);var p,m=!1,y=!1,v=!1;return l in i.property?("multiValue"in(p=i.property[l])&&(m=p.multiValue),"structuredValue"in p&&Array.isArray(t[3])&&(y=p.structuredValue),"defaultType"in p?h===p.defaultType&&(v=!0):h===r&&(v=!0)):h===r&&(v=!0),v||(d+=";VALUE="+h.toUpperCase()),d+=":",d+=m&&y?a.multiValue(t[3],y,h,m,i,y):m?a.multiValue(t.slice(3),m,h,null,i,!1):y?a.multiValue(t[3],y,h,null,i,y):a.value(t[3],h,i,!1),s?d:e.helpers.foldline(d)},a.propertyValue=function(t){return-1===i.unescapedIndexOf(t,",")&&-1===i.unescapedIndexOf(t,":")&&-1===i.unescapedIndexOf(t,";")?t:'"'+t+'"'},a.multiValue=function(t,e,r,n,i,s){for(var o="",u=t.length,l=0;l<u;l++)n&&Array.isArray(t[l])?o+=a.multiValue(t[l],n,r,null,i,s):o+=a.value(t[l],r,i,s),l!==u-1&&(o+=e);return o},a.value=function(t,e,r,n){return e in r.value&&"toICAL"in r.value[e]?r.value[e].toICAL(t,n):t},a._rfc6868Unescape=function(t){return t.replace(/[\n^"]/g,(function(t){return s[t]}))};var s={'"':"^'","\n":"^n","^":"^^"};return a}(),e.parse=function(){var t=/[^ \t]/,r=e.design,n=e.helpers;function i(t){this.message=t,this.name="ParserError";try{throw new Error}catch(t){if(t.stack){var e=t.stack.split("\n");e.shift(),this.stack=e.join("\n")}}}function a(t){var e={},r=e.component=[];if(e.stack=[r],a._eachLine(t,(function(t,r){a._handleContentLine(r,e)})),e.stack.length>1)throw new i("invalid ical body. component began but did not end");return e=null,1==r.length?r[0]:r}i.prototype=Error.prototype,a.property=function(t,e){var n={component:[[],[]],designSet:e||r.defaultSet};return a._handleContentLine(t,n),n.component[1][0]},a.component=function(t){return a(t)},a.ParserError=i,a._handleContentLine=function(t,e){var n,s,o,u,l,c=t.indexOf(":"),d=t.indexOf(";"),f={};if(-1!==d&&-1!==c&&d>c&&(d=-1),-1!==d){if(o=t.substring(0,d).toLowerCase(),-1==(l=a._parseParameters(t.substring(d),0,e.designSet))[2])throw new i("Invalid parameters in '"+t+"'");if(f=l[0],n=l[1].length+l[2]+d,-1===(s=t.substring(n).indexOf(":")))throw new i("Missing parameter value in '"+t+"'");u=t.substring(n+s+1)}else{if(-1===c)throw new i('invalid line (no token ";" or ":") "'+t+'"');if(o=t.substring(0,c).toLowerCase(),u=t.substring(c+1),"begin"===o){var h=[u.toLowerCase(),[],[]];return 1===e.stack.length?e.component.push(h):e.component[2].push(h),e.stack.push(e.component),e.component=h,void(e.designSet||(e.designSet=r.getDesignSet(e.component[0])))}if("end"===o)return void(e.component=e.stack.pop())}var p,m,y,v=!1,T=!1;o in e.designSet.property&&("multiValue"in(m=e.designSet.property[o])&&(v=m.multiValue),"structuredValue"in m&&(T=m.structuredValue),u&&"detectType"in m&&(p=m.detectType(u))),p||(p="value"in f?f.value.toLowerCase():m?m.defaultType:"unknown"),delete f.value,v&&T?y=[o,f,p,u=a._parseMultiValue(u,T,p,[],v,e.designSet,T)]:v?(y=[o,f,p],a._parseMultiValue(u,v,p,y,null,e.designSet,!1)):y=T?[o,f,p,u=a._parseMultiValue(u,T,p,[],null,e.designSet,T)]:[o,f,p,u=a._parseValue(u,p,e.designSet,!1)],"vcard"===e.component[0]&&0===e.component[1].length&&!("version"===o&&"4.0"===u)&&(e.designSet=r.getDesignSet("vcard3")),e.component[1].push(y)},a._parseValue=function(t,e,r,n){return e in r.value&&"fromICAL"in r.value[e]?r.value[e].fromICAL(t,n):t},a._parseParameters=function(t,e,r){for(var s,o,u,l,c,d,f=e,h=0,p={},m=-1;!1!==h&&-1!==(h=n.unescapedIndexOf(t,"=",h+1));){if(0==(s=t.substr(f+1,h-f-1)).length)throw new i("Empty parameter name in '"+t+"'");if(d=!1,c=!1,l=(o=s.toLowerCase())in r.param&&r.param[o].valueType?r.param[o].valueType:"text",o in r.param&&(c=r.param[o].multiValue,r.param[o].multiValueSeparateDQuote&&(d=a._rfc6868Escape('"'+c+'"'))),'"'===t[h+1]){if(m=h+2,h=n.unescapedIndexOf(t,'"',m),c&&-1!=h)for(var y=!0;y;)t[h+1]==c&&'"'==t[h+2]?h=n.unescapedIndexOf(t,'"',h+3):y=!1;if(-1===h)throw new i('invalid line (no matching double quote) "'+t+'"');u=t.substr(m,h-m),-1===(f=n.unescapedIndexOf(t,";",h))&&(h=!1)}else{m=h+1;var v=n.unescapedIndexOf(t,";",m),T=n.unescapedIndexOf(t,":",m);-1!==T&&v>T?(v=T,h=!1):-1===v?(v=-1===T?t.length:T,h=!1):(f=v,h=v),u=t.substr(m,v-m)}if(u=a._rfc6868Escape(u),c){var g=d||c;u=a._parseMultiValue(u,g,l,[],null,r)}else u=a._parseValue(u,l,r);c&&o in p?Array.isArray(p[o])?p[o].push(u):p[o]=[p[o],u]:p[o]=u}return[p,u,m]},a._rfc6868Escape=function(t){return t.replace(/\^['n^]/g,(function(t){return s[t]}))};var s={"^'":'"',"^n":"\n","^^":"^"};return a._parseMultiValue=function(t,e,r,i,s,o,u){var l,c=0,d=0;if(0===e.length)return t;for(;-1!==(c=n.unescapedIndexOf(t,e,d));)l=t.substr(d,c-d),l=s?a._parseMultiValue(l,s,r,[],null,o,u):a._parseValue(l,r,o,u),i.push(l),d=c+e.length;return l=t.substr(d),l=s?a._parseMultiValue(l,s,r,[],null,o,u):a._parseValue(l,r,o,u),i.push(l),1==i.length?i[0]:i},a._eachLine=function(e,r){var n,i,a,s=e.length,o=e.search(t),u=o;do{a=(u=e.indexOf("\n",o)+1)>1&&"\r"===e[u-2]?2:1,0===u&&(u=s,a=0)," "===(i=e[o])||"\t"===i?n+=e.substr(o+1,u-o-(a+1)):(n&&r(null,n),n=e.substr(o,u-o-a)),o=u}while(u!==s);(n=n.trim()).length&&r(null,n)},a}(),e.Component=function(){function t(t,e){"string"==typeof t&&(t=[t,[],[]]),this.jCal=t,this.parent=e||null}return t.prototype={_hydratedPropertyCount:0,_hydratedComponentCount:0,get name(){return this.jCal[0]},get _designSet(){return this.parent&&this.parent._designSet||e.design.getDesignSet(this.name)},_hydrateComponent:function(e){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[e])return this._components[e];var r=new t(this.jCal[2][e],this);return this._hydratedComponentCount++,this._components[e]=r},_hydrateProperty:function(t){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[t])return this._properties[t];var r=new e.Property(this.jCal[1][t],this);return this._hydratedPropertyCount++,this._properties[t]=r},getFirstSubcomponent:function(t){if(t){for(var e=0,r=this.jCal[2],n=r.length;e<n;e++)if(r[e][0]===t)return this._hydrateComponent(e)}else if(this.jCal[2].length)return this._hydrateComponent(0);return null},getAllSubcomponents:function(t){var e=this.jCal[2].length,r=0;if(t){for(var n=this.jCal[2],i=[];r<e;r++)t===n[r][0]&&i.push(this._hydrateComponent(r));return i}if(!this._components||this._hydratedComponentCount!==e)for(;r<e;r++)this._hydrateComponent(r);return this._components||[]},hasProperty:function(t){for(var e=this.jCal[1],r=e.length,n=0;n<r;n++)if(e[n][0]===t)return!0;return!1},getFirstProperty:function(t){if(t){for(var e=0,r=this.jCal[1],n=r.length;e<n;e++)if(r[e][0]===t)return this._hydrateProperty(e)}else if(this.jCal[1].length)return this._hydrateProperty(0);return null},getFirstPropertyValue:function(t){var e=this.getFirstProperty(t);return e?e.getFirstValue():null},getAllProperties:function(t){var e=this.jCal[1].length,r=0;if(t){for(var n=this.jCal[1],i=[];r<e;r++)t===n[r][0]&&i.push(this._hydrateProperty(r));return i}if(!this._properties||this._hydratedPropertyCount!==e)for(;r<e;r++)this._hydrateProperty(r);return this._properties||[]},_removeObjectByIndex:function(t,e,r){if((e=e||[])[r]){var n=e[r];"parent"in n&&(n.parent=null)}e.splice(r,1),this.jCal[t].splice(r,1)},_removeObject:function(t,e,r){var n=0,i=this.jCal[t],a=i.length,s=this[e];if("string"==typeof r){for(;n<a;n++)if(i[n][0]===r)return this._removeObjectByIndex(t,s,n),!0}else if(s)for(;n<a;n++)if(s[n]&&s[n]===r)return this._removeObjectByIndex(t,s,n),!0;return!1},_removeAllObjects:function(t,e,r){for(var n=this[e],i=this.jCal[t],a=i.length-1;a>=0;a--)(!r||i[a][0]===r)&&this._removeObjectByIndex(t,n,a)},addSubcomponent:function(t){this._components||(this._components=[],this._hydratedComponentCount=0),t.parent&&t.parent.removeSubcomponent(t);var e=this.jCal[2].push(t.jCal);return this._components[e-1]=t,this._hydratedComponentCount++,t.parent=this,t},removeSubcomponent:function(t){var e=this._removeObject(2,"_components",t);return e&&this._hydratedComponentCount--,e},removeAllSubcomponents:function(t){var e=this._removeAllObjects(2,"_components",t);return this._hydratedComponentCount=0,e},addProperty:function(t){if(!(t instanceof e.Property))throw new TypeError("must instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),t.parent&&t.parent.removeProperty(t);var r=this.jCal[1].push(t.jCal);return this._properties[r-1]=t,this._hydratedPropertyCount++,t.parent=this,t},addPropertyWithValue:function(t,r){var n=new e.Property(t);return n.setValue(r),this.addProperty(n),n},updatePropertyWithValue:function(t,e){var r=this.getFirstProperty(t);return r?r.setValue(e):r=this.addPropertyWithValue(t,e),r},removeProperty:function(t){var e=this._removeObject(1,"_properties",t);return e&&this._hydratedPropertyCount--,e},removeAllProperties:function(t){var e=this._removeAllObjects(1,"_properties",t);return this._hydratedPropertyCount=0,e},toJSON:function(){return this.jCal},toString:function(){return e.stringify.component(this.jCal,this._designSet)}},t.fromString=function(r){return new t(e.parse.component(r))},t}(),e.Property=function(){var t=e.design;function r(e,r){this._parent=r||null,"string"==typeof e?(this.jCal=[e,{},t.defaultType],this.jCal[2]=this.getDefaultType()):this.jCal=e,this._updateType()}return r.prototype={get type(){return this.jCal[2]},get name(){return this.jCal[0]},get parent(){return this._parent},set parent(e){var r=!this._parent||e&&e._designSet!=this._parent._designSet;return this._parent=e,this.type==t.defaultType&&r&&(this.jCal[2]=this.getDefaultType(),this._updateType()),e},get _designSet(){return this.parent?this.parent._designSet:t.defaultSet},_updateType:function(){var t=this._designSet;this.type in t.value&&(t.value[this.type],"decorate"in t.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in t.property&&(this.isMultiValue="multiValue"in t.property[this.name],this.isStructuredValue="structuredValue"in t.property[this.name]))},_hydrateValue:function(t){return this._values&&this._values[t]?this._values[t]:this.jCal.length<=3+t?null:this.isDecorated?(this._values||(this._values=[]),this._values[t]=this._decorate(this.jCal[3+t])):this.jCal[3+t]},_decorate:function(t){return this._designSet.value[this.type].decorate(t,this)},_undecorate:function(t){return this._designSet.value[this.type].undecorate(t,this)},_setDecoratedValue:function(t,e){this._values||(this._values=[]),"object"==typeof t&&"icaltype"in t?(this.jCal[3+e]=this._undecorate(t),this._values[e]=t):(this.jCal[3+e]=t,this._values[e]=this._decorate(t))},getParameter:function(t){if(t in this.jCal[1])return this.jCal[1][t]},getFirstParameter:function(t){var e=this.getParameter(t);return Array.isArray(e)?e[0]:e},setParameter:function(t,e){var r=t.toLowerCase();"string"==typeof e&&r in this._designSet.param&&"multiValue"in this._designSet.param[r]&&(e=[e]),this.jCal[1][t]=e},removeParameter:function(t){delete this.jCal[1][t]},getDefaultType:function(){var e=this.jCal[0],r=this._designSet;if(e in r.property){var n=r.property[e];if("defaultType"in n)return n.defaultType}return t.defaultType},resetType:function(t){this.removeAllValues(),this.jCal[2]=t,this._updateType()},getFirstValue:function(){return this._hydrateValue(0)},getValues:function(){var t=this.jCal.length-3;if(t<1)return[];for(var e=0,r=[];e<t;e++)r[e]=this._hydrateValue(e);return r},removeAllValues:function(){this._values&&(this._values.length=0),this.jCal.length=3},setValues:function(t){if(!this.isMultiValue)throw new Error(this.name+": does not not support mulitValue.\noverride isMultiValue");var e=t.length,r=0;if(this.removeAllValues(),e>0&&"object"==typeof t[0]&&"icaltype"in t[0]&&this.resetType(t[0].icaltype),this.isDecorated)for(;r<e;r++)this._setDecoratedValue(t[r],r);else for(;r<e;r++)this.jCal[3+r]=t[r]},setValue:function(t){this.removeAllValues(),"object"==typeof t&&"icaltype"in t&&this.resetType(t.icaltype),this.isDecorated?this._setDecoratedValue(t,0):this.jCal[3]=t},toJSON:function(){return this.jCal},toICALString:function(){return e.stringify.property(this.jCal,this._designSet,!0)}},r.fromString=function(t,n){return new r(e.parse.property(t,n))},r}(),e.UtcOffset=function(){function t(t){this.fromData(t)}return t.prototype={hours:0,minutes:0,factor:1,icaltype:"utc-offset",clone:function(){return e.UtcOffset.fromSeconds(this.toSeconds())},fromData:function(t){if(t)for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._normalize()},fromSeconds:function(t){var r=Math.abs(t);return this.factor=t<0?-1:1,this.hours=e.helpers.trunc(r/3600),r-=3600*this.hours,this.minutes=e.helpers.trunc(r/60),this},toSeconds:function(){return this.factor*(60*this.minutes+3600*this.hours)},compare:function(t){var e=this.toSeconds(),r=t.toSeconds();return(e>r)-(r>e)},_normalize:function(){for(var t=this.toSeconds(),e=this.factor;t<-43200;)t+=97200;for(;t>50400;)t-=97200;this.fromSeconds(t),0==t&&(this.factor=e)},toICALString:function(){return e.design.icalendar.value["utc-offset"].toICAL(this.toString())},toString:function(){return(1==this.factor?"+":"-")+e.helpers.pad2(this.hours)+":"+e.helpers.pad2(this.minutes)}},t.fromString=function(t){var r={};return r.factor="+"===t[0]?1:-1,r.hours=e.helpers.strictParseInt(t.substr(1,2)),r.minutes=e.helpers.strictParseInt(t.substr(4,2)),new e.UtcOffset(r)},t.fromSeconds=function(e){var r=new t;return r.fromSeconds(e),r},t}(),e.Binary=function(){function t(t){this.value=t}return t.prototype={icaltype:"binary",decodeValue:function(){return this._b64_decode(this.value)},setEncodedValue:function(t){this.value=this._b64_encode(t)},_b64_encode:function(t){var e,r,n,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o=0,u=0,l="",c=[];if(!t)return t;do{e=(a=t.charCodeAt(o++)<<16|t.charCodeAt(o++)<<8|t.charCodeAt(o++))>>18&63,r=a>>12&63,n=a>>6&63,i=63&a,c[u++]=s.charAt(e)+s.charAt(r)+s.charAt(n)+s.charAt(i)}while(o<t.length);l=c.join("");var d=t.length%3;return(d?l.slice(0,d-3):l)+"===".slice(d||3)},_b64_decode:function(t){var e,r,n,i,a,s,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=0,l=0,c=[];if(!t)return t;t+="";do{e=(s=o.indexOf(t.charAt(u++))<<18|o.indexOf(t.charAt(u++))<<12|(i=o.indexOf(t.charAt(u++)))<<6|(a=o.indexOf(t.charAt(u++))))>>16&255,r=s>>8&255,n=255&s,c[l++]=64==i?String.fromCharCode(e):64==a?String.fromCharCode(e,r):String.fromCharCode(e,r,n)}while(u<t.length);return c.join("")},toString:function(){return this.value}},t.fromString=function(e){return new t(e)},t}(),e.Period=function(t){if(this.wrappedJSObject=this,t&&"start"in t){if(t.start&&!(t.start instanceof e.Time))throw new TypeError(".start must be an instance of ICAL.Time");this.start=t.start}if(t&&t.end&&t.duration)throw new Error("cannot accept both end and duration");if(t&&"end"in t){if(t.end&&!(t.end instanceof e.Time))throw new TypeError(".end must be an instance of ICAL.Time");this.end=t.end}if(t&&"duration"in t){if(t.duration&&!(t.duration instanceof e.Duration))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=t.duration}},e.Period.prototype={start:null,end:null,duration:null,icalclass:"icalperiod",icaltype:"period",clone:function(){return e.Period.fromData({start:this.start?this.start.clone():null,end:this.end?this.end.clone():null,duration:this.duration?this.duration.clone():null})},getDuration:function(){return this.duration?this.duration:this.end.subtractDate(this.start)},getEnd:function(){if(this.end)return this.end;var t=this.start.clone();return t.addDuration(this.duration),t},toString:function(){return this.start+"/"+(this.end||this.duration)},toJSON:function(){return[this.start.toString(),(this.end||this.duration).toString()]},toICALString:function(){return this.start.toICALString()+"/"+(this.end||this.duration).toICALString()}},e.Period.fromString=function(t,r){var n=t.split("/");if(2!==n.length)throw new Error('Invalid string value: "'+t+'" must contain a "/" char.');var i={start:e.Time.fromDateTimeString(n[0],r)},a=n[1];return e.Duration.isValueString(a)?i.duration=e.Duration.fromString(a):i.end=e.Time.fromDateTimeString(a,r),new e.Period(i)},e.Period.fromData=function(t){return new e.Period(t)},e.Period.fromJSON=function(t,r,n){function i(t,r){return n?e.Time.fromString(t,r):e.Time.fromDateTimeString(t,r)}return e.Duration.isValueString(t[1])?e.Period.fromData({start:i(t[0],r),duration:e.Duration.fromString(t[1])}):e.Period.fromData({start:i(t[0],r),end:i(t[1],r)})},function(){var t=/([PDWHMTS]{1,1})/;function r(t,r,n){var i;switch(t){case"P":n.isNegative=!(!r||"-"!==r);break;case"D":i="days";break;case"W":i="weeks";break;case"H":i="hours";break;case"M":i="minutes";break;case"S":i="seconds";break;default:return 0}if(i){if(!r&&0!==r)throw new Error('invalid duration value: Missing number before "'+t+'"');var a=parseInt(r,10);if(e.helpers.isStrictlyNaN(a))throw new Error('invalid duration value: Invalid number "'+r+'" before "'+t+'"');n[i]=a}return 1}e.Duration=function(t){this.wrappedJSObject=this,this.fromData(t)},e.Duration.prototype={weeks:0,days:0,hours:0,minutes:0,seconds:0,isNegative:!1,icalclass:"icalduration",icaltype:"duration",clone:function(){return e.Duration.fromData(this)},toSeconds:function(){var t=this.seconds+60*this.minutes+3600*this.hours+86400*this.days+604800*this.weeks;return this.isNegative?-t:t},fromSeconds:function(t){var r=Math.abs(t);return this.isNegative=t<0,this.days=e.helpers.trunc(r/86400),this.days%7==0?(this.weeks=this.days/7,this.days=0):this.weeks=0,r-=86400*(this.days+7*this.weeks),this.hours=e.helpers.trunc(r/3600),r-=3600*this.hours,this.minutes=e.helpers.trunc(r/60),r-=60*this.minutes,this.seconds=r,this},fromData:function(t){var e=["weeks","days","hours","minutes","seconds","isNegative"];for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];this[n]=t&&n in t?t[n]:0}},reset:function(){this.isNegative=!1,this.weeks=0,this.days=0,this.hours=0,this.minutes=0,this.seconds=0},compare:function(t){var e=this.toSeconds(),r=t.toSeconds();return(e>r)-(e<r)},normalize:function(){this.fromSeconds(this.toSeconds())},toString:function(){if(0==this.toSeconds())return"PT0S";var t="";return this.isNegative&&(t+="-"),t+="P",this.weeks&&(t+=this.weeks+"W"),this.days&&(t+=this.days+"D"),(this.hours||this.minutes||this.seconds)&&(t+="T",this.hours&&(t+=this.hours+"H"),this.minutes&&(t+=this.minutes+"M"),this.seconds&&(t+=this.seconds+"S")),t},toICALString:function(){return this.toString()}},e.Duration.fromSeconds=function(t){return(new e.Duration).fromSeconds(t)},e.Duration.isValueString=function(t){return"P"===t[0]||"P"===t[1]},e.Duration.fromString=function(n){for(var i=0,a=Object.create(null),s=0;-1!==(i=n.search(t));){var o=n[i],u=n.substr(0,i);n=n.substr(i+1),s+=r(o,u,a)}if(s<2)throw new Error('invalid duration value: Not enough duration components in "'+n+'"');return new e.Duration(a)},e.Duration.fromData=function(t){return new e.Duration(t)}}(),r=["tzid","location","tznames","latitude","longitude"],e.Timezone=function(t){this.wrappedJSObject=this,this.fromData(t)},e.Timezone.prototype={tzid:"",location:"",tznames:"",latitude:0,longitude:0,component:null,expandedUntilYear:0,icalclass:"icaltimezone",fromData:function(t){if(this.expandedUntilYear=0,this.changes=[],t instanceof e.Component)this.component=t;else{if(t&&"component"in t)if("string"==typeof t.component){var n=e.parse(t.component);this.component=new e.Component(n)}else t.component instanceof e.Component?this.component=t.component:this.component=null;for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];t&&a in t&&(this[a]=t[a])}}return this.component instanceof e.Component&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this},utcOffset:function(t){if(this==e.Timezone.utcTimezone||this==e.Timezone.localTimezone||(this._ensureCoverage(t.year),!this.changes.length))return 0;for(var r={year:t.year,month:t.month,day:t.day,hour:t.hour,minute:t.minute,second:t.second},n=this._findNearbyChange(r),i=-1,a=1;;){var s=e.helpers.clone(this.changes[n],!0);if(s.utcOffset<s.prevUtcOffset?e.Timezone.adjust_change(s,0,0,0,s.utcOffset):e.Timezone.adjust_change(s,0,0,0,s.prevUtcOffset),e.Timezone._compare_change_fn(r,s)>=0?i=n:a=-1,-1==a&&-1!=i)break;if((n+=a)<0)return 0;if(n>=this.changes.length)break}var o=this.changes[i];if(o.utcOffset-o.prevUtcOffset<0&&i>0){var u=e.helpers.clone(o,!0);if(e.Timezone.adjust_change(u,0,0,0,u.prevUtcOffset),e.Timezone._compare_change_fn(r,u)<0){var l=this.changes[i-1];0!=o.is_daylight&&0==l.is_daylight&&(o=l)}}return o.utcOffset},_findNearbyChange:function(t){var r=e.helpers.binsearchInsert(this.changes,t,e.Timezone._compare_change_fn);return r>=this.changes.length?this.changes.length-1:r},_ensureCoverage:function(t){if(-1==e.Timezone._minimumExpansionYear){var r=e.Time.now();e.Timezone._minimumExpansionYear=r.year}var n=t;if(n<e.Timezone._minimumExpansionYear&&(n=e.Timezone._minimumExpansionYear),(n+=e.Timezone.EXTRA_COVERAGE)>e.Timezone.MAX_YEAR&&(n=e.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYear<t){for(var i=this.component.getAllSubcomponents(),a=i.length,s=0;s<a;s++)this._expandComponent(i[s],n,this.changes);this.changes.sort(e.Timezone._compare_change_fn),this.expandedUntilYear=n}},_expandComponent:function(t,r,n){if(!t.hasProperty("dtstart")||!t.hasProperty("tzoffsetto")||!t.hasProperty("tzoffsetfrom"))return null;var i,a=t.getFirstProperty("dtstart").getFirstValue();function s(t){return t.factor*(3600*t.hours+60*t.minutes)}function o(){var e={};return e.is_daylight="daylight"==t.name,e.utcOffset=s(t.getFirstProperty("tzoffsetto").getFirstValue()),e.prevUtcOffset=s(t.getFirstProperty("tzoffsetfrom").getFirstValue()),e}if(t.hasProperty("rrule")||t.hasProperty("rdate")){var u=t.getAllProperties("rdate");for(var l in u)if(u.hasOwnProperty(l)){var c=u[l].getFirstValue();(i=o()).year=c.year,i.month=c.month,i.day=c.day,c.isDate?(i.hour=a.hour,i.minute=a.minute,i.second=a.second,a.zone!=e.Timezone.utcTimezone&&e.Timezone.adjust_change(i,0,0,0,-i.prevUtcOffset)):(i.hour=c.hour,i.minute=c.minute,i.second=c.second,c.zone!=e.Timezone.utcTimezone&&e.Timezone.adjust_change(i,0,0,0,-i.prevUtcOffset)),n.push(i)}var d=t.getFirstProperty("rrule");if(d){d=d.getFirstValue(),i=o(),d.until&&d.until.zone==e.Timezone.utcTimezone&&(d.until.adjust(0,0,0,i.prevUtcOffset),d.until.zone=e.Timezone.localTimezone);for(var f,h=d.iterator(a);(f=h.next())&&(i=o(),!(f.year>r)&&f);)i.year=f.year,i.month=f.month,i.day=f.day,i.hour=f.hour,i.minute=f.minute,i.second=f.second,i.isDate=f.isDate,e.Timezone.adjust_change(i,0,0,0,-i.prevUtcOffset),n.push(i)}}else(i=o()).year=a.year,i.month=a.month,i.day=a.day,i.hour=a.hour,i.minute=a.minute,i.second=a.second,e.Timezone.adjust_change(i,0,0,0,-i.prevUtcOffset),n.push(i);return n},toString:function(){return this.tznames?this.tznames:this.tzid}},e.Timezone._compare_change_fn=function(t,e){return t.year<e.year?-1:t.year>e.year?1:t.month<e.month?-1:t.month>e.month?1:t.day<e.day?-1:t.day>e.day?1:t.hour<e.hour?-1:t.hour>e.hour?1:t.minute<e.minute?-1:t.minute>e.minute?1:t.second<e.second?-1:t.second>e.second?1:0},e.Timezone.convert_time=function(t,r,n){if(t.isDate||r.tzid==n.tzid||r==e.Timezone.localTimezone||n==e.Timezone.localTimezone)return t.zone=n,t;var i=r.utcOffset(t);return t.adjust(0,0,0,-i),i=n.utcOffset(t),t.adjust(0,0,0,i),null},e.Timezone.fromData=function(t){return(new e.Timezone).fromData(t)},e.Timezone.utcTimezone=e.Timezone.fromData({tzid:"UTC"}),e.Timezone.localTimezone=e.Timezone.fromData({tzid:"floating"}),e.Timezone.adjust_change=function(t,r,n,i,a){return e.Time.prototype.adjust.call(t,r,n,i,a,t)},e.Timezone._minimumExpansionYear=-1,e.Timezone.MAX_YEAR=2035,e.Timezone.EXTRA_COVERAGE=5,e.TimezoneService=function(){var t,r={get count(){return Object.keys(t).length},reset:function(){t=Object.create(null);var r=e.Timezone.utcTimezone;t.Z=r,t.UTC=r,t.GMT=r},has:function(e){return!!t[e]},get:function(e){return t[e]},register:function(r,n){if(r instanceof e.Component&&"vtimezone"===r.name&&(r=(n=new e.Timezone(r)).tzid),!(n instanceof e.Timezone))throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component");t[r]=n},remove:function(e){return delete t[e]}};return r.reset(),r}(),e.Time=function(t,e){this.wrappedJSObject=this;var r=this._time=Object.create(null);r.year=0,r.month=1,r.day=1,r.hour=0,r.minute=0,r.second=0,r.isDate=!1,this.fromData(t,e)},e.Time._dowCache={},e.Time._wnCache={},e.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new e.Time(this._time,this.zone)},reset:function(){this.fromData(e.Time.epochTime),this.zone=e.Timezone.utcTimezone},resetTo:function(t,e,r,n,i,a,s){this.fromData({year:t,month:e,day:r,hour:n,minute:i,second:a,zone:s})},fromJSDate:function(t,r){return t?r?(this.zone=e.Timezone.utcTimezone,this.year=t.getUTCFullYear(),this.month=t.getUTCMonth()+1,this.day=t.getUTCDate(),this.hour=t.getUTCHours(),this.minute=t.getUTCMinutes(),this.second=t.getUTCSeconds()):(this.zone=e.Timezone.localTimezone,this.year=t.getFullYear(),this.month=t.getMonth()+1,this.day=t.getDate(),this.hour=t.getHours(),this.minute=t.getMinutes(),this.second=t.getSeconds()):this.reset(),this._cachedUnixTime=null,this},fromData:function(t,r){if(t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if("icaltype"===n)continue;this[n]=t[n]}if(r&&(this.zone=r),t&&!("isDate"in t)?this.isDate=!("hour"in t):t&&"isDate"in t&&(this.isDate=t.isDate),t&&"timezone"in t){var i=e.TimezoneService.get(t.timezone);this.zone=i||e.Timezone.localTimezone}return t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=e.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(t){var r=t||e.Time.SUNDAY,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+r;if(n in e.Time._dowCache)return e.Time._dowCache[n];var i=this.day,a=this.month+(this.month<3?12:0),s=this.year-(this.month<3?1:0),o=i+s+e.helpers.trunc(26*(a+1)/10)+e.helpers.trunc(s/4);return o=((o+=6*e.helpers.trunc(s/100)+e.helpers.trunc(s/400))+7-r)%7+1,e.Time._dowCache[n]=o,o},dayOfYear:function(){var t=e.Time.isLeapYear(this.year)?1:0;return e.Time.daysInYearPassedMonth[t][this.month-1]+this.day},startOfWeek:function(t){var r=t||e.Time.SUNDAY,n=this.clone();return n.day-=(this.dayOfWeek()+7-r)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},endOfWeek:function(t){var r=t||e.Time.SUNDAY,n=this.clone();return n.day+=(7-this.dayOfWeek()+r-e.Time.SUNDAY)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},startOfMonth:function(){var t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfMonth:function(){var t=this.clone();return t.day=e.Time.daysInMonth(t.month,t.year),t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startOfYear:function(){var t=this.clone();return t.day=1,t.month=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfYear:function(){var t=this.clone();return t.day=31,t.month=12,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startDoyWeek:function(t){var r=t||e.Time.SUNDAY,n=this.dayOfWeek()-r;return n<0&&(n+=7),this.dayOfYear()-n},getDominicalLetter:function(){return e.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,r){var n,i=e.Time.daysInMonth(this.month,this.year),a=r,s=0,o=this.clone();if(a>=0){o.day=1,0!=a&&a--,s=o.day;var u=t-o.dayOfWeek();u<0&&(u+=7),s+=u,s-=t,n=t}else o.day=i,a++,(n=o.dayOfWeek()-t)<0&&(n+=7),n=i-n;return s+(n+7*a)},isNthWeekDay:function(t,e){var r=this.dayOfWeek();return 0===e&&r===t||this.nthWeekDay(t,e)===this.day},weekNumber:function(t){var r=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(r in e.Time._wnCache)return e.Time._wnCache[r];var n,i=this.clone();i.isDate=!0;var a=this.year;12==i.month&&i.day>25?(n=e.Time.weekOneStarts(a+1,t),i.compare(n)<0?n=e.Time.weekOneStarts(a,t):a++):(n=e.Time.weekOneStarts(a,t),i.compare(n)<0&&(n=e.Time.weekOneStarts(--a,t)));var s=i.subtractDate(n).toSeconds()/86400,o=e.helpers.trunc(s/7)+1;return e.Time._wnCache[r]=o,o},addDuration:function(t){var e=t.isNegative?-1:1,r=this.second,n=this.minute,i=this.hour,a=this.day;r+=e*t.seconds,n+=e*t.minutes,i+=e*t.hours,a+=e*t.days,a+=7*e*t.weeks,this.second=r,this.minute=n,this.hour=i,this.day=a,this._cachedUnixTime=null},subtractDate:function(t){var r=this.toUnixTime()+this.utcOffset(),n=t.toUnixTime()+t.utcOffset();return e.Duration.fromSeconds(r-n)},subtractDateTz:function(t){var r=this.toUnixTime(),n=t.toUnixTime();return e.Duration.fromSeconds(r-n)},compare:function(t){var e=this.toUnixTime(),r=t.toUnixTime();return e>r?1:r>e?-1:0},compareDateOnlyTz:function(t,r){function n(t){return e.Time._cmp_attr(i,a,t)}var i=this.convertToZone(r),a=t.convertToZone(r),s=0;return 0!=(s=n("year"))||0!=(s=n("month"))||(s=n("day")),s},convertToZone:function(t){var r=this.clone(),n=this.zone.tzid==t.tzid;return!this.isDate&&!n&&e.Timezone.convert_time(r,this.zone,t),r.zone=t,r},utcOffset:function(){return this.zone==e.Timezone.localTimezone||this.zone==e.Timezone.utcTimezone?0:this.zone.utcOffset(this)},toICALString:function(){var t=this.toString();return t.length>10?e.design.icalendar.value["date-time"].toICAL(t):e.design.icalendar.value.date.toICAL(t)},toString:function(){var t=this.year+"-"+e.helpers.pad2(this.month)+"-"+e.helpers.pad2(this.day);return this.isDate||(t+="T"+e.helpers.pad2(this.hour)+":"+e.helpers.pad2(this.minute)+":"+e.helpers.pad2(this.second),this.zone===e.Timezone.utcTimezone&&(t+="Z")),t},toJSDate:function(){return this.zone==e.Timezone.localTimezone?this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0):new Date(1e3*this.toUnixTime())},_normalize:function(){return this._time.isDate,this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this},adjust:function(t,r,n,i,a){var s,o,u,l,c,d,f,h=0,p=0,m=a||this._time;if(m.isDate||(u=m.second+i,m.second=u%60,s=e.helpers.trunc(u/60),m.second<0&&(m.second+=60,s--),l=m.minute+n+s,m.minute=l%60,o=e.helpers.trunc(l/60),m.minute<0&&(m.minute+=60,o--),c=m.hour+r+o,m.hour=c%24,h=e.helpers.trunc(c/24),m.hour<0&&(m.hour+=24,h--)),m.month>12?p=e.helpers.trunc((m.month-1)/12):m.month<1&&(p=e.helpers.trunc(m.month/12)-1),m.year+=p,m.month-=12*p,(d=m.day+t+h)>0)for(;!(d<=(f=e.Time.daysInMonth(m.month,m.year)));)m.month++,m.month>12&&(m.year++,m.month=1),d-=f;else for(;d<=0;)1==m.month?(m.year--,m.month=12):m.month--,d+=e.Time.daysInMonth(m.month,m.year);return m.day=d,this._cachedUnixTime=null,this},fromUnixTime:function(t){this.zone=e.Timezone.utcTimezone;var r=e.Time.epochTime.clone();r.adjust(0,0,0,t),this.year=r.year,this.month=r.month,this.day=r.day,this.hour=r.hour,this.minute=r.minute,this.second=Math.floor(r.second),this._cachedUnixTime=null},toUnixTime:function(){if(null!==this._cachedUnixTime)return this._cachedUnixTime;var t=this.utcOffset(),e=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-t);return this._cachedUnixTime=e/1e3,this._cachedUnixTime},toJSON:function(){for(var t,e=["year","month","day","hour","minute","second","isDate"],r=Object.create(null),n=0,i=e.length;n<i;n++)r[t=e[n]]=this[t];return this.zone&&(r.timezone=this.zone.tzid),r}},function(){function t(t){Object.defineProperty(e.Time.prototype,t,{get:function(){return this._pendingNormalization&&(this._normalize(),this._pendingNormalization=!1),this._time[t]},set:function(e){return"isDate"===t&&e&&!this._time.isDate&&this.adjust(0,0,0,0),this._cachedUnixTime=null,this._pendingNormalization=!0,this._time[t]=e,e}})}"defineProperty"in Object&&(t("year"),t("month"),t("day"),t("hour"),t("minute"),t("second"),t("isDate"))}(),e.Time.daysInMonth=function(t,r){var n=30;return t<1||t>12||(n=[0,31,28,31,30,31,30,31,31,30,31,30,31][t],2==t&&(n+=e.Time.isLeapYear(r))),n},e.Time.isLeapYear=function(t){return t<=1752?t%4==0:t%4==0&&t%100!=0||t%400==0},e.Time.fromDayOfYear=function(t,r){var n=r,i=t,a=new e.Time;a.auto_normalize=!1;var s=e.Time.isLeapYear(n)?1:0;if(i<1)return n--,s=e.Time.isLeapYear(n)?1:0,i+=e.Time.daysInYearPassedMonth[s][12],e.Time.fromDayOfYear(i,n);if(i>e.Time.daysInYearPassedMonth[s][12])return s=e.Time.isLeapYear(n)?1:0,i-=e.Time.daysInYearPassedMonth[s][12],n++,e.Time.fromDayOfYear(i,n);a.year=n,a.isDate=!0;for(var o=11;o>=0;o--)if(i>e.Time.daysInYearPassedMonth[s][o]){a.month=o+1,a.day=i-e.Time.daysInYearPassedMonth[s][o];break}return a.auto_normalize=!0,a},e.Time.fromStringv2=function(t){return new e.Time({year:parseInt(t.substr(0,4),10),month:parseInt(t.substr(5,2),10),day:parseInt(t.substr(8,2),10),isDate:!0})},e.Time.fromDateString=function(t){return new e.Time({year:e.helpers.strictParseInt(t.substr(0,4)),month:e.helpers.strictParseInt(t.substr(5,2)),day:e.helpers.strictParseInt(t.substr(8,2)),isDate:!0})},e.Time.fromDateTimeString=function(t,r){if(t.length<19)throw new Error('invalid date-time value: "'+t+'"');var n;return t[19]&&"Z"===t[19]?n="Z":r&&(n=r.getParameter("tzid")),new e.Time({year:e.helpers.strictParseInt(t.substr(0,4)),month:e.helpers.strictParseInt(t.substr(5,2)),day:e.helpers.strictParseInt(t.substr(8,2)),hour:e.helpers.strictParseInt(t.substr(11,2)),minute:e.helpers.strictParseInt(t.substr(14,2)),second:e.helpers.strictParseInt(t.substr(17,2)),timezone:n})},e.Time.fromString=function(t,r){return t.length>10?e.Time.fromDateTimeString(t,r):e.Time.fromDateString(t)},e.Time.fromJSDate=function(t,r){return(new e.Time).fromJSDate(t,r)},e.Time.fromData=function(t,r){return(new e.Time).fromData(t,r)},e.Time.now=function(){return e.Time.fromJSDate(new Date,!1)},e.Time.weekOneStarts=function(t,r){var n=e.Time.fromData({year:t,month:1,day:1,isDate:!0}),i=n.dayOfWeek(),a=r||e.Time.DEFAULT_WEEK_START;return i>e.Time.THURSDAY&&(n.day+=7),a>e.Time.THURSDAY&&(n.day-=7),n.day-=i-a,n},e.Time.getDominicalLetter=function(t){var r="GFEDCBA",n=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return e.Time.isLeapYear(t)?r[(n+6)%7]+r[n]:r[n]},e.Time.epochTime=e.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),e.Time._cmp_attr=function(t,e,r){return t[r]>e[r]?1:t[r]<e[r]?-1:0},e.Time.daysInYearPassedMonth=[[0,31,59,90,120,151,181,212,243,273,304,334,365],[0,31,60,91,121,152,182,213,244,274,305,335,366]],e.Time.SUNDAY=1,e.Time.MONDAY=2,e.Time.TUESDAY=3,e.Time.WEDNESDAY=4,e.Time.THURSDAY=5,e.Time.FRIDAY=6,e.Time.SATURDAY=7,e.Time.DEFAULT_WEEK_START=e.Time.MONDAY,e.VCardTime=function(t,e,r){this.wrappedJSObject=this;var n=this._time=Object.create(null);n.year=null,n.month=null,n.day=null,n.hour=null,n.minute=null,n.second=null,this.icaltype=r||"date-and-or-time",this.fromData(t,e)},e.helpers.inherits(e.Time,e.VCardTime,{icalclass:"vcardtime",icaltype:"date-and-or-time",zone:null,clone:function(){return new e.VCardTime(this._time,this.zone,this.icaltype)},_normalize:function(){return this},utcOffset:function(){return this.zone instanceof e.UtcOffset?this.zone.toSeconds():e.Time.prototype.utcOffset.apply(this,arguments)},toICALString:function(){return e.design.vcard.value[this.icaltype].toICAL(this.toString())},toString:function(){var t,r=e.helpers.pad2,n=this.year,i=this.month,a=this.day,s=this.hour,o=this.minute,u=this.second,l=null!==i,c=null!==a,d=null!==s,f=null!==o,h=null!==u,p=(null!==n?r(n)+(l||c?"-":""):l||c?"--":"")+(l?r(i):"")+(c?"-"+r(a):""),m=(d?r(s):"-")+(d&&f?":":"")+(f?r(o):"")+(d||f?"":"-")+(f&&h?":":"")+(h?r(u):"");switch(t=this.zone===e.Timezone.utcTimezone?"Z":this.zone instanceof e.UtcOffset?this.zone.toString():this.zone===e.Timezone.localTimezone?"":this.zone instanceof e.Timezone?e.UtcOffset.fromSeconds(this.zone.utcOffset(this)).toString():"",this.icaltype){case"time":return m+t;case"date-and-or-time":case"date-time":return p+("--"==m?"":"T"+m+t);case"date":return p}return null}}),e.VCardTime.fromDateAndOrTimeString=function(t,r){function n(t,r,n){return t?e.helpers.strictParseInt(t.substr(r,n)):null}var i=t.split("T"),a=i[0],s=i[1],o=s?e.design.vcard.value.time._splitZone(s):[],u=o[0],l=o[1];e.helpers.strictParseInt;var c=a?a.length:0,d=l?l.length:0,f=a&&"-"==a[0]&&"-"==a[1],h=l&&"-"==l[0],p={year:f?null:n(a,0,4),month:!f||4!=c&&7!=c?7==c||10==c?n(a,5,2):null:n(a,2,2),day:5==c?n(a,3,2):7==c&&f?n(a,5,2):10==c?n(a,8,2):null,hour:h?null:n(l,0,2),minute:h&&3==d?n(l,1,2):d>4?n(l,h?1:3,2):null,second:4==d?n(l,2,2):6==d?n(l,4,2):8==d?n(l,6,2):null};return u="Z"==u?e.Timezone.utcTimezone:u&&":"==u[3]?e.UtcOffset.fromString(u):null,new e.VCardTime(p,u,r)},function(){var t={SU:e.Time.SUNDAY,MO:e.Time.MONDAY,TU:e.Time.TUESDAY,WE:e.Time.WEDNESDAY,TH:e.Time.THURSDAY,FR:e.Time.FRIDAY,SA:e.Time.SATURDAY},r={};for(var n in t)t.hasOwnProperty(n)&&(r[t[n]]=n);function i(t,r,n,i){var a=i;if("+"===i[0]&&(a=i.substr(1)),a=e.helpers.strictParseInt(a),void 0!==r&&i<r)throw new Error(t+': invalid value "'+i+'" must be > '+r);if(void 0!==n&&i>n)throw new Error(t+': invalid value "'+i+'" must be < '+r);return a}e.Recur=function(t){this.wrappedJSObject=this,this.parts={},t&&"object"==typeof t&&this.fromData(t)},e.Recur.prototype={parts:null,interval:1,wkst:e.Time.MONDAY,until:null,count:null,freq:null,icalclass:"icalrecur",icaltype:"recur",iterator:function(t){return new e.RecurIterator({rule:this,dtstart:t})},clone:function(){return new e.Recur(this.toJSON())},isFinite:function(){return!(!this.count&&!this.until)},isByCount:function(){return!(!this.count||this.until)},addComponent:function(t,e){var r=t.toUpperCase();r in this.parts?this.parts[r].push(e):this.parts[r]=[e]},setComponent:function(t,e){this.parts[t.toUpperCase()]=e.slice()},getComponent:function(t){var e=t.toUpperCase();return e in this.parts?this.parts[e].slice():[]},getNextOccurrence:function(t,e){var r,n=this.iterator(t);do{r=n.next()}while(r&&r.compare(e)<=0);return r&&e.zone&&(r.zone=e.zone),r},fromData:function(t){for(var r in t){var n=r.toUpperCase();n in l?Array.isArray(t[r])?this.parts[n]=t[r]:this.parts[n]=[t[r]]:this[r]=t[r]}this.interval&&"number"!=typeof this.interval&&u.INTERVAL(this.interval,this),this.wkst&&"number"!=typeof this.wkst&&(this.wkst=e.Recur.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof e.Time)&&(this.until=e.Time.fromString(this.until))},toJSON:function(){var t=Object.create(null);for(var r in t.freq=this.freq,this.count&&(t.count=this.count),this.interval>1&&(t.interval=this.interval),this.parts)if(this.parts.hasOwnProperty(r)){var n=this.parts[r];Array.isArray(n)&&1==n.length?t[r.toLowerCase()]=n[0]:t[r.toLowerCase()]=e.helpers.clone(this.parts[r])}return this.until&&(t.until=this.until.toString()),"wkst"in this&&this.wkst!==e.Time.DEFAULT_WEEK_START&&(t.wkst=e.Recur.numericDayToIcalDay(this.wkst)),t},toString:function(){var t="FREQ="+this.freq;for(var r in this.count&&(t+=";COUNT="+this.count),this.interval>1&&(t+=";INTERVAL="+this.interval),this.parts)this.parts.hasOwnProperty(r)&&(t+=";"+r+"="+this.parts[r]);return this.until&&(t+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==e.Time.DEFAULT_WEEK_START&&(t+=";WKST="+e.Recur.numericDayToIcalDay(this.wkst)),t}},e.Recur.icalDayToNumericDay=function(r,n){var i=n||e.Time.SUNDAY;return(t[r]-i+7)%7+1},e.Recur.numericDayToIcalDay=function(t,n){var i=t+(n||e.Time.SUNDAY)-e.Time.SUNDAY;return i>7&&(i-=7),r[i]};var a=/^(SU|MO|TU|WE|TH|FR|SA)$/,s=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,o=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],u={FREQ:function(t,e,r){if(-1===o.indexOf(t))throw new Error('invalid frequency "'+t+'" expected: "'+o.join(", ")+'"');e.freq=t},COUNT:function(t,r,n){r.count=e.helpers.strictParseInt(t)},INTERVAL:function(t,r,n){r.interval=e.helpers.strictParseInt(t),r.interval<1&&(r.interval=1)},UNTIL:function(t,r,n){t.length>10?r.until=e.design.icalendar.value["date-time"].fromICAL(t):r.until=e.design.icalendar.value.date.fromICAL(t),n||(r.until=e.Time.fromString(r.until))},WKST:function(t,r,n){if(!a.test(t))throw new Error('invalid WKST value "'+t+'"');r.wkst=e.Recur.icalDayToNumericDay(t)}},l={BYSECOND:i.bind(this,"BYSECOND",0,60),BYMINUTE:i.bind(this,"BYMINUTE",0,59),BYHOUR:i.bind(this,"BYHOUR",0,23),BYDAY:function(t){if(s.test(t))return t;throw new Error('invalid BYDAY value "'+t+'"')},BYMONTHDAY:i.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:i.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:i.bind(this,"BYWEEKNO",-53,53),BYMONTH:i.bind(this,"BYMONTH",1,12),BYSETPOS:i.bind(this,"BYSETPOS",-366,366)};e.Recur.fromString=function(t){var r=e.Recur._stringToData(t,!1);return new e.Recur(r)},e.Recur.fromData=function(t){return new e.Recur(t)},e.Recur._stringToData=function(t,e){for(var r=Object.create(null),n=t.split(";"),i=n.length,a=0;a<i;a++){var s=n[a].split("="),o=s[0].toUpperCase(),c=s[0].toLowerCase(),d=e?c:o,f=s[1];if(o in l){for(var h=f.split(","),p=0,m=h.length;p<m;p++)h[p]=l[o](h[p]);r[d]=1==h.length?h[0]:h}else o in u?u[o](f,r,e):r[c]=f}return r}}(),e.RecurIterator=function(){function t(t){this.fromData(t)}return t.prototype={completed:!1,rule:null,dtstart:null,last:null,occurrence_number:0,by_indices:null,initialized:!1,by_data:null,days:null,days_index:0,fromData:function(t){if(this.rule=e.helpers.formatClassType(t.rule,e.Recur),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=e.helpers.formatClassType(t.dtstart,e.Time),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");t.by_data?this.by_data=t.by_data:this.by_data=e.helpers.clone(this.rule.parts,!0),t.occurrence_number&&(this.occurrence_number=t.occurrence_number),this.days=t.days||[],t.last&&(this.last=e.helpers.formatClassType(t.last,e.Time)),this.by_indices=t.by_indices,this.by_indices||(this.by_indices={BYSECOND:0,BYMINUTE:0,BYHOUR:0,BYDAY:0,BYMONTH:0,BYWEEKNO:0,BYMONTHDAY:0}),this.initialized=t.initialized||!1,this.initialized||this.init()},init:function(){this.initialized=!0,this.last=this.dtstart.clone();var t=this.by_data;if("BYDAY"in t&&this.sort_byday_rules(t.BYDAY),"BYYEARDAY"in t&&("BYMONTH"in t||"BYWEEKNO"in t||"BYMONTHDAY"in t||"BYDAY"in t))throw new Error("Invalid BYYEARDAY rule");if("BYWEEKNO"in t&&"BYMONTHDAY"in t)throw new Error("BYWEEKNO does not fit to BYMONTHDAY");if("MONTHLY"==this.rule.freq&&("BYYEARDAY"in t||"BYWEEKNO"in t))throw new Error("For MONTHLY recurrences neither BYYEARDAY nor BYWEEKNO may appear");if("WEEKLY"==this.rule.freq&&("BYYEARDAY"in t||"BYMONTHDAY"in t))throw new Error("For WEEKLY recurrences neither BYMONTHDAY nor BYYEARDAY may appear");if("YEARLY"!=this.rule.freq&&"BYYEARDAY"in t)throw new Error("BYYEARDAY may only appear in YEARLY rules");if(this.last.second=this.setup_defaults("BYSECOND","SECONDLY",this.dtstart.second),this.last.minute=this.setup_defaults("BYMINUTE","MINUTELY",this.dtstart.minute),this.last.hour=this.setup_defaults("BYHOUR","HOURLY",this.dtstart.hour),this.last.day=this.setup_defaults("BYMONTHDAY","DAILY",this.dtstart.day),this.last.month=this.setup_defaults("BYMONTH","MONTHLY",this.dtstart.month),"WEEKLY"==this.rule.freq)if("BYDAY"in t){var r=(l=this.ruleDayOfWeek(t.BYDAY[0],this.rule.wkst))[0],n=(c=l[1])-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<c&&n>=0||n<0)&&(this.last.day+=n)}else{var i=e.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[i]}if("YEARLY"==this.rule.freq){for(;this.expand_year_days(this.last.year),!(this.days.length>0);)this.increment_year(this.rule.interval);this._nextByYearDay()}if("MONTHLY"==this.rule.freq&&this.has_by_data("BYDAY")){var a=null,s=this.last.clone(),o=e.Time.daysInMonth(this.last.month,this.last.year);for(var u in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(u)){this.last=s.clone(),r=(l=this.ruleDayOfWeek(this.by_data.BYDAY[u]))[0];var l,c=l[1],d=this.last.nthWeekDay(c,r);if(r>=6||r<=-6)throw new Error("Malformed values in BYDAY part");if(d>o||d<=0){if(a&&a.month==s.month)continue;for(;d>o||d<=0;)this.increment_month(),o=e.Time.daysInMonth(this.last.month,this.last.year),d=this.last.nthWeekDay(c,r)}this.last.day=d,(!a||this.last.compare(a)<0)&&(a=this.last.clone())}if(this.last=a.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>o||0==this.last.day)throw new Error("Malformed values in BYDAY part")}else this.has_by_data("BYMONTHDAY")&&this.last.day<0&&(o=e.Time.daysInMonth(this.last.month,this.last.year),this.last.day=o+this.last.day+1)},next:function(){var t,e=this.last?this.last.clone():null;if(this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)return this.completed=!0,null;if(0==this.occurrence_number&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;do{switch(t=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":t=this.next_month();break;case"YEARLY":this.next_year();break;default:return null}}while(!this.check_contracting_rules()||this.last.compare(this.dtstart)<0||!t);if(0==this.last.compare(e))throw new Error("Same occurrence found twice, protecting you from death by recursion");return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)},next_second:function(){return this.next_generic("BYSECOND","SECONDLY","second","minute")},increment_second:function(t){return this.increment_generic(t,"second",60,"minute")},next_minute:function(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")},increment_minute:function(t){return this.increment_generic(t,"minute",60,"hour")},next_hour:function(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")},increment_hour:function(t){this.increment_generic(t,"hour",24,"monthday")},next_day:function(){this.by_data;var t="DAILY"==this.rule.freq;return 0==this.next_hour()||(t?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0},next_week:function(){var t=0;if(0==this.next_weekday_by_week())return t;if(this.has_by_data("BYWEEKNO")){++this.by_indices.BYWEEKNO,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,t=1),this.last.month=1,this.last.day=1;var e=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*e,t&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return t},normalizeByMonthDayRules:function(t,r,n){for(var i,a=e.Time.daysInMonth(r,t),s=[],o=0,u=n.length;o<u;o++)if(i=n[o],!(Math.abs(i)>a)){if(i<0)i=a+(i+1);else if(0===i)continue;-1===s.indexOf(i)&&s.push(i)}return s.sort((function(t,e){return t-e}))},_byDayAndMonthDay:function(t){var r,n,i,a,s=this.by_data.BYDAY,o=0,u=s.length,l=0,c=this,d=this.last.day;function f(){for(a=e.Time.daysInMonth(c.last.month,c.last.year),r=c.normalizeByMonthDayRules(c.last.year,c.last.month,c.by_data.BYMONTHDAY),i=r.length;r[o]<=d&&(!t||r[o]!=d)&&o<i-1;)o++}function h(){d=0,c.increment_month(),o=0,f()}f(),t&&(d-=1);for(var p=48;!l&&p;)if(p--,(n=d+1)>a)h();else{var m=r[o++];if(m>=n){d=m;for(var y=0;y<u;y++){var v=this.ruleDayOfWeek(s[y]),T=v[0],g=v[1];if(this.last.day=d,this.last.isNthWeekDay(g,T)){l=1;break}}l||o!==i||h()}else h()}if(p<=0)throw new Error("Malformed values in BYDAY combined with BYMONTHDAY parts");return l},next_month:function(){this.rule.freq;var t=1;if(0==this.next_hour())return t;if(this.has_by_data("BYDAY")&&this.has_by_data("BYMONTHDAY"))t=this._byDayAndMonthDay();else if(this.has_by_data("BYDAY")){var r=e.Time.daysInMonth(this.last.month,this.last.year),n=0,i=0;if(this.has_by_data("BYSETPOS")){for(var a=this.last.day,s=1;s<=r;s++)this.last.day=s,this.is_day_in_byday(this.last)&&(i++,s<=a&&n++);this.last.day=a}for(t=0,s=this.last.day+1;s<=r;s++)if(this.last.day=s,this.is_day_in_byday(this.last)&&(!this.has_by_data("BYSETPOS")||this.check_set_position(++n)||this.check_set_position(n-i-1))){t=1;break}s>r&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(t=1):t=0)}else this.has_by_data("BYMONTHDAY")?(this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month()),r=e.Time.daysInMonth(this.last.month,this.last.year),(s=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY])<0&&(s=r+s+1),s>r?(this.last.day=1,t=this.is_day_in_byday(this.last)):this.last.day=s):(this.increment_month(),r=e.Time.daysInMonth(this.last.month,this.last.year),this.by_data.BYMONTHDAY[0]>r?t=0:this.last.day=this.by_data.BYMONTHDAY[0]);return t},next_weekday_by_week:function(){var t=0;if(0==this.next_hour())return t;if(!this.has_by_data("BYDAY"))return 1;for(;;){var r=new e.Time;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,t=1);var n=this.by_data.BYDAY[this.by_indices.BYDAY],i=this.ruleDayOfWeek(n)[1];(i-=this.rule.wkst)<0&&(i+=7),r.year=this.last.year,r.month=this.last.month,r.day=this.last.day;var a=r.startDoyWeek(this.rule.wkst);if(!(i+a<1)||t){var s=e.Time.fromDayOfYear(a+i,this.last.year);return this.last.year=s.year,this.last.month=s.month,this.last.day=s.day,t}}},next_year:function(){if(0==this.next_hour())return 0;if(++this.days_index==this.days.length){this.days_index=0;do{this.increment_year(this.rule.interval),this.expand_year_days(this.last.year)}while(0==this.days.length)}return this._nextByYearDay(),1},_nextByYearDay:function(){var t=this.days[this.days_index],r=this.last.year;t<1&&(t+=1,r+=1);var n=e.Time.fromDayOfYear(t,r);this.last.day=n.day,this.last.month=n.month},ruleDayOfWeek:function(t,r){var n=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return n?[parseInt(n[1]||0,10),t=e.Recur.icalDayToNumericDay(n[2],r)]:[0,0]},next_generic:function(t,e,r,n,i){var a=t in this.by_data,s=this.rule.freq==e,o=0;if(i&&0==this[i]())return o;if(a){this.by_indices[t]++,this.by_indices[t];var u=this.by_data[t];this.by_indices[t]==u.length&&(this.by_indices[t]=0,o=1),this.last[r]=u[this.by_indices[t]]}else s&&this["increment_"+r](this.rule.interval);return a&&o&&s&&this["increment_"+n](1),o},increment_monthday:function(t){for(var r=0;r<t;r++){var n=e.Time.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>n&&(this.last.day-=n,this.increment_month())}},increment_month:function(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{"MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;var t=e.helpers.trunc(this.last.month/12);this.last.month%=12,this.last.month++,0!=t&&this.increment_year(t)}},increment_year:function(t){this.last.year+=t},increment_generic:function(t,r,n,i){this.last[r]+=t;var a=e.helpers.trunc(this.last[r]/n);this.last[r]%=n,0!=a&&this["increment_"+i](a)},has_by_data:function(t){return t in this.rule.parts},expand_year_days:function(t){var r=new e.Time;this.days=[];var n={},i=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];s in this.rule.parts&&(n[s]=this.rule.parts[s])}if("BYMONTH"in n&&"BYWEEKNO"in n){var o=1,u={};r.year=t,r.isDate=!0;for(var l=0;l<this.by_data.BYMONTH.length;l++){var c=this.by_data.BYMONTH[l];r.month=c,r.day=1;var d=r.weekNumber(this.rule.wkst);r.day=e.Time.daysInMonth(c,t);var f=r.weekNumber(this.rule.wkst);for(l=d;l<f;l++)u[l]=1}for(var h=0;h<this.by_data.BYWEEKNO.length&&o;h++)(j=this.by_data.BYWEEKNO[h])<52?o&=u[h]:o=0;o?delete n.BYMONTH:delete n.BYWEEKNO}var p=Object.keys(n).length;if(0==p){var m=this.dtstart.clone();m.year=this.last.year,this.days.push(m.dayOfYear())}else if(1==p&&"BYMONTH"in n){for(var y in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(y)){var v=this.dtstart.clone();v.year=t,v.month=this.by_data.BYMONTH[y],v.isDate=!0,this.days.push(v.dayOfYear())}}else if(1==p&&"BYMONTHDAY"in n){for(var T in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(T)){var g=this.dtstart.clone();(S=this.by_data.BYMONTHDAY[T])<0&&(S=S+(b=e.Time.daysInMonth(g.month,t))+1),g.day=S,g.year=t,g.isDate=!0,this.days.push(g.dayOfYear())}}else if(2==p&&"BYMONTHDAY"in n&&"BYMONTH"in n){for(var y in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(y)){var A=this.by_data.BYMONTH[y],b=e.Time.daysInMonth(A,t);for(var T in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(T)){var S;(S=this.by_data.BYMONTHDAY[T])<0&&(S=S+b+1),r.day=S,r.month=A,r.year=t,r.isDate=!0,this.days.push(r.dayOfYear())}}}else if(!(1==p&&"BYWEEKNO"in n||2==p&&"BYWEEKNO"in n&&"BYMONTHDAY"in n))if(1==p&&"BYDAY"in n)this.days=this.days.concat(this.expand_by_day(t));else if(2==p&&"BYDAY"in n&&"BYMONTH"in n){for(var y in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(y)){c=this.by_data.BYMONTH[y],b=e.Time.daysInMonth(c,t),r.year=t,r.month=this.by_data.BYMONTH[y],r.day=1,r.isDate=!0;var E=r.dayOfWeek(),_=r.dayOfYear()-1;r.day=b;var D=r.dayOfWeek();if(this.has_by_data("BYSETPOS")){for(var C=[],O=1;O<=b;O++)r.day=O,this.is_day_in_byday(r)&&C.push(O);for(var w=0;w<C.length;w++)(this.check_set_position(w+1)||this.check_set_position(w-C.length))&&this.days.push(_+C[w])}else for(var x in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(x)){var I,N=this.by_data.BYDAY[x],U=this.ruleDayOfWeek(N),M=U[0],L=U[1],P=(L+7-E)%7+1,Y=b-(D+7-L)%7;if(0==M)for(O=P;O<=b;O+=7)this.days.push(_+O);else M>0?(I=P+7*(M-1))<=b&&this.days.push(_+I):(I=Y+7*(M+1))>0&&this.days.push(_+I)}}this.days.sort((function(t,e){return t-e}))}else if(2==p&&"BYDAY"in n&&"BYMONTHDAY"in n){var k=this.expand_by_day(t);for(var R in k)if(k.hasOwnProperty(R)){O=k[R];var B=e.Time.fromDayOfYear(O,t);this.by_data.BYMONTHDAY.indexOf(B.day)>=0&&this.days.push(O)}}else if(3==p&&"BYDAY"in n&&"BYMONTHDAY"in n&&"BYMONTH"in n)for(var R in k=this.expand_by_day(t))k.hasOwnProperty(R)&&(O=k[R],B=e.Time.fromDayOfYear(O,t),this.by_data.BYMONTH.indexOf(B.month)>=0&&this.by_data.BYMONTHDAY.indexOf(B.day)>=0&&this.days.push(O));else if(2==p&&"BYDAY"in n&&"BYWEEKNO"in n){for(var R in k=this.expand_by_day(t))if(k.hasOwnProperty(R)){O=k[R];var j=(B=e.Time.fromDayOfYear(O,t)).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(j)&&this.days.push(O)}}else 3==p&&"BYDAY"in n&&"BYWEEKNO"in n&&"BYMONTHDAY"in n||(this.days=1==p&&"BYYEARDAY"in n?this.days.concat(this.by_data.BYYEARDAY):[]);return 0},expand_by_day:function(t){var e=[],r=this.last.clone();r.year=t,r.month=1,r.day=1,r.isDate=!0;var n=r.dayOfWeek();r.month=12,r.day=31,r.isDate=!0;var i=r.dayOfWeek(),a=r.dayOfYear();for(var s in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(s)){var o=this.by_data.BYDAY[s],u=this.ruleDayOfWeek(o),l=u[0],c=u[1];if(0==l)for(var d=(c+7-n)%7+1;d<=a;d+=7)e.push(d);else if(l>0){var f;f=c>=n?c-n+1:c-n+8,e.push(f+7*(l-1))}else{var h;l=-l,h=c<=i?a-i+c:a-i+c-7,e.push(h-7*(l-1))}}return e},is_day_in_byday:function(t){for(var e in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(e)){var r=this.by_data.BYDAY[e],n=this.ruleDayOfWeek(r),i=n[0],a=n[1],s=t.dayOfWeek();if(0==i&&a==s||t.nthWeekDay(a,i)==t.day)return 1}return 0},check_set_position:function(t){return!!this.has_by_data("BYSETPOS")&&-1!==this.by_data.BYSETPOS.indexOf(t)},sort_byday_rules:function(t){for(var e=0;e<t.length;e++)for(var r=0;r<e;r++)if(this.ruleDayOfWeek(t[r],this.rule.wkst)[1]>this.ruleDayOfWeek(t[e],this.rule.wkst)[1]){var n=t[e];t[e]=t[r],t[r]=n}},check_contract_restriction:function(e,r){var n=t._indexMap[e],i=t._expandMap[this.rule.freq][n],a=!1;if(e in this.by_data&&i==t.CONTRACT){var s=this.by_data[e];for(var o in s)if(s.hasOwnProperty(o)&&s[o]==r){a=!0;break}}else a=!0;return a},check_contracting_rules:function(){var t=this.last.dayOfWeek(),r=this.last.weekNumber(this.rule.wkst),n=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",e.Recur.numericDayToIcalDay(t))&&this.check_contract_restriction("BYWEEKNO",r)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",n)},setup_defaults:function(e,r,n){var i=t._indexMap[e];return t._expandMap[this.rule.freq][i]!=t.CONTRACT&&(e in this.by_data||(this.by_data[e]=[n]),this.rule.freq!=r)?this.by_data[e][0]:n},toJSON:function(){var t=Object.create(null);return t.initialized=this.initialized,t.rule=this.rule.toJSON(),t.dtstart=this.dtstart.toJSON(),t.by_data=this.by_data,t.days=this.days,t.last=this.last.toJSON(),t.by_indices=this.by_indices,t.occurrence_number=this.occurrence_number,t}},t._indexMap={BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8},t._expandMap={SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]},t.UNKNOWN=0,t.CONTRACT=1,t.EXPAND=2,t.ILLEGAL=3,t}(),e.RecurExpansion=function(){function t(t){return e.helpers.formatClassType(t,e.Time)}function r(t,e){return t.compare(e)}function n(t){this.ruleDates=[],this.exDates=[],this.fromData(t)}return n.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(r){var n=e.helpers.formatClassType(r.dtstart,e.Time);if(!n)throw new Error(".dtstart (ICAL.Time) must be given");if(this.dtstart=n,r.component)this._init(r.component);else{if(this.last=t(r.last)||n.clone(),!r.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=r.ruleIterators.map((function(t){return e.helpers.formatClassType(t,e.RecurIterator)})),this.ruleDateInc=r.ruleDateInc,this.exDateInc=r.exDateInc,r.ruleDates&&(this.ruleDates=r.ruleDates.map(t),this.ruleDate=this.ruleDates[this.ruleDateInc]),r.exDates&&(this.exDates=r.exDates.map(t),this.exDate=this.exDates[this.exDateInc]),typeof r.complete<"u"&&(this.complete=r.complete)}},next:function(){for(var t,e,r,n=0;;){if(n++>500)throw new Error("max tries have occured, rule may be impossible to forfill.");if(e=this.ruleDate,t=this._nextRecurrenceIter(this.last),!e&&!t){this.complete=!0;break}if((!e||t&&e.compare(t.last)>0)&&(e=t.last.clone(),t.next()),this.ruleDate===e&&this._nextRuleDay(),this.last=e,!this.exDate||((r=this.exDate.compare(this.last))<0&&this._nextExDay(),0!==r))return this.last;this._nextExDay()}},toJSON:function(){function t(t){return t.toJSON()}var e=Object.create(null);return e.ruleIterators=this.ruleIterators.map(t),this.ruleDates&&(e.ruleDates=this.ruleDates.map(t)),this.exDates&&(e.exDates=this.exDates.map(t)),e.ruleDateInc=this.ruleDateInc,e.exDateInc=this.exDateInc,e.last=this.last.toJSON(),e.dtstart=this.dtstart.toJSON(),e.complete=this.complete,e},_extractDates:function(t,n){function i(t){a=e.helpers.binsearchInsert(s,t,r),s.splice(a,0,t)}for(var a,s=[],o=t.getAllProperties(n),u=o.length,l=0;l<u;l++)o[l].getValues().forEach(i);return s},_init:function(t){if(this.ruleIterators=[],this.last=this.dtstart.clone(),!function(t){return t.hasProperty("rdate")||t.hasProperty("rrule")||t.hasProperty("recurrence-id")}(t))return this.ruleDate=this.last.clone(),void(this.complete=!0);if(t.hasProperty("rdate")&&(this.ruleDates=this._extractDates(t,"rdate"),this.ruleDates[0]&&this.ruleDates[0].compare(this.dtstart)<0?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=e.helpers.binsearchInsert(this.ruleDates,this.last,r),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.hasProperty("rrule"))for(var n,i=t.getAllProperties("rrule"),a=0,s=i.length;a<s;a++)n=i[a].getFirstValue().iterator(this.dtstart),this.ruleIterators.push(n),n.next();t.hasProperty("exdate")&&(this.exDates=this._extractDates(t,"exdate"),this.exDateInc=e.helpers.binsearchInsert(this.exDates,this.last,r),this.exDate=this.exDates[this.exDateInc])},_nextExDay:function(){this.exDate=this.exDates[++this.exDateInc]},_nextRuleDay:function(){this.ruleDate=this.ruleDates[++this.ruleDateInc]},_nextRecurrenceIter:function(){var t=this.ruleIterators;if(0===t.length)return null;for(var e,r,n,i=t.length,a=0;a<i;a++)r=(e=t[a]).last,e.completed?(i--,0!==a&&a--,t.splice(a,1)):(!n||n.last.compare(r)>0)&&(n=e);return n}},n}(),e.Event=function(){function t(t,r){t instanceof e.Component||(r=t,t=null),this.component=t||new e.Component("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],r&&r.strictExceptions&&(this.strictExceptions=r.strictExceptions),r&&r.exceptions?r.exceptions.forEach(this.relateException,this):this.component.parent&&!this.isRecurrenceException()&&this.component.parent.getAllSubcomponents("vevent").forEach((function(t){t.hasProperty("recurrence-id")&&this.relateException(t)}),this)}function r(t,e){return t[0]>e[0]?1:e[0]>t[0]?-1:0}return t.prototype={THISANDFUTURE:"THISANDFUTURE",exceptions:null,strictExceptions:!1,relateException:function(t){if(this.isRecurrenceException())throw new Error("cannot relate exception to exceptions");if(t instanceof e.Component&&(t=new e.Event(t)),this.strictExceptions&&t.uid!==this.uid)throw new Error("attempted to relate unrelated exception");var n=t.recurrenceId.toString();if(this.exceptions[n]=t,t.modifiesFuture()){var i=[t.recurrenceId.toUnixTime(),n],a=e.helpers.binsearchInsert(this.rangeExceptions,i,r);this.rangeExceptions.splice(a,0,i)}},modifiesFuture:function(){return!!this.component.hasProperty("recurrence-id")&&this.component.getFirstProperty("recurrence-id").getParameter("range")===this.THISANDFUTURE},findRangeException:function(t){if(!this.rangeExceptions.length)return null;var n=t.toUnixTime(),i=e.helpers.binsearchInsert(this.rangeExceptions,[n],r);if((i-=1)<0)return null;var a=this.rangeExceptions[i];return n<a[0]?null:a[1]},getOccurrenceDetails:function(t){var r,n=t.toString(),i=t.convertToZone(e.Timezone.utcTimezone).toString(),a={recurrenceId:t};if(n in this.exceptions)r=a.item=this.exceptions[n],a.startDate=r.startDate,a.endDate=r.endDate,a.item=r;else if(i in this.exceptions)r=this.exceptions[i],a.startDate=r.startDate,a.endDate=r.endDate,a.item=r;else{var s,o=this.findRangeException(t);if(o){var u=this.exceptions[o];a.item=u;var l=this._rangeExceptionCache[o];if(!l){var c=u.recurrenceId.clone(),d=u.startDate.clone();c.zone=d.zone,l=d.subtractDate(c),this._rangeExceptionCache[o]=l}var f=t.clone();f.zone=u.startDate.zone,f.addDuration(l),(s=f.clone()).addDuration(u.duration),a.startDate=f,a.endDate=s}else(s=t.clone()).addDuration(this.duration),a.endDate=s,a.startDate=t,a.item=this}return a},iterator:function(t){return new e.RecurExpansion({component:this.component,dtstart:t||this.startDate})},isRecurring:function(){var t=this.component;return t.hasProperty("rrule")||t.hasProperty("rdate")},isRecurrenceException:function(){return this.component.hasProperty("recurrence-id")},getRecurrenceTypes:function(){for(var t=this.component.getAllProperties("rrule"),e=0,r=t.length,n=Object.create(null);e<r;e++)n[t[e].getFirstValue().freq]=!0;return n},get uid(){return this._firstProp("uid")},set uid(t){this._setProp("uid",t)},get startDate(){return this._firstProp("dtstart")},set startDate(t){this._setTime("dtstart",t)},get endDate(){var t=this._firstProp("dtend");if(!t){var e=this._firstProp("duration");t=this.startDate.clone(),e?t.addDuration(e):t.isDate&&(t.day+=1)}return t},set endDate(t){this.component.hasProperty("duration")&&this.component.removeProperty("duration"),this._setTime("dtend",t)},get duration(){return this._firstProp("duration")||this.endDate.subtractDateTz(this.startDate)},set duration(t){this.component.hasProperty("dtend")&&this.component.removeProperty("dtend"),this._setProp("duration",t)},get location(){return this._firstProp("location")},set location(t){return this._setProp("location",t)},get attendees(){return this.component.getAllProperties("attendee")},get summary(){return this._firstProp("summary")},set summary(t){this._setProp("summary",t)},get description(){return this._firstProp("description")},set description(t){this._setProp("description",t)},get color(){return this._firstProp("color")},set color(t){this._setProp("color",t)},get organizer(){return this._firstProp("organizer")},set organizer(t){this._setProp("organizer",t)},get sequence(){return this._firstProp("sequence")},set sequence(t){this._setProp("sequence",t)},get recurrenceId(){return this._firstProp("recurrence-id")},set recurrenceId(t){this._setTime("recurrence-id",t)},_setTime:function(t,r){var n=this.component.getFirstProperty(t);n||(n=new e.Property(t),this.component.addProperty(n)),r.zone===e.Timezone.localTimezone||r.zone===e.Timezone.utcTimezone?n.removeParameter("tzid"):n.setParameter("tzid",r.zone.tzid),n.setValue(r)},_setProp:function(t,e){this.component.updatePropertyWithValue(t,e)},_firstProp:function(t){return this.component.getFirstPropertyValue(t)},toString:function(){return this.component.toString()}},t}(),e.ComponentParser=function(){function t(t){var e;for(e in typeof t>"u"&&(t={}),t)t.hasOwnProperty(e)&&(this[e]=t[e])}return t.prototype={parseEvent:!0,parseTimezone:!0,oncomplete:function(){},onerror:function(t){},ontimezone:function(t){},onevent:function(t){},process:function(t){"string"==typeof t&&(t=e.parse(t)),t instanceof e.Component||(t=new e.Component(t));for(var r,n=t.getAllSubcomponents(),i=0,a=n.length;i<a;i++)switch(r=n[i],r.name){case"vtimezone":if(this.parseTimezone){var s=r.getFirstPropertyValue("tzid");s&&this.ontimezone(new e.Timezone({tzid:s,component:r}))}break;case"vevent":this.parseEvent&&this.onevent(new e.Event(r));break;default:continue}this.oncomplete()}},t}()}(nt);var it=nt.exports;let at;const st=new Uint8Array(16);function ot(){if(!at&&(at=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!at))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return at(st)}const ut=[];for(let t=0;t<256;++t)ut.push((t+256).toString(16).slice(1));const lt={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ct(t,e,r){if(lt.randomUUID&&!e&&!t)return lt.randomUUID();const n=(t=t||{}).random||(t.rng||ot)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(let t=0;t<16;++t)e[r+t]=n[t];return e}return function(t,e=0){return ut[t[e+0]]+ut[t[e+1]]+ut[t[e+2]]+ut[t[e+3]]+"-"+ut[t[e+4]]+ut[t[e+5]]+"-"+ut[t[e+6]]+ut[t[e+7]]+"-"+ut[t[e+8]]+ut[t[e+9]]+"-"+ut[t[e+10]]+ut[t[e+11]]+ut[t[e+12]]+ut[t[e+13]]+ut[t[e+14]]+ut[t[e+15]]}(n)}var dt={},ft=function(t){return t&&t.Math===Math&&t},ht=ft("object"==typeof globalThis&&globalThis)||ft("object"==typeof window&&window)||ft("object"==typeof self&&self)||ft("object"==typeof q&&q)||function(){return this}()||q||Function("return this")(),pt={},mt=function(t){try{return!!t()}catch{return!0}},yt=!mt((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),vt=!mt((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),Tt=vt,gt=Function.prototype.call,At=Tt?gt.bind(gt):function(){return gt.apply(gt,arguments)},bt={},St={}.propertyIsEnumerable,Et=Object.getOwnPropertyDescriptor,_t=Et&&!St.call({1:2},1);bt.f=_t?function(t){var e=Et(this,t);return!!e&&e.enumerable}:St;var Dt,Ct,Ot=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},wt=vt,xt=Function.prototype,It=xt.call,Nt=wt&&xt.bind.bind(It,It),Ut=wt?Nt:function(t){return function(){return It.apply(t,arguments)}},Mt=Ut,Lt=Mt({}.toString),Pt=Mt("".slice),Yt=function(t){return Pt(Lt(t),8,-1)},kt=mt,Rt=Yt,Bt=Object,jt=Ut("".split),zt=kt((function(){return!Bt("z").propertyIsEnumerable(0)}))?function(t){return"String"===Rt(t)?jt(t,""):Bt(t)}:Bt,Ft=function(t){return null==t},Wt=Ft,$t=TypeError,Vt=function(t){if(Wt(t))throw new $t("Can't call method on "+t);return t},Ht=zt,Gt=Vt,Zt=function(t){return Ht(Gt(t))},Kt="object"==typeof document&&document.all,qt={all:Kt,IS_HTMLDDA:typeof Kt>"u"&&void 0!==Kt},Xt=qt.all,Jt=qt.IS_HTMLDDA?function(t){return"function"==typeof t||t===Xt}:function(t){return"function"==typeof t},Qt=Jt,te=qt.all,ee=qt.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Qt(t)||t===te}:function(t){return"object"==typeof t?null!==t:Qt(t)},re=ht,ne=Jt,ie=function(t,e){return arguments.length<2?function(t){return ne(t)?t:void 0}(re[t]):re[t]&&re[t][e]},ae=Ut({}.isPrototypeOf),se=ht,oe=typeof navigator<"u"&&String(navigator.userAgent)||"",ue=se.process,le=se.Deno,ce=ue&&ue.versions||le&&le.version,de=ce&&ce.v8;de&&(Ct=(Dt=de.split("."))[0]>0&&Dt[0]<4?1:+(Dt[0]+Dt[1])),!Ct&&oe&&(!(Dt=oe.match(/Edge\/(\d+)/))||Dt[1]>=74)&&(Dt=oe.match(/Chrome\/(\d+)/))&&(Ct=+Dt[1]);var fe=Ct,he=mt,pe=ht.String,me=!!Object.getOwnPropertySymbols&&!he((function(){var t=Symbol("symbol detection");return!pe(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&fe&&fe<41})),ye=me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=ie,Te=Jt,ge=ae,Ae=Object,be=ye?function(t){return"symbol"==typeof t}:function(t){var e=ve("Symbol");return Te(e)&&ge(e.prototype,Ae(t))},Se=String,Ee=function(t){try{return Se(t)}catch{return"Object"}},_e=Jt,De=Ee,Ce=TypeError,Oe=function(t){if(_e(t))return t;throw new Ce(De(t)+" is not a function")},we=Oe,xe=Ft,Ie=At,Ne=Jt,Ue=ee,Me=TypeError,Le=function(t,e){var r,n;if("string"===e&&Ne(r=t.toString)&&!Ue(n=Ie(r,t))||Ne(r=t.valueOf)&&!Ue(n=Ie(r,t))||"string"!==e&&Ne(r=t.toString)&&!Ue(n=Ie(r,t)))return n;throw new Me("Can't convert object to primitive value")},Pe={exports:{}},Ye=ht,ke=Object.defineProperty,Re=function(t,e){try{ke(Ye,t,{value:e,configurable:!0,writable:!0})}catch{Ye[t]=e}return e},Be=Re,je="__core-js_shared__",ze=ht[je]||Be(je,{}),Fe=ze;(Pe.exports=function(t,e){return Fe[t]||(Fe[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"});var We=Pe.exports,$e=Vt,Ve=Object,He=function(t){return Ve($e(t))},Ge=He,Ze=Ut({}.hasOwnProperty),Ke=Object.hasOwn||function(t,e){return Ze(Ge(t),e)},qe=Ut,Xe=0,Je=Math.random(),Qe=qe(1..toString),tr=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Qe(++Xe+Je,36)},er=We,rr=Ke,nr=tr,ir=me,ar=ye,sr=ht.Symbol,or=er("wks"),ur=ar?sr.for||sr:sr&&sr.withoutSetter||nr,lr=function(t){return rr(or,t)||(or[t]=ir&&rr(sr,t)?sr[t]:ur("Symbol."+t)),or[t]},cr=At,dr=ee,fr=be,hr=Le,pr=TypeError,mr=lr("toPrimitive"),yr=function(t,e){if(!dr(t)||fr(t))return t;var r,n=function(t,e){var r=t[e];return xe(r)?void 0:we(r)}(t,mr);if(n){if(void 0===e&&(e="default"),r=cr(n,t,e),!dr(r)||fr(r))return r;throw new pr("Can't convert object to primitive value")}return void 0===e&&(e="number"),hr(t,e)},vr=yr,Tr=be,gr=function(t){var e=vr(t,"string");return Tr(e)?e:e+""},Ar=ee,br=ht.document,Sr=Ar(br)&&Ar(br.createElement),Er=function(t){return Sr?br.createElement(t):{}},_r=Er,Dr=!yt&&!mt((function(){return 7!==Object.defineProperty(_r("div"),"a",{get:function(){return 7}}).a})),Cr=yt,Or=At,wr=bt,xr=Ot,Ir=Zt,Nr=gr,Ur=Ke,Mr=Dr,Lr=Object.getOwnPropertyDescriptor;pt.f=Cr?Lr:function(t,e){if(t=Ir(t),e=Nr(e),Mr)try{return Lr(t,e)}catch{}if(Ur(t,e))return xr(!Or(wr.f,t,e),t[e])};var Pr={},Yr=yt&&mt((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),kr=ee,Rr=String,Br=TypeError,jr=function(t){if(kr(t))return t;throw new Br(Rr(t)+" is not an object")},zr=yt,Fr=Dr,Wr=Yr,$r=jr,Vr=gr,Hr=TypeError,Gr=Object.defineProperty,Zr=Object.getOwnPropertyDescriptor,Kr="enumerable",qr="configurable",Xr="writable";Pr.f=zr?Wr?function(t,e,r){if($r(t),e=Vr(e),$r(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Xr in r&&!r[Xr]){var n=Zr(t,e);n&&n[Xr]&&(t[e]=r.value,r={configurable:qr in r?r[qr]:n[qr],enumerable:Kr in r?r[Kr]:n[Kr],writable:!1})}return Gr(t,e,r)}:Gr:function(t,e,r){if($r(t),e=Vr(e),$r(r),Fr)try{return Gr(t,e,r)}catch{}if("get"in r||"set"in r)throw new Hr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Jr=Pr,Qr=Ot,tn=yt?function(t,e,r){return Jr.f(t,e,Qr(1,r))}:function(t,e,r){return t[e]=r,t},en={exports:{}},rn=yt,nn=Ke,an=Function.prototype,sn=rn&&Object.getOwnPropertyDescriptor,on=nn(an,"name"),un={EXISTS:on,PROPER:on&&"something"===function(){}.name,CONFIGURABLE:on&&(!rn||rn&&sn(an,"name").configurable)},ln=Jt,cn=ze,dn=Ut(Function.toString);ln(cn.inspectSource)||(cn.inspectSource=function(t){return dn(t)});var fn,hn,pn,mn=cn.inspectSource,yn=Jt,vn=ht.WeakMap,Tn=yn(vn)&&/native code/.test(String(vn)),gn=tr,An=We("keys"),bn=function(t){return An[t]||(An[t]=gn(t))},Sn={},En=Tn,_n=ht,Dn=ee,Cn=tn,On=Ke,wn=ze,xn=bn,In=Sn,Nn="Object already initialized",Un=_n.TypeError,Mn=_n.WeakMap;if(En||wn.state){var Ln=wn.state||(wn.state=new Mn);Ln.get=Ln.get,Ln.has=Ln.has,Ln.set=Ln.set,fn=function(t,e){if(Ln.has(t))throw new Un(Nn);return e.facade=t,Ln.set(t,e),e},hn=function(t){return Ln.get(t)||{}},pn=function(t){return Ln.has(t)}}else{var Pn=xn("state");In[Pn]=!0,fn=function(t,e){if(On(t,Pn))throw new Un(Nn);return e.facade=t,Cn(t,Pn,e),e},hn=function(t){return On(t,Pn)?t[Pn]:{}},pn=function(t){return On(t,Pn)}}var Yn={set:fn,get:hn,has:pn,enforce:function(t){return pn(t)?hn(t):fn(t,{})},getterFor:function(t){return function(e){var r;if(!Dn(e)||(r=hn(e)).type!==t)throw new Un("Incompatible receiver, "+t+" required");return r}}},kn=Ut,Rn=mt,Bn=Jt,jn=Ke,zn=yt,Fn=un.CONFIGURABLE,Wn=mn,$n=Yn.enforce,Vn=Yn.get,Hn=String,Gn=Object.defineProperty,Zn=kn("".slice),Kn=kn("".replace),qn=kn([].join),Xn=zn&&!Rn((function(){return 8!==Gn((function(){}),"length",{value:8}).length})),Jn=String(String).split("String"),Qn=en.exports=function(t,e,r){"Symbol("===Zn(Hn(e),0,7)&&(e="["+Kn(Hn(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!jn(t,"name")||Fn&&t.name!==e)&&(zn?Gn(t,"name",{value:e,configurable:!0}):t.name=e),Xn&&r&&jn(r,"arity")&&t.length!==r.arity&&Gn(t,"length",{value:r.arity});try{r&&jn(r,"constructor")&&r.constructor?zn&&Gn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var n=$n(t);return jn(n,"source")||(n.source=qn(Jn,"string"==typeof e?e:"")),t};Function.prototype.toString=Qn((function(){return Bn(this)&&Vn(this).source||Wn(this)}),"toString");var ti=en.exports,ei=Jt,ri=Pr,ni=ti,ii=Re,ai=function(t,e,r,n){n||(n={});var i=n.enumerable,a=void 0!==n.name?n.name:e;if(ei(r)&&ni(r,a,n),n.global)i?t[e]=r:ii(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch{}i?t[e]=r:ri.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},si={},oi=Math.ceil,ui=Math.floor,li=Math.trunc||function(t){var e=+t;return(e>0?ui:oi)(e)},ci=function(t){var e=+t;return e!=e||0===e?0:li(e)},di=ci,fi=Math.max,hi=Math.min,pi=function(t,e){var r=di(t);return r<0?fi(r+e,0):hi(r,e)},mi=ci,yi=Math.min,vi=function(t){return function(t){return t>0?yi(mi(t),9007199254740991):0}(t.length)},Ti=Zt,gi=pi,Ai=vi,bi=function(t){return function(e,r,n){var i,a=Ti(e),s=Ai(a),o=gi(n,s);if(t&&r!=r){for(;s>o;)if((i=a[o++])!=i)return!0}else for(;s>o;o++)if((t||o in a)&&a[o]===r)return t||o||0;return!t&&-1}},Si={includes:bi(!0),indexOf:bi(!1)},Ei=Ke,_i=Zt,Di=Si.indexOf,Ci=Sn,Oi=Ut([].push),wi=function(t,e){var r,n=_i(t),i=0,a=[];for(r in n)!Ei(Ci,r)&&Ei(n,r)&&Oi(a,r);for(;e.length>i;)Ei(n,r=e[i++])&&(~Di(a,r)||Oi(a,r));return a},xi=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ii=wi,Ni=xi.concat("length","prototype");si.f=Object.getOwnPropertyNames||function(t){return Ii(t,Ni)};var Ui={};Ui.f=Object.getOwnPropertySymbols;var Mi=ie,Li=si,Pi=Ui,Yi=jr,ki=Ut([].concat),Ri=Mi("Reflect","ownKeys")||function(t){var e=Li.f(Yi(t)),r=Pi.f;return r?ki(e,r(t)):e},Bi=Ke,ji=Ri,zi=pt,Fi=Pr,Wi=function(t,e,r){for(var n=ji(e),i=Fi.f,a=zi.f,s=0;s<n.length;s++){var o=n[s];!Bi(t,o)&&(!r||!Bi(r,o))&&i(t,o,a(e,o))}},$i=mt,Vi=Jt,Hi=/#|\.prototype\./,Gi=function(t,e){var r=Ki[Zi(t)];return r===Xi||r!==qi&&(Vi(e)?$i(e):!!e)},Zi=Gi.normalize=function(t){return String(t).replace(Hi,".").toLowerCase()},Ki=Gi.data={},qi=Gi.NATIVE="N",Xi=Gi.POLYFILL="P",Ji=Gi,Qi=ht,ta=pt.f,ea=tn,ra=ai,na=Re,ia=Wi,aa=Ji,sa=function(t,e){var r,n,i,a,s,o=t.target,u=t.global,l=t.stat;if(r=u?Qi:l?Qi[o]||na(o,{}):(Qi[o]||{}).prototype)for(n in e){if(a=e[n],i=t.dontCallGetSet?(s=ta(r,n))&&s.value:r[n],!aa(u?n:o+(l?".":"#")+n,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;ia(a,i)}(t.sham||i&&i.sham)&&ea(a,"sham",!0),ra(r,n,a,t)}},oa=sa,ua=yt,la=Pr.f;oa({target:"Object",stat:!0,forced:Object.defineProperty!==la,sham:!ua},{defineProperty:la});var ca={},da=ht,fa={},ha=lr;fa.f=ha;var pa=da,ma=Ke,ya=fa,va=Pr.f,Ta=function(t){var e=pa.Symbol||(pa.Symbol={});ma(e,t)||va(e,t,{value:ya.f(t)})};Ta("iterator");var ga={},Aa=wi,ba=xi,Sa=Object.keys||function(t){return Aa(t,ba)},Ea=yt,_a=Yr,Da=Pr,Ca=jr,Oa=Zt,wa=Sa;ga.f=Ea&&!_a?Object.defineProperties:function(t,e){Ca(t);for(var r,n=Oa(e),i=wa(e),a=i.length,s=0;a>s;)Da.f(t,r=i[s++],n[r]);return t};var xa,Ia=ie("document","documentElement"),Na=jr,Ua=ga,Ma=xi,La=Sn,Pa=Ia,Ya=Er,ka="prototype",Ra="script",Ba=bn("IE_PROTO"),ja=function(){},za=function(t){return"<"+Ra+">"+t+"</"+Ra+">"},Fa=function(t){t.write(za("")),t.close();var e=t.parentWindow.Object;return t=null,e},Wa=function(){try{xa=new ActiveXObject("htmlfile")}catch{}Wa=typeof document<"u"?document.domain&&xa?Fa(xa):function(){var t,e=Ya("iframe"),r="java"+Ra+":";return e.style.display="none",Pa.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(za("document.F=Object")),t.close(),t.F}():Fa(xa);for(var t=Ma.length;t--;)delete Wa[ka][Ma[t]];return Wa()};La[Ba]=!0;var $a=Object.create||function(t,e){var r;return null!==t?(ja[ka]=Na(t),r=new ja,ja[ka]=null,r[Ba]=t):r=Wa(),void 0===e?r:Ua.f(r,e)},Va=lr,Ha=$a,Ga=Pr.f,Za=Va("unscopables"),Ka=Array.prototype;void 0===Ka[Za]&&Ga(Ka,Za,{configurable:!0,value:Ha(null)});var qa,Xa,Ja,Qa={},ts=!mt((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),es=Ke,rs=Jt,ns=He,is=ts,as=bn("IE_PROTO"),ss=Object,os=ss.prototype,us=is?ss.getPrototypeOf:function(t){var e=ns(t);if(es(e,as))return e[as];var r=e.constructor;return rs(r)&&e instanceof r?r.prototype:e instanceof ss?os:null},ls=mt,cs=Jt,ds=ee,fs=us,hs=ai,ps=lr("iterator"),ms=!1;[].keys&&("next"in(Ja=[].keys())?(Xa=fs(fs(Ja)))!==Object.prototype&&(qa=Xa):ms=!0);var ys=!ds(qa)||ls((function(){var t={};return qa[ps].call(t)!==t}));ys&&(qa={}),cs(qa[ps])||hs(qa,ps,(function(){return this}));var vs={IteratorPrototype:qa,BUGGY_SAFARI_ITERATORS:ms},Ts=Pr.f,gs=Ke,As=lr("toStringTag"),bs=function(t,e,r){t&&!r&&(t=t.prototype),t&&!gs(t,As)&&Ts(t,As,{configurable:!0,value:e})},Ss=vs.IteratorPrototype,Es=$a,_s=Ot,Ds=bs,Cs=Qa,Os=function(){return this},ws=Ut,xs=Oe,Is=Jt,Ns=String,Us=TypeError,Ms=jr,Ls=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=function(t,e,r){try{return ws(xs(Object.getOwnPropertyDescriptor(t,e)[r]))}catch{}}(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch{}return function(r,n){return Ms(r),function(t){if("object"==typeof t||Is(t))return t;throw new Us("Can't set "+Ns(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Ps=sa,Ys=At,ks=Jt,Rs=us,Bs=Ls,js=bs,zs=tn,Fs=ai,Ws=Qa,$s=un.PROPER,Vs=un.CONFIGURABLE,Hs=vs.IteratorPrototype,Gs=vs.BUGGY_SAFARI_ITERATORS,Zs=lr("iterator"),Ks="keys",qs="values",Xs="entries",Js=function(){return this},Qs=function(t,e,r,n,i,a,s){!function(t,e,r,n){var i=e+" Iterator";t.prototype=Es(Ss,{next:_s(+!n,r)}),Ds(t,i,!1),Cs[i]=Os}(r,e,n);var o,u,l,c=function(t){if(t===i&&m)return m;if(!Gs&&t&&t in h)return h[t];switch(t){case Ks:case qs:case Xs:return function(){return new r(this,t)}}return function(){return new r(this)}},d=e+" Iterator",f=!1,h=t.prototype,p=h[Zs]||h["@@iterator"]||i&&h[i],m=!Gs&&p||c(i),y="Array"===e&&h.entries||p;if(y&&(o=Rs(y.call(new t)))!==Object.prototype&&o.next&&(Rs(o)!==Hs&&(Bs?Bs(o,Hs):ks(o[Zs])||Fs(o,Zs,Js)),js(o,d,!0)),$s&&i===qs&&p&&p.name!==qs&&(Vs?zs(h,"name",qs):(f=!0,m=function(){return Ys(p,this)})),i)if(u={values:c(qs),keys:a?m:c(Ks),entries:c(Xs)},s)for(l in u)(Gs||f||!(l in h))&&Fs(h,l,u[l]);else Ps({target:e,proto:!0,forced:Gs||f},u);return h[Zs]!==m&&Fs(h,Zs,m,{name:i}),Ws[e]=m,u},to=function(t,e){return{value:t,done:e}},eo=Zt,ro=function(t){Ka[Za][t]=!0},no=Qa,io=Yn,ao=Pr.f,so=Qs,oo=to,uo=yt,lo="Array Iterator",co=io.set,fo=io.getterFor(lo),ho=so(Array,"Array",(function(t,e){co(this,{type:lo,target:eo(t),index:0,kind:e})}),(function(){var t=fo(this),e=t.target,r=t.kind,n=t.index++;if(!e||n>=e.length)return t.target=void 0,oo(void 0,!0);switch(r){case"keys":return oo(n,!1);case"values":return oo(e[n],!1)}return oo([n,e[n]],!1)}),"values"),po=no.Arguments=no.Array;if(ro("keys"),ro("values"),ro("entries"),uo&&"values"!==po.name)try{ao(po,"name",{value:"values"})}catch{}var mo={};mo[lr("toStringTag")]="z";var yo="[object z]"===String(mo),vo=yo,To=Jt,go=Yt,Ao=lr("toStringTag"),bo=Object,So="Arguments"===go(function(){return arguments}()),Eo=vo?go:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch{}}(e=bo(t),Ao))?r:So?go(e):"Object"===(n=go(e))&&To(e.callee)?"Arguments":n},_o=Eo,Do=String,Co=function(t){if("Symbol"===_o(t))throw new TypeError("Cannot convert a Symbol value to a string");return Do(t)},Oo=Ut,wo=ci,xo=Co,Io=Vt,No=Oo("".charAt),Uo=Oo("".charCodeAt),Mo=Oo("".slice),Lo=function(t){return function(e,r){var n,i,a=xo(Io(e)),s=wo(r),o=a.length;return s<0||s>=o?t?"":void 0:(n=Uo(a,s))<55296||n>56319||s+1===o||(i=Uo(a,s+1))<56320||i>57343?t?No(a,s):n:t?Mo(a,s,s+2):i-56320+(n-55296<<10)+65536}},Po=(Lo(!1),Lo(!0)),Yo=Co,ko=Yn,Ro=Qs,Bo=to,jo="String Iterator",zo=ko.set,Fo=ko.getterFor(jo);Ro(String,"String",(function(t){zo(this,{type:jo,string:Yo(t),index:0})}),(function(){var t,e=Fo(this),r=e.string,n=e.index;return n>=r.length?Bo(void 0,!0):(t=Po(r,n),e.index+=t.length,Bo(t,!1))}));var Wo=Er("span").classList,$o=Wo&&Wo.constructor&&Wo.constructor.prototype,Vo=$o===Object.prototype?void 0:$o,Ho=ht,Go={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Zo=Vo,Ko=ho,qo=tn,Xo=lr,Jo=Xo("iterator"),Qo=Xo("toStringTag"),tu=Ko.values,eu=function(t,e){if(t){if(t[Jo]!==tu)try{qo(t,Jo,tu)}catch{t[Jo]=tu}if(t[Qo]||qo(t,Qo,e),Go[e])for(var r in Ko)if(t[r]!==Ko[r])try{qo(t,r,Ko[r])}catch{t[r]=Ko[r]}}};for(var ru in Go)eu(Ho[ru]&&Ho[ru].prototype,ru);eu(Zo,"DOMTokenList");var nu=yt,iu=Ut,au=At,su=mt,ou=Sa,uu=Ui,lu=bt,cu=He,du=zt,fu=Object.assign,hu=Object.defineProperty,pu=iu([].concat),mu=!fu||su((function(){if(nu&&1!==fu({b:1},fu(hu({},"a",{enumerable:!0,get:function(){hu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!==fu({},t)[r]||ou(fu({},e)).join("")!==n}))?function(t,e){for(var r=cu(t),n=arguments.length,i=1,a=uu.f,s=lu.f;n>i;)for(var o,u=du(arguments[i++]),l=a?pu(ou(u),a(u)):ou(u),c=l.length,d=0;c>d;)o=l[d++],(!nu||au(s,u,o))&&(r[o]=u[o]);return r}:fu,yu=mu;sa({target:"Object",stat:!0,arity:2,forced:Object.assign!==yu},{assign:yu});var vu=At,Tu=ie,gu=lr,Au=ai,bu=function(){var t=Tu("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=gu("toPrimitive");e&&!e[n]&&Au(e,n,(function(t){return vu(r,this)}),{arity:1})},Su=bu;Ta("toPrimitive"),Su();var Eu=jr,_u=Le,Du=TypeError,Cu=Ke,Ou=ai,wu=lr("toPrimitive"),xu=Date.prototype;Cu(xu,wu)||Ou(xu,wu,(function(t){if(Eu(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new Du("Incorrect hint");return _u(this,t)}));var Iu={},Nu=gr,Uu=Pr,Mu=Ot,Lu=pi,Pu=vi,Yu=function(t,e,r){var n=Nu(e);n in t?Uu.f(t,n,Mu(0,r)):t[n]=r},ku=Array,Ru=Math.max,Bu=Yt,ju=Zt,zu=si.f,Fu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Iu.f=function(t){return Fu&&"Window"===Bu(t)?function(t){try{return zu(t)}catch{return function(t,e,r){for(var n=Pu(t),i=Lu(e,n),a=Lu(void 0===r?n:r,n),s=ku(Ru(a-i,0)),o=0;i<a;i++,o++)Yu(s,o,t[i]);return s.length=o,s}(Fu)}}(t):zu(ju(t))};var Wu=ti,$u=Pr,Vu=function(t,e,r){return r.get&&Wu(r.get,e,{getter:!0}),r.set&&Wu(r.set,e,{setter:!0}),$u.f(t,e,r)},Hu=Yt,Gu=Ut,Zu=function(t){if("Function"===Hu(t))return Gu(t)},Ku=Oe,qu=vt,Xu=Zu(Zu.bind),Ju=Yt,Qu=Array.isArray||function(t){return"Array"===Ju(t)},tl=Ut,el=mt,rl=Jt,nl=Eo,il=mn,al=function(){},sl=[],ol=ie("Reflect","construct"),ul=/^\s*(?:class|function)\b/,ll=tl(ul.exec),cl=!ul.test(al),dl=function(t){if(!rl(t))return!1;try{return ol(al,sl,t),!0}catch{return!1}},fl=function(t){if(!rl(t))return!1;switch(nl(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return cl||!!ll(ul,il(t))}catch{return!0}};fl.sham=!0;var hl=!ol||el((function(){var t;return dl(dl.call)||!dl(Object)||!dl((function(){t=!0}))||t}))?fl:dl,pl=Qu,ml=hl,yl=ee,vl=lr("species"),Tl=Array,gl=zt,Al=He,bl=vi,Sl=function(t,e){return new(function(t){var e;return pl(t)&&(e=t.constructor,(ml(e)&&(e===Tl||pl(e.prototype))||yl(e)&&null===(e=e[vl]))&&(e=void 0)),void 0===e?Tl:e}(t))(0===e?0:e)},El=Ut([].push),_l=function(t){var e=1===t,r=2===t,n=3===t,i=4===t,a=6===t,s=7===t,o=5===t||a;return function(u,l,c,d){for(var f,h,p=Al(u),m=gl(p),y=function(t,e){return Ku(t),void 0===e?t:qu?Xu(t,e):function(){return t.apply(e,arguments)}}(l,c),v=bl(m),T=0,g=d||Sl,A=e?g(u,v):r||s?g(u,0):void 0;v>T;T++)if((o||T in m)&&(h=y(f=m[T],T,p),t))if(e)A[T]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return T;case 2:El(A,f)}else switch(t){case 4:return!1;case 7:El(A,f)}return a?-1:n||i?i:A}},Dl={forEach:_l(0),map:_l(1),filter:_l(2),some:_l(3),every:_l(4),find:_l(5),findIndex:_l(6),filterReject:_l(7)},Cl=sa,Ol=ht,wl=At,xl=Ut,Il=yt,Nl=me,Ul=mt,Ml=Ke,Ll=ae,Pl=jr,Yl=Zt,kl=gr,Rl=Co,Bl=Ot,jl=$a,zl=Sa,Fl=si,Wl=Iu,$l=Ui,Vl=pt,Hl=Pr,Gl=ga,Zl=bt,Kl=ai,ql=Vu,Xl=We,Jl=Sn,Ql=tr,tc=lr,ec=fa,rc=Ta,nc=bu,ic=bs,ac=Yn,sc=Dl.forEach,oc=bn("hidden"),uc="Symbol",lc="prototype",cc=ac.set,dc=ac.getterFor(uc),fc=Object[lc],hc=Ol.Symbol,pc=hc&&hc[lc],mc=Ol.RangeError,yc=Ol.TypeError,vc=Ol.QObject,Tc=Vl.f,gc=Hl.f,Ac=Wl.f,bc=Zl.f,Sc=xl([].push),Ec=Xl("symbols"),_c=Xl("op-symbols"),Dc=Xl("wks"),Cc=!vc||!vc[lc]||!vc[lc].findChild,Oc=function(t,e,r){var n=Tc(fc,e);n&&delete fc[e],gc(t,e,r),n&&t!==fc&&gc(fc,e,n)},wc=Il&&Ul((function(){return 7!==jl(gc({},"a",{get:function(){return gc(this,"a",{value:7}).a}})).a}))?Oc:gc,xc=function(t,e){var r=Ec[t]=jl(pc);return cc(r,{type:uc,tag:t,description:e}),Il||(r.description=e),r},Ic=function(t,e,r){t===fc&&Ic(_c,e,r),Pl(t);var n=kl(e);return Pl(r),Ml(Ec,n)?(r.enumerable?(Ml(t,oc)&&t[oc][n]&&(t[oc][n]=!1),r=jl(r,{enumerable:Bl(0,!1)})):(Ml(t,oc)||gc(t,oc,Bl(1,{})),t[oc][n]=!0),wc(t,n,r)):gc(t,n,r)},Nc=function(t,e){Pl(t);var r=Yl(e),n=zl(r).concat(Pc(r));return sc(n,(function(e){(!Il||wl(Uc,r,e))&&Ic(t,e,r[e])})),t},Uc=function(t){var e=kl(t),r=wl(bc,this,e);return!(this===fc&&Ml(Ec,e)&&!Ml(_c,e))&&(!(r||!Ml(this,e)||!Ml(Ec,e)||Ml(this,oc)&&this[oc][e])||r)},Mc=function(t,e){var r=Yl(t),n=kl(e);if(r!==fc||!Ml(Ec,n)||Ml(_c,n)){var i=Tc(r,n);return i&&Ml(Ec,n)&&!(Ml(r,oc)&&r[oc][n])&&(i.enumerable=!0),i}},Lc=function(t){var e=Ac(Yl(t)),r=[];return sc(e,(function(t){!Ml(Ec,t)&&!Ml(Jl,t)&&Sc(r,t)})),r},Pc=function(t){var e=t===fc,r=Ac(e?_c:Yl(t)),n=[];return sc(r,(function(t){Ml(Ec,t)&&(!e||Ml(fc,t))&&Sc(n,Ec[t])})),n};Nl||(Kl(pc=(hc=function(){if(Ll(pc,this))throw new yc("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Rl(arguments[0]):void 0,e=Ql(t),r=function(t){this===fc&&wl(r,_c,t),Ml(this,oc)&&Ml(this[oc],e)&&(this[oc][e]=!1);var n=Bl(1,t);try{wc(this,e,n)}catch(t){if(!(t instanceof mc))throw t;Oc(this,e,n)}};return Il&&Cc&&wc(fc,e,{configurable:!0,set:r}),xc(e,t)})[lc],"toString",(function(){return dc(this).tag})),Kl(hc,"withoutSetter",(function(t){return xc(Ql(t),t)})),Zl.f=Uc,Hl.f=Ic,Gl.f=Nc,Vl.f=Mc,Fl.f=Wl.f=Lc,$l.f=Pc,ec.f=function(t){return xc(tc(t),t)},Il&&(ql(pc,"description",{configurable:!0,get:function(){return dc(this).description}}),Kl(fc,"propertyIsEnumerable",Uc,{unsafe:!0}))),Cl({global:!0,constructor:!0,wrap:!0,forced:!Nl,sham:!Nl},{Symbol:hc}),sc(zl(Dc),(function(t){rc(t)})),Cl({target:uc,stat:!0,forced:!Nl},{useSetter:function(){Cc=!0},useSimple:function(){Cc=!1}}),Cl({target:"Object",stat:!0,forced:!Nl,sham:!Il},{create:function(t,e){return void 0===e?jl(t):Nc(jl(t),e)},defineProperty:Ic,defineProperties:Nc,getOwnPropertyDescriptor:Mc}),Cl({target:"Object",stat:!0,forced:!Nl},{getOwnPropertyNames:Lc}),nc(),ic(hc,uc),Jl[oc]=!0;var Yc=me&&!!Symbol.for&&!!Symbol.keyFor,kc=sa,Rc=ie,Bc=Ke,jc=Co,zc=We,Fc=Yc,Wc=zc("string-to-symbol-registry"),$c=zc("symbol-to-string-registry");kc({target:"Symbol",stat:!0,forced:!Fc},{for:function(t){var e=jc(t);if(Bc(Wc,e))return Wc[e];var r=Rc("Symbol")(e);return Wc[e]=r,$c[r]=e,r}});var Vc=sa,Hc=Ke,Gc=be,Zc=Ee,Kc=Yc,qc=We("symbol-to-string-registry");Vc({target:"Symbol",stat:!0,forced:!Kc},{keyFor:function(t){if(!Gc(t))throw new TypeError(Zc(t)+" is not a symbol");if(Hc(qc,t))return qc[t]}});var Xc=vt,Jc=Function.prototype,Qc=Jc.apply,td=Jc.call,ed="object"==typeof Reflect&&Reflect.apply||(Xc?td.bind(Qc):function(){return td.apply(Qc,arguments)}),rd=Ut([].slice),nd=Qu,id=Jt,ad=Yt,sd=Co,od=Ut([].push),ud=sa,ld=ie,cd=ed,dd=At,fd=Ut,hd=mt,pd=Jt,md=be,yd=rd,vd=me,Td=String,gd=ld("JSON","stringify"),Ad=fd(/./.exec),bd=fd("".charAt),Sd=fd("".charCodeAt),Ed=fd("".replace),_d=fd(1..toString),Dd=/[\uD800-\uDFFF]/g,Cd=/^[\uD800-\uDBFF]$/,Od=/^[\uDC00-\uDFFF]$/,wd=!vd||hd((function(){var t=ld("Symbol")("stringify detection");return"[null]"!==gd([t])||"{}"!==gd({a:t})||"{}"!==gd(Object(t))})),xd=hd((function(){return'"\\udf06\\ud834"'!==gd("\udf06\ud834")||'"\\udead"'!==gd("\udead")})),Id=function(t,e){var r=yd(arguments),n=function(t){if(id(t))return t;if(nd(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[n];"string"==typeof i?od(r,i):("number"==typeof i||"Number"===ad(i)||"String"===ad(i))&&od(r,sd(i))}var a=r.length,s=!0;return function(t,e){if(s)return s=!1,e;if(nd(this))return e;for(var n=0;n<a;n++)if(r[n]===t)return e}}}(e);if(pd(n)||void 0!==t&&!md(t))return r[1]=function(t,e){if(pd(n)&&(e=dd(n,this,Td(t),e)),!md(e))return e},cd(gd,null,r)},Nd=function(t,e,r){var n=bd(r,e-1),i=bd(r,e+1);return Ad(Cd,t)&&!Ad(Od,i)||Ad(Od,t)&&!Ad(Cd,n)?"\\u"+_d(Sd(t,0),16):t};gd&&ud({target:"JSON",stat:!0,arity:3,forced:wd||xd},{stringify:function(t,e,r){var n=yd(arguments),i=cd(wd?Id:gd,null,n);return xd&&"string"==typeof i?Ed(i,Dd,Nd):i}});var Ud=Ui,Md=He;sa({target:"Object",stat:!0,forced:!me||mt((function(){Ud.f(1)}))},{getOwnPropertySymbols:function(t){var e=Ud.f;return e?e(Md(t)):[]}});var Ld=sa,Pd=yt,Yd=Ut,kd=Ke,Rd=Jt,Bd=ae,jd=Co,zd=Vu,Fd=Wi,Wd=ht.Symbol,$d=Wd&&Wd.prototype;if(Pd&&Rd(Wd)&&(!("description"in $d)||void 0!==Wd().description)){var Vd={},Hd=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:jd(arguments[0]),e=Bd($d,this)?new Wd(t):void 0===t?Wd():Wd(t);return""===t&&(Vd[e]=!0),e};Fd(Hd,Wd),Hd.prototype=$d,$d.constructor=Hd;var Gd="Symbol(description detection)"===String(Wd("description detection")),Zd=Yd($d.valueOf),Kd=Yd($d.toString),qd=/^Symbol\((.*)\)[^)]+$/,Xd=Yd("".replace),Jd=Yd("".slice);zd($d,"description",{configurable:!0,get:function(){var t=Zd(this);if(kd(Vd,t))return"";var e=Kd(t),r=Gd?Jd(e,7,-1):Xd(e,qd,"$1");return""===r?void 0:r}}),Ld({global:!0,constructor:!0,forced:!0},{Symbol:Hd})}var Qd=Eo,tf=yo?{}.toString:function(){return"[object "+Qd(this)+"]"};yo||ai(Object.prototype,"toString",tf,{unsafe:!0});var ef=Jt,rf=ee,nf=Ls,af=Ut(1..valueOf),sf=Vt,of=Co,uf="\t\n\v\f\r                 \u2028\u2029\ufeff",lf=Ut("".replace),cf=RegExp("^["+uf+"]+"),df=RegExp("(^|[^"+uf+"])["+uf+"]+$"),ff=function(t){return function(e){var r=of(sf(e));return 1&t&&(r=lf(r,cf,"")),2&t&&(r=lf(r,df,"$1")),r}},hf={start:ff(1),end:ff(2),trim:ff(3)},pf=sa,mf=yt,yf=ht,vf=da,Tf=Ut,gf=Ji,Af=Ke,bf=ae,Sf=be,Ef=yr,_f=mt,Df=si.f,Cf=pt.f,Of=Pr.f,wf=af,xf=hf.trim,If="Number",Nf=yf[If];vf[If];var Uf=Nf.prototype,Mf=yf.TypeError,Lf=Tf("".slice),Pf=Tf("".charCodeAt),Yf=gf(If,!Nf(" 0o1")||!Nf("0b1")||Nf("+0x1")),kf=function(t){var e=arguments.length<1?0:Nf(function(t){var e=Ef(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,i,a,s,o,u,l=Ef(t,"number");if(Sf(l))throw new Mf("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=xf(l),43===(e=Pf(l,0))||45===e){if(88===(r=Pf(l,2))||120===r)return NaN}else if(48===e){switch(Pf(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(s=(a=Lf(l,2)).length,o=0;o<s;o++)if((u=Pf(a,o))<48||u>i)return NaN;return parseInt(a,n)}return+l}(e)}(t));return function(t){return bf(Uf,t)&&_f((function(){wf(t)}))}(this)?function(t,e,r){var n,i;return nf&&ef(n=e.constructor)&&n!==r&&rf(i=n.prototype)&&i!==r.prototype&&nf(t,i),t}(Object(e),this,kf):e};kf.prototype=Uf,Yf&&(Uf.constructor=kf),pf({global:!0,constructor:!0,wrap:!0,forced:Yf},{Number:kf}),Yf&&function(t,e){for(var r,n=mf?Df(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)Af(e,r=n[i])&&!Af(t,r)&&Of(t,r,Cf(e,r))}(vf[If],Nf);var Rf={};Object.defineProperty(Rf,"__esModule",{value:!0}),Rf.LogLevel=void 0;var Bf=function(t){return t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t}({});Rf.LogLevel=Bf,Object.defineProperty(ca,"__esModule",{value:!0}),ca.ConsoleLogger=void 0,ca.buildConsoleLogger=function(t){return new $f(t)};var jf=Rf;function zf(t){return(zf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ff(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Wf(n.key),n)}}function Wf(t){var e=function(t,e){if("object"!==zf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==zf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===zf(e)?e:String(e)}var $f=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),function(t,e,r){(e=Wf(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}(this,"context",void 0),this.context=e||{}}return function(t,e,r){e&&Ff(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"formatMessage",value:function(t,e,r){var n="["+jf.LogLevel[e].toUpperCase()+"] ";return r&&r.app&&(n+=r.app+": "),"string"==typeof t?n+t:(n+="Unexpected ".concat(t.name),t.message&&(n+=' "'.concat(t.message,'"')),e===jf.LogLevel.Debug&&t.stack&&(n+="\n\nStack trace:\n".concat(t.stack)),n)}},{key:"log",value:function(t,e,r){var n,i;if(!("number"==typeof(null===(n=this.context)||void 0===n?void 0:n.level)&&t<(null===(i=this.context)||void 0===i?void 0:i.level)))switch("object"===zf(e)&&void 0===(null==r?void 0:r.error)&&(r.error=e),t){case jf.LogLevel.Debug:P.debug(this.formatMessage(e,jf.LogLevel.Debug,r),r);break;case jf.LogLevel.Info:P.info(this.formatMessage(e,jf.LogLevel.Info,r),r);break;case jf.LogLevel.Warn:P.warn(this.formatMessage(e,jf.LogLevel.Warn,r),r);break;case jf.LogLevel.Error:P.error(this.formatMessage(e,jf.LogLevel.Error,r),r);break;case jf.LogLevel.Fatal:default:P.error(this.formatMessage(e,jf.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(t,e){this.log(jf.LogLevel.Debug,t,Object.assign({},this.context,e))}},{key:"info",value:function(t,e){this.log(jf.LogLevel.Info,t,Object.assign({},this.context,e))}},{key:"warn",value:function(t,e){this.log(jf.LogLevel.Warn,t,Object.assign({},this.context,e))}},{key:"error",value:function(t,e){this.log(jf.LogLevel.Error,t,Object.assign({},this.context,e))}},{key:"fatal",value:function(t,e){this.log(jf.LogLevel.Fatal,t,Object.assign({},this.context,e))}}]),t}();ca.ConsoleLogger=$f;var Vf={},Hf={},Gf={};const Zf="object"==typeof Y&&Y.env&&Y.env.NODE_DEBUG&&/\bsemver\b/i.test(Y.env.NODE_DEBUG)?(...t)=>P.error("SEMVER",...t):()=>{};var Kf=Zf,qf={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Xf={exports:{}};!function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=qf,a=Kf,s=(e=t.exports={}).re=[],o=e.safeRe=[],u=e.src=[],l=e.t={};let c=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",i],[d,n]],h=(t,e,r)=>{const n=(t=>{for(const[e,r]of f)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t})(e),i=c++;a(t,i,e),l[t]=i,u[i]=e,s[i]=new RegExp(e,r?"g":void 0),o[i]=new RegExp(n,r?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),h("FULL",`^${u[l.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),h("LOOSE",`^${u[l.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),h("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),h("COERCERTL",u[l.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",h("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",h("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(Xf,Xf.exports);var Jf=Xf.exports;const Qf=Object.freeze({loose:!0}),th=Object.freeze({});const eh=/^[0-9]+$/,rh=(t,e)=>{const r=eh.test(t),n=eh.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1};var nh={compareIdentifiers:rh,rcompareIdentifiers:(t,e)=>rh(e,t)};const ih=Kf,{MAX_LENGTH:ah,MAX_SAFE_INTEGER:sh}=qf,{safeRe:oh,t:uh}=Jf,lh=t=>t?"object"!=typeof t?Qf:t:th,{compareIdentifiers:ch}=nh;var dh=class t{constructor(e,r){if(r=lh(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>ah)throw new TypeError(`version is longer than ${ah} characters`);ih("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=e.trim().match(r.loose?oh[uh.LOOSE]:oh[uh.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>sh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>sh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>sh||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<sh)return e}return t})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(ih("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if("string"==typeof e&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),ch(this.major,e.major)||ch(this.minor,e.minor)||ch(this.patch,e.patch)}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{const t=this.prerelease[r],n=e.prerelease[r];if(ih("prerelease compare",r,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return ch(t,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{const t=this.build[r],n=e.build[r];if(ih("prerelease compare",r,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return ch(t,n)}while(++r)}inc(t,e,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,r),this.inc("pre",e,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,r),this.inc("pre",e,r);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const t=Number(r)?1:0;if(!e&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[t];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===r&&(n=[e]),0===ch(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};const fh=dh;const hh=(t,e,r=!1)=>{if(t instanceof fh)return t;try{return new fh(t,e)}catch(t){if(!r)return null;throw t}};var ph=(t,e)=>{const r=hh(t,e);return r?r.version:null};const mh=dh;Object.defineProperty(Gf,"__esModule",{value:!0});var yh=(t,e)=>new mh(t,e).major;function vh(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var Th=vh(ph),gh=vh(yh),Ah=function(){function t(t){"function"==typeof t.getVersion&&Th.default(t.getVersion())?gh.default(t.getVersion())!==gh.default(this.getVersion())&&P.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):P.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}return t.prototype.getVersion=function(){return"3.0.2"},t.prototype.subscribe=function(t,e){this.bus.subscribe(t,e)},t.prototype.unsubscribe=function(t,e){this.bus.unsubscribe(t,e)},t.prototype.emit=function(t,e){this.bus.emit(t,e)},t}(),bh=function(){function t(){this.handlers=new Map}return t.prototype.getVersion=function(){return"3.0.2"},t.prototype.subscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))},t.prototype.unsubscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))},t.prototype.emit=function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){P.error("could not invoke event listener",t)}}))},t}(),Sh=(typeof window.OC<"u"&&window.OC._eventBus&&typeof window._nc_event_bus>"u"&&(P.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window._nc_event_bus<"u"?new Ah(window._nc_event_bus):window._nc_event_bus=new bh);Gf.ProxyBus=Ah,Gf.SimpleBus=bh,Gf.emit=function(t,e){Sh.emit(t,e)},Gf.subscribe=function(t,e){Sh.subscribe(t,e)},Gf.unsubscribe=function(t,e){Sh.unsubscribe(t,e)},Object.defineProperty(Hf,"__esModule",{value:!0});var Eh=Gf,_h=document.getElementsByTagName("head")[0],Dh=_h?_h.getAttribute("data-requesttoken"):null,Ch=[];Eh.subscribe("csrf-token-update",(function(t){Dh=t.token,Ch.forEach((function(e){try{e(t.token)}catch(t){P.error("error updating CSRF token observer",t)}}))}));var Oh=function(t,e){return t?t.getAttribute(e):null},wh=document.getElementsByTagName("head")[0],xh=Oh(wh,"data-user"),Ih=Oh(wh,"data-user-displayname"),Nh=!(typeof OC>"u")&&OC.isUserAdmin();Hf.getCurrentUser=function(){return null===xh?null:{uid:xh,displayName:Ih,isAdmin:Nh}},Hf.getRequestToken=function(){return Dh},Hf.onRequestTokenUpdate=function(t){Ch.push(t)},Object.defineProperty(Vf,"__esModule",{value:!0}),Vf.LoggerBuilder=void 0;var Uh=Hf,Mh=Rf;function Lh(t){return(Lh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ph(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kh(n.key),n)}}function Yh(t,e,r){return(e=kh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kh(t){var e=function(t,e){if("object"!==Lh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Lh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Lh(e)?e:String(e)}var Rh=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),Yh(this,"context",void 0),Yh(this,"factory",void 0),this.context={},this.factory=e}return function(t,e,r){e&&Ph(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"setApp",value:function(t){return this.context.app=t,this}},{key:"setLogLevel",value:function(t){return this.context.level=t,this}},{key:"setUid",value:function(t){return this.context.uid=t,this}},{key:"detectUser",value:function(){var t=(0,Uh.getCurrentUser)();return null!==t&&(this.context.uid=t.uid),this}},{key:"detectLogLevel",value:function(){var t=this;return function e(){var r,n;"complete"===document.readyState||"interactive"===document.readyState?(t.context.level=null!==(r=null===(n=window._oc_config)||void 0===n?void 0:n.loglevel)&&void 0!==r?r:Mh.LogLevel.Warn,window._oc_debug&&(t.context.level=Mh.LogLevel.Debug),document.removeEventListener("readystatechange",e)):document.addEventListener("readystatechange",e)}(),this}},{key:"build",value:function(){return void 0===this.context.level&&this.detectLogLevel(),this.factory(this.context)}}]),t}();Vf.LoggerBuilder=Rh,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LogLevel",{enumerable:!0,get:function(){return n.LogLevel}}),t.getLogger=function(){return i().build()},t.getLoggerBuilder=i;var e=ca,r=Vf,n=Rf;function i(){return new r.LoggerBuilder(e.buildConsoleLogger)}}(dt);const Bh=dt.getLoggerBuilder().detectUser().setApp("@nextcloud/calendar-availability-vue").build();var jh=n(14596),zh=n(56580),Fh=n.n(zh),Wh=n(77958);const $h=Fh()((t=>(f.Z.defaults.headers["X-Requested-With"]="XMLHttpRequest",jh.lD().patch("request",f.Z),jh.eI((0,d.generateRemoteUrl)(`dav/${t}/${(0,Wh.ts)().uid}`)))));var Vh=n(10038),Hh=n(13888),Gh=n(25108);const Zh={name:"AvailabilityForm",components:{NcButton:o.Z,NcCheckboxRadioSwitch:Vh.Z,CalendarAvailability:K,NcTimezonePicker:Hh.Z},data:()=>({loading:!0,saving:!1,timezone:(new Intl.DateTimeFormat)?.resolvedOptions()?.timeZone??"UTC",slots:{MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]},automated:"yes"===(0,p.j)("dav","user_status_automation")}),computed:{timeZonePickerId:()=>`tz-${(Math.random()+1).toString(36).substring(7)}`},async mounted(){try{const t=await async function(){const t=$h("calendars"),e=await t.customRequest("inbox",{method:"PROPFIND",data:'<?xml version="1.0"?>\n\t\t\t<x0:propfind xmlns:x0="DAV:">\n\t\t\t <x0:prop>\n\t\t\t\t<x1:calendar-availability xmlns:x1="urn:ietf:params:xml:ns:caldav"/>\n\t\t\t </x0:prop>\n\t\t\t</x0:propfind>'}),r=await(0,jh.sw)(e.data);if(!r)return;const n=r?.multistatus?.response[0]?.propstat?.prop["calendar-availability"];return n?function(t){const e=it.parse(t),r=new it.Component(e),n=r.getFirstSubcomponent("vavailability");let i;const a=r.getFirstSubcomponent("vtimezone");a&&(i=a.getFirstProperty("tzid").getFirstValue());const s=n.getAllSubcomponents("available"),o={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]};return s.forEach((t=>{const e=t.getFirstProperty("dtstart").getFirstValue().toJSDate(),r=t.getFirstProperty("dtend").getFirstValue().toJSDate(),n=t.getFirstProperty("rrule");"WEEKLY"===n.getFirstValue().freq?n.getFirstValue().getComponent("BYDAY").forEach((t=>{o[t].push({start:e.getTime()/1e3,end:r.getTime()/1e3})})):Bh.warn("rrule not supported",{rrule:n.toICALString()})})),{slots:o,timezoneId:i}}(n):void 0}();if(t){const{slots:e,timezoneId:r}=t;this.slots=e,r&&(this.timezone=r),Gh.info("availability loaded",this.slots,this.timezoneId)}else Gh.info("no availability is set"),this.slots={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]}}catch(e){Gh.error("could not load existing availability",e),(0,m.x2)(t("dav","Failed to load availability"))}finally{this.loading=!1}},methods:{async save(){try{this.saving=!0,await async function(t,e){const r=function(t,e){const r=new k.Component("vcalendar");r.addPropertyWithValue("prodid","Nextcloud DAV app");const n=Q(e);if(n){const t=new k.Component(k.parse(n));r.addSubcomponent(t)}else{const t=new k.Component("vtimezone");t.addPropertyWithValue("tzid",e),r.addSubcomponent(t)}const i=new k.Component("vavailability"),a=t.reduce(((t,e)=>{var r;const n=new Date(1e3*e.start),i=new Date(1e3*e.end),a=[n.getHours(),n.getMinutes(),i.getHours(),i.getMinutes()].join("-");return{...t,[a]:[...null!=(r=t[a])?r:[],e]}}),{});return Object.keys(a).map((t=>{const r=a[t],n=r[0].start,i=r[0].end,s=r.map((t=>t.day)).filter(((t,e,r)=>r.indexOf(t)===e)),o=new k.Component("available");return o.addPropertyWithValue("dtstart",k.Time.fromJSDate(new Date(1e3*n),!1)).setParameter("tzid",e),o.addPropertyWithValue("dtend",k.Time.fromJSDate(new Date(1e3*i),!1)).setParameter("tzid",e),o.addPropertyWithValue("uid",ct()),o.addPropertyWithValue("rrule",{freq:"WEEKLY",byday:s}),o})).map(i.addSubcomponent.bind(i)),r.addSubcomponent(i),r.toString()}([...Object.keys(t).flatMap((e=>t[e].map((t=>({...t,day:e})))))],e);y.debug("New availability ical created",{vavailability:r});const n=$h("calendars");await n.customRequest("inbox",{method:"PROPPATCH",data:`<?xml version="1.0"?>\n\t\t\t<x0:propertyupdate xmlns:x0="DAV:">\n\t\t\t <x0:set>\n\t\t\t\t<x0:prop>\n\t\t\t\t <x1:calendar-availability xmlns:x1="urn:ietf:params:xml:ns:caldav">${r}</x1:calendar-availability>\n\t\t\t\t</x0:prop>\n\t\t\t </x0:set>\n\t\t\t</x0:propertyupdate>`})}(this.slots,this.timezone),this.automated?await async function(){return await f.Z.post((0,d.generateOcsUrl)("/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:"dav",configKey:"user_status_automation"}),{configValue:"yes"})}():await async function(){return await f.Z.delete((0,d.generateOcsUrl)("/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:"dav",configKey:"user_status_automation"}))}(),(0,m.s$)(t("dav","Saved availability"))}catch(e){Gh.error("could not save availability",e),(0,m.x2)(t("dav","Failed to save availability"))}finally{this.saving=!1}}}};var Kh=n(67228),qh={};qh.styleTagTransform=x(),qh.setAttributes=D(),qh.insert=E().bind(null,"head"),qh.domAPI=b(),qh.insertStyleElement=O(),g()(Kh.Z,qh),Kh.Z&&Kh.Z.locals&&Kh.Z.locals;var Xh=(0,U.Z)(Zh,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"time-zone"},[e("label",{staticClass:"time-zone__heading",attrs:{for:`vs${t.timeZonePickerId}__combobox`}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Time zone:"))+"\n\t\t")]),t._v(" "),e("span",{staticClass:"time-zone-text"},[e("NcTimezonePicker",{attrs:{uid:t.timeZonePickerId},model:{value:t.timezone,callback:function(e){t.timezone=e},expression:"timezone"}})],1)]),t._v(" "),e("CalendarAvailability",{attrs:{slots:t.slots,loading:t.loading,"l10n-to":t.$t("dav","to"),"l10n-delete-slot":t.$t("dav","Delete slot"),"l10n-empty-day":t.$t("dav","No working hours set"),"l10n-add-slot":t.$t("dav","Add slot"),"l10n-monday":t.$t("dav","Monday"),"l10n-tuesday":t.$t("dav","Tuesday"),"l10n-wednesday":t.$t("dav","Wednesday"),"l10n-thursday":t.$t("dav","Thursday"),"l10n-friday":t.$t("dav","Friday"),"l10n-saturday":t.$t("dav","Saturday"),"l10n-sunday":t.$t("dav","Sunday"),"l10n-start-picker-label":e=>t.$t("dav","Pick a start time for {dayName}",{dayName:e}),"l10n-end-picker-label":e=>t.$t("dav","Pick a end time for {dayName}",{dayName:e})},on:{"update:slots":function(e){t.slots=e}}}),t._v(" "),e("NcCheckboxRadioSwitch",{attrs:{checked:t.automated},on:{"update:checked":function(e){t.automated=e}}},[t._v("\n\t\t"+t._s(t.$t("dav",'Automatically set user status to "Do not disturb" outside of availability to mute all notifications.'))+"\n\t")]),t._v(" "),e("NcButton",{attrs:{disabled:t.loading||t.saving,type:"primary"},on:{click:t.save}},[t._v("\n\t\t"+t._s(t.$t("dav","Save"))+"\n\t")])],1)}),[],!1,null,"6052111b",null);const Jh=Xh.exports,Qh={name:"Availability",components:{NcSettingsSection:s.Z,AbsenceForm:L,AvailabilityForm:Jh},data:()=>({hideAbsenceSettings:(0,p.j)("dav","hide_absence_settings",!0)})};var tp=(0,U.Z)(Qh,(function(){var t=this,e=t._self._c;return e("div",[e("NcSettingsSection",{attrs:{name:t.$t("dav","Availability"),description:t.$t("dav","If you configure your working hours, other users will see when you are out of office when they book a meeting.")}},[e("AvailabilityForm")],1),t._v(" "),t.hideAbsenceSettings?t._e():e("NcSettingsSection",{attrs:{name:t.$t("dav","Absence"),description:t.$t("dav","Configure your next absence period.")}},[e("AbsenceForm")],1)],1)}),[],!1,null,null,null);const ep=tp.exports;i.default.prototype.$t=a.Iu,new(i.default.extend(ep))({}).$mount("#settings-personal-availability")},43248:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});var n=r(87537),i=r.n(n),a=r(23645),s=r.n(a)()(i());s.push([t.id,".absence[data-v-863a2868]{display:flex;flex-direction:column;gap:5px}.absence__dates[data-v-863a2868]{display:flex;gap:10px;width:100%}.absence__dates__picker[data-v-863a2868]{flex:1 auto}.absence__dates__picker[data-v-863a2868] .native-datetime-picker--input{margin-bottom:0}.absence__buttons[data-v-863a2868]{display:flex;gap:5px}","",{version:3,sources:["webpack://./apps/dav/src/components/AbsenceForm.vue"],names:[],mappings:"AACA,0BACC,YAAA,CACA,qBAAA,CACA,OAAA,CAEA,iCACC,YAAA,CACA,QAAA,CACA,UAAA,CAEA,yCACC,WAAA,CAEA,wEACC,eAAA,CAKH,mCACC,YAAA,CACA,OAAA",sourcesContent:["\n.absence {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 5px;\n\n\t&__dates {\n\t\tdisplay: flex;\n\t\tgap: 10px;\n\t\twidth: 100%;\n\n\t\t&__picker {\n\t\t\tflex: 1 auto;\n\n\t\t\t::v-deep .native-datetime-picker--input {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__buttons {\n\t\tdisplay: flex;\n\t\tgap: 5px;\n\t}\n}\n"],sourceRoot:""}]);const o=s},67228:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});var n=r(87537),i=r.n(n),a=r(23645),s=r.n(a)()(i());s.push([t.id,"[data-v-6052111b] .availability-day{padding:0 10px 0 10px;position:absolute}[data-v-6052111b] .availability-slots{display:flex;white-space:normal}[data-v-6052111b] .availability-slot{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}[data-v-6052111b] .availability-slot-group{display:flex;flex-direction:column}[data-v-6052111b] .mx-input-wrapper{width:85px}[data-v-6052111b] .mx-datepicker{width:97px}[data-v-6052111b] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-6052111b]{padding:32px 12px 12px 0;display:flex;flex-wrap:wrap}.time-zone__heading[data-v-6052111b]{margin-right:calc(var(--default-grid-baseline)*2);line-height:var(--default-clickable-area);font-weight:bold}.grid-table[data-v-6052111b]{display:grid;margin-bottom:32px;grid-column-gap:24px;grid-row-gap:6px;grid-template-columns:min-content auto min-content;max-width:500px}.button[data-v-6052111b]{align-self:flex-end}[data-v-6052111b] .label-weekday{position:relative;display:inline-flex;padding-top:4px;align-self:center}[data-v-6052111b] .delete-slot{padding-bottom:unset}[data-v-6052111b] .add-another{align-self:center}.to-text[data-v-6052111b]{padding-right:12px}.empty-content[data-v-6052111b]{color:var(--color-text-lighter);margin-top:4px;align-self:center}","",{version:3,sources:["webpack://./apps/dav/src/components/AvailabilityForm.vue"],names:[],mappings:"AACA,oCACC,qBAAA,CACA,iBAAA,CAED,sCACC,YAAA,CACA,kBAAA,CAED,qCACC,YAAA,CACA,kBAAA,CACA,kBAAA,CACA,cAAA,CAED,2CACC,YAAA,CACA,qBAAA,CAED,oCACC,UAAA,CAED,iCACC,UAAA,CAED,+BACC,yCAAA,CACA,WAAA,CAED,4BACC,wBAAA,CACG,YAAA,CACA,cAAA,CAEH,qCACC,iDAAA,CACA,yCAAA,CACA,gBAAA,CAGF,6BACC,YAAA,CACA,kBAAA,CACA,oBAAA,CACA,gBAAA,CACA,kDAAA,CACA,eAAA,CAED,yBACC,mBAAA,CAED,iCACC,iBAAA,CACA,mBAAA,CACA,eAAA,CACA,iBAAA,CAGD,+BACC,oBAAA,CAGD,+BACC,iBAAA,CAGD,0BACC,kBAAA,CAGD,gCACC,+BAAA,CACA,cAAA,CACA,iBAAA",sourcesContent:["\n:deep(.availability-day) {\n\tpadding: 0 10px 0 10px;\n\tposition: absolute;\n}\n:deep(.availability-slots) {\n\tdisplay: flex;\n\twhite-space: normal;\n}\n:deep(.availability-slot) {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\tflex-wrap: wrap;\n}\n:deep(.availability-slot-group) {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n:deep(.mx-input-wrapper) {\n\twidth: 85px;\n}\n:deep(.mx-datepicker) {\n\twidth: 97px;\n}\n:deep(.multiselect) {\n\tborder: 1px solid var(--color-border-dark);\n\twidth: 120px;\n}\n.time-zone {\n\tpadding: 32px 12px 12px 0;\n display: flex;\n flex-wrap: wrap;\n\n\t&__heading {\n\t\tmargin-right: calc(var(--default-grid-baseline) * 2);\n\t\tline-height: var(--default-clickable-area);\n\t\tfont-weight: bold;\n\t}\n}\n.grid-table {\n\tdisplay: grid;\n\tmargin-bottom: 32px;\n\tgrid-column-gap: 24px;\n\tgrid-row-gap: 6px;\n\tgrid-template-columns: min-content auto min-content;\n\tmax-width: 500px;\n}\n.button {\n\talign-self: flex-end;\n}\n:deep(.label-weekday) {\n\tposition: relative;\n\tdisplay: inline-flex;\n\tpadding-top: 4px;\n\talign-self: center;\n}\n\n:deep(.delete-slot) {\n\tpadding-bottom: unset;\n}\n\n:deep(.add-another) {\n\talign-self: center;\n}\n\n.to-text {\n\tpadding-right: 12px;\n}\n\n.empty-content {\n\tcolor: var(--color-text-lighter);\n\tmargin-top: 4px;\n\talign-self: center;\n}\n"],sourceRoot:""}]);const o=s},96425:(t,e,r)=>{var n=r(3118),i=r(9435);function a(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}a.prototype=n(i.prototype),a.prototype.constructor=a,t.exports=a},7548:(t,e,r)=>{var n=r(3118),i=r(9435);function a(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}a.prototype=n(i.prototype),a.prototype.constructor=a,t.exports=a},21078:(t,e,r)=>{var n=r(62488),i=r(37285);t.exports=function t(e,r,a,s,o){var u=-1,l=e.length;for(a||(a=i),o||(o=[]);++u<l;){var c=e[u];r>0&&a(c)?r>1?t(c,r-1,a,s,o):n(o,c):s||(o[o.length]=c)}return o}},9435:t=>{t.exports=function(){}},28045:(t,e,r)=>{var n=r(6557),i=r(89250),a=i?function(t,e){return i.set(t,e),t}:n;t.exports=a},52157:t=>{var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,s=t.length,o=n.length,u=-1,l=r.length,c=e(s-o,0),d=Array(l+c),f=!i;++u<l;)d[u]=r[u];for(;++a<o;)(f||a<s)&&(d[n[a]]=t[a]);for(;c--;)d[u++]=t[a++];return d}},14054:t=>{var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,s=t.length,o=-1,u=n.length,l=-1,c=r.length,d=e(s-u,0),f=Array(d+c),h=!i;++a<d;)f[a]=t[a];for(var p=a;++l<c;)f[p+l]=r[l];for(;++o<u;)(h||a<s)&&(f[p+n[o]]=t[a++]);return f}},97991:t=>{t.exports=function(t,e){for(var r=t.length,n=0;r--;)t[r]===e&&++n;return n}},22402:(t,e,r)=>{var n=r(71774),i=r(55639);t.exports=function(t,e,r){var a=1&e,s=n(t);return function e(){return(this&&this!==i&&this instanceof e?s:t).apply(a?r:this,arguments)}}},71774:(t,e,r)=>{var n=r(3118),i=r(13218);t.exports=function(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=n(t.prototype),a=t.apply(r,e);return i(a)?a:r}}},46347:(t,e,r)=>{var n=r(96874),i=r(71774),a=r(86935),s=r(94487),o=r(20893),u=r(46460),l=r(55639);t.exports=function(t,e,r){var c=i(t);return function i(){for(var d=arguments.length,f=Array(d),h=d,p=o(i);h--;)f[h]=arguments[h];var m=d<3&&f[0]!==p&&f[d-1]!==p?[]:u(f,p);return(d-=m.length)<r?s(t,e,a,i.placeholder,void 0,f,m,void 0,void 0,r-d):n(this&&this!==l&&this instanceof i?c:t,this,f)}}},86935:(t,e,r)=>{var n=r(52157),i=r(14054),a=r(97991),s=r(71774),o=r(94487),u=r(20893),l=r(90451),c=r(46460),d=r(55639);t.exports=function t(e,r,f,h,p,m,y,v,T,g){var A=128&r,b=1&r,S=2&r,E=24&r,_=512&r,D=S?void 0:s(e);return function C(){for(var O=arguments.length,w=Array(O),x=O;x--;)w[x]=arguments[x];if(E)var I=u(C),N=a(w,I);if(h&&(w=n(w,h,p,E)),m&&(w=i(w,m,y,E)),O-=N,E&&O<g){var U=c(w,I);return o(e,r,t,C.placeholder,f,w,U,v,T,g-O)}var M=b?f:this,L=S?M[e]:e;return O=w.length,v?w=l(w,v):_&&O>1&&w.reverse(),A&&T<O&&(w.length=T),this&&this!==d&&this instanceof C&&(L=D||s(L)),L.apply(M,w)}}},84375:(t,e,r)=>{var n=r(96874),i=r(71774),a=r(55639);t.exports=function(t,e,r,s){var o=1&e,u=i(t);return function e(){for(var i=-1,l=arguments.length,c=-1,d=s.length,f=Array(d+l),h=this&&this!==a&&this instanceof e?u:t;++c<d;)f[c]=s[c];for(;l--;)f[c++]=arguments[++i];return n(h,o?r:this,f)}}},94487:(t,e,r)=>{var n=r(86528),i=r(258),a=r(69255);t.exports=function(t,e,r,s,o,u,l,c,d,f){var h=8&e;e|=h?32:64,4&(e&=~(h?64:32))||(e&=-4);var p=[t,e,o,h?u:void 0,h?l:void 0,h?void 0:u,h?void 0:l,c,d,f],m=r.apply(void 0,p);return n(t)&&i(m,p),m.placeholder=s,a(m,t,e)}},97727:(t,e,r)=>{var n=r(28045),i=r(22402),a=r(46347),s=r(86935),o=r(84375),u=r(66833),l=r(63833),c=r(258),d=r(69255),f=r(40554),h=Math.max;t.exports=function(t,e,r,p,m,y,v,T){var g=2&e;if(!g&&"function"!=typeof t)throw new TypeError("Expected a function");var A=p?p.length:0;if(A||(e&=-97,p=m=void 0),v=void 0===v?v:h(f(v),0),T=void 0===T?T:f(T),A-=m?m.length:0,64&e){var b=p,S=m;p=m=void 0}var E=g?void 0:u(t),_=[t,e,r,p,m,b,S,y,v,T];if(E&&l(_,E),t=_[0],e=_[1],r=_[2],p=_[3],m=_[4],!(T=_[9]=void 0===_[9]?g?0:t.length:h(_[9]-A,0))&&24&e&&(e&=-25),e&&1!=e)D=8==e||16==e?a(t,e,T):32!=e&&33!=e||m.length?s.apply(void 0,_):o(t,e,r,p);else var D=i(t,e,r);return d((E?n:c)(D,_),t,e)}},99021:(t,e,r)=>{var n=r(85564),i=r(45357),a=r(30061);t.exports=function(t){return a(i(t,void 0,n),t+"")}},66833:(t,e,r)=>{var n=r(89250),i=r(50308),a=n?function(t){return n.get(t)}:i;t.exports=a},97658:(t,e,r)=>{var n=r(52060),i=Object.prototype.hasOwnProperty;t.exports=function(t){for(var e=t.name+"",r=n[e],a=i.call(n,e)?r.length:0;a--;){var s=r[a],o=s.func;if(null==o||o==t)return s.name}return e}},20893:t=>{t.exports=function(t){return t.placeholder}},58775:t=>{var e=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;t.exports=function(t){var n=t.match(e);return n?n[1].split(r):[]}},83112:t=>{var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=function(t,r){var n=r.length;if(!n)return t;var i=n-1;return r[i]=(n>1?"& ":"")+r[i],r=r.join(n>2?", ":" "),t.replace(e,"{\n/* [wrapped with "+r+"] */\n")}},37285:(t,e,r)=>{var n=r(62705),i=r(35694),a=r(1469),s=n?n.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(s&&t&&t[s])}},86528:(t,e,r)=>{var n=r(96425),i=r(66833),a=r(97658),s=r(8111);t.exports=function(t){var e=a(t),r=s[e];if("function"!=typeof r||!(e in n.prototype))return!1;if(t===r)return!0;var o=i(r);return!!o&&t===o[0]}},63833:(t,e,r)=>{var n=r(52157),i=r(14054),a=r(46460),s="__lodash_placeholder__",o=Math.min;t.exports=function(t,e){var r=t[1],u=e[1],l=r|u,c=l<131,d=128==u&&8==r||128==u&&256==r&&t[7].length<=e[8]||384==u&&e[7].length<=e[8]&&8==r;if(!c&&!d)return t;1&u&&(t[2]=e[2],l|=1&r?0:4);var f=e[3];if(f){var h=t[3];t[3]=h?n(h,f,e[4]):f,t[4]=h?a(t[3],s):e[4]}return(f=e[5])&&(h=t[5],t[5]=h?i(h,f,e[6]):f,t[6]=h?a(t[5],s):e[6]),(f=e[7])&&(t[7]=f),128&u&&(t[8]=null==t[8]?e[8]:o(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=l,t}},89250:(t,e,r)=>{var n=r(70577),i=n&&new n;t.exports=i},52060:t=>{t.exports={}},90451:(t,e,r)=>{var n=r(278),i=r(65776),a=Math.min;t.exports=function(t,e){for(var r=t.length,s=a(e.length,r),o=n(t);s--;){var u=e[s];t[s]=i(u,r)?o[u]:void 0}return t}},46460:t=>{var e="__lodash_placeholder__";t.exports=function(t,r){for(var n=-1,i=t.length,a=0,s=[];++n<i;){var o=t[n];o!==r&&o!==e||(t[n]=e,s[a++]=n)}return s}},258:(t,e,r)=>{var n=r(28045),i=r(21275)(n);t.exports=i},69255:(t,e,r)=>{var n=r(58775),i=r(83112),a=r(30061),s=r(87241);t.exports=function(t,e,r){var o=e+"";return a(t,i(o,s(n(o),r)))}},87241:(t,e,r)=>{var n=r(77412),i=r(47443),a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=function(t,e){return n(a,(function(r){var n="_."+r[0];e&r[1]&&!i(t,n)&&t.push(n)})),t.sort()}},21913:(t,e,r)=>{var n=r(96425),i=r(7548),a=r(278);t.exports=function(t){if(t instanceof n)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=a(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}},39514:(t,e,r)=>{var n=r(97727);t.exports=function(t,e,r){return e=r?void 0:e,e=t&&null==e?t.length:e,n(t,128,void 0,void 0,void 0,void 0,e)}},40087:(t,e,r)=>{var n=r(97727);function i(t,e,r){var a=n(t,8,void 0,void 0,void 0,void 0,void 0,e=r?void 0:e);return a.placeholder=i.placeholder,a}i.placeholder={},t.exports=i},85564:(t,e,r)=>{var n=r(21078);t.exports=function(t){return null!=t&&t.length?n(t,1):[]}},84599:(t,e,r)=>{var n=r(68836),i=r(69306),a=Array.prototype.push;function s(t,e){return 2==e?function(e,r){return t(e,r)}:function(e){return t(e)}}function o(t){for(var e=t?t.length:0,r=Array(e);e--;)r[e]=t[e];return r}function u(t,e){return function(){var r=arguments.length;if(r){for(var n=Array(r);r--;)n[r]=arguments[r];var i=n[0]=e.apply(void 0,n);return t.apply(void 0,n),i}}}t.exports=function t(e,r,l,c){var d="function"==typeof r,f=r===Object(r);if(f&&(c=l,l=r,r=void 0),null==l)throw new TypeError;c||(c={});var h={cap:!("cap"in c)||c.cap,curry:!("curry"in c)||c.curry,fixed:!("fixed"in c)||c.fixed,immutable:!("immutable"in c)||c.immutable,rearg:!("rearg"in c)||c.rearg},p=d?l:i,m="curry"in c&&c.curry,y="fixed"in c&&c.fixed,v="rearg"in c&&c.rearg,T=d?l.runInContext():void 0,g=d?l:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},A=g.ary,b=g.assign,S=g.clone,E=g.curry,_=g.forEach,D=g.isArray,C=g.isError,O=g.isFunction,w=g.isWeakMap,x=g.keys,I=g.rearg,N=g.toInteger,U=g.toPath,M=x(n.aryMethod),L={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(o(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[1],r=t(arguments[0],e),n=r.length;return h.cap&&"number"==typeof e?(e=e>2?e-2:1,n&&n<=e?r:s(r,e)):r}},mixin:function(t){return function(e){var r=this;if(!O(r))return t(r,Object(e));var n=[];return _(x(e),(function(t){O(e[t])&&n.push([t,r.prototype[t]])})),t(r,Object(e)),_(n,(function(t){var e=t[1];O(e)?r.prototype[t[0]]=e:delete r.prototype[t[0]]})),r}},nthArg:function(t){return function(e){var r=e<0?1:N(e)+1;return E(t(e),r)}},rearg:function(t){return function(e,r){var n=r?r.length:0;return E(t(e,r),n)}},runInContext:function(r){return function(n){return t(e,r(n),c)}}};function P(t,e,r){if(h.fixed&&(y||!n.skipFixed[t])){var i=n.methodSpread[t],s=i&&i.start;return void 0===s?A(e,r):function(t,e){return function(){for(var r=arguments.length,n=r-1,i=Array(r);r--;)i[r]=arguments[r];var s=i[e],o=i.slice(0,e);return s&&a.apply(o,s),e!=n&&a.apply(o,i.slice(e+1)),t.apply(this,o)}}(e,s)}return e}function Y(t,e,r){return h.rearg&&r>1&&(v||!n.skipRearg[t])?I(e,n.methodRearg[t]||n.aryRearg[r]):e}function k(t,e){for(var r=-1,n=(e=U(e)).length,i=n-1,a=S(Object(t)),s=a;null!=s&&++r<n;){var o=e[r],u=s[o];null==u||O(u)||C(u)||w(u)||(s[o]=S(r==i?u:Object(u))),s=s[o]}return a}function R(e,r){var i=n.aliasToReal[e]||e,a=n.remap[i]||i,s=c;return function(e){var n=d?T:g,o=d?T[a]:r,u=b(b({},s),e);return t(n,i,o,u)}}function B(t,e){return function(){var r=arguments.length;if(!r)return t();for(var n=Array(r);r--;)n[r]=arguments[r];var i=h.rearg?0:r-1;return n[i]=e(n[i]),t.apply(void 0,n)}}function j(t,e,r){var i,a=n.aliasToReal[t]||t,l=e,c=L[a];return c?l=c(e):h.immutable&&(n.mutate.array[a]?l=u(e,o):n.mutate.object[a]?l=u(e,function(t){return function(e){return t({},e)}}(e)):n.mutate.set[a]&&(l=u(e,k))),_(M,(function(t){return _(n.aryMethod[t],(function(e){if(a==e){var r=n.methodSpread[a],o=r&&r.afterRearg;return i=o?P(a,Y(a,l,t),t):Y(a,P(a,l,t),t),i=function(t,e,r){return m||h.curry&&r>1?E(e,r):e}(0,i=function(t,e){if(h.cap){var r=n.iterateeRearg[t];if(r)return function(t,e){return B(t,(function(t){var r=e.length;return function(t,e){return 2==e?function(e,r){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(I(s(t,r),e),r)}))}(e,r);var i=!d&&n.iterateeAry[t];if(i)return function(t,e){return B(t,(function(t){return"function"==typeof t?s(t,e):t}))}(e,i)}return e}(a,i),t),!1}})),!i})),i||(i=l),i==e&&(i=m?E(i,1):function(){return e.apply(this,arguments)}),i.convert=R(a,e),i.placeholder=e.placeholder=r,i}if(!f)return j(r,l,p);var z=l,F=[];return _(M,(function(t){_(n.aryMethod[t],(function(t){var e=z[n.remap[t]||t];e&&F.push([t,j(t,e,z)])}))})),_(x(z),(function(t){var e=z[t];if("function"==typeof e){for(var r=F.length;r--;)if(F[r][0]==t)return;e.convert=R(t,e),F.push([t,e])}})),_(F,(function(t){z[t[0]]=t[1]})),z.convert=function(t){return z.runInContext.convert(t)(void 0)},z.placeholder=z,_(x(z),(function(t){_(n.realToAlias[t]||[],(function(e){z[e]=z[t]}))})),z}},68836:(t,e)=>{e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,n={};for(var i in r){var a=r[i];t.call(n,a)?n[a].push(i):n[a]=[i]}return n}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},4269:(t,e,r)=>{t.exports={ary:r(39514),assign:r(44037),clone:r(66678),curry:r(40087),forEach:r(77412),isArray:r(1469),isError:r(64647),isFunction:r(23560),isWeakMap:r(81018),iteratee:r(72594),keys:r(280),rearg:r(4963),toInteger:r(40554),toPath:r(30084)}},92822:(t,e,r)=>{var n=r(84599),i=r(4269);t.exports=function(t,e,r){return n(i,t,e,r)}},56580:(t,e,r)=>{var n=r(92822)("memoize",r(88306));n.placeholder=r(69306),t.exports=n},69306:t=>{t.exports={}},64647:(t,e,r)=>{var n=r(44239),i=r(37005),a=r(68630);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!a(t)}},81018:(t,e,r)=>{var n=r(64160),i=r(37005);t.exports=function(t){return i(t)&&"[object WeakMap]"==n(t)}},72594:(t,e,r)=>{var n=r(85990),i=r(67206);t.exports=function(t){return i("function"==typeof t?t:n(t,1))}},4963:(t,e,r)=>{var n=r(97727),i=r(99021)((function(t,e){return n(t,256,void 0,void 0,void 0,e)}));t.exports=i},18601:(t,e,r)=>{var n=r(14841);t.exports=function(t){return t?Infinity===(t=n(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},40554:(t,e,r)=>{var n=r(18601);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},30084:(t,e,r)=>{var n=r(29932),i=r(278),a=r(1469),s=r(33448),o=r(55514),u=r(40327),l=r(79833);t.exports=function(t){return a(t)?n(t,u):s(t)?[t]:i(o(l(t)))}},8111:(t,e,r)=>{var n=r(96425),i=r(7548),a=r(9435),s=r(1469),o=r(37005),u=r(21913),l=Object.prototype.hasOwnProperty;function c(t){if(o(t)&&!s(t)&&!(t instanceof n)){if(t instanceof i)return t;if(l.call(t,"__wrapped__"))return u(t)}return new i(t)}c.prototype=a.prototype,c.prototype.constructor=c,t.exports=c},42761:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg=="},87210:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K"},94659:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg=="}},a={};function s(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={id:t,loaded:!1,exports:{}};return i[t].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=i,e=[],s.O=(t,r,n,i)=>{if(!r){var a=1/0;for(c=0;c<e.length;c++){r=e[c][0],n=e[c][1],i=e[c][2];for(var o=!0,u=0;u<r.length;u++)(!1&i||a>=i)&&Object.keys(s.O).every((t=>s.O[t](r[u])))?r.splice(u--,1):(o=!1,i<a&&(a=i));if(o){e.splice(c--,1);var l=n();void 0!==l&&(t=l)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[r,n,i]},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var r in e)s.o(e,r)&&!s.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},s.f={},s.e=t=>Promise.all(Object.keys(s.f).reduce(((e,r)=>(s.f[r](t,e),e)),[])),s.u=t=>t+"-"+t+".js?v="+{2048:"78a82614529a3cefcde7",4180:"fe82f3a2dac70d6b82bc"}[t],s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r={},n="nextcloud:",s.l=(t,e,i,a)=>{if(r[t])r[t].push(e);else{var o,u;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var d=l[c];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==n+i){o=d;break}}o||(u=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",n+i),o.src=t),r[t]=[e];var f=(e,n)=>{o.onerror=o.onload=null,clearTimeout(h);var i=r[t];if(delete r[t],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach((t=>t(n))),e)return e(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),u&&document.head.appendChild(o)}},s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),s.j=3347,(()=>{var t;s.g.importScripts&&(t=s.g.location+"");var e=s.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!t;)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=t})(),(()=>{s.b=document.baseURI||self.location.href;var t={3347:0};s.f.j=(e,r)=>{var n=s.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=t[e]=[r,i]));r.push(n[2]=i);var a=s.p+s.u(e),o=new Error;s.l(a,(r=>{if(s.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;o.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",o.name="ChunkLoadError",o.type=i,o.request=a,n[1](o)}}),"chunk-"+e,e)}},s.O.j=e=>0===t[e];var e=(e,r)=>{var n,i,a=r[0],o=r[1],u=r[2],l=0;if(a.some((e=>0!==t[e]))){for(n in o)s.o(o,n)&&(s.m[n]=o[n]);if(u)var c=u(s)}for(e&&e(r);l<a.length;l++)i=a[l],s.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return s.O(c)},r=self.webpackChunknextcloud=self.webpackChunknextcloud||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),s.nc=void 0;var o=s.O(void 0,[7874],(()=>s(85670)));o=s.O(o)})();
+//# sourceMappingURL=dav-settings-personal-availability.js.map?v=2ede340a2651fa48baf0 \ No newline at end of file