diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-09-29 11:10:51 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-10-17 11:17:35 +0200 |
commit | 4b55594f55ce4146ed93c50f71e6204a57d29612 (patch) | |
tree | 6737b2a520fbe43da3f7f73bdd2ee8adfabd0be0 /dist/dav-settings-personal-availability.js | |
parent | ad7d20e017253ad871b7bcd7582ac9ccbcce9843 (diff) | |
download | nextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.tar.gz nextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.zip |
feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'dist/dav-settings-personal-availability.js')
-rw-r--r-- | dist/dav-settings-personal-availability.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/dav-settings-personal-availability.js b/dist/dav-settings-personal-availability.js index 8946d556092..f45aafeaa50 100644 --- a/dist/dav-settings-personal-availability.js +++ b/dist/dav-settings-personal-availability.js @@ -1,3 +1,3 @@ /*! For license information please see dav-settings-personal-availability.js.LICENSE.txt */ -!function(){var e,n,r,i={4953:function(e,n,r){"use strict";var i=r(20144),a=r(31352),o=r(64882),s=r(25108),u=r(34155),c=r(18350);function l(t,e,n,r,i,a,o,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(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-205927d1]{padding:0 10px;position:absolute}.availability-slots[data-v-205927d1]{display:flex;white-space:nowrap}.availability-slot[data-v-205927d1]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-205927d1]{display:flex;flex-direction:column}[data-v-205927d1] .mx-input-wrapper{width:85px}[data-v-205927d1] .mx-datepicker{width:97px}[data-v-205927d1] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-205927d1]{padding:32px 12px 12px 0}.grid-table[data-v-205927d1]{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-205927d1]{align-self:flex-end}.label-weekday[data-v-205927d1]{position:relative;display:inline-flex;padding-top:4px}.delete-slot[data-v-205927d1]{background-color:transparent;border:none;padding-bottom:12px;opacity:.5}.delete-slot[data-v-205927d1]:hover{opacity:1}.add-another[data-v-205927d1]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-205927d1]:hover{opacity:1}.to-text[data-v-205927d1]{padding-right:12px}.time-zone-text[data-v-205927d1]{padding-left:22px}.empty-content[data-v-205927d1]{color:var(--color-text-lighter);margin-top:4px}")),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:n})=>{t[e]=n.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 n=new Date;n.setHours(17,0,0,0),t.slots.push({start:e,end:n}),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(n){return[e("div",{key:`day-label-${n.id}`,staticClass:"label-weekday"},[t._v(" "+t._s(n.displayName)+" ")]),e("div",{key:`day-slots-${n.id}`,staticClass:"availability-slots"},[e("div",{staticClass:"availability-slot-group"},[t._l(n.slots,(function(r,i){return[e("div",{key:`slot-${n.id}-${i}`,staticClass:"availability-slot"},[e("NcDateTimePicker",{staticClass:"start-date",attrs:{type:"time",format:"H:mm"},on:{change:t.onChangeSlots},model:{value:r.start,callback:function(e){t.$set(r,"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:r.end,callback:function(e){t.$set(r,"end",e)},expression:"slot.end"}}),e("NcButton",{key:`slot-${n.id}-${i}-btn`,staticClass:"icon-delete delete-slot button",attrs:{title:t.l10nDeleteSlot},on:{click:function(e){return t.removeSlot(n,i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDelete",{attrs:{size:20}})]},proxy:!0}],null,!0)})],1)]}))],2),0===n.slots.length?e("span",{staticClass:"empty-content"},[t._v(" "+t._s(t.l10nEmptyDay)+" ")]):t._e()]),e("NcButton",{key:`add-slot-${n.id}`,staticClass:"add-another button",attrs:{disabled:t.loading,title:t.l10nAddSlot},on:{click:function(e){return t.addSlot(n)}},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,"205927d1",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:n,t:r,r:i,s:a}=t;return[`TZNAME:${e}`,`TZOFFSETFROM:${n}`,`TZOFFSETTO:${r||n}`,`DTSTART:${a||b.defaultStart}`,...i?[`RRULE:FREQ=${i.f||"YEARLY"};BYMONTH=${i.m};BYDAY=${i.d}`]:[]]}function _(t,e=!0){const n=b.zonesMap.get(t);if(n){const{s:r,d:i}=n;return[...e?["BEGIN:VTIMEZONE"]:[],`TZID:${t}`,"BEGIN:STANDARD",...E(r),"END:STANDARD",...i?["BEGIN:DAYLIGHT",...E(i),"END:DAYLIGHT"]:[],...e?["END:VTIMEZONE"]:[]]}}T.getZoneLines=_,S=T.getZoneString=function(t,e=!0){const n=_(t,e);return null==n?void 0:n.join("\r\n")};var D,C,x={};(D=x).foldLength=75,D.newLineChar="\r\n",D.helpers={updateTimezones:function(t){var e,n,r,i,a,o;if(!t||"vcalendar"!==t.name)return t;for(e=t.getAllSubcomponents(),n=[],r={},a=0;a<e.length;a++)"vtimezone"===e[a].name?r[o=e[a].getFirstProperty("tzid").getFirstValue()]=e[a]:n=n.concat(e[a].getAllProperties());for(i={},a=0;a<n.length;a++)(o=n[a].getParameter("tzid"))&&(i[o]=!0);for(a in r)r.hasOwnProperty(a)&&!i[a]&&t.removeSubcomponent(r[a]);for(a in i)i.hasOwnProperty(a)&&!r[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,n){for(;-1!==(n=t.indexOf(e,n));){if(!(n>0&&"\\"===t[n-1]))return n;n+=1}return-1},binsearchInsert:function(t,e,n){if(!t.length)return 0;for(var r,i,a=0,o=t.length-1;a<=o;)if((i=n(e,t[r=a+Math.floor((o-a)/2)]))<0)o=r-1;else{if(!(i>0))break;a=r+1}return i<0?r:i>0?r+1:r},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 n=[],r=0;r<t.length;r++)n.push(e?D.helpers.clone(t[r],!0):t[r]);return n}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="",n=t||"",r=0,i=0;n.length;){var a=n.codePointAt(r);a<128?++i:i+=a<2048?2:a<65536?3:4,i<D.foldLength+1?r+=a>65535?2:1:(e+=D.newLineChar+" "+n.substring(0,r),n=n.substring(r),r=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,n){function r(){}r.prototype=t.prototype,e.prototype=new r,n&&D.helpers.extend(n,e.prototype)},extend:function(t,e){for(var n in t){var r=Object.getOwnPropertyDescriptor(t,n);r&&!Object.getOwnPropertyDescriptor(e,n)&&Object.defineProperty(e,n,r)}return e}},D.design=function(){var t=/\\\\|\\,|\\[Nn]/g,e=/\\|,|\n/g;function n(t,e){var n={matches:/.*/,fromICAL:function(e,n){return function(t,e,n){return-1===t.indexOf("\\")?t:(n&&(e=new RegExp(e.source+"|\\\\"+n)),t.replace(e,h))}(e,t,n)},toICAL:function(t,n){var r=e;return n&&(r=new RegExp(r.source+"|"+n)),t.replace(r,(function(t){switch(t){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case"\n":return"\\n";default:return t}}))}};return n}var r={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:r,uid:r},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:n(/\\\\|\\;|\\,|\\[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 n=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]&&(n+="Z"),n}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 n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];"until"==n?r=r.length>10?y["date-time"].toICAL(r):y.date.toICAL(r):"wkst"==n?"number"==typeof r&&(r=D.Recur.numericDayToIcalDay(r)):Array.isArray(r)&&(r=r.join(",")),e+=n.toUpperCase()+"="+r+";"}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:r,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:r,class:r,comment:r,completed:u,contact:r,created:u,description:r,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:r,method:r,organizer:{defaultType:"cal-address"},"percent-complete":o,priority:o,prodid:r,"related-to":r,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:r,summary:r,transp:r,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:l,tzoffsetto:l,tzurl:c,tzid:r,tzname:r}),g=D.helpers.extend(m,{text:n(t,e),uri:n(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),n=e[0],r=e[1];return 6==r.length?r=r.substr(0,2)+":"+r.substr(2,2)+":"+r.substr(4,2):4==r.length&&"-"!=r[0]?r=r.substr(0,2)+":"+r.substr(2,2):5==r.length&&(r=r.substr(0,3)+":"+r.substr(3,2)),5==n.length&&("-"==n[0]||"+"==n[0])&&(n=n.substr(0,3)+":"+n.substr(3)),r+n},toICAL:function(t){var e=g.time._splitZone(t),n=e[0],r=e[1];return 8==r.length?r=r.substr(0,2)+r.substr(3,2)+r.substr(6,2):5==r.length&&"-"!=r[0]?r=r.substr(0,2)+r.substr(3,2):6==r.length&&(r=r.substr(0,3)+r.substr(4,2)),6==n.length&&("-"==n[0]||"+"==n[0])&&(n=n.substr(0,3)+n.substr(4)),r+n},_splitZone:function(t,e){var n,r,i=t.length-1,a=t.length-(e?5:6),o=t[a];return"Z"==t[i]?(n=t[i],r=t.substr(0,i)):t.length>6&&("-"==o||"+"==o)?(n=t.substr(a),r=t.substr(0,a)):(n="",r=t),[n,r]}},"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:r,fburl:c,fn:r,gender:a,geo:c,impp:c,key:c,kind:r,lang:{defaultType:"language-tag"},logo:c,member:c,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,note:r,org:{defaultType:"text",structuredValue:";"},photo:c,related:c,rev:{defaultType:"timestamp"},role:r,sound:c,source:c,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:r,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:r}),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:r,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:r,tel:{defaultType:"phone-number"},email:r,mailer:r,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:r,role:r,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:a,note:i,prodid:r,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},"sort-string":r,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:r,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",n=D.design,r=D.helpers;function i(e){"string"==typeof e[0]&&(e=[e]);for(var n=0,r=e.length,a="";n<r;n++)a+=i.component(e[n])+t;return a}i.component=function(e,r){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"),r=r||n.getDesignSet(l);u<c;u++)o+=i.property(s[u],r)+t;for(var f=e[2]||[],d=0,h=f.length;d<h;d++)o+=i.component(f[d],r)+t;return o+"END:"+a},i.property=function(t,r,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 r.param&&r.param[o].multiValue)&&Array.isArray(f)?(r.param[o].multiValueSeparateDQuote&&(p='"'+p+'"'),f=f.map(i._rfc6868Unescape),f=i.multiValue(f,p,"unknown",null,r)):f=i._rfc6868Unescape(f),l+=";"+o.toUpperCase(),l+="="+i.propertyValue(f))}if(3===t.length)return l+":";var d=t[2];r||(r=n.defaultSet);var h,p=!1,m=!1,y=!1;return u in r.property?("multiValue"in(h=r.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,r,m):p?i.multiValue(t.slice(3),p,d,null,r,!1):m?i.multiValue(t[3],m,d,null,r,m):i.value(t[3],d,r,!1),a?l:D.helpers.foldline(l)},i.propertyValue=function(t){return-1===r.unescapedIndexOf(t,",")&&-1===r.unescapedIndexOf(t,":")&&-1===r.unescapedIndexOf(t,";")?t:'"'+t+'"'},i.multiValue=function(t,e,n,r,a,o){for(var s="",u=t.length,c=0;c<u;c++)r&&Array.isArray(t[c])?s+=i.multiValue(t[c],r,n,null,a,o):s+=i.value(t[c],n,a,o),c!==u-1&&(s+=e);return s},i.value=function(t,e,n,r){return e in n.value&&"toICAL"in n.value[e]?n.value[e].toICAL(t,r):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,n=D.helpers;function r(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={},n=e.component=[];if(e.stack=[n],i._eachLine(t,(function(t,n){i._handleContentLine(n,e)})),e.stack.length>1)throw new r("invalid ical body. component began but did not end");return e=null,1==n.length?n[0]:n}r.prototype=Error.prototype,i.property=function(t,n){var r={component:[[],[]],designSet:n||e.defaultSet};return i._handleContentLine(t,r),r.component[1][0]},i.component=function(t){return i(t)},i.ParserError=r,i._handleContentLine=function(t,n){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,n.designSet))[2])throw new r("Invalid parameters in '"+t+"'");if(d=c[0],a=c[1].length+c[2]+f,-1===(o=t.substring(a).indexOf(":")))throw new r("Missing parameter value in '"+t+"'");u=t.substring(a+o+1)}else{if(-1===l)throw new r('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===n.stack.length?n.component.push(h):n.component[2].push(h),n.stack.push(n.component),n.component=h,void(n.designSet||(n.designSet=e.getDesignSet(n.component[0])))}if("end"===s)return void(n.component=n.stack.pop())}var p,m,y,v=!1,g=!1;s in n.designSet.property&&("multiValue"in(m=n.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,n.designSet,g)]:v?(y=[s,d,p],i._parseMultiValue(u,v,p,y,null,n.designSet,!1)):y=g?[s,d,p,u=i._parseMultiValue(u,g,p,[],null,n.designSet,g)]:[s,d,p,u=i._parseValue(u,p,n.designSet,!1)],"vcard"===n.component[0]&&0===n.component[1].length&&!("version"===s&&"4.0"===u)&&(n.designSet=e.getDesignSet("vcard3")),n.component[1].push(y)},i._parseValue=function(t,e,n,r){return e in n.value&&"fromICAL"in n.value[e]?n.value[e].fromICAL(t,r):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=n.unescapedIndexOf(t,"=",h+1));){if(0==(o=t.substr(d+1,h-d-1)).length)throw new r("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=n.unescapedIndexOf(t,'"',m),l&&-1!=h)for(var y=!0;y;)t[h+1]==l&&'"'==t[h+2]?h=n.unescapedIndexOf(t,'"',h+3):y=!1;if(-1===h)throw new r('invalid line (no matching double quote) "'+t+'"');u=t.substr(m,h-m),-1===(d=n.unescapedIndexOf(t,";",h))&&(h=!1)}else{m=h+1;var v=n.unescapedIndexOf(t,";",m),g=n.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,r,a,o,s,u){var c,l=0,f=0;if(0===e.length)return t;for(;-1!==(l=n.unescapedIndexOf(t,e,f));)c=t.substr(f,l-f),c=o?i._parseMultiValue(c,o,r,[],null,s,u):i._parseValue(c,r,s,u),a.push(c),f=l+e.length;return c=t.substr(f),c=o?i._parseMultiValue(c,o,r,[],null,s,u):i._parseValue(c,r,s,u),a.push(c),1==a.length?a[0]:a},i._eachLine=function(e,n){var r,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?r+=e.substr(s+1,u-s-(a+1)):(r&&n(null,r),r=e.substr(s,u-s-a)),s=u}while(u!==o);(r=r.trim()).length&&n(null,r)},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 n=new t(this.jCal[2][e],this);return this._hydratedComponentCount++,this._components[e]=n},_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,n=this.jCal[2],r=n.length;e<r;e++)if(n[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,n=0;if(t){for(var r=this.jCal[2],i=[];n<e;n++)t===r[n][0]&&i.push(this._hydrateComponent(n));return i}if(!this._components||this._hydratedComponentCount!==e)for(;n<e;n++)this._hydrateComponent(n);return this._components||[]},hasProperty:function(t){for(var e=this.jCal[1],n=e.length,r=0;r<n;r++)if(e[r][0]===t)return!0;return!1},getFirstProperty:function(t){if(t){for(var e=0,n=this.jCal[1],r=n.length;e<r;e++)if(n[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,n=0;if(t){for(var r=this.jCal[1],i=[];n<e;n++)t===r[n][0]&&i.push(this._hydrateProperty(n));return i}if(!this._properties||this._hydratedPropertyCount!==e)for(;n<e;n++)this._hydrateProperty(n);return this._properties||[]},_removeObjectByIndex:function(t,e,n){if((e=e||[])[n]){var r=e[n];"parent"in r&&(r.parent=null)}e.splice(n,1),this.jCal[t].splice(n,1)},_removeObject:function(t,e,n){var r=0,i=this.jCal[t],a=i.length,o=this[e];if("string"==typeof n){for(;r<a;r++)if(i[r][0]===n)return this._removeObjectByIndex(t,o,r),!0}else if(o)for(;r<a;r++)if(o[r]&&o[r]===n)return this._removeObjectByIndex(t,o,r),!0;return!1},_removeAllObjects:function(t,e,n){for(var r=this[e],i=this.jCal[t],a=i.length-1;a>=0;a--)(!n||i[a][0]===n)&&this._removeObjectByIndex(t,r,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 n=new D.Property(t);return n.setValue(e),this.addProperty(n),n},updatePropertyWithValue:function(t,e){var n=this.getFirstProperty(t);return n?n.setValue(e):n=this.addPropertyWithValue(t,e),n},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,n){this._parent=n||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 n=!this._parent||e&&e._designSet!=this._parent._designSet;return this._parent=e,this.type==t.defaultType&&n&&(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 n=t.toLowerCase();"string"==typeof e&&n in this._designSet.param&&"multiValue"in this._designSet.param[n]&&(e=[e]),this.jCal[1][t]=e},removeParameter:function(t){delete this.jCal[1][t]},getDefaultType:function(){var e=this.jCal[0],n=this._designSet;if(e in n.property){var r=n.property[e];if("defaultType"in r)return r.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,n=[];e<t;e++)n[e]=this._hydrateValue(e);return n},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,n=0;if(this.removeAllValues(),e>0&&"object"==typeof t[0]&&"icaltype"in t[0]&&this.resetType(t[0].icaltype),this.isDecorated)for(;n<e;n++)this._setDecoratedValue(t[n],n);else for(;n<e;n++)this.jCal[3+n]=t[n]},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,n){return new e(D.parse.property(t,n))},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(),n=t.toSeconds();return(e>n)-(n>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 n=new t;return n.fromSeconds(e),n},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,n,r,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,n=a>>12&63,r=a>>6&63,i=63&a,l[u++]=o.charAt(e)+o.charAt(n)+o.charAt(r)+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,n,r,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,n=o>>8&255,r=255&o,l[c++]=64==i?String.fromCharCode(e):64==a?String.fromCharCode(e,n):String.fromCharCode(e,n,r)}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 n=t.split("/");if(2!==n.length)throw new Error('Invalid string value: "'+t+'" must contain a "/" char.');var r={start:D.Time.fromDateTimeString(n[0],e)},i=n[1];return D.Duration.isValueString(i)?r.duration=D.Duration.fromString(i):r.end=D.Time.fromDateTimeString(i,e),new D.Period(r)},D.Period.fromData=function(t){return new D.Period(t)},D.Period.fromJSON=function(t,e,n){function r(t,e){return n?D.Time.fromString(t,e):D.Time.fromDateTimeString(t,e)}return D.Duration.isValueString(t[1])?D.Period.fromData({start:r(t[0],e),duration:D.Duration.fromString(t[1])}):D.Period.fromData({start:r(t[0],e),end:r(t[1],e)})},function(){var t=/([PDWHMTS]{1,1})/;function e(t,e,n){var r;switch(t){case"P":n.isNegative=!(!e||"-"!==e);break;case"D":r="days";break;case"W":r="weeks";break;case"H":r="hours";break;case"M":r="minutes";break;case"S":r="seconds";break;default:return 0}if(r){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+'"');n[r]=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 n in e)if(e.hasOwnProperty(n)){var r=e[n];this[r]=t&&r in t?t[r]: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(),n=t.toSeconds();return(e>n)-(e<n)},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(n){for(var r=0,i=Object.create(null),a=0;-1!==(r=n.search(t));){var o=n[r],s=n.substr(0,r);n=n.substr(r+1),a+=e(o,s,i)}if(a<2)throw new Error('invalid duration value: Not enough duration components in "'+n+'"');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 n in C)if(C.hasOwnProperty(n)){var r=C[n];t&&r in t&&(this[r]=t[r])}}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},n=this._findNearbyChange(e),r=-1,i=1;;){var a=D.helpers.clone(this.changes[n],!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?r=n:i=-1,-1==i&&-1!=r)break;if((n+=i)<0)return 0;if(n>=this.changes.length)break}var o=this.changes[r];if(o.utcOffset-o.prevUtcOffset<0&&r>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[r-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 n=t;if(n<D.Timezone._minimumExpansionYear&&(n=D.Timezone._minimumExpansionYear),(n+=D.Timezone.EXTRA_COVERAGE)>D.Timezone.MAX_YEAR&&(n=D.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYear<t){for(var r=this.component.getAllSubcomponents(),i=r.length,a=0;a<i;a++)this._expandComponent(r[a],n,this.changes);this.changes.sort(D.Timezone._compare_change_fn),this.expandedUntilYear=n}},_expandComponent:function(t,e,n){if(!t.hasProperty("dtstart")||!t.hasProperty("tzoffsetto")||!t.hasProperty("tzoffsetfrom"))return null;var r,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();(r=o()).year=c.year,r.month=c.month,r.day=c.day,c.isDate?(r.hour=i.hour,r.minute=i.minute,r.second=i.second,i.zone!=D.Timezone.utcTimezone&&D.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset)):(r.hour=c.hour,r.minute=c.minute,r.second=c.second,c.zone!=D.Timezone.utcTimezone&&D.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset)),n.push(r)}var l=t.getFirstProperty("rrule");if(l){l=l.getFirstValue(),r=o(),l.until&&l.until.zone==D.Timezone.utcTimezone&&(l.until.adjust(0,0,0,r.prevUtcOffset),l.until.zone=D.Timezone.localTimezone);for(var f,d=l.iterator(i);(f=d.next())&&(r=o(),!(f.year>e)&&f);)r.year=f.year,r.month=f.month,r.day=f.day,r.hour=f.hour,r.minute=f.minute,r.second=f.second,r.isDate=f.isDate,D.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset),n.push(r)}}else(r=o()).year=i.year,r.month=i.month,r.day=i.day,r.hour=i.hour,r.minute=i.minute,r.second=i.second,D.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset),n.push(r);return n},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,n){if(t.isDate||e.tzid==n.tzid||e==D.Timezone.localTimezone||n==D.Timezone.localTimezone)return t.zone=n,t;var r=e.utcOffset(t);return t.adjust(0,0,0,-r),r=n.utcOffset(t),t.adjust(0,0,0,r),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,n,r,i){return D.Time.prototype.adjust.call(t,e,n,r,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,n){if(e instanceof D.Component&&"vtimezone"===e.name&&(e=(n=new D.Timezone(e)).tzid),!(n instanceof D.Timezone))throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component");t[e]=n},remove:function(e){return delete t[e]}};return e.reset(),e}(),D.Time=function(t,e){this.wrappedJSObject=this;var n=this._time=Object.create(null);n.year=0,n.month=1,n.day=1,n.hour=0,n.minute=0,n.second=0,n.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,n,r,i,a,o){this.fromData({year:t,month:e,day:n,hour:r,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 n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if("icaltype"===n)continue;this[n]=t[n]}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 r=D.TimezoneService.get(t.timezone);this.zone=r||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,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(n in D.Time._dowCache)return D.Time._dowCache[n];var r=this.day,i=this.month+(this.month<3?12:0),a=this.year-(this.month<3?1:0),o=r+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[n]=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,n=this.clone();return n.day-=(this.dayOfWeek()+7-e)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},endOfWeek:function(t){var e=t||D.Time.SUNDAY,n=this.clone();return n.day+=(7-this.dayOfWeek()+e-D.Time.SUNDAY)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},startOfMonth:function(){var t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfMonth:function(){var t=this.clone();return t.day=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,n=this.dayOfWeek()-e;return n<0&&(n+=7),this.dayOfYear()-n},getDominicalLetter:function(){return D.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,e){var n,r=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,n=t}else o.day=r,i++,(n=o.dayOfWeek()-t)<0&&(n+=7),n=r-n;return a+(n+7*i)},isNthWeekDay:function(t,e){var n=this.dayOfWeek();return 0===e&&n===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 n,r=this.clone();r.isDate=!0;var i=this.year;12==r.month&&r.day>25?(n=D.Time.weekOneStarts(i+1,t),r.compare(n)<0?n=D.Time.weekOneStarts(i,t):i++):(n=D.Time.weekOneStarts(i,t),r.compare(n)<0&&(n=D.Time.weekOneStarts(--i,t)));var a=r.subtractDate(n).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,n=this.second,r=this.minute,i=this.hour,a=this.day;n+=e*t.seconds,r+=e*t.minutes,i+=e*t.hours,a+=e*t.days,a+=7*e*t.weeks,this.second=n,this.minute=r,this.hour=i,this.day=a,this._cachedUnixTime=null},subtractDate:function(t){var e=this.toUnixTime()+this.utcOffset(),n=t.toUnixTime()+t.utcOffset();return D.Duration.fromSeconds(e-n)},subtractDateTz:function(t){var e=this.toUnixTime(),n=t.toUnixTime();return D.Duration.fromSeconds(e-n)},compare:function(t){var e=this.toUnixTime(),n=t.toUnixTime();return e>n?1:n>e?-1:0},compareDateOnlyTz:function(t,e){function n(t){return D.Time._cmp_attr(r,i,t)}var r=this.convertToZone(e),i=t.convertToZone(e),a=0;return 0!=(a=n("year"))||0!=(a=n("month"))||(a=n("day")),a},convertToZone:function(t){var e=this.clone(),n=this.zone.tzid==t.tzid;return!this.isDate&&!n&&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,n,r,i){var a,o,s,u,c,l,f,d=0,h=0,p=i||this._time;if(p.isDate||(s=p.second+r,p.second=s%60,a=D.helpers.trunc(s/60),p.second<0&&(p.second+=60,a--),u=p.minute+n+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"],n=Object.create(null),r=0,i=e.length;r<i;r++)n[t=e[r]]=this[t];return this.zone&&(n.timezone=this.zone.tzid),n}},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 n=30;return t<1||t>12||(n=[0,31,28,31,30,31,30,31,31,30,31,30,31][t],2==t&&(n+=D.Time.isLeapYear(e))),n},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 n=e,r=t,i=new D.Time;i.auto_normalize=!1;var a=D.Time.isLeapYear(n)?1:0;if(r<1)return n--,a=D.Time.isLeapYear(n)?1:0,r+=D.Time.daysInYearPassedMonth[a][12],D.Time.fromDayOfYear(r,n);if(r>D.Time.daysInYearPassedMonth[a][12])return a=D.Time.isLeapYear(n)?1:0,r-=D.Time.daysInYearPassedMonth[a][12],n++,D.Time.fromDayOfYear(r,n);i.year=n,i.isDate=!0;for(var o=11;o>=0;o--)if(r>D.Time.daysInYearPassedMonth[a][o]){i.month=o+1,i.day=r-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 n;return t[19]&&"Z"===t[19]?n="Z":e&&(n=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:n})},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 n=D.Time.fromData({year:t,month:1,day:1,isDate:!0}),r=n.dayOfWeek(),i=e||D.Time.DEFAULT_WEEK_START;return r>D.Time.THURSDAY&&(n.day+=7),i>D.Time.THURSDAY&&(n.day-=7),n.day-=r-i,n},D.Time.getDominicalLetter=function(t){var e="GFEDCBA",n=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return D.Time.isLeapYear(t)?e[(n+6)%7]+e[n]:e[n]},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,n){return t[n]>e[n]?1:t[n]<e[n]?-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,n){this.wrappedJSObject=this;var r=this._time=Object.create(null);r.year=null,r.month=null,r.day=null,r.hour=null,r.minute=null,r.second=null,this.icaltype=n||"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,n=this.year,r=this.month,i=this.day,a=this.hour,o=this.minute,s=this.second,u=null!==r,c=null!==i,l=null!==a,f=null!==o,d=null!==s,h=(null!==n?e(n)+(u||c?"-":""):u||c?"--":"")+(u?e(r):"")+(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 n(t,e,n){return t?D.helpers.strictParseInt(t.substr(e,n)):null}var r=t.split("T"),i=r[0],a=r[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:n(i,0,4),month:!f||4!=c&&7!=c?7==c||10==c?n(i,5,2):null:n(i,2,2),day:5==c?n(i,3,2):7==c&&f?n(i,5,2):10==c?n(i,8,2):null,hour:d?null:n(u,0,2),minute:d&&3==l?n(u,1,2):l>4?n(u,d?1:3,2):null,second:4==l?n(u,2,2):6==l?n(u,4,2):8==l?n(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 n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);function r(t,e,n,r){var i=r;if("+"===r[0]&&(i=r.substr(1)),i=D.helpers.strictParseInt(i),void 0!==e&&r<e)throw new Error(t+': invalid value "'+r+'" must be > '+e);if(void 0!==n&&r>n)throw new Error(t+': invalid value "'+r+'" 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 n=t.toUpperCase();n in this.parts?this.parts[n].push(e):this.parts[n]=[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 n,r=this.iterator(t);do{n=r.next()}while(n&&n.compare(e)<=0);return n&&e.zone&&(n.zone=e.zone),n},fromData:function(t){for(var e in t){var n=e.toUpperCase();n in u?Array.isArray(t[e])?this.parts[n]=t[e]:this.parts[n]=[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 n=this.parts[e];Array.isArray(n)&&1==n.length?t[e.toLowerCase()]=n[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,n){var r=n||D.Time.SUNDAY;return(t[e]-r+7)%7+1},D.Recur.numericDayToIcalDay=function(t,n){var r=t+(n||D.Time.SUNDAY)-D.Time.SUNDAY;return r>7&&(r-=7),e[r]};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,n){if(-1===o.indexOf(t))throw new Error('invalid frequency "'+t+'" expected: "'+o.join(", ")+'"');e.freq=t},COUNT:function(t,e,n){e.count=D.helpers.strictParseInt(t)},INTERVAL:function(t,e,n){e.interval=D.helpers.strictParseInt(t),e.interval<1&&(e.interval=1)},UNTIL:function(t,e,n){t.length>10?e.until=D.design.icalendar.value["date-time"].fromICAL(t):e.until=D.design.icalendar.value.date.fromICAL(t),n||(e.until=D.Time.fromString(e.until))},WKST:function(t,e,n){if(!i.test(t))throw new Error('invalid WKST value "'+t+'"');e.wkst=D.Recur.icalDayToNumericDay(t)}},u={BYSECOND:r.bind(this,"BYSECOND",0,60),BYMINUTE:r.bind(this,"BYMINUTE",0,59),BYHOUR:r.bind(this,"BYHOUR",0,23),BYDAY:function(t){if(a.test(t))return t;throw new Error('invalid BYDAY value "'+t+'"')},BYMONTHDAY:r.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:r.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:r.bind(this,"BYWEEKNO",-53,53),BYMONTH:r.bind(this,"BYMONTH",1,12),BYSETPOS:r.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 n=Object.create(null),r=t.split(";"),i=r.length,a=0;a<i;a++){var o=r[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]);n[f]=1==h.length?h[0]:h}else c in s?s[c](d,n,e):n[l]=d}return n}}(),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],n=(c=u[1])-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<c&&n>=0||n<0)&&(this.last.day+=n)}else{var r=D.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[r]}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,n){for(var r,i=D.Time.daysInMonth(e,t),a=[],o=0,s=n.length;o<s;o++)if(r=n[o],!(Math.abs(r)>i)){if(r<0)r=i+(r+1);else if(0===r)continue;-1===a.indexOf(r)&&a.push(r)}return a.sort((function(t,e){return t-e}))},_byDayAndMonthDay:function(t){var e,n,r,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),r=e.length;e[o]<=l&&(!t||e[o]!=l)&&o<r-1;)o++}function d(){l=0,c.increment_month(),o=0,f()}f(),t&&(l-=1);for(var h=48;!u&&h;)if(h--,(n=l+1)>i)d();else{var p=e[o++];if(p>=n){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!==r||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),n=0,r=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)&&(r++,a<=i&&n++);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(++n)||this.check_set_position(n-r-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 n=this.by_data.BYDAY[this.by_indices.BYDAY],r=this.ruleDayOfWeek(n)[1];(r-=this.rule.wkst)<0&&(r+=7),e.year=this.last.year,e.month=this.last.month,e.day=this.last.day;var i=e.startDoyWeek(this.rule.wkst);if(!(r+i<1)||t){var a=D.Time.fromDayOfYear(i+r,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 n=D.Time.fromDayOfYear(t,e);this.last.day=n.day,this.last.month=n.month},ruleDayOfWeek:function(t,e){var n=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return n?[parseInt(n[1]||0,10),t=D.Recur.icalDayToNumericDay(n[2],e)]:[0,0]},next_generic:function(t,e,n,r,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[n]=u[this.by_indices[t]]}else o&&this["increment_"+n](this.rule.interval);return a&&s&&o&&this["increment_"+r](1),s},increment_monthday:function(t){for(var e=0;e<t;e++){var n=D.Time.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>n&&(this.last.day-=n,this.increment_month())}},increment_month:function(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{"MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;var t=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,n,r){this.last[e]+=t;var i=D.helpers.trunc(this.last[e]/n);this.last[e]%=n,0!=i&&this["increment_"+r](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 n={},r=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];a in this.rule.parts&&(n[a]=this.rule.parts[a])}if("BYMONTH"in n&&"BYWEEKNO"in n){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 n.BYMONTH:delete n.BYWEEKNO}var h=Object.keys(n).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 n){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 n){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 n&&"BYMONTH"in n){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 n||2==h&&"BYWEEKNO"in n&&"BYMONTHDAY"in n))if(1==h&&"BYDAY"in n)this.days=this.days.concat(this.expand_by_day(t));else if(2==h&&"BYDAY"in n&&"BYMONTH"in n){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],P=L[1],U=(P+7-b)%7+1,Y=A-(_+7-P)%7;if(0==M)for(x=U;x<=A;x+=7)this.days.push(E+x);else M>0?(I=U+7*(M-1))<=A&&this.days.push(E+I):(I=Y+7*(M+1))>0&&this.days.push(E+I)}}this.days.sort((function(t,e){return t-e}))}else if(2==h&&"BYDAY"in n&&"BYMONTHDAY"in n){var k=this.expand_by_day(t);for(var j in k)if(k.hasOwnProperty(j)){x=k[j];var R=D.Time.fromDayOfYear(x,t);this.by_data.BYMONTHDAY.indexOf(R.day)>=0&&this.days.push(x)}}else if(3==h&&"BYDAY"in n&&"BYMONTHDAY"in n&&"BYMONTH"in n)for(var j in k=this.expand_by_day(t))k.hasOwnProperty(j)&&(x=k[j],R=D.Time.fromDayOfYear(x,t),this.by_data.BYMONTH.indexOf(R.month)>=0&&this.by_data.BYMONTHDAY.indexOf(R.day)>=0&&this.days.push(x));else if(2==h&&"BYDAY"in n&&"BYWEEKNO"in n){for(var j in k=this.expand_by_day(t))if(k.hasOwnProperty(j)){x=k[j];var B=(R=D.Time.fromDayOfYear(x,t)).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(B)&&this.days.push(x)}}else 3==h&&"BYDAY"in n&&"BYWEEKNO"in n&&"BYMONTHDAY"in n||(this.days=1==h&&"BYYEARDAY"in n?this.days.concat(this.by_data.BYYEARDAY):[]);return 0},expand_by_day:function(t){var e=[],n=this.last.clone();n.year=t,n.month=1,n.day=1,n.isDate=!0;var r=n.dayOfWeek();n.month=12,n.day=31,n.isDate=!0;var i=n.dayOfWeek(),a=n.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-r)%7+1;f<=a;f+=7)e.push(f);else if(c>0){var d;d=l>=r?l-r+1:l-r+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 n=this.by_data.BYDAY[e],r=this.ruleDayOfWeek(n),i=r[0],a=r[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 n=0;n<e;n++)if(this.ruleDayOfWeek(t[n],this.rule.wkst)[1]>this.ruleDayOfWeek(t[e],this.rule.wkst)[1]){var r=t[e];t[e]=t[n],t[n]=r}},check_contract_restriction:function(e,n){var r=t._indexMap[e],i=t._expandMap[this.rule.freq][r],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]==n){a=!0;break}}else a=!0;return a},check_contracting_rules:function(){var t=this.last.dayOfWeek(),e=this.last.weekNumber(this.rule.wkst),n=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",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",n)},setup_defaults:function(e,n,r){var i=t._indexMap[e];return t._expandMap[this.rule.freq][i]!=t.CONTRACT&&(e in this.by_data||(this.by_data[e]=[r]),this.rule.freq!=n)?this.by_data[e][0]:r},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 n(t){this.ruleDates=[],this.exDates=[],this.fromData(t)}return n.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(e){var n=D.helpers.formatClassType(e.dtstart,D.Time);if(!n)throw new Error(".dtstart (ICAL.Time) must be given");if(this.dtstart=n,e.component)this._init(e.component);else{if(this.last=t(e.last)||n.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,n,r=0;;){if(r++>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||((n=this.exDate.compare(this.last))<0&&this._nextExDay(),0!==n))return this.last;this._nextExDay()}},toJSON:function(){function t(t){return t.toJSON()}var e=Object.create(null);return e.ruleIterators=this.ruleIterators.map(t),this.ruleDates&&(e.ruleDates=this.ruleDates.map(t)),this.exDates&&(e.exDates=this.exDates.map(t)),e.ruleDateInc=this.ruleDateInc,e.exDateInc=this.exDateInc,e.last=this.last.toJSON(),e.dtstart=this.dtstart.toJSON(),e.complete=this.complete,e},_extractDates:function(t,n){function r(t){i=D.helpers.binsearchInsert(a,t,e),a.splice(i,0,t)}for(var i,a=[],o=t.getAllProperties(n),s=o.length,u=0;u<s;u++)o[u].getValues().forEach(r);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 n,r=t.getAllProperties("rrule"),i=0,a=r.length;i<a;i++)n=r[i].getFirstValue().iterator(this.dtstart),this.ruleIterators.push(n),n.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,n,r,i=t.length,a=0;a<i;a++)n=(e=t[a]).last,e.completed?(i--,0!==a&&a--,t.splice(a,1)):(!r||r.last.compare(n)>0)&&(r=e);return r}},n}(),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 n=t.recurrenceId.toString();if(this.exceptions[n]=t,t.modifiesFuture()){var r=[t.recurrenceId.toUnixTime(),n],i=D.helpers.binsearchInsert(this.rangeExceptions,r,e);this.rangeExceptions.splice(i,0,r)}},modifiesFuture:function(){return!!this.component.hasProperty("recurrence-id")&&this.component.getFirstProperty("recurrence-id").getParameter("range")===this.THISANDFUTURE},findRangeException:function(t){if(!this.rangeExceptions.length)return null;var n=t.toUnixTime(),r=D.helpers.binsearchInsert(this.rangeExceptions,[n],e);if((r-=1)<0)return null;var i=this.rangeExceptions[r];return n<i[0]?null:i[1]},getOccurrenceDetails:function(t){var e,n=t.toString(),r=t.convertToZone(D.Timezone.utcTimezone).toString(),i={recurrenceId:t};if(n in this.exceptions)e=i.item=this.exceptions[n],i.startDate=e.startDate,i.endDate=e.endDate,i.item=e;else if(r in this.exceptions)e=this.exceptions[r],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,n=t.length,r=Object.create(null);e<n;e++)r[t[e].getFirstValue().freq]=!0;return r},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 n=this.component.getFirstProperty(t);n||(n=new D.Property(t),this.component.addProperty(n)),e.zone===D.Timezone.localTimezone||e.zone===D.Timezone.utcTimezone?n.removeParameter("tzid"):n.setParameter("tzid",e.zone.tzid),n.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,n=t.getAllSubcomponents(),r=0,i=n.length;r<i;r++)switch(e=n[r],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 P(t,e,n){if(M.randomUUID&&!e&&!t)return M.randomUUID();const r=(t=t||{}).random||(t.rng||N)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=r[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]]}(r)}var U={},Y=function(t){return t&&t.Math==Math&&t},k=Y("object"==typeof globalThis&&globalThis)||Y("object"==typeof window&&window)||Y("object"==typeof self&&self)||Y("object"==typeof g&&g)||function(){return this}()||Function("return this")(),j={},R=function(t){try{return!!t()}catch{return!0}},B=!R((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),z=!R((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),W=z,Z=Function.prototype.call,F=W?Z.bind(Z):function(){return Z.apply(Z,arguments)},H={},V={}.propertyIsEnumerable,G=Object.getOwnPropertyDescriptor,$=G&&!V.call({1:2},1);H.f=$?function(t){var e=G(this,t);return!!e&&e.enumerable}:V;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),nt=function(t){return J?et(t):function(){return tt.apply(t,arguments)}},rt=nt,it=rt({}.toString),at=rt("".slice),ot=function(t){return at(it(t),8,-1)},st=ot,ut=nt,ct=function(t){if("Function"===st(t))return ut(t)},lt=R,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=k,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=k,Pt=Nt("navigator","userAgent")||"",Ut=Mt.process,Yt=Mt.Deno,kt=Ut&&Ut.versions||Yt&&Yt.version,jt=kt&&kt.v8;jt&&(q=(K=jt.split("."))[0]>0&&K[0]<4?1:+(K[0]+K[1])),!q&&Pt&&(!(K=Pt.match(/Edge\/(\d+)/))||K[1]>=74)&&(K=Pt.match(/Chrome\/(\d+)/))&&(q=+K[1]);var Rt=q,Bt=R,zt=!!Object.getOwnPropertySymbols&&!Bt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Rt&&Rt<41})),Wt=zt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Zt=Nt,Ft=Dt,Ht=Lt,Vt=Object,Gt=Wt?function(t){return"symbol"==typeof t}:function(t){var e=Zt("Symbol");return Ft(e)&&Ht(e.prototype,Vt(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,ne=F,re=Dt,ie=wt,ae=TypeError,oe=function(t,e){var n,r;if("string"===e&&re(n=t.toString)&&!ie(r=ne(n,t))||re(n=t.valueOf)&&!ie(r=ne(n,t))||"string"!==e&&re(n=t.toString)&&!ie(r=ne(n,t)))return r;throw ae("Can't convert object to primitive value")},se={exports:{}},ue=k,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=k[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=k,we=Se,Oe=Ce,Ie=zt,Ne=Wt,Le=me("wks"),Me=xe.Symbol,Pe=Me&&Me.for,Ue=Ne?Me:Me&&Me.withoutSetter||Oe,Ye=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&&Pe?Pe(e):Ue(e)}return Le[t]},ke=F,je=wt,Re=Gt,Be=oe,ze=TypeError,We=Ye("toPrimitive"),Ze=function(t,e){if(!je(t)||Re(t))return t;var n,r=function(t,e){var n=t[e];return ee(n)?void 0:te(n)}(t,We);if(r){if(void 0===e&&(e="default"),n=ke(r,t,e),!je(n)||Re(n))return n;throw ze("Can't convert object to primitive value")}return void 0===e&&(e="number"),Be(t,e)},Fe=Ze,He=Gt,Ve=function(t){var e=Fe(t,"string");return He(e)?e:e+""},Ge=wt,$e=k.document,Ke=Ge($e)&&Ge($e.createElement),qe=function(t){return Ke?$e.createElement(t):{}},Xe=qe,Je=!B&&!R((function(){return 7!=Object.defineProperty(Xe("div"),"a",{get:function(){return 7}}).a})),Qe=B,tn=F,en=H,nn=X,rn=St,an=Ve,on=Se,sn=Je,un=Object.getOwnPropertyDescriptor;j.f=Qe?un:function(t,e){if(t=rn(t),e=an(e),sn)try{return un(t,e)}catch{}if(on(t,e))return nn(!tn(en.f,t,e),t[e])};var cn={},ln=B&&R((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),fn=wt,dn=String,hn=TypeError,pn=function(t){if(fn(t))return t;throw hn(dn(t)+" is not an object")},mn=B,yn=Je,vn=ln,gn=pn,Tn=Ve,An=TypeError,Sn=Object.defineProperty,bn=Object.getOwnPropertyDescriptor,En="enumerable",_n="configurable",Dn="writable";cn.f=mn?vn?function(t,e,n){if(gn(t),e=Tn(e),gn(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Dn in n&&!n[Dn]){var r=bn(t,e);r&&r[Dn]&&(t[e]=n.value,n={configurable:_n in n?n[_n]:r[_n],enumerable:En in n?n[En]:r[En],writable:!1})}return Sn(t,e,n)}:Sn:function(t,e,n){if(gn(t),e=Tn(e),gn(n),yn)try{return Sn(t,e,n)}catch{}if("get"in n||"set"in n)throw An("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Cn=cn,xn=X,wn=B?function(t,e,n){return Cn.f(t,e,xn(1,n))}:function(t,e,n){return t[e]=n,t},On={exports:{}},In=B,Nn=Se,Ln=Function.prototype,Mn=In&&Object.getOwnPropertyDescriptor,Pn=Nn(Ln,"name"),Un={EXISTS:Pn,PROPER:Pn&&"something"===function(){}.name,CONFIGURABLE:Pn&&(!In||In&&Mn(Ln,"name").configurable)},Yn=Dt,kn=he,jn=ct(Function.toString);Yn(kn.inspectSource)||(kn.inspectSource=function(t){return jn(t)});var Rn,Bn,zn,Wn=kn.inspectSource,Zn=Dt,Fn=k.WeakMap,Hn=Zn(Fn)&&/native code/.test(String(Fn)),Vn=Ce,Gn=me("keys"),$n=function(t){return Gn[t]||(Gn[t]=Vn(t))},Kn={},qn=Hn,Xn=k,Jn=wt,Qn=wn,tr=Se,er=he,nr=$n,rr=Kn,ir="Object already initialized",ar=Xn.TypeError,or=Xn.WeakMap;if(qn||er.state){var sr=er.state||(er.state=new or);sr.get=sr.get,sr.has=sr.has,sr.set=sr.set,Rn=function(t,e){if(sr.has(t))throw ar(ir);return e.facade=t,sr.set(t,e),e},Bn=function(t){return sr.get(t)||{}},zn=function(t){return sr.has(t)}}else{var ur=nr("state");rr[ur]=!0,Rn=function(t,e){if(tr(t,ur))throw ar(ir);return e.facade=t,Qn(t,ur,e),e},Bn=function(t){return tr(t,ur)?t[ur]:{}},zn=function(t){return tr(t,ur)}}var cr={set:Rn,get:Bn,has:zn,enforce:function(t){return zn(t)?Bn(t):Rn(t,{})},getterFor:function(t){return function(e){var n;if(!Jn(e)||(n=Bn(e)).type!==t)throw ar("Incompatible receiver, "+t+" required");return n}}},lr=R,fr=Dt,dr=Se,hr=B,pr=Un.CONFIGURABLE,mr=Wn,yr=cr.enforce,vr=cr.get,gr=Object.defineProperty,Tr=hr&&!lr((function(){return 8!==gr((function(){}),"length",{value:8}).length})),Ar=String(String).split("String"),Sr=On.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!dr(t,"name")||pr&&t.name!==e)&&(hr?gr(t,"name",{value:e,configurable:!0}):t.name=e),Tr&&n&&dr(n,"arity")&&t.length!==n.arity&&gr(t,"length",{value:n.arity});try{n&&dr(n,"constructor")&&n.constructor?hr&&gr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var r=yr(t);return dr(r,"source")||(r.source=Ar.join("string"==typeof e?e:"")),t};Function.prototype.toString=Sr((function(){return fr(this)&&vr(this).source||mr(this)}),"toString");var br=On.exports,Er=Dt,_r=cn,Dr=br,Cr=le,xr=function(t,e,n,r){r||(r={});var i=r.enumerable,a=void 0!==r.name?r.name:e;if(Er(n)&&Dr(n,a,r),r.global)i?t[e]=n:Cr(e,n);else{try{r.unsafe?t[e]&&(i=!0):delete t[e]}catch{}i?t[e]=n:_r.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},wr={},Or=Math.ceil,Ir=Math.floor,Nr=Math.trunc||function(t){var e=+t;return(e>0?Ir:Or)(e)},Lr=Nr,Mr=function(t){var e=+t;return e!=e||0===e?0:Lr(e)},Pr=Mr,Ur=Math.max,Yr=Math.min,kr=function(t,e){var n=Pr(t);return n<0?Ur(n+e,0):Yr(n,e)},jr=Mr,Rr=Math.min,Br=function(t){return function(t){return t>0?Rr(jr(t),9007199254740991):0}(t.length)},zr=St,Wr=kr,Zr=Br,Fr=function(t){return function(e,n,r){var i,a=zr(e),o=Zr(a),s=Wr(r,o);if(t&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}},Hr={includes:Fr(!0),indexOf:Fr(!1)},Vr=Se,Gr=St,$r=Hr.indexOf,Kr=Kn,qr=ct([].push),Xr=function(t,e){var n,r=Gr(t),i=0,a=[];for(n in r)!Vr(Kr,n)&&Vr(r,n)&&qr(a,n);for(;e.length>i;)Vr(r,n=e[i++])&&(~$r(a,n)||qr(a,n));return a},Jr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qr=Xr,ti=Jr.concat("length","prototype");wr.f=Object.getOwnPropertyNames||function(t){return Qr(t,ti)};var ei={};ei.f=Object.getOwnPropertySymbols;var ni=Nt,ri=wr,ii=ei,ai=pn,oi=ct([].concat),si=ni("Reflect","ownKeys")||function(t){var e=ri.f(ai(t)),n=ii.f;return n?oi(e,n(t)):e},ui=Se,ci=si,li=j,fi=cn,di=function(t,e,n){for(var r=ci(e),i=fi.f,a=li.f,o=0;o<r.length;o++){var s=r[o];!ui(t,s)&&(!n||!ui(n,s))&&i(t,s,a(e,s))}},hi=R,pi=Dt,mi=/#|\.prototype\./,yi=function(t,e){var n=gi[vi(t)];return n==Ai||n!=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=k,Ei=j.f,_i=wn,Di=xr,Ci=le,xi=di,wi=Si,Oi=function(t,e){var n,r,i,a,o,s=t.target,u=t.global,c=t.stat;if(n=u?bi:c?bi[s]||Ci(s,{}):(bi[s]||{}).prototype)for(r in e){if(a=e[r],i=t.dontCallGetSet?(o=Ei(n,r))&&o.value:n[r],!wi(u?r:s+(c?".":"#")+r,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;xi(a,i)}(t.sham||i&&i.sham)&&_i(a,"sham",!0),Di(n,r,a,t)}},Ii=Oi,Ni=B,Li=cn.f;Ii({target:"Object",stat:!0,forced:Object.defineProperty!==Li,sham:!Ni},{defineProperty:Li});var Mi={},Pi=k,Ui={},Yi=Ye;Ui.f=Yi;var ki=Pi,ji=Se,Ri=Ui,Bi=cn.f,zi=function(t){var e=ki.Symbol||(ki.Symbol={});ji(e,t)||Bi(e,t,{value:Ri.f(t)})};zi("iterator");var Wi={},Zi=Xr,Fi=Jr,Hi=Object.keys||function(t){return Zi(t,Fi)},Vi=B,Gi=ln,$i=cn,Ki=pn,qi=St,Xi=Hi;Wi.f=Vi&&!Gi?Object.defineProperties:function(t,e){Ki(t);for(var n,r=qi(e),i=Xi(e),a=i.length,o=0;a>o;)$i.f(t,n=i[o++],r[n]);return t};var Ji,Qi=Nt("document","documentElement"),ta=pn,ea=Wi,na=Jr,ra=Kn,ia=Qi,aa=qe,oa="prototype",sa="script",ua=$n("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"),n="java"+sa+":";return e.style.display="none",ia.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(la("document.F=Object")),t.close(),t.F}():fa(Ji);for(var t=na.length;t--;)delete da[oa][na[t]];return da()};ra[ua]=!0;var ha=Object.create||function(t,e){var n;return null!==t?(ca[oa]=ta(t),n=new ca,ca[oa]=null,n[ua]=t):n=da(),void 0===e?n:ea.f(n,e)},pa=Ye,ma=ha,ya=cn.f,va=pa("unscopables"),ga=Array.prototype;null==ga[va]&&ya(ga,va,{configurable:!0,value:ma(null)});var Ta,Aa,Sa,ba={},Ea=!R((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),_a=Se,Da=Dt,Ca=ge,xa=Ea,wa=$n("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 n=e.constructor;return Da(n)&&e instanceof n?n.prototype:e instanceof Oa?Ia:null},La=R,Ma=Dt,Pa=wt,Ua=Na,Ya=xr,ka=Ye("iterator"),ja=!1;[].keys&&("next"in(Sa=[].keys())?(Aa=Ua(Ua(Sa)))!==Object.prototype&&(Ta=Aa):ja=!0),(!Pa(Ta)||La((function(){var t={};return Ta[ka].call(t)!==t})))&&(Ta={}),Ma(Ta[ka])||Ya(Ta,ka,(function(){return this}));var Ra={IteratorPrototype:Ta,BUGGY_SAFARI_ITERATORS:ja},Ba=cn.f,za=Se,Wa=Ye("toStringTag"),Za=function(t,e,n){t&&!n&&(t=t.prototype),t&&!za(t,Wa)&&Ba(t,Wa,{configurable:!0,value:e})},Fa=Ra.IteratorPrototype,Ha=ha,Va=X,Ga=Za,$a=ba,Ka=function(){return this},qa=Dt,Xa=String,Ja=TypeError,Qa=ct,to=pn,eo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Qa(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(n,r){return to(n),function(t){if("object"==typeof t||qa(t))return t;throw Ja("Can't set "+Xa(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),no=Oi,ro=F,io=Dt,ao=Na,oo=eo,so=Za,uo=wn,co=xr,lo=ba,fo=Un.PROPER,ho=Un.CONFIGURABLE,po=Ra.IteratorPrototype,mo=Ra.BUGGY_SAFARI_ITERATORS,yo=Ye("iterator"),vo="keys",go="values",To="entries",Ao=function(){return this},So=function(t,e,n,r,i,a,o){!function(t,e,n,r){var i=e+" Iterator";t.prototype=Ha(Fa,{next:Va(+!r,n)}),Ga(t,i,!1),$a[i]=Ka}(n,e,r);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 n(this,t)}}return function(){return new n(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 ro(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 no({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=cr,xo=cn.f,wo=So,Oo=bo,Io=B,No="Array Iterator",Lo=Co.set,Mo=Co.getterFor(No),Po=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,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,Oo(void 0,!0)):Oo("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),Uo=Do.Arguments=Do.Array;if(_o("keys"),_o("values"),_o("entries"),Io&&"values"!==Uo.name)try{xo(Uo,"name",{value:"values"})}catch{}var Yo={};Yo[Ye("toStringTag")]="z";var ko="[object z]"===String(Yo),jo=ko,Ro=Dt,Bo=ot,zo=Ye("toStringTag"),Wo=Object,Zo="Arguments"==Bo(function(){return arguments}()),Fo=jo?Bo:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch{}}(e=Wo(t),zo))?n:Zo?Bo(e):"Object"==(r=Bo(e))&&Ro(e.callee)?"Arguments":r},Ho=Fo,Vo=String,Go=function(t){if("Symbol"===Ho(t))throw TypeError("Cannot convert a Symbol value to a string");return Vo(t)},$o=ct,Ko=Mr,qo=Go,Xo=gt,Jo=$o("".charAt),Qo=$o("".charCodeAt),ts=$o("".slice),es=function(t){return function(e,n){var r,i,a=qo(Xo(e)),o=Ko(n),s=a.length;return o<0||o>=s?t?"":void 0:(r=Qo(a,o))<55296||r>56319||o+1===s||(i=Qo(a,o+1))<56320||i>57343?t?Jo(a,o):r:t?ts(a,o,o+2):i-56320+(r-55296<<10)+65536}},ns=(es(!1),es(!0)),rs=Go,is=cr,as=So,os=bo,ss="String Iterator",us=is.set,cs=is.getterFor(ss);as(String,"String",(function(t){us(this,{type:ss,string:rs(t),index:0})}),(function(){var t,e=cs(this),n=e.string,r=e.index;return r>=n.length?os(void 0,!0):(t=ns(n,r),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=k,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=Po,vs=wn,gs=Ye,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 n in ys)if(t[n]!==ys[n])try{vs(t,n,ys[n])}catch{t[n]=ys[n]}}};for(var Es in ps)bs(hs[Es]&&hs[Es].prototype,Es);bs(ms,"DOMTokenList");var _s=B,Ds=ct,Cs=F,xs=R,ws=Hi,Os=ei,Is=H,Ns=ge,Ls=pt,Ms=Object.assign,Ps=Object.defineProperty,Us=Ds([].concat),Ys=!Ms||xs((function(){if(_s&&1!==Ms({b:1},Ms(Ps({},"a",{enumerable:!0,get:function(){Ps(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Ms({},t)[n]||ws(Ms({},e)).join("")!=r}))?function(t,e){for(var n=Ns(t),r=arguments.length,i=1,a=Os.f,o=Is.f;r>i;)for(var s,u=Ls(arguments[i++]),c=a?Us(ws(u),a(u)):ws(u),l=c.length,f=0;l>f;)s=c[f++],(!_s||Cs(o,u,s))&&(n[s]=u[s]);return n}:Ms,ks=Ys;Oi({target:"Object",stat:!0,arity:2,forced:Object.assign!==ks},{assign:ks});var js=F,Rs=Nt,Bs=Ye,zs=xr,Ws=function(){var t=Rs("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,r=Bs("toPrimitive");e&&!e[r]&&zs(e,r,(function(t){return js(n,this)}),{arity:1})},Zs=Ws;zi("toPrimitive"),Zs();var Fs=pn,Hs=oe,Vs=TypeError,Gs=Se,$s=xr,Ks=Ye("toPrimitive"),qs=Date.prototype;Gs(qs,Ks)||$s(qs,Ks,(function(t){if(Fs(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw Vs("Incorrect hint");return Hs(this,t)}));var Xs={},Js=Ve,Qs=cn,tu=X,eu=kr,nu=Br,ru=function(t,e,n){var r=Js(e);r in t?Qs.f(t,r,tu(0,n)):t[r]=n},iu=Array,au=Math.max,ou=ot,su=St,uu=wr.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,n){for(var r=nu(t),i=eu(e,r),a=eu(void 0===n?r:n,r),o=iu(au(a-i,0)),s=0;i<a;i++,s++)ru(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=R,vu=Dt,gu=Fo,Tu=Wn,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=Ye("species"),Mu=Array,Pu=pt,Uu=ge,Yu=Br,ku=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)},ju=ct([].push),Ru=function(t){var e=1==t,n=2==t,r=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=Uu(u),m=Pu(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=Yu(m),g=0,T=f||ku,A=e?T(u,v):n||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:ju(A,d)}else switch(t){case 4:return!1;case 7:ju(A,d)}return a?-1:r||i?i:A}},Bu={forEach:Ru(0),map:Ru(1),filter:Ru(2),some:Ru(3),every:Ru(4),find:Ru(5),findIndex:Ru(6),filterReject:Ru(7)},zu=Oi,Wu=k,Zu=F,Fu=ct,Hu=B,Vu=zt,Gu=R,$u=Se,Ku=Lt,qu=pn,Xu=St,Ju=Ve,Qu=Go,tc=X,ec=ha,nc=Hi,rc=wr,ic=Xs,ac=ei,oc=j,sc=cn,uc=Wi,cc=H,lc=xr,fc=me,dc=Kn,hc=Ce,pc=Ye,mc=Ui,yc=zi,vc=Ws,gc=Za,Tc=cr,Ac=Bu.forEach,Sc=$n("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,Pc=cc.f,Uc=Fu([].push),Yc=fc("symbols"),kc=fc("op-symbols"),jc=fc("wks"),Rc=!Ic||!Ic[Ec]||!Ic[Ec].findChild,Bc=Hu&&Gu((function(){return 7!=ec(Lc({},"a",{get:function(){return Lc(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Nc(Cc,e);r&&delete Cc[e],Lc(t,e,n),r&&t!==Cc&&Lc(Cc,e,r)}:Lc,zc=function(t,e){var n=Yc[t]=ec(wc);return _c(n,{type:bc,tag:t,description:e}),Hu||(n.description=e),n},Wc=function(t,e,n){t===Cc&&Wc(kc,e,n),qu(t);var r=Ju(e);return qu(n),$u(Yc,r)?(n.enumerable?($u(t,Sc)&&t[Sc][r]&&(t[Sc][r]=!1),n=ec(n,{enumerable:tc(0,!1)})):($u(t,Sc)||Lc(t,Sc,tc(1,{})),t[Sc][r]=!0),Bc(t,r,n)):Lc(t,r,n)},Zc=function(t,e){qu(t);var n=Xu(e),r=nc(n).concat(Gc(n));return Ac(r,(function(e){(!Hu||Zu(Fc,n,e))&&Wc(t,e,n[e])})),t},Fc=function(t){var e=Ju(t),n=Zu(Pc,this,e);return!(this===Cc&&$u(Yc,e)&&!$u(kc,e))&&(!(n||!$u(this,e)||!$u(Yc,e)||$u(this,Sc)&&this[Sc][e])||n)},Hc=function(t,e){var n=Xu(t),r=Ju(e);if(n!==Cc||!$u(Yc,r)||$u(kc,r)){var i=Nc(n,r);return i&&$u(Yc,r)&&!($u(n,Sc)&&n[Sc][r])&&(i.enumerable=!0),i}},Vc=function(t){var e=Mc(Xu(t)),n=[];return Ac(e,(function(t){!$u(Yc,t)&&!$u(dc,t)&&Uc(n,t)})),n},Gc=function(t){var e=t===Cc,n=Mc(e?kc:Xu(t)),r=[];return Ac(n,(function(t){$u(Yc,t)&&(!e||$u(Cc,t))&&Uc(r,Yc[t])})),r};Vu||(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),n=function(t){this===Cc&&Zu(n,kc,t),$u(this,Sc)&&$u(this[Sc],e)&&(this[Sc][e]=!1),Bc(this,e,tc(1,t))};return Hu&&Rc&&Bc(Cc,e,{configurable:!0,set:n}),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=Fc,sc.f=Wc,uc.f=Zc,oc.f=Hc,rc.f=ic.f=Vc,ac.f=Gc,mc.f=function(t){return zc(pc(t),t)},Hu&&(Lc(wc,"description",{configurable:!0,get:function(){return Dc(this).description}}),lc(Cc,"propertyIsEnumerable",Fc,{unsafe:!0}))),zu({global:!0,constructor:!0,wrap:!0,forced:!Vu,sham:!Vu},{Symbol:xc}),Ac(nc(jc),(function(t){yc(t)})),zu({target:bc,stat:!0,forced:!Vu},{useSetter:function(){Rc=!0},useSimple:function(){Rc=!1}}),zu({target:"Object",stat:!0,forced:!Vu,sham:!Hu},{create:function(t,e){return void 0===e?ec(t):Zc(ec(t),e)},defineProperty:Wc,defineProperties:Zc,getOwnPropertyDescriptor:Hc}),zu({target:"Object",stat:!0,forced:!Vu},{getOwnPropertyNames:Vc}),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"),nl=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 n=qc("Symbol")(e);return el[e]=n,nl[n]=e,n}});var rl=Oi,il=Se,al=Gt,ol=Kt,sl=$c,ul=me("symbol-to-string-registry");rl({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=F,Tl=ct,Al=R,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,Pl=/^[\uD800-\uDBFF]$/,Ul=/^[\uDC00-\uDFFF]$/,Yl=!Cl||Al((function(){var t=yl("Symbol")();return"[null]"!=xl([t])||"{}"!=xl({a:t})||"{}"!=xl(Object(t))})),kl=Al((function(){return'"\\udf06\\ud834"'!==xl("\udf06\ud834")||'"\\udead"'!==xl("\udead")})),jl=function(t,e){var n=Dl(arguments),r=e;if((El(e)||void 0!==t)&&!_l(t))return Sl(e)||(e=function(t,e){if(bl(r)&&(e=gl(r,this,t,e)),!_l(e))return e}),n[1]=e,vl(xl,null,n)},Rl=function(t,e,n){var r=Ol(n,e-1),i=Ol(n,e+1);return wl(Pl,t)&&!wl(Ul,i)||wl(Ul,t)&&!wl(Pl,r)?"\\u"+Ll(Il(t,0),16):t};xl&&ml({target:"JSON",stat:!0,arity:3,forced:Yl||kl},{stringify:function(t,e,n){var r=Dl(arguments),i=vl(Yl?jl:xl,null,r);return kl&&"string"==typeof i?Nl(i,Ml,Rl):i}});var Bl=ei,zl=ge;Oi({target:"Object",stat:!0,forced:!zt||R((function(){Bl.f(1)}))},{getOwnPropertySymbols:function(t){var e=Bl.f;return e?e(zl(t)):[]}});var Wl=Oi,Zl=B,Fl=k,Hl=ct,Vl=Se,Gl=Dt,$l=Lt,Kl=Go,ql=cn.f,Xl=di,Jl=Fl.Symbol,Ql=Jl&&Jl.prototype;if(Zl&&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 nf="Symbol(test)"==String(Jl("test")),rf=Hl(Ql.valueOf),af=Hl(Ql.toString),of=/^Symbol\((.*)\)[^)]+$/,sf=Hl("".replace),uf=Hl("".slice);ql(Ql,"description",{configurable:!0,get:function(){var t=rf(this);if(Vl(tf,t))return"";var e=af(t),n=nf?uf(e,7,-1):sf(e,of,"$1");return""===n?void 0:n}}),Wl({global:!0,constructor:!0,forced:!0},{Symbol:ef})}var cf=Fo,lf=ko?{}.toString:function(){return"[object "+cf(this)+"]"};ko||xr(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 n=yf(mf(e));return 1&t&&(n=vf(n,Tf,"")),2&t&&(n=vf(n,Af,"")),n}},bf={start:Sf(1),end:Sf(2),trim:Sf(3)},Ef=B,_f=k,Df=ct,Cf=Si,xf=xr,wf=Se,Of=Lt,If=Gt,Nf=Ze,Lf=R,Mf=wr.f,Pf=j.f,Uf=cn.f,Yf=pf,kf=bf.trim,jf="Number",Rf=_f[jf],Bf=Rf.prototype,zf=_f.TypeError,Wf=Df("".slice),Zf=Df("".charCodeAt);if(Cf(jf,!Rf(" 0o1")||!Rf("0b1")||Rf("+0x1"))){for(var Ff,Hf=function(t){var e=arguments.length<1?0:Rf(function(t){var e=Nf(t,"number");return"bigint"==typeof e?e:function(t){var e,n,r,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=kf(c),43===(e=Zf(c,0))||45===e){if(88===(n=Zf(c,2))||120===n)return NaN}else if(48===e){switch(Zf(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(o=(a=Wf(c,2)).length,s=0;s<o;s++)if((u=Zf(a,s))<48||u>i)return NaN;return parseInt(a,r)}return+c}(e)}(t)),n=this;return Of(Bf,n)&&Lf((function(){Yf(n)}))?function(t,e,n){var r,i;return hf&&ff(r=e.constructor)&&r!==n&&df(i=r.prototype)&&i!==n.prototype&&hf(t,i),t}(Object(e),n,Hf):e},Vf=Ef?Mf(Rf):"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;Vf.length>Gf;Gf++)wf(Rf,Ff=Vf[Gf])&&!wf(Hf,Ff)&&Uf(Hf,Ff,Pf(Rf,Ff));Hf.prototype=Bf,Bf.constructor=Hf,xf(_f,jf,Hf,{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 n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Qf(r.key),r)}}function Qf(t){var e=function(t,e){if("object"!==Xf(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==Xf(r))return r;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,n){(e=Qf(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}(this,"context",void 0),this.context=e||{}}return function(t,e,n){e&&Jf(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"formatMessage",value:function(t,e,n){var r="["+qf.LogLevel[e].toUpperCase()+"] ";return n&&n.app&&(r+=n.app+": "),"string"==typeof t?r+t:(r+="Unexpected ".concat(t.name),t.message&&(r+=' "'.concat(t.message,'"')),e===qf.LogLevel.Debug&&t.stack&&(r+="\n\nStack trace:\n".concat(t.stack)),r)}},{key:"log",value:function(t,e,n){var r,i;if(!("number"==typeof(null===(r=this.context)||void 0===r?void 0:r.level)&&t<(null===(i=this.context)||void 0===i?void 0:i.level)))switch("object"===Xf(e)&&void 0===(null==n?void 0:n.error)&&(n.error=e),t){case qf.LogLevel.Debug:s.debug(this.formatMessage(e,qf.LogLevel.Debug,n),n);break;case qf.LogLevel.Info:s.info(this.formatMessage(e,qf.LogLevel.Info,n),n);break;case qf.LogLevel.Warn:s.warn(this.formatMessage(e,qf.LogLevel.Warn,n),n);break;case qf.LogLevel.Error:s.error(this.formatMessage(e,qf.LogLevel.Error,n),n);break;case qf.LogLevel.Fatal:default:s.error(this.formatMessage(e,qf.LogLevel.Fatal,n),n)}}},{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={},nd={},rd={};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:n,MAX_SAFE_BUILD_LENGTH:r,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,r]],h=(t,e,n)=>{const r=(t=>{for(const[e,n]of d)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t})(e),i=l++;a(t,i,e),c[t]=i,u[i]=e,o[i]=new RegExp(e,n?"g":void 0),s[i]=new RegExp(r,n?"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,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\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 n=ld.test(t),r=ld.test(e);return n&&r&&(t=+t,e=+e),t===e?0:n&&!r?-1:r&&!n?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,n){if(n=gd(n),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.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,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=e.trim().match(n.loose?yd[vd.LOOSE]:yd[vd.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[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");r[4]?this.prerelease=r[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=r[5]?r[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 n=0;do{const t=this.prerelease[n],r=e.prerelease[n];if(hd("prerelease compare",n,t,r),void 0===t&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===t)return-1;if(t!==r)return Td(t,r)}while(++n)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let n=0;do{const t=this.build[n],r=e.build[n];if(hd("prerelease compare",n,t,r),void 0===t&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===t)return-1;if(t!==r)return Td(t,r)}while(++n)}inc(t,e,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,n),this.inc("pre",e,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,n),this.inc("pre",e,n);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(n)?1:0;if(!e&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[t];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(e===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let r=[e,t];!1===n&&(r=[e]),0===Td(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}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,n=!1)=>{if(t instanceof Sd)return t;try{return new Sd(t,e)}catch(t){if(!n)return null;throw t}};var Ed=(t,e)=>{const n=bd(t,e);return n?n.version:null};const _d=Ad;Object.defineProperty(rd,"__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);rd.ProxyBus=Od,rd.SimpleBus=Id,rd.emit=function(t,e){Nd.emit(t,e)},rd.subscribe=function(t,e){Nd.subscribe(t,e)},rd.unsubscribe=function(t,e){Nd.unsubscribe(t,e)},Object.defineProperty(nd,"__esModule",{value:!0});var Ld=rd,Md=document.getElementsByTagName("head")[0],Pd=Md?Md.getAttribute("data-requesttoken"):null,Ud=[];Ld.subscribe("csrf-token-update",(function(t){Pd=t.token,Ud.forEach((function(e){try{e(t.token)}catch(t){s.error("error updating CSRF token observer",t)}}))}));var Yd=function(t,e){return t?t.getAttribute(e):null},kd=document.getElementsByTagName("head")[0],jd=Yd(kd,"data-user"),Rd=Yd(kd,"data-user-displayname"),Bd=!(typeof OC>"u")&&OC.isUserAdmin();nd.getCurrentUser=function(){return null===jd?null:{uid:jd,displayName:Rd,isAdmin:Bd}},nd.getRequestToken=function(){return Pd},nd.onRequestTokenUpdate=function(t){Ud.push(t)},Object.defineProperty(ed,"__esModule",{value:!0}),ed.LoggerBuilder=void 0;var zd=nd,Wd=$f;function Zd(t){return Zd="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},Zd(t)}function Fd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Vd(r.key),r)}}function Hd(t,e,n){return(e=Vd(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vd(t){var e=function(t,e){if("object"!==Zd(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==Zd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Zd(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),Hd(this,"context",void 0),Hd(this,"factory",void 0),this.context={},this.factory=e}return function(t,e,n){e&&Fd(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 n,r;"complete"===document.readyState||"interactive"===document.readyState?(t.context.level=null!==(n=null===(r=window._oc_config)||void 0===r?void 0:r.loglevel)&&void 0!==n?n: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 r.LogLevel}}),t.getLogger=function(){return i().build()},t.getLoggerBuilder=i;var e=Mi,n=ed,r=$f;function i(){return new n.LoggerBuilder(e.buildConsoleLogger)}}(U);const $d=U.getLoggerBuilder().detectUser().setApp("@nextcloud/calendar-availability-vue").build();function Kd(t){const e=w.parse(t),n=new w.Component(e),r=n.getFirstSubcomponent("vavailability");let i;const a=n.getFirstSubcomponent("vtimezone");a&&(i=a.getFirstProperty("tzid").getFirstValue());const o=r.getAllSubcomponents("available"),s={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]};return o.forEach((t=>{const e=t.getFirstProperty("dtstart").getFirstValue().toJSDate(),n=t.getFirstProperty("dtend").getFirstValue().toJSDate(),r=t.getFirstProperty("rrule");"WEEKLY"===r.getFirstValue().freq?r.getFirstValue().getComponent("BYDAY").forEach((t=>{s[t].push({start:e.getTime()/1e3,end:n.getTime()/1e3})})):$d.warn("rrule not supported",{rrule:r.toICALString()})})),{slots:s,timezoneId:i}}function qd(t,e){const n=new c.Component("vcalendar");n.addPropertyWithValue("prodid","Nextcloud DAV app");const r=S(e);if(r){const t=new c.Component(c.parse(r));n.addSubcomponent(t)}else{const t=new c.Component("vtimezone");t.addPropertyWithValue("tzid",e),n.addSubcomponent(t)}const i=new c.Component("vavailability"),a=t.reduce(((t,e)=>{var n;const r=new Date(1e3*e.start),i=new Date(1e3*e.end),a=[r.getHours(),r.getMinutes(),i.getHours(),i.getMinutes()].join("-");return{...t,[a]:[...null!=(n=t[a])?n:[],e]}}),{});return Object.keys(a).map((t=>{const n=a[t],r=n[0].start,i=n[0].end,o=n.map((t=>t.day)).filter(((t,e,n)=>n.indexOf(t)===e)),s=new c.Component("available");return s.addPropertyWithValue("dtstart",c.Time.fromJSDate(new Date(1e3*r),!1)).setParameter("tzid",e),s.addPropertyWithValue("dtend",c.Time.fromJSDate(new Date(1e3*i),!1)).setParameter("tzid",e),s.addPropertyWithValue("uid",P()),s.addPropertyWithValue("rrule",{freq:"WEEKLY",byday:o}),s})).map(i.addSubcomponent.bind(i)),n.addSubcomponent(i),n.toString()}var Xd=r(43554),Jd=r(64024),Qd=r(14596),th=r(93664),eh=r(56580),nh=r.n(eh),rh=r(79753),ih=r(77958),ah=nh()((function(t){return th.Z.defaults.headers["X-Requested-With"]="XMLHttpRequest",Qd.lD().patch("request",th.Z),Qd.eI((0,rh.generateRemoteUrl)("dav/".concat(t,"/").concat((0,ih.ts)().uid)))})),oh=(0,r(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 n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ch(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?uh(Object(n),!0).forEach((function(e){lh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function lh(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==sh(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==sh(r))return r;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:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function dh(){dh=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return r(o,"_invoke",{value:S(t,n,s)}),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}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&&n.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(r,a,o,s){var u=l(t[r],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==sh(f)&&n.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;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function S(t,e,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return{value:void 0,done:!0}}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=b(o,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function b(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,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 r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],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,r(g,"constructor",{value:p,configurable:!0}),r(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,n,r,i,a){void 0===a&&(a=Promise);var o=new A(c(e,n,r,i),a);return t.isGeneratorFunction(n)?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),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,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)&&n.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 r(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function hh(t,e,n,r,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ph(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(t){hh(a,r,i,o,s,"next",t)}function s(t){hh(a,r,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,n,r,i,a;return dh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=ah("calendars"),t.next=3,n.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 r=t.sent,t.next=6,(0,Qd.sw)(r.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,n){var r,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})}))})),r=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 n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?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(r,n),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,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return r(o,"_invoke",{value:S(t,n,s)}),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}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&&n.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(r,a,o,s){var u=l(t[r],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==Th(f)&&n.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;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function S(t,e,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return{value:void 0,done:!0}}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=b(o,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function b(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,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 r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],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,r(g,"constructor",{value:p,configurable:!0}),r(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,n,r,i,a){void 0===a&&(a=Promise);var o=new A(c(e,n,r,i),a);return t.isGeneratorFunction(n)?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),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,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)&&n.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 r(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Sh(t,e,n,r,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function bh(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(t){Sh(a,r,i,o,s,"next",t)}function s(t){Sh(a,r,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,rh.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,rh.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=r(57274),wh=r(71998),Oh=r(67912),Ih=r(47414),Nh=r(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,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return r(o,"_invoke",{value:S(t,n,s)}),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}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&&n.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(r,a,o,s){var u=l(t[r],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==Lh(f)&&n.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;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function S(t,e,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return{value:void 0,done:!0}}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=b(o,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function b(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,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 r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],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,r(g,"constructor",{value:p,configurable:!0}),r(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,n,r,i,a){void 0===a&&(a=Promise);var o=new A(c(e,n,r,i),a);return t.isGeneratorFunction(n)?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),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,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)&&n.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 r(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Ph(t,e,n,r,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Uh(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(t){Ph(a,r,i,o,s,"next",t)}function s(t){Ph(a,r,i,o,s,"throw",t)}o(void 0)}))}}var Yh={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")}},mounted:function(){var e=this;return Uh(Mh().mark((function n(){var r,i,a;return Mh().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,mh();case 3:(r=n.sent)?(i=r.slots,a=r.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:[]}),n.next=11;break;case 7:n.prev=7,n.t0=n.catch(0),Nh.error("could not load existing availability",n.t0),(0,Jd.x2)(t("dav","Failed to load availability"));case 11:return n.prev=11,e.loading=!1,n.finish(11);case 14:case"end":return n.stop()}}),n,null,[[0,7,11,14]])})))()},methods:{save:function(){var e=this;return Uh(Mh().mark((function n(){return Mh().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,e.saving=!0,n.next=4,vh(e.slots,e.timezone);case 4:if(!e.automated){n.next=9;break}return n.next=7,Eh();case 7:n.next=11;break;case 9:return n.next=11,Dh();case 11:(0,Jd.s$)(t("dav","Saved availability")),n.next=18;break;case 14:n.prev=14,n.t0=n.catch(0),Nh.error("could not save availability",n.t0),(0,Jd.x2)(t("dav","Failed to save availability"));case 18:return n.prev=18,e.saving=!1,n.finish(18);case 21:case"end":return n.stop()}}),n,null,[[0,14,18,21]])})))()}}},kh=r(93379),jh=r.n(kh),Rh=r(7795),Bh=r.n(Rh),zh=r(90569),Wh=r.n(zh),Zh=r(3565),Fh=r.n(Zh),Hh=r(19216),Vh=r.n(Hh),Gh=r(44589),$h=r.n(Gh),Kh=r(24589),qh={};qh.styleTagTransform=$h(),qh.setAttributes=Fh(),qh.insert=Wh().bind(null,"head"),qh.domAPI=Bh(),qh.insertStyleElement=Vh(),jh()(Kh.Z,qh),Kh.Z&&Kh.Z.locals&&Kh.Z.locals;var Xh=(0,r(51900).Z)(Yh,(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("strong",[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",{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,"41cb7b00",null),Jh=Xh.exports;i.default.prototype.$t=a.Iu,new(i.default.extend(Jh))({}).$mount("#settings-personal-availability")},24589:function(t,e,n){"use strict";var r=n(87537),i=n.n(r),a=n(23645),o=n.n(a)()(i());o.push([t.id,".availability-day[data-v-41cb7b00]{padding:0 10px 0 10px;position:absolute}.availability-slots[data-v-41cb7b00]{display:flex;white-space:nowrap}.availability-slot[data-v-41cb7b00]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-41cb7b00]{display:flex;flex-direction:column}[data-v-41cb7b00] .mx-input-wrapper{width:85px}[data-v-41cb7b00] .mx-datepicker{width:97px}[data-v-41cb7b00] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-41cb7b00]{padding:32px 12px 12px 0}.grid-table[data-v-41cb7b00]{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-41cb7b00]{align-self:flex-end}.label-weekday[data-v-41cb7b00]{position:relative;display:inline-flex;padding-top:4px}.delete-slot[data-v-41cb7b00]{background-color:rgba(0,0,0,0);border:none;padding-bottom:12px;opacity:.5}.delete-slot[data-v-41cb7b00]:hover{opacity:1}.add-another[data-v-41cb7b00]{background-color:rgba(0,0,0,0);border:none;opacity:.5;display:inline-flex;padding:0;margin:0;margin-bottom:3px}.add-another[data-v-41cb7b00]:hover{opacity:1}.to-text[data-v-41cb7b00]{padding-right:12px}.time-zone-text[data-v-41cb7b00]{padding-left:22px}.empty-content[data-v-41cb7b00]{color:var(--color-text-lighter);margin-top:4px}","",{version:3,sources:["webpack://./apps/dav/src/views/Availability.vue"],names:[],mappings:"AACA,mCACC,qBAAA,CACA,iBAAA,CAED,qCACC,YAAA,CACA,kBAAA,CAED,oCACC,YAAA,CACA,kBAAA,CACA,kBAAA,CAED,0CACC,YAAA,CACA,qBAAA,CAED,oCACC,UAAA,CAED,iCACC,UAAA,CAED,+BACC,yCAAA,CACA,WAAA,CAED,4BACC,wBAAA,CAED,6BACC,YAAA,CACA,kBAAA,CACA,oBAAA,CACA,gBAAA,CACA,yDAAA,CAED,yBACC,mBAAA,CAED,gCACC,iBAAA,CACA,mBAAA,CACA,eAAA,CAED,8BACC,8BAAA,CACA,WAAA,CACA,mBAAA,CACA,UAAA,CACA,oCACC,SAAA,CAIF,8BACC,8BAAA,CACA,WAAA,CACA,UAAA,CACA,mBAAA,CACA,SAAA,CACA,QAAA,CACA,iBAAA,CAEA,oCACC,SAAA,CAGF,0BACC,kBAAA,CAED,iCACC,iBAAA,CAED,gCACC,+BAAA,CACA,cAAA",sourcesContent:["\n.availability-day {\n\tpadding: 0 10px 0 10px;\n\tposition: absolute;\n}\n.availability-slots {\n\tdisplay: flex;\n\twhite-space: nowrap;\n}\n.availability-slot {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n}\n.availability-slot-group {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n::v-deep .mx-input-wrapper {\n\twidth: 85px;\n}\n::v-deep .mx-datepicker {\n\twidth: 97px;\n}\n::v-deep .multiselect {\n\tborder: 1px solid var(--color-border-dark);\n\twidth: 120px;\n}\n.time-zone {\n\tpadding: 32px 12px 12px 0;\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 min-content min-content;\n}\n.button {\n\talign-self: flex-end;\n}\n.label-weekday {\n\tposition: relative;\n\tdisplay: inline-flex;\n\tpadding-top: 4px;\n}\n.delete-slot {\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding-bottom: 12px;\n\topacity: .5;\n\t&:hover {\n\t\topacity: 1;\n\t}\n}\n\n.add-another {\n\tbackground-color: transparent;\n\tborder: none;\n\topacity: .5;\n\tdisplay: inline-flex;\n\tpadding: 0;\n\tmargin: 0;\n\tmargin-bottom: 3px;\n\n\t&:hover {\n\t\topacity: 1;\n\t}\n}\n.to-text {\n\tpadding-right: 12px;\n}\n.time-zone-text{\n\tpadding-left: 22px;\n}\n.empty-content {\n\tcolor: var(--color-text-lighter);\n\tmargin-top: 4px;\n}\n\n"],sourceRoot:""}]),e.Z=o},96425:function(t,e,n){var r=n(3118),i=n(9435);function a(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}a.prototype=r(i.prototype),a.prototype.constructor=a,t.exports=a},7548:function(t,e,n){var r=n(3118),i=n(9435);function a(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}a.prototype=r(i.prototype),a.prototype.constructor=a,t.exports=a},21078:function(t,e,n){var r=n(62488),i=n(37285);t.exports=function t(e,n,a,o,s){var u=-1,c=e.length;for(a||(a=i),s||(s=[]);++u<c;){var l=e[u];n>0&&a(l)?n>1?t(l,n-1,a,o,s):r(s,l):o||(s[s.length]=l)}return s}},9435:function(t){t.exports=function(){}},28045:function(t,e,n){var r=n(6557),i=n(89250),a=i?function(t,e){return i.set(t,e),t}:r;t.exports=a},52157:function(t){var e=Math.max;t.exports=function(t,n,r,i){for(var a=-1,o=t.length,s=r.length,u=-1,c=n.length,l=e(o-s,0),f=Array(c+l),d=!i;++u<c;)f[u]=n[u];for(;++a<s;)(d||a<o)&&(f[r[a]]=t[a]);for(;l--;)f[u++]=t[a++];return f}},14054:function(t){var e=Math.max;t.exports=function(t,n,r,i){for(var a=-1,o=t.length,s=-1,u=r.length,c=-1,l=n.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]=n[c];for(;++s<u;)(h||a<o)&&(d[p+r[s]]=t[a++]);return d}},97991:function(t){t.exports=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}},22402:function(t,e,n){var r=n(71774),i=n(55639);t.exports=function(t,e,n){var a=1&e,o=r(t);return function e(){return(this&&this!==i&&this instanceof e?o:t).apply(a?n:this,arguments)}}},71774:function(t,e,n){var r=n(3118),i=n(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 n=r(t.prototype),a=t.apply(n,e);return i(a)?a:n}}},46347:function(t,e,n){var r=n(96874),i=n(71774),a=n(86935),o=n(94487),s=n(20893),u=n(46460),c=n(55639);t.exports=function(t,e,n){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)<n?o(t,e,a,i.placeholder,void 0,d,m,void 0,void 0,n-f):r(this&&this!==c&&this instanceof i?l:t,this,d)}}},86935:function(t,e,n){var r=n(52157),i=n(14054),a=n(97991),o=n(71774),s=n(94487),u=n(20893),c=n(90451),l=n(46460),f=n(55639);t.exports=function t(e,n,d,h,p,m,y,v,g,T){var A=128&n,S=1&n,b=2&n,E=24&n,_=512&n,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=r(w,h,p,E)),m&&(w=i(w,m,y,E)),x-=N,E&&x<T){var L=l(w,I);return s(e,n,t,C.placeholder,d,w,L,v,g,T-x)}var M=S?d:this,P=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&&(P=D||o(P)),P.apply(M,w)}}},84375:function(t,e,n){var r=n(96874),i=n(71774),a=n(55639);t.exports=function(t,e,n,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 r(h,s?n:this,d)}}},94487:function(t,e,n){var r=n(86528),i=n(258),a=n(69255);t.exports=function(t,e,n,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=n.apply(void 0,p);return r(t)&&i(m,p),m.placeholder=o,a(m,t,e)}},97727:function(t,e,n){var r=n(28045),i=n(22402),a=n(46347),o=n(86935),s=n(84375),u=n(66833),c=n(63833),l=n(258),f=n(69255),d=n(40554),h=Math.max;t.exports=function(t,e,n,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,n,p,m,S,b,y,v,g];if(E&&c(_,E),t=_[0],e=_[1],n=_[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,n,p);else var D=i(t,e,n);return f((E?r:l)(D,_),t,e)}},99021:function(t,e,n){var r=n(85564),i=n(45357),a=n(30061);t.exports=function(t){return a(i(t,void 0,r),t+"")}},66833:function(t,e,n){var r=n(89250),i=n(50308),a=r?function(t){return r.get(t)}:i;t.exports=a},97658:function(t,e,n){var r=n(52060),i=Object.prototype.hasOwnProperty;t.exports=function(t){for(var e=t.name+"",n=r[e],a=i.call(r,e)?n.length:0;a--;){var o=n[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 (.+)\] \*/,n=/,? & /;t.exports=function(t){var r=t.match(e);return r?r[1].split(n):[]}},2188:function(t){var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=function(t,n){var r=n.length;if(!r)return t;var i=r-1;return n[i]=(r>1?"& ":"")+n[i],n=n.join(r>2?", ":" "),t.replace(e,"{\n/* [wrapped with "+n+"] */\n")}},37285:function(t,e,n){var r=n(62705),i=n(35694),a=n(1469),o=r?r.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(o&&t&&t[o])}},86528:function(t,e,n){var r=n(96425),i=n(66833),a=n(97658),o=n(8111);t.exports=function(t){var e=a(t),n=o[e];if("function"!=typeof n||!(e in r.prototype))return!1;if(t===n)return!0;var s=i(n);return!!s&&t===s[0]}},63833:function(t,e,n){var r=n(52157),i=n(14054),a=n(46460),o="__lodash_placeholder__",s=Math.min;t.exports=function(t,e){var n=t[1],u=e[1],c=n|u,l=c<131,f=128==u&&8==n||128==u&&256==n&&t[7].length<=e[8]||384==u&&e[7].length<=e[8]&&8==n;if(!l&&!f)return t;1&u&&(t[2]=e[2],c|=1&n?0:4);var d=e[3];if(d){var h=t[3];t[3]=h?r(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,n){var r=n(70577),i=r&&new r;t.exports=i},52060:function(t){t.exports={}},90451:function(t,e,n){var r=n(278),i=n(65776),a=Math.min;t.exports=function(t,e){for(var n=t.length,o=a(e.length,n),s=r(t);o--;){var u=e[o];t[o]=i(u,n)?s[u]:void 0}return t}},46460:function(t){var e="__lodash_placeholder__";t.exports=function(t,n){for(var r=-1,i=t.length,a=0,o=[];++r<i;){var s=t[r];s!==n&&s!==e||(t[r]=e,o[a++]=r)}return o}},258:function(t,e,n){var r=n(28045),i=n(21275)(r);t.exports=i},69255:function(t,e,n){var r=n(58775),i=n(2188),a=n(30061),o=n(87241);t.exports=function(t,e,n){var s=e+"";return a(t,i(s,o(r(s),n)))}},87241:function(t,e,n){var r=n(77412),i=n(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 r(a,(function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)})),t.sort()}},21913:function(t,e,n){var r=n(96425),i=n(7548),a=n(278);t.exports=function(t){if(t instanceof r)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,n){var r=n(97727);t.exports=function(t,e,n){return e=n?void 0:e,e=t&&null==e?t.length:e,r(t,128,void 0,void 0,void 0,void 0,e)}},40087:function(t,e,n){var r=n(97727);function i(t,e,n){var a=r(t,8,void 0,void 0,void 0,void 0,void 0,e=n?void 0:e);return a.placeholder=i.placeholder,a}i.placeholder={},t.exports=i},85564:function(t,e,n){var r=n(21078);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},84599:function(t,e,n){var r=n(68836),i=n(69306),a=Array.prototype.push;function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function s(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var i=r[0]=e.apply(void 0,r);return t.apply(void 0,r),i}}}t.exports=function t(e,n,c,l){var f="function"==typeof n,d=n===Object(n);if(d&&(l=c,c=n,n=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(r.aryMethod),P={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],n=t(arguments[0],e),r=n.length;return h.cap&&"number"==typeof e?(e=e>2?e-2:1,r&&r<=e?n:o(n,e)):n}},mixin:function(t){return function(e){var n=this;if(!x(n))return t(n,Object(e));var r=[];return _(O(e),(function(t){x(e[t])&&r.push([t,n.prototype[t]])})),t(n,Object(e)),_(r,(function(t){var e=t[1];x(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]})),n}},nthArg:function(t){return function(e){var n=e<0?1:N(e)+1;return E(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return E(t(e,n),r)}},runInContext:function(n){return function(r){return t(e,n(r),l)}}};function U(t,e,n){if(h.fixed&&(y||!r.skipFixed[t])){var i=r.methodSpread[t],o=i&&i.start;return void 0===o?A(e,n):function(t,e){return function(){for(var n=arguments.length,r=n-1,i=Array(n);n--;)i[n]=arguments[n];var o=i[e],s=i.slice(0,e);return o&&a.apply(s,o),e!=r&&a.apply(s,i.slice(e+1)),t.apply(this,s)}}(e,o)}return e}function Y(t,e,n){return h.rearg&&n>1&&(v||!r.skipRearg[t])?I(e,r.methodRearg[t]||r.aryRearg[n]):e}function k(t,e){for(var n=-1,r=(e=L(e)).length,i=r-1,a=b(Object(t)),o=a;null!=o&&++n<r;){var s=e[n],u=o[s];null==u||x(u)||C(u)||w(u)||(o[s]=b(n==i?u:Object(u))),o=o[s]}return a}function j(e,n){var i=r.aliasToReal[e]||e,a=r.remap[i]||i,o=l;return function(e){var r=f?g:T,s=f?g[a]:n,u=S(S({},o),e);return t(r,i,s,u)}}function R(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var i=h.rearg?0:n-1;return r[i]=e(r[i]),t.apply(void 0,r)}}function B(t,e,n){var i,a=r.aliasToReal[t]||t,c=e,l=P[a];return l?c=l(e):h.immutable&&(r.mutate.array[a]?c=u(e,s):r.mutate.object[a]?c=u(e,function(t){return function(e){return t({},e)}}(e)):r.mutate.set[a]&&(c=u(e,k))),_(M,(function(t){return _(r.aryMethod[t],(function(e){if(a==e){var n=r.methodSpread[a],s=n&&n.afterRearg;return i=s?U(a,Y(a,c,t),t):Y(a,U(a,c,t),t),i=function(t,e,n){return m||h.curry&&n>1?E(e,n):e}(0,i=function(t,e){if(h.cap){var n=r.iterateeRearg[t];if(n)return function(t,e){return R(t,(function(t){var n=e.length;return function(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(I(o(t,n),e),n)}))}(e,n);var i=!f&&r.iterateeAry[t];if(i)return function(t,e){return R(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=j(a,e),i.placeholder=e.placeholder=n,i}if(!d)return B(n,c,p);var z=c,W=[];return _(M,(function(t){_(r.aryMethod[t],(function(t){var e=z[r.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 n=W.length;n--;)if(W[n][0]==t)return;e.convert=j(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){_(r.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,n=e.aliasToReal,r={};for(var i in n){var a=n[i];t.call(r,a)?r[a].push(i):r[a]=[i]}return r}(),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,n){t.exports={ary:n(39514),assign:n(44037),clone:n(66678),curry:n(40087),forEach:n(77412),isArray:n(1469),isError:n(64647),isFunction:n(23560),isWeakMap:n(81018),iteratee:n(72594),keys:n(280),rearg:n(4963),toInteger:n(40554),toPath:n(30084)}},92822:function(t,e,n){var r=n(84599),i=n(4269);t.exports=function(t,e,n){return r(i,t,e,n)}},56580:function(t,e,n){var r=n(92822)("memoize",n(88306));r.placeholder=n(69306),t.exports=r},69306:function(t){t.exports={}},64647:function(t,e,n){var r=n(44239),i=n(37005),a=n(68630);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!a(t)}},81018:function(t,e,n){var r=n(64160),i=n(37005);t.exports=function(t){return i(t)&&"[object WeakMap]"==r(t)}},72594:function(t,e,n){var r=n(85990),i=n(67206);t.exports=function(t){return i("function"==typeof t?t:r(t,1))}},4963:function(t,e,n){var r=n(97727),i=n(99021)((function(t,e){return r(t,256,void 0,void 0,void 0,e)}));t.exports=i},18601:function(t,e,n){var r=n(14841);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},40554:function(t,e,n){var r=n(18601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},30084:function(t,e,n){var r=n(29932),i=n(278),a=n(1469),o=n(33448),s=n(55514),u=n(40327),c=n(79833);t.exports=function(t){return a(t)?r(t,u):o(t)?[t]:i(s(c(t)))}},8111:function(t,e,n){var r=n(96425),i=n(7548),a=n(9435),o=n(1469),s=n(37005),u=n(21913),c=Object.prototype.hasOwnProperty;function l(t){if(s(t)&&!o(t)&&!(t instanceof r)){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=="},11530:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI2QyZDJkMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg=="},71124:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI2QyZDJkMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+"},48461:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI2QyZDJkMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4="},23427:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI2QyZDJkMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4="},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,n){"use strict";n.d(e,{NcAutoCompleteResult:function(){return v},default:function(){return S}}),n(55849);var r=n(22663),i=n(79753),a=n(76311),o=n(23248),s=(n(79845),n(93911)),u=n(2343),c=(n(93664),n(86514),n(61537),n(25751),n(20435),n(49368),n(89115),n(57274),n(59110),n(69183),n(32219),n(82675),n(65507)),l=n(20296),f=n(36683),d=n(73045),h=n(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,n;return(null==(t=this.status)?void 0:t.icon)||(null==(e=this.status)?void 0:e.status)&&"offline"!==(null==(n=this.status)?void 0:n.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:[r.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"],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 n=(0,s.K)(t);this.textSmiles.includes(":"+t)&&n.unshift(":"+t),e(n)},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-link-result-node"),n=document.createTextNode(t);e.replaceWith(n),this.setCursorAfter(n),this.updateValue(this.$refs.contenteditable.innerHTML)})).catch((t=>{h.debug("Smart picker promise rejected:",t);const e=document.getElementById("tmp-link-result-node");this.setCursorAfter(e),e.remove()})),'<span id="tmp-link-result-node"></span>'},setCursorAfter(t){const e=document.createRange();e.setEndAfter(t),e.collapse();const n=window.getSelection();n.removeAllRanges(),n.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 n=e.getData("text"),r=window.getSelection();if(!r.rangeCount)return void this.updateValue(n);const i=r.getRangeAt(0);r.deleteFromDocument(),i.insertNode(document.createTextNode(n));const a=document.createRange();a.setStart(t.target,i.endOffset),a.collapse(!0),r.removeAllRanges(),r.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(),n=t.target;if(!e.isCollapsed||!e.rangeCount)return;const r=e.getRangeAt(e.rangeCount-1);if(3===r.commonAncestorContainer.nodeType&&r.startOffset>0)return;const i=document.createRange();if(e.anchorNode!==n)i.selectNodeContents(n),i.setEndBefore(e.anchorNode);else{if(!(e.anchorOffset>0))return;i.setEnd(n,e.anchorOffset)}i.setStart(n,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,"b7f5e546",null,null).exports},29354:function(t,e,n){"use strict";n.d(e,{N:function(){return w}});var r=n(2343),i=n(93664),a=n(79753),o=n(76311),s=n(28600),u=n(21955),c=n(10979),l=n(41074),f=n(38878),d=n(27172),h=n(20469),p=n(66875),m=n(72090),y=n(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:r.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 n;return e("div",{key:null==(n=null==t?void 0:t.openGraphObject)?void 0:n.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(n){!e||!t||(0,s.Vn)(n,(t=>"text"===t.type),((t,e,n)=>{let r=D(t.value);return r=r.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)),n.children.splice(e,1,...r.flat()),[u.AM,e+r.flat().length]}))}},D=t=>{let e=g.exec(t);const n=[];let r=0;for(;null!==e;){let i,a=e[2],o=t.substring(r,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),n.push(o),n.push({component:E,props:{href:a}}),i&&n.push(i),r=e.index+e[0].length,e=g.exec(t)}return n.push(t.substring(r)),t===n.map((t=>"string"==typeof t?t:t.props.href)).join("")?n:(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,n){const r=t.value.split(/(\{[a-z\-_.0-9]+\})/gi).map(((t,e,n)=>{const r=t.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!r)return(0,c.u)("text",t);const[,i]=r;return(0,c.u)("element",{tagName:`#${i}`})}));n.children.splice(e,1,...r)}))}},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,n=this.text.split(/(\{[a-z\-_.0-9]+\})/gi).map((function(n,r,i){const a=n.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!a)return(({h:t,context:e},n)=>(e.autolink&&(n=D(n)),Array.isArray(n)?n.map((e=>{if("string"==typeof e)return e;const{component:n,props:r}=e,i="NcLink"===n.name?void 0:"rich-text--component";return t(n,{props:r,class:i})})):n))({h:t,context:e},n);const o=a[1],s=e.arguments[o];if("object"==typeof s){const{component:e,props:n}=s;return t(e,{props:n,class:"rich-text--component"})}return s?t("span",{class:"rich-text--fallback"},s):n}));return t("div",{class:"rich-text--wrapper"},[t("div",{},n.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,n,r)=>{if(r=null==r?void 0:r.map((t=>"string"==typeof t?t.replace(/</gim,"<"):t)),!e.startsWith("#"))return t(e,n,r);const i=this.arguments[e.slice(1)];return i?i.component?t(i.component,{attrs:n,props:i.props,class:"rich-text--component"},r):t("span",n,[i]):t("span",{attrs:n,class:"rich-text--fallback"},[`{${e.slice(1)}}`])},prefix:!1}).processSync(this.text.replace(/</gim,"<").replace(/>/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,"f9d2c651",null,null).exports},64882:function(t,e,n){"use strict";n.d(e,{$U:function(){return N.Z},FK:function(){return $.Z},Iw:function(){return s.Z},Jc:function(){return J.Z},Jh:function(){return B.Z},O3:function(){return f.Z},P2:function(){return M.Z},QG:function(){return st.Z},SL:function(){return F.Z},Z9:function(){return z.Z},fg:function(){return L.Z},h3:function(){return ut.Z},rw:function(){return P.Z}});var r=n(20212),i=n(66236),a=n(34791),o=n(56562),s=n(31466),u=n(74176),c=n(52300),l=n(64208),f=n(3349),d=n(68763),h=n(76955),p=n(94162),m=n(56071),y=n(27657),v=n(2047),g=n(35534),T=n(82002),A=n(89998),S=n(41705),b=n(61898),E=n(39726),_=n(66845),D=n(87875),C=n(20932),x=n(34739),w=n(88344),O=n(38298),I=n(52467),N=n(36402),L=n(43133),M=n(57274),P=n(71998),U=n(37776),Y=n(73743),k=n(93182),j=n(89241),R=n(54581),B=n(97947),z=n(85017),W=n(37008),Z=n(78573),F=n(86514),H=n(93428),V=n(93815),G=n(40873),$=n(63813),K=n(11599),q=n(14802),X=n(20435),J=n(59110),Q=n(80774),tt=n(16972),et=n(34246),nt=n(34854),rt=n(22554),it=n(22663),at=n(46318),ot=n(29354),st=(n(2343),n(93664),n(79753),n(61537)),ut=(n(23248),n(25751),n(49368)),ct=(n(89115),n(69183),n(32219),n(82675),n(74911)),lt=n(35380),ft=n(56857),dt=n(67912),ht=n(48020),pt=n(47414),mt=n(7566),yt=(n(93911),n(85302),n(90318)),vt=n(17593),gt=(n(79845),n(84722),n(76692),n(40946),n(73045));r.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,at.NcAutoCompleteResult,I.N,N.Z,L.Z,M.Z,P.Z,U.Z,Y.Z,k.Z,j.Z,R.Z,B.Z,z.Z,W.Z,Z.Z,F.Z,H.Z,V.Z,G.N,$.Z,K.Z,q.Z,X.Z,it.N,J.Z,Q.Z,tt.Z,et.Z,nt.Z,rt.Z,at.default,ot.N,ct.Z,st.Z,lt.Z,ft.Z,dt.Z,ht.N,ut.Z,pt.Z,mt.Z,Symbol.toStringTag,yt.X,vt.X,gt.VTooltip,Symbol.toStringTag}},a={};function o(t){var e=a[t];if(void 0!==e)return e.exports;var n=a[t]={id:t,loaded:!1,exports:{}};return i[t].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}o.m=i,e=[],o.O=function(t,n,r,i){if(!n){var a=1/0;for(l=0;l<e.length;l++){n=e[l][0],r=e[l][1],i=e[l][2];for(var s=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(o.O).every((function(t){return o.O[t](n[u])}))?n.splice(u--,1):(s=!1,i<a&&(a=i));if(s){e.splice(l--,1);var c=r();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]=[n,r,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 n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.f={},o.e=function(t){return Promise.all(Object.keys(o.f).reduce((function(e,n){return o.f[n](t,e),e}),[]))},o.u=function(t){return t+"-"+t+".js?v=9712b63e6d8aa316e55f"},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)},n={},r="nextcloud:",o.l=function(t,e,i,a){if(n[t])n[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")==r+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",r+i),s.src=t),n[t]=[e];var d=function(e,r){s.onerror=s.onload=null,clearTimeout(h);var i=n[t];if(delete n[t],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(t){return t(r)})),e)return e(r)},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 n=e.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&!t;)t=n[r--].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,n){var r=o.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,i){r=t[e]=[n,i]}));n.push(r[2]=i);var a=o.p+o.u(e),s=new Error;o.l(a,(function(n){if(o.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,r[1](s)}}),"chunk-"+e,e)}},o.O.j=function(e){return 0===t[e]};var e=function(e,n){var r,i,a=n[0],s=n[1],u=n[2],c=0;if(a.some((function(e){return 0!==t[e]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(u)var l=u(o)}for(e&&e(n);c<a.length;c++)i=a[c],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(l)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),o.nc=void 0;var s=o.O(void 0,[7874],(function(){return o(4953)}));s=o.O(s)}(); -//# sourceMappingURL=dav-settings-personal-availability.js.map?v=63f31ca657121d43f67c
\ No newline at end of file +!function(){var e,n,r,i={4953:function(e,n,r){"use strict";var i=r(20144),a=r(31352),o=r(64882),s=r(25108),u=r(34155),c=r(18350);function l(t,e,n,r,i,a,o,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(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-205927d1]{padding:0 10px;position:absolute}.availability-slots[data-v-205927d1]{display:flex;white-space:nowrap}.availability-slot[data-v-205927d1]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-205927d1]{display:flex;flex-direction:column}[data-v-205927d1] .mx-input-wrapper{width:85px}[data-v-205927d1] .mx-datepicker{width:97px}[data-v-205927d1] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-205927d1]{padding:32px 12px 12px 0}.grid-table[data-v-205927d1]{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-205927d1]{align-self:flex-end}.label-weekday[data-v-205927d1]{position:relative;display:inline-flex;padding-top:4px}.delete-slot[data-v-205927d1]{background-color:transparent;border:none;padding-bottom:12px;opacity:.5}.delete-slot[data-v-205927d1]:hover{opacity:1}.add-another[data-v-205927d1]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-205927d1]:hover{opacity:1}.to-text[data-v-205927d1]{padding-right:12px}.time-zone-text[data-v-205927d1]{padding-left:22px}.empty-content[data-v-205927d1]{color:var(--color-text-lighter);margin-top:4px}")),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:n})=>{t[e]=n.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 n=new Date;n.setHours(17,0,0,0),t.slots.push({start:e,end:n}),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(n){return[e("div",{key:`day-label-${n.id}`,staticClass:"label-weekday"},[t._v(" "+t._s(n.displayName)+" ")]),e("div",{key:`day-slots-${n.id}`,staticClass:"availability-slots"},[e("div",{staticClass:"availability-slot-group"},[t._l(n.slots,(function(r,i){return[e("div",{key:`slot-${n.id}-${i}`,staticClass:"availability-slot"},[e("NcDateTimePicker",{staticClass:"start-date",attrs:{type:"time",format:"H:mm"},on:{change:t.onChangeSlots},model:{value:r.start,callback:function(e){t.$set(r,"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:r.end,callback:function(e){t.$set(r,"end",e)},expression:"slot.end"}}),e("NcButton",{key:`slot-${n.id}-${i}-btn`,staticClass:"icon-delete delete-slot button",attrs:{title:t.l10nDeleteSlot},on:{click:function(e){return t.removeSlot(n,i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDelete",{attrs:{size:20}})]},proxy:!0}],null,!0)})],1)]}))],2),0===n.slots.length?e("span",{staticClass:"empty-content"},[t._v(" "+t._s(t.l10nEmptyDay)+" ")]):t._e()]),e("NcButton",{key:`add-slot-${n.id}`,staticClass:"add-another button",attrs:{disabled:t.loading,title:t.l10nAddSlot},on:{click:function(e){return t.addSlot(n)}},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,"205927d1",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:n,t:r,r:i,s:a}=t;return[`TZNAME:${e}`,`TZOFFSETFROM:${n}`,`TZOFFSETTO:${r||n}`,`DTSTART:${a||b.defaultStart}`,...i?[`RRULE:FREQ=${i.f||"YEARLY"};BYMONTH=${i.m};BYDAY=${i.d}`]:[]]}function _(t,e=!0){const n=b.zonesMap.get(t);if(n){const{s:r,d:i}=n;return[...e?["BEGIN:VTIMEZONE"]:[],`TZID:${t}`,"BEGIN:STANDARD",...E(r),"END:STANDARD",...i?["BEGIN:DAYLIGHT",...E(i),"END:DAYLIGHT"]:[],...e?["END:VTIMEZONE"]:[]]}}T.getZoneLines=_,S=T.getZoneString=function(t,e=!0){const n=_(t,e);return null==n?void 0:n.join("\r\n")};var D,C,x={};(D=x).foldLength=75,D.newLineChar="\r\n",D.helpers={updateTimezones:function(t){var e,n,r,i,a,o;if(!t||"vcalendar"!==t.name)return t;for(e=t.getAllSubcomponents(),n=[],r={},a=0;a<e.length;a++)"vtimezone"===e[a].name?r[o=e[a].getFirstProperty("tzid").getFirstValue()]=e[a]:n=n.concat(e[a].getAllProperties());for(i={},a=0;a<n.length;a++)(o=n[a].getParameter("tzid"))&&(i[o]=!0);for(a in r)r.hasOwnProperty(a)&&!i[a]&&t.removeSubcomponent(r[a]);for(a in i)i.hasOwnProperty(a)&&!r[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,n){for(;-1!==(n=t.indexOf(e,n));){if(!(n>0&&"\\"===t[n-1]))return n;n+=1}return-1},binsearchInsert:function(t,e,n){if(!t.length)return 0;for(var r,i,a=0,o=t.length-1;a<=o;)if((i=n(e,t[r=a+Math.floor((o-a)/2)]))<0)o=r-1;else{if(!(i>0))break;a=r+1}return i<0?r:i>0?r+1:r},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 n=[],r=0;r<t.length;r++)n.push(e?D.helpers.clone(t[r],!0):t[r]);return n}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="",n=t||"",r=0,i=0;n.length;){var a=n.codePointAt(r);a<128?++i:i+=a<2048?2:a<65536?3:4,i<D.foldLength+1?r+=a>65535?2:1:(e+=D.newLineChar+" "+n.substring(0,r),n=n.substring(r),r=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,n){function r(){}r.prototype=t.prototype,e.prototype=new r,n&&D.helpers.extend(n,e.prototype)},extend:function(t,e){for(var n in t){var r=Object.getOwnPropertyDescriptor(t,n);r&&!Object.getOwnPropertyDescriptor(e,n)&&Object.defineProperty(e,n,r)}return e}},D.design=function(){var t=/\\\\|\\,|\\[Nn]/g,e=/\\|,|\n/g;function n(t,e){var n={matches:/.*/,fromICAL:function(e,n){return function(t,e,n){return-1===t.indexOf("\\")?t:(n&&(e=new RegExp(e.source+"|\\\\"+n)),t.replace(e,h))}(e,t,n)},toICAL:function(t,n){var r=e;return n&&(r=new RegExp(r.source+"|"+n)),t.replace(r,(function(t){switch(t){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case"\n":return"\\n";default:return t}}))}};return n}var r={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:r,uid:r},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:n(/\\\\|\\;|\\,|\\[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 n=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]&&(n+="Z"),n}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 n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];"until"==n?r=r.length>10?y["date-time"].toICAL(r):y.date.toICAL(r):"wkst"==n?"number"==typeof r&&(r=D.Recur.numericDayToIcalDay(r)):Array.isArray(r)&&(r=r.join(",")),e+=n.toUpperCase()+"="+r+";"}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:r,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:r,class:r,comment:r,completed:u,contact:r,created:u,description:r,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:r,method:r,organizer:{defaultType:"cal-address"},"percent-complete":o,priority:o,prodid:r,"related-to":r,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:r,summary:r,transp:r,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:l,tzoffsetto:l,tzurl:c,tzid:r,tzname:r}),g=D.helpers.extend(m,{text:n(t,e),uri:n(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),n=e[0],r=e[1];return 6==r.length?r=r.substr(0,2)+":"+r.substr(2,2)+":"+r.substr(4,2):4==r.length&&"-"!=r[0]?r=r.substr(0,2)+":"+r.substr(2,2):5==r.length&&(r=r.substr(0,3)+":"+r.substr(3,2)),5==n.length&&("-"==n[0]||"+"==n[0])&&(n=n.substr(0,3)+":"+n.substr(3)),r+n},toICAL:function(t){var e=g.time._splitZone(t),n=e[0],r=e[1];return 8==r.length?r=r.substr(0,2)+r.substr(3,2)+r.substr(6,2):5==r.length&&"-"!=r[0]?r=r.substr(0,2)+r.substr(3,2):6==r.length&&(r=r.substr(0,3)+r.substr(4,2)),6==n.length&&("-"==n[0]||"+"==n[0])&&(n=n.substr(0,3)+n.substr(4)),r+n},_splitZone:function(t,e){var n,r,i=t.length-1,a=t.length-(e?5:6),o=t[a];return"Z"==t[i]?(n=t[i],r=t.substr(0,i)):t.length>6&&("-"==o||"+"==o)?(n=t.substr(a),r=t.substr(0,a)):(n="",r=t),[n,r]}},"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:r,fburl:c,fn:r,gender:a,geo:c,impp:c,key:c,kind:r,lang:{defaultType:"language-tag"},logo:c,member:c,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,note:r,org:{defaultType:"text",structuredValue:";"},photo:c,related:c,rev:{defaultType:"timestamp"},role:r,sound:c,source:c,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:r,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:r}),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:r,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:r,tel:{defaultType:"phone-number"},email:r,mailer:r,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:r,role:r,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:a,note:i,prodid:r,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},"sort-string":r,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:r,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",n=D.design,r=D.helpers;function i(e){"string"==typeof e[0]&&(e=[e]);for(var n=0,r=e.length,a="";n<r;n++)a+=i.component(e[n])+t;return a}i.component=function(e,r){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"),r=r||n.getDesignSet(l);u<c;u++)o+=i.property(s[u],r)+t;for(var f=e[2]||[],d=0,h=f.length;d<h;d++)o+=i.component(f[d],r)+t;return o+"END:"+a},i.property=function(t,r,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 r.param&&r.param[o].multiValue)&&Array.isArray(f)?(r.param[o].multiValueSeparateDQuote&&(p='"'+p+'"'),f=f.map(i._rfc6868Unescape),f=i.multiValue(f,p,"unknown",null,r)):f=i._rfc6868Unescape(f),l+=";"+o.toUpperCase(),l+="="+i.propertyValue(f))}if(3===t.length)return l+":";var d=t[2];r||(r=n.defaultSet);var h,p=!1,m=!1,y=!1;return u in r.property?("multiValue"in(h=r.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,r,m):p?i.multiValue(t.slice(3),p,d,null,r,!1):m?i.multiValue(t[3],m,d,null,r,m):i.value(t[3],d,r,!1),a?l:D.helpers.foldline(l)},i.propertyValue=function(t){return-1===r.unescapedIndexOf(t,",")&&-1===r.unescapedIndexOf(t,":")&&-1===r.unescapedIndexOf(t,";")?t:'"'+t+'"'},i.multiValue=function(t,e,n,r,a,o){for(var s="",u=t.length,c=0;c<u;c++)r&&Array.isArray(t[c])?s+=i.multiValue(t[c],r,n,null,a,o):s+=i.value(t[c],n,a,o),c!==u-1&&(s+=e);return s},i.value=function(t,e,n,r){return e in n.value&&"toICAL"in n.value[e]?n.value[e].toICAL(t,r):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,n=D.helpers;function r(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={},n=e.component=[];if(e.stack=[n],i._eachLine(t,(function(t,n){i._handleContentLine(n,e)})),e.stack.length>1)throw new r("invalid ical body. component began but did not end");return e=null,1==n.length?n[0]:n}r.prototype=Error.prototype,i.property=function(t,n){var r={component:[[],[]],designSet:n||e.defaultSet};return i._handleContentLine(t,r),r.component[1][0]},i.component=function(t){return i(t)},i.ParserError=r,i._handleContentLine=function(t,n){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,n.designSet))[2])throw new r("Invalid parameters in '"+t+"'");if(d=c[0],a=c[1].length+c[2]+f,-1===(o=t.substring(a).indexOf(":")))throw new r("Missing parameter value in '"+t+"'");u=t.substring(a+o+1)}else{if(-1===l)throw new r('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===n.stack.length?n.component.push(h):n.component[2].push(h),n.stack.push(n.component),n.component=h,void(n.designSet||(n.designSet=e.getDesignSet(n.component[0])))}if("end"===s)return void(n.component=n.stack.pop())}var p,m,y,v=!1,g=!1;s in n.designSet.property&&("multiValue"in(m=n.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,n.designSet,g)]:v?(y=[s,d,p],i._parseMultiValue(u,v,p,y,null,n.designSet,!1)):y=g?[s,d,p,u=i._parseMultiValue(u,g,p,[],null,n.designSet,g)]:[s,d,p,u=i._parseValue(u,p,n.designSet,!1)],"vcard"===n.component[0]&&0===n.component[1].length&&!("version"===s&&"4.0"===u)&&(n.designSet=e.getDesignSet("vcard3")),n.component[1].push(y)},i._parseValue=function(t,e,n,r){return e in n.value&&"fromICAL"in n.value[e]?n.value[e].fromICAL(t,r):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=n.unescapedIndexOf(t,"=",h+1));){if(0==(o=t.substr(d+1,h-d-1)).length)throw new r("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=n.unescapedIndexOf(t,'"',m),l&&-1!=h)for(var y=!0;y;)t[h+1]==l&&'"'==t[h+2]?h=n.unescapedIndexOf(t,'"',h+3):y=!1;if(-1===h)throw new r('invalid line (no matching double quote) "'+t+'"');u=t.substr(m,h-m),-1===(d=n.unescapedIndexOf(t,";",h))&&(h=!1)}else{m=h+1;var v=n.unescapedIndexOf(t,";",m),g=n.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,r,a,o,s,u){var c,l=0,f=0;if(0===e.length)return t;for(;-1!==(l=n.unescapedIndexOf(t,e,f));)c=t.substr(f,l-f),c=o?i._parseMultiValue(c,o,r,[],null,s,u):i._parseValue(c,r,s,u),a.push(c),f=l+e.length;return c=t.substr(f),c=o?i._parseMultiValue(c,o,r,[],null,s,u):i._parseValue(c,r,s,u),a.push(c),1==a.length?a[0]:a},i._eachLine=function(e,n){var r,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?r+=e.substr(s+1,u-s-(a+1)):(r&&n(null,r),r=e.substr(s,u-s-a)),s=u}while(u!==o);(r=r.trim()).length&&n(null,r)},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 n=new t(this.jCal[2][e],this);return this._hydratedComponentCount++,this._components[e]=n},_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,n=this.jCal[2],r=n.length;e<r;e++)if(n[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,n=0;if(t){for(var r=this.jCal[2],i=[];n<e;n++)t===r[n][0]&&i.push(this._hydrateComponent(n));return i}if(!this._components||this._hydratedComponentCount!==e)for(;n<e;n++)this._hydrateComponent(n);return this._components||[]},hasProperty:function(t){for(var e=this.jCal[1],n=e.length,r=0;r<n;r++)if(e[r][0]===t)return!0;return!1},getFirstProperty:function(t){if(t){for(var e=0,n=this.jCal[1],r=n.length;e<r;e++)if(n[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,n=0;if(t){for(var r=this.jCal[1],i=[];n<e;n++)t===r[n][0]&&i.push(this._hydrateProperty(n));return i}if(!this._properties||this._hydratedPropertyCount!==e)for(;n<e;n++)this._hydrateProperty(n);return this._properties||[]},_removeObjectByIndex:function(t,e,n){if((e=e||[])[n]){var r=e[n];"parent"in r&&(r.parent=null)}e.splice(n,1),this.jCal[t].splice(n,1)},_removeObject:function(t,e,n){var r=0,i=this.jCal[t],a=i.length,o=this[e];if("string"==typeof n){for(;r<a;r++)if(i[r][0]===n)return this._removeObjectByIndex(t,o,r),!0}else if(o)for(;r<a;r++)if(o[r]&&o[r]===n)return this._removeObjectByIndex(t,o,r),!0;return!1},_removeAllObjects:function(t,e,n){for(var r=this[e],i=this.jCal[t],a=i.length-1;a>=0;a--)(!n||i[a][0]===n)&&this._removeObjectByIndex(t,r,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 n=new D.Property(t);return n.setValue(e),this.addProperty(n),n},updatePropertyWithValue:function(t,e){var n=this.getFirstProperty(t);return n?n.setValue(e):n=this.addPropertyWithValue(t,e),n},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,n){this._parent=n||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 n=!this._parent||e&&e._designSet!=this._parent._designSet;return this._parent=e,this.type==t.defaultType&&n&&(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 n=t.toLowerCase();"string"==typeof e&&n in this._designSet.param&&"multiValue"in this._designSet.param[n]&&(e=[e]),this.jCal[1][t]=e},removeParameter:function(t){delete this.jCal[1][t]},getDefaultType:function(){var e=this.jCal[0],n=this._designSet;if(e in n.property){var r=n.property[e];if("defaultType"in r)return r.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,n=[];e<t;e++)n[e]=this._hydrateValue(e);return n},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,n=0;if(this.removeAllValues(),e>0&&"object"==typeof t[0]&&"icaltype"in t[0]&&this.resetType(t[0].icaltype),this.isDecorated)for(;n<e;n++)this._setDecoratedValue(t[n],n);else for(;n<e;n++)this.jCal[3+n]=t[n]},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,n){return new e(D.parse.property(t,n))},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(),n=t.toSeconds();return(e>n)-(n>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 n=new t;return n.fromSeconds(e),n},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,n,r,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,n=a>>12&63,r=a>>6&63,i=63&a,l[u++]=o.charAt(e)+o.charAt(n)+o.charAt(r)+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,n,r,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,n=o>>8&255,r=255&o,l[c++]=64==i?String.fromCharCode(e):64==a?String.fromCharCode(e,n):String.fromCharCode(e,n,r)}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 n=t.split("/");if(2!==n.length)throw new Error('Invalid string value: "'+t+'" must contain a "/" char.');var r={start:D.Time.fromDateTimeString(n[0],e)},i=n[1];return D.Duration.isValueString(i)?r.duration=D.Duration.fromString(i):r.end=D.Time.fromDateTimeString(i,e),new D.Period(r)},D.Period.fromData=function(t){return new D.Period(t)},D.Period.fromJSON=function(t,e,n){function r(t,e){return n?D.Time.fromString(t,e):D.Time.fromDateTimeString(t,e)}return D.Duration.isValueString(t[1])?D.Period.fromData({start:r(t[0],e),duration:D.Duration.fromString(t[1])}):D.Period.fromData({start:r(t[0],e),end:r(t[1],e)})},function(){var t=/([PDWHMTS]{1,1})/;function e(t,e,n){var r;switch(t){case"P":n.isNegative=!(!e||"-"!==e);break;case"D":r="days";break;case"W":r="weeks";break;case"H":r="hours";break;case"M":r="minutes";break;case"S":r="seconds";break;default:return 0}if(r){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+'"');n[r]=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 n in e)if(e.hasOwnProperty(n)){var r=e[n];this[r]=t&&r in t?t[r]: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(),n=t.toSeconds();return(e>n)-(e<n)},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(n){for(var r=0,i=Object.create(null),a=0;-1!==(r=n.search(t));){var o=n[r],s=n.substr(0,r);n=n.substr(r+1),a+=e(o,s,i)}if(a<2)throw new Error('invalid duration value: Not enough duration components in "'+n+'"');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 n in C)if(C.hasOwnProperty(n)){var r=C[n];t&&r in t&&(this[r]=t[r])}}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},n=this._findNearbyChange(e),r=-1,i=1;;){var a=D.helpers.clone(this.changes[n],!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?r=n:i=-1,-1==i&&-1!=r)break;if((n+=i)<0)return 0;if(n>=this.changes.length)break}var o=this.changes[r];if(o.utcOffset-o.prevUtcOffset<0&&r>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[r-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 n=t;if(n<D.Timezone._minimumExpansionYear&&(n=D.Timezone._minimumExpansionYear),(n+=D.Timezone.EXTRA_COVERAGE)>D.Timezone.MAX_YEAR&&(n=D.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYear<t){for(var r=this.component.getAllSubcomponents(),i=r.length,a=0;a<i;a++)this._expandComponent(r[a],n,this.changes);this.changes.sort(D.Timezone._compare_change_fn),this.expandedUntilYear=n}},_expandComponent:function(t,e,n){if(!t.hasProperty("dtstart")||!t.hasProperty("tzoffsetto")||!t.hasProperty("tzoffsetfrom"))return null;var r,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();(r=o()).year=c.year,r.month=c.month,r.day=c.day,c.isDate?(r.hour=i.hour,r.minute=i.minute,r.second=i.second,i.zone!=D.Timezone.utcTimezone&&D.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset)):(r.hour=c.hour,r.minute=c.minute,r.second=c.second,c.zone!=D.Timezone.utcTimezone&&D.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset)),n.push(r)}var l=t.getFirstProperty("rrule");if(l){l=l.getFirstValue(),r=o(),l.until&&l.until.zone==D.Timezone.utcTimezone&&(l.until.adjust(0,0,0,r.prevUtcOffset),l.until.zone=D.Timezone.localTimezone);for(var f,d=l.iterator(i);(f=d.next())&&(r=o(),!(f.year>e)&&f);)r.year=f.year,r.month=f.month,r.day=f.day,r.hour=f.hour,r.minute=f.minute,r.second=f.second,r.isDate=f.isDate,D.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset),n.push(r)}}else(r=o()).year=i.year,r.month=i.month,r.day=i.day,r.hour=i.hour,r.minute=i.minute,r.second=i.second,D.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset),n.push(r);return n},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,n){if(t.isDate||e.tzid==n.tzid||e==D.Timezone.localTimezone||n==D.Timezone.localTimezone)return t.zone=n,t;var r=e.utcOffset(t);return t.adjust(0,0,0,-r),r=n.utcOffset(t),t.adjust(0,0,0,r),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,n,r,i){return D.Time.prototype.adjust.call(t,e,n,r,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,n){if(e instanceof D.Component&&"vtimezone"===e.name&&(e=(n=new D.Timezone(e)).tzid),!(n instanceof D.Timezone))throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component");t[e]=n},remove:function(e){return delete t[e]}};return e.reset(),e}(),D.Time=function(t,e){this.wrappedJSObject=this;var n=this._time=Object.create(null);n.year=0,n.month=1,n.day=1,n.hour=0,n.minute=0,n.second=0,n.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,n,r,i,a,o){this.fromData({year:t,month:e,day:n,hour:r,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 n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if("icaltype"===n)continue;this[n]=t[n]}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 r=D.TimezoneService.get(t.timezone);this.zone=r||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,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(n in D.Time._dowCache)return D.Time._dowCache[n];var r=this.day,i=this.month+(this.month<3?12:0),a=this.year-(this.month<3?1:0),o=r+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[n]=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,n=this.clone();return n.day-=(this.dayOfWeek()+7-e)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},endOfWeek:function(t){var e=t||D.Time.SUNDAY,n=this.clone();return n.day+=(7-this.dayOfWeek()+e-D.Time.SUNDAY)%7,n.isDate=!0,n.hour=0,n.minute=0,n.second=0,n},startOfMonth:function(){var t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfMonth:function(){var t=this.clone();return t.day=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,n=this.dayOfWeek()-e;return n<0&&(n+=7),this.dayOfYear()-n},getDominicalLetter:function(){return D.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,e){var n,r=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,n=t}else o.day=r,i++,(n=o.dayOfWeek()-t)<0&&(n+=7),n=r-n;return a+(n+7*i)},isNthWeekDay:function(t,e){var n=this.dayOfWeek();return 0===e&&n===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 n,r=this.clone();r.isDate=!0;var i=this.year;12==r.month&&r.day>25?(n=D.Time.weekOneStarts(i+1,t),r.compare(n)<0?n=D.Time.weekOneStarts(i,t):i++):(n=D.Time.weekOneStarts(i,t),r.compare(n)<0&&(n=D.Time.weekOneStarts(--i,t)));var a=r.subtractDate(n).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,n=this.second,r=this.minute,i=this.hour,a=this.day;n+=e*t.seconds,r+=e*t.minutes,i+=e*t.hours,a+=e*t.days,a+=7*e*t.weeks,this.second=n,this.minute=r,this.hour=i,this.day=a,this._cachedUnixTime=null},subtractDate:function(t){var e=this.toUnixTime()+this.utcOffset(),n=t.toUnixTime()+t.utcOffset();return D.Duration.fromSeconds(e-n)},subtractDateTz:function(t){var e=this.toUnixTime(),n=t.toUnixTime();return D.Duration.fromSeconds(e-n)},compare:function(t){var e=this.toUnixTime(),n=t.toUnixTime();return e>n?1:n>e?-1:0},compareDateOnlyTz:function(t,e){function n(t){return D.Time._cmp_attr(r,i,t)}var r=this.convertToZone(e),i=t.convertToZone(e),a=0;return 0!=(a=n("year"))||0!=(a=n("month"))||(a=n("day")),a},convertToZone:function(t){var e=this.clone(),n=this.zone.tzid==t.tzid;return!this.isDate&&!n&&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,n,r,i){var a,o,s,u,c,l,f,d=0,h=0,p=i||this._time;if(p.isDate||(s=p.second+r,p.second=s%60,a=D.helpers.trunc(s/60),p.second<0&&(p.second+=60,a--),u=p.minute+n+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"],n=Object.create(null),r=0,i=e.length;r<i;r++)n[t=e[r]]=this[t];return this.zone&&(n.timezone=this.zone.tzid),n}},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 n=30;return t<1||t>12||(n=[0,31,28,31,30,31,30,31,31,30,31,30,31][t],2==t&&(n+=D.Time.isLeapYear(e))),n},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 n=e,r=t,i=new D.Time;i.auto_normalize=!1;var a=D.Time.isLeapYear(n)?1:0;if(r<1)return n--,a=D.Time.isLeapYear(n)?1:0,r+=D.Time.daysInYearPassedMonth[a][12],D.Time.fromDayOfYear(r,n);if(r>D.Time.daysInYearPassedMonth[a][12])return a=D.Time.isLeapYear(n)?1:0,r-=D.Time.daysInYearPassedMonth[a][12],n++,D.Time.fromDayOfYear(r,n);i.year=n,i.isDate=!0;for(var o=11;o>=0;o--)if(r>D.Time.daysInYearPassedMonth[a][o]){i.month=o+1,i.day=r-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 n;return t[19]&&"Z"===t[19]?n="Z":e&&(n=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:n})},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 n=D.Time.fromData({year:t,month:1,day:1,isDate:!0}),r=n.dayOfWeek(),i=e||D.Time.DEFAULT_WEEK_START;return r>D.Time.THURSDAY&&(n.day+=7),i>D.Time.THURSDAY&&(n.day-=7),n.day-=r-i,n},D.Time.getDominicalLetter=function(t){var e="GFEDCBA",n=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return D.Time.isLeapYear(t)?e[(n+6)%7]+e[n]:e[n]},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,n){return t[n]>e[n]?1:t[n]<e[n]?-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,n){this.wrappedJSObject=this;var r=this._time=Object.create(null);r.year=null,r.month=null,r.day=null,r.hour=null,r.minute=null,r.second=null,this.icaltype=n||"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,n=this.year,r=this.month,i=this.day,a=this.hour,o=this.minute,s=this.second,u=null!==r,c=null!==i,l=null!==a,f=null!==o,d=null!==s,h=(null!==n?e(n)+(u||c?"-":""):u||c?"--":"")+(u?e(r):"")+(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 n(t,e,n){return t?D.helpers.strictParseInt(t.substr(e,n)):null}var r=t.split("T"),i=r[0],a=r[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:n(i,0,4),month:!f||4!=c&&7!=c?7==c||10==c?n(i,5,2):null:n(i,2,2),day:5==c?n(i,3,2):7==c&&f?n(i,5,2):10==c?n(i,8,2):null,hour:d?null:n(u,0,2),minute:d&&3==l?n(u,1,2):l>4?n(u,d?1:3,2):null,second:4==l?n(u,2,2):6==l?n(u,4,2):8==l?n(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 n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);function r(t,e,n,r){var i=r;if("+"===r[0]&&(i=r.substr(1)),i=D.helpers.strictParseInt(i),void 0!==e&&r<e)throw new Error(t+': invalid value "'+r+'" must be > '+e);if(void 0!==n&&r>n)throw new Error(t+': invalid value "'+r+'" 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 n=t.toUpperCase();n in this.parts?this.parts[n].push(e):this.parts[n]=[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 n,r=this.iterator(t);do{n=r.next()}while(n&&n.compare(e)<=0);return n&&e.zone&&(n.zone=e.zone),n},fromData:function(t){for(var e in t){var n=e.toUpperCase();n in u?Array.isArray(t[e])?this.parts[n]=t[e]:this.parts[n]=[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 n=this.parts[e];Array.isArray(n)&&1==n.length?t[e.toLowerCase()]=n[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,n){var r=n||D.Time.SUNDAY;return(t[e]-r+7)%7+1},D.Recur.numericDayToIcalDay=function(t,n){var r=t+(n||D.Time.SUNDAY)-D.Time.SUNDAY;return r>7&&(r-=7),e[r]};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,n){if(-1===o.indexOf(t))throw new Error('invalid frequency "'+t+'" expected: "'+o.join(", ")+'"');e.freq=t},COUNT:function(t,e,n){e.count=D.helpers.strictParseInt(t)},INTERVAL:function(t,e,n){e.interval=D.helpers.strictParseInt(t),e.interval<1&&(e.interval=1)},UNTIL:function(t,e,n){t.length>10?e.until=D.design.icalendar.value["date-time"].fromICAL(t):e.until=D.design.icalendar.value.date.fromICAL(t),n||(e.until=D.Time.fromString(e.until))},WKST:function(t,e,n){if(!i.test(t))throw new Error('invalid WKST value "'+t+'"');e.wkst=D.Recur.icalDayToNumericDay(t)}},u={BYSECOND:r.bind(this,"BYSECOND",0,60),BYMINUTE:r.bind(this,"BYMINUTE",0,59),BYHOUR:r.bind(this,"BYHOUR",0,23),BYDAY:function(t){if(a.test(t))return t;throw new Error('invalid BYDAY value "'+t+'"')},BYMONTHDAY:r.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:r.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:r.bind(this,"BYWEEKNO",-53,53),BYMONTH:r.bind(this,"BYMONTH",1,12),BYSETPOS:r.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 n=Object.create(null),r=t.split(";"),i=r.length,a=0;a<i;a++){var o=r[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]);n[f]=1==h.length?h[0]:h}else c in s?s[c](d,n,e):n[l]=d}return n}}(),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],n=(c=u[1])-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<c&&n>=0||n<0)&&(this.last.day+=n)}else{var r=D.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[r]}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,n){for(var r,i=D.Time.daysInMonth(e,t),a=[],o=0,s=n.length;o<s;o++)if(r=n[o],!(Math.abs(r)>i)){if(r<0)r=i+(r+1);else if(0===r)continue;-1===a.indexOf(r)&&a.push(r)}return a.sort((function(t,e){return t-e}))},_byDayAndMonthDay:function(t){var e,n,r,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),r=e.length;e[o]<=l&&(!t||e[o]!=l)&&o<r-1;)o++}function d(){l=0,c.increment_month(),o=0,f()}f(),t&&(l-=1);for(var h=48;!u&&h;)if(h--,(n=l+1)>i)d();else{var p=e[o++];if(p>=n){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!==r||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),n=0,r=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)&&(r++,a<=i&&n++);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(++n)||this.check_set_position(n-r-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 n=this.by_data.BYDAY[this.by_indices.BYDAY],r=this.ruleDayOfWeek(n)[1];(r-=this.rule.wkst)<0&&(r+=7),e.year=this.last.year,e.month=this.last.month,e.day=this.last.day;var i=e.startDoyWeek(this.rule.wkst);if(!(r+i<1)||t){var a=D.Time.fromDayOfYear(i+r,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 n=D.Time.fromDayOfYear(t,e);this.last.day=n.day,this.last.month=n.month},ruleDayOfWeek:function(t,e){var n=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return n?[parseInt(n[1]||0,10),t=D.Recur.icalDayToNumericDay(n[2],e)]:[0,0]},next_generic:function(t,e,n,r,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[n]=u[this.by_indices[t]]}else o&&this["increment_"+n](this.rule.interval);return a&&s&&o&&this["increment_"+r](1),s},increment_monthday:function(t){for(var e=0;e<t;e++){var n=D.Time.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>n&&(this.last.day-=n,this.increment_month())}},increment_month:function(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{"MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;var t=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,n,r){this.last[e]+=t;var i=D.helpers.trunc(this.last[e]/n);this.last[e]%=n,0!=i&&this["increment_"+r](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 n={},r=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];a in this.rule.parts&&(n[a]=this.rule.parts[a])}if("BYMONTH"in n&&"BYWEEKNO"in n){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 n.BYMONTH:delete n.BYWEEKNO}var h=Object.keys(n).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 n){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 n){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 n&&"BYMONTH"in n){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 n||2==h&&"BYWEEKNO"in n&&"BYMONTHDAY"in n))if(1==h&&"BYDAY"in n)this.days=this.days.concat(this.expand_by_day(t));else if(2==h&&"BYDAY"in n&&"BYMONTH"in n){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],P=L[1],U=(P+7-b)%7+1,Y=A-(_+7-P)%7;if(0==M)for(x=U;x<=A;x+=7)this.days.push(E+x);else M>0?(I=U+7*(M-1))<=A&&this.days.push(E+I):(I=Y+7*(M+1))>0&&this.days.push(E+I)}}this.days.sort((function(t,e){return t-e}))}else if(2==h&&"BYDAY"in n&&"BYMONTHDAY"in n){var k=this.expand_by_day(t);for(var j in k)if(k.hasOwnProperty(j)){x=k[j];var R=D.Time.fromDayOfYear(x,t);this.by_data.BYMONTHDAY.indexOf(R.day)>=0&&this.days.push(x)}}else if(3==h&&"BYDAY"in n&&"BYMONTHDAY"in n&&"BYMONTH"in n)for(var j in k=this.expand_by_day(t))k.hasOwnProperty(j)&&(x=k[j],R=D.Time.fromDayOfYear(x,t),this.by_data.BYMONTH.indexOf(R.month)>=0&&this.by_data.BYMONTHDAY.indexOf(R.day)>=0&&this.days.push(x));else if(2==h&&"BYDAY"in n&&"BYWEEKNO"in n){for(var j in k=this.expand_by_day(t))if(k.hasOwnProperty(j)){x=k[j];var B=(R=D.Time.fromDayOfYear(x,t)).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(B)&&this.days.push(x)}}else 3==h&&"BYDAY"in n&&"BYWEEKNO"in n&&"BYMONTHDAY"in n||(this.days=1==h&&"BYYEARDAY"in n?this.days.concat(this.by_data.BYYEARDAY):[]);return 0},expand_by_day:function(t){var e=[],n=this.last.clone();n.year=t,n.month=1,n.day=1,n.isDate=!0;var r=n.dayOfWeek();n.month=12,n.day=31,n.isDate=!0;var i=n.dayOfWeek(),a=n.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-r)%7+1;f<=a;f+=7)e.push(f);else if(c>0){var d;d=l>=r?l-r+1:l-r+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 n=this.by_data.BYDAY[e],r=this.ruleDayOfWeek(n),i=r[0],a=r[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 n=0;n<e;n++)if(this.ruleDayOfWeek(t[n],this.rule.wkst)[1]>this.ruleDayOfWeek(t[e],this.rule.wkst)[1]){var r=t[e];t[e]=t[n],t[n]=r}},check_contract_restriction:function(e,n){var r=t._indexMap[e],i=t._expandMap[this.rule.freq][r],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]==n){a=!0;break}}else a=!0;return a},check_contracting_rules:function(){var t=this.last.dayOfWeek(),e=this.last.weekNumber(this.rule.wkst),n=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",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",n)},setup_defaults:function(e,n,r){var i=t._indexMap[e];return t._expandMap[this.rule.freq][i]!=t.CONTRACT&&(e in this.by_data||(this.by_data[e]=[r]),this.rule.freq!=n)?this.by_data[e][0]:r},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 n(t){this.ruleDates=[],this.exDates=[],this.fromData(t)}return n.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(e){var n=D.helpers.formatClassType(e.dtstart,D.Time);if(!n)throw new Error(".dtstart (ICAL.Time) must be given");if(this.dtstart=n,e.component)this._init(e.component);else{if(this.last=t(e.last)||n.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,n,r=0;;){if(r++>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||((n=this.exDate.compare(this.last))<0&&this._nextExDay(),0!==n))return this.last;this._nextExDay()}},toJSON:function(){function t(t){return t.toJSON()}var e=Object.create(null);return e.ruleIterators=this.ruleIterators.map(t),this.ruleDates&&(e.ruleDates=this.ruleDates.map(t)),this.exDates&&(e.exDates=this.exDates.map(t)),e.ruleDateInc=this.ruleDateInc,e.exDateInc=this.exDateInc,e.last=this.last.toJSON(),e.dtstart=this.dtstart.toJSON(),e.complete=this.complete,e},_extractDates:function(t,n){function r(t){i=D.helpers.binsearchInsert(a,t,e),a.splice(i,0,t)}for(var i,a=[],o=t.getAllProperties(n),s=o.length,u=0;u<s;u++)o[u].getValues().forEach(r);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 n,r=t.getAllProperties("rrule"),i=0,a=r.length;i<a;i++)n=r[i].getFirstValue().iterator(this.dtstart),this.ruleIterators.push(n),n.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,n,r,i=t.length,a=0;a<i;a++)n=(e=t[a]).last,e.completed?(i--,0!==a&&a--,t.splice(a,1)):(!r||r.last.compare(n)>0)&&(r=e);return r}},n}(),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 n=t.recurrenceId.toString();if(this.exceptions[n]=t,t.modifiesFuture()){var r=[t.recurrenceId.toUnixTime(),n],i=D.helpers.binsearchInsert(this.rangeExceptions,r,e);this.rangeExceptions.splice(i,0,r)}},modifiesFuture:function(){return!!this.component.hasProperty("recurrence-id")&&this.component.getFirstProperty("recurrence-id").getParameter("range")===this.THISANDFUTURE},findRangeException:function(t){if(!this.rangeExceptions.length)return null;var n=t.toUnixTime(),r=D.helpers.binsearchInsert(this.rangeExceptions,[n],e);if((r-=1)<0)return null;var i=this.rangeExceptions[r];return n<i[0]?null:i[1]},getOccurrenceDetails:function(t){var e,n=t.toString(),r=t.convertToZone(D.Timezone.utcTimezone).toString(),i={recurrenceId:t};if(n in this.exceptions)e=i.item=this.exceptions[n],i.startDate=e.startDate,i.endDate=e.endDate,i.item=e;else if(r in this.exceptions)e=this.exceptions[r],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,n=t.length,r=Object.create(null);e<n;e++)r[t[e].getFirstValue().freq]=!0;return r},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 n=this.component.getFirstProperty(t);n||(n=new D.Property(t),this.component.addProperty(n)),e.zone===D.Timezone.localTimezone||e.zone===D.Timezone.utcTimezone?n.removeParameter("tzid"):n.setParameter("tzid",e.zone.tzid),n.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,n=t.getAllSubcomponents(),r=0,i=n.length;r<i;r++)switch(e=n[r],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 P(t,e,n){if(M.randomUUID&&!e&&!t)return M.randomUUID();const r=(t=t||{}).random||(t.rng||N)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=r[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]]}(r)}var U={},Y=function(t){return t&&t.Math==Math&&t},k=Y("object"==typeof globalThis&&globalThis)||Y("object"==typeof window&&window)||Y("object"==typeof self&&self)||Y("object"==typeof g&&g)||function(){return this}()||Function("return this")(),j={},R=function(t){try{return!!t()}catch{return!0}},B=!R((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),z=!R((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),W=z,Z=Function.prototype.call,F=W?Z.bind(Z):function(){return Z.apply(Z,arguments)},H={},V={}.propertyIsEnumerable,G=Object.getOwnPropertyDescriptor,$=G&&!V.call({1:2},1);H.f=$?function(t){var e=G(this,t);return!!e&&e.enumerable}:V;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),nt=function(t){return J?et(t):function(){return tt.apply(t,arguments)}},rt=nt,it=rt({}.toString),at=rt("".slice),ot=function(t){return at(it(t),8,-1)},st=ot,ut=nt,ct=function(t){if("Function"===st(t))return ut(t)},lt=R,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=k,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=k,Pt=Nt("navigator","userAgent")||"",Ut=Mt.process,Yt=Mt.Deno,kt=Ut&&Ut.versions||Yt&&Yt.version,jt=kt&&kt.v8;jt&&(q=(K=jt.split("."))[0]>0&&K[0]<4?1:+(K[0]+K[1])),!q&&Pt&&(!(K=Pt.match(/Edge\/(\d+)/))||K[1]>=74)&&(K=Pt.match(/Chrome\/(\d+)/))&&(q=+K[1]);var Rt=q,Bt=R,zt=!!Object.getOwnPropertySymbols&&!Bt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Rt&&Rt<41})),Wt=zt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Zt=Nt,Ft=Dt,Ht=Lt,Vt=Object,Gt=Wt?function(t){return"symbol"==typeof t}:function(t){var e=Zt("Symbol");return Ft(e)&&Ht(e.prototype,Vt(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,ne=F,re=Dt,ie=wt,ae=TypeError,oe=function(t,e){var n,r;if("string"===e&&re(n=t.toString)&&!ie(r=ne(n,t))||re(n=t.valueOf)&&!ie(r=ne(n,t))||"string"!==e&&re(n=t.toString)&&!ie(r=ne(n,t)))return r;throw ae("Can't convert object to primitive value")},se={exports:{}},ue=k,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=k[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=k,we=Se,Oe=Ce,Ie=zt,Ne=Wt,Le=me("wks"),Me=xe.Symbol,Pe=Me&&Me.for,Ue=Ne?Me:Me&&Me.withoutSetter||Oe,Ye=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&&Pe?Pe(e):Ue(e)}return Le[t]},ke=F,je=wt,Re=Gt,Be=oe,ze=TypeError,We=Ye("toPrimitive"),Ze=function(t,e){if(!je(t)||Re(t))return t;var n,r=function(t,e){var n=t[e];return ee(n)?void 0:te(n)}(t,We);if(r){if(void 0===e&&(e="default"),n=ke(r,t,e),!je(n)||Re(n))return n;throw ze("Can't convert object to primitive value")}return void 0===e&&(e="number"),Be(t,e)},Fe=Ze,He=Gt,Ve=function(t){var e=Fe(t,"string");return He(e)?e:e+""},Ge=wt,$e=k.document,Ke=Ge($e)&&Ge($e.createElement),qe=function(t){return Ke?$e.createElement(t):{}},Xe=qe,Je=!B&&!R((function(){return 7!=Object.defineProperty(Xe("div"),"a",{get:function(){return 7}}).a})),Qe=B,tn=F,en=H,nn=X,rn=St,an=Ve,on=Se,sn=Je,un=Object.getOwnPropertyDescriptor;j.f=Qe?un:function(t,e){if(t=rn(t),e=an(e),sn)try{return un(t,e)}catch{}if(on(t,e))return nn(!tn(en.f,t,e),t[e])};var cn={},ln=B&&R((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),fn=wt,dn=String,hn=TypeError,pn=function(t){if(fn(t))return t;throw hn(dn(t)+" is not an object")},mn=B,yn=Je,vn=ln,gn=pn,Tn=Ve,An=TypeError,Sn=Object.defineProperty,bn=Object.getOwnPropertyDescriptor,En="enumerable",_n="configurable",Dn="writable";cn.f=mn?vn?function(t,e,n){if(gn(t),e=Tn(e),gn(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Dn in n&&!n[Dn]){var r=bn(t,e);r&&r[Dn]&&(t[e]=n.value,n={configurable:_n in n?n[_n]:r[_n],enumerable:En in n?n[En]:r[En],writable:!1})}return Sn(t,e,n)}:Sn:function(t,e,n){if(gn(t),e=Tn(e),gn(n),yn)try{return Sn(t,e,n)}catch{}if("get"in n||"set"in n)throw An("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Cn=cn,xn=X,wn=B?function(t,e,n){return Cn.f(t,e,xn(1,n))}:function(t,e,n){return t[e]=n,t},On={exports:{}},In=B,Nn=Se,Ln=Function.prototype,Mn=In&&Object.getOwnPropertyDescriptor,Pn=Nn(Ln,"name"),Un={EXISTS:Pn,PROPER:Pn&&"something"===function(){}.name,CONFIGURABLE:Pn&&(!In||In&&Mn(Ln,"name").configurable)},Yn=Dt,kn=he,jn=ct(Function.toString);Yn(kn.inspectSource)||(kn.inspectSource=function(t){return jn(t)});var Rn,Bn,zn,Wn=kn.inspectSource,Zn=Dt,Fn=k.WeakMap,Hn=Zn(Fn)&&/native code/.test(String(Fn)),Vn=Ce,Gn=me("keys"),$n=function(t){return Gn[t]||(Gn[t]=Vn(t))},Kn={},qn=Hn,Xn=k,Jn=wt,Qn=wn,tr=Se,er=he,nr=$n,rr=Kn,ir="Object already initialized",ar=Xn.TypeError,or=Xn.WeakMap;if(qn||er.state){var sr=er.state||(er.state=new or);sr.get=sr.get,sr.has=sr.has,sr.set=sr.set,Rn=function(t,e){if(sr.has(t))throw ar(ir);return e.facade=t,sr.set(t,e),e},Bn=function(t){return sr.get(t)||{}},zn=function(t){return sr.has(t)}}else{var ur=nr("state");rr[ur]=!0,Rn=function(t,e){if(tr(t,ur))throw ar(ir);return e.facade=t,Qn(t,ur,e),e},Bn=function(t){return tr(t,ur)?t[ur]:{}},zn=function(t){return tr(t,ur)}}var cr={set:Rn,get:Bn,has:zn,enforce:function(t){return zn(t)?Bn(t):Rn(t,{})},getterFor:function(t){return function(e){var n;if(!Jn(e)||(n=Bn(e)).type!==t)throw ar("Incompatible receiver, "+t+" required");return n}}},lr=R,fr=Dt,dr=Se,hr=B,pr=Un.CONFIGURABLE,mr=Wn,yr=cr.enforce,vr=cr.get,gr=Object.defineProperty,Tr=hr&&!lr((function(){return 8!==gr((function(){}),"length",{value:8}).length})),Ar=String(String).split("String"),Sr=On.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!dr(t,"name")||pr&&t.name!==e)&&(hr?gr(t,"name",{value:e,configurable:!0}):t.name=e),Tr&&n&&dr(n,"arity")&&t.length!==n.arity&&gr(t,"length",{value:n.arity});try{n&&dr(n,"constructor")&&n.constructor?hr&&gr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var r=yr(t);return dr(r,"source")||(r.source=Ar.join("string"==typeof e?e:"")),t};Function.prototype.toString=Sr((function(){return fr(this)&&vr(this).source||mr(this)}),"toString");var br=On.exports,Er=Dt,_r=cn,Dr=br,Cr=le,xr=function(t,e,n,r){r||(r={});var i=r.enumerable,a=void 0!==r.name?r.name:e;if(Er(n)&&Dr(n,a,r),r.global)i?t[e]=n:Cr(e,n);else{try{r.unsafe?t[e]&&(i=!0):delete t[e]}catch{}i?t[e]=n:_r.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},wr={},Or=Math.ceil,Ir=Math.floor,Nr=Math.trunc||function(t){var e=+t;return(e>0?Ir:Or)(e)},Lr=Nr,Mr=function(t){var e=+t;return e!=e||0===e?0:Lr(e)},Pr=Mr,Ur=Math.max,Yr=Math.min,kr=function(t,e){var n=Pr(t);return n<0?Ur(n+e,0):Yr(n,e)},jr=Mr,Rr=Math.min,Br=function(t){return function(t){return t>0?Rr(jr(t),9007199254740991):0}(t.length)},zr=St,Wr=kr,Zr=Br,Fr=function(t){return function(e,n,r){var i,a=zr(e),o=Zr(a),s=Wr(r,o);if(t&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}},Hr={includes:Fr(!0),indexOf:Fr(!1)},Vr=Se,Gr=St,$r=Hr.indexOf,Kr=Kn,qr=ct([].push),Xr=function(t,e){var n,r=Gr(t),i=0,a=[];for(n in r)!Vr(Kr,n)&&Vr(r,n)&&qr(a,n);for(;e.length>i;)Vr(r,n=e[i++])&&(~$r(a,n)||qr(a,n));return a},Jr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Qr=Xr,ti=Jr.concat("length","prototype");wr.f=Object.getOwnPropertyNames||function(t){return Qr(t,ti)};var ei={};ei.f=Object.getOwnPropertySymbols;var ni=Nt,ri=wr,ii=ei,ai=pn,oi=ct([].concat),si=ni("Reflect","ownKeys")||function(t){var e=ri.f(ai(t)),n=ii.f;return n?oi(e,n(t)):e},ui=Se,ci=si,li=j,fi=cn,di=function(t,e,n){for(var r=ci(e),i=fi.f,a=li.f,o=0;o<r.length;o++){var s=r[o];!ui(t,s)&&(!n||!ui(n,s))&&i(t,s,a(e,s))}},hi=R,pi=Dt,mi=/#|\.prototype\./,yi=function(t,e){var n=gi[vi(t)];return n==Ai||n!=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=k,Ei=j.f,_i=wn,Di=xr,Ci=le,xi=di,wi=Si,Oi=function(t,e){var n,r,i,a,o,s=t.target,u=t.global,c=t.stat;if(n=u?bi:c?bi[s]||Ci(s,{}):(bi[s]||{}).prototype)for(r in e){if(a=e[r],i=t.dontCallGetSet?(o=Ei(n,r))&&o.value:n[r],!wi(u?r:s+(c?".":"#")+r,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;xi(a,i)}(t.sham||i&&i.sham)&&_i(a,"sham",!0),Di(n,r,a,t)}},Ii=Oi,Ni=B,Li=cn.f;Ii({target:"Object",stat:!0,forced:Object.defineProperty!==Li,sham:!Ni},{defineProperty:Li});var Mi={},Pi=k,Ui={},Yi=Ye;Ui.f=Yi;var ki=Pi,ji=Se,Ri=Ui,Bi=cn.f,zi=function(t){var e=ki.Symbol||(ki.Symbol={});ji(e,t)||Bi(e,t,{value:Ri.f(t)})};zi("iterator");var Wi={},Zi=Xr,Fi=Jr,Hi=Object.keys||function(t){return Zi(t,Fi)},Vi=B,Gi=ln,$i=cn,Ki=pn,qi=St,Xi=Hi;Wi.f=Vi&&!Gi?Object.defineProperties:function(t,e){Ki(t);for(var n,r=qi(e),i=Xi(e),a=i.length,o=0;a>o;)$i.f(t,n=i[o++],r[n]);return t};var Ji,Qi=Nt("document","documentElement"),ta=pn,ea=Wi,na=Jr,ra=Kn,ia=Qi,aa=qe,oa="prototype",sa="script",ua=$n("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"),n="java"+sa+":";return e.style.display="none",ia.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(la("document.F=Object")),t.close(),t.F}():fa(Ji);for(var t=na.length;t--;)delete da[oa][na[t]];return da()};ra[ua]=!0;var ha=Object.create||function(t,e){var n;return null!==t?(ca[oa]=ta(t),n=new ca,ca[oa]=null,n[ua]=t):n=da(),void 0===e?n:ea.f(n,e)},pa=Ye,ma=ha,ya=cn.f,va=pa("unscopables"),ga=Array.prototype;null==ga[va]&&ya(ga,va,{configurable:!0,value:ma(null)});var Ta,Aa,Sa,ba={},Ea=!R((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),_a=Se,Da=Dt,Ca=ge,xa=Ea,wa=$n("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 n=e.constructor;return Da(n)&&e instanceof n?n.prototype:e instanceof Oa?Ia:null},La=R,Ma=Dt,Pa=wt,Ua=Na,Ya=xr,ka=Ye("iterator"),ja=!1;[].keys&&("next"in(Sa=[].keys())?(Aa=Ua(Ua(Sa)))!==Object.prototype&&(Ta=Aa):ja=!0),(!Pa(Ta)||La((function(){var t={};return Ta[ka].call(t)!==t})))&&(Ta={}),Ma(Ta[ka])||Ya(Ta,ka,(function(){return this}));var Ra={IteratorPrototype:Ta,BUGGY_SAFARI_ITERATORS:ja},Ba=cn.f,za=Se,Wa=Ye("toStringTag"),Za=function(t,e,n){t&&!n&&(t=t.prototype),t&&!za(t,Wa)&&Ba(t,Wa,{configurable:!0,value:e})},Fa=Ra.IteratorPrototype,Ha=ha,Va=X,Ga=Za,$a=ba,Ka=function(){return this},qa=Dt,Xa=String,Ja=TypeError,Qa=ct,to=pn,eo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Qa(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(n,r){return to(n),function(t){if("object"==typeof t||qa(t))return t;throw Ja("Can't set "+Xa(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),no=Oi,ro=F,io=Dt,ao=Na,oo=eo,so=Za,uo=wn,co=xr,lo=ba,fo=Un.PROPER,ho=Un.CONFIGURABLE,po=Ra.IteratorPrototype,mo=Ra.BUGGY_SAFARI_ITERATORS,yo=Ye("iterator"),vo="keys",go="values",To="entries",Ao=function(){return this},So=function(t,e,n,r,i,a,o){!function(t,e,n,r){var i=e+" Iterator";t.prototype=Ha(Fa,{next:Va(+!r,n)}),Ga(t,i,!1),$a[i]=Ka}(n,e,r);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 n(this,t)}}return function(){return new n(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 ro(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 no({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=cr,xo=cn.f,wo=So,Oo=bo,Io=B,No="Array Iterator",Lo=Co.set,Mo=Co.getterFor(No),Po=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,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,Oo(void 0,!0)):Oo("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),Uo=Do.Arguments=Do.Array;if(_o("keys"),_o("values"),_o("entries"),Io&&"values"!==Uo.name)try{xo(Uo,"name",{value:"values"})}catch{}var Yo={};Yo[Ye("toStringTag")]="z";var ko="[object z]"===String(Yo),jo=ko,Ro=Dt,Bo=ot,zo=Ye("toStringTag"),Wo=Object,Zo="Arguments"==Bo(function(){return arguments}()),Fo=jo?Bo:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch{}}(e=Wo(t),zo))?n:Zo?Bo(e):"Object"==(r=Bo(e))&&Ro(e.callee)?"Arguments":r},Ho=Fo,Vo=String,Go=function(t){if("Symbol"===Ho(t))throw TypeError("Cannot convert a Symbol value to a string");return Vo(t)},$o=ct,Ko=Mr,qo=Go,Xo=gt,Jo=$o("".charAt),Qo=$o("".charCodeAt),ts=$o("".slice),es=function(t){return function(e,n){var r,i,a=qo(Xo(e)),o=Ko(n),s=a.length;return o<0||o>=s?t?"":void 0:(r=Qo(a,o))<55296||r>56319||o+1===s||(i=Qo(a,o+1))<56320||i>57343?t?Jo(a,o):r:t?ts(a,o,o+2):i-56320+(r-55296<<10)+65536}},ns=(es(!1),es(!0)),rs=Go,is=cr,as=So,os=bo,ss="String Iterator",us=is.set,cs=is.getterFor(ss);as(String,"String",(function(t){us(this,{type:ss,string:rs(t),index:0})}),(function(){var t,e=cs(this),n=e.string,r=e.index;return r>=n.length?os(void 0,!0):(t=ns(n,r),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=k,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=Po,vs=wn,gs=Ye,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 n in ys)if(t[n]!==ys[n])try{vs(t,n,ys[n])}catch{t[n]=ys[n]}}};for(var Es in ps)bs(hs[Es]&&hs[Es].prototype,Es);bs(ms,"DOMTokenList");var _s=B,Ds=ct,Cs=F,xs=R,ws=Hi,Os=ei,Is=H,Ns=ge,Ls=pt,Ms=Object.assign,Ps=Object.defineProperty,Us=Ds([].concat),Ys=!Ms||xs((function(){if(_s&&1!==Ms({b:1},Ms(Ps({},"a",{enumerable:!0,get:function(){Ps(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=Ms({},t)[n]||ws(Ms({},e)).join("")!=r}))?function(t,e){for(var n=Ns(t),r=arguments.length,i=1,a=Os.f,o=Is.f;r>i;)for(var s,u=Ls(arguments[i++]),c=a?Us(ws(u),a(u)):ws(u),l=c.length,f=0;l>f;)s=c[f++],(!_s||Cs(o,u,s))&&(n[s]=u[s]);return n}:Ms,ks=Ys;Oi({target:"Object",stat:!0,arity:2,forced:Object.assign!==ks},{assign:ks});var js=F,Rs=Nt,Bs=Ye,zs=xr,Ws=function(){var t=Rs("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,r=Bs("toPrimitive");e&&!e[r]&&zs(e,r,(function(t){return js(n,this)}),{arity:1})},Zs=Ws;zi("toPrimitive"),Zs();var Fs=pn,Hs=oe,Vs=TypeError,Gs=Se,$s=xr,Ks=Ye("toPrimitive"),qs=Date.prototype;Gs(qs,Ks)||$s(qs,Ks,(function(t){if(Fs(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw Vs("Incorrect hint");return Hs(this,t)}));var Xs={},Js=Ve,Qs=cn,tu=X,eu=kr,nu=Br,ru=function(t,e,n){var r=Js(e);r in t?Qs.f(t,r,tu(0,n)):t[r]=n},iu=Array,au=Math.max,ou=ot,su=St,uu=wr.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,n){for(var r=nu(t),i=eu(e,r),a=eu(void 0===n?r:n,r),o=iu(au(a-i,0)),s=0;i<a;i++,s++)ru(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=R,vu=Dt,gu=Fo,Tu=Wn,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=Ye("species"),Mu=Array,Pu=pt,Uu=ge,Yu=Br,ku=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)},ju=ct([].push),Ru=function(t){var e=1==t,n=2==t,r=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=Uu(u),m=Pu(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=Yu(m),g=0,T=f||ku,A=e?T(u,v):n||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:ju(A,d)}else switch(t){case 4:return!1;case 7:ju(A,d)}return a?-1:r||i?i:A}},Bu={forEach:Ru(0),map:Ru(1),filter:Ru(2),some:Ru(3),every:Ru(4),find:Ru(5),findIndex:Ru(6),filterReject:Ru(7)},zu=Oi,Wu=k,Zu=F,Fu=ct,Hu=B,Vu=zt,Gu=R,$u=Se,Ku=Lt,qu=pn,Xu=St,Ju=Ve,Qu=Go,tc=X,ec=ha,nc=Hi,rc=wr,ic=Xs,ac=ei,oc=j,sc=cn,uc=Wi,cc=H,lc=xr,fc=me,dc=Kn,hc=Ce,pc=Ye,mc=Ui,yc=zi,vc=Ws,gc=Za,Tc=cr,Ac=Bu.forEach,Sc=$n("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,Pc=cc.f,Uc=Fu([].push),Yc=fc("symbols"),kc=fc("op-symbols"),jc=fc("wks"),Rc=!Ic||!Ic[Ec]||!Ic[Ec].findChild,Bc=Hu&&Gu((function(){return 7!=ec(Lc({},"a",{get:function(){return Lc(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Nc(Cc,e);r&&delete Cc[e],Lc(t,e,n),r&&t!==Cc&&Lc(Cc,e,r)}:Lc,zc=function(t,e){var n=Yc[t]=ec(wc);return _c(n,{type:bc,tag:t,description:e}),Hu||(n.description=e),n},Wc=function(t,e,n){t===Cc&&Wc(kc,e,n),qu(t);var r=Ju(e);return qu(n),$u(Yc,r)?(n.enumerable?($u(t,Sc)&&t[Sc][r]&&(t[Sc][r]=!1),n=ec(n,{enumerable:tc(0,!1)})):($u(t,Sc)||Lc(t,Sc,tc(1,{})),t[Sc][r]=!0),Bc(t,r,n)):Lc(t,r,n)},Zc=function(t,e){qu(t);var n=Xu(e),r=nc(n).concat(Gc(n));return Ac(r,(function(e){(!Hu||Zu(Fc,n,e))&&Wc(t,e,n[e])})),t},Fc=function(t){var e=Ju(t),n=Zu(Pc,this,e);return!(this===Cc&&$u(Yc,e)&&!$u(kc,e))&&(!(n||!$u(this,e)||!$u(Yc,e)||$u(this,Sc)&&this[Sc][e])||n)},Hc=function(t,e){var n=Xu(t),r=Ju(e);if(n!==Cc||!$u(Yc,r)||$u(kc,r)){var i=Nc(n,r);return i&&$u(Yc,r)&&!($u(n,Sc)&&n[Sc][r])&&(i.enumerable=!0),i}},Vc=function(t){var e=Mc(Xu(t)),n=[];return Ac(e,(function(t){!$u(Yc,t)&&!$u(dc,t)&&Uc(n,t)})),n},Gc=function(t){var e=t===Cc,n=Mc(e?kc:Xu(t)),r=[];return Ac(n,(function(t){$u(Yc,t)&&(!e||$u(Cc,t))&&Uc(r,Yc[t])})),r};Vu||(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),n=function(t){this===Cc&&Zu(n,kc,t),$u(this,Sc)&&$u(this[Sc],e)&&(this[Sc][e]=!1),Bc(this,e,tc(1,t))};return Hu&&Rc&&Bc(Cc,e,{configurable:!0,set:n}),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=Fc,sc.f=Wc,uc.f=Zc,oc.f=Hc,rc.f=ic.f=Vc,ac.f=Gc,mc.f=function(t){return zc(pc(t),t)},Hu&&(Lc(wc,"description",{configurable:!0,get:function(){return Dc(this).description}}),lc(Cc,"propertyIsEnumerable",Fc,{unsafe:!0}))),zu({global:!0,constructor:!0,wrap:!0,forced:!Vu,sham:!Vu},{Symbol:xc}),Ac(nc(jc),(function(t){yc(t)})),zu({target:bc,stat:!0,forced:!Vu},{useSetter:function(){Rc=!0},useSimple:function(){Rc=!1}}),zu({target:"Object",stat:!0,forced:!Vu,sham:!Hu},{create:function(t,e){return void 0===e?ec(t):Zc(ec(t),e)},defineProperty:Wc,defineProperties:Zc,getOwnPropertyDescriptor:Hc}),zu({target:"Object",stat:!0,forced:!Vu},{getOwnPropertyNames:Vc}),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"),nl=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 n=qc("Symbol")(e);return el[e]=n,nl[n]=e,n}});var rl=Oi,il=Se,al=Gt,ol=Kt,sl=$c,ul=me("symbol-to-string-registry");rl({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=F,Tl=ct,Al=R,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,Pl=/^[\uD800-\uDBFF]$/,Ul=/^[\uDC00-\uDFFF]$/,Yl=!Cl||Al((function(){var t=yl("Symbol")();return"[null]"!=xl([t])||"{}"!=xl({a:t})||"{}"!=xl(Object(t))})),kl=Al((function(){return'"\\udf06\\ud834"'!==xl("\udf06\ud834")||'"\\udead"'!==xl("\udead")})),jl=function(t,e){var n=Dl(arguments),r=e;if((El(e)||void 0!==t)&&!_l(t))return Sl(e)||(e=function(t,e){if(bl(r)&&(e=gl(r,this,t,e)),!_l(e))return e}),n[1]=e,vl(xl,null,n)},Rl=function(t,e,n){var r=Ol(n,e-1),i=Ol(n,e+1);return wl(Pl,t)&&!wl(Ul,i)||wl(Ul,t)&&!wl(Pl,r)?"\\u"+Ll(Il(t,0),16):t};xl&&ml({target:"JSON",stat:!0,arity:3,forced:Yl||kl},{stringify:function(t,e,n){var r=Dl(arguments),i=vl(Yl?jl:xl,null,r);return kl&&"string"==typeof i?Nl(i,Ml,Rl):i}});var Bl=ei,zl=ge;Oi({target:"Object",stat:!0,forced:!zt||R((function(){Bl.f(1)}))},{getOwnPropertySymbols:function(t){var e=Bl.f;return e?e(zl(t)):[]}});var Wl=Oi,Zl=B,Fl=k,Hl=ct,Vl=Se,Gl=Dt,$l=Lt,Kl=Go,ql=cn.f,Xl=di,Jl=Fl.Symbol,Ql=Jl&&Jl.prototype;if(Zl&&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 nf="Symbol(test)"==String(Jl("test")),rf=Hl(Ql.valueOf),af=Hl(Ql.toString),of=/^Symbol\((.*)\)[^)]+$/,sf=Hl("".replace),uf=Hl("".slice);ql(Ql,"description",{configurable:!0,get:function(){var t=rf(this);if(Vl(tf,t))return"";var e=af(t),n=nf?uf(e,7,-1):sf(e,of,"$1");return""===n?void 0:n}}),Wl({global:!0,constructor:!0,forced:!0},{Symbol:ef})}var cf=Fo,lf=ko?{}.toString:function(){return"[object "+cf(this)+"]"};ko||xr(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 n=yf(mf(e));return 1&t&&(n=vf(n,Tf,"")),2&t&&(n=vf(n,Af,"")),n}},bf={start:Sf(1),end:Sf(2),trim:Sf(3)},Ef=B,_f=k,Df=ct,Cf=Si,xf=xr,wf=Se,Of=Lt,If=Gt,Nf=Ze,Lf=R,Mf=wr.f,Pf=j.f,Uf=cn.f,Yf=pf,kf=bf.trim,jf="Number",Rf=_f[jf],Bf=Rf.prototype,zf=_f.TypeError,Wf=Df("".slice),Zf=Df("".charCodeAt);if(Cf(jf,!Rf(" 0o1")||!Rf("0b1")||Rf("+0x1"))){for(var Ff,Hf=function(t){var e=arguments.length<1?0:Rf(function(t){var e=Nf(t,"number");return"bigint"==typeof e?e:function(t){var e,n,r,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=kf(c),43===(e=Zf(c,0))||45===e){if(88===(n=Zf(c,2))||120===n)return NaN}else if(48===e){switch(Zf(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(o=(a=Wf(c,2)).length,s=0;s<o;s++)if((u=Zf(a,s))<48||u>i)return NaN;return parseInt(a,r)}return+c}(e)}(t)),n=this;return Of(Bf,n)&&Lf((function(){Yf(n)}))?function(t,e,n){var r,i;return hf&&ff(r=e.constructor)&&r!==n&&df(i=r.prototype)&&i!==n.prototype&&hf(t,i),t}(Object(e),n,Hf):e},Vf=Ef?Mf(Rf):"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;Vf.length>Gf;Gf++)wf(Rf,Ff=Vf[Gf])&&!wf(Hf,Ff)&&Uf(Hf,Ff,Pf(Rf,Ff));Hf.prototype=Bf,Bf.constructor=Hf,xf(_f,jf,Hf,{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 n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Qf(r.key),r)}}function Qf(t){var e=function(t,e){if("object"!==Xf(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==Xf(r))return r;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,n){(e=Qf(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}(this,"context",void 0),this.context=e||{}}return function(t,e,n){e&&Jf(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"formatMessage",value:function(t,e,n){var r="["+qf.LogLevel[e].toUpperCase()+"] ";return n&&n.app&&(r+=n.app+": "),"string"==typeof t?r+t:(r+="Unexpected ".concat(t.name),t.message&&(r+=' "'.concat(t.message,'"')),e===qf.LogLevel.Debug&&t.stack&&(r+="\n\nStack trace:\n".concat(t.stack)),r)}},{key:"log",value:function(t,e,n){var r,i;if(!("number"==typeof(null===(r=this.context)||void 0===r?void 0:r.level)&&t<(null===(i=this.context)||void 0===i?void 0:i.level)))switch("object"===Xf(e)&&void 0===(null==n?void 0:n.error)&&(n.error=e),t){case qf.LogLevel.Debug:s.debug(this.formatMessage(e,qf.LogLevel.Debug,n),n);break;case qf.LogLevel.Info:s.info(this.formatMessage(e,qf.LogLevel.Info,n),n);break;case qf.LogLevel.Warn:s.warn(this.formatMessage(e,qf.LogLevel.Warn,n),n);break;case qf.LogLevel.Error:s.error(this.formatMessage(e,qf.LogLevel.Error,n),n);break;case qf.LogLevel.Fatal:default:s.error(this.formatMessage(e,qf.LogLevel.Fatal,n),n)}}},{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={},nd={},rd={};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:n,MAX_SAFE_BUILD_LENGTH:r,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,r]],h=(t,e,n)=>{const r=(t=>{for(const[e,n]of d)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t})(e),i=l++;a(t,i,e),c[t]=i,u[i]=e,o[i]=new RegExp(e,n?"g":void 0),s[i]=new RegExp(r,n?"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,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\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 n=ld.test(t),r=ld.test(e);return n&&r&&(t=+t,e=+e),t===e?0:n&&!r?-1:r&&!n?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,n){if(n=gd(n),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.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,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=e.trim().match(n.loose?yd[vd.LOOSE]:yd[vd.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[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");r[4]?this.prerelease=r[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=r[5]?r[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 n=0;do{const t=this.prerelease[n],r=e.prerelease[n];if(hd("prerelease compare",n,t,r),void 0===t&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===t)return-1;if(t!==r)return Td(t,r)}while(++n)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let n=0;do{const t=this.build[n],r=e.build[n];if(hd("prerelease compare",n,t,r),void 0===t&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===t)return-1;if(t!==r)return Td(t,r)}while(++n)}inc(t,e,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,n),this.inc("pre",e,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,n),this.inc("pre",e,n);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(n)?1:0;if(!e&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[t];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(e===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let r=[e,t];!1===n&&(r=[e]),0===Td(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}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,n=!1)=>{if(t instanceof Sd)return t;try{return new Sd(t,e)}catch(t){if(!n)return null;throw t}};var Ed=(t,e)=>{const n=bd(t,e);return n?n.version:null};const _d=Ad;Object.defineProperty(rd,"__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);rd.ProxyBus=Od,rd.SimpleBus=Id,rd.emit=function(t,e){Nd.emit(t,e)},rd.subscribe=function(t,e){Nd.subscribe(t,e)},rd.unsubscribe=function(t,e){Nd.unsubscribe(t,e)},Object.defineProperty(nd,"__esModule",{value:!0});var Ld=rd,Md=document.getElementsByTagName("head")[0],Pd=Md?Md.getAttribute("data-requesttoken"):null,Ud=[];Ld.subscribe("csrf-token-update",(function(t){Pd=t.token,Ud.forEach((function(e){try{e(t.token)}catch(t){s.error("error updating CSRF token observer",t)}}))}));var Yd=function(t,e){return t?t.getAttribute(e):null},kd=document.getElementsByTagName("head")[0],jd=Yd(kd,"data-user"),Rd=Yd(kd,"data-user-displayname"),Bd=!(typeof OC>"u")&&OC.isUserAdmin();nd.getCurrentUser=function(){return null===jd?null:{uid:jd,displayName:Rd,isAdmin:Bd}},nd.getRequestToken=function(){return Pd},nd.onRequestTokenUpdate=function(t){Ud.push(t)},Object.defineProperty(ed,"__esModule",{value:!0}),ed.LoggerBuilder=void 0;var zd=nd,Wd=$f;function Zd(t){return Zd="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},Zd(t)}function Fd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Vd(r.key),r)}}function Hd(t,e,n){return(e=Vd(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vd(t){var e=function(t,e){if("object"!==Zd(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==Zd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Zd(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),Hd(this,"context",void 0),Hd(this,"factory",void 0),this.context={},this.factory=e}return function(t,e,n){e&&Fd(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 n,r;"complete"===document.readyState||"interactive"===document.readyState?(t.context.level=null!==(n=null===(r=window._oc_config)||void 0===r?void 0:r.loglevel)&&void 0!==n?n: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 r.LogLevel}}),t.getLogger=function(){return i().build()},t.getLoggerBuilder=i;var e=Mi,n=ed,r=$f;function i(){return new n.LoggerBuilder(e.buildConsoleLogger)}}(U);const $d=U.getLoggerBuilder().detectUser().setApp("@nextcloud/calendar-availability-vue").build();function Kd(t){const e=w.parse(t),n=new w.Component(e),r=n.getFirstSubcomponent("vavailability");let i;const a=n.getFirstSubcomponent("vtimezone");a&&(i=a.getFirstProperty("tzid").getFirstValue());const o=r.getAllSubcomponents("available"),s={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]};return o.forEach((t=>{const e=t.getFirstProperty("dtstart").getFirstValue().toJSDate(),n=t.getFirstProperty("dtend").getFirstValue().toJSDate(),r=t.getFirstProperty("rrule");"WEEKLY"===r.getFirstValue().freq?r.getFirstValue().getComponent("BYDAY").forEach((t=>{s[t].push({start:e.getTime()/1e3,end:n.getTime()/1e3})})):$d.warn("rrule not supported",{rrule:r.toICALString()})})),{slots:s,timezoneId:i}}function qd(t,e){const n=new c.Component("vcalendar");n.addPropertyWithValue("prodid","Nextcloud DAV app");const r=S(e);if(r){const t=new c.Component(c.parse(r));n.addSubcomponent(t)}else{const t=new c.Component("vtimezone");t.addPropertyWithValue("tzid",e),n.addSubcomponent(t)}const i=new c.Component("vavailability"),a=t.reduce(((t,e)=>{var n;const r=new Date(1e3*e.start),i=new Date(1e3*e.end),a=[r.getHours(),r.getMinutes(),i.getHours(),i.getMinutes()].join("-");return{...t,[a]:[...null!=(n=t[a])?n:[],e]}}),{});return Object.keys(a).map((t=>{const n=a[t],r=n[0].start,i=n[0].end,o=n.map((t=>t.day)).filter(((t,e,n)=>n.indexOf(t)===e)),s=new c.Component("available");return s.addPropertyWithValue("dtstart",c.Time.fromJSDate(new Date(1e3*r),!1)).setParameter("tzid",e),s.addPropertyWithValue("dtend",c.Time.fromJSDate(new Date(1e3*i),!1)).setParameter("tzid",e),s.addPropertyWithValue("uid",P()),s.addPropertyWithValue("rrule",{freq:"WEEKLY",byday:o}),s})).map(i.addSubcomponent.bind(i)),n.addSubcomponent(i),n.toString()}var Xd=r(43554),Jd=r(64024),Qd=r(14596),th=r(93664),eh=r(56580),nh=r.n(eh),rh=r(79753),ih=r(77958),ah=nh()((function(t){return th.Z.defaults.headers["X-Requested-With"]="XMLHttpRequest",Qd.lD().patch("request",th.Z),Qd.eI((0,rh.generateRemoteUrl)("dav/".concat(t,"/").concat((0,ih.ts)().uid)))})),oh=(0,r(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 n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ch(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?uh(Object(n),!0).forEach((function(e){lh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function lh(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==sh(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==sh(r))return r;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:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function dh(){dh=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return r(o,"_invoke",{value:S(t,n,s)}),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}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&&n.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(r,a,o,s){var u=l(t[r],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==sh(f)&&n.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;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function S(t,e,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return{value:void 0,done:!0}}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=b(o,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function b(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,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 r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],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,r(g,"constructor",{value:p,configurable:!0}),r(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,n,r,i,a){void 0===a&&(a=Promise);var o=new A(c(e,n,r,i),a);return t.isGeneratorFunction(n)?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),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,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)&&n.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 r(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function hh(t,e,n,r,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ph(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(t){hh(a,r,i,o,s,"next",t)}function s(t){hh(a,r,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,n,r,i,a;return dh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=ah("calendars"),t.next=3,n.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 r=t.sent,t.next=6,(0,Qd.sw)(r.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,n){var r,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})}))})),r=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 n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?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(r,n),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,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return r(o,"_invoke",{value:S(t,n,s)}),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}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&&n.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(r,a,o,s){var u=l(t[r],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==Th(f)&&n.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;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function S(t,e,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return{value:void 0,done:!0}}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=b(o,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function b(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,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 r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],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,r(g,"constructor",{value:p,configurable:!0}),r(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,n,r,i,a){void 0===a&&(a=Promise);var o=new A(c(e,n,r,i),a);return t.isGeneratorFunction(n)?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),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,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)&&n.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 r(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Sh(t,e,n,r,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function bh(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(t){Sh(a,r,i,o,s,"next",t)}function s(t){Sh(a,r,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,rh.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,rh.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=r(57274),wh=r(71998),Oh=r(67912),Ih=r(47414),Nh=r(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,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return r(o,"_invoke",{value:S(t,n,s)}),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}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&&n.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(r,a,o,s){var u=l(t[r],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==Lh(f)&&n.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;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return a=a?a.then(r,r):r()}})}function S(t,e,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return{value:void 0,done:!0}}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=b(o,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function b(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=l(r,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 r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],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,r(g,"constructor",{value:p,configurable:!0}),r(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,n,r,i,a){void 0===a&&(a=Promise);var o=new A(c(e,n,r,i),a);return t.isGeneratorFunction(n)?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),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,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)&&n.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 r(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Ph(t,e,n,r,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Uh(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(t){Ph(a,r,i,o,s,"next",t)}function s(t){Ph(a,r,i,o,s,"throw",t)}o(void 0)}))}}var Yh={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")}},mounted:function(){var e=this;return Uh(Mh().mark((function n(){var r,i,a;return Mh().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,mh();case 3:(r=n.sent)?(i=r.slots,a=r.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:[]}),n.next=11;break;case 7:n.prev=7,n.t0=n.catch(0),Nh.error("could not load existing availability",n.t0),(0,Jd.x2)(t("dav","Failed to load availability"));case 11:return n.prev=11,e.loading=!1,n.finish(11);case 14:case"end":return n.stop()}}),n,null,[[0,7,11,14]])})))()},methods:{save:function(){var e=this;return Uh(Mh().mark((function n(){return Mh().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,e.saving=!0,n.next=4,vh(e.slots,e.timezone);case 4:if(!e.automated){n.next=9;break}return n.next=7,Eh();case 7:n.next=11;break;case 9:return n.next=11,Dh();case 11:(0,Jd.s$)(t("dav","Saved availability")),n.next=18;break;case 14:n.prev=14,n.t0=n.catch(0),Nh.error("could not save availability",n.t0),(0,Jd.x2)(t("dav","Failed to save availability"));case 18:return n.prev=18,e.saving=!1,n.finish(18);case 21:case"end":return n.stop()}}),n,null,[[0,14,18,21]])})))()}}},kh=r(93379),jh=r.n(kh),Rh=r(7795),Bh=r.n(Rh),zh=r(90569),Wh=r.n(zh),Zh=r(3565),Fh=r.n(Zh),Hh=r(19216),Vh=r.n(Hh),Gh=r(44589),$h=r.n(Gh),Kh=r(24589),qh={};qh.styleTagTransform=$h(),qh.setAttributes=Fh(),qh.insert=Wh().bind(null,"head"),qh.domAPI=Bh(),qh.insertStyleElement=Vh(),jh()(Kh.Z,qh),Kh.Z&&Kh.Z.locals&&Kh.Z.locals;var Xh=(0,r(51900).Z)(Yh,(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("strong",[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",{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,"41cb7b00",null),Jh=Xh.exports;i.default.prototype.$t=a.Iu,new(i.default.extend(Jh))({}).$mount("#settings-personal-availability")},24589:function(t,e,n){"use strict";var r=n(87537),i=n.n(r),a=n(23645),o=n.n(a)()(i());o.push([t.id,".availability-day[data-v-41cb7b00]{padding:0 10px 0 10px;position:absolute}.availability-slots[data-v-41cb7b00]{display:flex;white-space:nowrap}.availability-slot[data-v-41cb7b00]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-41cb7b00]{display:flex;flex-direction:column}[data-v-41cb7b00] .mx-input-wrapper{width:85px}[data-v-41cb7b00] .mx-datepicker{width:97px}[data-v-41cb7b00] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-41cb7b00]{padding:32px 12px 12px 0}.grid-table[data-v-41cb7b00]{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-41cb7b00]{align-self:flex-end}.label-weekday[data-v-41cb7b00]{position:relative;display:inline-flex;padding-top:4px}.delete-slot[data-v-41cb7b00]{background-color:rgba(0,0,0,0);border:none;padding-bottom:12px;opacity:.5}.delete-slot[data-v-41cb7b00]:hover{opacity:1}.add-another[data-v-41cb7b00]{background-color:rgba(0,0,0,0);border:none;opacity:.5;display:inline-flex;padding:0;margin:0;margin-bottom:3px}.add-another[data-v-41cb7b00]:hover{opacity:1}.to-text[data-v-41cb7b00]{padding-right:12px}.time-zone-text[data-v-41cb7b00]{padding-left:22px}.empty-content[data-v-41cb7b00]{color:var(--color-text-lighter);margin-top:4px}","",{version:3,sources:["webpack://./apps/dav/src/views/Availability.vue"],names:[],mappings:"AACA,mCACC,qBAAA,CACA,iBAAA,CAED,qCACC,YAAA,CACA,kBAAA,CAED,oCACC,YAAA,CACA,kBAAA,CACA,kBAAA,CAED,0CACC,YAAA,CACA,qBAAA,CAED,oCACC,UAAA,CAED,iCACC,UAAA,CAED,+BACC,yCAAA,CACA,WAAA,CAED,4BACC,wBAAA,CAED,6BACC,YAAA,CACA,kBAAA,CACA,oBAAA,CACA,gBAAA,CACA,yDAAA,CAED,yBACC,mBAAA,CAED,gCACC,iBAAA,CACA,mBAAA,CACA,eAAA,CAED,8BACC,8BAAA,CACA,WAAA,CACA,mBAAA,CACA,UAAA,CACA,oCACC,SAAA,CAIF,8BACC,8BAAA,CACA,WAAA,CACA,UAAA,CACA,mBAAA,CACA,SAAA,CACA,QAAA,CACA,iBAAA,CAEA,oCACC,SAAA,CAGF,0BACC,kBAAA,CAED,iCACC,iBAAA,CAED,gCACC,+BAAA,CACA,cAAA",sourcesContent:["\n.availability-day {\n\tpadding: 0 10px 0 10px;\n\tposition: absolute;\n}\n.availability-slots {\n\tdisplay: flex;\n\twhite-space: nowrap;\n}\n.availability-slot {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n}\n.availability-slot-group {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n::v-deep .mx-input-wrapper {\n\twidth: 85px;\n}\n::v-deep .mx-datepicker {\n\twidth: 97px;\n}\n::v-deep .multiselect {\n\tborder: 1px solid var(--color-border-dark);\n\twidth: 120px;\n}\n.time-zone {\n\tpadding: 32px 12px 12px 0;\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 min-content min-content;\n}\n.button {\n\talign-self: flex-end;\n}\n.label-weekday {\n\tposition: relative;\n\tdisplay: inline-flex;\n\tpadding-top: 4px;\n}\n.delete-slot {\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding-bottom: 12px;\n\topacity: .5;\n\t&:hover {\n\t\topacity: 1;\n\t}\n}\n\n.add-another {\n\tbackground-color: transparent;\n\tborder: none;\n\topacity: .5;\n\tdisplay: inline-flex;\n\tpadding: 0;\n\tmargin: 0;\n\tmargin-bottom: 3px;\n\n\t&:hover {\n\t\topacity: 1;\n\t}\n}\n.to-text {\n\tpadding-right: 12px;\n}\n.time-zone-text{\n\tpadding-left: 22px;\n}\n.empty-content {\n\tcolor: var(--color-text-lighter);\n\tmargin-top: 4px;\n}\n\n"],sourceRoot:""}]),e.Z=o},96425:function(t,e,n){var r=n(3118),i=n(9435);function a(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}a.prototype=r(i.prototype),a.prototype.constructor=a,t.exports=a},7548:function(t,e,n){var r=n(3118),i=n(9435);function a(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}a.prototype=r(i.prototype),a.prototype.constructor=a,t.exports=a},21078:function(t,e,n){var r=n(62488),i=n(37285);t.exports=function t(e,n,a,o,s){var u=-1,c=e.length;for(a||(a=i),s||(s=[]);++u<c;){var l=e[u];n>0&&a(l)?n>1?t(l,n-1,a,o,s):r(s,l):o||(s[s.length]=l)}return s}},9435:function(t){t.exports=function(){}},28045:function(t,e,n){var r=n(6557),i=n(89250),a=i?function(t,e){return i.set(t,e),t}:r;t.exports=a},52157:function(t){var e=Math.max;t.exports=function(t,n,r,i){for(var a=-1,o=t.length,s=r.length,u=-1,c=n.length,l=e(o-s,0),f=Array(c+l),d=!i;++u<c;)f[u]=n[u];for(;++a<s;)(d||a<o)&&(f[r[a]]=t[a]);for(;l--;)f[u++]=t[a++];return f}},14054:function(t){var e=Math.max;t.exports=function(t,n,r,i){for(var a=-1,o=t.length,s=-1,u=r.length,c=-1,l=n.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]=n[c];for(;++s<u;)(h||a<o)&&(d[p+r[s]]=t[a++]);return d}},97991:function(t){t.exports=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}},22402:function(t,e,n){var r=n(71774),i=n(55639);t.exports=function(t,e,n){var a=1&e,o=r(t);return function e(){return(this&&this!==i&&this instanceof e?o:t).apply(a?n:this,arguments)}}},71774:function(t,e,n){var r=n(3118),i=n(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 n=r(t.prototype),a=t.apply(n,e);return i(a)?a:n}}},46347:function(t,e,n){var r=n(96874),i=n(71774),a=n(86935),o=n(94487),s=n(20893),u=n(46460),c=n(55639);t.exports=function(t,e,n){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)<n?o(t,e,a,i.placeholder,void 0,d,m,void 0,void 0,n-f):r(this&&this!==c&&this instanceof i?l:t,this,d)}}},86935:function(t,e,n){var r=n(52157),i=n(14054),a=n(97991),o=n(71774),s=n(94487),u=n(20893),c=n(90451),l=n(46460),f=n(55639);t.exports=function t(e,n,d,h,p,m,y,v,g,T){var A=128&n,S=1&n,b=2&n,E=24&n,_=512&n,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=r(w,h,p,E)),m&&(w=i(w,m,y,E)),x-=N,E&&x<T){var L=l(w,I);return s(e,n,t,C.placeholder,d,w,L,v,g,T-x)}var M=S?d:this,P=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&&(P=D||o(P)),P.apply(M,w)}}},84375:function(t,e,n){var r=n(96874),i=n(71774),a=n(55639);t.exports=function(t,e,n,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 r(h,s?n:this,d)}}},94487:function(t,e,n){var r=n(86528),i=n(258),a=n(69255);t.exports=function(t,e,n,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=n.apply(void 0,p);return r(t)&&i(m,p),m.placeholder=o,a(m,t,e)}},97727:function(t,e,n){var r=n(28045),i=n(22402),a=n(46347),o=n(86935),s=n(84375),u=n(66833),c=n(63833),l=n(258),f=n(69255),d=n(40554),h=Math.max;t.exports=function(t,e,n,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,n,p,m,S,b,y,v,g];if(E&&c(_,E),t=_[0],e=_[1],n=_[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,n,p);else var D=i(t,e,n);return f((E?r:l)(D,_),t,e)}},99021:function(t,e,n){var r=n(85564),i=n(45357),a=n(30061);t.exports=function(t){return a(i(t,void 0,r),t+"")}},66833:function(t,e,n){var r=n(89250),i=n(50308),a=r?function(t){return r.get(t)}:i;t.exports=a},97658:function(t,e,n){var r=n(52060),i=Object.prototype.hasOwnProperty;t.exports=function(t){for(var e=t.name+"",n=r[e],a=i.call(r,e)?n.length:0;a--;){var o=n[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 (.+)\] \*/,n=/,? & /;t.exports=function(t){var r=t.match(e);return r?r[1].split(n):[]}},2188:function(t){var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=function(t,n){var r=n.length;if(!r)return t;var i=r-1;return n[i]=(r>1?"& ":"")+n[i],n=n.join(r>2?", ":" "),t.replace(e,"{\n/* [wrapped with "+n+"] */\n")}},37285:function(t,e,n){var r=n(62705),i=n(35694),a=n(1469),o=r?r.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(o&&t&&t[o])}},86528:function(t,e,n){var r=n(96425),i=n(66833),a=n(97658),o=n(8111);t.exports=function(t){var e=a(t),n=o[e];if("function"!=typeof n||!(e in r.prototype))return!1;if(t===n)return!0;var s=i(n);return!!s&&t===s[0]}},63833:function(t,e,n){var r=n(52157),i=n(14054),a=n(46460),o="__lodash_placeholder__",s=Math.min;t.exports=function(t,e){var n=t[1],u=e[1],c=n|u,l=c<131,f=128==u&&8==n||128==u&&256==n&&t[7].length<=e[8]||384==u&&e[7].length<=e[8]&&8==n;if(!l&&!f)return t;1&u&&(t[2]=e[2],c|=1&n?0:4);var d=e[3];if(d){var h=t[3];t[3]=h?r(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,n){var r=n(70577),i=r&&new r;t.exports=i},52060:function(t){t.exports={}},90451:function(t,e,n){var r=n(278),i=n(65776),a=Math.min;t.exports=function(t,e){for(var n=t.length,o=a(e.length,n),s=r(t);o--;){var u=e[o];t[o]=i(u,n)?s[u]:void 0}return t}},46460:function(t){var e="__lodash_placeholder__";t.exports=function(t,n){for(var r=-1,i=t.length,a=0,o=[];++r<i;){var s=t[r];s!==n&&s!==e||(t[r]=e,o[a++]=r)}return o}},258:function(t,e,n){var r=n(28045),i=n(21275)(r);t.exports=i},69255:function(t,e,n){var r=n(58775),i=n(2188),a=n(30061),o=n(87241);t.exports=function(t,e,n){var s=e+"";return a(t,i(s,o(r(s),n)))}},87241:function(t,e,n){var r=n(77412),i=n(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 r(a,(function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)})),t.sort()}},21913:function(t,e,n){var r=n(96425),i=n(7548),a=n(278);t.exports=function(t){if(t instanceof r)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,n){var r=n(97727);t.exports=function(t,e,n){return e=n?void 0:e,e=t&&null==e?t.length:e,r(t,128,void 0,void 0,void 0,void 0,e)}},40087:function(t,e,n){var r=n(97727);function i(t,e,n){var a=r(t,8,void 0,void 0,void 0,void 0,void 0,e=n?void 0:e);return a.placeholder=i.placeholder,a}i.placeholder={},t.exports=i},85564:function(t,e,n){var r=n(21078);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},84599:function(t,e,n){var r=n(68836),i=n(69306),a=Array.prototype.push;function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function s(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var i=r[0]=e.apply(void 0,r);return t.apply(void 0,r),i}}}t.exports=function t(e,n,c,l){var f="function"==typeof n,d=n===Object(n);if(d&&(l=c,c=n,n=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(r.aryMethod),P={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],n=t(arguments[0],e),r=n.length;return h.cap&&"number"==typeof e?(e=e>2?e-2:1,r&&r<=e?n:o(n,e)):n}},mixin:function(t){return function(e){var n=this;if(!x(n))return t(n,Object(e));var r=[];return _(O(e),(function(t){x(e[t])&&r.push([t,n.prototype[t]])})),t(n,Object(e)),_(r,(function(t){var e=t[1];x(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]})),n}},nthArg:function(t){return function(e){var n=e<0?1:N(e)+1;return E(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return E(t(e,n),r)}},runInContext:function(n){return function(r){return t(e,n(r),l)}}};function U(t,e,n){if(h.fixed&&(y||!r.skipFixed[t])){var i=r.methodSpread[t],o=i&&i.start;return void 0===o?A(e,n):function(t,e){return function(){for(var n=arguments.length,r=n-1,i=Array(n);n--;)i[n]=arguments[n];var o=i[e],s=i.slice(0,e);return o&&a.apply(s,o),e!=r&&a.apply(s,i.slice(e+1)),t.apply(this,s)}}(e,o)}return e}function Y(t,e,n){return h.rearg&&n>1&&(v||!r.skipRearg[t])?I(e,r.methodRearg[t]||r.aryRearg[n]):e}function k(t,e){for(var n=-1,r=(e=L(e)).length,i=r-1,a=b(Object(t)),o=a;null!=o&&++n<r;){var s=e[n],u=o[s];null==u||x(u)||C(u)||w(u)||(o[s]=b(n==i?u:Object(u))),o=o[s]}return a}function j(e,n){var i=r.aliasToReal[e]||e,a=r.remap[i]||i,o=l;return function(e){var r=f?g:T,s=f?g[a]:n,u=S(S({},o),e);return t(r,i,s,u)}}function R(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var i=h.rearg?0:n-1;return r[i]=e(r[i]),t.apply(void 0,r)}}function B(t,e,n){var i,a=r.aliasToReal[t]||t,c=e,l=P[a];return l?c=l(e):h.immutable&&(r.mutate.array[a]?c=u(e,s):r.mutate.object[a]?c=u(e,function(t){return function(e){return t({},e)}}(e)):r.mutate.set[a]&&(c=u(e,k))),_(M,(function(t){return _(r.aryMethod[t],(function(e){if(a==e){var n=r.methodSpread[a],s=n&&n.afterRearg;return i=s?U(a,Y(a,c,t),t):Y(a,U(a,c,t),t),i=function(t,e,n){return m||h.curry&&n>1?E(e,n):e}(0,i=function(t,e){if(h.cap){var n=r.iterateeRearg[t];if(n)return function(t,e){return R(t,(function(t){var n=e.length;return function(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(I(o(t,n),e),n)}))}(e,n);var i=!f&&r.iterateeAry[t];if(i)return function(t,e){return R(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=j(a,e),i.placeholder=e.placeholder=n,i}if(!d)return B(n,c,p);var z=c,W=[];return _(M,(function(t){_(r.aryMethod[t],(function(t){var e=z[r.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 n=W.length;n--;)if(W[n][0]==t)return;e.convert=j(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){_(r.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,n=e.aliasToReal,r={};for(var i in n){var a=n[i];t.call(r,a)?r[a].push(i):r[a]=[i]}return r}(),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,n){t.exports={ary:n(39514),assign:n(44037),clone:n(66678),curry:n(40087),forEach:n(77412),isArray:n(1469),isError:n(64647),isFunction:n(23560),isWeakMap:n(81018),iteratee:n(72594),keys:n(280),rearg:n(4963),toInteger:n(40554),toPath:n(30084)}},92822:function(t,e,n){var r=n(84599),i=n(4269);t.exports=function(t,e,n){return r(i,t,e,n)}},56580:function(t,e,n){var r=n(92822)("memoize",n(88306));r.placeholder=n(69306),t.exports=r},69306:function(t){t.exports={}},64647:function(t,e,n){var r=n(44239),i=n(37005),a=n(68630);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!a(t)}},81018:function(t,e,n){var r=n(64160),i=n(37005);t.exports=function(t){return i(t)&&"[object WeakMap]"==r(t)}},72594:function(t,e,n){var r=n(85990),i=n(67206);t.exports=function(t){return i("function"==typeof t?t:r(t,1))}},4963:function(t,e,n){var r=n(97727),i=n(99021)((function(t,e){return r(t,256,void 0,void 0,void 0,e)}));t.exports=i},18601:function(t,e,n){var r=n(14841);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},40554:function(t,e,n){var r=n(18601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},30084:function(t,e,n){var r=n(29932),i=n(278),a=n(1469),o=n(33448),s=n(55514),u=n(40327),c=n(79833);t.exports=function(t){return a(t)?r(t,u):o(t)?[t]:i(s(c(t)))}},8111:function(t,e,n){var r=n(96425),i=n(7548),a=n(9435),o=n(1469),s=n(37005),u=n(21913),c=Object.prototype.hasOwnProperty;function l(t){if(s(t)&&!o(t)&&!(t instanceof r)){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=="},11530:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI2QyZDJkMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg=="},71124:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI2QyZDJkMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+"},48461:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI2QyZDJkMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4="},23427:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI2QyZDJkMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4="},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,n){"use strict";n.d(e,{NcAutoCompleteResult:function(){return v},default:function(){return S}}),n(55849);var r=n(22663),i=n(79753),a=n(76311),o=n(23248),s=(n(79845),n(93911)),u=n(2343),c=(n(93664),n(86514),n(61537),n(25751),n(20435),n(49368),n(89115),n(57274),n(59110),n(69183),n(32219),n(82675),n(65507)),l=n(20296),f=n(36683),d=n(73045),h=n(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,n;return(null==(t=this.status)?void 0:t.icon)||(null==(e=this.status)?void 0:e.status)&&"offline"!==(null==(n=this.status)?void 0:n.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:[r.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"],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 n=(0,s.K)(t);this.textSmiles.includes(":"+t)&&n.unshift(":"+t),e(n)},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-link-result-node"),n=document.createTextNode(t);e.replaceWith(n),this.setCursorAfter(n),this.updateValue(this.$refs.contenteditable.innerHTML)})).catch((t=>{h.debug("Smart picker promise rejected:",t);const e=document.getElementById("tmp-link-result-node");this.setCursorAfter(e),e.remove()})),'<span id="tmp-link-result-node"></span>'},setCursorAfter(t){const e=document.createRange();e.setEndAfter(t),e.collapse();const n=window.getSelection();n.removeAllRanges(),n.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 n=e.getData("text"),r=window.getSelection();if(!r.rangeCount)return void this.updateValue(n);const i=r.getRangeAt(0);r.deleteFromDocument(),i.insertNode(document.createTextNode(n));const a=document.createRange();a.setStart(t.target,i.endOffset),a.collapse(!0),r.removeAllRanges(),r.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(),n=t.target;if(!e.isCollapsed||!e.rangeCount)return;const r=e.getRangeAt(e.rangeCount-1);if(3===r.commonAncestorContainer.nodeType&&r.startOffset>0)return;const i=document.createRange();if(e.anchorNode!==n)i.selectNodeContents(n),i.setEndBefore(e.anchorNode);else{if(!(e.anchorOffset>0))return;i.setEnd(n,e.anchorOffset)}i.setStart(n,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,"b7f5e546",null,null).exports},29354:function(t,e,n){"use strict";n.d(e,{N:function(){return w}});var r=n(2343),i=n(93664),a=n(79753),o=n(76311),s=n(28600),u=n(21955),c=n(10979),l=n(41074),f=n(38878),d=n(27172),h=n(20469),p=n(66875),m=n(72090),y=n(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:r.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 n;return e("div",{key:null==(n=null==t?void 0:t.openGraphObject)?void 0:n.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(n){!e||!t||(0,s.Vn)(n,(t=>"text"===t.type),((t,e,n)=>{let r=D(t.value);return r=r.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)),n.children.splice(e,1,...r.flat()),[u.AM,e+r.flat().length]}))}},D=t=>{let e=g.exec(t);const n=[];let r=0;for(;null!==e;){let i,a=e[2],o=t.substring(r,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),n.push(o),n.push({component:E,props:{href:a}}),i&&n.push(i),r=e.index+e[0].length,e=g.exec(t)}return n.push(t.substring(r)),t===n.map((t=>"string"==typeof t?t:t.props.href)).join("")?n:(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,n){const r=t.value.split(/(\{[a-z\-_.0-9]+\})/gi).map(((t,e,n)=>{const r=t.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!r)return(0,c.u)("text",t);const[,i]=r;return(0,c.u)("element",{tagName:`#${i}`})}));n.children.splice(e,1,...r)}))}},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,n=this.text.split(/(\{[a-z\-_.0-9]+\})/gi).map((function(n,r,i){const a=n.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!a)return(({h:t,context:e},n)=>(e.autolink&&(n=D(n)),Array.isArray(n)?n.map((e=>{if("string"==typeof e)return e;const{component:n,props:r}=e,i="NcLink"===n.name?void 0:"rich-text--component";return t(n,{props:r,class:i})})):n))({h:t,context:e},n);const o=a[1],s=e.arguments[o];if("object"==typeof s){const{component:e,props:n}=s;return t(e,{props:n,class:"rich-text--component"})}return s?t("span",{class:"rich-text--fallback"},s):n}));return t("div",{class:"rich-text--wrapper"},[t("div",{},n.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,n,r)=>{if(r=null==r?void 0:r.map((t=>"string"==typeof t?t.replace(/</gim,"<"):t)),!e.startsWith("#"))return t(e,n,r);const i=this.arguments[e.slice(1)];return i?i.component?t(i.component,{attrs:n,props:i.props,class:"rich-text--component"},r):t("span",n,[i]):t("span",{attrs:n,class:"rich-text--fallback"},[`{${e.slice(1)}}`])},prefix:!1}).processSync(this.text.replace(/</gim,"<").replace(/>/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,"f9d2c651",null,null).exports},64882:function(t,e,n){"use strict";n.d(e,{$U:function(){return N.Z},FK:function(){return $.Z},Iw:function(){return s.Z},Jc:function(){return J.Z},Jh:function(){return B.Z},O3:function(){return f.Z},P2:function(){return M.Z},QG:function(){return st.Z},SL:function(){return F.Z},Z9:function(){return z.Z},fg:function(){return L.Z},h3:function(){return ut.Z},rw:function(){return P.Z}});var r=n(20212),i=n(66236),a=n(34791),o=n(56562),s=n(31466),u=n(74176),c=n(52300),l=n(64208),f=n(3349),d=n(68763),h=n(76955),p=n(94162),m=n(56071),y=n(27657),v=n(2047),g=n(35534),T=n(82002),A=n(89998),S=n(41705),b=n(61898),E=n(39726),_=n(66845),D=n(87875),C=n(20932),x=n(34739),w=n(88344),O=n(38298),I=n(52467),N=n(36402),L=n(43133),M=n(57274),P=n(71998),U=n(37776),Y=n(73743),k=n(93182),j=n(89241),R=n(54581),B=n(97947),z=n(85017),W=n(37008),Z=n(78573),F=n(86514),H=n(93428),V=n(93815),G=n(40873),$=n(63813),K=n(11599),q=n(14802),X=n(20435),J=n(59110),Q=n(80774),tt=n(16972),et=n(34246),nt=n(34854),rt=n(22554),it=n(22663),at=n(46318),ot=n(29354),st=(n(2343),n(93664),n(79753),n(61537)),ut=(n(23248),n(25751),n(49368)),ct=(n(89115),n(69183),n(32219),n(82675),n(74911)),lt=n(35380),ft=n(56857),dt=n(67912),ht=n(48020),pt=n(47414),mt=n(7566),yt=(n(93911),n(85302),n(90318)),vt=n(17593),gt=(n(79845),n(84722),n(76692),n(40946),n(73045));r.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,at.NcAutoCompleteResult,I.N,N.Z,L.Z,M.Z,P.Z,U.Z,Y.Z,k.Z,j.Z,R.Z,B.Z,z.Z,W.Z,Z.Z,F.Z,H.Z,V.Z,G.N,$.Z,K.Z,q.Z,X.Z,it.N,J.Z,Q.Z,tt.Z,et.Z,nt.Z,rt.Z,at.default,ot.N,ct.Z,st.Z,lt.Z,ft.Z,dt.Z,ht.N,ut.Z,pt.Z,mt.Z,Symbol.toStringTag,yt.X,vt.X,gt.VTooltip,Symbol.toStringTag}},a={};function o(t){var e=a[t];if(void 0!==e)return e.exports;var n=a[t]={id:t,loaded:!1,exports:{}};return i[t].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}o.m=i,e=[],o.O=function(t,n,r,i){if(!n){var a=1/0;for(l=0;l<e.length;l++){n=e[l][0],r=e[l][1],i=e[l][2];for(var s=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(o.O).every((function(t){return o.O[t](n[u])}))?n.splice(u--,1):(s=!1,i<a&&(a=i));if(s){e.splice(l--,1);var c=r();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]=[n,r,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 n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.f={},o.e=function(t){return Promise.all(Object.keys(o.f).reduce((function(e,n){return o.f[n](t,e),e}),[]))},o.u=function(t){return t+"-"+t+".js?v=216e3e54c5b7efd17824"},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)},n={},r="nextcloud:",o.l=function(t,e,i,a){if(n[t])n[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")==r+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",r+i),s.src=t),n[t]=[e];var d=function(e,r){s.onerror=s.onload=null,clearTimeout(h);var i=n[t];if(delete n[t],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(t){return t(r)})),e)return e(r)},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 n=e.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&!t;)t=n[r--].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,n){var r=o.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,i){r=t[e]=[n,i]}));n.push(r[2]=i);var a=o.p+o.u(e),s=new Error;o.l(a,(function(n){if(o.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,r[1](s)}}),"chunk-"+e,e)}},o.O.j=function(e){return 0===t[e]};var e=function(e,n){var r,i,a=n[0],s=n[1],u=n[2],c=0;if(a.some((function(e){return 0!==t[e]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(u)var l=u(o)}for(e&&e(n);c<a.length;c++)i=a[c],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(l)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),o.nc=void 0;var s=o.O(void 0,[7874],(function(){return o(4953)}));s=o.O(s)}(); +//# sourceMappingURL=dav-settings-personal-availability.js.map?v=e41637d755bcb8b3d147
\ No newline at end of file |