dav-settings-personal-availability.js 242 KB

123
  1. /*! For license information please see dav-settings-personal-availability.js.LICENSE.txt */
  2. !function(){var e,r,n,i={74314:function(e,r,n){"use strict";var i=n(20144),a=n(31352),o=n(64882),s=n(25108),u=n(34155),c=n(18350);function l(t,e,r,n,i,a,o,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(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(o)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:c}}!function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".availability-day[data-v-193e3573]{padding:0 10px;position:absolute}.availability-slots[data-v-193e3573]{display:flex;white-space:nowrap}.availability-slot[data-v-193e3573]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-193e3573]{display:flex;flex-direction:column}[data-v-193e3573] .mx-input-wrapper{width:85px}[data-v-193e3573] .mx-datepicker{width:97px}[data-v-193e3573] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-193e3573]{padding:32px 12px 12px 0}.grid-table[data-v-193e3573]{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-193e3573]{align-self:flex-end}.label-weekday[data-v-193e3573]{position:relative;display:flex;align-items:flex-start}.label-weekday>span[data-v-193e3573]{height:50px;display:flex;align-items:center}.add-another[data-v-193e3573]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-193e3573]:hover{opacity:1}.to-text[data-v-193e3573]{padding-right:12px}.time-zone-text[data-v-193e3573]{padding-left:22px}.empty-content[data-v-193e3573]{color:var(--color-text-lighter);display:inline-flex;align-items:center}")),document.head.appendChild(t)}}catch(t){s.error("vite-plugin-css-injected-by-js",t)}}();var f=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()])])])};const d=l({name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},f,[],!1,null,null,null,null).exports;var h=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()])])])};const p=l({name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},h,[],!1,null,null,null,null).exports,m={name:"CalendarAvailability",components:{NcDateTimePicker:o.Z9,NcButton:o.P2,IconAdd:p,IconDelete:d},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}},data(){return{internalSlots:this.slotsToInternalData(this.slots)}},watch:{slots(){this.internalSlots=this.slotsToInternalData(this.slots)}},methods:{timeStampSlotsToDateObjectSlots(t){return 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())}}};var y=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){return[e("div",{key:`slot-${r.id}-${i}`,staticClass:"availability-slot"},[e("NcDateTimePicker",{staticClass:"start-date",attrs:{type:"time",format:"H:mm"},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("NcDateTimePicker",{staticClass:"end-date",attrs:{type:"time",format:"H:mm"},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",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},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)};const v=l(m,y,[],!1,null,"193e3573",null,null).exports;var g=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},T={},A={};Object.defineProperty(A,"__esModule",{value:!0}),A.zonesMap=A.defaultStart=void 0,A.defaultStart="19700101T000000",A.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(T,"__esModule",{value:!0});var S=T.getZoneString=T.getZoneLines=void 0;const b=A;function E(t){const{n:e,f:r,t:n,r:i,s:a}=t;return[`TZNAME:${e}`,`TZOFFSETFROM:${r}`,`TZOFFSETTO:${n||r}`,`DTSTART:${a||b.defaultStart}`,...i?[`RRULE:FREQ=${i.f||"YEARLY"};BYMONTH=${i.m};BYDAY=${i.d}`]:[]]}function _(t,e=!0){const r=b.zonesMap.get(t);if(r){const{s:n,d:i}=r;return[...e?["BEGIN:VTIMEZONE"]:[],`TZID:${t}`,"BEGIN:STANDARD",...E(n),"END:STANDARD",...i?["BEGIN:DAYLIGHT",...E(i),"END:DAYLIGHT"]:[],...e?["END:VTIMEZONE"]:[]]}}T.getZoneLines=_,S=T.getZoneString=function(t,e=!0){const r=_(t,e);return null==r?void 0:r.join("\r\n")};var D,C,x={};(D=x).foldLength=75,D.newLineChar="\r\n",D.helpers={updateTimezones:function(t){var e,r,n,i,a,o;if(!t||"vcalendar"!==t.name)return t;for(e=t.getAllSubcomponents(),r=[],n={},a=0;a<e.length;a++)"vtimezone"===e[a].name?n[o=e[a].getFirstProperty("tzid").getFirstValue()]=e[a]:r=r.concat(e[a].getAllProperties());for(i={},a=0;a<r.length;a++)(o=r[a].getParameter("tzid"))&&(i[o]=!0);for(a in n)n.hasOwnProperty(a)&&!i[a]&&t.removeSubcomponent(n[a]);for(a in i)i.hasOwnProperty(a)&&!n[a]&&D.TimezoneService.has(a)&&t.addSubcomponent(D.TimezoneService.get(a).component);return t},isStrictlyNaN:function(t){return"number"==typeof t&&isNaN(t)},strictParseInt:function(t){var e=parseInt(t,10);if(D.helpers.isStrictlyNaN(e))throw new Error('Could not extract integer from "'+t+'"');return e},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,o=t.length-1;a<=o;)if((i=r(e,t[n=a+Math.floor((o-a)/2)]))<0)o=n-1;else{if(!(i>0))break;a=n+1}return i<0?n:i>0?n+1:n},dumpn:function(){D.debug&&(D.helpers.dumpn=typeof s<"u"&&"log"in s?function(t){s.log(t)}:function(t){dump(t+"\n")},D.helpers.dumpn(arguments[0]))},clone:function(t,e){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 r=[],n=0;n<t.length;n++)r.push(e?D.helpers.clone(t[n],!0):t[n]);return r}var i={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=e?D.helpers.clone(t[a],!0):t[a]);return i},foldline:function(t){for(var e="",r=t||"",n=0,i=0;r.length;){var a=r.codePointAt(n);a<128?++i:i+=a<2048?2:a<65536?3:4,i<D.foldLength+1?n+=a>65535?2:1:(e+=D.newLineChar+" "+r.substring(0,n),r=r.substring(n),n=i=0)}return e.substr(D.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,e,r){function n(){}n.prototype=t.prototype,e.prototype=new n,r&&D.helpers.extend(r,e.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}},D.design=function(){var t=/\\\\|\\,|\\[Nn]/g,e=/\\|,|\n/g;function r(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,h))}(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 n={defaultType:"text"},i={defaultType:"text",multiValue:","},a={defaultType:"text",structuredValue:";"},o={defaultType:"integer"},s={defaultType:"date-time",allowedTypes:["date-time","date"]},u={defaultType:"date-time"},c={defaultType:"uri"},l={defaultType:"utc-offset"},f={defaultType:"recur"},d={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function h(t){switch(t){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return"\n";default:return t}}var p={categories:i,url:c,version:n,uid:n},m={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 e=parseFloat(t);return D.helpers.isStrictlyNaN(e)?0:e},toICAL:function(t){return String(t)}},integer:{fromICAL:function(t){var e=parseInt(t);return D.helpers.isStrictlyNaN(e)?0:e},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 D.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}},y=D.helpers.extend(m,{text:r(/\\\\|\\;|\\,|\\[Nn]/g,/\\|;|,|\n/g),uri:{},binary:{decorate:function(t){return D.Binary.fromString(t)},undecorate:function(t){return t.toString()}},"cal-address":{},date:{decorate:function(t,e){return C.strict?D.Time.fromDateString(t,e):D.Time.fromString(t,e)},undecorate:function(t){return t.toString()},fromICAL:function(t){return!C.strict&&t.length>=15?y["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?y["date-time"].toICAL(t):t}},"date-time":{fromICAL:function(t){if(!C.strict&&8==t.length)return y.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 y.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,e){return C.strict?D.Time.fromDateTimeString(t,e):D.Time.fromString(t,e)},undecorate:function(t){return t.toString()}},duration:{decorate:function(t){return D.Duration.fromString(t)},undecorate:function(t){return t.toString()}},period:{fromICAL:function(t){var e=t.split("/");return e[0]=y["date-time"].fromICAL(e[0]),D.Duration.isValueString(e[1])||(e[1]=y["date-time"].fromICAL(e[1])),e},toICAL:function(t){return C.strict||10!=t[0].length?t[0]=y["date-time"].toICAL(t[0]):t[0]=y.date.toICAL(t[0]),D.Duration.isValueString(t[1])||(C.strict||10!=t[1].length?t[1]=y["date-time"].toICAL(t[1]):t[1]=y.date.toICAL(t[1])),t.join("/")},decorate:function(t,e){return D.Period.fromJSON(t,e,!C.strict)},undecorate:function(t){return t.toJSON()}},recur:{fromICAL:function(t){return D.Recur._stringToData(t,!0)},toICAL:function(t){var e="";for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=t[r];"until"==r?n=n.length>10?y["date-time"].toICAL(n):y.date.toICAL(n):"wkst"==r?"number"==typeof n&&(n=D.Recur.numericDayToIcalDay(n)):Array.isArray(n)&&(n=n.join(",")),e+=r.toUpperCase()+"="+n+";"}return e.substr(0,e.length-1)},decorate:function(t){return D.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}}}),v=D.helpers.extend(p,{action:n,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:n,class:n,comment:n,completed:u,contact:n,created:u,description:n,dtend:s,dtstamp:u,dtstart:s,due:s,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:f,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":u,location:n,method:n,organizer:{defaultType:"cal-address"},"percent-complete":o,priority:o,prodid:n,"related-to":n,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":s,resources:i,"request-status":a,rrule:f,sequence:o,status:n,summary:n,transp:n,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:l,tzoffsetto:l,tzurl:c,tzid:n,tzname:n}),g=D.helpers.extend(m,{text:r(t,e),uri:r(t,e),date:{decorate:function(t){return D.VCardTime.fromDateAndOrTimeString(t,"date")},undecorate:function(t){return t.toString()},fromICAL:function(t){return 8==t.length?y.date.fromICAL(t):"-"==t[0]&&6==t.length?t.substr(0,4)+"-"+t.substr(4):t},toICAL:function(t){return 10==t.length?y.date.toICAL(t):"-"==t[0]&&7==t.length?t.substr(0,4)+t.substr(5):t}},time:{decorate:function(t){return D.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),o=t[a];return"Z"==t[i]?(r=t[i],n=t.substr(0,i)):t.length>6&&("-"==o||"+"==o)?(r=t.substr(a),n=t.substr(0,a)):(r="",n=t),[r,n]}},"date-time":{decorate:function(t){return D.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 D.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:y["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/}}),T=D.helpers.extend(p,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:d,bday:d,caladruri:c,caluri:c,clientpidmap:a,email:n,fburl:c,fn:n,gender:a,geo:c,impp:c,key:c,kind:n,lang:{defaultType:"language-tag"},logo:c,member:c,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,note:n,org:{defaultType:"text",structuredValue:";"},photo:c,related:c,rev:{defaultType:"timestamp"},role:n,sound:c,source:c,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:n,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:n}),A=D.helpers.extend(m,{binary:y.binary,date:g.date,"date-time":g["date-time"],"phone-number":{},uri:y.uri,text:y.text,time:y.time,vcard:y.text,"utc-offset":{toICAL:function(t){return t.substr(0,7)},fromICAL:function(t){return t.substr(0,7)},decorate:function(t){return D.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}}),S=D.helpers.extend(p,{fn:n,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,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:n,tel:{defaultType:"phone-number"},email:n,mailer:n,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:n,role:n,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:a,note:i,prodid:n,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},"sort-string":n,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:n,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),b={value:y,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:v},E={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:T},_={value:A,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:b,defaultType:"unknown",components:{vcard:E,vcard3:_,vevent:b,vtodo:b,vjournal:b,valarm:b,vtimezone:b,daylight:b,standard:b},icalendar:b,vcard:E,vcard3:_,getDesignSet:function(t){return t&&t in C.components?C.components[t]:C.defaultSet}};return C}(),D.stringify=function(){var t="\r\n",e="unknown",r=D.design,n=D.helpers;function i(e){"string"==typeof e[0]&&(e=[e]);for(var r=0,n=e.length,a="";r<n;r++)a+=i.component(e[r])+t;return a}i.component=function(e,n){var a=e[0].toUpperCase(),o="BEGIN:"+a+t,s=e[1],u=0,c=s.length,l=e[0];for("vcard"===l&&e[1].length>0&&!("version"===e[1][0][0]&&"4.0"===e[1][0][3])&&(l="vcard3"),n=n||r.getDesignSet(l);u<c;u++)o+=i.property(s[u],n)+t;for(var f=e[2]||[],d=0,h=f.length;d<h;d++)o+=i.component(f[d],n)+t;return o+"END:"+a},i.property=function(t,n,a){var o,s=t[0].toUpperCase(),u=t[0],c=t[1],l=s;for(o in c){var f=c[o];c.hasOwnProperty(o)&&((p=o in n.param&&n.param[o].multiValue)&&Array.isArray(f)?(n.param[o].multiValueSeparateDQuote&&(p='"'+p+'"'),f=f.map(i._rfc6868Unescape),f=i.multiValue(f,p,"unknown",null,n)):f=i._rfc6868Unescape(f),l+=";"+o.toUpperCase(),l+="="+i.propertyValue(f))}if(3===t.length)return l+":";var d=t[2];n||(n=r.defaultSet);var h,p=!1,m=!1,y=!1;return u in n.property?("multiValue"in(h=n.property[u])&&(p=h.multiValue),"structuredValue"in h&&Array.isArray(t[3])&&(m=h.structuredValue),"defaultType"in h?d===h.defaultType&&(y=!0):d===e&&(y=!0)):d===e&&(y=!0),y||(l+=";VALUE="+d.toUpperCase()),l+=":",l+=p&&m?i.multiValue(t[3],m,d,p,n,m):p?i.multiValue(t.slice(3),p,d,null,n,!1):m?i.multiValue(t[3],m,d,null,n,m):i.value(t[3],d,n,!1),a?l:D.helpers.foldline(l)},i.propertyValue=function(t){return-1===n.unescapedIndexOf(t,",")&&-1===n.unescapedIndexOf(t,":")&&-1===n.unescapedIndexOf(t,";")?t:'"'+t+'"'},i.multiValue=function(t,e,r,n,a,o){for(var s="",u=t.length,c=0;c<u;c++)n&&Array.isArray(t[c])?s+=i.multiValue(t[c],n,r,null,a,o):s+=i.value(t[c],r,a,o),c!==u-1&&(s+=e);return s},i.value=function(t,e,r,n){return e in r.value&&"toICAL"in r.value[e]?r.value[e].toICAL(t,n):t},i._rfc6868Unescape=function(t){return t.replace(/[\n^"]/g,(function(t){return a[t]}))};var a={'"':"^'","\n":"^n","^":"^^"};return i}(),D.parse=function(){var t=/[^ \t]/,e=D.design,r=D.helpers;function n(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 i(t){var e={},r=e.component=[];if(e.stack=[r],i._eachLine(t,(function(t,r){i._handleContentLine(r,e)})),e.stack.length>1)throw new n("invalid ical body. component began but did not end");return e=null,1==r.length?r[0]:r}n.prototype=Error.prototype,i.property=function(t,r){var n={component:[[],[]],designSet:r||e.defaultSet};return i._handleContentLine(t,n),n.component[1][0]},i.component=function(t){return i(t)},i.ParserError=n,i._handleContentLine=function(t,r){var a,o,s,u,c,l=t.indexOf(":"),f=t.indexOf(";"),d={};if(-1!==f&&-1!==l&&f>l&&(f=-1),-1!==f){if(s=t.substring(0,f).toLowerCase(),-1==(c=i._parseParameters(t.substring(f),0,r.designSet))[2])throw new n("Invalid parameters in '"+t+"'");if(d=c[0],a=c[1].length+c[2]+f,-1===(o=t.substring(a).indexOf(":")))throw new n("Missing parameter value in '"+t+"'");u=t.substring(a+o+1)}else{if(-1===l)throw new n('invalid line (no token ";" or ":") "'+t+'"');if(s=t.substring(0,l).toLowerCase(),u=t.substring(l+1),"begin"===s){var h=[u.toLowerCase(),[],[]];return 1===r.stack.length?r.component.push(h):r.component[2].push(h),r.stack.push(r.component),r.component=h,void(r.designSet||(r.designSet=e.getDesignSet(r.component[0])))}if("end"===s)return void(r.component=r.stack.pop())}var p,m,y,v=!1,g=!1;s in r.designSet.property&&("multiValue"in(m=r.designSet.property[s])&&(v=m.multiValue),"structuredValue"in m&&(g=m.structuredValue),u&&"detectType"in m&&(p=m.detectType(u))),p||(p="value"in d?d.value.toLowerCase():m?m.defaultType:"unknown"),delete d.value,v&&g?y=[s,d,p,u=i._parseMultiValue(u,g,p,[],v,r.designSet,g)]:v?(y=[s,d,p],i._parseMultiValue(u,v,p,y,null,r.designSet,!1)):y=g?[s,d,p,u=i._parseMultiValue(u,g,p,[],null,r.designSet,g)]:[s,d,p,u=i._parseValue(u,p,r.designSet,!1)],"vcard"===r.component[0]&&0===r.component[1].length&&!("version"===s&&"4.0"===u)&&(r.designSet=e.getDesignSet("vcard3")),r.component[1].push(y)},i._parseValue=function(t,e,r,n){return e in r.value&&"fromICAL"in r.value[e]?r.value[e].fromICAL(t,n):t},i._parseParameters=function(t,e,a){for(var o,s,u,c,l,f,d=e,h=0,p={},m=-1;!1!==h&&-1!==(h=r.unescapedIndexOf(t,"=",h+1));){if(0==(o=t.substr(d+1,h-d-1)).length)throw new n("Empty parameter name in '"+t+"'");if(f=!1,l=!1,c=(s=o.toLowerCase())in a.param&&a.param[s].valueType?a.param[s].valueType:"text",s in a.param&&(l=a.param[s].multiValue,a.param[s].multiValueSeparateDQuote&&(f=i._rfc6868Escape('"'+l+'"'))),'"'===t[h+1]){if(m=h+2,h=r.unescapedIndexOf(t,'"',m),l&&-1!=h)for(var y=!0;y;)t[h+1]==l&&'"'==t[h+2]?h=r.unescapedIndexOf(t,'"',h+3):y=!1;if(-1===h)throw new n('invalid line (no matching double quote) "'+t+'"');u=t.substr(m,h-m),-1===(d=r.unescapedIndexOf(t,";",h))&&(h=!1)}else{m=h+1;var v=r.unescapedIndexOf(t,";",m),g=r.unescapedIndexOf(t,":",m);-1!==g&&v>g?(v=g,h=!1):-1===v?(v=-1===g?t.length:g,h=!1):(d=v,h=v),u=t.substr(m,v-m)}if(u=i._rfc6868Escape(u),l){var T=f||l;u=i._parseMultiValue(u,T,c,[],null,a)}else u=i._parseValue(u,c,a);l&&s in p?Array.isArray(p[s])?p[s].push(u):p[s]=[p[s],u]:p[s]=u}return[p,u,m]},i._rfc6868Escape=function(t){return t.replace(/\^['n^]/g,(function(t){return a[t]}))};var a={"^'":'"',"^n":"\n","^^":"^"};return i._parseMultiValue=function(t,e,n,a,o,s,u){var c,l=0,f=0;if(0===e.length)return t;for(;-1!==(l=r.unescapedIndexOf(t,e,f));)c=t.substr(f,l-f),c=o?i._parseMultiValue(c,o,n,[],null,s,u):i._parseValue(c,n,s,u),a.push(c),f=l+e.length;return c=t.substr(f),c=o?i._parseMultiValue(c,o,n,[],null,s,u):i._parseValue(c,n,s,u),a.push(c),1==a.length?a[0]:a},i._eachLine=function(e,r){var n,i,a,o=e.length,s=e.search(t),u=s;do{a=(u=e.indexOf("\n",s)+1)>1&&"\r"===e[u-2]?2:1,0===u&&(u=o,a=0)," "===(i=e[s])||"\t"===i?n+=e.substr(s+1,u-s-(a+1)):(n&&r(null,n),n=e.substr(s,u-s-a)),s=u}while(u!==o);(n=n.trim()).length&&r(null,n)},i}(),D.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||D.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 e=new D.Property(this.jCal[1][t],this);return this._hydratedPropertyCount++,this._properties[t]=e},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,o=this[e];if("string"==typeof r){for(;n<a;n++)if(i[n][0]===r)return this._removeObjectByIndex(t,o,n),!0}else if(o)for(;n<a;n++)if(o[n]&&o[n]===r)return this._removeObjectByIndex(t,o,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 D.Property))throw new TypeError("must instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),t.parent&&t.parent.removeProperty(t);var e=this.jCal[1].push(t.jCal);return this._properties[e-1]=t,this._hydratedPropertyCount++,t.parent=this,t},addPropertyWithValue:function(t,e){var r=new D.Property(t);return r.setValue(e),this.addProperty(r),r},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 D.stringify.component(this.jCal,this._designSet)}},t.fromString=function(e){return new t(D.parse.component(e))},t}(),D.Property=function(){var t=D.design;function e(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 e.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 D.stringify.property(this.jCal,this._designSet,!0)}},e.fromString=function(t,r){return new e(D.parse.property(t,r))},e}(),D.UtcOffset=function(){function t(t){this.fromData(t)}return t.prototype={hours:0,minutes:0,factor:1,icaltype:"utc-offset",clone:function(){return D.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 e=Math.abs(t);return this.factor=t<0?-1:1,this.hours=D.helpers.trunc(e/3600),e-=3600*this.hours,this.minutes=D.helpers.trunc(e/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 D.design.icalendar.value["utc-offset"].toICAL(this.toString())},toString:function(){return(1==this.factor?"+":"-")+D.helpers.pad2(this.hours)+":"+D.helpers.pad2(this.minutes)}},t.fromString=function(t){var e={};return e.factor="+"===t[0]?1:-1,e.hours=D.helpers.strictParseInt(t.substr(1,2)),e.minutes=D.helpers.strictParseInt(t.substr(4,2)),new D.UtcOffset(e)},t.fromSeconds=function(e){var r=new t;return r.fromSeconds(e),r},t}(),D.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,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,u=0,c="",l=[];if(!t)return t;do{e=(a=t.charCodeAt(s++)<<16|t.charCodeAt(s++)<<8|t.charCodeAt(s++))>>18&63,r=a>>12&63,n=a>>6&63,i=63&a,l[u++]=o.charAt(e)+o.charAt(r)+o.charAt(n)+o.charAt(i)}while(s<t.length);c=l.join("");var f=t.length%3;return(f?c.slice(0,f-3):c)+"===".slice(f||3)},_b64_decode:function(t){var e,r,n,i,a,o,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=0,c=0,l=[];if(!t)return t;t+="";do{e=(o=s.indexOf(t.charAt(u++))<<18|s.indexOf(t.charAt(u++))<<12|(i=s.indexOf(t.charAt(u++)))<<6|(a=s.indexOf(t.charAt(u++))))>>16&255,r=o>>8&255,n=255&o,l[c++]=64==i?String.fromCharCode(e):64==a?String.fromCharCode(e,r):String.fromCharCode(e,r,n)}while(u<t.length);return l.join("")},toString:function(){return this.value}},t.fromString=function(e){return new t(e)},t}(),D.Period=function(t){if(this.wrappedJSObject=this,t&&"start"in t){if(t.start&&!(t.start instanceof D.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 D.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 D.Duration))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=t.duration}},D.Period.prototype={start:null,end:null,duration:null,icalclass:"icalperiod",icaltype:"period",clone:function(){return D.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()}},D.Period.fromString=function(t,e){var r=t.split("/");if(2!==r.length)throw new Error('Invalid string value: "'+t+'" must contain a "/" char.');var n={start:D.Time.fromDateTimeString(r[0],e)},i=r[1];return D.Duration.isValueString(i)?n.duration=D.Duration.fromString(i):n.end=D.Time.fromDateTimeString(i,e),new D.Period(n)},D.Period.fromData=function(t){return new D.Period(t)},D.Period.fromJSON=function(t,e,r){function n(t,e){return r?D.Time.fromString(t,e):D.Time.fromDateTimeString(t,e)}return D.Duration.isValueString(t[1])?D.Period.fromData({start:n(t[0],e),duration:D.Duration.fromString(t[1])}):D.Period.fromData({start:n(t[0],e),end:n(t[1],e)})},function(){var t=/([PDWHMTS]{1,1})/;function e(t,e,r){var n;switch(t){case"P":r.isNegative=!(!e||"-"!==e);break;case"D":n="days";break;case"W":n="weeks";break;case"H":n="hours";break;case"M":n="minutes";break;case"S":n="seconds";break;default:return 0}if(n){if(!e&&0!==e)throw new Error('invalid duration value: Missing number before "'+t+'"');var i=parseInt(e,10);if(D.helpers.isStrictlyNaN(i))throw new Error('invalid duration value: Invalid number "'+e+'" before "'+t+'"');r[n]=i}return 1}D.Duration=function(t){this.wrappedJSObject=this,this.fromData(t)},D.Duration.prototype={weeks:0,days:0,hours:0,minutes:0,seconds:0,isNegative:!1,icalclass:"icalduration",icaltype:"duration",clone:function(){return D.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 e=Math.abs(t);return this.isNegative=t<0,this.days=D.helpers.trunc(e/86400),this.days%7==0?(this.weeks=this.days/7,this.days=0):this.weeks=0,e-=86400*(this.days+7*this.weeks),this.hours=D.helpers.trunc(e/3600),e-=3600*this.hours,this.minutes=D.helpers.trunc(e/60),e-=60*this.minutes,this.seconds=e,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()}},D.Duration.fromSeconds=function(t){return(new D.Duration).fromSeconds(t)},D.Duration.isValueString=function(t){return"P"===t[0]||"P"===t[1]},D.Duration.fromString=function(r){for(var n=0,i=Object.create(null),a=0;-1!==(n=r.search(t));){var o=r[n],s=r.substr(0,n);r=r.substr(n+1),a+=e(o,s,i)}if(a<2)throw new Error('invalid duration value: Not enough duration components in "'+r+'"');return new D.Duration(i)},D.Duration.fromData=function(t){return new D.Duration(t)}}(),C=["tzid","location","tznames","latitude","longitude"],D.Timezone=function(t){this.wrappedJSObject=this,this.fromData(t)},D.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 D.Component)this.component=t;else{if(t&&"component"in t)if("string"==typeof t.component){var e=D.parse(t.component);this.component=new D.Component(e)}else t.component instanceof D.Component?this.component=t.component:this.component=null;for(var r in C)if(C.hasOwnProperty(r)){var n=C[r];t&&n in t&&(this[n]=t[n])}}return this.component instanceof D.Component&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this},utcOffset:function(t){if(this==D.Timezone.utcTimezone||this==D.Timezone.localTimezone||(this._ensureCoverage(t.year),!this.changes.length))return 0;for(var e={year:t.year,month:t.month,day:t.day,hour:t.hour,minute:t.minute,second:t.second},r=this._findNearbyChange(e),n=-1,i=1;;){var a=D.helpers.clone(this.changes[r],!0);if(a.utcOffset<a.prevUtcOffset?D.Timezone.adjust_change(a,0,0,0,a.utcOffset):D.Timezone.adjust_change(a,0,0,0,a.prevUtcOffset),D.Timezone._compare_change_fn(e,a)>=0?n=r:i=-1,-1==i&&-1!=n)break;if((r+=i)<0)return 0;if(r>=this.changes.length)break}var o=this.changes[n];if(o.utcOffset-o.prevUtcOffset<0&&n>0){var s=D.helpers.clone(o,!0);if(D.Timezone.adjust_change(s,0,0,0,s.prevUtcOffset),D.Timezone._compare_change_fn(e,s)<0){var u=this.changes[n-1];0!=o.is_daylight&&0==u.is_daylight&&(o=u)}}return o.utcOffset},_findNearbyChange:function(t){var e=D.helpers.binsearchInsert(this.changes,t,D.Timezone._compare_change_fn);return e>=this.changes.length?this.changes.length-1:e},_ensureCoverage:function(t){if(-1==D.Timezone._minimumExpansionYear){var e=D.Time.now();D.Timezone._minimumExpansionYear=e.year}var r=t;if(r<D.Timezone._minimumExpansionYear&&(r=D.Timezone._minimumExpansionYear),(r+=D.Timezone.EXTRA_COVERAGE)>D.Timezone.MAX_YEAR&&(r=D.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYear<t){for(var n=this.component.getAllSubcomponents(),i=n.length,a=0;a<i;a++)this._expandComponent(n[a],r,this.changes);this.changes.sort(D.Timezone._compare_change_fn),this.expandedUntilYear=r}},_expandComponent:function(t,e,r){if(!t.hasProperty("dtstart")||!t.hasProperty("tzoffsetto")||!t.hasProperty("tzoffsetfrom"))return null;var n,i=t.getFirstProperty("dtstart").getFirstValue();function a(t){return t.factor*(3600*t.hours+60*t.minutes)}function o(){var e={};return e.is_daylight="daylight"==t.name,e.utcOffset=a(t.getFirstProperty("tzoffsetto").getFirstValue()),e.prevUtcOffset=a(t.getFirstProperty("tzoffsetfrom").getFirstValue()),e}if(t.hasProperty("rrule")||t.hasProperty("rdate")){var s=t.getAllProperties("rdate");for(var u in s)if(s.hasOwnProperty(u)){var c=s[u].getFirstValue();(n=o()).year=c.year,n.month=c.month,n.day=c.day,c.isDate?(n.hour=i.hour,n.minute=i.minute,n.second=i.second,i.zone!=D.Timezone.utcTimezone&&D.Timezone.adjust_change(n,0,0,0,-n.prevUtcOffset)):(n.hour=c.hour,n.minute=c.minute,n.second=c.second,c.zone!=D.Timezone.utcTimezone&&D.Timezone.adjust_change(n,0,0,0,-n.prevUtcOffset)),r.push(n)}var l=t.getFirstProperty("rrule");if(l){l=l.getFirstValue(),n=o(),l.until&&l.until.zone==D.Timezone.utcTimezone&&(l.until.adjust(0,0,0,n.prevUtcOffset),l.until.zone=D.Timezone.localTimezone);for(var f,d=l.iterator(i);(f=d.next())&&(n=o(),!(f.year>e)&&f);)n.year=f.year,n.month=f.month,n.day=f.day,n.hour=f.hour,n.minute=f.minute,n.second=f.second,n.isDate=f.isDate,D.Timezone.adjust_change(n,0,0,0,-n.prevUtcOffset),r.push(n)}}else(n=o()).year=i.year,n.month=i.month,n.day=i.day,n.hour=i.hour,n.minute=i.minute,n.second=i.second,D.Timezone.adjust_change(n,0,0,0,-n.prevUtcOffset),r.push(n);return r},toString:function(){return this.tznames?this.tznames:this.tzid}},D.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},D.Timezone.convert_time=function(t,e,r){if(t.isDate||e.tzid==r.tzid||e==D.Timezone.localTimezone||r==D.Timezone.localTimezone)return t.zone=r,t;var n=e.utcOffset(t);return t.adjust(0,0,0,-n),n=r.utcOffset(t),t.adjust(0,0,0,n),null},D.Timezone.fromData=function(t){return(new D.Timezone).fromData(t)},D.Timezone.utcTimezone=D.Timezone.fromData({tzid:"UTC"}),D.Timezone.localTimezone=D.Timezone.fromData({tzid:"floating"}),D.Timezone.adjust_change=function(t,e,r,n,i){return D.Time.prototype.adjust.call(t,e,r,n,i,t)},D.Timezone._minimumExpansionYear=-1,D.Timezone.MAX_YEAR=2035,D.Timezone.EXTRA_COVERAGE=5,D.TimezoneService=function(){var t,e={get count(){return Object.keys(t).length},reset:function(){t=Object.create(null);var e=D.Timezone.utcTimezone;t.Z=e,t.UTC=e,t.GMT=e},has:function(e){return!!t[e]},get:function(e){return t[e]},register:function(e,r){if(e instanceof D.Component&&"vtimezone"===e.name&&(e=(r=new D.Timezone(e)).tzid),!(r instanceof D.Timezone))throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component");t[e]=r},remove:function(e){return delete t[e]}};return e.reset(),e}(),D.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)},D.Time._dowCache={},D.Time._wnCache={},D.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new D.Time(this._time,this.zone)},reset:function(){this.fromData(D.Time.epochTime),this.zone=D.Timezone.utcTimezone},resetTo:function(t,e,r,n,i,a,o){this.fromData({year:t,month:e,day:r,hour:n,minute:i,second:a,zone:o})},fromJSDate:function(t,e){return t?e?(this.zone=D.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=D.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,e){if(t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if("icaltype"===r)continue;this[r]=t[r]}if(e&&(this.zone=e),t&&!("isDate"in t)?this.isDate=!("hour"in t):t&&"isDate"in t&&(this.isDate=t.isDate),t&&"timezone"in t){var n=D.TimezoneService.get(t.timezone);this.zone=n||D.Timezone.localTimezone}return t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=D.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(t){var e=t||D.Time.SUNDAY,r=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(r in D.Time._dowCache)return D.Time._dowCache[r];var n=this.day,i=this.month+(this.month<3?12:0),a=this.year-(this.month<3?1:0),o=n+a+D.helpers.trunc(26*(i+1)/10)+D.helpers.trunc(a/4);return o=((o+=6*D.helpers.trunc(a/100)+D.helpers.trunc(a/400))+7-e)%7+1,D.Time._dowCache[r]=o,o},dayOfYear:function(){var t=D.Time.isLeapYear(this.year)?1:0;return D.Time.daysInYearPassedMonth[t][this.month-1]+this.day},startOfWeek:function(t){var e=t||D.Time.SUNDAY,r=this.clone();return r.day-=(this.dayOfWeek()+7-e)%7,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r},endOfWeek:function(t){var e=t||D.Time.SUNDAY,r=this.clone();return r.day+=(7-this.dayOfWeek()+e-D.Time.SUNDAY)%7,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r},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=D.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 e=t||D.Time.SUNDAY,r=this.dayOfWeek()-e;return r<0&&(r+=7),this.dayOfYear()-r},getDominicalLetter:function(){return D.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,e){var r,n=D.Time.daysInMonth(this.month,this.year),i=e,a=0,o=this.clone();if(i>=0){o.day=1,0!=i&&i--,a=o.day;var s=t-o.dayOfWeek();s<0&&(s+=7),a+=s,a-=t,r=t}else o.day=n,i++,(r=o.dayOfWeek()-t)<0&&(r+=7),r=n-r;return a+(r+7*i)},isNthWeekDay:function(t,e){var r=this.dayOfWeek();return 0===e&&r===t||this.nthWeekDay(t,e)===this.day},weekNumber:function(t){var e=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(e in D.Time._wnCache)return D.Time._wnCache[e];var r,n=this.clone();n.isDate=!0;var i=this.year;12==n.month&&n.day>25?(r=D.Time.weekOneStarts(i+1,t),n.compare(r)<0?r=D.Time.weekOneStarts(i,t):i++):(r=D.Time.weekOneStarts(i,t),n.compare(r)<0&&(r=D.Time.weekOneStarts(--i,t)));var a=n.subtractDate(r).toSeconds()/86400,o=D.helpers.trunc(a/7)+1;return D.Time._wnCache[e]=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 e=this.toUnixTime()+this.utcOffset(),r=t.toUnixTime()+t.utcOffset();return D.Duration.fromSeconds(e-r)},subtractDateTz:function(t){var e=this.toUnixTime(),r=t.toUnixTime();return D.Duration.fromSeconds(e-r)},compare:function(t){var e=this.toUnixTime(),r=t.toUnixTime();return e>r?1:r>e?-1:0},compareDateOnlyTz:function(t,e){function r(t){return D.Time._cmp_attr(n,i,t)}var n=this.convertToZone(e),i=t.convertToZone(e),a=0;return 0!=(a=r("year"))||0!=(a=r("month"))||(a=r("day")),a},convertToZone:function(t){var e=this.clone(),r=this.zone.tzid==t.tzid;return!this.isDate&&!r&&D.Timezone.convert_time(e,this.zone,t),e.zone=t,e},utcOffset:function(){return this.zone==D.Timezone.localTimezone||this.zone==D.Timezone.utcTimezone?0:this.zone.utcOffset(this)},toICALString:function(){var t=this.toString();return t.length>10?D.design.icalendar.value["date-time"].toICAL(t):D.design.icalendar.value.date.toICAL(t)},toString:function(){var t=this.year+"-"+D.helpers.pad2(this.month)+"-"+D.helpers.pad2(this.day);return this.isDate||(t+="T"+D.helpers.pad2(this.hour)+":"+D.helpers.pad2(this.minute)+":"+D.helpers.pad2(this.second),this.zone===D.Timezone.utcTimezone&&(t+="Z")),t},toJSDate:function(){return this.zone==D.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,e,r,n,i){var a,o,s,u,c,l,f,d=0,h=0,p=i||this._time;if(p.isDate||(s=p.second+n,p.second=s%60,a=D.helpers.trunc(s/60),p.second<0&&(p.second+=60,a--),u=p.minute+r+a,p.minute=u%60,o=D.helpers.trunc(u/60),p.minute<0&&(p.minute+=60,o--),c=p.hour+e+o,p.hour=c%24,d=D.helpers.trunc(c/24),p.hour<0&&(p.hour+=24,d--)),p.month>12?h=D.helpers.trunc((p.month-1)/12):p.month<1&&(h=D.helpers.trunc(p.month/12)-1),p.year+=h,p.month-=12*h,(l=p.day+t+d)>0)for(;!(l<=(f=D.Time.daysInMonth(p.month,p.year)));)p.month++,p.month>12&&(p.year++,p.month=1),l-=f;else for(;l<=0;)1==p.month?(p.year--,p.month=12):p.month--,l+=D.Time.daysInMonth(p.month,p.year);return p.day=l,this._cachedUnixTime=null,this},fromUnixTime:function(t){this.zone=D.Timezone.utcTimezone;var e=D.Time.epochTime.clone();e.adjust(0,0,0,t),this.year=e.year,this.month=e.month,this.day=e.day,this.hour=e.hour,this.minute=e.minute,this.second=Math.floor(e.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(D.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"))}(),D.Time.daysInMonth=function(t,e){var r=30;return t<1||t>12||(r=[0,31,28,31,30,31,30,31,31,30,31,30,31][t],2==t&&(r+=D.Time.isLeapYear(e))),r},D.Time.isLeapYear=function(t){return t<=1752?t%4==0:t%4==0&&t%100!=0||t%400==0},D.Time.fromDayOfYear=function(t,e){var r=e,n=t,i=new D.Time;i.auto_normalize=!1;var a=D.Time.isLeapYear(r)?1:0;if(n<1)return r--,a=D.Time.isLeapYear(r)?1:0,n+=D.Time.daysInYearPassedMonth[a][12],D.Time.fromDayOfYear(n,r);if(n>D.Time.daysInYearPassedMonth[a][12])return a=D.Time.isLeapYear(r)?1:0,n-=D.Time.daysInYearPassedMonth[a][12],r++,D.Time.fromDayOfYear(n,r);i.year=r,i.isDate=!0;for(var o=11;o>=0;o--)if(n>D.Time.daysInYearPassedMonth[a][o]){i.month=o+1,i.day=n-D.Time.daysInYearPassedMonth[a][o];break}return i.auto_normalize=!0,i},D.Time.fromStringv2=function(t){return new D.Time({year:parseInt(t.substr(0,4),10),month:parseInt(t.substr(5,2),10),day:parseInt(t.substr(8,2),10),isDate:!0})},D.Time.fromDateString=function(t){return new D.Time({year:D.helpers.strictParseInt(t.substr(0,4)),month:D.helpers.strictParseInt(t.substr(5,2)),day:D.helpers.strictParseInt(t.substr(8,2)),isDate:!0})},D.Time.fromDateTimeString=function(t,e){if(t.length<19)throw new Error('invalid date-time value: "'+t+'"');var r;return t[19]&&"Z"===t[19]?r="Z":e&&(r=e.getParameter("tzid")),new D.Time({year:D.helpers.strictParseInt(t.substr(0,4)),month:D.helpers.strictParseInt(t.substr(5,2)),day:D.helpers.strictParseInt(t.substr(8,2)),hour:D.helpers.strictParseInt(t.substr(11,2)),minute:D.helpers.strictParseInt(t.substr(14,2)),second:D.helpers.strictParseInt(t.substr(17,2)),timezone:r})},D.Time.fromString=function(t,e){return t.length>10?D.Time.fromDateTimeString(t,e):D.Time.fromDateString(t)},D.Time.fromJSDate=function(t,e){return(new D.Time).fromJSDate(t,e)},D.Time.fromData=function(t,e){return(new D.Time).fromData(t,e)},D.Time.now=function(){return D.Time.fromJSDate(new Date,!1)},D.Time.weekOneStarts=function(t,e){var r=D.Time.fromData({year:t,month:1,day:1,isDate:!0}),n=r.dayOfWeek(),i=e||D.Time.DEFAULT_WEEK_START;return n>D.Time.THURSDAY&&(r.day+=7),i>D.Time.THURSDAY&&(r.day-=7),r.day-=n-i,r},D.Time.getDominicalLetter=function(t){var e="GFEDCBA",r=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return D.Time.isLeapYear(t)?e[(r+6)%7]+e[r]:e[r]},D.Time.epochTime=D.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),D.Time._cmp_attr=function(t,e,r){return t[r]>e[r]?1:t[r]<e[r]?-1:0},D.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]],D.Time.SUNDAY=1,D.Time.MONDAY=2,D.Time.TUESDAY=3,D.Time.WEDNESDAY=4,D.Time.THURSDAY=5,D.Time.FRIDAY=6,D.Time.SATURDAY=7,D.Time.DEFAULT_WEEK_START=D.Time.MONDAY,D.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)},D.helpers.inherits(D.Time,D.VCardTime,{icalclass:"vcardtime",icaltype:"date-and-or-time",zone:null,clone:function(){return new D.VCardTime(this._time,this.zone,this.icaltype)},_normalize:function(){return this},utcOffset:function(){return this.zone instanceof D.UtcOffset?this.zone.toSeconds():D.Time.prototype.utcOffset.apply(this,arguments)},toICALString:function(){return D.design.vcard.value[this.icaltype].toICAL(this.toString())},toString:function(){var t,e=D.helpers.pad2,r=this.year,n=this.month,i=this.day,a=this.hour,o=this.minute,s=this.second,u=null!==n,c=null!==i,l=null!==a,f=null!==o,d=null!==s,h=(null!==r?e(r)+(u||c?"-":""):u||c?"--":"")+(u?e(n):"")+(c?"-"+e(i):""),p=(l?e(a):"-")+(l&&f?":":"")+(f?e(o):"")+(l||f?"":"-")+(f&&d?":":"")+(d?e(s):"");switch(t=this.zone===D.Timezone.utcTimezone?"Z":this.zone instanceof D.UtcOffset?this.zone.toString():this.zone===D.Timezone.localTimezone?"":this.zone instanceof D.Timezone?D.UtcOffset.fromSeconds(this.zone.utcOffset(this)).toString():"",this.icaltype){case"time":return p+t;case"date-and-or-time":case"date-time":return h+("--"==p?"":"T"+p+t);case"date":return h}return null}}),D.VCardTime.fromDateAndOrTimeString=function(t,e){function r(t,e,r){return t?D.helpers.strictParseInt(t.substr(e,r)):null}var n=t.split("T"),i=n[0],a=n[1],o=a?D.design.vcard.value.time._splitZone(a):[],s=o[0],u=o[1];D.helpers.strictParseInt;var c=i?i.length:0,l=u?u.length:0,f=i&&"-"==i[0]&&"-"==i[1],d=u&&"-"==u[0],h={year:f?null:r(i,0,4),month:!f||4!=c&&7!=c?7==c||10==c?r(i,5,2):null:r(i,2,2),day:5==c?r(i,3,2):7==c&&f?r(i,5,2):10==c?r(i,8,2):null,hour:d?null:r(u,0,2),minute:d&&3==l?r(u,1,2):l>4?r(u,d?1:3,2):null,second:4==l?r(u,2,2):6==l?r(u,4,2):8==l?r(u,6,2):null};return s="Z"==s?D.Timezone.utcTimezone:s&&":"==s[3]?D.UtcOffset.fromString(s):null,new D.VCardTime(h,s,e)},function(){var t={SU:D.Time.SUNDAY,MO:D.Time.MONDAY,TU:D.Time.TUESDAY,WE:D.Time.WEDNESDAY,TH:D.Time.THURSDAY,FR:D.Time.FRIDAY,SA:D.Time.SATURDAY},e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);function n(t,e,r,n){var i=n;if("+"===n[0]&&(i=n.substr(1)),i=D.helpers.strictParseInt(i),void 0!==e&&n<e)throw new Error(t+': invalid value "'+n+'" must be > '+e);if(void 0!==r&&n>r)throw new Error(t+': invalid value "'+n+'" must be < '+e);return i}D.Recur=function(t){this.wrappedJSObject=this,this.parts={},t&&"object"==typeof t&&this.fromData(t)},D.Recur.prototype={parts:null,interval:1,wkst:D.Time.MONDAY,until:null,count:null,freq:null,icalclass:"icalrecur",icaltype:"recur",iterator:function(t){return new D.RecurIterator({rule:this,dtstart:t})},clone:function(){return new D.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 e in t){var r=e.toUpperCase();r in u?Array.isArray(t[e])?this.parts[r]=t[e]:this.parts[r]=[t[e]]:this[e]=t[e]}this.interval&&"number"!=typeof this.interval&&s.INTERVAL(this.interval,this),this.wkst&&"number"!=typeof this.wkst&&(this.wkst=D.Recur.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof D.Time)&&(this.until=D.Time.fromString(this.until))},toJSON:function(){var t=Object.create(null);for(var e in t.freq=this.freq,this.count&&(t.count=this.count),this.interval>1&&(t.interval=this.interval),this.parts)if(this.parts.hasOwnProperty(e)){var r=this.parts[e];Array.isArray(r)&&1==r.length?t[e.toLowerCase()]=r[0]:t[e.toLowerCase()]=D.helpers.clone(this.parts[e])}return this.until&&(t.until=this.until.toString()),"wkst"in this&&this.wkst!==D.Time.DEFAULT_WEEK_START&&(t.wkst=D.Recur.numericDayToIcalDay(this.wkst)),t},toString:function(){var t="FREQ="+this.freq;for(var e in this.count&&(t+=";COUNT="+this.count),this.interval>1&&(t+=";INTERVAL="+this.interval),this.parts)this.parts.hasOwnProperty(e)&&(t+=";"+e+"="+this.parts[e]);return this.until&&(t+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==D.Time.DEFAULT_WEEK_START&&(t+=";WKST="+D.Recur.numericDayToIcalDay(this.wkst)),t}},D.Recur.icalDayToNumericDay=function(e,r){var n=r||D.Time.SUNDAY;return(t[e]-n+7)%7+1},D.Recur.numericDayToIcalDay=function(t,r){var n=t+(r||D.Time.SUNDAY)-D.Time.SUNDAY;return n>7&&(n-=7),e[n]};var i=/^(SU|MO|TU|WE|TH|FR|SA)$/,a=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,o=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],s={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,e,r){e.count=D.helpers.strictParseInt(t)},INTERVAL:function(t,e,r){e.interval=D.helpers.strictParseInt(t),e.interval<1&&(e.interval=1)},UNTIL:function(t,e,r){t.length>10?e.until=D.design.icalendar.value["date-time"].fromICAL(t):e.until=D.design.icalendar.value.date.fromICAL(t),r||(e.until=D.Time.fromString(e.until))},WKST:function(t,e,r){if(!i.test(t))throw new Error('invalid WKST value "'+t+'"');e.wkst=D.Recur.icalDayToNumericDay(t)}},u={BYSECOND:n.bind(this,"BYSECOND",0,60),BYMINUTE:n.bind(this,"BYMINUTE",0,59),BYHOUR:n.bind(this,"BYHOUR",0,23),BYDAY:function(t){if(a.test(t))return t;throw new Error('invalid BYDAY value "'+t+'"')},BYMONTHDAY:n.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:n.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:n.bind(this,"BYWEEKNO",-53,53),BYMONTH:n.bind(this,"BYMONTH",1,12),BYSETPOS:n.bind(this,"BYSETPOS",-366,366)};D.Recur.fromString=function(t){var e=D.Recur._stringToData(t,!1);return new D.Recur(e)},D.Recur.fromData=function(t){return new D.Recur(t)},D.Recur._stringToData=function(t,e){for(var r=Object.create(null),n=t.split(";"),i=n.length,a=0;a<i;a++){var o=n[a].split("="),c=o[0].toUpperCase(),l=o[0].toLowerCase(),f=e?l:c,d=o[1];if(c in u){for(var h=d.split(","),p=0,m=h.length;p<m;p++)h[p]=u[c](h[p]);r[f]=1==h.length?h[0]:h}else c in s?s[c](d,r,e):r[l]=d}return r}}(),D.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=D.helpers.formatClassType(t.rule,D.Recur),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=D.helpers.formatClassType(t.dtstart,D.Time),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");t.by_data?this.by_data=t.by_data:this.by_data=D.helpers.clone(this.rule.parts,!0),t.occurrence_number&&(this.occurrence_number=t.occurrence_number),this.days=t.days||[],t.last&&(this.last=D.helpers.formatClassType(t.last,D.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 e=(u=this.ruleDayOfWeek(t.BYDAY[0],this.rule.wkst))[0],r=(c=u[1])-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<c&&r>=0||r<0)&&(this.last.day+=r)}else{var n=D.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[n]}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 i=null,a=this.last.clone(),o=D.Time.daysInMonth(this.last.month,this.last.year);for(var s in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(s)){this.last=a.clone(),e=(u=this.ruleDayOfWeek(this.by_data.BYDAY[s]))[0];var u,c=u[1],l=this.last.nthWeekDay(c,e);if(e>=6||e<=-6)throw new Error("Malformed values in BYDAY part");if(l>o||l<=0){if(i&&i.month==a.month)continue;for(;l>o||l<=0;)this.increment_month(),o=D.Time.daysInMonth(this.last.month,this.last.year),l=this.last.nthWeekDay(c,e)}this.last.day=l,(!i||this.last.compare(i)<0)&&(i=this.last.clone())}if(this.last=i.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=D.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,e,r){for(var n,i=D.Time.daysInMonth(e,t),a=[],o=0,s=r.length;o<s;o++)if(n=r[o],!(Math.abs(n)>i)){if(n<0)n=i+(n+1);else if(0===n)continue;-1===a.indexOf(n)&&a.push(n)}return a.sort((function(t,e){return t-e}))},_byDayAndMonthDay:function(t){var e,r,n,i,a=this.by_data.BYDAY,o=0,s=a.length,u=0,c=this,l=this.last.day;function f(){for(i=D.Time.daysInMonth(c.last.month,c.last.year),e=c.normalizeByMonthDayRules(c.last.year,c.last.month,c.by_data.BYMONTHDAY),n=e.length;e[o]<=l&&(!t||e[o]!=l)&&o<n-1;)o++}function d(){l=0,c.increment_month(),o=0,f()}f(),t&&(l-=1);for(var h=48;!u&&h;)if(h--,(r=l+1)>i)d();else{var p=e[o++];if(p>=r){l=p;for(var m=0;m<s;m++){var y=this.ruleDayOfWeek(a[m]),v=y[0],g=y[1];if(this.last.day=l,this.last.isNthWeekDay(g,v)){u=1;break}}u||o!==n||d()}else d()}if(h<=0)throw new Error("Malformed values in BYDAY combined with BYMONTHDAY parts");return u},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 e=D.Time.daysInMonth(this.last.month,this.last.year),r=0,n=0;if(this.has_by_data("BYSETPOS")){for(var i=this.last.day,a=1;a<=e;a++)this.last.day=a,this.is_day_in_byday(this.last)&&(n++,a<=i&&r++);this.last.day=i}for(t=0,a=this.last.day+1;a<=e;a++)if(this.last.day=a,this.is_day_in_byday(this.last)&&(!this.has_by_data("BYSETPOS")||this.check_set_position(++r)||this.check_set_position(r-n-1))){t=1;break}a>e&&(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()),e=D.Time.daysInMonth(this.last.month,this.last.year),(a=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY])<0&&(a=e+a+1),a>e?(this.last.day=1,t=this.is_day_in_byday(this.last)):this.last.day=a):(this.increment_month(),e=D.Time.daysInMonth(this.last.month,this.last.year),this.by_data.BYMONTHDAY[0]>e?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 e=new D.Time;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,t=1);var r=this.by_data.BYDAY[this.by_indices.BYDAY],n=this.ruleDayOfWeek(r)[1];(n-=this.rule.wkst)<0&&(n+=7),e.year=this.last.year,e.month=this.last.month,e.day=this.last.day;var i=e.startDoyWeek(this.rule.wkst);if(!(n+i<1)||t){var a=D.Time.fromDayOfYear(i+n,this.last.year);return this.last.year=a.year,this.last.month=a.month,this.last.day=a.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],e=this.last.year;t<1&&(t+=1,e+=1);var r=D.Time.fromDayOfYear(t,e);this.last.day=r.day,this.last.month=r.month},ruleDayOfWeek:function(t,e){var r=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return r?[parseInt(r[1]||0,10),t=D.Recur.icalDayToNumericDay(r[2],e)]:[0,0]},next_generic:function(t,e,r,n,i){var a=t in this.by_data,o=this.rule.freq==e,s=0;if(i&&0==this[i]())return s;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,s=1),this.last[r]=u[this.by_indices[t]]}else o&&this["increment_"+r](this.rule.interval);return a&&s&&o&&this["increment_"+n](1),s},increment_monthday:function(t){for(var e=0;e<t;e++){var r=D.Time.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>r&&(this.last.day-=r,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=D.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,e,r,n){this.last[e]+=t;var i=D.helpers.trunc(this.last[e]/r);this.last[e]%=r,0!=i&&this["increment_"+n](i)},has_by_data:function(t){return t in this.rule.parts},expand_year_days:function(t){var e=new D.Time;this.days=[];var r={},n=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];a in this.rule.parts&&(r[a]=this.rule.parts[a])}if("BYMONTH"in r&&"BYWEEKNO"in r){var o=1,s={};e.year=t,e.isDate=!0;for(var u=0;u<this.by_data.BYMONTH.length;u++){var c=this.by_data.BYMONTH[u];e.month=c,e.day=1;var l=e.weekNumber(this.rule.wkst);e.day=D.Time.daysInMonth(c,t);var f=e.weekNumber(this.rule.wkst);for(u=l;u<f;u++)s[u]=1}for(var d=0;d<this.by_data.BYWEEKNO.length&&o;d++)(B=this.by_data.BYWEEKNO[d])<52?o&=s[d]:o=0;o?delete r.BYMONTH:delete r.BYWEEKNO}var h=Object.keys(r).length;if(0==h){var p=this.dtstart.clone();p.year=this.last.year,this.days.push(p.dayOfYear())}else if(1==h&&"BYMONTH"in r){for(var m in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(m)){var y=this.dtstart.clone();y.year=t,y.month=this.by_data.BYMONTH[m],y.isDate=!0,this.days.push(y.dayOfYear())}}else if(1==h&&"BYMONTHDAY"in r){for(var v in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(v)){var g=this.dtstart.clone();(S=this.by_data.BYMONTHDAY[v])<0&&(S=S+(A=D.Time.daysInMonth(g.month,t))+1),g.day=S,g.year=t,g.isDate=!0,this.days.push(g.dayOfYear())}}else if(2==h&&"BYMONTHDAY"in r&&"BYMONTH"in r){for(var m in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(m)){var T=this.by_data.BYMONTH[m],A=D.Time.daysInMonth(T,t);for(var v in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(v)){var S;(S=this.by_data.BYMONTHDAY[v])<0&&(S=S+A+1),e.day=S,e.month=T,e.year=t,e.isDate=!0,this.days.push(e.dayOfYear())}}}else if(!(1==h&&"BYWEEKNO"in r||2==h&&"BYWEEKNO"in r&&"BYMONTHDAY"in r))if(1==h&&"BYDAY"in r)this.days=this.days.concat(this.expand_by_day(t));else if(2==h&&"BYDAY"in r&&"BYMONTH"in r){for(var m in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(m)){c=this.by_data.BYMONTH[m],A=D.Time.daysInMonth(c,t),e.year=t,e.month=this.by_data.BYMONTH[m],e.day=1,e.isDate=!0;var b=e.dayOfWeek(),E=e.dayOfYear()-1;e.day=A;var _=e.dayOfWeek();if(this.has_by_data("BYSETPOS")){for(var C=[],x=1;x<=A;x++)e.day=x,this.is_day_in_byday(e)&&C.push(x);for(var w=0;w<C.length;w++)(this.check_set_position(w+1)||this.check_set_position(w-C.length))&&this.days.push(E+C[w])}else for(var O in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(O)){var I,N=this.by_data.BYDAY[O],L=this.ruleDayOfWeek(N),M=L[0],U=L[1],P=(U+7-b)%7+1,k=A-(_+7-U)%7;if(0==M)for(x=P;x<=A;x+=7)this.days.push(E+x);else M>0?(I=P+7*(M-1))<=A&&this.days.push(E+I):(I=k+7*(M+1))>0&&this.days.push(E+I)}}this.days.sort((function(t,e){return t-e}))}else if(2==h&&"BYDAY"in r&&"BYMONTHDAY"in r){var Y=this.expand_by_day(t);for(var R in Y)if(Y.hasOwnProperty(R)){x=Y[R];var j=D.Time.fromDayOfYear(x,t);this.by_data.BYMONTHDAY.indexOf(j.day)>=0&&this.days.push(x)}}else if(3==h&&"BYDAY"in r&&"BYMONTHDAY"in r&&"BYMONTH"in r)for(var R in Y=this.expand_by_day(t))Y.hasOwnProperty(R)&&(x=Y[R],j=D.Time.fromDayOfYear(x,t),this.by_data.BYMONTH.indexOf(j.month)>=0&&this.by_data.BYMONTHDAY.indexOf(j.day)>=0&&this.days.push(x));else if(2==h&&"BYDAY"in r&&"BYWEEKNO"in r){for(var R in Y=this.expand_by_day(t))if(Y.hasOwnProperty(R)){x=Y[R];var B=(j=D.Time.fromDayOfYear(x,t)).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(B)&&this.days.push(x)}}else 3==h&&"BYDAY"in r&&"BYWEEKNO"in r&&"BYMONTHDAY"in r||(this.days=1==h&&"BYYEARDAY"in r?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 o in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(o)){var s=this.by_data.BYDAY[o],u=this.ruleDayOfWeek(s),c=u[0],l=u[1];if(0==c)for(var f=(l+7-n)%7+1;f<=a;f+=7)e.push(f);else if(c>0){var d;d=l>=n?l-n+1:l-n+8,e.push(d+7*(c-1))}else{var h;c=-c,h=l<=i?a-i+l:a-i+l-7,e.push(h-7*(c-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],o=t.dayOfWeek();if(0==i&&a==o||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 o=this.by_data[e];for(var s in o)if(o.hasOwnProperty(s)&&o[s]==r){a=!0;break}}else a=!0;return a},check_contracting_rules:function(){var t=this.last.dayOfWeek(),e=this.last.weekNumber(this.rule.wkst),r=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",D.Recur.numericDayToIcalDay(t))&&this.check_contract_restriction("BYWEEKNO",e)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",r)},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}(),D.RecurExpansion=function(){function t(t){return D.helpers.formatClassType(t,D.Time)}function e(t,e){return t.compare(e)}function r(t){this.ruleDates=[],this.exDates=[],this.fromData(t)}return r.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(e){var r=D.helpers.formatClassType(e.dtstart,D.Time);if(!r)throw new Error(".dtstart (ICAL.Time) must be given");if(this.dtstart=r,e.component)this._init(e.component);else{if(this.last=t(e.last)||r.clone(),!e.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=e.ruleIterators.map((function(t){return D.helpers.formatClassType(t,D.RecurIterator)})),this.ruleDateInc=e.ruleDateInc,this.exDateInc=e.exDateInc,e.ruleDates&&(this.ruleDates=e.ruleDates.map(t),this.ruleDate=this.ruleDates[this.ruleDateInc]),e.exDates&&(this.exDates=e.exDates.map(t),this.exDate=this.exDates[this.exDateInc]),typeof e.complete<"u"&&(this.complete=e.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,r){function n(t){i=D.helpers.binsearchInsert(a,t,e),a.splice(i,0,t)}for(var i,a=[],o=t.getAllProperties(r),s=o.length,u=0;u<s;u++)o[u].getValues().forEach(n);return a},_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=D.helpers.binsearchInsert(this.ruleDates,this.last,e),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.hasProperty("rrule"))for(var r,n=t.getAllProperties("rrule"),i=0,a=n.length;i<a;i++)r=n[i].getFirstValue().iterator(this.dtstart),this.ruleIterators.push(r),r.next();t.hasProperty("exdate")&&(this.exDates=this._extractDates(t,"exdate"),this.exDateInc=D.helpers.binsearchInsert(this.exDates,this.last,e),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}},r}(),D.Event=function(){function t(t,e){t instanceof D.Component||(e=t,t=null),this.component=t||new D.Component("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],e&&e.strictExceptions&&(this.strictExceptions=e.strictExceptions),e&&e.exceptions?e.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 e(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 D.Component&&(t=new D.Event(t)),this.strictExceptions&&t.uid!==this.uid)throw new Error("attempted to relate unrelated exception");var r=t.recurrenceId.toString();if(this.exceptions[r]=t,t.modifiesFuture()){var n=[t.recurrenceId.toUnixTime(),r],i=D.helpers.binsearchInsert(this.rangeExceptions,n,e);this.rangeExceptions.splice(i,0,n)}},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 r=t.toUnixTime(),n=D.helpers.binsearchInsert(this.rangeExceptions,[r],e);if((n-=1)<0)return null;var i=this.rangeExceptions[n];return r<i[0]?null:i[1]},getOccurrenceDetails:function(t){var e,r=t.toString(),n=t.convertToZone(D.Timezone.utcTimezone).toString(),i={recurrenceId:t};if(r in this.exceptions)e=i.item=this.exceptions[r],i.startDate=e.startDate,i.endDate=e.endDate,i.item=e;else if(n in this.exceptions)e=this.exceptions[n],i.startDate=e.startDate,i.endDate=e.endDate,i.item=e;else{var a,o=this.findRangeException(t);if(o){var s=this.exceptions[o];i.item=s;var u=this._rangeExceptionCache[o];if(!u){var c=s.recurrenceId.clone(),l=s.startDate.clone();c.zone=l.zone,u=l.subtractDate(c),this._rangeExceptionCache[o]=u}var f=t.clone();f.zone=s.startDate.zone,f.addDuration(u),(a=f.clone()).addDuration(s.duration),i.startDate=f,i.endDate=a}else(a=t.clone()).addDuration(this.duration),i.endDate=a,i.startDate=t,i.item=this}return i},iterator:function(t){return new D.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,e){var r=this.component.getFirstProperty(t);r||(r=new D.Property(t),this.component.addProperty(r)),e.zone===D.Timezone.localTimezone||e.zone===D.Timezone.utcTimezone?r.removeParameter("tzid"):r.setParameter("tzid",e.zone.tzid),r.setValue(e)},_setProp:function(t,e){this.component.updatePropertyWithValue(t,e)},_firstProp:function(t){return this.component.getFirstPropertyValue(t)},toString:function(){return this.component.toString()}},t}(),D.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=D.parse(t)),t instanceof D.Component||(t=new D.Component(t));for(var e,r=t.getAllSubcomponents(),n=0,i=r.length;n<i;n++)switch(e=r[n],e.name){case"vtimezone":if(this.parseTimezone){var a=e.getFirstPropertyValue("tzid");a&&this.ontimezone(new D.Timezone({tzid:a,component:e}))}break;case"vevent":this.parseEvent&&this.onevent(new D.Event(e));break;default:continue}this.oncomplete()}},t}();var w=x;let O;const I=new Uint8Array(16);function N(){if(!O&&(O=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!O))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return O(I)}const L=[];for(let t=0;t<256;++t)L.push((t+256).toString(16).slice(1));const M={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function U(t,e,r){if(M.randomUUID&&!e&&!t)return M.randomUUID();const n=(t=t||{}).random||(t.rng||N)();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 L[t[e+0]]+L[t[e+1]]+L[t[e+2]]+L[t[e+3]]+"-"+L[t[e+4]]+L[t[e+5]]+"-"+L[t[e+6]]+L[t[e+7]]+"-"+L[t[e+8]]+L[t[e+9]]+"-"+L[t[e+10]]+L[t[e+11]]+L[t[e+12]]+L[t[e+13]]+L[t[e+14]]+L[t[e+15]]}(n)}var P={},k=function(t){return t&&t.Math==Math&&t},Y=k("object"==typeof globalThis&&globalThis)||k("object"==typeof window&&window)||k("object"==typeof self&&self)||k("object"==typeof g&&g)||function(){return this}()||Function("return this")(),R={},j=function(t){try{return!!t()}catch{return!0}},B=!j((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),z=!j((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),W=z,F=Function.prototype.call,V=W?F.bind(F):function(){return F.apply(F,arguments)},Z={},H={}.propertyIsEnumerable,G=Object.getOwnPropertyDescriptor,$=G&&!H.call({1:2},1);Z.f=$?function(t){var e=G(this,t);return!!e&&e.enumerable}:H;var K,q,X=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},J=z,Q=Function.prototype,tt=Q.call,et=J&&Q.bind.bind(tt,tt),rt=function(t){return J?et(t):function(){return tt.apply(t,arguments)}},nt=rt,it=nt({}.toString),at=nt("".slice),ot=function(t){return at(it(t),8,-1)},st=ot,ut=rt,ct=function(t){if("Function"===st(t))return ut(t)},lt=j,ft=ot,dt=Object,ht=ct("".split),pt=lt((function(){return!dt("z").propertyIsEnumerable(0)}))?function(t){return"String"==ft(t)?ht(t,""):dt(t)}:dt,mt=function(t){return null==t},yt=mt,vt=TypeError,gt=function(t){if(yt(t))throw vt("Can't call method on "+t);return t},Tt=pt,At=gt,St=function(t){return Tt(At(t))},bt="object"==typeof document&&document.all,Et={all:bt,IS_HTMLDDA:typeof bt>"u"&&void 0!==bt},_t=Et.all,Dt=Et.IS_HTMLDDA?function(t){return"function"==typeof t||t===_t}:function(t){return"function"==typeof t},Ct=Dt,xt=Et.all,wt=Et.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Ct(t)||t===xt}:function(t){return"object"==typeof t?null!==t:Ct(t)},Ot=Y,It=Dt,Nt=function(t,e){return arguments.length<2?function(t){return It(t)?t:void 0}(Ot[t]):Ot[t]&&Ot[t][e]},Lt=ct({}.isPrototypeOf),Mt=Y,Ut=Nt("navigator","userAgent")||"",Pt=Mt.process,kt=Mt.Deno,Yt=Pt&&Pt.versions||kt&&kt.version,Rt=Yt&&Yt.v8;Rt&&(q=(K=Rt.split("."))[0]>0&&K[0]<4?1:+(K[0]+K[1])),!q&&Ut&&(!(K=Ut.match(/Edge\/(\d+)/))||K[1]>=74)&&(K=Ut.match(/Chrome\/(\d+)/))&&(q=+K[1]);var jt=q,Bt=j,zt=!!Object.getOwnPropertySymbols&&!Bt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&jt&&jt<41})),Wt=zt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=Nt,Vt=Dt,Zt=Lt,Ht=Object,Gt=Wt?function(t){return"symbol"==typeof t}:function(t){var e=Ft("Symbol");return Vt(e)&&Zt(e.prototype,Ht(t))},$t=String,Kt=function(t){try{return $t(t)}catch{return"Object"}},qt=Dt,Xt=Kt,Jt=TypeError,Qt=function(t){if(qt(t))return t;throw Jt(Xt(t)+" is not a function")},te=Qt,ee=mt,re=V,ne=Dt,ie=wt,ae=TypeError,oe=function(t,e){var r,n;if("string"===e&&ne(r=t.toString)&&!ie(n=re(r,t))||ne(r=t.valueOf)&&!ie(n=re(r,t))||"string"!==e&&ne(r=t.toString)&&!ie(n=re(r,t)))return n;throw ae("Can't convert object to primitive value")},se={exports:{}},ue=Y,ce=Object.defineProperty,le=function(t,e){try{ce(ue,t,{value:e,configurable:!0,writable:!0})}catch{ue[t]=e}return e},fe=le,de="__core-js_shared__",he=Y[de]||fe(de,{}),pe=he;(se.exports=function(t,e){return pe[t]||(pe[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"});var me=se.exports,ye=gt,ve=Object,ge=function(t){return ve(ye(t))},Te=ge,Ae=ct({}.hasOwnProperty),Se=Object.hasOwn||function(t,e){return Ae(Te(t),e)},be=ct,Ee=0,_e=Math.random(),De=be(1..toString),Ce=function(t){return"Symbol("+(void 0===t?"":t)+")_"+De(++Ee+_e,36)},xe=Y,we=Se,Oe=Ce,Ie=zt,Ne=Wt,Le=me("wks"),Me=xe.Symbol,Ue=Me&&Me.for,Pe=Ne?Me:Me&&Me.withoutSetter||Oe,ke=function(t){if(!we(Le,t)||!Ie&&"string"!=typeof Le[t]){var e="Symbol."+t;Ie&&we(Me,t)?Le[t]=Me[t]:Le[t]=Ne&&Ue?Ue(e):Pe(e)}return Le[t]},Ye=V,Re=wt,je=Gt,Be=oe,ze=TypeError,We=ke("toPrimitive"),Fe=function(t,e){if(!Re(t)||je(t))return t;var r,n=function(t,e){var r=t[e];return ee(r)?void 0:te(r)}(t,We);if(n){if(void 0===e&&(e="default"),r=Ye(n,t,e),!Re(r)||je(r))return r;throw ze("Can't convert object to primitive value")}return void 0===e&&(e="number"),Be(t,e)},Ve=Fe,Ze=Gt,He=function(t){var e=Ve(t,"string");return Ze(e)?e:e+""},Ge=wt,$e=Y.document,Ke=Ge($e)&&Ge($e.createElement),qe=function(t){return Ke?$e.createElement(t):{}},Xe=qe,Je=!B&&!j((function(){return 7!=Object.defineProperty(Xe("div"),"a",{get:function(){return 7}}).a})),Qe=B,tr=V,er=Z,rr=X,nr=St,ir=He,ar=Se,or=Je,sr=Object.getOwnPropertyDescriptor;R.f=Qe?sr:function(t,e){if(t=nr(t),e=ir(e),or)try{return sr(t,e)}catch{}if(ar(t,e))return rr(!tr(er.f,t,e),t[e])};var ur={},cr=B&&j((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),lr=wt,fr=String,dr=TypeError,hr=function(t){if(lr(t))return t;throw dr(fr(t)+" is not an object")},pr=B,mr=Je,yr=cr,vr=hr,gr=He,Tr=TypeError,Ar=Object.defineProperty,Sr=Object.getOwnPropertyDescriptor,br="enumerable",Er="configurable",_r="writable";ur.f=pr?yr?function(t,e,r){if(vr(t),e=gr(e),vr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&_r in r&&!r[_r]){var n=Sr(t,e);n&&n[_r]&&(t[e]=r.value,r={configurable:Er in r?r[Er]:n[Er],enumerable:br in r?r[br]:n[br],writable:!1})}return Ar(t,e,r)}:Ar:function(t,e,r){if(vr(t),e=gr(e),vr(r),mr)try{return Ar(t,e,r)}catch{}if("get"in r||"set"in r)throw Tr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Dr=ur,Cr=X,xr=B?function(t,e,r){return Dr.f(t,e,Cr(1,r))}:function(t,e,r){return t[e]=r,t},wr={exports:{}},Or=B,Ir=Se,Nr=Function.prototype,Lr=Or&&Object.getOwnPropertyDescriptor,Mr=Ir(Nr,"name"),Ur={EXISTS:Mr,PROPER:Mr&&"something"===function(){}.name,CONFIGURABLE:Mr&&(!Or||Or&&Lr(Nr,"name").configurable)},Pr=Dt,kr=he,Yr=ct(Function.toString);Pr(kr.inspectSource)||(kr.inspectSource=function(t){return Yr(t)});var Rr,jr,Br,zr=kr.inspectSource,Wr=Dt,Fr=Y.WeakMap,Vr=Wr(Fr)&&/native code/.test(String(Fr)),Zr=Ce,Hr=me("keys"),Gr=function(t){return Hr[t]||(Hr[t]=Zr(t))},$r={},Kr=Vr,qr=Y,Xr=wt,Jr=xr,Qr=Se,tn=he,en=Gr,rn=$r,nn="Object already initialized",an=qr.TypeError,on=qr.WeakMap;if(Kr||tn.state){var sn=tn.state||(tn.state=new on);sn.get=sn.get,sn.has=sn.has,sn.set=sn.set,Rr=function(t,e){if(sn.has(t))throw an(nn);return e.facade=t,sn.set(t,e),e},jr=function(t){return sn.get(t)||{}},Br=function(t){return sn.has(t)}}else{var un=en("state");rn[un]=!0,Rr=function(t,e){if(Qr(t,un))throw an(nn);return e.facade=t,Jr(t,un,e),e},jr=function(t){return Qr(t,un)?t[un]:{}},Br=function(t){return Qr(t,un)}}var cn={set:Rr,get:jr,has:Br,enforce:function(t){return Br(t)?jr(t):Rr(t,{})},getterFor:function(t){return function(e){var r;if(!Xr(e)||(r=jr(e)).type!==t)throw an("Incompatible receiver, "+t+" required");return r}}},ln=j,fn=Dt,dn=Se,hn=B,pn=Ur.CONFIGURABLE,mn=zr,yn=cn.enforce,vn=cn.get,gn=Object.defineProperty,Tn=hn&&!ln((function(){return 8!==gn((function(){}),"length",{value:8}).length})),An=String(String).split("String"),Sn=wr.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!dn(t,"name")||pn&&t.name!==e)&&(hn?gn(t,"name",{value:e,configurable:!0}):t.name=e),Tn&&r&&dn(r,"arity")&&t.length!==r.arity&&gn(t,"length",{value:r.arity});try{r&&dn(r,"constructor")&&r.constructor?hn&&gn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var n=yn(t);return dn(n,"source")||(n.source=An.join("string"==typeof e?e:"")),t};Function.prototype.toString=Sn((function(){return fn(this)&&vn(this).source||mn(this)}),"toString");var bn=wr.exports,En=Dt,_n=ur,Dn=bn,Cn=le,xn=function(t,e,r,n){n||(n={});var i=n.enumerable,a=void 0!==n.name?n.name:e;if(En(r)&&Dn(r,a,n),n.global)i?t[e]=r:Cn(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch{}i?t[e]=r:_n.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},wn={},On=Math.ceil,In=Math.floor,Nn=Math.trunc||function(t){var e=+t;return(e>0?In:On)(e)},Ln=Nn,Mn=function(t){var e=+t;return e!=e||0===e?0:Ln(e)},Un=Mn,Pn=Math.max,kn=Math.min,Yn=function(t,e){var r=Un(t);return r<0?Pn(r+e,0):kn(r,e)},Rn=Mn,jn=Math.min,Bn=function(t){return function(t){return t>0?jn(Rn(t),9007199254740991):0}(t.length)},zn=St,Wn=Yn,Fn=Bn,Vn=function(t){return function(e,r,n){var i,a=zn(e),o=Fn(a),s=Wn(n,o);if(t&&r!=r){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}},Zn={includes:Vn(!0),indexOf:Vn(!1)},Hn=Se,Gn=St,$n=Zn.indexOf,Kn=$r,qn=ct([].push),Xn=function(t,e){var r,n=Gn(t),i=0,a=[];for(r in n)!Hn(Kn,r)&&Hn(n,r)&&qn(a,r);for(;e.length>i;)Hn(n,r=e[i++])&&(~$n(a,r)||qn(a,r));return a},Jn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qn=Xn,ti=Jn.concat("length","prototype");wn.f=Object.getOwnPropertyNames||function(t){return Qn(t,ti)};var ei={};ei.f=Object.getOwnPropertySymbols;var ri=Nt,ni=wn,ii=ei,ai=hr,oi=ct([].concat),si=ri("Reflect","ownKeys")||function(t){var e=ni.f(ai(t)),r=ii.f;return r?oi(e,r(t)):e},ui=Se,ci=si,li=R,fi=ur,di=function(t,e,r){for(var n=ci(e),i=fi.f,a=li.f,o=0;o<n.length;o++){var s=n[o];!ui(t,s)&&(!r||!ui(r,s))&&i(t,s,a(e,s))}},hi=j,pi=Dt,mi=/#|\.prototype\./,yi=function(t,e){var r=gi[vi(t)];return r==Ai||r!=Ti&&(pi(e)?hi(e):!!e)},vi=yi.normalize=function(t){return String(t).replace(mi,".").toLowerCase()},gi=yi.data={},Ti=yi.NATIVE="N",Ai=yi.POLYFILL="P",Si=yi,bi=Y,Ei=R.f,_i=xr,Di=xn,Ci=le,xi=di,wi=Si,Oi=function(t,e){var r,n,i,a,o,s=t.target,u=t.global,c=t.stat;if(r=u?bi:c?bi[s]||Ci(s,{}):(bi[s]||{}).prototype)for(n in e){if(a=e[n],i=t.dontCallGetSet?(o=Ei(r,n))&&o.value:r[n],!wi(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;xi(a,i)}(t.sham||i&&i.sham)&&_i(a,"sham",!0),Di(r,n,a,t)}},Ii=Oi,Ni=B,Li=ur.f;Ii({target:"Object",stat:!0,forced:Object.defineProperty!==Li,sham:!Ni},{defineProperty:Li});var Mi={},Ui=Y,Pi={},ki=ke;Pi.f=ki;var Yi=Ui,Ri=Se,ji=Pi,Bi=ur.f,zi=function(t){var e=Yi.Symbol||(Yi.Symbol={});Ri(e,t)||Bi(e,t,{value:ji.f(t)})};zi("iterator");var Wi={},Fi=Xn,Vi=Jn,Zi=Object.keys||function(t){return Fi(t,Vi)},Hi=B,Gi=cr,$i=ur,Ki=hr,qi=St,Xi=Zi;Wi.f=Hi&&!Gi?Object.defineProperties:function(t,e){Ki(t);for(var r,n=qi(e),i=Xi(e),a=i.length,o=0;a>o;)$i.f(t,r=i[o++],n[r]);return t};var Ji,Qi=Nt("document","documentElement"),ta=hr,ea=Wi,ra=Jn,na=$r,ia=Qi,aa=qe,oa="prototype",sa="script",ua=Gr("IE_PROTO"),ca=function(){},la=function(t){return"<"+sa+">"+t+"</"+sa+">"},fa=function(t){t.write(la("")),t.close();var e=t.parentWindow.Object;return t=null,e},da=function(){try{Ji=new ActiveXObject("htmlfile")}catch{}da=typeof document<"u"?document.domain&&Ji?fa(Ji):function(){var t,e=aa("iframe"),r="java"+sa+":";return e.style.display="none",ia.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(la("document.F=Object")),t.close(),t.F}():fa(Ji);for(var t=ra.length;t--;)delete da[oa][ra[t]];return da()};na[ua]=!0;var ha=Object.create||function(t,e){var r;return null!==t?(ca[oa]=ta(t),r=new ca,ca[oa]=null,r[ua]=t):r=da(),void 0===e?r:ea.f(r,e)},pa=ke,ma=ha,ya=ur.f,va=pa("unscopables"),ga=Array.prototype;null==ga[va]&&ya(ga,va,{configurable:!0,value:ma(null)});var Ta,Aa,Sa,ba={},Ea=!j((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),_a=Se,Da=Dt,Ca=ge,xa=Ea,wa=Gr("IE_PROTO"),Oa=Object,Ia=Oa.prototype,Na=xa?Oa.getPrototypeOf:function(t){var e=Ca(t);if(_a(e,wa))return e[wa];var r=e.constructor;return Da(r)&&e instanceof r?r.prototype:e instanceof Oa?Ia:null},La=j,Ma=Dt,Ua=wt,Pa=Na,ka=xn,Ya=ke("iterator"),Ra=!1;[].keys&&("next"in(Sa=[].keys())?(Aa=Pa(Pa(Sa)))!==Object.prototype&&(Ta=Aa):Ra=!0),(!Ua(Ta)||La((function(){var t={};return Ta[Ya].call(t)!==t})))&&(Ta={}),Ma(Ta[Ya])||ka(Ta,Ya,(function(){return this}));var ja={IteratorPrototype:Ta,BUGGY_SAFARI_ITERATORS:Ra},Ba=ur.f,za=Se,Wa=ke("toStringTag"),Fa=function(t,e,r){t&&!r&&(t=t.prototype),t&&!za(t,Wa)&&Ba(t,Wa,{configurable:!0,value:e})},Va=ja.IteratorPrototype,Za=ha,Ha=X,Ga=Fa,$a=ba,Ka=function(){return this},qa=Dt,Xa=String,Ja=TypeError,Qa=ct,to=hr,eo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Qa(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch{}return function(r,n){return to(r),function(t){if("object"==typeof t||qa(t))return t;throw Ja("Can't set "+Xa(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),ro=Oi,no=V,io=Dt,ao=Na,oo=eo,so=Fa,uo=xr,co=xn,lo=ba,fo=Ur.PROPER,ho=Ur.CONFIGURABLE,po=ja.IteratorPrototype,mo=ja.BUGGY_SAFARI_ITERATORS,yo=ke("iterator"),vo="keys",go="values",To="entries",Ao=function(){return this},So=function(t,e,r,n,i,a,o){!function(t,e,r,n){var i=e+" Iterator";t.prototype=Za(Va,{next:Ha(+!n,r)}),Ga(t,i,!1),$a[i]=Ka}(r,e,n);var s,u,c,l=function(t){if(t===i&&m)return m;if(!mo&&t in h)return h[t];switch(t){case vo:case go:case To:return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",d=!1,h=t.prototype,p=h[yo]||h["@@iterator"]||i&&h[i],m=!mo&&p||l(i),y="Array"==e&&h.entries||p;if(y&&(s=ao(y.call(new t)))!==Object.prototype&&s.next&&(ao(s)!==po&&(oo?oo(s,po):io(s[yo])||co(s,yo,Ao)),so(s,f,!0)),fo&&i==go&&p&&p.name!==go&&(ho?uo(h,"name",go):(d=!0,m=function(){return no(p,this)})),i)if(u={values:l(go),keys:a?m:l(vo),entries:l(To)},o)for(c in u)(mo||d||!(c in h))&&co(h,c,u[c]);else ro({target:e,proto:!0,forced:mo||d},u);return h[yo]!==m&&co(h,yo,m,{name:i}),lo[e]=m,u},bo=function(t,e){return{value:t,done:e}},Eo=St,_o=function(t){ga[va][t]=!0},Do=ba,Co=cn,xo=ur.f,wo=So,Oo=bo,Io=B,No="Array Iterator",Lo=Co.set,Mo=Co.getterFor(No),Uo=wo(Array,"Array",(function(t,e){Lo(this,{type:No,target:Eo(t),index:0,kind:e})}),(function(){var t=Mo(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,Oo(void 0,!0)):Oo("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),Po=Do.Arguments=Do.Array;if(_o("keys"),_o("values"),_o("entries"),Io&&"values"!==Po.name)try{xo(Po,"name",{value:"values"})}catch{}var ko={};ko[ke("toStringTag")]="z";var Yo="[object z]"===String(ko),Ro=Yo,jo=Dt,Bo=ot,zo=ke("toStringTag"),Wo=Object,Fo="Arguments"==Bo(function(){return arguments}()),Vo=Ro?Bo: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=Wo(t),zo))?r:Fo?Bo(e):"Object"==(n=Bo(e))&&jo(e.callee)?"Arguments":n},Zo=Vo,Ho=String,Go=function(t){if("Symbol"===Zo(t))throw TypeError("Cannot convert a Symbol value to a string");return Ho(t)},$o=ct,Ko=Mn,qo=Go,Xo=gt,Jo=$o("".charAt),Qo=$o("".charCodeAt),ts=$o("".slice),es=function(t){return function(e,r){var n,i,a=qo(Xo(e)),o=Ko(r),s=a.length;return o<0||o>=s?t?"":void 0:(n=Qo(a,o))<55296||n>56319||o+1===s||(i=Qo(a,o+1))<56320||i>57343?t?Jo(a,o):n:t?ts(a,o,o+2):i-56320+(n-55296<<10)+65536}},rs=(es(!1),es(!0)),ns=Go,is=cn,as=So,os=bo,ss="String Iterator",us=is.set,cs=is.getterFor(ss);as(String,"String",(function(t){us(this,{type:ss,string:ns(t),index:0})}),(function(){var t,e=cs(this),r=e.string,n=e.index;return n>=r.length?os(void 0,!0):(t=rs(r,n),e.index+=t.length,os(t,!1))}));var ls=qe("span").classList,fs=ls&&ls.constructor&&ls.constructor.prototype,ds=fs===Object.prototype?void 0:fs,hs=Y,ps={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},ms=ds,ys=Uo,vs=xr,gs=ke,Ts=gs("iterator"),As=gs("toStringTag"),Ss=ys.values,bs=function(t,e){if(t){if(t[Ts]!==Ss)try{vs(t,Ts,Ss)}catch{t[Ts]=Ss}if(t[As]||vs(t,As,e),ps[e])for(var r in ys)if(t[r]!==ys[r])try{vs(t,r,ys[r])}catch{t[r]=ys[r]}}};for(var Es in ps)bs(hs[Es]&&hs[Es].prototype,Es);bs(ms,"DOMTokenList");var _s=B,Ds=ct,Cs=V,xs=j,ws=Zi,Os=ei,Is=Z,Ns=ge,Ls=pt,Ms=Object.assign,Us=Object.defineProperty,Ps=Ds([].concat),ks=!Ms||xs((function(){if(_s&&1!==Ms({b:1},Ms(Us({},"a",{enumerable:!0,get:function(){Us(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=Ms({},t)[r]||ws(Ms({},e)).join("")!=n}))?function(t,e){for(var r=Ns(t),n=arguments.length,i=1,a=Os.f,o=Is.f;n>i;)for(var s,u=Ls(arguments[i++]),c=a?Ps(ws(u),a(u)):ws(u),l=c.length,f=0;l>f;)s=c[f++],(!_s||Cs(o,u,s))&&(r[s]=u[s]);return r}:Ms,Ys=ks;Oi({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ys},{assign:Ys});var Rs=V,js=Nt,Bs=ke,zs=xn,Ws=function(){var t=js("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=Bs("toPrimitive");e&&!e[n]&&zs(e,n,(function(t){return Rs(r,this)}),{arity:1})},Fs=Ws;zi("toPrimitive"),Fs();var Vs=hr,Zs=oe,Hs=TypeError,Gs=Se,$s=xn,Ks=ke("toPrimitive"),qs=Date.prototype;Gs(qs,Ks)||$s(qs,Ks,(function(t){if(Vs(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw Hs("Incorrect hint");return Zs(this,t)}));var Xs={},Js=He,Qs=ur,tu=X,eu=Yn,ru=Bn,nu=function(t,e,r){var n=Js(e);n in t?Qs.f(t,n,tu(0,r)):t[n]=r},iu=Array,au=Math.max,ou=ot,su=St,uu=wn.f,cu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Xs.f=function(t){return cu&&"Window"==ou(t)?function(t){try{return uu(t)}catch{return function(t,e,r){for(var n=ru(t),i=eu(e,n),a=eu(void 0===r?n:r,n),o=iu(au(a-i,0)),s=0;i<a;i++,s++)nu(o,s,t[i]);return o.length=s,o}(cu)}}(t):uu(su(t))};var lu=Qt,fu=z,du=ct(ct.bind),hu=ot,pu=Array.isArray||function(t){return"Array"==hu(t)},mu=ct,yu=j,vu=Dt,gu=Vo,Tu=zr,Au=function(){},Su=[],bu=Nt("Reflect","construct"),Eu=/^\s*(?:class|function)\b/,_u=mu(Eu.exec),Du=!Eu.exec(Au),Cu=function(t){if(!vu(t))return!1;try{return bu(Au,Su,t),!0}catch{return!1}},xu=function(t){if(!vu(t))return!1;switch(gu(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Du||!!_u(Eu,Tu(t))}catch{return!0}};xu.sham=!0;var wu=!bu||yu((function(){var t;return Cu(Cu.call)||!Cu(Object)||!Cu((function(){t=!0}))||t}))?xu:Cu,Ou=pu,Iu=wu,Nu=wt,Lu=ke("species"),Mu=Array,Uu=pt,Pu=ge,ku=Bn,Yu=function(t,e){return new(function(t){var e;return Ou(t)&&(e=t.constructor,(Iu(e)&&(e===Mu||Ou(e.prototype))||Nu(e)&&null===(e=e[Lu]))&&(e=void 0)),void 0===e?Mu:e}(t))(0===e?0:e)},Ru=ct([].push),ju=function(t){var e=1==t,r=2==t,n=3==t,i=4==t,a=6==t,o=7==t,s=5==t||a;return function(u,c,l,f){for(var d,h,p=Pu(u),m=Uu(p),y=function(t,e){return lu(t),void 0===e?t:fu?du(t,e):function(){return t.apply(e,arguments)}}(c,l),v=ku(m),g=0,T=f||Yu,A=e?T(u,v):r||o?T(u,0):void 0;v>g;g++)if((s||g in m)&&(h=y(d=m[g],g,p),t))if(e)A[g]=h;else if(h)switch(t){case 3:return!0;case 5:return d;case 6:return g;case 2:Ru(A,d)}else switch(t){case 4:return!1;case 7:Ru(A,d)}return a?-1:n||i?i:A}},Bu={forEach:ju(0),map:ju(1),filter:ju(2),some:ju(3),every:ju(4),find:ju(5),findIndex:ju(6),filterReject:ju(7)},zu=Oi,Wu=Y,Fu=V,Vu=ct,Zu=B,Hu=zt,Gu=j,$u=Se,Ku=Lt,qu=hr,Xu=St,Ju=He,Qu=Go,tc=X,ec=ha,rc=Zi,nc=wn,ic=Xs,ac=ei,oc=R,sc=ur,uc=Wi,cc=Z,lc=xn,fc=me,dc=$r,hc=Ce,pc=ke,mc=Pi,yc=zi,vc=Ws,gc=Fa,Tc=cn,Ac=Bu.forEach,Sc=Gr("hidden"),bc="Symbol",Ec="prototype",_c=Tc.set,Dc=Tc.getterFor(bc),Cc=Object[Ec],xc=Wu.Symbol,wc=xc&&xc[Ec],Oc=Wu.TypeError,Ic=Wu.QObject,Nc=oc.f,Lc=sc.f,Mc=ic.f,Uc=cc.f,Pc=Vu([].push),kc=fc("symbols"),Yc=fc("op-symbols"),Rc=fc("wks"),jc=!Ic||!Ic[Ec]||!Ic[Ec].findChild,Bc=Zu&&Gu((function(){return 7!=ec(Lc({},"a",{get:function(){return Lc(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Nc(Cc,e);n&&delete Cc[e],Lc(t,e,r),n&&t!==Cc&&Lc(Cc,e,n)}:Lc,zc=function(t,e){var r=kc[t]=ec(wc);return _c(r,{type:bc,tag:t,description:e}),Zu||(r.description=e),r},Wc=function(t,e,r){t===Cc&&Wc(Yc,e,r),qu(t);var n=Ju(e);return qu(r),$u(kc,n)?(r.enumerable?($u(t,Sc)&&t[Sc][n]&&(t[Sc][n]=!1),r=ec(r,{enumerable:tc(0,!1)})):($u(t,Sc)||Lc(t,Sc,tc(1,{})),t[Sc][n]=!0),Bc(t,n,r)):Lc(t,n,r)},Fc=function(t,e){qu(t);var r=Xu(e),n=rc(r).concat(Gc(r));return Ac(n,(function(e){(!Zu||Fu(Vc,r,e))&&Wc(t,e,r[e])})),t},Vc=function(t){var e=Ju(t),r=Fu(Uc,this,e);return!(this===Cc&&$u(kc,e)&&!$u(Yc,e))&&(!(r||!$u(this,e)||!$u(kc,e)||$u(this,Sc)&&this[Sc][e])||r)},Zc=function(t,e){var r=Xu(t),n=Ju(e);if(r!==Cc||!$u(kc,n)||$u(Yc,n)){var i=Nc(r,n);return i&&$u(kc,n)&&!($u(r,Sc)&&r[Sc][n])&&(i.enumerable=!0),i}},Hc=function(t){var e=Mc(Xu(t)),r=[];return Ac(e,(function(t){!$u(kc,t)&&!$u(dc,t)&&Pc(r,t)})),r},Gc=function(t){var e=t===Cc,r=Mc(e?Yc:Xu(t)),n=[];return Ac(r,(function(t){$u(kc,t)&&(!e||$u(Cc,t))&&Pc(n,kc[t])})),n};Hu||(xc=function(){if(Ku(wc,this))throw Oc("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Qu(arguments[0]):void 0,e=hc(t),r=function(t){this===Cc&&Fu(r,Yc,t),$u(this,Sc)&&$u(this[Sc],e)&&(this[Sc][e]=!1),Bc(this,e,tc(1,t))};return Zu&&jc&&Bc(Cc,e,{configurable:!0,set:r}),zc(e,t)},lc(wc=xc[Ec],"toString",(function(){return Dc(this).tag})),lc(xc,"withoutSetter",(function(t){return zc(hc(t),t)})),cc.f=Vc,sc.f=Wc,uc.f=Fc,oc.f=Zc,nc.f=ic.f=Hc,ac.f=Gc,mc.f=function(t){return zc(pc(t),t)},Zu&&(Lc(wc,"description",{configurable:!0,get:function(){return Dc(this).description}}),lc(Cc,"propertyIsEnumerable",Vc,{unsafe:!0}))),zu({global:!0,constructor:!0,wrap:!0,forced:!Hu,sham:!Hu},{Symbol:xc}),Ac(rc(Rc),(function(t){yc(t)})),zu({target:bc,stat:!0,forced:!Hu},{useSetter:function(){jc=!0},useSimple:function(){jc=!1}}),zu({target:"Object",stat:!0,forced:!Hu,sham:!Zu},{create:function(t,e){return void 0===e?ec(t):Fc(ec(t),e)},defineProperty:Wc,defineProperties:Fc,getOwnPropertyDescriptor:Zc}),zu({target:"Object",stat:!0,forced:!Hu},{getOwnPropertyNames:Hc}),vc(),gc(xc,bc),dc[Sc]=!0;var $c=zt&&!!Symbol.for&&!!Symbol.keyFor,Kc=Oi,qc=Nt,Xc=Se,Jc=Go,Qc=me,tl=$c,el=Qc("string-to-symbol-registry"),rl=Qc("symbol-to-string-registry");Kc({target:"Symbol",stat:!0,forced:!tl},{for:function(t){var e=Jc(t);if(Xc(el,e))return el[e];var r=qc("Symbol")(e);return el[e]=r,rl[r]=e,r}});var nl=Oi,il=Se,al=Gt,ol=Kt,sl=$c,ul=me("symbol-to-string-registry");nl({target:"Symbol",stat:!0,forced:!sl},{keyFor:function(t){if(!al(t))throw TypeError(ol(t)+" is not a symbol");if(il(ul,t))return ul[t]}});var cl=z,ll=Function.prototype,fl=ll.apply,dl=ll.call,hl="object"==typeof Reflect&&Reflect.apply||(cl?dl.bind(fl):function(){return dl.apply(fl,arguments)}),pl=ct([].slice),ml=Oi,yl=Nt,vl=hl,gl=V,Tl=ct,Al=j,Sl=pu,bl=Dt,El=wt,_l=Gt,Dl=pl,Cl=zt,xl=yl("JSON","stringify"),wl=Tl(/./.exec),Ol=Tl("".charAt),Il=Tl("".charCodeAt),Nl=Tl("".replace),Ll=Tl(1..toString),Ml=/[\uD800-\uDFFF]/g,Ul=/^[\uD800-\uDBFF]$/,Pl=/^[\uDC00-\uDFFF]$/,kl=!Cl||Al((function(){var t=yl("Symbol")();return"[null]"!=xl([t])||"{}"!=xl({a:t})||"{}"!=xl(Object(t))})),Yl=Al((function(){return'"\\udf06\\ud834"'!==xl("\udf06\ud834")||'"\\udead"'!==xl("\udead")})),Rl=function(t,e){var r=Dl(arguments),n=e;if((El(e)||void 0!==t)&&!_l(t))return Sl(e)||(e=function(t,e){if(bl(n)&&(e=gl(n,this,t,e)),!_l(e))return e}),r[1]=e,vl(xl,null,r)},jl=function(t,e,r){var n=Ol(r,e-1),i=Ol(r,e+1);return wl(Ul,t)&&!wl(Pl,i)||wl(Pl,t)&&!wl(Ul,n)?"\\u"+Ll(Il(t,0),16):t};xl&&ml({target:"JSON",stat:!0,arity:3,forced:kl||Yl},{stringify:function(t,e,r){var n=Dl(arguments),i=vl(kl?Rl:xl,null,n);return Yl&&"string"==typeof i?Nl(i,Ml,jl):i}});var Bl=ei,zl=ge;Oi({target:"Object",stat:!0,forced:!zt||j((function(){Bl.f(1)}))},{getOwnPropertySymbols:function(t){var e=Bl.f;return e?e(zl(t)):[]}});var Wl=Oi,Fl=B,Vl=Y,Zl=ct,Hl=Se,Gl=Dt,$l=Lt,Kl=Go,ql=ur.f,Xl=di,Jl=Vl.Symbol,Ql=Jl&&Jl.prototype;if(Fl&&Gl(Jl)&&(!("description"in Ql)||void 0!==Jl().description)){var tf={},ef=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Kl(arguments[0]),e=$l(Ql,this)?new Jl(t):void 0===t?Jl():Jl(t);return""===t&&(tf[e]=!0),e};Xl(ef,Jl),ef.prototype=Ql,Ql.constructor=ef;var rf="Symbol(test)"==String(Jl("test")),nf=Zl(Ql.valueOf),af=Zl(Ql.toString),of=/^Symbol\((.*)\)[^)]+$/,sf=Zl("".replace),uf=Zl("".slice);ql(Ql,"description",{configurable:!0,get:function(){var t=nf(this);if(Hl(tf,t))return"";var e=af(t),r=rf?uf(e,7,-1):sf(e,of,"$1");return""===r?void 0:r}}),Wl({global:!0,constructor:!0,forced:!0},{Symbol:ef})}var cf=Vo,lf=Yo?{}.toString:function(){return"[object "+cf(this)+"]"};Yo||xn(Object.prototype,"toString",lf,{unsafe:!0});var ff=Dt,df=wt,hf=eo,pf=ct(1..valueOf),mf=gt,yf=Go,vf=ct("".replace),gf="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Tf=RegExp("^"+gf+gf+"*"),Af=RegExp(gf+gf+"*$"),Sf=function(t){return function(e){var r=yf(mf(e));return 1&t&&(r=vf(r,Tf,"")),2&t&&(r=vf(r,Af,"")),r}},bf={start:Sf(1),end:Sf(2),trim:Sf(3)},Ef=B,_f=Y,Df=ct,Cf=Si,xf=xn,wf=Se,Of=Lt,If=Gt,Nf=Fe,Lf=j,Mf=wn.f,Uf=R.f,Pf=ur.f,kf=pf,Yf=bf.trim,Rf="Number",jf=_f[Rf],Bf=jf.prototype,zf=_f.TypeError,Wf=Df("".slice),Ff=Df("".charCodeAt);if(Cf(Rf,!jf(" 0o1")||!jf("0b1")||jf("+0x1"))){for(var Vf,Zf=function(t){var e=arguments.length<1?0:jf(function(t){var e=Nf(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,i,a,o,s,u,c=Nf(t,"number");if(If(c))throw zf("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=Yf(c),43===(e=Ff(c,0))||45===e){if(88===(r=Ff(c,2))||120===r)return NaN}else if(48===e){switch(Ff(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(o=(a=Wf(c,2)).length,s=0;s<o;s++)if((u=Ff(a,s))<48||u>i)return NaN;return parseInt(a,n)}return+c}(e)}(t)),r=this;return Of(Bf,r)&&Lf((function(){kf(r)}))?function(t,e,r){var n,i;return hf&&ff(n=e.constructor)&&n!==r&&df(i=n.prototype)&&i!==r.prototype&&hf(t,i),t}(Object(e),r,Zf):e},Hf=Ef?Mf(jf):"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(","),Gf=0;Hf.length>Gf;Gf++)wf(jf,Vf=Hf[Gf])&&!wf(Zf,Vf)&&Pf(Zf,Vf,Uf(jf,Vf));Zf.prototype=Bf,Bf.constructor=Zf,xf(_f,Rf,Zf,{constructor:!0})}var $f={};Object.defineProperty($f,"__esModule",{value:!0}),$f.LogLevel=void 0;var Kf=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}({});$f.LogLevel=Kf,Object.defineProperty(Mi,"__esModule",{value:!0}),Mi.ConsoleLogger=void 0,Mi.buildConsoleLogger=function(t){return new td(t)};var qf=$f;function Xf(t){return Xf="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},Xf(t)}function Jf(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,Qf(n.key),n)}}function Qf(t){var e=function(t,e){if("object"!==Xf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Xf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Xf(e)?e:String(e)}var td=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=Qf(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&&Jf(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"formatMessage",value:function(t,e,r){var n="["+qf.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===qf.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"===Xf(e)&&void 0===(null==r?void 0:r.error)&&(r.error=e),t){case qf.LogLevel.Debug:s.debug(this.formatMessage(e,qf.LogLevel.Debug,r),r);break;case qf.LogLevel.Info:s.info(this.formatMessage(e,qf.LogLevel.Info,r),r);break;case qf.LogLevel.Warn:s.warn(this.formatMessage(e,qf.LogLevel.Warn,r),r);break;case qf.LogLevel.Error:s.error(this.formatMessage(e,qf.LogLevel.Error,r),r);break;case qf.LogLevel.Fatal:default:s.error(this.formatMessage(e,qf.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(t,e){this.log(qf.LogLevel.Debug,t,Object.assign({},this.context,e))}},{key:"info",value:function(t,e){this.log(qf.LogLevel.Info,t,Object.assign({},this.context,e))}},{key:"warn",value:function(t,e){this.log(qf.LogLevel.Warn,t,Object.assign({},this.context,e))}},{key:"error",value:function(t,e){this.log(qf.LogLevel.Error,t,Object.assign({},this.context,e))}},{key:"fatal",value:function(t,e){this.log(qf.LogLevel.Fatal,t,Object.assign({},this.context,e))}}]),t}();Mi.ConsoleLogger=td;var ed={},rd={},nd={};var id="object"==typeof u&&u.env&&u.env.NODE_DEBUG&&/\bsemver\b/i.test(u.env.NODE_DEBUG)?(...t)=>s.error("SEMVER",...t):()=>{},ad={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},od={exports:{}};!function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=ad,a=id,o=(e=t.exports={}).re=[],s=e.safeRe=[],u=e.src=[],c=e.t={};let l=0;const f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",i],[f,n]],h=(t,e,r)=>{const n=(t=>{for(const[e,r]of d)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t})(e),i=l++;a(t,i,e),c[t]=i,u[i]=e,o[i]=new RegExp(e,r?"g":void 0),s[i]=new RegExp(n,r?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),h("FULL",`^${u[c.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),h("LOOSE",`^${u[c.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),h("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),h("COERCERTL",u[c.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",h("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",h("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(od,od.exports);var sd=od.exports;const ud=Object.freeze({loose:!0}),cd=Object.freeze({});const ld=/^[0-9]+$/,fd=(t,e)=>{const r=ld.test(t),n=ld.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1};var dd={compareIdentifiers:fd,rcompareIdentifiers:(t,e)=>fd(e,t)};const hd=id,{MAX_LENGTH:pd,MAX_SAFE_INTEGER:md}=ad,{safeRe:yd,t:vd}=sd,gd=t=>t?"object"!=typeof t?ud:t:cd,{compareIdentifiers:Td}=dd;var Ad=class t{constructor(e,r){if(r=gd(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>pd)throw new TypeError(`version is longer than ${pd} characters`);hd("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=e.trim().match(r.loose?yd[vd.LOOSE]:yd[vd.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>md||this.major<0)throw new TypeError("Invalid major version");if(this.minor>md||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>md||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<md)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(hd("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)),Td(this.major,e.major)||Td(this.minor,e.minor)||Td(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(hd("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 Td(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(hd("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 Td(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===Td(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 Sd=Ad;const bd=(t,e,r=!1)=>{if(t instanceof Sd)return t;try{return new Sd(t,e)}catch(t){if(!r)return null;throw t}};var Ed=(t,e)=>{const r=bd(t,e);return r?r.version:null};const _d=Ad;Object.defineProperty(nd,"__esModule",{value:!0});var Dd=(t,e)=>new _d(t,e).major;function Cd(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var xd=Cd(Ed),wd=Cd(Dd),Od=function(){function t(t){"function"==typeof t.getVersion&&xd.default(t.getVersion())?wd.default(t.getVersion())!==wd.default(this.getVersion())&&s.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):s.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}(),Id=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){s.error("could not invoke event listener",t)}}))},t}(),Nd=(typeof window.OC<"u"&&window.OC._eventBus&&typeof window._nc_event_bus>"u"&&(s.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 Od(window._nc_event_bus):window._nc_event_bus=new Id);nd.ProxyBus=Od,nd.SimpleBus=Id,nd.emit=function(t,e){Nd.emit(t,e)},nd.subscribe=function(t,e){Nd.subscribe(t,e)},nd.unsubscribe=function(t,e){Nd.unsubscribe(t,e)},Object.defineProperty(rd,"__esModule",{value:!0});var Ld=nd,Md=document.getElementsByTagName("head")[0],Ud=Md?Md.getAttribute("data-requesttoken"):null,Pd=[];Ld.subscribe("csrf-token-update",(function(t){Ud=t.token,Pd.forEach((function(e){try{e(t.token)}catch(t){s.error("error updating CSRF token observer",t)}}))}));var kd=function(t,e){return t?t.getAttribute(e):null},Yd=document.getElementsByTagName("head")[0],Rd=kd(Yd,"data-user"),jd=kd(Yd,"data-user-displayname"),Bd=!(typeof OC>"u")&&OC.isUserAdmin();rd.getCurrentUser=function(){return null===Rd?null:{uid:Rd,displayName:jd,isAdmin:Bd}},rd.getRequestToken=function(){return Ud},rd.onRequestTokenUpdate=function(t){Pd.push(t)},Object.defineProperty(ed,"__esModule",{value:!0}),ed.LoggerBuilder=void 0;var zd=rd,Wd=$f;function Fd(t){return Fd="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},Fd(t)}function Vd(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,Hd(n.key),n)}}function Zd(t,e,r){return(e=Hd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Hd(t){var e=function(t,e){if("object"!==Fd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Fd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Fd(e)?e:String(e)}var Gd=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),Zd(this,"context",void 0),Zd(this,"factory",void 0),this.context={},this.factory=e}return function(t,e,r){e&&Vd(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,zd.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:Wd.LogLevel.Warn,window._oc_debug&&(t.context.level=Wd.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}();ed.LoggerBuilder=Gd,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=Mi,r=ed,n=$f;function i(){return new r.LoggerBuilder(e.buildConsoleLogger)}}(P);const $d=P.getLoggerBuilder().detectUser().setApp("@nextcloud/calendar-availability-vue").build();function Kd(t){const e=w.parse(t),r=new w.Component(e),n=r.getFirstSubcomponent("vavailability");let i;const a=r.getFirstSubcomponent("vtimezone");a&&(i=a.getFirstProperty("tzid").getFirstValue());const o=n.getAllSubcomponents("available"),s={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]};return o.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=>{s[t].push({start:e.getTime()/1e3,end:r.getTime()/1e3})})):$d.warn("rrule not supported",{rrule:n.toICALString()})})),{slots:s,timezoneId:i}}function qd(t,e){const r=new c.Component("vcalendar");r.addPropertyWithValue("prodid","Nextcloud DAV app");const n=S(e);if(n){const t=new c.Component(c.parse(n));r.addSubcomponent(t)}else{const t=new c.Component("vtimezone");t.addPropertyWithValue("tzid",e),r.addSubcomponent(t)}const i=new c.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,o=r.map((t=>t.day)).filter(((t,e,r)=>r.indexOf(t)===e)),s=new c.Component("available");return s.addPropertyWithValue("dtstart",c.Time.fromJSDate(new Date(1e3*n),!1)).setParameter("tzid",e),s.addPropertyWithValue("dtend",c.Time.fromJSDate(new Date(1e3*i),!1)).setParameter("tzid",e),s.addPropertyWithValue("uid",U()),s.addPropertyWithValue("rrule",{freq:"WEEKLY",byday:o}),s})).map(i.addSubcomponent.bind(i)),r.addSubcomponent(i),r.toString()}var Xd=n(43554),Jd=n(64024),Qd=n(14596),th=n(93664),eh=n(56580),rh=n.n(eh),nh=n(79753),ih=n(77958),ah=rh()((function(t){return th.Z.defaults.headers["X-Requested-With"]="XMLHttpRequest",Qd.lD().patch("request",th.Z),Qd.eI((0,nh.generateRemoteUrl)("dav/".concat(t,"/").concat((0,ih.ts)().uid)))})),oh=(0,n(17499).IY)().setApp("dav").detectUser().build();function sh(t){return sh="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},sh(t)}function uh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ch(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uh(Object(r),!0).forEach((function(e){lh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==sh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==sh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===sh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function dh(){dh=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return n(o,"_invoke",{value:S(t,r,s)}),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f={};function d(){}function h(){}function p(){}var m={};u(m,a,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(C([])));v&&v!==e&&r.call(v,a)&&(m=v);var g=p.prototype=d.prototype=Object.create(m);function T(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function i(n,a,o,s){var u=l(t[n],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==sh(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(f).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function S(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=b(o,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function b(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=l(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function C(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:x}}function x(){return{value:void 0,done:!0}}return h.prototype=p,n(g,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:h,configurable:!0}),h.displayName=u(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},T(A.prototype),u(A.prototype,o,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new A(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(g),u(g,s,"Generator"),u(g,a,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function hh(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ph(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){hh(a,n,i,o,s,"next",t)}function s(t){hh(a,n,i,o,s,"throw",t)}o(void 0)}))}}function mh(){return yh.apply(this,arguments)}function yh(){return(yh=ph(dh().mark((function t(){var e,r,n,i,a;return dh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=ah("calendars"),t.next=3,r.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>'});case 3:return n=t.sent,t.next=6,(0,Qd.sw)(n.data);case 6:if(i=t.sent){t.next=9;break}return t.abrupt("return",void 0);case 9:if(a=null==i||null===(e=i.multistatus)||void 0===e||null===(e=e.response[0])||void 0===e||null===(e=e.propstat)||void 0===e?void 0:e.prop["calendar-availability"]){t.next=12;break}return t.abrupt("return",void 0);case 12:return t.abrupt("return",Kd(a));case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function vh(t,e){return gh.apply(this,arguments)}function gh(){return(gh=ph(dh().mark((function t(e,r){var n,i,a;return dh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=Object.keys(e).flatMap((function(t){return e[t].map((function(e){return ch(ch({},e),{},{day:t})}))})),n=function(t){if(Array.isArray(t))return fh(t)}(o)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(o)||function(t,e){if(t){if("string"==typeof t)return fh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fh(t,e):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=qd(n,r),oh.debug("New availability ical created",{vavailability:i}),a=ah("calendars"),t.next=6,a.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">'.concat(i,"</x1:calendar-availability>\n\t\t\t\t</x0:prop>\n\t\t\t </x0:set>\n\t\t\t</x0:propertyupdate>")});case 6:case"end":return t.stop()}var o}),t)})))).apply(this,arguments)}function Th(t){return Th="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},Th(t)}function Ah(){Ah=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return n(o,"_invoke",{value:S(t,r,s)}),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f={};function d(){}function h(){}function p(){}var m={};u(m,a,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(C([])));v&&v!==e&&r.call(v,a)&&(m=v);var g=p.prototype=d.prototype=Object.create(m);function T(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function i(n,a,o,s){var u=l(t[n],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==Th(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(f).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function S(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=b(o,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function b(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=l(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function C(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:x}}function x(){return{value:void 0,done:!0}}return h.prototype=p,n(g,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:h,configurable:!0}),h.displayName=u(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},T(A.prototype),u(A.prototype,o,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new A(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(g),u(g,s,"Generator"),u(g,a,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Sh(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function bh(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Sh(a,n,i,o,s,"next",t)}function s(t){Sh(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Eh(){return _h.apply(this,arguments)}function _h(){return(_h=bh(Ah().mark((function t(){return Ah().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,th.Z.post((0,nh.generateOcsUrl)("/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:"dav",configKey:"user_status_automation"}),{configValue:"yes"});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Dh(){return Ch.apply(this,arguments)}function Ch(){return(Ch=bh(Ah().mark((function t(){return Ah().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,th.Z.delete((0,nh.generateOcsUrl)("/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:"dav",configKey:"user_status_automation"}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var xh=n(57274),wh=n(19642),Oh=n(67912),Ih=n(47414),Nh=n(25108);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},Lh(t)}function Mh(){Mh=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return n(o,"_invoke",{value:S(t,r,s)}),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f={};function d(){}function h(){}function p(){}var m={};u(m,a,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(C([])));v&&v!==e&&r.call(v,a)&&(m=v);var g=p.prototype=d.prototype=Object.create(m);function T(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function i(n,a,o,s){var u=l(t[n],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==Lh(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(f).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function S(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=b(o,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function b(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=l(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function C(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:x}}function x(){return{value:void 0,done:!0}}return h.prototype=p,n(g,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:h,configurable:!0}),h.displayName=u(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},T(A.prototype),u(A.prototype,o,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new A(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(g),u(g,s,"Generator"),u(g,a,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Uh(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Ph(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Uh(a,n,i,o,s,"next",t)}function s(t){Uh(a,n,i,o,s,"throw",t)}o(void 0)}))}}var kh={name:"Availability",components:{NcButton:xh.Z,NcCheckboxRadioSwitch:wh.Z,CalendarAvailability:v,NcSettingsSection:Oh.Z,NcTimezonePicker:Ih.Z},data:function(){var t,e;return{loading:!0,saving:!1,timezone:null!==(t=null===(e=new Intl.DateTimeFormat)||void 0===e||null===(e=e.resolvedOptions())||void 0===e?void 0:e.timeZone)&&void 0!==t?t:"UTC",slots:{MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]},automated:"yes"===(0,Xd.j)("dav","user_status_automation")}},computed:{timeZonePickerId:function(){return"tz-".concat((Math.random()+1).toString(36).substring(7))}},mounted:function(){var e=this;return Ph(Mh().mark((function r(){var n,i,a;return Mh().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,mh();case 3:(n=r.sent)?(i=n.slots,a=n.timezoneId,e.slots=i,a&&(e.timezone=a),Nh.info("availability loaded",e.slots,e.timezoneId)):(Nh.info("no availability is set"),e.slots={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]}),r.next=11;break;case 7:r.prev=7,r.t0=r.catch(0),Nh.error("could not load existing availability",r.t0),(0,Jd.x2)(t("dav","Failed to load availability"));case 11:return r.prev=11,e.loading=!1,r.finish(11);case 14:case"end":return r.stop()}}),r,null,[[0,7,11,14]])})))()},methods:{save:function(){var e=this;return Ph(Mh().mark((function r(){return Mh().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,e.saving=!0,r.next=4,vh(e.slots,e.timezone);case 4:if(!e.automated){r.next=9;break}return r.next=7,Eh();case 7:r.next=11;break;case 9:return r.next=11,Dh();case 11:(0,Jd.s$)(t("dav","Saved availability")),r.next=18;break;case 14:r.prev=14,r.t0=r.catch(0),Nh.error("could not save availability",r.t0),(0,Jd.x2)(t("dav","Failed to save availability"));case 18:return r.prev=18,e.saving=!1,r.finish(18);case 21:case"end":return r.stop()}}),r,null,[[0,14,18,21]])})))()}}},Yh=n(93379),Rh=n.n(Yh),jh=n(7795),Bh=n.n(jh),zh=n(90569),Wh=n.n(zh),Fh=n(3565),Vh=n.n(Fh),Zh=n(19216),Hh=n.n(Zh),Gh=n(44589),$h=n.n(Gh),Kh=n(20257),qh={};qh.styleTagTransform=$h(),qh.setAttributes=Vh(),qh.insert=Wh().bind(null,"head"),qh.domAPI=Bh(),qh.insertStyleElement=Hh(),Rh()(Kh.Z,qh),Kh.Z&&Kh.Z.locals&&Kh.Z.locals;var Xh=(0,n(51900).Z)(kh,(function(){var t=this,e=t._self._c;return 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("div",{staticClass:"time-zone"},[e("label",{staticClass:"time-zone__heading",attrs:{for:"vs".concat(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")},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,"dd783a46",null),Jh=Xh.exports;i.default.prototype.$t=a.Iu,new(i.default.extend(Jh))({}).$mount("#settings-personal-availability")},20257:function(t,e,r){"use strict";var n=r(87537),i=r.n(n),a=r(23645),o=r.n(a)()(i());o.push([t.id,"[data-v-dd783a46] .availability-day{padding:0 10px 0 10px;position:absolute}[data-v-dd783a46] .availability-slots{display:flex;white-space:normal}[data-v-dd783a46] .availability-slot{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}[data-v-dd783a46] .availability-slot-group{display:flex;flex-direction:column}[data-v-dd783a46] .mx-input-wrapper{width:85px}[data-v-dd783a46] .mx-datepicker{width:97px}[data-v-dd783a46] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-dd783a46]{padding:32px 12px 12px 0;display:flex;flex-wrap:wrap}.time-zone__heading[data-v-dd783a46]{margin-right:calc(var(--default-grid-baseline)*2);line-height:var(--default-clickable-area);font-weight:bold}.grid-table[data-v-dd783a46]{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-dd783a46]{align-self:flex-end}[data-v-dd783a46] .label-weekday{position:relative;display:inline-flex;padding-top:4px;align-self:center}[data-v-dd783a46] .delete-slot{padding-bottom:unset}[data-v-dd783a46] .add-another{align-self:center}.to-text[data-v-dd783a46]{padding-right:12px}.empty-content[data-v-dd783a46]{color:var(--color-text-lighter);margin-top:4px;align-self:center}","",{version:3,sources:["webpack://./apps/dav/src/views/Availability.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,CACA,YAAA,CACA,cAAA,CAEA,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\tdisplay: flex;\n\tflex-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\n"],sourceRoot:""}]),e.Z=o},96425:function(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:function(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:function(t,e,r){var n=r(62488),i=r(37285);t.exports=function t(e,r,a,o,s){var u=-1,c=e.length;for(a||(a=i),s||(s=[]);++u<c;){var l=e[u];r>0&&a(l)?r>1?t(l,r-1,a,o,s):n(s,l):o||(s[s.length]=l)}return s}},9435:function(t){t.exports=function(){}},28045:function(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:function(t){var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,o=t.length,s=n.length,u=-1,c=r.length,l=e(o-s,0),f=Array(c+l),d=!i;++u<c;)f[u]=r[u];for(;++a<s;)(d||a<o)&&(f[n[a]]=t[a]);for(;l--;)f[u++]=t[a++];return f}},14054:function(t){var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,o=t.length,s=-1,u=n.length,c=-1,l=r.length,f=e(o-u,0),d=Array(f+l),h=!i;++a<f;)d[a]=t[a];for(var p=a;++c<l;)d[p+c]=r[c];for(;++s<u;)(h||a<o)&&(d[p+n[s]]=t[a++]);return d}},97991:function(t){t.exports=function(t,e){for(var r=t.length,n=0;r--;)t[r]===e&&++n;return n}},22402:function(t,e,r){var n=r(71774),i=r(55639);t.exports=function(t,e,r){var a=1&e,o=n(t);return function e(){return(this&&this!==i&&this instanceof e?o:t).apply(a?r:this,arguments)}}},71774:function(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:function(t,e,r){var n=r(96874),i=r(71774),a=r(86935),o=r(94487),s=r(20893),u=r(46460),c=r(55639);t.exports=function(t,e,r){var l=i(t);return function i(){for(var f=arguments.length,d=Array(f),h=f,p=s(i);h--;)d[h]=arguments[h];var m=f<3&&d[0]!==p&&d[f-1]!==p?[]:u(d,p);return(f-=m.length)<r?o(t,e,a,i.placeholder,void 0,d,m,void 0,void 0,r-f):n(this&&this!==c&&this instanceof i?l:t,this,d)}}},86935:function(t,e,r){var n=r(52157),i=r(14054),a=r(97991),o=r(71774),s=r(94487),u=r(20893),c=r(90451),l=r(46460),f=r(55639);t.exports=function t(e,r,d,h,p,m,y,v,g,T){var A=128&r,S=1&r,b=2&r,E=24&r,_=512&r,D=b?void 0:o(e);return function C(){for(var x=arguments.length,w=Array(x),O=x;O--;)w[O]=arguments[O];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)),x-=N,E&&x<T){var L=l(w,I);return s(e,r,t,C.placeholder,d,w,L,v,g,T-x)}var M=S?d:this,U=b?M[e]:e;return x=w.length,v?w=c(w,v):_&&x>1&&w.reverse(),A&&g<x&&(w.length=g),this&&this!==f&&this instanceof C&&(U=D||o(U)),U.apply(M,w)}}},84375:function(t,e,r){var n=r(96874),i=r(71774),a=r(55639);t.exports=function(t,e,r,o){var s=1&e,u=i(t);return function e(){for(var i=-1,c=arguments.length,l=-1,f=o.length,d=Array(f+c),h=this&&this!==a&&this instanceof e?u:t;++l<f;)d[l]=o[l];for(;c--;)d[l++]=arguments[++i];return n(h,s?r:this,d)}}},94487:function(t,e,r){var n=r(86528),i=r(258),a=r(69255);t.exports=function(t,e,r,o,s,u,c,l,f,d){var h=8&e;e|=h?32:64,4&(e&=~(h?64:32))||(e&=-4);var p=[t,e,s,h?u:void 0,h?c:void 0,h?void 0:u,h?void 0:c,l,f,d],m=r.apply(void 0,p);return n(t)&&i(m,p),m.placeholder=o,a(m,t,e)}},97727:function(t,e,r){var n=r(28045),i=r(22402),a=r(46347),o=r(86935),s=r(84375),u=r(66833),c=r(63833),l=r(258),f=r(69255),d=r(40554),h=Math.max;t.exports=function(t,e,r,p,m,y,v,g){var T=2&e;if(!T&&"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(d(v),0),g=void 0===g?g:d(g),A-=m?m.length:0,64&e){var S=p,b=m;p=m=void 0}var E=T?void 0:u(t),_=[t,e,r,p,m,S,b,y,v,g];if(E&&c(_,E),t=_[0],e=_[1],r=_[2],p=_[3],m=_[4],!(g=_[9]=void 0===_[9]?T?0:t.length:h(_[9]-A,0))&&24&e&&(e&=-25),e&&1!=e)D=8==e||16==e?a(t,e,g):32!=e&&33!=e||m.length?o.apply(void 0,_):s(t,e,r,p);else var D=i(t,e,r);return f((E?n:l)(D,_),t,e)}},99021:function(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:function(t,e,r){var n=r(89250),i=r(50308),a=n?function(t){return n.get(t)}:i;t.exports=a},97658:function(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 o=r[a],s=o.func;if(null==s||s==t)return o.name}return e}},20893:function(t){t.exports=function(t){return t.placeholder}},58775:function(t){var e=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;t.exports=function(t){var n=t.match(e);return n?n[1].split(r):[]}},2188:function(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:function(t,e,r){var n=r(62705),i=r(35694),a=r(1469),o=n?n.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(o&&t&&t[o])}},86528:function(t,e,r){var n=r(96425),i=r(66833),a=r(97658),o=r(8111);t.exports=function(t){var e=a(t),r=o[e];if("function"!=typeof r||!(e in n.prototype))return!1;if(t===r)return!0;var s=i(r);return!!s&&t===s[0]}},63833:function(t,e,r){var n=r(52157),i=r(14054),a=r(46460),o="__lodash_placeholder__",s=Math.min;t.exports=function(t,e){var r=t[1],u=e[1],c=r|u,l=c<131,f=128==u&&8==r||128==u&&256==r&&t[7].length<=e[8]||384==u&&e[7].length<=e[8]&&8==r;if(!l&&!f)return t;1&u&&(t[2]=e[2],c|=1&r?0:4);var d=e[3];if(d){var h=t[3];t[3]=h?n(h,d,e[4]):d,t[4]=h?a(t[3],o):e[4]}return(d=e[5])&&(h=t[5],t[5]=h?i(h,d,e[6]):d,t[6]=h?a(t[5],o):e[6]),(d=e[7])&&(t[7]=d),128&u&&(t[8]=null==t[8]?e[8]:s(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=c,t}},89250:function(t,e,r){var n=r(70577),i=n&&new n;t.exports=i},52060:function(t){t.exports={}},90451:function(t,e,r){var n=r(278),i=r(65776),a=Math.min;t.exports=function(t,e){for(var r=t.length,o=a(e.length,r),s=n(t);o--;){var u=e[o];t[o]=i(u,r)?s[u]:void 0}return t}},46460:function(t){var e="__lodash_placeholder__";t.exports=function(t,r){for(var n=-1,i=t.length,a=0,o=[];++n<i;){var s=t[n];s!==r&&s!==e||(t[n]=e,o[a++]=n)}return o}},258:function(t,e,r){var n=r(28045),i=r(21275)(n);t.exports=i},69255:function(t,e,r){var n=r(58775),i=r(2188),a=r(30061),o=r(87241);t.exports=function(t,e,r){var s=e+"";return a(t,i(s,o(n(s),r)))}},87241:function(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:function(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:function(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:function(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:function(t,e,r){var n=r(21078);t.exports=function(t){return null!=t&&t.length?n(t,1):[]}},84599:function(t,e,r){var n=r(68836),i=r(69306),a=Array.prototype.push;function o(t,e){return 2==e?function(e,r){return t(e,r)}:function(e){return t(e)}}function s(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,c,l){var f="function"==typeof r,d=r===Object(r);if(d&&(l=c,c=r,r=void 0),null==c)throw new TypeError;l||(l={});var h={cap:!("cap"in l)||l.cap,curry:!("curry"in l)||l.curry,fixed:!("fixed"in l)||l.fixed,immutable:!("immutable"in l)||l.immutable,rearg:!("rearg"in l)||l.rearg},p=f?c:i,m="curry"in l&&l.curry,y="fixed"in l&&l.fixed,v="rearg"in l&&l.rearg,g=f?c.runInContext():void 0,T=f?c:{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=T.ary,S=T.assign,b=T.clone,E=T.curry,_=T.forEach,D=T.isArray,C=T.isError,x=T.isFunction,w=T.isWeakMap,O=T.keys,I=T.rearg,N=T.toInteger,L=T.toPath,M=O(n.aryMethod),U={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(s(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:o(r,e)):r}},mixin:function(t){return function(e){var r=this;if(!x(r))return t(r,Object(e));var n=[];return _(O(e),(function(t){x(e[t])&&n.push([t,r.prototype[t]])})),t(r,Object(e)),_(n,(function(t){var e=t[1];x(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),l)}}};function P(t,e,r){if(h.fixed&&(y||!n.skipFixed[t])){var i=n.methodSpread[t],o=i&&i.start;return void 0===o?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 o=i[e],s=i.slice(0,e);return o&&a.apply(s,o),e!=n&&a.apply(s,i.slice(e+1)),t.apply(this,s)}}(e,o)}return e}function k(t,e,r){return h.rearg&&r>1&&(v||!n.skipRearg[t])?I(e,n.methodRearg[t]||n.aryRearg[r]):e}function Y(t,e){for(var r=-1,n=(e=L(e)).length,i=n-1,a=b(Object(t)),o=a;null!=o&&++r<n;){var s=e[r],u=o[s];null==u||x(u)||C(u)||w(u)||(o[s]=b(r==i?u:Object(u))),o=o[s]}return a}function R(e,r){var i=n.aliasToReal[e]||e,a=n.remap[i]||i,o=l;return function(e){var n=f?g:T,s=f?g[a]:r,u=S(S({},o),e);return t(n,i,s,u)}}function j(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 B(t,e,r){var i,a=n.aliasToReal[t]||t,c=e,l=U[a];return l?c=l(e):h.immutable&&(n.mutate.array[a]?c=u(e,s):n.mutate.object[a]?c=u(e,function(t){return function(e){return t({},e)}}(e)):n.mutate.set[a]&&(c=u(e,Y))),_(M,(function(t){return _(n.aryMethod[t],(function(e){if(a==e){var r=n.methodSpread[a],s=r&&r.afterRearg;return i=s?P(a,k(a,c,t),t):k(a,P(a,c,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 j(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(o(t,r),e),r)}))}(e,r);var i=!f&&n.iterateeAry[t];if(i)return function(t,e){return j(t,(function(t){return"function"==typeof t?o(t,e):t}))}(e,i)}return e}(a,i),t),!1}})),!i})),i||(i=c),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(!d)return B(r,c,p);var z=c,W=[];return _(M,(function(t){_(n.aryMethod[t],(function(t){var e=z[n.remap[t]||t];e&&W.push([t,B(t,e,z)])}))})),_(O(z),(function(t){var e=z[t];if("function"==typeof e){for(var r=W.length;r--;)if(W[r][0]==t)return;e.convert=R(t,e),W.push([t,e])}})),_(W,(function(t){z[t[0]]=t[1]})),z.convert=function(t){return z.runInContext.convert(t)(void 0)},z.placeholder=z,_(O(z),(function(t){_(n.realToAlias[t]||[],(function(e){z[e]=z[t]}))})),z}},68836:function(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:function(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:function(t,e,r){var n=r(84599),i=r(4269);t.exports=function(t,e,r){return n(i,t,e,r)}},56580:function(t,e,r){var n=r(92822)("memoize",r(88306));n.placeholder=r(69306),t.exports=n},69306:function(t){t.exports={}},64647:function(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:function(t,e,r){var n=r(64160),i=r(37005);t.exports=function(t){return i(t)&&"[object WeakMap]"==n(t)}},72594:function(t,e,r){var n=r(85990),i=r(67206);t.exports=function(t){return i("function"==typeof t?t:n(t,1))}},4963:function(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:function(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:function(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:function(t,e,r){var n=r(29932),i=r(278),a=r(1469),o=r(33448),s=r(55514),u=r(40327),c=r(79833);t.exports=function(t){return a(t)?n(t,u):o(t)?[t]:i(s(c(t)))}},8111:function(t,e,r){var n=r(96425),i=r(7548),a=r(9435),o=r(1469),s=r(37005),u=r(21913),c=Object.prototype.hasOwnProperty;function l(t){if(s(t)&&!o(t)&&!(t instanceof n)){if(t instanceof i)return t;if(c.call(t,"__wrapped__"))return u(t)}return new i(t)}l.prototype=a.prototype,l.prototype.constructor=l,t.exports=l},42761:function(t){"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg=="},87210:function(t){"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K"},94659:function(t){"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg=="},39896:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg=="},76899:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+"},88931:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4="},16556:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4="},46318:function(t,e,r){"use strict";r.d(e,{NcAutoCompleteResult:function(){return v},default:function(){return S}}),r(29774);var n=r(22663),i=r(79753),a=r(76311),o=r(66238),s=(r(79845),r(93911)),u=r(21617),c=(r(93664),r(22175),r(99114),r(25751),r(20435),r(49368),r(89115),r(57274),r(6136),r(69183),r(32219),r(82675),r(65507)),l=r(20296),f=r(36683),d=r(73045),h=r(25108);const p={name:"NcAutoCompleteResult",props:{title:{type:String,required:!0},subline:{type:String,default:null},id:{type:String,default:null},icon:{type:String,required:!0},iconUrl:{type:String,default:null},source:{type:String,required:!0},status:{type:[Object,Array],default:()=>({})}},computed:{avatarUrl(){return this.iconUrl?this.iconUrl:this.id&&"users"===this.source?this.getAvatarUrl(this.id,44):null},haveStatus(){var t,e,r;return(null==(t=this.status)?void 0:t.icon)||(null==(e=this.status)?void 0:e.status)&&"offline"!==(null==(r=this.status)?void 0:r.status)}},methods:{getAvatarUrl(t,e){return(0,i.generateUrl)("/avatar/{user}/{size}",{user:t,size:e})}}};var m=function(){var t=this,e=t._self._c;return e("div",{staticClass:"autocomplete-result"},[e("div",{staticClass:"autocomplete-result__icon",class:[t.icon,"autocomplete-result__icon--"+(t.avatarUrl?"with-avatar":"")],style:t.avatarUrl?{backgroundImage:`url(${t.avatarUrl})`}:null},[t.haveStatus?e("div",{staticClass:"autocomplete-result__status",class:[`autocomplete-result__status--${t.status&&t.status.icon?"icon":t.status.status}`]},[t._v(" "+t._s(t.status&&t.status.icon||"")+" ")]):t._e()]),e("span",{staticClass:"autocomplete-result__content"},[e("span",{staticClass:"autocomplete-result__title",attrs:{title:t.title}},[t._v(" "+t._s(t.title)+" ")]),t.subline?e("span",{staticClass:"autocomplete-result__subline"},[t._v(" "+t._s(t.subline)+" ")]):t._e()])])},y=[];const v=(0,a.n)(p,m,y,!1,null,"25cf09d8",null,null).exports,g={name:"NcRichContenteditable",directives:{tooltip:d.VTooltip},mixins:[n.r],props:{value:{type:String,default:"",required:!0},placeholder:{type:String,default:(0,o.t)("Write a message …")},autoComplete:{type:Function,default:()=>[]},menuContainer:{type:Element,default:()=>document.body},multiline:{type:Boolean,default:!1},contenteditable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:null},emojiAutocomplete:{type:Boolean,default:!0},linkAutocomplete:{type:Boolean,default:!0}},emits:["submit","paste","update:value","smart-picker-submit"],data(){return{textSmiles:[],tribute:null,autocompleteOptions:{allowSpaces:!0,fillAttr:"id",lookup:t=>`${t.id} ${t.title}`,menuContainer:this.menuContainer,menuItemTemplate:t=>this.renderComponentHtml(t.original,v),noMatchTemplate:()=>'<span class="hidden"></span>',selectTemplate:t=>{var e;return this.genSelectTemplate(null==(e=null==t?void 0:t.original)?void 0:e.id)},values:this.debouncedAutoComplete},emojiOptions:{trigger:":",lookup:(t,e)=>e,menuContainer:this.menuContainer,menuItemTemplate:t=>this.textSmiles.includes(t.original)?t.original:`<span class="tribute-container-emoji__item__emoji">${t.original.native}</span> :${t.original.short_name}`,noMatchTemplate:()=>(0,o.t)("No emoji found"),selectTemplate:t=>this.textSmiles.includes(t.original)?t.original:((0,s.R)(t.original),t.original.native),values:(t,e)=>{const r=(0,s.K)(t);this.textSmiles.includes(":"+t)&&r.unshift(":"+t),e(r)},containerClass:"tribute-container-emoji",itemClass:"tribute-container-emoji__item"},linkOptions:{trigger:"/",lookup:(t,e)=>e,menuContainer:this.menuContainer,menuItemTemplate:t=>`<img class="tribute-container-link__item__icon" src="${t.original.icon_url}"> <span class="tribute-container-link__item__title">${t.original.title}</span>`,noMatchTemplate:()=>(0,o.t)("No link provider found"),selectTemplate:this.getLink,values:(t,e)=>e((0,u.n)(t)),containerClass:"tribute-container-link",itemClass:"tribute-container-link__item"},localValue:this.value,isComposing:!1}},computed:{isEmptyValue(){return!this.localValue||this.localValue&&""===this.localValue.trim()},isFF(){return!!navigator.userAgent.match(/firefox/i)},isOverMaxlength(){return!(this.isEmptyValue||!this.maxlength)&&(0,f.default)(this.localValue)>this.maxlength},tooltipString(){return this.isOverMaxlength?{content:(0,o.t)("Message limit of {count} characters reached",{count:this.maxlength}),shown:!0,trigger:"manual"}:null},canEdit(){return this.contenteditable&&!this.disabled},listeners(){const t={...this.$listeners};return delete t.paste,t}},watch:{value(){const t=this.$refs.contenteditable.innerHTML;this.value.trim()!==this.parseContent(t).trim()&&this.updateContent(this.value)}},mounted(){this.textSmiles=[],["d","D","p","P","s","S","x","X",")","(","|","/"].forEach((t=>{this.textSmiles.push(":"+t),this.textSmiles.push(":-"+t)})),this.autocompleteTribute=new c.default(this.autocompleteOptions),this.autocompleteTribute.attach(this.$el),this.emojiAutocomplete&&(this.emojiTribute=new c.default(this.emojiOptions),this.emojiTribute.attach(this.$el)),this.linkAutocomplete&&(this.linkTribute=new c.default(this.linkOptions),this.linkTribute.attach(this.$el)),this.updateContent(this.value),this.$refs.contenteditable.contentEditable=this.canEdit},beforeDestroy(){this.autocompleteTribute&&this.autocompleteTribute.detach(this.$el),this.emojiTribute&&this.emojiTribute.detach(this.$el),this.linkTribute&&this.linkTribute.detach(this.$el)},methods:{focus(){this.$refs.contenteditable.focus()},getLink(t){return(0,u.j)(t.original.id).then((t=>{const e=document.getElementById("tmp-smart-picker-result-node"),r={result:t,insertText:!0};if(this.$emit("smart-picker-submit",r),r.insertText){const r=document.createTextNode(t);e.replaceWith(r),this.setCursorAfter(r),this.updateValue(this.$refs.contenteditable.innerHTML)}else e.remove()})).catch((t=>{h.debug("Smart picker promise rejected:",t);const e=document.getElementById("tmp-smart-picker-result-node");this.setCursorAfter(e),e.remove()})),'<span id="tmp-smart-picker-result-node"></span>'},setCursorAfter(t){const e=document.createRange();e.setEndAfter(t),e.collapse();const r=window.getSelection();r.removeAllRanges(),r.addRange(e)},onInput(t){this.updateValue(t.target.innerHTML)},onPaste(t){if(!this.canEdit)return;t.preventDefault();const e=t.clipboardData;if(this.$emit("paste",t),0!==e.files.length||!Object.values(e.items).find((t=>null==t?void 0:t.type.startsWith("text"))))return;const r=e.getData("text"),n=window.getSelection();if(!n.rangeCount)return void this.updateValue(r);const i=n.getRangeAt(0);n.deleteFromDocument(),i.insertNode(document.createTextNode(r));const a=document.createRange();a.setStart(t.target,i.endOffset),a.collapse(!0),n.removeAllRanges(),n.addRange(a),this.updateValue(this.$refs.contenteditable.innerHTML)},updateValue(t){const e=this.parseContent(t);this.localValue=e,this.$emit("update:value",e)},updateContent(t){const e=this.renderContent(t);this.$refs.contenteditable.innerHTML=e,this.localValue=t},onDelete(t){if(!this.isFF||!window.getSelection||!this.canEdit)return;const e=window.getSelection(),r=t.target;if(!e.isCollapsed||!e.rangeCount)return;const n=e.getRangeAt(e.rangeCount-1);if(3===n.commonAncestorContainer.nodeType&&n.startOffset>0)return;const i=document.createRange();if(e.anchorNode!==r)i.selectNodeContents(r),i.setEndBefore(e.anchorNode);else{if(!(e.anchorOffset>0))return;i.setEnd(r,e.anchorOffset)}i.setStart(r,i.endOffset-1);const a=i.cloneContents().lastChild;a&&"false"===a.contentEditable&&(i.deleteContents(),t.preventDefault())},onEnter(t){this.multiline||this.isOverMaxlength||this.autocompleteTribute.isActive||this.emojiTribute.isActive||this.linkTribute.isActive||this.isComposing||(t.preventDefault(),t.stopPropagation(),this.$emit("submit",t))},onCtrlEnter(t){this.isOverMaxlength||this.$emit("submit",t)},debouncedAutoComplete:l((async function(t,e){this.autoComplete(t,e)}),100),onKeyUp(t){t.stopImmediatePropagation()}}};var T=function(){var t=this;return(0,t._self._c)("div",t._g({directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltipString,expression:"tooltipString"}],ref:"contenteditable",staticClass:"rich-contenteditable__input",class:{"rich-contenteditable__input--empty":t.isEmptyValue,"rich-contenteditable__input--multiline":t.multiline,"rich-contenteditable__input--overflow":t.isOverMaxlength,"rich-contenteditable__input--disabled":t.disabled},attrs:{contenteditable:t.canEdit,placeholder:t.placeholder,"aria-placeholder":t.placeholder,"aria-multiline":"true",role:"textbox"},on:{input:t.onInput,compositionstart:function(e){t.isComposing=!0},compositionend:function(e){t.isComposing=!1},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:t.onDelete.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.onEnter.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.stopPropagation(),e.preventDefault(),t.onCtrlEnter.apply(null,arguments))}],paste:t.onPaste,"!keyup":function(e){return e.stopPropagation(),e.preventDefault(),t.onKeyUp.apply(null,arguments)}}},t.listeners))},A=[];const S=(0,a.n)(g,T,A,!1,null,"599f92d5",null,null).exports},58397:function(t,e,r){"use strict";r.d(e,{N:function(){return w}});var n=r(21617),i=r(93664),a=r(79753),o=r(76311),s=r(28600),u=r(21955),c=r(10979),l=r(41074),f=r(38878),d=r(27172),h=r(20469),p=r(66875),m=r(72090),y=r(25108);const v=/(\s|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/gi,g=/(\s|\(|^)((https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/gi,T={name:"NcReferenceList",components:{NcReferenceWidget:n.N},props:{text:{type:String,default:""},referenceData:{type:Object,default:null},limit:{type:Number,default:1}},data(){return{references:null,loading:!0}},computed:{isVisible(){return this.loading||this.displayedReferences},values(){return this.referenceData?this.referenceData:this.references?Object.values(this.references):[]},firstReference(){var t;return null!=(t=this.values[0])?t:null},displayedReferences(){return this.values.slice(0,this.limit)}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){this.loading=!0,this.referenceData?this.loading=!1:new RegExp(v).exec(this.text)?this.resolve().then((t=>{this.references=t.data.ocs.data.references,this.loading=!1})).catch((t=>{y.error("Failed to extract references",t),this.loading=!1})):this.loading=!1},resolve(){const t=new RegExp(v).exec(this.text.trim());return 1===this.limit&&t?i.Z.get((0,a.generateOcsUrl)("references/resolve",2)+`?reference=${encodeURIComponent(t[0])}`):i.Z.post((0,a.generateOcsUrl)("references/extract",2),{text:this.text,resolve:!0,limit:this.limit})}}};var A=function(){var t=this,e=t._self._c;return t.isVisible?e("div",{staticClass:"widgets--list",class:{"icon-loading":t.loading}},t._l(t.displayedReferences,(function(t){var r;return e("div",{key:null==(r=null==t?void 0:t.openGraphObject)?void 0:r.id},[e("NcReferenceWidget",{attrs:{reference:t}})],1)})),0):t._e()},S=[];const b=(0,o.n)(T,A,S,!1,null,"bd1fbb02",null,null).exports,E={name:"NcLink",props:{href:{type:String,required:!0}},render(t){return t("a",{attrs:{href:this.href,rel:"noopener noreferrer",target:"_blank",class:"rich-text--external-link"}},[this.href.trim()])}},_=function({autolink:t,useMarkdown:e}){return function(r){!e||!t||(0,s.Vn)(r,(t=>"text"===t.type),((t,e,r)=>{let n=D(t.value);return n=n.map((t=>"string"==typeof t?(0,c.u)("text",t):(0,c.u)("link",{url:t.props.href},[(0,c.u)("text",t.props.href)]))).filter((t=>t)),r.children.splice(e,1,...n.flat()),[u.AM,e+n.flat().length]}))}},D=t=>{let e=g.exec(t);const r=[];let n=0;for(;null!==e;){let i,a=e[2],o=t.substring(n,e.index+e[1].length);" "===a[0]&&(o+=a[0],a=a.substring(1).trim());const s=a[a.length-1];("."===s||","===s||";"===s||"("===e[0][0]&&")"===s)&&(a=a.substring(0,a.length-1),i=s),r.push(o),r.push({component:E,props:{href:a}}),i&&r.push(i),n=e.index+e[0].length,e=g.exec(t)}return r.push(t.substring(n)),t===r.map((t=>"string"==typeof t?t:t.props.href)).join("")?r:(y.error("Failed to reassemble the chunked text: "+t),t)},C=function(){return function(t){(0,s.Vn)(t,(t=>"text"===t.type),(function(t,e,r){const n=t.value.split(/(\{[a-z\-_.0-9]+\})/gi).map(((t,e,r)=>{const n=t.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!n)return(0,c.u)("text",t);const[,i]=n;return(0,c.u)("element",{tagName:`#${i}`})}));r.children.splice(e,1,...n)}))}},x={name:"NcRichText",components:{NcReferenceList:b},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},references:{type:Object,default:null},markdownCssClasses:{type:Object,default:()=>({a:"rich-text--external-link",ol:"rich-text--ordered-list",ul:"rich-text--un-ordered-list",li:"rich-text--list-item",strong:"rich-text--strong",em:"rich-text--italic",h1:"rich-text--heading rich-text--heading-1",h2:"rich-text--heading rich-text--heading-2",h3:"rich-text--heading rich-text--heading-3",h4:"rich-text--heading rich-text--heading-4",h5:"rich-text--heading rich-text--heading-5",h6:"rich-text--heading rich-text--heading-6",hr:"rich-text--hr",table:"rich-text--table",pre:"rich-text--pre",code:"rich-text--code",blockquote:"rich-text--blockquote"})},useMarkdown:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},methods:{renderPlaintext(t){const e=this,r=this.text.split(/(\{[a-z\-_.0-9]+\})/gi).map((function(r,n,i){const a=r.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!a)return(({h:t,context:e},r)=>(e.autolink&&(r=D(r)),Array.isArray(r)?r.map((e=>{if("string"==typeof e)return e;const{component:r,props:n}=e,i="NcLink"===r.name?void 0:"rich-text--component";return t(r,{props:n,class:i})})):r))({h:t,context:e},r);const o=a[1],s=e.arguments[o];if("object"==typeof s){const{component:e,props:r}=s;return t(e,{props:r,class:"rich-text--component"})}return s?t("span",{class:"rich-text--fallback"},s):r}));return t("div",{class:"rich-text--wrapper"},[t("div",{},r.flat()),this.referenceLimit>0?t("div",{class:"rich-text--reference-widget"},[t(b,{props:{text:this.text,referenceData:this.references}})]):null])},renderMarkdown(t){const e=(0,l.l)().use(f.Z).use(_,{autolink:this.autolink,useMarkdown:this.useMarkdown}).use(d.Z).use(h.Z,{handlers:{component(t,e){return t(e,e.component,{value:e.value})}}}).use(C).use(m.Z,{target:"_blank",rel:["noopener noreferrer"]}).use(p.Z,{createElement:(e,r,n)=>{if(n=null==n?void 0:n.map((t=>"string"==typeof t?t.replace(/&lt;/gim,"<"):t)),!e.startsWith("#"))return t(e,r,n);const i=this.arguments[e.slice(1)];return i?i.component?t(i.component,{attrs:r,props:i.props,class:"rich-text--component"},n):t("span",r,[i]):t("span",{attrs:r,class:"rich-text--fallback"},[`{${e.slice(1)}}`])},prefix:!1}).processSync(this.text.replace(/</gim,"&lt;").replace(/&gt;/gim,">")).result;return t("div",{class:"rich-text--wrapper rich-text--wrapper-markdown"},[e,this.referenceLimit>0?t("div",{class:"rich-text--reference-widget"},[t(b,{props:{text:this.text,referenceData:this.references}})]):null])}},render(t){return this.useMarkdown?this.renderMarkdown(t):this.renderPlaintext(t)}},w=(0,o.n)(x,null,null,!1,null,"5f33f45b",null,null).exports},64882:function(t,e,r){"use strict";r.d(e,{$U:function(){return N.Z},FK:function(){return q.Z},Iw:function(){return s.Z},Jc:function(){return tt.Z},Jh:function(){return B.Z},O3:function(){return f.Z},P2:function(){return M.Z},QG:function(){return ct.Z},SL:function(){return H.Z},Z9:function(){return z.Z},fg:function(){return L.Z},h3:function(){return lt.Z},rw:function(){return U.Z}});var n=r(63357),i=r(66236),a=r(34791),o=r(56562),s=r(46187),u=r(80472),c=r(52300),l=r(86653),f=r(51103),d=r(68763),h=r(41748),p=r(94162),m=r(67397),y=r(27657),v=r(2047),g=r(6378),T=r(82002),A=r(89998),S=r(28505),b=r(36065),E=r(96315),_=r(66845),D=r(87875),C=r(35273),x=r(34739),w=r(55188),O=r(98445),I=r(9261),N=r(36402),L=r(49231),M=r(57274),U=r(19642),P=r(37776),k=r(73743),Y=r(93182),R=r(89241),j=r(96226),B=r(97947),z=r(2623),W=r(37008),F=r(93757),V=r(6318),Z=r(78573),H=r(22175),G=r(93428),$=r(93815),K=r(40873),q=r(64865),X=r(48741),J=r(88175),Q=r(20435),tt=r(6136),et=r(6156),rt=r(16972),nt=r(34246),it=r(34854),at=r(42213),ot=r(22663),st=r(46318),ut=r(58397),ct=(r(21617),r(93664),r(79753),r(99114)),lt=(r(66238),r(25751),r(49368)),ft=(r(89115),r(69183),r(32219),r(82675),r(74911)),dt=r(35380),ht=r(56857),pt=r(67912),mt=r(90436),yt=r(47414),vt=r(16024),gt=r(64722),Tt=(r(93911),r(85302),r(90318)),At=r(17593),St=(r(79845),r(84722),r(76692),r(40946),r(73045));n.Z,i.Z,a.Z,o.Z,s.Z,u.Z,c.Z,l.Z,d.Z,h.Z,p.Z,f.Z,m.Z,y.Z,v.Z,g.Z,T.Z,A.Z,S.Z,b.Z,E.Z,_.Z,D.Z,C.Z,x.Z,w.Z,O.Z,st.NcAutoCompleteResult,I.N,N.Z,L.Z,M.Z,U.Z,P.Z,k.Z,Y.Z,R.Z,j.Z,B.Z,z.Z,W.Z,F.Z,V.Z,Z.Z,H.Z,G.Z,$.Z,K.N,q.Z,X.Z,J.Z,Q.Z,ot.N,tt.Z,et.Z,rt.Z,nt.Z,it.Z,at.Z,st.default,ut.N,ft.Z,ct.Z,dt.Z,ht.Z,pt.Z,mt.N,gt.Z,lt.Z,yt.Z,vt.Z,Symbol.toStringTag,Tt.X,At.X,St.VTooltip,Symbol.toStringTag}},a={};function o(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,o),r.loaded=!0,r.exports}o.m=i,e=[],o.O=function(t,r,n,i){if(!r){var a=1/0;for(l=0;l<e.length;l++){r=e[l][0],n=e[l][1],i=e[l][2];for(var s=!0,u=0;u<r.length;u++)(!1&i||a>=i)&&Object.keys(o.O).every((function(t){return o.O[t](r[u])}))?r.splice(u--,1):(s=!1,i<a&&(a=i));if(s){e.splice(l--,1);var c=n();void 0!==c&&(t=c)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[r,n,i]},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.f={},o.e=function(t){return Promise.all(Object.keys(o.f).reduce((function(e,r){return o.f[r](t,e),e}),[]))},o.u=function(t){return t+"-"+t+".js?v="+{2250:"34f75a254de23027f023",7608:"79fdfed407dde075e048"}[t]},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r={},n="nextcloud:",o.l=function(t,e,i,a){if(r[t])r[t].push(e);else{var s,u;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==n+i){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",n+i),s.src=t),r[t]=[e];var d=function(e,n){s.onerror=s.onload=null,clearTimeout(h);var i=r[t];if(delete r[t],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(t){return t(n)})),e)return e(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),u&&document.head.appendChild(s)}},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},o.j=3347,function(){var t;o.g.importScripts&&(t=o.g.location+"");var e=o.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(/\/[^\/]+$/,"/"),o.p=t}(),function(){o.b=document.baseURI||self.location.href;var t={3347:0,6318:0};o.f.j=function(e,r){var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((function(r,i){n=t[e]=[r,i]}));r.push(n[2]=i);var a=o.p+o.u(e),s=new Error;o.l(a,(function(r){if(o.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;s.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,n[1](s)}}),"chunk-"+e,e)}},o.O.j=function(e){return 0===t[e]};var e=function(e,r){var n,i,a=r[0],s=r[1],u=r[2],c=0;if(a.some((function(e){return 0!==t[e]}))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(u)var l=u(o)}for(e&&e(r);c<a.length;c++)i=a[c],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(l)},r=self.webpackChunknextcloud=self.webpackChunknextcloud||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))}(),o.nc=void 0;var s=o.O(void 0,[7874],(function(){return o(74314)}));s=o.O(s)}();
  3. //# sourceMappingURL=dav-settings-personal-availability.js.map?v=5ce19e2d477340f8e3c5