diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-11-03 19:49:53 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-11-08 08:40:27 +0100 |
commit | 32c1aebaae07b9b4d7e2dcdfca6b2cbd36a6cfc3 (patch) | |
tree | 26b047d37a3c3276e9336936f0d5c8bbde949869 /dist/dav-settings-personal-availability.js | |
parent | 50417bcee8f103fb569a860b63cf8cf1e6bc1c18 (diff) | |
download | nextcloud-server-32c1aebaae07b9b4d7e2dcdfca6b2cbd36a6cfc3.tar.gz nextcloud-server-32c1aebaae07b9b4d7e2dcdfca6b2cbd36a6cfc3.zip |
fix(cypress): formatFileSize change revert from files library
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 67752e65936..3154b7833a9 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,r,n,i={25e3:function(e,r,n){"use strict";var i=n(20144),a=n(31352),o=n(67912),s=n(57274),u=n(49368),c=n(64722),l=n(37008),f=n(79753),d=n(93664);function h(t){var e=t.getUTCFullYear(),r=(t.getUTCMonth()+1).toString().padStart(2,"0"),n=t.getUTCDate().toString().padStart(2,"0");return"".concat(e,"-").concat(r,"-").concat(n)}var p=n(43554),m=n(64024);function y(t){return y="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},y(t)}function v(){v=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new D(i||[]);return n(o,"_invoke",{value:E(t,r,s)}),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f={};function d(){}function h(){}function p(){}var m={};u(m,a,(function(){return this}));var g=Object.getPrototypeOf,T=g&&g(g(C([])));T&&T!==e&&r.call(T,a)&&(m=T);var A=p.prototype=d.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function i(n,a,o,s){var u=l(t[n],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==y(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(f).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function E(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=_(o,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function _(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=l(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(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 w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function C(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return h.prototype=p,n(A,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:h,configurable:!0}),h.displayName=u(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,s,"GeneratorFunction")),t.prototype=Object.create(A),t},t.awrap=function(t){return{__await:t}},b(S.prototype),u(S.prototype,o,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new S(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},b(A),u(A,s,"Generator"),u(A,a,(function(){return this})),u(A,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;w(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function g(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function T(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){g(a,n,i,o,s,"next",t)}function s(t){g(a,n,i,o,s,"throw",t)}o(void 0)}))}}var A={name:"AbsenceForm",components:{NcButton:s.Z,NcTextField:u.Z,NcTextArea:c.Z,NcDateTimePickerNative:l.Z},data:function(){var t=(0,p.j)("dav","absence",{}),e=t.firstDay,r=t.lastDay,n=t.status,i=t.message;return{loading:!1,status:null!=n?n:"",message:null!=i?i:"",firstDay:e?new Date(e):new Date,lastDay:r?new Date(r):null}},computed:{valid:function(){return!!this.firstDay&&!!this.lastDay&&!!this.status&&this.lastDay>this.firstDay}},methods:{resetForm:function(){this.status="",this.message="",this.firstDay=new Date,this.lastDay=null},saveForm:function(){var t=this;return T(v().mark((function e(){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.valid){e.next=2;break}return e.abrupt("return");case 2:return t.loading=!0,e.prev=3,e.next=6,d.Z.post((0,f.generateUrl)("/apps/dav/settings/absence"),{firstDay:h(t.firstDay),lastDay:h(t.lastDay),status:t.status,message:t.message});case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(3),(0,m.x2)(t.$t("dav","Failed to save your absence settings"));case 11:return e.prev=11,t.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[3,8,11,14]])})))()},clearAbsence:function(){var t=this;return T(v().mark((function e(){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,d.Z.delete((0,f.generateUrl)("/apps/dav/settings/absence"));case 4:t.resetForm(),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),(0,m.x2)(t.$t("dav","Failed to clear your absence settings"));case 10:return e.prev=10,t.loading=!1,e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[1,7,10,13]])})))()}}},b=n(93379),S=n.n(b),E=n(7795),_=n.n(E),x=n(90569),w=n.n(x),D=n(3565),C=n.n(D),O=n(19216),I=n.n(O),N=n(44589),L=n.n(N),U=n(52674),M={};M.styleTagTransform=L(),M.setAttributes=C(),M.insert=w().bind(null,"head"),M.domAPI=_(),M.insertStyleElement=I(),S()(U.Z,M),U.Z&&U.Z.locals&&U.Z.locals;var P=n(51900),k=(0,P.Z)(A,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"absence"},[e("div",{staticClass:"absence__dates"},[e("NcDateTimePickerNative",{staticClass:"absence__dates__picker",attrs:{id:"absence-first-day",label:t.$t("dav","First day")},model:{value:t.firstDay,callback:function(e){t.firstDay=e},expression:"firstDay"}}),t._v(" "),e("NcDateTimePickerNative",{staticClass:"absence__dates__picker",attrs:{id:"absence-last-day",label:t.$t("dav","Last day (inclusive)")},model:{value:t.lastDay,callback:function(e){t.lastDay=e},expression:"lastDay"}})],1),t._v(" "),e("NcTextField",{attrs:{value:t.status,label:t.$t("dav","Short absence status")},on:{"update:value":function(e){t.status=e}}}),t._v(" "),e("NcTextArea",{attrs:{value:t.message,label:t.$t("dav","Long absence Message")},on:{"update:value":function(e){t.message=e}}}),t._v(" "),e("div",{staticClass:"absence__buttons"},[e("NcButton",{attrs:{disabled:t.loading||!t.valid,type:"primary"},on:{click:t.saveForm}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Save"))+"\n\t\t")]),t._v(" "),e("NcButton",{attrs:{disabled:t.loading||!t.valid,type:"error"},on:{click:t.clearAbsence}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Disable absence"))+"\n\t\t")])],1)],1)}),[],!1,null,"5a6b66ca",null),Y=k.exports,j=n(64882),R=n(25108),B=n(34155),z=n(18350);function F(t,e,r,n,i,a,o,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(u=function(t){!(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:c}}!function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".availability-day[data-v-193e3573]{padding:0 10px;position:absolute}.availability-slots[data-v-193e3573]{display:flex;white-space:nowrap}.availability-slot[data-v-193e3573]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-193e3573]{display:flex;flex-direction:column}[data-v-193e3573] .mx-input-wrapper{width:85px}[data-v-193e3573] .mx-datepicker{width:97px}[data-v-193e3573] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-193e3573]{padding:32px 12px 12px 0}.grid-table[data-v-193e3573]{display:grid;margin-bottom:32px;grid-column-gap:24px;grid-row-gap:6px;grid-template-columns:min-content min-content min-content}.button[data-v-193e3573]{align-self:flex-end}.label-weekday[data-v-193e3573]{position:relative;display:flex;align-items:flex-start}.label-weekday>span[data-v-193e3573]{height:50px;display:flex;align-items:center}.add-another[data-v-193e3573]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-193e3573]:hover{opacity:1}.to-text[data-v-193e3573]{padding-right:12px}.time-zone-text[data-v-193e3573]{padding-left:22px}.empty-content[data-v-193e3573]{color:var(--color-text-lighter);display:inline-flex;align-items:center}")),document.head.appendChild(t)}}catch(t){R.error("vite-plugin-css-injected-by-js",t)}}();var W=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 Z=F({name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},W,[],!1,null,null,null,null).exports;var V=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 G=F({name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},V,[],!1,null,null,null,null).exports,H={name:"CalendarAvailability",components:{NcDateTimePicker:j.Z9,NcButton:j.P2,IconAdd:G,IconDelete:Z},props:{slots:{type:Object,required:!0},loading:{type:Boolean,default:!1},l10nTo:{type:String,required:!0},l10nDeleteSlot:{type:String,required:!0},l10nEmptyDay:{type:String,required:!0},l10nAddSlot:{type:String,required:!0},l10nMonday:{type:String,required:!0},l10nTuesday:{type:String,required:!0},l10nWednesday:{type:String,required:!0},l10nThursday:{type:String,required:!0},l10nFriday:{type:String,required:!0},l10nSaturday:{type:String,required:!0},l10nSunday:{type:String,required:!0}},data(){return{internalSlots:this.slotsToInternalData(this.slots)}},watch:{slots(){this.internalSlots=this.slotsToInternalData(this.slots)}},methods:{timeStampSlotsToDateObjectSlots(t){return t.map((t=>({start:new Date(1e3*t.start),end:new Date(1e3*t.end)})))},slotsToInternalData(){const t=[{id:"MO",displayName:this.l10nMonday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.MO)},{id:"TU",displayName:this.l10nTuesday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.TU)},{id:"WE",displayName:this.l10nWednesday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.WE)},{id:"TH",displayName:this.l10nThursday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.TH)},{id:"FR",displayName:this.l10nFriday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.FR)},{id:"SA",displayName:this.l10nSaturday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.SA)}],e={id:"SU",displayName:this.l10nSunday,slots:this.timeStampSlotsToDateObjectSlots(this.slots.SU)};return 1===(0,a.yo)()?[...t,e]:[e,...t]},internalDataToSlots(){const t={};return this.internalSlots.forEach((({id:e,slots:r})=>{t[e]=r.map((t=>({start:Math.round(t.start.getTime()/1e3),end:Math.round(t.end.getTime()/1e3)})))})),t},addSlot(t){const e=new Date;e.setHours(9,0,0,0);const r=new Date;r.setHours(17,0,0,0),t.slots.push({start:e,end:r}),this.onChangeSlots()},removeSlot(t,e){t.slots.splice(e,1),this.onChangeSlots()},onChangeSlots(){this.$emit("update:slots",this.internalDataToSlots())}}};var $=function(){var t=this,e=t._self._c;return e("div",{staticClass:"grid-table"},[t._l(t.internalSlots,(function(r){return[e("div",{key:`day-label-${r.id}`,staticClass:"label-weekday"},[e("span",[t._v(t._s(r.displayName))])]),e("div",{key:`day-slots-${r.id}`,staticClass:"availability-slots"},[e("div",{staticClass:"availability-slot-group"},[t._l(r.slots,(function(n,i){return[e("div",{key:`slot-${r.id}-${i}`,staticClass:"availability-slot"},[e("NcDateTimePicker",{staticClass:"start-date",attrs:{type:"time",format:"H:mm"},on:{change:t.onChangeSlots},model:{value:n.start,callback:function(e){t.$set(n,"start",e)},expression:"slot.start"}}),e("span",{staticClass:"to-text"},[t._v(" "+t._s(t.l10nTo)+" ")]),e("NcDateTimePicker",{staticClass:"end-date",attrs:{type:"time",format:"H:mm"},on:{change:t.onChangeSlots},model:{value:n.end,callback:function(e){t.$set(n,"end",e)},expression:"slot.end"}}),e("NcButton",{key:`slot-${r.id}-${i}-btn`,staticClass:"button",attrs:{type:"tertiary",title:t.l10nDeleteSlot},on:{click:function(e){return t.removeSlot(r,i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDelete",{attrs:{size:20}})]},proxy:!0}],null,!0)})],1)]}))],2),0===r.slots.length?e("span",{staticClass:"empty-content"},[t._v(" "+t._s(t.l10nEmptyDay)+" ")]):t._e()]),e("NcButton",{key:`add-slot-${r.id}`,staticClass:"add-another button",attrs:{disabled:t.loading,title:t.l10nAddSlot},on:{click:function(e){return t.addSlot(r)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAdd",{attrs:{size:20}})]},proxy:!0}],null,!0)})]}))],2)};const K=F(H,$,[],!1,null,"193e3573",null,null).exports;var q=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},X={},J={};Object.defineProperty(J,"__esModule",{value:!0}),J.zonesMap=J.defaultStart=void 0,J.defaultStart="19700101T000000",J.zonesMap=new Map([["Africa/Abidjan",{s:{f:"+0000",n:"GMT"}}],["Africa/Accra",{s:{f:"+0000",n:"GMT"}}],["Africa/Addis_Ababa",{s:{f:"+0300",n:"EAT"}}],["Africa/Algiers",{s:{f:"+0100",n:"CET"}}],["Africa/Asmara",{s:{f:"+0300",n:"EAT"}}],["Africa/Bamako",{s:{f:"+0000",n:"GMT"}}],["Africa/Bangui",{s:{f:"+0100",n:"WAT"}}],["Africa/Banjul",{s:{f:"+0000",n:"GMT"}}],["Africa/Bissau",{s:{f:"+0000",n:"GMT"}}],["Africa/Blantyre",{s:{f:"+0200",n:"CAT"}}],["Africa/Brazzaville",{s:{f:"+0100",n:"WAT"}}],["Africa/Bujumbura",{s:{f:"+0200",n:"CAT"}}],["Africa/Cairo",{s:{f:"+0200",n:"EET"}}],["Africa/Casablanca",{s:{f:"+0100",n:"+01"}}],["Africa/Ceuta",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Africa/Conakry",{s:{f:"+0000",n:"GMT"}}],["Africa/Dakar",{s:{f:"+0000",n:"GMT"}}],["Africa/Dar_es_Salaam",{s:{f:"+0300",n:"EAT"}}],["Africa/Djibouti",{s:{f:"+0300",n:"EAT"}}],["Africa/Douala",{s:{f:"+0100",n:"WAT"}}],["Africa/El_Aaiun",{s:{f:"+0100",n:"+01"}}],["Africa/Freetown",{s:{f:"+0000",n:"GMT"}}],["Africa/Gaborone",{s:{f:"+0200",n:"CAT"}}],["Africa/Harare",{s:{f:"+0200",n:"CAT"}}],["Africa/Johannesburg",{s:{f:"+0200",n:"SAST"}}],["Africa/Juba",{s:{f:"+0300",n:"EAT"}}],["Africa/Kampala",{s:{f:"+0300",n:"EAT"}}],["Africa/Khartoum",{s:{f:"+0200",n:"CAT"}}],["Africa/Kigali",{s:{f:"+0200",n:"CAT"}}],["Africa/Kinshasa",{s:{f:"+0100",n:"WAT"}}],["Africa/Lagos",{s:{f:"+0100",n:"WAT"}}],["Africa/Libreville",{s:{f:"+0100",n:"WAT"}}],["Africa/Lome",{s:{f:"+0000",n:"GMT"}}],["Africa/Luanda",{s:{f:"+0100",n:"WAT"}}],["Africa/Lubumbashi",{s:{f:"+0200",n:"CAT"}}],["Africa/Lusaka",{s:{f:"+0200",n:"CAT"}}],["Africa/Malabo",{s:{f:"+0100",n:"WAT"}}],["Africa/Maputo",{s:{f:"+0200",n:"CAT"}}],["Africa/Maseru",{s:{f:"+0200",n:"SAST"}}],["Africa/Mbabane",{s:{f:"+0200",n:"SAST"}}],["Africa/Mogadishu",{s:{f:"+0300",n:"EAT"}}],["Africa/Monrovia",{s:{f:"+0000",n:"GMT"}}],["Africa/Nairobi",{s:{f:"+0300",n:"EAT"}}],["Africa/Ndjamena",{s:{f:"+0100",n:"WAT"}}],["Africa/Niamey",{s:{f:"+0100",n:"WAT"}}],["Africa/Nouakchott",{s:{f:"+0000",n:"GMT"}}],["Africa/Ouagadougou",{s:{f:"+0000",n:"GMT"}}],["Africa/Porto-Novo",{s:{f:"+0100",n:"WAT"}}],["Africa/Sao_Tome",{s:{f:"+0100",n:"WAT"}}],["Africa/Tripoli",{s:{f:"+0200",n:"EET"}}],["Africa/Tunis",{s:{f:"+0100",n:"CET"}}],["Africa/Windhoek",{s:{f:"+0200",n:"CAT"}}],["America/Adak",{s:{f:"-0900",t:"-1000",n:"HST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-1000",t:"-0900",n:"HDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Anchorage",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Anguilla",{s:{f:"-0400",n:"AST"}}],["America/Antigua",{s:{f:"-0400",n:"AST"}}],["America/Araguaina",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Buenos_Aires",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Catamarca",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Cordoba",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Jujuy",{s:{f:"-0300",n:"-03"}}],["America/Argentina/La_Rioja",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Mendoza",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Rio_Gallegos",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Salta",{s:{f:"-0300",n:"-03"}}],["America/Argentina/San_Juan",{s:{f:"-0300",n:"-03"}}],["America/Argentina/San_Luis",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Tucuman",{s:{f:"-0300",n:"-03"}}],["America/Argentina/Ushuaia",{s:{f:"-0300",n:"-03"}}],["America/Aruba",{s:{f:"-0400",n:"AST"}}],["America/Asuncion",{s:{f:"-0300",t:"-0400",n:"-04",s:"19700322T000000",r:{m:3,d:"4SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701004T000000",r:{m:10,d:"1SU"}}}],["America/Atikokan",{s:{f:"-0500",n:"EST"}}],["America/Bahia_Banderas",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Bahia",{s:{f:"-0300",n:"-03"}}],["America/Barbados",{s:{f:"-0400",n:"AST"}}],["America/Belem",{s:{f:"-0300",n:"-03"}}],["America/Belize",{s:{f:"-0600",n:"CST"}}],["America/Blanc-Sablon",{s:{f:"-0400",n:"AST"}}],["America/Boa_Vista",{s:{f:"-0400",n:"-04"}}],["America/Bogota",{s:{f:"-0500",n:"-05"}}],["America/Boise",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Cambridge_Bay",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Campo_Grande",{s:{f:"-0400",n:"-04",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Cancun",{s:{f:"-0500",n:"EST"}}],["America/Caracas",{s:{f:"-0400",n:"-04"}}],["America/Cayenne",{s:{f:"-0300",n:"-03"}}],["America/Cayman",{s:{f:"-0500",n:"EST"}}],["America/Chicago",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Chihuahua",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Costa_Rica",{s:{f:"-0600",n:"CST"}}],["America/Creston",{s:{f:"-0700",n:"MST"}}],["America/Cuiaba",{s:{f:"-0400",n:"-04",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Curacao",{s:{f:"-0400",n:"AST"}}],["America/Danmarkshavn",{s:{f:"+0000",n:"GMT"}}],["America/Dawson_Creek",{s:{f:"-0700",n:"MST"}}],["America/Dawson",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Denver",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Detroit",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Dominica",{s:{f:"-0400",n:"AST"}}],["America/Edmonton",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Eirunepe",{s:{f:"-0500",n:"-05"}}],["America/El_Salvador",{s:{f:"-0600",n:"CST"}}],["America/Fort_Nelson",{s:{f:"-0700",n:"MST"}}],["America/Fortaleza",{s:{f:"-0300",n:"-03"}}],["America/Glace_Bay",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Godthab",{s:{f:"-0200",t:"-0300",n:"-03",s:"19701024T230000",r:{m:10,d:"-1SA"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19700328T220000",r:{m:3,d:"-1SA"}}}],["America/Goose_Bay",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Grand_Turk",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Grenada",{s:{f:"-0400",n:"AST"}}],["America/Guadeloupe",{s:{f:"-0400",n:"AST"}}],["America/Guatemala",{s:{f:"-0600",n:"CST"}}],["America/Guayaquil",{s:{f:"-0500",n:"-05"}}],["America/Guyana",{s:{f:"-0400",n:"-04"}}],["America/Halifax",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Havana",{s:{f:"-0400",t:"-0500",n:"CST",s:"19701101T010000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"CDT",s:"19700308T000000",r:{m:3,d:"2SU"}}}],["America/Hermosillo",{s:{f:"-0700",n:"MST"}}],["America/Indiana/Indianapolis",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Knox",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Marengo",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Petersburg",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Tell_City",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Vevay",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Vincennes",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Indiana/Winamac",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Inuvik",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Iqaluit",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Jamaica",{s:{f:"-0500",n:"EST"}}],["America/Juneau",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kentucky/Louisville",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kentucky/Monticello",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Kralendijk",{s:{f:"-0400",n:"AST"}}],["America/La_Paz",{s:{f:"-0400",n:"-04"}}],["America/Lima",{s:{f:"-0500",n:"-05"}}],["America/Los_Angeles",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Lower_Princes",{s:{f:"-0400",n:"AST"}}],["America/Maceio",{s:{f:"-0300",n:"-03"}}],["America/Managua",{s:{f:"-0600",n:"CST"}}],["America/Manaus",{s:{f:"-0400",n:"-04"}}],["America/Marigot",{s:{f:"-0400",n:"AST"}}],["America/Martinique",{s:{f:"-0400",n:"AST"}}],["America/Matamoros",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Mazatlan",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Menominee",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Merida",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Metlakatla",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Mexico_City",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Miquelon",{s:{f:"-0200",t:"-0300",n:"-03",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Moncton",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Monterrey",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700405T020000",r:{m:4,d:"1SU"}}}],["America/Montevideo",{s:{f:"-0300",n:"-03"}}],["America/Montserrat",{s:{f:"-0400",n:"AST"}}],["America/Nassau",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/New_York",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Nipigon",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Nome",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Noronha",{s:{f:"-0200",n:"-02"}}],["America/North_Dakota/Beulah",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/North_Dakota/Center",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/North_Dakota/New_Salem",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Ojinaga",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Panama",{s:{f:"-0500",n:"EST"}}],["America/Pangnirtung",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Paramaribo",{s:{f:"-0300",n:"-03"}}],["America/Phoenix",{s:{f:"-0700",n:"MST"}}],["America/Port_of_Spain",{s:{f:"-0400",n:"AST"}}],["America/Port-au-Prince",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Porto_Velho",{s:{f:"-0400",n:"-04"}}],["America/Puerto_Rico",{s:{f:"-0400",n:"AST"}}],["America/Punta_Arenas",{s:{f:"-0300",n:"-03"}}],["America/Rainy_River",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Rankin_Inlet",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Recife",{s:{f:"-0300",n:"-03"}}],["America/Regina",{s:{f:"-0600",n:"CST"}}],["America/Resolute",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Rio_Branco",{s:{f:"-0500",n:"-05"}}],["America/Santarem",{s:{f:"-0300",n:"-03"}}],["America/Santiago",{s:{f:"-0300",t:"-0400",n:"-04",s:"19700405T000000",r:{m:4,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"-03",s:"19700906T000000",r:{m:9,d:"1SU"}}}],["America/Santo_Domingo",{s:{f:"-0400",n:"AST"}}],["America/Sao_Paulo",{s:{f:"-0300",n:"-03",s:"19700215T000000",r:{m:2,d:"3SU"}},d:{f:"-0300",t:"-0200",n:"-02",s:"19701101T000000",r:{m:11,d:"1SU"}}}],["America/Scoresbysund",{s:{f:"+0000",t:"-0100",n:"-01",s:"19701025T010000",r:{m:10,d:"-1SU"}},d:{f:"-0100",t:"+0000",n:"+00",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["America/Sitka",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/St_Barthelemy",{s:{f:"-0400",n:"AST"}}],["America/St_Johns",{s:{f:"-0230",t:"-0330",n:"NST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0330",t:"-0230",n:"NDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/St_Kitts",{s:{f:"-0400",n:"AST"}}],["America/St_Lucia",{s:{f:"-0400",n:"AST"}}],["America/St_Thomas",{s:{f:"-0400",n:"AST"}}],["America/St_Vincent",{s:{f:"-0400",n:"AST"}}],["America/Swift_Current",{s:{f:"-0600",n:"CST"}}],["America/Tegucigalpa",{s:{f:"-0600",n:"CST"}}],["America/Thule",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Thunder_Bay",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Tijuana",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Toronto",{s:{f:"-0400",t:"-0500",n:"EST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0500",t:"-0400",n:"EDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Tortola",{s:{f:"-0400",n:"AST"}}],["America/Vancouver",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Whitehorse",{s:{f:"-0700",t:"-0800",n:"PST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0800",t:"-0700",n:"PDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Winnipeg",{s:{f:"-0500",t:"-0600",n:"CST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0600",t:"-0500",n:"CDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Yakutat",{s:{f:"-0800",t:"-0900",n:"AKST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0900",t:"-0800",n:"AKDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["America/Yellowknife",{s:{f:"-0600",t:"-0700",n:"MST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0700",t:"-0600",n:"MDT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["Antarctica/Casey",{s:{f:"+0800",n:"+08"}}],["Antarctica/Davis",{s:{f:"+0700",n:"+07"}}],["Antarctica/DumontDUrville",{s:{f:"+1000",n:"+10"}}],["Antarctica/Macquarie",{s:{f:"+1100",n:"+11"}}],["Antarctica/Mawson",{s:{f:"+0500",n:"+05"}}],["Antarctica/McMurdo",{s:{f:"+1300",t:"+1200",n:"NZST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1200",t:"+1300",n:"NZDT",s:"19700927T020000",r:{m:9,d:"-1SU"}}}],["Antarctica/Palmer",{s:{f:"-0300",n:"-03"}}],["Antarctica/Rothera",{s:{f:"-0300",n:"-03"}}],["Antarctica/Syowa",{s:{f:"+0300",n:"+03"}}],["Antarctica/Troll",{s:{f:"+0200",t:"+0000",n:"+00",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0200",n:"+02",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Antarctica/Vostok",{s:{f:"+0600",n:"+06"}}],["Arctic/Longyearbyen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Asia/Aden",{s:{f:"+0300",n:"+03"}}],["Asia/Almaty",{s:{f:"+0600",n:"+06"}}],["Asia/Amman",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701030T010000",r:{m:10,d:"-1FR"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700326T235959",r:{m:3,d:"-1TH"}}}],["Asia/Anadyr",{s:{f:"+1200",n:"+12"}}],["Asia/Aqtau",{s:{f:"+0500",n:"+05"}}],["Asia/Aqtobe",{s:{f:"+0500",n:"+05"}}],["Asia/Ashgabat",{s:{f:"+0500",n:"+05"}}],["Asia/Atyrau",{s:{f:"+0500",n:"+05"}}],["Asia/Baghdad",{s:{f:"+0300",n:"+03"}}],["Asia/Bahrain",{s:{f:"+0300",n:"+03"}}],["Asia/Baku",{s:{f:"+0400",n:"+04"}}],["Asia/Bangkok",{s:{f:"+0700",n:"+07"}}],["Asia/Barnaul",{s:{f:"+0700",n:"+07"}}],["Asia/Beirut",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T000000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["Asia/Bishkek",{s:{f:"+0600",n:"+06"}}],["Asia/Brunei",{s:{f:"+0800",n:"+08"}}],["Asia/Chita",{s:{f:"+0900",n:"+09"}}],["Asia/Choibalsan",{s:{f:"+0800",n:"+08"}}],["Asia/Colombo",{s:{f:"+0530",n:"+0530"}}],["Asia/Damascus",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701030T000000",r:{m:10,d:"-1FR"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700327T000000",r:{m:3,d:"-1FR"}}}],["Asia/Dhaka",{s:{f:"+0600",n:"+06"}}],["Asia/Dili",{s:{f:"+0900",n:"+09"}}],["Asia/Dubai",{s:{f:"+0400",n:"+04"}}],["Asia/Dushanbe",{s:{f:"+0500",n:"+05"}}],["Asia/Famagusta",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Asia/Gaza",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701031T010000",r:{m:10,d:"-1SA"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700328T010000",r:{m:3,d:"4SA"}}}],["Asia/Hebron",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701031T010000",r:{m:10,d:"-1SA"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700328T010000",r:{m:3,d:"4SA"}}}],["Asia/Ho_Chi_Minh",{s:{f:"+0700",n:"+07"}}],["Asia/Hong_Kong",{s:{f:"+0800",n:"HKT"}}],["Asia/Hovd",{s:{f:"+0700",n:"+07"}}],["Asia/Irkutsk",{s:{f:"+0800",n:"+08"}}],["Asia/Istanbul",{s:{f:"+0300",n:"+03"}}],["Asia/Jakarta",{s:{f:"+0700",n:"WIB"}}],["Asia/Jayapura",{s:{f:"+0900",n:"WIT"}}],["Asia/Jerusalem",{s:{f:"+0300",t:"+0200",n:"IST",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"IDT",s:"19700327T020000",r:{m:3,d:"-1FR"}}}],["Asia/Kabul",{s:{f:"+0430",n:"+0430"}}],["Asia/Kamchatka",{s:{f:"+1200",n:"+12"}}],["Asia/Karachi",{s:{f:"+0500",n:"PKT"}}],["Asia/Kathmandu",{s:{f:"+0545",n:"+0545"}}],["Asia/Khandyga",{s:{f:"+0900",n:"+09"}}],["Asia/Kolkata",{s:{f:"+0530",n:"IST"}}],["Asia/Krasnoyarsk",{s:{f:"+0700",n:"+07"}}],["Asia/Kuala_Lumpur",{s:{f:"+0800",n:"+08"}}],["Asia/Kuching",{s:{f:"+0800",n:"+08"}}],["Asia/Kuwait",{s:{f:"+0300",n:"+03"}}],["Asia/Macau",{s:{f:"+0800",n:"CST"}}],["Asia/Magadan",{s:{f:"+1100",n:"+11"}}],["Asia/Makassar",{s:{f:"+0800",n:"WITA"}}],["Asia/Manila",{s:{f:"+0800",n:"PST"}}],["Asia/Muscat",{s:{f:"+0400",n:"+04"}}],["Asia/Nicosia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Asia/Novokuznetsk",{s:{f:"+0700",n:"+07"}}],["Asia/Novosibirsk",{s:{f:"+0700",n:"+07"}}],["Asia/Omsk",{s:{f:"+0600",n:"+06"}}],["Asia/Oral",{s:{f:"+0500",n:"+05"}}],["Asia/Phnom_Penh",{s:{f:"+0700",n:"+07"}}],["Asia/Pontianak",{s:{f:"+0700",n:"WIB"}}],["Asia/Pyongyang",{s:{f:"+0900",n:"KST"}}],["Asia/Qatar",{s:{f:"+0300",n:"+03"}}],["Asia/Qyzylorda",{s:{f:"+0600",n:"+06"}}],["Asia/Riyadh",{s:{f:"+0300",n:"+03"}}],["Asia/Sakhalin",{s:{f:"+1100",n:"+11"}}],["Asia/Samarkand",{s:{f:"+0500",n:"+05"}}],["Asia/Seoul",{s:{f:"+0900",n:"KST"}}],["Asia/Shanghai",{s:{f:"+0800",n:"CST"}}],["Asia/Singapore",{s:{f:"+0800",n:"+08"}}],["Asia/Srednekolymsk",{s:{f:"+1100",n:"+11"}}],["Asia/Taipei",{s:{f:"+0800",n:"CST"}}],["Asia/Tashkent",{s:{f:"+0500",n:"+05"}}],["Asia/Tbilisi",{s:{f:"+0400",n:"+04"}}],["Asia/Tehran",{s:{f:"+0430",t:"+0330",n:"+0330",s:"19700921T000000",r:{m:9,d:"3SU"}},d:{f:"+0330",t:"+0430",n:"+0430",s:"19700321T000000",r:{m:3,d:"3SU"}}}],["Asia/Thimphu",{s:{f:"+0600",n:"+06"}}],["Asia/Tokyo",{s:{f:"+0900",n:"JST"}}],["Asia/Tomsk",{s:{f:"+0700",n:"+07"}}],["Asia/Ulaanbaatar",{s:{f:"+0800",n:"+08"}}],["Asia/Urumqi",{s:{f:"+0600",n:"+06"}}],["Asia/Ust-Nera",{s:{f:"+1000",n:"+10"}}],["Asia/Vientiane",{s:{f:"+0700",n:"+07"}}],["Asia/Vladivostok",{s:{f:"+1000",n:"+10"}}],["Asia/Yakutsk",{s:{f:"+0900",n:"+09"}}],["Asia/Yangon",{s:{f:"+0630",n:"+0630"}}],["Asia/Yekaterinburg",{s:{f:"+0500",n:"+05"}}],["Asia/Yerevan",{s:{f:"+0400",n:"+04"}}],["Atlantic/Azores",{s:{f:"+0000",t:"-0100",n:"-01",s:"19701025T010000",r:{m:10,d:"-1SU"}},d:{f:"-0100",t:"+0000",n:"+00",s:"19700329T000000",r:{m:3,d:"-1SU"}}}],["Atlantic/Bermuda",{s:{f:"-0300",t:"-0400",n:"AST",s:"19701101T020000",r:{m:11,d:"1SU"}},d:{f:"-0400",t:"-0300",n:"ADT",s:"19700308T020000",r:{m:3,d:"2SU"}}}],["Atlantic/Canary",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Cape_Verde",{s:{f:"-0100",n:"-01"}}],["Atlantic/Faroe",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Madeira",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Atlantic/Reykjavik",{s:{f:"+0000",n:"GMT"}}],["Atlantic/South_Georgia",{s:{f:"-0200",n:"-02"}}],["Atlantic/St_Helena",{s:{f:"+0000",n:"GMT"}}],["Atlantic/Stanley",{s:{f:"-0300",n:"-03"}}],["Australia/Adelaide",{s:{f:"+1030",t:"+0930",n:"ACST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+0930",t:"+1030",n:"ACDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Brisbane",{s:{f:"+1000",n:"AEST"}}],["Australia/Broken_Hill",{s:{f:"+1030",t:"+0930",n:"ACST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+0930",t:"+1030",n:"ACDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Currie",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Darwin",{s:{f:"+0930",n:"ACST"}}],["Australia/Eucla",{s:{f:"+0845",n:"+0845"}}],["Australia/Hobart",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Lindeman",{s:{f:"+1000",n:"AEST"}}],["Australia/Lord_Howe",{s:{f:"+1100",t:"+1030",n:"+1030",s:"19700405T020000",r:{m:4,d:"1SU"}},d:{f:"+1030",t:"+1100",n:"+11",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Melbourne",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Australia/Perth",{s:{f:"+0800",n:"AWST"}}],["Australia/Sydney",{s:{f:"+1100",t:"+1000",n:"AEST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1000",t:"+1100",n:"AEDT",s:"19701004T020000",r:{m:10,d:"1SU"}}}],["Etc/GMT-0",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT-1",{s:{f:"-0100",n:"-01"}}],["Etc/GMT-10",{s:{f:"-1000",n:"-10"}}],["Etc/GMT-11",{s:{f:"-1100",n:"-11"}}],["Etc/GMT-12",{s:{f:"-1200",n:"-12"}}],["Etc/GMT-2",{s:{f:"-0200",n:"-02"}}],["Etc/GMT-3",{s:{f:"-0300",n:"-03"}}],["Etc/GMT-4",{s:{f:"-0400",n:"-04"}}],["Etc/GMT-5",{s:{f:"-0500",n:"-05"}}],["Etc/GMT-6",{s:{f:"-0600",n:"-06"}}],["Etc/GMT-7",{s:{f:"-0700",n:"-07"}}],["Etc/GMT-8",{s:{f:"-0800",n:"-08"}}],["Etc/GMT-9",{s:{f:"-0900",n:"-09"}}],["Etc/GMT",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT+0",{s:{f:"+0000",n:"GMT"}}],["Etc/GMT+1",{s:{f:"+0100",n:"+01"}}],["Etc/GMT+10",{s:{f:"+1000",n:"+10"}}],["Etc/GMT+11",{s:{f:"+1100",n:"+11"}}],["Etc/GMT+12",{s:{f:"+1200",n:"+12"}}],["Etc/GMT+13",{s:{f:"+1300",n:"+13"}}],["Etc/GMT+14",{s:{f:"+1400",n:"+14"}}],["Etc/GMT+2",{s:{f:"+0200",n:"+02"}}],["Etc/GMT+3",{s:{f:"+0300",n:"+03"}}],["Etc/GMT+4",{s:{f:"+0400",n:"+04"}}],["Etc/GMT+5",{s:{f:"+0500",n:"+05"}}],["Etc/GMT+6",{s:{f:"+0600",n:"+06"}}],["Etc/GMT+7",{s:{f:"+0700",n:"+07"}}],["Etc/GMT+8",{s:{f:"+0800",n:"+08"}}],["Etc/GMT+9",{s:{f:"+0900",n:"+09"}}],["Etc/GMT0",{s:{f:"+0000",n:"GMT"}}],["Etc/Greenwich",{s:{f:"+0000",n:"GMT"}}],["Etc/UCT",{s:{f:"+0000",n:"UCT"}}],["Etc/Universal",{s:{f:"+0000",n:"UTC"}}],["Etc/UTC",{s:{f:"+0000",n:"UTC"}}],["Etc/Zulu",{s:{f:"+0000",n:"UTC"}}],["Europe/Amsterdam",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Andorra",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Astrakhan",{s:{f:"+0400",n:"+04"}}],["Europe/Athens",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Belgrade",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Berlin",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Bratislava",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Brussels",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Bucharest",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Budapest",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Busingen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Chisinau",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Copenhagen",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Dublin",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"IST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Gibraltar",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Guernsey",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Helsinki",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Isle_of_Man",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Istanbul",{s:{f:"+0300",n:"+03"}}],["Europe/Jersey",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Kaliningrad",{s:{f:"+0200",n:"EET"}}],["Europe/Kiev",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Kirov",{s:{f:"+0300",n:"+03"}}],["Europe/Lisbon",{s:{f:"+0100",t:"+0000",n:"WET",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"WEST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Ljubljana",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/London",{s:{f:"+0100",t:"+0000",n:"GMT",s:"19701025T020000",r:{m:10,d:"-1SU"}},d:{f:"+0000",t:"+0100",n:"BST",s:"19700329T010000",r:{m:3,d:"-1SU"}}}],["Europe/Luxembourg",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Madrid",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Malta",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Mariehamn",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Minsk",{s:{f:"+0300",n:"+03"}}],["Europe/Monaco",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Moscow",{s:{f:"+0300",n:"MSK"}}],["Europe/Nicosia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Oslo",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Paris",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Podgorica",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Prague",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Riga",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Rome",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Samara",{s:{f:"+0400",n:"+04"}}],["Europe/San_Marino",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Sarajevo",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Saratov",{s:{f:"+0400",n:"+04"}}],["Europe/Simferopol",{s:{f:"+0300",n:"MSK"}}],["Europe/Skopje",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Sofia",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Stockholm",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Tallinn",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Tirane",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Ulyanovsk",{s:{f:"+0400",n:"+04"}}],["Europe/Uzhgorod",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Vaduz",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vatican",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vienna",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Vilnius",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Volgograd",{s:{f:"+0400",n:"+04"}}],["Europe/Warsaw",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Zagreb",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Europe/Zaporozhye",{s:{f:"+0300",t:"+0200",n:"EET",s:"19701025T040000",r:{m:10,d:"-1SU"}},d:{f:"+0200",t:"+0300",n:"EEST",s:"19700329T030000",r:{m:3,d:"-1SU"}}}],["Europe/Zurich",{s:{f:"+0200",t:"+0100",n:"CET",s:"19701025T030000",r:{m:10,d:"-1SU"}},d:{f:"+0100",t:"+0200",n:"CEST",s:"19700329T020000",r:{m:3,d:"-1SU"}}}],["Indian/Antananarivo",{s:{f:"+0300",n:"EAT"}}],["Indian/Chagos",{s:{f:"+0600",n:"+06"}}],["Indian/Christmas",{s:{f:"+0700",n:"+07"}}],["Indian/Cocos",{s:{f:"+0630",n:"+0630"}}],["Indian/Comoro",{s:{f:"+0300",n:"EAT"}}],["Indian/Kerguelen",{s:{f:"+0500",n:"+05"}}],["Indian/Mahe",{s:{f:"+0400",n:"+04"}}],["Indian/Maldives",{s:{f:"+0500",n:"+05"}}],["Indian/Mauritius",{s:{f:"+0400",n:"+04"}}],["Indian/Mayotte",{s:{f:"+0300",n:"EAT"}}],["Indian/Reunion",{s:{f:"+0400",n:"+04"}}],["Pacific/Apia",{s:{f:"+1400",t:"+1300",n:"+13",s:"19700405T040000",r:{m:4,d:"1SU"}},d:{f:"+1300",t:"+1400",n:"+14",s:"19700927T030000",r:{m:9,d:"-1SU"}}}],["Pacific/Auckland",{s:{f:"+1300",t:"+1200",n:"NZST",s:"19700405T030000",r:{m:4,d:"1SU"}},d:{f:"+1200",t:"+1300",n:"NZDT",s:"19700927T020000",r:{m:9,d:"-1SU"}}}],["Pacific/Bougainville",{s:{f:"+1100",n:"+11"}}],["Pacific/Chatham",{s:{f:"+1345",t:"+1245",n:"+1245",s:"19700405T034500",r:{m:4,d:"1SU"}},d:{f:"+1245",t:"+1345",n:"+1345",s:"19700927T024500",r:{m:9,d:"-1SU"}}}],["Pacific/Chuuk",{s:{f:"+1000",n:"+10"}}],["Pacific/Easter",{s:{f:"-0500",t:"-0600",n:"-06",s:"19700404T220000",r:{m:4,d:"1SA"}},d:{f:"-0600",t:"-0500",n:"-05",s:"19700905T220000",r:{m:9,d:"1SA"}}}],["Pacific/Efate",{s:{f:"+1100",n:"+11"}}],["Pacific/Enderbury",{s:{f:"+1300",n:"+13"}}],["Pacific/Fakaofo",{s:{f:"+1300",n:"+13"}}],["Pacific/Fiji",{s:{f:"+1300",t:"+1200",n:"+12",s:"19700118T030000",r:{m:1,d:"-2SU"}},d:{f:"+1200",t:"+1300",n:"+13",s:"19701101T020000",r:{m:11,d:"1SU"}}}],["Pacific/Funafuti",{s:{f:"+1200",n:"+12"}}],["Pacific/Galapagos",{s:{f:"-0600",n:"-06"}}],["Pacific/Gambier",{s:{f:"-0900",n:"-09"}}],["Pacific/Guadalcanal",{s:{f:"+1100",n:"+11"}}],["Pacific/Guam",{s:{f:"+1000",n:"ChST"}}],["Pacific/Honolulu",{s:{f:"-1000",n:"HST"}}],["Pacific/Kiritimati",{s:{f:"+1400",n:"+14"}}],["Pacific/Kosrae",{s:{f:"+1100",n:"+11"}}],["Pacific/Kwajalein",{s:{f:"+1200",n:"+12"}}],["Pacific/Majuro",{s:{f:"+1200",n:"+12"}}],["Pacific/Marquesas",{s:{f:"-0930",n:"-0930"}}],["Pacific/Midway",{s:{f:"-1100",n:"SST"}}],["Pacific/Nauru",{s:{f:"+1200",n:"+12"}}],["Pacific/Niue",{s:{f:"-1100",n:"-11"}}],["Pacific/Norfolk",{s:{f:"+1100",n:"+11"}}],["Pacific/Noumea",{s:{f:"+1100",n:"+11"}}],["Pacific/Pago_Pago",{s:{f:"-1100",n:"SST"}}],["Pacific/Palau",{s:{f:"+0900",n:"+09"}}],["Pacific/Pitcairn",{s:{f:"-0800",n:"-08"}}],["Pacific/Pohnpei",{s:{f:"+1100",n:"+11"}}],["Pacific/Port_Moresby",{s:{f:"+1000",n:"+10"}}],["Pacific/Rarotonga",{s:{f:"-1000",n:"-10"}}],["Pacific/Saipan",{s:{f:"+1000",n:"ChST"}}],["Pacific/Tahiti",{s:{f:"-1000",n:"-10"}}],["Pacific/Tarawa",{s:{f:"+1200",n:"+12"}}],["Pacific/Tongatapu",{s:{f:"+1300",n:"+13"}}],["Pacific/Wake",{s:{f:"+1200",n:"+12"}}],["Pacific/Wallis",{s:{f:"+1200",n:"+12"}}]]),Object.defineProperty(X,"__esModule",{value:!0});var Q=X.getZoneString=X.getZoneLines=void 0;const tt=J;function et(t){const{n:e,f:r,t:n,r:i,s:a}=t;return[`TZNAME:${e}`,`TZOFFSETFROM:${r}`,`TZOFFSETTO:${n||r}`,`DTSTART:${a||tt.defaultStart}`,...i?[`RRULE:FREQ=${i.f||"YEARLY"};BYMONTH=${i.m};BYDAY=${i.d}`]:[]]}function rt(t,e=!0){const r=tt.zonesMap.get(t);if(r){const{s:n,d:i}=r;return[...e?["BEGIN:VTIMEZONE"]:[],`TZID:${t}`,"BEGIN:STANDARD",...et(n),"END:STANDARD",...i?["BEGIN:DAYLIGHT",...et(i),"END:DAYLIGHT"]:[],...e?["END:VTIMEZONE"]:[]]}}X.getZoneLines=rt,Q=X.getZoneString=function(t,e=!0){const r=rt(t,e);return null==r?void 0:r.join("\r\n")};var nt,it,at={};(nt=at).foldLength=75,nt.newLineChar="\r\n",nt.helpers={updateTimezones:function(t){var e,r,n,i,a,o;if(!t||"vcalendar"!==t.name)return t;for(e=t.getAllSubcomponents(),r=[],n={},a=0;a<e.length;a++)"vtimezone"===e[a].name?n[o=e[a].getFirstProperty("tzid").getFirstValue()]=e[a]:r=r.concat(e[a].getAllProperties());for(i={},a=0;a<r.length;a++)(o=r[a].getParameter("tzid"))&&(i[o]=!0);for(a in n)n.hasOwnProperty(a)&&!i[a]&&t.removeSubcomponent(n[a]);for(a in i)i.hasOwnProperty(a)&&!n[a]&&nt.TimezoneService.has(a)&&t.addSubcomponent(nt.TimezoneService.get(a).component);return t},isStrictlyNaN:function(t){return"number"==typeof t&&isNaN(t)},strictParseInt:function(t){var e=parseInt(t,10);if(nt.helpers.isStrictlyNaN(e))throw new Error('Could not extract integer from "'+t+'"');return e},formatClassType:function(t,e){if(!(typeof t>"u"))return t instanceof e?t:new e(t)},unescapedIndexOf:function(t,e,r){for(;-1!==(r=t.indexOf(e,r));){if(!(r>0&&"\\"===t[r-1]))return r;r+=1}return-1},binsearchInsert:function(t,e,r){if(!t.length)return 0;for(var n,i,a=0,o=t.length-1;a<=o;)if((i=r(e,t[n=a+Math.floor((o-a)/2)]))<0)o=n-1;else{if(!(i>0))break;a=n+1}return i<0?n:i>0?n+1:n},dumpn:function(){nt.debug&&(nt.helpers.dumpn=typeof R<"u"&&"log"in R?function(t){R.log(t)}:function(t){dump(t+"\n")},nt.helpers.dumpn(arguments[0]))},clone:function(t,e){if(!t||"object"!=typeof t)return t;if(t instanceof Date)return new Date(t.getTime());if("clone"in t)return t.clone();if(Array.isArray(t)){for(var r=[],n=0;n<t.length;n++)r.push(e?nt.helpers.clone(t[n],!0):t[n]);return r}var i={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=e?nt.helpers.clone(t[a],!0):t[a]);return i},foldline:function(t){for(var e="",r=t||"",n=0,i=0;r.length;){var a=r.codePointAt(n);a<128?++i:i+=a<2048?2:a<65536?3:4,i<nt.foldLength+1?n+=a>65535?2:1:(e+=nt.newLineChar+" "+r.substring(0,n),r=r.substring(n),n=i=0)}return e.substr(nt.newLineChar.length+1)},pad2:function(t){switch("string"!=typeof t&&("number"==typeof t&&(t=parseInt(t)),t=String(t)),t.length){case 0:return"00";case 1:return"0"+t;default:return t}},trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)},inherits:function(t,e,r){function n(){}n.prototype=t.prototype,e.prototype=new n,r&&nt.helpers.extend(r,e.prototype)},extend:function(t,e){for(var r in t){var n=Object.getOwnPropertyDescriptor(t,r);n&&!Object.getOwnPropertyDescriptor(e,r)&&Object.defineProperty(e,r,n)}return e}},nt.design=function(){var t=/\\\\|\\,|\\[Nn]/g,e=/\\|,|\n/g;function r(t,e){var r={matches:/.*/,fromICAL:function(e,r){return function(t,e,r){return-1===t.indexOf("\\")?t:(r&&(e=new RegExp(e.source+"|\\\\"+r)),t.replace(e,h))}(e,t,r)},toICAL:function(t,r){var n=e;return r&&(n=new RegExp(n.source+"|"+r)),t.replace(n,(function(t){switch(t){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case"\n":return"\\n";default:return t}}))}};return r}var n={defaultType:"text"},i={defaultType:"text",multiValue:","},a={defaultType:"text",structuredValue:";"},o={defaultType:"integer"},s={defaultType:"date-time",allowedTypes:["date-time","date"]},u={defaultType:"date-time"},c={defaultType:"uri"},l={defaultType:"utc-offset"},f={defaultType:"recur"},d={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function h(t){switch(t){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return"\n";default:return t}}var p={categories:i,url:c,version:n,uid:n},m={boolean:{values:["TRUE","FALSE"],fromICAL:function(t){return"TRUE"===t},toICAL:function(t){return t?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(t){var e=parseFloat(t);return nt.helpers.isStrictlyNaN(e)?0:e},toICAL:function(t){return String(t)}},integer:{fromICAL:function(t){var e=parseInt(t);return nt.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 nt.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}},y=nt.helpers.extend(m,{text:r(/\\\\|\\;|\\,|\\[Nn]/g,/\\|;|,|\n/g),uri:{},binary:{decorate:function(t){return nt.Binary.fromString(t)},undecorate:function(t){return t.toString()}},"cal-address":{},date:{decorate:function(t,e){return x.strict?nt.Time.fromDateString(t,e):nt.Time.fromString(t,e)},undecorate:function(t){return t.toString()},fromICAL:function(t){return!x.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(!x.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&&!x.strict)return y.date.toICAL(t);if(e>=19){var r=t.substr(0,4)+t.substr(5,2)+t.substr(8,5)+t.substr(14,2)+t.substr(17,2);return t[19]&&"Z"===t[19]&&(r+="Z"),r}return t},decorate:function(t,e){return x.strict?nt.Time.fromDateTimeString(t,e):nt.Time.fromString(t,e)},undecorate:function(t){return t.toString()}},duration:{decorate:function(t){return nt.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]),nt.Duration.isValueString(e[1])||(e[1]=y["date-time"].fromICAL(e[1])),e},toICAL:function(t){return x.strict||10!=t[0].length?t[0]=y["date-time"].toICAL(t[0]):t[0]=y.date.toICAL(t[0]),nt.Duration.isValueString(t[1])||(x.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 nt.Period.fromJSON(t,e,!x.strict)},undecorate:function(t){return t.toJSON()}},recur:{fromICAL:function(t){return nt.Recur._stringToData(t,!0)},toICAL:function(t){var e="";for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=t[r];"until"==r?n=n.length>10?y["date-time"].toICAL(n):y.date.toICAL(n):"wkst"==r?"number"==typeof n&&(n=nt.Recur.numericDayToIcalDay(n)):Array.isArray(n)&&(n=n.join(",")),e+=r.toUpperCase()+"="+n+";"}return e.substr(0,e.length-1)},decorate:function(t){return nt.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=nt.helpers.extend(p,{action:n,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:n,class:n,comment:n,completed:u,contact:n,created:u,description:n,dtend:s,dtstamp:u,dtstart:s,due:s,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:f,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":u,location:n,method:n,organizer:{defaultType:"cal-address"},"percent-complete":o,priority:o,prodid:n,"related-to":n,repeat:o,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(t){return-1!==t.indexOf("/")?"period":-1===t.indexOf("T")?"date":"date-time"}},"recurrence-id":s,resources:i,"request-status":a,rrule:f,sequence:o,status:n,summary:n,transp:n,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:l,tzoffsetto:l,tzurl:c,tzid:n,tzname:n}),g=nt.helpers.extend(m,{text:r(t,e),uri:r(t,e),date:{decorate:function(t){return nt.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 nt.VCardTime.fromDateAndOrTimeString("T"+t,"time")},undecorate:function(t){return t.toString()},fromICAL:function(t){var e=g.time._splitZone(t,!0),r=e[0],n=e[1];return 6==n.length?n=n.substr(0,2)+":"+n.substr(2,2)+":"+n.substr(4,2):4==n.length&&"-"!=n[0]?n=n.substr(0,2)+":"+n.substr(2,2):5==n.length&&(n=n.substr(0,3)+":"+n.substr(3,2)),5==r.length&&("-"==r[0]||"+"==r[0])&&(r=r.substr(0,3)+":"+r.substr(3)),n+r},toICAL:function(t){var e=g.time._splitZone(t),r=e[0],n=e[1];return 8==n.length?n=n.substr(0,2)+n.substr(3,2)+n.substr(6,2):5==n.length&&"-"!=n[0]?n=n.substr(0,2)+n.substr(3,2):6==n.length&&(n=n.substr(0,3)+n.substr(4,2)),6==r.length&&("-"==r[0]||"+"==r[0])&&(r=r.substr(0,3)+r.substr(4)),n+r},_splitZone:function(t,e){var r,n,i=t.length-1,a=t.length-(e?5:6),o=t[a];return"Z"==t[i]?(r=t[i],n=t.substr(0,i)):t.length>6&&("-"==o||"+"==o)?(r=t.substr(a),n=t.substr(0,a)):(r="",n=t),[r,n]}},"date-time":{decorate:function(t){return nt.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 nt.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=nt.helpers.extend(p,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:d,bday:d,caladruri:c,caluri:c,clientpidmap:a,email:n,fburl:c,fn:n,gender:a,geo:c,impp:c,key:c,kind:n,lang:{defaultType:"language-tag"},logo:c,member:c,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,note:n,org:{defaultType:"text",structuredValue:";"},photo:c,related:c,rev:{defaultType:"timestamp"},role:n,sound:c,source:c,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:n,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:n}),A=nt.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 nt.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}}),b=nt.helpers.extend(p,{fn:n,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:n,tel:{defaultType:"phone-number"},email:n,mailer:n,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:n,role:n,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:a,note:i,prodid:n,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(t){return-1===t.indexOf("T")?"date":"date-time"}},"sort-string":n,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:n,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),S={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:b},x={strict:!0,defaultSet:S,defaultType:"unknown",components:{vcard:E,vcard3:_,vevent:S,vtodo:S,vjournal:S,valarm:S,vtimezone:S,daylight:S,standard:S},icalendar:S,vcard:E,vcard3:_,getDesignSet:function(t){return t&&t in x.components?x.components[t]:x.defaultSet}};return x}(),nt.stringify=function(){var t="\r\n",e="unknown",r=nt.design,n=nt.helpers;function i(e){"string"==typeof e[0]&&(e=[e]);for(var r=0,n=e.length,a="";r<n;r++)a+=i.component(e[r])+t;return a}i.component=function(e,n){var a=e[0].toUpperCase(),o="BEGIN:"+a+t,s=e[1],u=0,c=s.length,l=e[0];for("vcard"===l&&e[1].length>0&&!("version"===e[1][0][0]&&"4.0"===e[1][0][3])&&(l="vcard3"),n=n||r.getDesignSet(l);u<c;u++)o+=i.property(s[u],n)+t;for(var f=e[2]||[],d=0,h=f.length;d<h;d++)o+=i.component(f[d],n)+t;return o+"END:"+a},i.property=function(t,n,a){var o,s=t[0].toUpperCase(),u=t[0],c=t[1],l=s;for(o in c){var f=c[o];c.hasOwnProperty(o)&&((p=o in n.param&&n.param[o].multiValue)&&Array.isArray(f)?(n.param[o].multiValueSeparateDQuote&&(p='"'+p+'"'),f=f.map(i._rfc6868Unescape),f=i.multiValue(f,p,"unknown",null,n)):f=i._rfc6868Unescape(f),l+=";"+o.toUpperCase(),l+="="+i.propertyValue(f))}if(3===t.length)return l+":";var d=t[2];n||(n=r.defaultSet);var h,p=!1,m=!1,y=!1;return u in n.property?("multiValue"in(h=n.property[u])&&(p=h.multiValue),"structuredValue"in h&&Array.isArray(t[3])&&(m=h.structuredValue),"defaultType"in h?d===h.defaultType&&(y=!0):d===e&&(y=!0)):d===e&&(y=!0),y||(l+=";VALUE="+d.toUpperCase()),l+=":",l+=p&&m?i.multiValue(t[3],m,d,p,n,m):p?i.multiValue(t.slice(3),p,d,null,n,!1):m?i.multiValue(t[3],m,d,null,n,m):i.value(t[3],d,n,!1),a?l:nt.helpers.foldline(l)},i.propertyValue=function(t){return-1===n.unescapedIndexOf(t,",")&&-1===n.unescapedIndexOf(t,":")&&-1===n.unescapedIndexOf(t,";")?t:'"'+t+'"'},i.multiValue=function(t,e,r,n,a,o){for(var s="",u=t.length,c=0;c<u;c++)n&&Array.isArray(t[c])?s+=i.multiValue(t[c],n,r,null,a,o):s+=i.value(t[c],r,a,o),c!==u-1&&(s+=e);return s},i.value=function(t,e,r,n){return e in r.value&&"toICAL"in r.value[e]?r.value[e].toICAL(t,n):t},i._rfc6868Unescape=function(t){return t.replace(/[\n^"]/g,(function(t){return a[t]}))};var a={'"':"^'","\n":"^n","^":"^^"};return i}(),nt.parse=function(){var t=/[^ \t]/,e=nt.design,r=nt.helpers;function n(t){this.message=t,this.name="ParserError";try{throw new Error}catch(t){if(t.stack){var e=t.stack.split("\n");e.shift(),this.stack=e.join("\n")}}}function i(t){var e={},r=e.component=[];if(e.stack=[r],i._eachLine(t,(function(t,r){i._handleContentLine(r,e)})),e.stack.length>1)throw new n("invalid ical body. component began but did not end");return e=null,1==r.length?r[0]:r}n.prototype=Error.prototype,i.property=function(t,r){var n={component:[[],[]],designSet:r||e.defaultSet};return i._handleContentLine(t,n),n.component[1][0]},i.component=function(t){return i(t)},i.ParserError=n,i._handleContentLine=function(t,r){var a,o,s,u,c,l=t.indexOf(":"),f=t.indexOf(";"),d={};if(-1!==f&&-1!==l&&f>l&&(f=-1),-1!==f){if(s=t.substring(0,f).toLowerCase(),-1==(c=i._parseParameters(t.substring(f),0,r.designSet))[2])throw new n("Invalid parameters in '"+t+"'");if(d=c[0],a=c[1].length+c[2]+f,-1===(o=t.substring(a).indexOf(":")))throw new n("Missing parameter value in '"+t+"'");u=t.substring(a+o+1)}else{if(-1===l)throw new n('invalid line (no token ";" or ":") "'+t+'"');if(s=t.substring(0,l).toLowerCase(),u=t.substring(l+1),"begin"===s){var h=[u.toLowerCase(),[],[]];return 1===r.stack.length?r.component.push(h):r.component[2].push(h),r.stack.push(r.component),r.component=h,void(r.designSet||(r.designSet=e.getDesignSet(r.component[0])))}if("end"===s)return void(r.component=r.stack.pop())}var p,m,y,v=!1,g=!1;s in r.designSet.property&&("multiValue"in(m=r.designSet.property[s])&&(v=m.multiValue),"structuredValue"in m&&(g=m.structuredValue),u&&"detectType"in m&&(p=m.detectType(u))),p||(p="value"in d?d.value.toLowerCase():m?m.defaultType:"unknown"),delete d.value,v&&g?y=[s,d,p,u=i._parseMultiValue(u,g,p,[],v,r.designSet,g)]:v?(y=[s,d,p],i._parseMultiValue(u,v,p,y,null,r.designSet,!1)):y=g?[s,d,p,u=i._parseMultiValue(u,g,p,[],null,r.designSet,g)]:[s,d,p,u=i._parseValue(u,p,r.designSet,!1)],"vcard"===r.component[0]&&0===r.component[1].length&&!("version"===s&&"4.0"===u)&&(r.designSet=e.getDesignSet("vcard3")),r.component[1].push(y)},i._parseValue=function(t,e,r,n){return e in r.value&&"fromICAL"in r.value[e]?r.value[e].fromICAL(t,n):t},i._parseParameters=function(t,e,a){for(var o,s,u,c,l,f,d=e,h=0,p={},m=-1;!1!==h&&-1!==(h=r.unescapedIndexOf(t,"=",h+1));){if(0==(o=t.substr(d+1,h-d-1)).length)throw new n("Empty parameter name in '"+t+"'");if(f=!1,l=!1,c=(s=o.toLowerCase())in a.param&&a.param[s].valueType?a.param[s].valueType:"text",s in a.param&&(l=a.param[s].multiValue,a.param[s].multiValueSeparateDQuote&&(f=i._rfc6868Escape('"'+l+'"'))),'"'===t[h+1]){if(m=h+2,h=r.unescapedIndexOf(t,'"',m),l&&-1!=h)for(var y=!0;y;)t[h+1]==l&&'"'==t[h+2]?h=r.unescapedIndexOf(t,'"',h+3):y=!1;if(-1===h)throw new n('invalid line (no matching double quote) "'+t+'"');u=t.substr(m,h-m),-1===(d=r.unescapedIndexOf(t,";",h))&&(h=!1)}else{m=h+1;var v=r.unescapedIndexOf(t,";",m),g=r.unescapedIndexOf(t,":",m);-1!==g&&v>g?(v=g,h=!1):-1===v?(v=-1===g?t.length:g,h=!1):(d=v,h=v),u=t.substr(m,v-m)}if(u=i._rfc6868Escape(u),l){var T=f||l;u=i._parseMultiValue(u,T,c,[],null,a)}else u=i._parseValue(u,c,a);l&&s in p?Array.isArray(p[s])?p[s].push(u):p[s]=[p[s],u]:p[s]=u}return[p,u,m]},i._rfc6868Escape=function(t){return t.replace(/\^['n^]/g,(function(t){return a[t]}))};var a={"^'":'"',"^n":"\n","^^":"^"};return i._parseMultiValue=function(t,e,n,a,o,s,u){var c,l=0,f=0;if(0===e.length)return t;for(;-1!==(l=r.unescapedIndexOf(t,e,f));)c=t.substr(f,l-f),c=o?i._parseMultiValue(c,o,n,[],null,s,u):i._parseValue(c,n,s,u),a.push(c),f=l+e.length;return c=t.substr(f),c=o?i._parseMultiValue(c,o,n,[],null,s,u):i._parseValue(c,n,s,u),a.push(c),1==a.length?a[0]:a},i._eachLine=function(e,r){var n,i,a,o=e.length,s=e.search(t),u=s;do{a=(u=e.indexOf("\n",s)+1)>1&&"\r"===e[u-2]?2:1,0===u&&(u=o,a=0)," "===(i=e[s])||"\t"===i?n+=e.substr(s+1,u-s-(a+1)):(n&&r(null,n),n=e.substr(s,u-s-a)),s=u}while(u!==o);(n=n.trim()).length&&r(null,n)},i}(),nt.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||nt.design.getDesignSet(this.name)},_hydrateComponent:function(e){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[e])return this._components[e];var r=new t(this.jCal[2][e],this);return this._hydratedComponentCount++,this._components[e]=r},_hydrateProperty:function(t){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[t])return this._properties[t];var e=new nt.Property(this.jCal[1][t],this);return this._hydratedPropertyCount++,this._properties[t]=e},getFirstSubcomponent:function(t){if(t){for(var e=0,r=this.jCal[2],n=r.length;e<n;e++)if(r[e][0]===t)return this._hydrateComponent(e)}else if(this.jCal[2].length)return this._hydrateComponent(0);return null},getAllSubcomponents:function(t){var e=this.jCal[2].length,r=0;if(t){for(var n=this.jCal[2],i=[];r<e;r++)t===n[r][0]&&i.push(this._hydrateComponent(r));return i}if(!this._components||this._hydratedComponentCount!==e)for(;r<e;r++)this._hydrateComponent(r);return this._components||[]},hasProperty:function(t){for(var e=this.jCal[1],r=e.length,n=0;n<r;n++)if(e[n][0]===t)return!0;return!1},getFirstProperty:function(t){if(t){for(var e=0,r=this.jCal[1],n=r.length;e<n;e++)if(r[e][0]===t)return this._hydrateProperty(e)}else if(this.jCal[1].length)return this._hydrateProperty(0);return null},getFirstPropertyValue:function(t){var e=this.getFirstProperty(t);return e?e.getFirstValue():null},getAllProperties:function(t){var e=this.jCal[1].length,r=0;if(t){for(var n=this.jCal[1],i=[];r<e;r++)t===n[r][0]&&i.push(this._hydrateProperty(r));return i}if(!this._properties||this._hydratedPropertyCount!==e)for(;r<e;r++)this._hydrateProperty(r);return this._properties||[]},_removeObjectByIndex:function(t,e,r){if((e=e||[])[r]){var n=e[r];"parent"in n&&(n.parent=null)}e.splice(r,1),this.jCal[t].splice(r,1)},_removeObject:function(t,e,r){var n=0,i=this.jCal[t],a=i.length,o=this[e];if("string"==typeof r){for(;n<a;n++)if(i[n][0]===r)return this._removeObjectByIndex(t,o,n),!0}else if(o)for(;n<a;n++)if(o[n]&&o[n]===r)return this._removeObjectByIndex(t,o,n),!0;return!1},_removeAllObjects:function(t,e,r){for(var n=this[e],i=this.jCal[t],a=i.length-1;a>=0;a--)(!r||i[a][0]===r)&&this._removeObjectByIndex(t,n,a)},addSubcomponent:function(t){this._components||(this._components=[],this._hydratedComponentCount=0),t.parent&&t.parent.removeSubcomponent(t);var e=this.jCal[2].push(t.jCal);return this._components[e-1]=t,this._hydratedComponentCount++,t.parent=this,t},removeSubcomponent:function(t){var e=this._removeObject(2,"_components",t);return e&&this._hydratedComponentCount--,e},removeAllSubcomponents:function(t){var e=this._removeAllObjects(2,"_components",t);return this._hydratedComponentCount=0,e},addProperty:function(t){if(!(t instanceof nt.Property))throw new TypeError("must instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),t.parent&&t.parent.removeProperty(t);var e=this.jCal[1].push(t.jCal);return this._properties[e-1]=t,this._hydratedPropertyCount++,t.parent=this,t},addPropertyWithValue:function(t,e){var r=new nt.Property(t);return r.setValue(e),this.addProperty(r),r},updatePropertyWithValue:function(t,e){var r=this.getFirstProperty(t);return r?r.setValue(e):r=this.addPropertyWithValue(t,e),r},removeProperty:function(t){var e=this._removeObject(1,"_properties",t);return e&&this._hydratedPropertyCount--,e},removeAllProperties:function(t){var e=this._removeAllObjects(1,"_properties",t);return this._hydratedPropertyCount=0,e},toJSON:function(){return this.jCal},toString:function(){return nt.stringify.component(this.jCal,this._designSet)}},t.fromString=function(e){return new t(nt.parse.component(e))},t}(),nt.Property=function(){var t=nt.design;function e(e,r){this._parent=r||null,"string"==typeof e?(this.jCal=[e,{},t.defaultType],this.jCal[2]=this.getDefaultType()):this.jCal=e,this._updateType()}return e.prototype={get type(){return this.jCal[2]},get name(){return this.jCal[0]},get parent(){return this._parent},set parent(e){var r=!this._parent||e&&e._designSet!=this._parent._designSet;return this._parent=e,this.type==t.defaultType&&r&&(this.jCal[2]=this.getDefaultType(),this._updateType()),e},get _designSet(){return this.parent?this.parent._designSet:t.defaultSet},_updateType:function(){var t=this._designSet;this.type in t.value&&(t.value[this.type],"decorate"in t.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in t.property&&(this.isMultiValue="multiValue"in t.property[this.name],this.isStructuredValue="structuredValue"in t.property[this.name]))},_hydrateValue:function(t){return this._values&&this._values[t]?this._values[t]:this.jCal.length<=3+t?null:this.isDecorated?(this._values||(this._values=[]),this._values[t]=this._decorate(this.jCal[3+t])):this.jCal[3+t]},_decorate:function(t){return this._designSet.value[this.type].decorate(t,this)},_undecorate:function(t){return this._designSet.value[this.type].undecorate(t,this)},_setDecoratedValue:function(t,e){this._values||(this._values=[]),"object"==typeof t&&"icaltype"in t?(this.jCal[3+e]=this._undecorate(t),this._values[e]=t):(this.jCal[3+e]=t,this._values[e]=this._decorate(t))},getParameter:function(t){if(t in this.jCal[1])return this.jCal[1][t]},getFirstParameter:function(t){var e=this.getParameter(t);return Array.isArray(e)?e[0]:e},setParameter:function(t,e){var r=t.toLowerCase();"string"==typeof e&&r in this._designSet.param&&"multiValue"in this._designSet.param[r]&&(e=[e]),this.jCal[1][t]=e},removeParameter:function(t){delete this.jCal[1][t]},getDefaultType:function(){var e=this.jCal[0],r=this._designSet;if(e in r.property){var n=r.property[e];if("defaultType"in n)return n.defaultType}return t.defaultType},resetType:function(t){this.removeAllValues(),this.jCal[2]=t,this._updateType()},getFirstValue:function(){return this._hydrateValue(0)},getValues:function(){var t=this.jCal.length-3;if(t<1)return[];for(var e=0,r=[];e<t;e++)r[e]=this._hydrateValue(e);return r},removeAllValues:function(){this._values&&(this._values.length=0),this.jCal.length=3},setValues:function(t){if(!this.isMultiValue)throw new Error(this.name+": does not not support mulitValue.\noverride isMultiValue");var e=t.length,r=0;if(this.removeAllValues(),e>0&&"object"==typeof t[0]&&"icaltype"in t[0]&&this.resetType(t[0].icaltype),this.isDecorated)for(;r<e;r++)this._setDecoratedValue(t[r],r);else for(;r<e;r++)this.jCal[3+r]=t[r]},setValue:function(t){this.removeAllValues(),"object"==typeof t&&"icaltype"in t&&this.resetType(t.icaltype),this.isDecorated?this._setDecoratedValue(t,0):this.jCal[3]=t},toJSON:function(){return this.jCal},toICALString:function(){return nt.stringify.property(this.jCal,this._designSet,!0)}},e.fromString=function(t,r){return new e(nt.parse.property(t,r))},e}(),nt.UtcOffset=function(){function t(t){this.fromData(t)}return t.prototype={hours:0,minutes:0,factor:1,icaltype:"utc-offset",clone:function(){return nt.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=nt.helpers.trunc(e/3600),e-=3600*this.hours,this.minutes=nt.helpers.trunc(e/60),this},toSeconds:function(){return this.factor*(60*this.minutes+3600*this.hours)},compare:function(t){var e=this.toSeconds(),r=t.toSeconds();return(e>r)-(r>e)},_normalize:function(){for(var t=this.toSeconds(),e=this.factor;t<-43200;)t+=97200;for(;t>50400;)t-=97200;this.fromSeconds(t),0==t&&(this.factor=e)},toICALString:function(){return nt.design.icalendar.value["utc-offset"].toICAL(this.toString())},toString:function(){return(1==this.factor?"+":"-")+nt.helpers.pad2(this.hours)+":"+nt.helpers.pad2(this.minutes)}},t.fromString=function(t){var e={};return e.factor="+"===t[0]?1:-1,e.hours=nt.helpers.strictParseInt(t.substr(1,2)),e.minutes=nt.helpers.strictParseInt(t.substr(4,2)),new nt.UtcOffset(e)},t.fromSeconds=function(e){var r=new t;return r.fromSeconds(e),r},t}(),nt.Binary=function(){function t(t){this.value=t}return t.prototype={icaltype:"binary",decodeValue:function(){return this._b64_decode(this.value)},setEncodedValue:function(t){this.value=this._b64_encode(t)},_b64_encode:function(t){var e,r,n,i,a,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,u=0,c="",l=[];if(!t)return t;do{e=(a=t.charCodeAt(s++)<<16|t.charCodeAt(s++)<<8|t.charCodeAt(s++))>>18&63,r=a>>12&63,n=a>>6&63,i=63&a,l[u++]=o.charAt(e)+o.charAt(r)+o.charAt(n)+o.charAt(i)}while(s<t.length);c=l.join("");var f=t.length%3;return(f?c.slice(0,f-3):c)+"===".slice(f||3)},_b64_decode:function(t){var e,r,n,i,a,o,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=0,c=0,l=[];if(!t)return t;t+="";do{e=(o=s.indexOf(t.charAt(u++))<<18|s.indexOf(t.charAt(u++))<<12|(i=s.indexOf(t.charAt(u++)))<<6|(a=s.indexOf(t.charAt(u++))))>>16&255,r=o>>8&255,n=255&o,l[c++]=64==i?String.fromCharCode(e):64==a?String.fromCharCode(e,r):String.fromCharCode(e,r,n)}while(u<t.length);return l.join("")},toString:function(){return this.value}},t.fromString=function(e){return new t(e)},t}(),nt.Period=function(t){if(this.wrappedJSObject=this,t&&"start"in t){if(t.start&&!(t.start instanceof nt.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 nt.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 nt.Duration))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=t.duration}},nt.Period.prototype={start:null,end:null,duration:null,icalclass:"icalperiod",icaltype:"period",clone:function(){return nt.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()}},nt.Period.fromString=function(t,e){var r=t.split("/");if(2!==r.length)throw new Error('Invalid string value: "'+t+'" must contain a "/" char.');var n={start:nt.Time.fromDateTimeString(r[0],e)},i=r[1];return nt.Duration.isValueString(i)?n.duration=nt.Duration.fromString(i):n.end=nt.Time.fromDateTimeString(i,e),new nt.Period(n)},nt.Period.fromData=function(t){return new nt.Period(t)},nt.Period.fromJSON=function(t,e,r){function n(t,e){return r?nt.Time.fromString(t,e):nt.Time.fromDateTimeString(t,e)}return nt.Duration.isValueString(t[1])?nt.Period.fromData({start:n(t[0],e),duration:nt.Duration.fromString(t[1])}):nt.Period.fromData({start:n(t[0],e),end:n(t[1],e)})},function(){var t=/([PDWHMTS]{1,1})/;function e(t,e,r){var n;switch(t){case"P":r.isNegative=!(!e||"-"!==e);break;case"D":n="days";break;case"W":n="weeks";break;case"H":n="hours";break;case"M":n="minutes";break;case"S":n="seconds";break;default:return 0}if(n){if(!e&&0!==e)throw new Error('invalid duration value: Missing number before "'+t+'"');var i=parseInt(e,10);if(nt.helpers.isStrictlyNaN(i))throw new Error('invalid duration value: Invalid number "'+e+'" before "'+t+'"');r[n]=i}return 1}nt.Duration=function(t){this.wrappedJSObject=this,this.fromData(t)},nt.Duration.prototype={weeks:0,days:0,hours:0,minutes:0,seconds:0,isNegative:!1,icalclass:"icalduration",icaltype:"duration",clone:function(){return nt.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=nt.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=nt.helpers.trunc(e/3600),e-=3600*this.hours,this.minutes=nt.helpers.trunc(e/60),e-=60*this.minutes,this.seconds=e,this},fromData:function(t){var e=["weeks","days","hours","minutes","seconds","isNegative"];for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];this[n]=t&&n in t?t[n]:0}},reset:function(){this.isNegative=!1,this.weeks=0,this.days=0,this.hours=0,this.minutes=0,this.seconds=0},compare:function(t){var e=this.toSeconds(),r=t.toSeconds();return(e>r)-(e<r)},normalize:function(){this.fromSeconds(this.toSeconds())},toString:function(){if(0==this.toSeconds())return"PT0S";var t="";return this.isNegative&&(t+="-"),t+="P",this.weeks&&(t+=this.weeks+"W"),this.days&&(t+=this.days+"D"),(this.hours||this.minutes||this.seconds)&&(t+="T",this.hours&&(t+=this.hours+"H"),this.minutes&&(t+=this.minutes+"M"),this.seconds&&(t+=this.seconds+"S")),t},toICALString:function(){return this.toString()}},nt.Duration.fromSeconds=function(t){return(new nt.Duration).fromSeconds(t)},nt.Duration.isValueString=function(t){return"P"===t[0]||"P"===t[1]},nt.Duration.fromString=function(r){for(var n=0,i=Object.create(null),a=0;-1!==(n=r.search(t));){var o=r[n],s=r.substr(0,n);r=r.substr(n+1),a+=e(o,s,i)}if(a<2)throw new Error('invalid duration value: Not enough duration components in "'+r+'"');return new nt.Duration(i)},nt.Duration.fromData=function(t){return new nt.Duration(t)}}(),it=["tzid","location","tznames","latitude","longitude"],nt.Timezone=function(t){this.wrappedJSObject=this,this.fromData(t)},nt.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 nt.Component)this.component=t;else{if(t&&"component"in t)if("string"==typeof t.component){var e=nt.parse(t.component);this.component=new nt.Component(e)}else t.component instanceof nt.Component?this.component=t.component:this.component=null;for(var r in it)if(it.hasOwnProperty(r)){var n=it[r];t&&n in t&&(this[n]=t[n])}}return this.component instanceof nt.Component&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this},utcOffset:function(t){if(this==nt.Timezone.utcTimezone||this==nt.Timezone.localTimezone||(this._ensureCoverage(t.year),!this.changes.length))return 0;for(var e={year:t.year,month:t.month,day:t.day,hour:t.hour,minute:t.minute,second:t.second},r=this._findNearbyChange(e),n=-1,i=1;;){var a=nt.helpers.clone(this.changes[r],!0);if(a.utcOffset<a.prevUtcOffset?nt.Timezone.adjust_change(a,0,0,0,a.utcOffset):nt.Timezone.adjust_change(a,0,0,0,a.prevUtcOffset),nt.Timezone._compare_change_fn(e,a)>=0?n=r:i=-1,-1==i&&-1!=n)break;if((r+=i)<0)return 0;if(r>=this.changes.length)break}var o=this.changes[n];if(o.utcOffset-o.prevUtcOffset<0&&n>0){var s=nt.helpers.clone(o,!0);if(nt.Timezone.adjust_change(s,0,0,0,s.prevUtcOffset),nt.Timezone._compare_change_fn(e,s)<0){var u=this.changes[n-1];0!=o.is_daylight&&0==u.is_daylight&&(o=u)}}return o.utcOffset},_findNearbyChange:function(t){var e=nt.helpers.binsearchInsert(this.changes,t,nt.Timezone._compare_change_fn);return e>=this.changes.length?this.changes.length-1:e},_ensureCoverage:function(t){if(-1==nt.Timezone._minimumExpansionYear){var e=nt.Time.now();nt.Timezone._minimumExpansionYear=e.year}var r=t;if(r<nt.Timezone._minimumExpansionYear&&(r=nt.Timezone._minimumExpansionYear),(r+=nt.Timezone.EXTRA_COVERAGE)>nt.Timezone.MAX_YEAR&&(r=nt.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYear<t){for(var n=this.component.getAllSubcomponents(),i=n.length,a=0;a<i;a++)this._expandComponent(n[a],r,this.changes);this.changes.sort(nt.Timezone._compare_change_fn),this.expandedUntilYear=r}},_expandComponent:function(t,e,r){if(!t.hasProperty("dtstart")||!t.hasProperty("tzoffsetto")||!t.hasProperty("tzoffsetfrom"))return null;var n,i=t.getFirstProperty("dtstart").getFirstValue();function a(t){return t.factor*(3600*t.hours+60*t.minutes)}function o(){var e={};return e.is_daylight="daylight"==t.name,e.utcOffset=a(t.getFirstProperty("tzoffsetto").getFirstValue()),e.prevUtcOffset=a(t.getFirstProperty("tzoffsetfrom").getFirstValue()),e}if(t.hasProperty("rrule")||t.hasProperty("rdate")){var s=t.getAllProperties("rdate");for(var u in s)if(s.hasOwnProperty(u)){var c=s[u].getFirstValue();(n=o()).year=c.year,n.month=c.month,n.day=c.day,c.isDate?(n.hour=i.hour,n.minute=i.minute,n.second=i.second,i.zone!=nt.Timezone.utcTimezone&&nt.Timezone.adjust_change(n,0,0,0,-n.prevUtcOffset)):(n.hour=c.hour,n.minute=c.minute,n.second=c.second,c.zone!=nt.Timezone.utcTimezone&&nt.Timezone.adjust_change(n,0,0,0,-n.prevUtcOffset)),r.push(n)}var l=t.getFirstProperty("rrule");if(l){l=l.getFirstValue(),n=o(),l.until&&l.until.zone==nt.Timezone.utcTimezone&&(l.until.adjust(0,0,0,n.prevUtcOffset),l.until.zone=nt.Timezone.localTimezone);for(var f,d=l.iterator(i);(f=d.next())&&(n=o(),!(f.year>e)&&f);)n.year=f.year,n.month=f.month,n.day=f.day,n.hour=f.hour,n.minute=f.minute,n.second=f.second,n.isDate=f.isDate,nt.Timezone.adjust_change(n,0,0,0,-n.prevUtcOffset),r.push(n)}}else(n=o()).year=i.year,n.month=i.month,n.day=i.day,n.hour=i.hour,n.minute=i.minute,n.second=i.second,nt.Timezone.adjust_change(n,0,0,0,-n.prevUtcOffset),r.push(n);return r},toString:function(){return this.tznames?this.tznames:this.tzid}},nt.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},nt.Timezone.convert_time=function(t,e,r){if(t.isDate||e.tzid==r.tzid||e==nt.Timezone.localTimezone||r==nt.Timezone.localTimezone)return t.zone=r,t;var n=e.utcOffset(t);return t.adjust(0,0,0,-n),n=r.utcOffset(t),t.adjust(0,0,0,n),null},nt.Timezone.fromData=function(t){return(new nt.Timezone).fromData(t)},nt.Timezone.utcTimezone=nt.Timezone.fromData({tzid:"UTC"}),nt.Timezone.localTimezone=nt.Timezone.fromData({tzid:"floating"}),nt.Timezone.adjust_change=function(t,e,r,n,i){return nt.Time.prototype.adjust.call(t,e,r,n,i,t)},nt.Timezone._minimumExpansionYear=-1,nt.Timezone.MAX_YEAR=2035,nt.Timezone.EXTRA_COVERAGE=5,nt.TimezoneService=function(){var t,e={get count(){return Object.keys(t).length},reset:function(){t=Object.create(null);var e=nt.Timezone.utcTimezone;t.Z=e,t.UTC=e,t.GMT=e},has:function(e){return!!t[e]},get:function(e){return t[e]},register:function(e,r){if(e instanceof nt.Component&&"vtimezone"===e.name&&(e=(r=new nt.Timezone(e)).tzid),!(r instanceof nt.Timezone))throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component");t[e]=r},remove:function(e){return delete t[e]}};return e.reset(),e}(),nt.Time=function(t,e){this.wrappedJSObject=this;var r=this._time=Object.create(null);r.year=0,r.month=1,r.day=1,r.hour=0,r.minute=0,r.second=0,r.isDate=!1,this.fromData(t,e)},nt.Time._dowCache={},nt.Time._wnCache={},nt.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new nt.Time(this._time,this.zone)},reset:function(){this.fromData(nt.Time.epochTime),this.zone=nt.Timezone.utcTimezone},resetTo:function(t,e,r,n,i,a,o){this.fromData({year:t,month:e,day:r,hour:n,minute:i,second:a,zone:o})},fromJSDate:function(t,e){return t?e?(this.zone=nt.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=nt.Timezone.localTimezone,this.year=t.getFullYear(),this.month=t.getMonth()+1,this.day=t.getDate(),this.hour=t.getHours(),this.minute=t.getMinutes(),this.second=t.getSeconds()):this.reset(),this._cachedUnixTime=null,this},fromData:function(t,e){if(t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if("icaltype"===r)continue;this[r]=t[r]}if(e&&(this.zone=e),t&&!("isDate"in t)?this.isDate=!("hour"in t):t&&"isDate"in t&&(this.isDate=t.isDate),t&&"timezone"in t){var n=nt.TimezoneService.get(t.timezone);this.zone=n||nt.Timezone.localTimezone}return t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=nt.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(t){var e=t||nt.Time.SUNDAY,r=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(r in nt.Time._dowCache)return nt.Time._dowCache[r];var n=this.day,i=this.month+(this.month<3?12:0),a=this.year-(this.month<3?1:0),o=n+a+nt.helpers.trunc(26*(i+1)/10)+nt.helpers.trunc(a/4);return o=((o+=6*nt.helpers.trunc(a/100)+nt.helpers.trunc(a/400))+7-e)%7+1,nt.Time._dowCache[r]=o,o},dayOfYear:function(){var t=nt.Time.isLeapYear(this.year)?1:0;return nt.Time.daysInYearPassedMonth[t][this.month-1]+this.day},startOfWeek:function(t){var e=t||nt.Time.SUNDAY,r=this.clone();return r.day-=(this.dayOfWeek()+7-e)%7,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r},endOfWeek:function(t){var e=t||nt.Time.SUNDAY,r=this.clone();return r.day+=(7-this.dayOfWeek()+e-nt.Time.SUNDAY)%7,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r},startOfMonth:function(){var t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfMonth:function(){var t=this.clone();return t.day=nt.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||nt.Time.SUNDAY,r=this.dayOfWeek()-e;return r<0&&(r+=7),this.dayOfYear()-r},getDominicalLetter:function(){return nt.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,e){var r,n=nt.Time.daysInMonth(this.month,this.year),i=e,a=0,o=this.clone();if(i>=0){o.day=1,0!=i&&i--,a=o.day;var s=t-o.dayOfWeek();s<0&&(s+=7),a+=s,a-=t,r=t}else o.day=n,i++,(r=o.dayOfWeek()-t)<0&&(r+=7),r=n-r;return a+(r+7*i)},isNthWeekDay:function(t,e){var r=this.dayOfWeek();return 0===e&&r===t||this.nthWeekDay(t,e)===this.day},weekNumber:function(t){var e=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(e in nt.Time._wnCache)return nt.Time._wnCache[e];var r,n=this.clone();n.isDate=!0;var i=this.year;12==n.month&&n.day>25?(r=nt.Time.weekOneStarts(i+1,t),n.compare(r)<0?r=nt.Time.weekOneStarts(i,t):i++):(r=nt.Time.weekOneStarts(i,t),n.compare(r)<0&&(r=nt.Time.weekOneStarts(--i,t)));var a=n.subtractDate(r).toSeconds()/86400,o=nt.helpers.trunc(a/7)+1;return nt.Time._wnCache[e]=o,o},addDuration:function(t){var e=t.isNegative?-1:1,r=this.second,n=this.minute,i=this.hour,a=this.day;r+=e*t.seconds,n+=e*t.minutes,i+=e*t.hours,a+=e*t.days,a+=7*e*t.weeks,this.second=r,this.minute=n,this.hour=i,this.day=a,this._cachedUnixTime=null},subtractDate:function(t){var e=this.toUnixTime()+this.utcOffset(),r=t.toUnixTime()+t.utcOffset();return nt.Duration.fromSeconds(e-r)},subtractDateTz:function(t){var e=this.toUnixTime(),r=t.toUnixTime();return nt.Duration.fromSeconds(e-r)},compare:function(t){var e=this.toUnixTime(),r=t.toUnixTime();return e>r?1:r>e?-1:0},compareDateOnlyTz:function(t,e){function r(t){return nt.Time._cmp_attr(n,i,t)}var n=this.convertToZone(e),i=t.convertToZone(e),a=0;return 0!=(a=r("year"))||0!=(a=r("month"))||(a=r("day")),a},convertToZone:function(t){var e=this.clone(),r=this.zone.tzid==t.tzid;return!this.isDate&&!r&&nt.Timezone.convert_time(e,this.zone,t),e.zone=t,e},utcOffset:function(){return this.zone==nt.Timezone.localTimezone||this.zone==nt.Timezone.utcTimezone?0:this.zone.utcOffset(this)},toICALString:function(){var t=this.toString();return t.length>10?nt.design.icalendar.value["date-time"].toICAL(t):nt.design.icalendar.value.date.toICAL(t)},toString:function(){var t=this.year+"-"+nt.helpers.pad2(this.month)+"-"+nt.helpers.pad2(this.day);return this.isDate||(t+="T"+nt.helpers.pad2(this.hour)+":"+nt.helpers.pad2(this.minute)+":"+nt.helpers.pad2(this.second),this.zone===nt.Timezone.utcTimezone&&(t+="Z")),t},toJSDate:function(){return this.zone==nt.Timezone.localTimezone?this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0):new Date(1e3*this.toUnixTime())},_normalize:function(){return this._time.isDate,this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this},adjust:function(t,e,r,n,i){var a,o,s,u,c,l,f,d=0,h=0,p=i||this._time;if(p.isDate||(s=p.second+n,p.second=s%60,a=nt.helpers.trunc(s/60),p.second<0&&(p.second+=60,a--),u=p.minute+r+a,p.minute=u%60,o=nt.helpers.trunc(u/60),p.minute<0&&(p.minute+=60,o--),c=p.hour+e+o,p.hour=c%24,d=nt.helpers.trunc(c/24),p.hour<0&&(p.hour+=24,d--)),p.month>12?h=nt.helpers.trunc((p.month-1)/12):p.month<1&&(h=nt.helpers.trunc(p.month/12)-1),p.year+=h,p.month-=12*h,(l=p.day+t+d)>0)for(;!(l<=(f=nt.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+=nt.Time.daysInMonth(p.month,p.year);return p.day=l,this._cachedUnixTime=null,this},fromUnixTime:function(t){this.zone=nt.Timezone.utcTimezone;var e=nt.Time.epochTime.clone();e.adjust(0,0,0,t),this.year=e.year,this.month=e.month,this.day=e.day,this.hour=e.hour,this.minute=e.minute,this.second=Math.floor(e.second),this._cachedUnixTime=null},toUnixTime:function(){if(null!==this._cachedUnixTime)return this._cachedUnixTime;var t=this.utcOffset(),e=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-t);return this._cachedUnixTime=e/1e3,this._cachedUnixTime},toJSON:function(){for(var t,e=["year","month","day","hour","minute","second","isDate"],r=Object.create(null),n=0,i=e.length;n<i;n++)r[t=e[n]]=this[t];return this.zone&&(r.timezone=this.zone.tzid),r}},function(){function t(t){Object.defineProperty(nt.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"))}(),nt.Time.daysInMonth=function(t,e){var r=30;return t<1||t>12||(r=[0,31,28,31,30,31,30,31,31,30,31,30,31][t],2==t&&(r+=nt.Time.isLeapYear(e))),r},nt.Time.isLeapYear=function(t){return t<=1752?t%4==0:t%4==0&&t%100!=0||t%400==0},nt.Time.fromDayOfYear=function(t,e){var r=e,n=t,i=new nt.Time;i.auto_normalize=!1;var a=nt.Time.isLeapYear(r)?1:0;if(n<1)return r--,a=nt.Time.isLeapYear(r)?1:0,n+=nt.Time.daysInYearPassedMonth[a][12],nt.Time.fromDayOfYear(n,r);if(n>nt.Time.daysInYearPassedMonth[a][12])return a=nt.Time.isLeapYear(r)?1:0,n-=nt.Time.daysInYearPassedMonth[a][12],r++,nt.Time.fromDayOfYear(n,r);i.year=r,i.isDate=!0;for(var o=11;o>=0;o--)if(n>nt.Time.daysInYearPassedMonth[a][o]){i.month=o+1,i.day=n-nt.Time.daysInYearPassedMonth[a][o];break}return i.auto_normalize=!0,i},nt.Time.fromStringv2=function(t){return new nt.Time({year:parseInt(t.substr(0,4),10),month:parseInt(t.substr(5,2),10),day:parseInt(t.substr(8,2),10),isDate:!0})},nt.Time.fromDateString=function(t){return new nt.Time({year:nt.helpers.strictParseInt(t.substr(0,4)),month:nt.helpers.strictParseInt(t.substr(5,2)),day:nt.helpers.strictParseInt(t.substr(8,2)),isDate:!0})},nt.Time.fromDateTimeString=function(t,e){if(t.length<19)throw new Error('invalid date-time value: "'+t+'"');var r;return t[19]&&"Z"===t[19]?r="Z":e&&(r=e.getParameter("tzid")),new nt.Time({year:nt.helpers.strictParseInt(t.substr(0,4)),month:nt.helpers.strictParseInt(t.substr(5,2)),day:nt.helpers.strictParseInt(t.substr(8,2)),hour:nt.helpers.strictParseInt(t.substr(11,2)),minute:nt.helpers.strictParseInt(t.substr(14,2)),second:nt.helpers.strictParseInt(t.substr(17,2)),timezone:r})},nt.Time.fromString=function(t,e){return t.length>10?nt.Time.fromDateTimeString(t,e):nt.Time.fromDateString(t)},nt.Time.fromJSDate=function(t,e){return(new nt.Time).fromJSDate(t,e)},nt.Time.fromData=function(t,e){return(new nt.Time).fromData(t,e)},nt.Time.now=function(){return nt.Time.fromJSDate(new Date,!1)},nt.Time.weekOneStarts=function(t,e){var r=nt.Time.fromData({year:t,month:1,day:1,isDate:!0}),n=r.dayOfWeek(),i=e||nt.Time.DEFAULT_WEEK_START;return n>nt.Time.THURSDAY&&(r.day+=7),i>nt.Time.THURSDAY&&(r.day-=7),r.day-=n-i,r},nt.Time.getDominicalLetter=function(t){var e="GFEDCBA",r=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return nt.Time.isLeapYear(t)?e[(r+6)%7]+e[r]:e[r]},nt.Time.epochTime=nt.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),nt.Time._cmp_attr=function(t,e,r){return t[r]>e[r]?1:t[r]<e[r]?-1:0},nt.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]],nt.Time.SUNDAY=1,nt.Time.MONDAY=2,nt.Time.TUESDAY=3,nt.Time.WEDNESDAY=4,nt.Time.THURSDAY=5,nt.Time.FRIDAY=6,nt.Time.SATURDAY=7,nt.Time.DEFAULT_WEEK_START=nt.Time.MONDAY,nt.VCardTime=function(t,e,r){this.wrappedJSObject=this;var n=this._time=Object.create(null);n.year=null,n.month=null,n.day=null,n.hour=null,n.minute=null,n.second=null,this.icaltype=r||"date-and-or-time",this.fromData(t,e)},nt.helpers.inherits(nt.Time,nt.VCardTime,{icalclass:"vcardtime",icaltype:"date-and-or-time",zone:null,clone:function(){return new nt.VCardTime(this._time,this.zone,this.icaltype)},_normalize:function(){return this},utcOffset:function(){return this.zone instanceof nt.UtcOffset?this.zone.toSeconds():nt.Time.prototype.utcOffset.apply(this,arguments)},toICALString:function(){return nt.design.vcard.value[this.icaltype].toICAL(this.toString())},toString:function(){var t,e=nt.helpers.pad2,r=this.year,n=this.month,i=this.day,a=this.hour,o=this.minute,s=this.second,u=null!==n,c=null!==i,l=null!==a,f=null!==o,d=null!==s,h=(null!==r?e(r)+(u||c?"-":""):u||c?"--":"")+(u?e(n):"")+(c?"-"+e(i):""),p=(l?e(a):"-")+(l&&f?":":"")+(f?e(o):"")+(l||f?"":"-")+(f&&d?":":"")+(d?e(s):"");switch(t=this.zone===nt.Timezone.utcTimezone?"Z":this.zone instanceof nt.UtcOffset?this.zone.toString():this.zone===nt.Timezone.localTimezone?"":this.zone instanceof nt.Timezone?nt.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}}),nt.VCardTime.fromDateAndOrTimeString=function(t,e){function r(t,e,r){return t?nt.helpers.strictParseInt(t.substr(e,r)):null}var n=t.split("T"),i=n[0],a=n[1],o=a?nt.design.vcard.value.time._splitZone(a):[],s=o[0],u=o[1];nt.helpers.strictParseInt;var c=i?i.length:0,l=u?u.length:0,f=i&&"-"==i[0]&&"-"==i[1],d=u&&"-"==u[0],h={year:f?null:r(i,0,4),month:!f||4!=c&&7!=c?7==c||10==c?r(i,5,2):null:r(i,2,2),day:5==c?r(i,3,2):7==c&&f?r(i,5,2):10==c?r(i,8,2):null,hour:d?null:r(u,0,2),minute:d&&3==l?r(u,1,2):l>4?r(u,d?1:3,2):null,second:4==l?r(u,2,2):6==l?r(u,4,2):8==l?r(u,6,2):null};return s="Z"==s?nt.Timezone.utcTimezone:s&&":"==s[3]?nt.UtcOffset.fromString(s):null,new nt.VCardTime(h,s,e)},function(){var t={SU:nt.Time.SUNDAY,MO:nt.Time.MONDAY,TU:nt.Time.TUESDAY,WE:nt.Time.WEDNESDAY,TH:nt.Time.THURSDAY,FR:nt.Time.FRIDAY,SA:nt.Time.SATURDAY},e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);function n(t,e,r,n){var i=n;if("+"===n[0]&&(i=n.substr(1)),i=nt.helpers.strictParseInt(i),void 0!==e&&n<e)throw new Error(t+': invalid value "'+n+'" must be > '+e);if(void 0!==r&&n>r)throw new Error(t+': invalid value "'+n+'" must be < '+e);return i}nt.Recur=function(t){this.wrappedJSObject=this,this.parts={},t&&"object"==typeof t&&this.fromData(t)},nt.Recur.prototype={parts:null,interval:1,wkst:nt.Time.MONDAY,until:null,count:null,freq:null,icalclass:"icalrecur",icaltype:"recur",iterator:function(t){return new nt.RecurIterator({rule:this,dtstart:t})},clone:function(){return new nt.Recur(this.toJSON())},isFinite:function(){return!(!this.count&&!this.until)},isByCount:function(){return!(!this.count||this.until)},addComponent:function(t,e){var r=t.toUpperCase();r in this.parts?this.parts[r].push(e):this.parts[r]=[e]},setComponent:function(t,e){this.parts[t.toUpperCase()]=e.slice()},getComponent:function(t){var e=t.toUpperCase();return e in this.parts?this.parts[e].slice():[]},getNextOccurrence:function(t,e){var r,n=this.iterator(t);do{r=n.next()}while(r&&r.compare(e)<=0);return r&&e.zone&&(r.zone=e.zone),r},fromData:function(t){for(var e in t){var r=e.toUpperCase();r in u?Array.isArray(t[e])?this.parts[r]=t[e]:this.parts[r]=[t[e]]:this[e]=t[e]}this.interval&&"number"!=typeof this.interval&&s.INTERVAL(this.interval,this),this.wkst&&"number"!=typeof this.wkst&&(this.wkst=nt.Recur.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof nt.Time)&&(this.until=nt.Time.fromString(this.until))},toJSON:function(){var t=Object.create(null);for(var e in t.freq=this.freq,this.count&&(t.count=this.count),this.interval>1&&(t.interval=this.interval),this.parts)if(this.parts.hasOwnProperty(e)){var r=this.parts[e];Array.isArray(r)&&1==r.length?t[e.toLowerCase()]=r[0]:t[e.toLowerCase()]=nt.helpers.clone(this.parts[e])}return this.until&&(t.until=this.until.toString()),"wkst"in this&&this.wkst!==nt.Time.DEFAULT_WEEK_START&&(t.wkst=nt.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!==nt.Time.DEFAULT_WEEK_START&&(t+=";WKST="+nt.Recur.numericDayToIcalDay(this.wkst)),t}},nt.Recur.icalDayToNumericDay=function(e,r){var n=r||nt.Time.SUNDAY;return(t[e]-n+7)%7+1},nt.Recur.numericDayToIcalDay=function(t,r){var n=t+(r||nt.Time.SUNDAY)-nt.Time.SUNDAY;return n>7&&(n-=7),e[n]};var i=/^(SU|MO|TU|WE|TH|FR|SA)$/,a=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,o=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],s={FREQ:function(t,e,r){if(-1===o.indexOf(t))throw new Error('invalid frequency "'+t+'" expected: "'+o.join(", ")+'"');e.freq=t},COUNT:function(t,e,r){e.count=nt.helpers.strictParseInt(t)},INTERVAL:function(t,e,r){e.interval=nt.helpers.strictParseInt(t),e.interval<1&&(e.interval=1)},UNTIL:function(t,e,r){t.length>10?e.until=nt.design.icalendar.value["date-time"].fromICAL(t):e.until=nt.design.icalendar.value.date.fromICAL(t),r||(e.until=nt.Time.fromString(e.until))},WKST:function(t,e,r){if(!i.test(t))throw new Error('invalid WKST value "'+t+'"');e.wkst=nt.Recur.icalDayToNumericDay(t)}},u={BYSECOND:n.bind(this,"BYSECOND",0,60),BYMINUTE:n.bind(this,"BYMINUTE",0,59),BYHOUR:n.bind(this,"BYHOUR",0,23),BYDAY:function(t){if(a.test(t))return t;throw new Error('invalid BYDAY value "'+t+'"')},BYMONTHDAY:n.bind(this,"BYMONTHDAY",-31,31),BYYEARDAY:n.bind(this,"BYYEARDAY",-366,366),BYWEEKNO:n.bind(this,"BYWEEKNO",-53,53),BYMONTH:n.bind(this,"BYMONTH",1,12),BYSETPOS:n.bind(this,"BYSETPOS",-366,366)};nt.Recur.fromString=function(t){var e=nt.Recur._stringToData(t,!1);return new nt.Recur(e)},nt.Recur.fromData=function(t){return new nt.Recur(t)},nt.Recur._stringToData=function(t,e){for(var r=Object.create(null),n=t.split(";"),i=n.length,a=0;a<i;a++){var o=n[a].split("="),c=o[0].toUpperCase(),l=o[0].toLowerCase(),f=e?l:c,d=o[1];if(c in u){for(var h=d.split(","),p=0,m=h.length;p<m;p++)h[p]=u[c](h[p]);r[f]=1==h.length?h[0]:h}else c in s?s[c](d,r,e):r[l]=d}return r}}(),nt.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=nt.helpers.formatClassType(t.rule,nt.Recur),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=nt.helpers.formatClassType(t.dtstart,nt.Time),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");t.by_data?this.by_data=t.by_data:this.by_data=nt.helpers.clone(this.rule.parts,!0),t.occurrence_number&&(this.occurrence_number=t.occurrence_number),this.days=t.days||[],t.last&&(this.last=nt.helpers.formatClassType(t.last,nt.Time)),this.by_indices=t.by_indices,this.by_indices||(this.by_indices={BYSECOND:0,BYMINUTE:0,BYHOUR:0,BYDAY:0,BYMONTH:0,BYWEEKNO:0,BYMONTHDAY:0}),this.initialized=t.initialized||!1,this.initialized||this.init()},init:function(){this.initialized=!0,this.last=this.dtstart.clone();var t=this.by_data;if("BYDAY"in t&&this.sort_byday_rules(t.BYDAY),"BYYEARDAY"in t&&("BYMONTH"in t||"BYWEEKNO"in t||"BYMONTHDAY"in t||"BYDAY"in t))throw new Error("Invalid BYYEARDAY rule");if("BYWEEKNO"in t&&"BYMONTHDAY"in t)throw new Error("BYWEEKNO does not fit to BYMONTHDAY");if("MONTHLY"==this.rule.freq&&("BYYEARDAY"in t||"BYWEEKNO"in t))throw new Error("For MONTHLY recurrences neither BYYEARDAY nor BYWEEKNO may appear");if("WEEKLY"==this.rule.freq&&("BYYEARDAY"in t||"BYMONTHDAY"in t))throw new Error("For WEEKLY recurrences neither BYMONTHDAY nor BYYEARDAY may appear");if("YEARLY"!=this.rule.freq&&"BYYEARDAY"in t)throw new Error("BYYEARDAY may only appear in YEARLY rules");if(this.last.second=this.setup_defaults("BYSECOND","SECONDLY",this.dtstart.second),this.last.minute=this.setup_defaults("BYMINUTE","MINUTELY",this.dtstart.minute),this.last.hour=this.setup_defaults("BYHOUR","HOURLY",this.dtstart.hour),this.last.day=this.setup_defaults("BYMONTHDAY","DAILY",this.dtstart.day),this.last.month=this.setup_defaults("BYMONTH","MONTHLY",this.dtstart.month),"WEEKLY"==this.rule.freq)if("BYDAY"in t){var e=(u=this.ruleDayOfWeek(t.BYDAY[0],this.rule.wkst))[0],r=(c=u[1])-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<c&&r>=0||r<0)&&(this.last.day+=r)}else{var n=nt.Recur.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[n]}if("YEARLY"==this.rule.freq){for(;this.expand_year_days(this.last.year),!(this.days.length>0);)this.increment_year(this.rule.interval);this._nextByYearDay()}if("MONTHLY"==this.rule.freq&&this.has_by_data("BYDAY")){var i=null,a=this.last.clone(),o=nt.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=nt.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=nt.Time.daysInMonth(this.last.month,this.last.year),this.last.day=o+this.last.day+1)},next:function(){var t,e=this.last?this.last.clone():null;if(this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)return this.completed=!0,null;if(0==this.occurrence_number&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;do{switch(t=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":t=this.next_month();break;case"YEARLY":this.next_year();break;default:return null}}while(!this.check_contracting_rules()||this.last.compare(this.dtstart)<0||!t);if(0==this.last.compare(e))throw new Error("Same occurrence found twice, protecting you from death by recursion");return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)},next_second:function(){return this.next_generic("BYSECOND","SECONDLY","second","minute")},increment_second:function(t){return this.increment_generic(t,"second",60,"minute")},next_minute:function(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")},increment_minute:function(t){return this.increment_generic(t,"minute",60,"hour")},next_hour:function(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")},increment_hour:function(t){this.increment_generic(t,"hour",24,"monthday")},next_day:function(){this.by_data;var t="DAILY"==this.rule.freq;return 0==this.next_hour()||(t?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0},next_week:function(){var t=0;if(0==this.next_weekday_by_week())return t;if(this.has_by_data("BYWEEKNO")){++this.by_indices.BYWEEKNO,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,t=1),this.last.month=1,this.last.day=1;var e=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*e,t&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return t},normalizeByMonthDayRules:function(t,e,r){for(var n,i=nt.Time.daysInMonth(e,t),a=[],o=0,s=r.length;o<s;o++)if(n=r[o],!(Math.abs(n)>i)){if(n<0)n=i+(n+1);else if(0===n)continue;-1===a.indexOf(n)&&a.push(n)}return a.sort((function(t,e){return t-e}))},_byDayAndMonthDay:function(t){var e,r,n,i,a=this.by_data.BYDAY,o=0,s=a.length,u=0,c=this,l=this.last.day;function f(){for(i=nt.Time.daysInMonth(c.last.month,c.last.year),e=c.normalizeByMonthDayRules(c.last.year,c.last.month,c.by_data.BYMONTHDAY),n=e.length;e[o]<=l&&(!t||e[o]!=l)&&o<n-1;)o++}function d(){l=0,c.increment_month(),o=0,f()}f(),t&&(l-=1);for(var h=48;!u&&h;)if(h--,(r=l+1)>i)d();else{var p=e[o++];if(p>=r){l=p;for(var m=0;m<s;m++){var y=this.ruleDayOfWeek(a[m]),v=y[0],g=y[1];if(this.last.day=l,this.last.isNthWeekDay(g,v)){u=1;break}}u||o!==n||d()}else d()}if(h<=0)throw new Error("Malformed values in BYDAY combined with BYMONTHDAY parts");return u},next_month:function(){this.rule.freq;var t=1;if(0==this.next_hour())return t;if(this.has_by_data("BYDAY")&&this.has_by_data("BYMONTHDAY"))t=this._byDayAndMonthDay();else if(this.has_by_data("BYDAY")){var e=nt.Time.daysInMonth(this.last.month,this.last.year),r=0,n=0;if(this.has_by_data("BYSETPOS")){for(var i=this.last.day,a=1;a<=e;a++)this.last.day=a,this.is_day_in_byday(this.last)&&(n++,a<=i&&r++);this.last.day=i}for(t=0,a=this.last.day+1;a<=e;a++)if(this.last.day=a,this.is_day_in_byday(this.last)&&(!this.has_by_data("BYSETPOS")||this.check_set_position(++r)||this.check_set_position(r-n-1))){t=1;break}a>e&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(t=1):t=0)}else this.has_by_data("BYMONTHDAY")?(this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month()),e=nt.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=nt.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 nt.Time;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,t=1);var r=this.by_data.BYDAY[this.by_indices.BYDAY],n=this.ruleDayOfWeek(r)[1];(n-=this.rule.wkst)<0&&(n+=7),e.year=this.last.year,e.month=this.last.month,e.day=this.last.day;var i=e.startDoyWeek(this.rule.wkst);if(!(n+i<1)||t){var a=nt.Time.fromDayOfYear(i+n,this.last.year);return this.last.year=a.year,this.last.month=a.month,this.last.day=a.day,t}}},next_year:function(){if(0==this.next_hour())return 0;if(++this.days_index==this.days.length){this.days_index=0;do{this.increment_year(this.rule.interval),this.expand_year_days(this.last.year)}while(0==this.days.length)}return this._nextByYearDay(),1},_nextByYearDay:function(){var t=this.days[this.days_index],e=this.last.year;t<1&&(t+=1,e+=1);var r=nt.Time.fromDayOfYear(t,e);this.last.day=r.day,this.last.month=r.month},ruleDayOfWeek:function(t,e){var r=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return r?[parseInt(r[1]||0,10),t=nt.Recur.icalDayToNumericDay(r[2],e)]:[0,0]},next_generic:function(t,e,r,n,i){var a=t in this.by_data,o=this.rule.freq==e,s=0;if(i&&0==this[i]())return s;if(a){this.by_indices[t]++,this.by_indices[t];var u=this.by_data[t];this.by_indices[t]==u.length&&(this.by_indices[t]=0,s=1),this.last[r]=u[this.by_indices[t]]}else o&&this["increment_"+r](this.rule.interval);return a&&s&&o&&this["increment_"+n](1),s},increment_monthday:function(t){for(var e=0;e<t;e++){var r=nt.Time.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>r&&(this.last.day-=r,this.increment_month())}},increment_month:function(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{"MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;var t=nt.helpers.trunc(this.last.month/12);this.last.month%=12,this.last.month++,0!=t&&this.increment_year(t)}},increment_year:function(t){this.last.year+=t},increment_generic:function(t,e,r,n){this.last[e]+=t;var i=nt.helpers.trunc(this.last[e]/r);this.last[e]%=r,0!=i&&this["increment_"+n](i)},has_by_data:function(t){return t in this.rule.parts},expand_year_days:function(t){var e=new nt.Time;this.days=[];var r={},n=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];a in this.rule.parts&&(r[a]=this.rule.parts[a])}if("BYMONTH"in r&&"BYWEEKNO"in r){var o=1,s={};e.year=t,e.isDate=!0;for(var u=0;u<this.by_data.BYMONTH.length;u++){var c=this.by_data.BYMONTH[u];e.month=c,e.day=1;var l=e.weekNumber(this.rule.wkst);e.day=nt.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++)(R=this.by_data.BYWEEKNO[d])<52?o&=s[d]:o=0;o?delete r.BYMONTH:delete r.BYWEEKNO}var h=Object.keys(r).length;if(0==h){var p=this.dtstart.clone();p.year=this.last.year,this.days.push(p.dayOfYear())}else if(1==h&&"BYMONTH"in r){for(var m in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(m)){var y=this.dtstart.clone();y.year=t,y.month=this.by_data.BYMONTH[m],y.isDate=!0,this.days.push(y.dayOfYear())}}else if(1==h&&"BYMONTHDAY"in r){for(var v in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(v)){var g=this.dtstart.clone();(b=this.by_data.BYMONTHDAY[v])<0&&(b=b+(A=nt.Time.daysInMonth(g.month,t))+1),g.day=b,g.year=t,g.isDate=!0,this.days.push(g.dayOfYear())}}else if(2==h&&"BYMONTHDAY"in r&&"BYMONTH"in r){for(var m in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(m)){var T=this.by_data.BYMONTH[m],A=nt.Time.daysInMonth(T,t);for(var v in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(v)){var b;(b=this.by_data.BYMONTHDAY[v])<0&&(b=b+A+1),e.day=b,e.month=T,e.year=t,e.isDate=!0,this.days.push(e.dayOfYear())}}}else if(!(1==h&&"BYWEEKNO"in r||2==h&&"BYWEEKNO"in r&&"BYMONTHDAY"in r))if(1==h&&"BYDAY"in r)this.days=this.days.concat(this.expand_by_day(t));else if(2==h&&"BYDAY"in r&&"BYMONTH"in r){for(var m in this.by_data.BYMONTH)if(this.by_data.BYMONTH.hasOwnProperty(m)){c=this.by_data.BYMONTH[m],A=nt.Time.daysInMonth(c,t),e.year=t,e.month=this.by_data.BYMONTH[m],e.day=1,e.isDate=!0;var S=e.dayOfWeek(),E=e.dayOfYear()-1;e.day=A;var _=e.dayOfWeek();if(this.has_by_data("BYSETPOS")){for(var x=[],w=1;w<=A;w++)e.day=w,this.is_day_in_byday(e)&&x.push(w);for(var D=0;D<x.length;D++)(this.check_set_position(D+1)||this.check_set_position(D-x.length))&&this.days.push(E+x[D])}else for(var C in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(C)){var O,I=this.by_data.BYDAY[C],N=this.ruleDayOfWeek(I),L=N[0],U=N[1],M=(U+7-S)%7+1,P=A-(_+7-U)%7;if(0==L)for(w=M;w<=A;w+=7)this.days.push(E+w);else L>0?(O=M+7*(L-1))<=A&&this.days.push(E+O):(O=P+7*(L+1))>0&&this.days.push(E+O)}}this.days.sort((function(t,e){return t-e}))}else if(2==h&&"BYDAY"in r&&"BYMONTHDAY"in r){var k=this.expand_by_day(t);for(var Y in k)if(k.hasOwnProperty(Y)){w=k[Y];var j=nt.Time.fromDayOfYear(w,t);this.by_data.BYMONTHDAY.indexOf(j.day)>=0&&this.days.push(w)}}else if(3==h&&"BYDAY"in r&&"BYMONTHDAY"in r&&"BYMONTH"in r)for(var Y in k=this.expand_by_day(t))k.hasOwnProperty(Y)&&(w=k[Y],j=nt.Time.fromDayOfYear(w,t),this.by_data.BYMONTH.indexOf(j.month)>=0&&this.by_data.BYMONTHDAY.indexOf(j.day)>=0&&this.days.push(w));else if(2==h&&"BYDAY"in r&&"BYWEEKNO"in r){for(var Y in k=this.expand_by_day(t))if(k.hasOwnProperty(Y)){w=k[Y];var R=(j=nt.Time.fromDayOfYear(w,t)).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(R)&&this.days.push(w)}}else 3==h&&"BYDAY"in r&&"BYWEEKNO"in r&&"BYMONTHDAY"in r||(this.days=1==h&&"BYYEARDAY"in r?this.days.concat(this.by_data.BYYEARDAY):[]);return 0},expand_by_day:function(t){var e=[],r=this.last.clone();r.year=t,r.month=1,r.day=1,r.isDate=!0;var n=r.dayOfWeek();r.month=12,r.day=31,r.isDate=!0;var i=r.dayOfWeek(),a=r.dayOfYear();for(var o in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(o)){var s=this.by_data.BYDAY[o],u=this.ruleDayOfWeek(s),c=u[0],l=u[1];if(0==c)for(var f=(l+7-n)%7+1;f<=a;f+=7)e.push(f);else if(c>0){var d;d=l>=n?l-n+1:l-n+8,e.push(d+7*(c-1))}else{var h;c=-c,h=l<=i?a-i+l:a-i+l-7,e.push(h-7*(c-1))}}return e},is_day_in_byday:function(t){for(var e in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(e)){var r=this.by_data.BYDAY[e],n=this.ruleDayOfWeek(r),i=n[0],a=n[1],o=t.dayOfWeek();if(0==i&&a==o||t.nthWeekDay(a,i)==t.day)return 1}return 0},check_set_position:function(t){return!!this.has_by_data("BYSETPOS")&&-1!==this.by_data.BYSETPOS.indexOf(t)},sort_byday_rules:function(t){for(var e=0;e<t.length;e++)for(var r=0;r<e;r++)if(this.ruleDayOfWeek(t[r],this.rule.wkst)[1]>this.ruleDayOfWeek(t[e],this.rule.wkst)[1]){var n=t[e];t[e]=t[r],t[r]=n}},check_contract_restriction:function(e,r){var n=t._indexMap[e],i=t._expandMap[this.rule.freq][n],a=!1;if(e in this.by_data&&i==t.CONTRACT){var o=this.by_data[e];for(var s in o)if(o.hasOwnProperty(s)&&o[s]==r){a=!0;break}}else a=!0;return a},check_contracting_rules:function(){var t=this.last.dayOfWeek(),e=this.last.weekNumber(this.rule.wkst),r=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",nt.Recur.numericDayToIcalDay(t))&&this.check_contract_restriction("BYWEEKNO",e)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",r)},setup_defaults:function(e,r,n){var i=t._indexMap[e];return t._expandMap[this.rule.freq][i]!=t.CONTRACT&&(e in this.by_data||(this.by_data[e]=[n]),this.rule.freq!=r)?this.by_data[e][0]:n},toJSON:function(){var t=Object.create(null);return t.initialized=this.initialized,t.rule=this.rule.toJSON(),t.dtstart=this.dtstart.toJSON(),t.by_data=this.by_data,t.days=this.days,t.last=this.last.toJSON(),t.by_indices=this.by_indices,t.occurrence_number=this.occurrence_number,t}},t._indexMap={BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8},t._expandMap={SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]},t.UNKNOWN=0,t.CONTRACT=1,t.EXPAND=2,t.ILLEGAL=3,t}(),nt.RecurExpansion=function(){function t(t){return nt.helpers.formatClassType(t,nt.Time)}function e(t,e){return t.compare(e)}function r(t){this.ruleDates=[],this.exDates=[],this.fromData(t)}return r.prototype={complete:!1,ruleIterators:null,ruleDates:null,exDates:null,ruleDateInc:0,exDateInc:0,exDate:null,ruleDate:null,dtstart:null,last:null,fromData:function(e){var r=nt.helpers.formatClassType(e.dtstart,nt.Time);if(!r)throw new Error(".dtstart (ICAL.Time) must be given");if(this.dtstart=r,e.component)this._init(e.component);else{if(this.last=t(e.last)||r.clone(),!e.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=e.ruleIterators.map((function(t){return nt.helpers.formatClassType(t,nt.RecurIterator)})),this.ruleDateInc=e.ruleDateInc,this.exDateInc=e.exDateInc,e.ruleDates&&(this.ruleDates=e.ruleDates.map(t),this.ruleDate=this.ruleDates[this.ruleDateInc]),e.exDates&&(this.exDates=e.exDates.map(t),this.exDate=this.exDates[this.exDateInc]),typeof e.complete<"u"&&(this.complete=e.complete)}},next:function(){for(var t,e,r,n=0;;){if(n++>500)throw new Error("max tries have occured, rule may be impossible to forfill.");if(e=this.ruleDate,t=this._nextRecurrenceIter(this.last),!e&&!t){this.complete=!0;break}if((!e||t&&e.compare(t.last)>0)&&(e=t.last.clone(),t.next()),this.ruleDate===e&&this._nextRuleDay(),this.last=e,!this.exDate||((r=this.exDate.compare(this.last))<0&&this._nextExDay(),0!==r))return this.last;this._nextExDay()}},toJSON:function(){function t(t){return t.toJSON()}var e=Object.create(null);return e.ruleIterators=this.ruleIterators.map(t),this.ruleDates&&(e.ruleDates=this.ruleDates.map(t)),this.exDates&&(e.exDates=this.exDates.map(t)),e.ruleDateInc=this.ruleDateInc,e.exDateInc=this.exDateInc,e.last=this.last.toJSON(),e.dtstart=this.dtstart.toJSON(),e.complete=this.complete,e},_extractDates:function(t,r){function n(t){i=nt.helpers.binsearchInsert(a,t,e),a.splice(i,0,t)}for(var i,a=[],o=t.getAllProperties(r),s=o.length,u=0;u<s;u++)o[u].getValues().forEach(n);return a},_init:function(t){if(this.ruleIterators=[],this.last=this.dtstart.clone(),!function(t){return t.hasProperty("rdate")||t.hasProperty("rrule")||t.hasProperty("recurrence-id")}(t))return this.ruleDate=this.last.clone(),void(this.complete=!0);if(t.hasProperty("rdate")&&(this.ruleDates=this._extractDates(t,"rdate"),this.ruleDates[0]&&this.ruleDates[0].compare(this.dtstart)<0?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=nt.helpers.binsearchInsert(this.ruleDates,this.last,e),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.hasProperty("rrule"))for(var r,n=t.getAllProperties("rrule"),i=0,a=n.length;i<a;i++)r=n[i].getFirstValue().iterator(this.dtstart),this.ruleIterators.push(r),r.next();t.hasProperty("exdate")&&(this.exDates=this._extractDates(t,"exdate"),this.exDateInc=nt.helpers.binsearchInsert(this.exDates,this.last,e),this.exDate=this.exDates[this.exDateInc])},_nextExDay:function(){this.exDate=this.exDates[++this.exDateInc]},_nextRuleDay:function(){this.ruleDate=this.ruleDates[++this.ruleDateInc]},_nextRecurrenceIter:function(){var t=this.ruleIterators;if(0===t.length)return null;for(var e,r,n,i=t.length,a=0;a<i;a++)r=(e=t[a]).last,e.completed?(i--,0!==a&&a--,t.splice(a,1)):(!n||n.last.compare(r)>0)&&(n=e);return n}},r}(),nt.Event=function(){function t(t,e){t instanceof nt.Component||(e=t,t=null),this.component=t||new nt.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 nt.Component&&(t=new nt.Event(t)),this.strictExceptions&&t.uid!==this.uid)throw new Error("attempted to relate unrelated exception");var r=t.recurrenceId.toString();if(this.exceptions[r]=t,t.modifiesFuture()){var n=[t.recurrenceId.toUnixTime(),r],i=nt.helpers.binsearchInsert(this.rangeExceptions,n,e);this.rangeExceptions.splice(i,0,n)}},modifiesFuture:function(){return!!this.component.hasProperty("recurrence-id")&&this.component.getFirstProperty("recurrence-id").getParameter("range")===this.THISANDFUTURE},findRangeException:function(t){if(!this.rangeExceptions.length)return null;var r=t.toUnixTime(),n=nt.helpers.binsearchInsert(this.rangeExceptions,[r],e);if((n-=1)<0)return null;var i=this.rangeExceptions[n];return r<i[0]?null:i[1]},getOccurrenceDetails:function(t){var e,r=t.toString(),n=t.convertToZone(nt.Timezone.utcTimezone).toString(),i={recurrenceId:t};if(r in this.exceptions)e=i.item=this.exceptions[r],i.startDate=e.startDate,i.endDate=e.endDate,i.item=e;else if(n in this.exceptions)e=this.exceptions[n],i.startDate=e.startDate,i.endDate=e.endDate,i.item=e;else{var a,o=this.findRangeException(t);if(o){var s=this.exceptions[o];i.item=s;var u=this._rangeExceptionCache[o];if(!u){var c=s.recurrenceId.clone(),l=s.startDate.clone();c.zone=l.zone,u=l.subtractDate(c),this._rangeExceptionCache[o]=u}var f=t.clone();f.zone=s.startDate.zone,f.addDuration(u),(a=f.clone()).addDuration(s.duration),i.startDate=f,i.endDate=a}else(a=t.clone()).addDuration(this.duration),i.endDate=a,i.startDate=t,i.item=this}return i},iterator:function(t){return new nt.RecurExpansion({component:this.component,dtstart:t||this.startDate})},isRecurring:function(){var t=this.component;return t.hasProperty("rrule")||t.hasProperty("rdate")},isRecurrenceException:function(){return this.component.hasProperty("recurrence-id")},getRecurrenceTypes:function(){for(var t=this.component.getAllProperties("rrule"),e=0,r=t.length,n=Object.create(null);e<r;e++)n[t[e].getFirstValue().freq]=!0;return n},get uid(){return this._firstProp("uid")},set uid(t){this._setProp("uid",t)},get startDate(){return this._firstProp("dtstart")},set startDate(t){this._setTime("dtstart",t)},get endDate(){var t=this._firstProp("dtend");if(!t){var e=this._firstProp("duration");t=this.startDate.clone(),e?t.addDuration(e):t.isDate&&(t.day+=1)}return t},set endDate(t){this.component.hasProperty("duration")&&this.component.removeProperty("duration"),this._setTime("dtend",t)},get duration(){return this._firstProp("duration")||this.endDate.subtractDateTz(this.startDate)},set duration(t){this.component.hasProperty("dtend")&&this.component.removeProperty("dtend"),this._setProp("duration",t)},get location(){return this._firstProp("location")},set location(t){return this._setProp("location",t)},get attendees(){return this.component.getAllProperties("attendee")},get summary(){return this._firstProp("summary")},set summary(t){this._setProp("summary",t)},get description(){return this._firstProp("description")},set description(t){this._setProp("description",t)},get color(){return this._firstProp("color")},set color(t){this._setProp("color",t)},get organizer(){return this._firstProp("organizer")},set organizer(t){this._setProp("organizer",t)},get sequence(){return this._firstProp("sequence")},set sequence(t){this._setProp("sequence",t)},get recurrenceId(){return this._firstProp("recurrence-id")},set recurrenceId(t){this._setTime("recurrence-id",t)},_setTime:function(t,e){var r=this.component.getFirstProperty(t);r||(r=new nt.Property(t),this.component.addProperty(r)),e.zone===nt.Timezone.localTimezone||e.zone===nt.Timezone.utcTimezone?r.removeParameter("tzid"):r.setParameter("tzid",e.zone.tzid),r.setValue(e)},_setProp:function(t,e){this.component.updatePropertyWithValue(t,e)},_firstProp:function(t){return this.component.getFirstPropertyValue(t)},toString:function(){return this.component.toString()}},t}(),nt.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=nt.parse(t)),t instanceof nt.Component||(t=new nt.Component(t));for(var e,r=t.getAllSubcomponents(),n=0,i=r.length;n<i;n++)switch(e=r[n],e.name){case"vtimezone":if(this.parseTimezone){var a=e.getFirstPropertyValue("tzid");a&&this.ontimezone(new nt.Timezone({tzid:a,component:e}))}break;case"vevent":this.parseEvent&&this.onevent(new nt.Event(e));break;default:continue}this.oncomplete()}},t}();var ot=at;let st;const ut=new Uint8Array(16);function ct(){if(!st&&(st=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!st))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return st(ut)}const lt=[];for(let t=0;t<256;++t)lt.push((t+256).toString(16).slice(1));const ft={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function dt(t,e,r){if(ft.randomUUID&&!e&&!t)return ft.randomUUID();const n=(t=t||{}).random||(t.rng||ct)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e){r=r||0;for(let t=0;t<16;++t)e[r+t]=n[t];return e}return function(t,e=0){return lt[t[e+0]]+lt[t[e+1]]+lt[t[e+2]]+lt[t[e+3]]+"-"+lt[t[e+4]]+lt[t[e+5]]+"-"+lt[t[e+6]]+lt[t[e+7]]+"-"+lt[t[e+8]]+lt[t[e+9]]+"-"+lt[t[e+10]]+lt[t[e+11]]+lt[t[e+12]]+lt[t[e+13]]+lt[t[e+14]]+lt[t[e+15]]}(n)}var ht={},pt=function(t){return t&&t.Math==Math&&t},mt=pt("object"==typeof globalThis&&globalThis)||pt("object"==typeof window&&window)||pt("object"==typeof self&&self)||pt("object"==typeof q&&q)||function(){return this}()||Function("return this")(),yt={},vt=function(t){try{return!!t()}catch{return!0}},gt=!vt((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Tt=!vt((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),At=Tt,bt=Function.prototype.call,St=At?bt.bind(bt):function(){return bt.apply(bt,arguments)},Et={},_t={}.propertyIsEnumerable,xt=Object.getOwnPropertyDescriptor,wt=xt&&!_t.call({1:2},1);Et.f=wt?function(t){var e=xt(this,t);return!!e&&e.enumerable}:_t;var Dt,Ct,Ot=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},It=Tt,Nt=Function.prototype,Lt=Nt.call,Ut=It&&Nt.bind.bind(Lt,Lt),Mt=function(t){return It?Ut(t):function(){return Lt.apply(t,arguments)}},Pt=Mt,kt=Pt({}.toString),Yt=Pt("".slice),jt=function(t){return Yt(kt(t),8,-1)},Rt=jt,Bt=Mt,zt=function(t){if("Function"===Rt(t))return Bt(t)},Ft=vt,Wt=jt,Zt=Object,Vt=zt("".split),Gt=Ft((function(){return!Zt("z").propertyIsEnumerable(0)}))?function(t){return"String"==Wt(t)?Vt(t,""):Zt(t)}:Zt,Ht=function(t){return null==t},$t=Ht,Kt=TypeError,qt=function(t){if($t(t))throw Kt("Can't call method on "+t);return t},Xt=Gt,Jt=qt,Qt=function(t){return Xt(Jt(t))},te="object"==typeof document&&document.all,ee={all:te,IS_HTMLDDA:typeof te>"u"&&void 0!==te},re=ee.all,ne=ee.IS_HTMLDDA?function(t){return"function"==typeof t||t===re}:function(t){return"function"==typeof t},ie=ne,ae=ee.all,oe=ee.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:ie(t)||t===ae}:function(t){return"object"==typeof t?null!==t:ie(t)},se=mt,ue=ne,ce=function(t,e){return arguments.length<2?function(t){return ue(t)?t:void 0}(se[t]):se[t]&&se[t][e]},le=zt({}.isPrototypeOf),fe=mt,de=ce("navigator","userAgent")||"",he=fe.process,pe=fe.Deno,me=he&&he.versions||pe&&pe.version,ye=me&&me.v8;ye&&(Ct=(Dt=ye.split("."))[0]>0&&Dt[0]<4?1:+(Dt[0]+Dt[1])),!Ct&&de&&(!(Dt=de.match(/Edge\/(\d+)/))||Dt[1]>=74)&&(Dt=de.match(/Chrome\/(\d+)/))&&(Ct=+Dt[1]);var ve=Ct,ge=vt,Te=!!Object.getOwnPropertySymbols&&!ge((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ve&&ve<41})),Ae=Te&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,be=ce,Se=ne,Ee=le,_e=Object,xe=Ae?function(t){return"symbol"==typeof t}:function(t){var e=be("Symbol");return Se(e)&&Ee(e.prototype,_e(t))},we=String,De=function(t){try{return we(t)}catch{return"Object"}},Ce=ne,Oe=De,Ie=TypeError,Ne=function(t){if(Ce(t))return t;throw Ie(Oe(t)+" is not a function")},Le=Ne,Ue=Ht,Me=St,Pe=ne,ke=oe,Ye=TypeError,je=function(t,e){var r,n;if("string"===e&&Pe(r=t.toString)&&!ke(n=Me(r,t))||Pe(r=t.valueOf)&&!ke(n=Me(r,t))||"string"!==e&&Pe(r=t.toString)&&!ke(n=Me(r,t)))return n;throw Ye("Can't convert object to primitive value")},Re={exports:{}},Be=mt,ze=Object.defineProperty,Fe=function(t,e){try{ze(Be,t,{value:e,configurable:!0,writable:!0})}catch{Be[t]=e}return e},We=Fe,Ze="__core-js_shared__",Ve=mt[Ze]||We(Ze,{}),Ge=Ve;(Re.exports=function(t,e){return Ge[t]||(Ge[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 He=Re.exports,$e=qt,Ke=Object,qe=function(t){return Ke($e(t))},Xe=qe,Je=zt({}.hasOwnProperty),Qe=Object.hasOwn||function(t,e){return Je(Xe(t),e)},tr=zt,er=0,rr=Math.random(),nr=tr(1..toString),ir=function(t){return"Symbol("+(void 0===t?"":t)+")_"+nr(++er+rr,36)},ar=mt,or=Qe,sr=ir,ur=Te,cr=Ae,lr=He("wks"),fr=ar.Symbol,dr=fr&&fr.for,hr=cr?fr:fr&&fr.withoutSetter||sr,pr=function(t){if(!or(lr,t)||!ur&&"string"!=typeof lr[t]){var e="Symbol."+t;ur&&or(fr,t)?lr[t]=fr[t]:lr[t]=cr&&dr?dr(e):hr(e)}return lr[t]},mr=St,yr=oe,vr=xe,gr=je,Tr=TypeError,Ar=pr("toPrimitive"),br=function(t,e){if(!yr(t)||vr(t))return t;var r,n=function(t,e){var r=t[e];return Ue(r)?void 0:Le(r)}(t,Ar);if(n){if(void 0===e&&(e="default"),r=mr(n,t,e),!yr(r)||vr(r))return r;throw Tr("Can't convert object to primitive value")}return void 0===e&&(e="number"),gr(t,e)},Sr=br,Er=xe,_r=function(t){var e=Sr(t,"string");return Er(e)?e:e+""},xr=oe,wr=mt.document,Dr=xr(wr)&&xr(wr.createElement),Cr=function(t){return Dr?wr.createElement(t):{}},Or=Cr,Ir=!gt&&!vt((function(){return 7!=Object.defineProperty(Or("div"),"a",{get:function(){return 7}}).a})),Nr=gt,Lr=St,Ur=Et,Mr=Ot,Pr=Qt,kr=_r,Yr=Qe,jr=Ir,Rr=Object.getOwnPropertyDescriptor;yt.f=Nr?Rr:function(t,e){if(t=Pr(t),e=kr(e),jr)try{return Rr(t,e)}catch{}if(Yr(t,e))return Mr(!Lr(Ur.f,t,e),t[e])};var Br={},zr=gt&&vt((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Fr=oe,Wr=String,Zr=TypeError,Vr=function(t){if(Fr(t))return t;throw Zr(Wr(t)+" is not an object")},Gr=gt,Hr=Ir,$r=zr,Kr=Vr,qr=_r,Xr=TypeError,Jr=Object.defineProperty,Qr=Object.getOwnPropertyDescriptor,tn="enumerable",en="configurable",rn="writable";Br.f=Gr?$r?function(t,e,r){if(Kr(t),e=qr(e),Kr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&rn in r&&!r[rn]){var n=Qr(t,e);n&&n[rn]&&(t[e]=r.value,r={configurable:en in r?r[en]:n[en],enumerable:tn in r?r[tn]:n[tn],writable:!1})}return Jr(t,e,r)}:Jr:function(t,e,r){if(Kr(t),e=qr(e),Kr(r),Hr)try{return Jr(t,e,r)}catch{}if("get"in r||"set"in r)throw Xr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var nn=Br,an=Ot,on=gt?function(t,e,r){return nn.f(t,e,an(1,r))}:function(t,e,r){return t[e]=r,t},sn={exports:{}},un=gt,cn=Qe,ln=Function.prototype,fn=un&&Object.getOwnPropertyDescriptor,dn=cn(ln,"name"),hn={EXISTS:dn,PROPER:dn&&"something"===function(){}.name,CONFIGURABLE:dn&&(!un||un&&fn(ln,"name").configurable)},pn=ne,mn=Ve,yn=zt(Function.toString);pn(mn.inspectSource)||(mn.inspectSource=function(t){return yn(t)});var vn,gn,Tn,An=mn.inspectSource,bn=ne,Sn=mt.WeakMap,En=bn(Sn)&&/native code/.test(String(Sn)),_n=ir,xn=He("keys"),wn=function(t){return xn[t]||(xn[t]=_n(t))},Dn={},Cn=En,On=mt,In=oe,Nn=on,Ln=Qe,Un=Ve,Mn=wn,Pn=Dn,kn="Object already initialized",Yn=On.TypeError,jn=On.WeakMap;if(Cn||Un.state){var Rn=Un.state||(Un.state=new jn);Rn.get=Rn.get,Rn.has=Rn.has,Rn.set=Rn.set,vn=function(t,e){if(Rn.has(t))throw Yn(kn);return e.facade=t,Rn.set(t,e),e},gn=function(t){return Rn.get(t)||{}},Tn=function(t){return Rn.has(t)}}else{var Bn=Mn("state");Pn[Bn]=!0,vn=function(t,e){if(Ln(t,Bn))throw Yn(kn);return e.facade=t,Nn(t,Bn,e),e},gn=function(t){return Ln(t,Bn)?t[Bn]:{}},Tn=function(t){return Ln(t,Bn)}}var zn={set:vn,get:gn,has:Tn,enforce:function(t){return Tn(t)?gn(t):vn(t,{})},getterFor:function(t){return function(e){var r;if(!In(e)||(r=gn(e)).type!==t)throw Yn("Incompatible receiver, "+t+" required");return r}}},Fn=vt,Wn=ne,Zn=Qe,Vn=gt,Gn=hn.CONFIGURABLE,Hn=An,$n=zn.enforce,Kn=zn.get,qn=Object.defineProperty,Xn=Vn&&!Fn((function(){return 8!==qn((function(){}),"length",{value:8}).length})),Jn=String(String).split("String"),Qn=sn.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Zn(t,"name")||Gn&&t.name!==e)&&(Vn?qn(t,"name",{value:e,configurable:!0}):t.name=e),Xn&&r&&Zn(r,"arity")&&t.length!==r.arity&&qn(t,"length",{value:r.arity});try{r&&Zn(r,"constructor")&&r.constructor?Vn&&qn(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var n=$n(t);return Zn(n,"source")||(n.source=Jn.join("string"==typeof e?e:"")),t};Function.prototype.toString=Qn((function(){return Wn(this)&&Kn(this).source||Hn(this)}),"toString");var ti=sn.exports,ei=ne,ri=Br,ni=ti,ii=Fe,ai=function(t,e,r,n){n||(n={});var i=n.enumerable,a=void 0!==n.name?n.name:e;if(ei(r)&&ni(r,a,n),n.global)i?t[e]=r:ii(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch{}i?t[e]=r:ri.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},oi={},si=Math.ceil,ui=Math.floor,ci=Math.trunc||function(t){var e=+t;return(e>0?ui:si)(e)},li=ci,fi=function(t){var e=+t;return e!=e||0===e?0:li(e)},di=fi,hi=Math.max,pi=Math.min,mi=function(t,e){var r=di(t);return r<0?hi(r+e,0):pi(r,e)},yi=fi,vi=Math.min,gi=function(t){return function(t){return t>0?vi(yi(t),9007199254740991):0}(t.length)},Ti=Qt,Ai=mi,bi=gi,Si=function(t){return function(e,r,n){var i,a=Ti(e),o=bi(a),s=Ai(n,o);if(t&&r!=r){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}},Ei={includes:Si(!0),indexOf:Si(!1)},_i=Qe,xi=Qt,wi=Ei.indexOf,Di=Dn,Ci=zt([].push),Oi=function(t,e){var r,n=xi(t),i=0,a=[];for(r in n)!_i(Di,r)&&_i(n,r)&&Ci(a,r);for(;e.length>i;)_i(n,r=e[i++])&&(~wi(a,r)||Ci(a,r));return a},Ii=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ni=Oi,Li=Ii.concat("length","prototype");oi.f=Object.getOwnPropertyNames||function(t){return Ni(t,Li)};var Ui={};Ui.f=Object.getOwnPropertySymbols;var Mi=ce,Pi=oi,ki=Ui,Yi=Vr,ji=zt([].concat),Ri=Mi("Reflect","ownKeys")||function(t){var e=Pi.f(Yi(t)),r=ki.f;return r?ji(e,r(t)):e},Bi=Qe,zi=Ri,Fi=yt,Wi=Br,Zi=function(t,e,r){for(var n=zi(e),i=Wi.f,a=Fi.f,o=0;o<n.length;o++){var s=n[o];!Bi(t,s)&&(!r||!Bi(r,s))&&i(t,s,a(e,s))}},Vi=vt,Gi=ne,Hi=/#|\.prototype\./,$i=function(t,e){var r=qi[Ki(t)];return r==Ji||r!=Xi&&(Gi(e)?Vi(e):!!e)},Ki=$i.normalize=function(t){return String(t).replace(Hi,".").toLowerCase()},qi=$i.data={},Xi=$i.NATIVE="N",Ji=$i.POLYFILL="P",Qi=$i,ta=mt,ea=yt.f,ra=on,na=ai,ia=Fe,aa=Zi,oa=Qi,sa=function(t,e){var r,n,i,a,o,s=t.target,u=t.global,c=t.stat;if(r=u?ta:c?ta[s]||ia(s,{}):(ta[s]||{}).prototype)for(n in e){if(a=e[n],i=t.dontCallGetSet?(o=ea(r,n))&&o.value:r[n],!oa(u?n:s+(c?".":"#")+n,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;aa(a,i)}(t.sham||i&&i.sham)&&ra(a,"sham",!0),na(r,n,a,t)}},ua=sa,ca=gt,la=Br.f;ua({target:"Object",stat:!0,forced:Object.defineProperty!==la,sham:!ca},{defineProperty:la});var fa={},da=mt,ha={},pa=pr;ha.f=pa;var ma=da,ya=Qe,va=ha,ga=Br.f,Ta=function(t){var e=ma.Symbol||(ma.Symbol={});ya(e,t)||ga(e,t,{value:va.f(t)})};Ta("iterator");var Aa={},ba=Oi,Sa=Ii,Ea=Object.keys||function(t){return ba(t,Sa)},_a=gt,xa=zr,wa=Br,Da=Vr,Ca=Qt,Oa=Ea;Aa.f=_a&&!xa?Object.defineProperties:function(t,e){Da(t);for(var r,n=Ca(e),i=Oa(e),a=i.length,o=0;a>o;)wa.f(t,r=i[o++],n[r]);return t};var Ia,Na=ce("document","documentElement"),La=Vr,Ua=Aa,Ma=Ii,Pa=Dn,ka=Na,Ya=Cr,ja="prototype",Ra="script",Ba=wn("IE_PROTO"),za=function(){},Fa=function(t){return"<"+Ra+">"+t+"</"+Ra+">"},Wa=function(t){t.write(Fa("")),t.close();var e=t.parentWindow.Object;return t=null,e},Za=function(){try{Ia=new ActiveXObject("htmlfile")}catch{}Za=typeof document<"u"?document.domain&&Ia?Wa(Ia):function(){var t,e=Ya("iframe"),r="java"+Ra+":";return e.style.display="none",ka.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Fa("document.F=Object")),t.close(),t.F}():Wa(Ia);for(var t=Ma.length;t--;)delete Za[ja][Ma[t]];return Za()};Pa[Ba]=!0;var Va=Object.create||function(t,e){var r;return null!==t?(za[ja]=La(t),r=new za,za[ja]=null,r[Ba]=t):r=Za(),void 0===e?r:Ua.f(r,e)},Ga=pr,Ha=Va,$a=Br.f,Ka=Ga("unscopables"),qa=Array.prototype;null==qa[Ka]&&$a(qa,Ka,{configurable:!0,value:Ha(null)});var Xa,Ja,Qa,to={},eo=!vt((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ro=Qe,no=ne,io=qe,ao=eo,oo=wn("IE_PROTO"),so=Object,uo=so.prototype,co=ao?so.getPrototypeOf:function(t){var e=io(t);if(ro(e,oo))return e[oo];var r=e.constructor;return no(r)&&e instanceof r?r.prototype:e instanceof so?uo:null},lo=vt,fo=ne,ho=oe,po=co,mo=ai,yo=pr("iterator"),vo=!1;[].keys&&("next"in(Qa=[].keys())?(Ja=po(po(Qa)))!==Object.prototype&&(Xa=Ja):vo=!0),(!ho(Xa)||lo((function(){var t={};return Xa[yo].call(t)!==t})))&&(Xa={}),fo(Xa[yo])||mo(Xa,yo,(function(){return this}));var go={IteratorPrototype:Xa,BUGGY_SAFARI_ITERATORS:vo},To=Br.f,Ao=Qe,bo=pr("toStringTag"),So=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Ao(t,bo)&&To(t,bo,{configurable:!0,value:e})},Eo=go.IteratorPrototype,_o=Va,xo=Ot,wo=So,Do=to,Co=function(){return this},Oo=ne,Io=String,No=TypeError,Lo=zt,Uo=Vr,Mo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Lo(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch{}return function(r,n){return Uo(r),function(t){if("object"==typeof t||Oo(t))return t;throw No("Can't set "+Io(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Po=sa,ko=St,Yo=ne,jo=co,Ro=Mo,Bo=So,zo=on,Fo=ai,Wo=to,Zo=hn.PROPER,Vo=hn.CONFIGURABLE,Go=go.IteratorPrototype,Ho=go.BUGGY_SAFARI_ITERATORS,$o=pr("iterator"),Ko="keys",qo="values",Xo="entries",Jo=function(){return this},Qo=function(t,e,r,n,i,a,o){!function(t,e,r,n){var i=e+" Iterator";t.prototype=_o(Eo,{next:xo(+!n,r)}),wo(t,i,!1),Do[i]=Co}(r,e,n);var s,u,c,l=function(t){if(t===i&&m)return m;if(!Ho&&t in h)return h[t];switch(t){case Ko:case qo:case Xo:return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",d=!1,h=t.prototype,p=h[$o]||h["@@iterator"]||i&&h[i],m=!Ho&&p||l(i),y="Array"==e&&h.entries||p;if(y&&(s=jo(y.call(new t)))!==Object.prototype&&s.next&&(jo(s)!==Go&&(Ro?Ro(s,Go):Yo(s[$o])||Fo(s,$o,Jo)),Bo(s,f,!0)),Zo&&i==qo&&p&&p.name!==qo&&(Vo?zo(h,"name",qo):(d=!0,m=function(){return ko(p,this)})),i)if(u={values:l(qo),keys:a?m:l(Ko),entries:l(Xo)},o)for(c in u)(Ho||d||!(c in h))&&Fo(h,c,u[c]);else Po({target:e,proto:!0,forced:Ho||d},u);return h[$o]!==m&&Fo(h,$o,m,{name:i}),Wo[e]=m,u},ts=function(t,e){return{value:t,done:e}},es=Qt,rs=function(t){qa[Ka][t]=!0},ns=to,is=zn,as=Br.f,os=Qo,ss=ts,us=gt,cs="Array Iterator",ls=is.set,fs=is.getterFor(cs),ds=os(Array,"Array",(function(t,e){ls(this,{type:cs,target:es(t),index:0,kind:e})}),(function(){var t=fs(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,ss(void 0,!0)):ss("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),hs=ns.Arguments=ns.Array;if(rs("keys"),rs("values"),rs("entries"),us&&"values"!==hs.name)try{as(hs,"name",{value:"values"})}catch{}var ps={};ps[pr("toStringTag")]="z";var ms="[object z]"===String(ps),ys=ms,vs=ne,gs=jt,Ts=pr("toStringTag"),As=Object,bs="Arguments"==gs(function(){return arguments}()),Ss=ys?gs:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch{}}(e=As(t),Ts))?r:bs?gs(e):"Object"==(n=gs(e))&&vs(e.callee)?"Arguments":n},Es=Ss,_s=String,xs=function(t){if("Symbol"===Es(t))throw TypeError("Cannot convert a Symbol value to a string");return _s(t)},ws=zt,Ds=fi,Cs=xs,Os=qt,Is=ws("".charAt),Ns=ws("".charCodeAt),Ls=ws("".slice),Us=function(t){return function(e,r){var n,i,a=Cs(Os(e)),o=Ds(r),s=a.length;return o<0||o>=s?t?"":void 0:(n=Ns(a,o))<55296||n>56319||o+1===s||(i=Ns(a,o+1))<56320||i>57343?t?Is(a,o):n:t?Ls(a,o,o+2):i-56320+(n-55296<<10)+65536}},Ms=(Us(!1),Us(!0)),Ps=xs,ks=zn,Ys=Qo,js=ts,Rs="String Iterator",Bs=ks.set,zs=ks.getterFor(Rs);Ys(String,"String",(function(t){Bs(this,{type:Rs,string:Ps(t),index:0})}),(function(){var t,e=zs(this),r=e.string,n=e.index;return n>=r.length?js(void 0,!0):(t=Ms(r,n),e.index+=t.length,js(t,!1))}));var Fs=Cr("span").classList,Ws=Fs&&Fs.constructor&&Fs.constructor.prototype,Zs=Ws===Object.prototype?void 0:Ws,Vs=mt,Gs={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},Hs=Zs,$s=ds,Ks=on,qs=pr,Xs=qs("iterator"),Js=qs("toStringTag"),Qs=$s.values,tu=function(t,e){if(t){if(t[Xs]!==Qs)try{Ks(t,Xs,Qs)}catch{t[Xs]=Qs}if(t[Js]||Ks(t,Js,e),Gs[e])for(var r in $s)if(t[r]!==$s[r])try{Ks(t,r,$s[r])}catch{t[r]=$s[r]}}};for(var eu in Gs)tu(Vs[eu]&&Vs[eu].prototype,eu);tu(Hs,"DOMTokenList");var ru=gt,nu=zt,iu=St,au=vt,ou=Ea,su=Ui,uu=Et,cu=qe,lu=Gt,fu=Object.assign,du=Object.defineProperty,hu=nu([].concat),pu=!fu||au((function(){if(ru&&1!==fu({b:1},fu(du({},"a",{enumerable:!0,get:function(){du(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=fu({},t)[r]||ou(fu({},e)).join("")!=n}))?function(t,e){for(var r=cu(t),n=arguments.length,i=1,a=su.f,o=uu.f;n>i;)for(var s,u=lu(arguments[i++]),c=a?hu(ou(u),a(u)):ou(u),l=c.length,f=0;l>f;)s=c[f++],(!ru||iu(o,u,s))&&(r[s]=u[s]);return r}:fu,mu=pu;sa({target:"Object",stat:!0,arity:2,forced:Object.assign!==mu},{assign:mu});var yu=St,vu=ce,gu=pr,Tu=ai,Au=function(){var t=vu("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=gu("toPrimitive");e&&!e[n]&&Tu(e,n,(function(t){return yu(r,this)}),{arity:1})},bu=Au;Ta("toPrimitive"),bu();var Su=Vr,Eu=je,_u=TypeError,xu=Qe,wu=ai,Du=pr("toPrimitive"),Cu=Date.prototype;xu(Cu,Du)||wu(Cu,Du,(function(t){if(Su(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw _u("Incorrect hint");return Eu(this,t)}));var Ou={},Iu=_r,Nu=Br,Lu=Ot,Uu=mi,Mu=gi,Pu=function(t,e,r){var n=Iu(e);n in t?Nu.f(t,n,Lu(0,r)):t[n]=r},ku=Array,Yu=Math.max,ju=jt,Ru=Qt,Bu=oi.f,zu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Ou.f=function(t){return zu&&"Window"==ju(t)?function(t){try{return Bu(t)}catch{return function(t,e,r){for(var n=Mu(t),i=Uu(e,n),a=Uu(void 0===r?n:r,n),o=ku(Yu(a-i,0)),s=0;i<a;i++,s++)Pu(o,s,t[i]);return o.length=s,o}(zu)}}(t):Bu(Ru(t))};var Fu=Ne,Wu=Tt,Zu=zt(zt.bind),Vu=jt,Gu=Array.isArray||function(t){return"Array"==Vu(t)},Hu=zt,$u=vt,Ku=ne,qu=Ss,Xu=An,Ju=function(){},Qu=[],tc=ce("Reflect","construct"),ec=/^\s*(?:class|function)\b/,rc=Hu(ec.exec),nc=!ec.exec(Ju),ic=function(t){if(!Ku(t))return!1;try{return tc(Ju,Qu,t),!0}catch{return!1}},ac=function(t){if(!Ku(t))return!1;switch(qu(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return nc||!!rc(ec,Xu(t))}catch{return!0}};ac.sham=!0;var oc=!tc||$u((function(){var t;return ic(ic.call)||!ic(Object)||!ic((function(){t=!0}))||t}))?ac:ic,sc=Gu,uc=oc,cc=oe,lc=pr("species"),fc=Array,dc=Gt,hc=qe,pc=gi,mc=function(t,e){return new(function(t){var e;return sc(t)&&(e=t.constructor,(uc(e)&&(e===fc||sc(e.prototype))||cc(e)&&null===(e=e[lc]))&&(e=void 0)),void 0===e?fc:e}(t))(0===e?0:e)},yc=zt([].push),vc=function(t){var e=1==t,r=2==t,n=3==t,i=4==t,a=6==t,o=7==t,s=5==t||a;return function(u,c,l,f){for(var d,h,p=hc(u),m=dc(p),y=function(t,e){return Fu(t),void 0===e?t:Wu?Zu(t,e):function(){return t.apply(e,arguments)}}(c,l),v=pc(m),g=0,T=f||mc,A=e?T(u,v):r||o?T(u,0):void 0;v>g;g++)if((s||g in m)&&(h=y(d=m[g],g,p),t))if(e)A[g]=h;else if(h)switch(t){case 3:return!0;case 5:return d;case 6:return g;case 2:yc(A,d)}else switch(t){case 4:return!1;case 7:yc(A,d)}return a?-1:n||i?i:A}},gc={forEach:vc(0),map:vc(1),filter:vc(2),some:vc(3),every:vc(4),find:vc(5),findIndex:vc(6),filterReject:vc(7)},Tc=sa,Ac=mt,bc=St,Sc=zt,Ec=gt,_c=Te,xc=vt,wc=Qe,Dc=le,Cc=Vr,Oc=Qt,Ic=_r,Nc=xs,Lc=Ot,Uc=Va,Mc=Ea,Pc=oi,kc=Ou,Yc=Ui,jc=yt,Rc=Br,Bc=Aa,zc=Et,Fc=ai,Wc=He,Zc=Dn,Vc=ir,Gc=pr,Hc=ha,$c=Ta,Kc=Au,qc=So,Xc=zn,Jc=gc.forEach,Qc=wn("hidden"),tl="Symbol",el="prototype",rl=Xc.set,nl=Xc.getterFor(tl),il=Object[el],al=Ac.Symbol,ol=al&&al[el],sl=Ac.TypeError,ul=Ac.QObject,cl=jc.f,ll=Rc.f,fl=kc.f,dl=zc.f,hl=Sc([].push),pl=Wc("symbols"),ml=Wc("op-symbols"),yl=Wc("wks"),vl=!ul||!ul[el]||!ul[el].findChild,gl=Ec&&xc((function(){return 7!=Uc(ll({},"a",{get:function(){return ll(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=cl(il,e);n&&delete il[e],ll(t,e,r),n&&t!==il&&ll(il,e,n)}:ll,Tl=function(t,e){var r=pl[t]=Uc(ol);return rl(r,{type:tl,tag:t,description:e}),Ec||(r.description=e),r},Al=function(t,e,r){t===il&&Al(ml,e,r),Cc(t);var n=Ic(e);return Cc(r),wc(pl,n)?(r.enumerable?(wc(t,Qc)&&t[Qc][n]&&(t[Qc][n]=!1),r=Uc(r,{enumerable:Lc(0,!1)})):(wc(t,Qc)||ll(t,Qc,Lc(1,{})),t[Qc][n]=!0),gl(t,n,r)):ll(t,n,r)},bl=function(t,e){Cc(t);var r=Oc(e),n=Mc(r).concat(xl(r));return Jc(n,(function(e){(!Ec||bc(Sl,r,e))&&Al(t,e,r[e])})),t},Sl=function(t){var e=Ic(t),r=bc(dl,this,e);return!(this===il&&wc(pl,e)&&!wc(ml,e))&&(!(r||!wc(this,e)||!wc(pl,e)||wc(this,Qc)&&this[Qc][e])||r)},El=function(t,e){var r=Oc(t),n=Ic(e);if(r!==il||!wc(pl,n)||wc(ml,n)){var i=cl(r,n);return i&&wc(pl,n)&&!(wc(r,Qc)&&r[Qc][n])&&(i.enumerable=!0),i}},_l=function(t){var e=fl(Oc(t)),r=[];return Jc(e,(function(t){!wc(pl,t)&&!wc(Zc,t)&&hl(r,t)})),r},xl=function(t){var e=t===il,r=fl(e?ml:Oc(t)),n=[];return Jc(r,(function(t){wc(pl,t)&&(!e||wc(il,t))&&hl(n,pl[t])})),n};_c||(al=function(){if(Dc(ol,this))throw sl("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Nc(arguments[0]):void 0,e=Vc(t),r=function(t){this===il&&bc(r,ml,t),wc(this,Qc)&&wc(this[Qc],e)&&(this[Qc][e]=!1),gl(this,e,Lc(1,t))};return Ec&&vl&&gl(il,e,{configurable:!0,set:r}),Tl(e,t)},Fc(ol=al[el],"toString",(function(){return nl(this).tag})),Fc(al,"withoutSetter",(function(t){return Tl(Vc(t),t)})),zc.f=Sl,Rc.f=Al,Bc.f=bl,jc.f=El,Pc.f=kc.f=_l,Yc.f=xl,Hc.f=function(t){return Tl(Gc(t),t)},Ec&&(ll(ol,"description",{configurable:!0,get:function(){return nl(this).description}}),Fc(il,"propertyIsEnumerable",Sl,{unsafe:!0}))),Tc({global:!0,constructor:!0,wrap:!0,forced:!_c,sham:!_c},{Symbol:al}),Jc(Mc(yl),(function(t){$c(t)})),Tc({target:tl,stat:!0,forced:!_c},{useSetter:function(){vl=!0},useSimple:function(){vl=!1}}),Tc({target:"Object",stat:!0,forced:!_c,sham:!Ec},{create:function(t,e){return void 0===e?Uc(t):bl(Uc(t),e)},defineProperty:Al,defineProperties:bl,getOwnPropertyDescriptor:El}),Tc({target:"Object",stat:!0,forced:!_c},{getOwnPropertyNames:_l}),Kc(),qc(al,tl),Zc[Qc]=!0;var wl=Te&&!!Symbol.for&&!!Symbol.keyFor,Dl=sa,Cl=ce,Ol=Qe,Il=xs,Nl=He,Ll=wl,Ul=Nl("string-to-symbol-registry"),Ml=Nl("symbol-to-string-registry");Dl({target:"Symbol",stat:!0,forced:!Ll},{for:function(t){var e=Il(t);if(Ol(Ul,e))return Ul[e];var r=Cl("Symbol")(e);return Ul[e]=r,Ml[r]=e,r}});var Pl=sa,kl=Qe,Yl=xe,jl=De,Rl=wl,Bl=He("symbol-to-string-registry");Pl({target:"Symbol",stat:!0,forced:!Rl},{keyFor:function(t){if(!Yl(t))throw TypeError(jl(t)+" is not a symbol");if(kl(Bl,t))return Bl[t]}});var zl=Tt,Fl=Function.prototype,Wl=Fl.apply,Zl=Fl.call,Vl="object"==typeof Reflect&&Reflect.apply||(zl?Zl.bind(Wl):function(){return Zl.apply(Wl,arguments)}),Gl=zt([].slice),Hl=sa,$l=ce,Kl=Vl,ql=St,Xl=zt,Jl=vt,Ql=Gu,tf=ne,ef=oe,rf=xe,nf=Gl,af=Te,of=$l("JSON","stringify"),sf=Xl(/./.exec),uf=Xl("".charAt),cf=Xl("".charCodeAt),lf=Xl("".replace),ff=Xl(1..toString),df=/[\uD800-\uDFFF]/g,hf=/^[\uD800-\uDBFF]$/,pf=/^[\uDC00-\uDFFF]$/,mf=!af||Jl((function(){var t=$l("Symbol")();return"[null]"!=of([t])||"{}"!=of({a:t})||"{}"!=of(Object(t))})),yf=Jl((function(){return'"\\udf06\\ud834"'!==of("\udf06\ud834")||'"\\udead"'!==of("\udead")})),vf=function(t,e){var r=nf(arguments),n=e;if((ef(e)||void 0!==t)&&!rf(t))return Ql(e)||(e=function(t,e){if(tf(n)&&(e=ql(n,this,t,e)),!rf(e))return e}),r[1]=e,Kl(of,null,r)},gf=function(t,e,r){var n=uf(r,e-1),i=uf(r,e+1);return sf(hf,t)&&!sf(pf,i)||sf(pf,t)&&!sf(hf,n)?"\\u"+ff(cf(t,0),16):t};of&&Hl({target:"JSON",stat:!0,arity:3,forced:mf||yf},{stringify:function(t,e,r){var n=nf(arguments),i=Kl(mf?vf:of,null,n);return yf&&"string"==typeof i?lf(i,df,gf):i}});var Tf=Ui,Af=qe;sa({target:"Object",stat:!0,forced:!Te||vt((function(){Tf.f(1)}))},{getOwnPropertySymbols:function(t){var e=Tf.f;return e?e(Af(t)):[]}});var bf=sa,Sf=gt,Ef=mt,_f=zt,xf=Qe,wf=ne,Df=le,Cf=xs,Of=Br.f,If=Zi,Nf=Ef.Symbol,Lf=Nf&&Nf.prototype;if(Sf&&wf(Nf)&&(!("description"in Lf)||void 0!==Nf().description)){var Uf={},Mf=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Cf(arguments[0]),e=Df(Lf,this)?new Nf(t):void 0===t?Nf():Nf(t);return""===t&&(Uf[e]=!0),e};If(Mf,Nf),Mf.prototype=Lf,Lf.constructor=Mf;var Pf="Symbol(test)"==String(Nf("test")),kf=_f(Lf.valueOf),Yf=_f(Lf.toString),jf=/^Symbol\((.*)\)[^)]+$/,Rf=_f("".replace),Bf=_f("".slice);Of(Lf,"description",{configurable:!0,get:function(){var t=kf(this);if(xf(Uf,t))return"";var e=Yf(t),r=Pf?Bf(e,7,-1):Rf(e,jf,"$1");return""===r?void 0:r}}),bf({global:!0,constructor:!0,forced:!0},{Symbol:Mf})}var zf=Ss,Ff=ms?{}.toString:function(){return"[object "+zf(this)+"]"};ms||ai(Object.prototype,"toString",Ff,{unsafe:!0});var Wf=ne,Zf=oe,Vf=Mo,Gf=zt(1..valueOf),Hf=qt,$f=xs,Kf=zt("".replace),qf="[\t\n\v\f\r \u2028\u2029\ufeff]",Xf=RegExp("^"+qf+qf+"*"),Jf=RegExp(qf+qf+"*$"),Qf=function(t){return function(e){var r=$f(Hf(e));return 1&t&&(r=Kf(r,Xf,"")),2&t&&(r=Kf(r,Jf,"")),r}},td={start:Qf(1),end:Qf(2),trim:Qf(3)},ed=gt,rd=mt,nd=zt,id=Qi,ad=ai,od=Qe,sd=le,ud=xe,cd=br,ld=vt,fd=oi.f,dd=yt.f,hd=Br.f,pd=Gf,md=td.trim,yd="Number",vd=rd[yd],gd=vd.prototype,Td=rd.TypeError,Ad=nd("".slice),bd=nd("".charCodeAt);if(id(yd,!vd(" 0o1")||!vd("0b1")||vd("+0x1"))){for(var Sd,Ed=function(t){var e=arguments.length<1?0:vd(function(t){var e=cd(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,i,a,o,s,u,c=cd(t,"number");if(ud(c))throw Td("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=md(c),43===(e=bd(c,0))||45===e){if(88===(r=bd(c,2))||120===r)return NaN}else if(48===e){switch(bd(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(o=(a=Ad(c,2)).length,s=0;s<o;s++)if((u=bd(a,s))<48||u>i)return NaN;return parseInt(a,n)}return+c}(e)}(t)),r=this;return sd(gd,r)&&ld((function(){pd(r)}))?function(t,e,r){var n,i;return Vf&&Wf(n=e.constructor)&&n!==r&&Zf(i=n.prototype)&&i!==r.prototype&&Vf(t,i),t}(Object(e),r,Ed):e},_d=ed?fd(vd):"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(","),xd=0;_d.length>xd;xd++)od(vd,Sd=_d[xd])&&!od(Ed,Sd)&&hd(Ed,Sd,dd(vd,Sd));Ed.prototype=gd,gd.constructor=Ed,ad(rd,yd,Ed,{constructor:!0})}var wd={};Object.defineProperty(wd,"__esModule",{value:!0}),wd.LogLevel=void 0;var Dd=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}({});wd.LogLevel=Dd,Object.defineProperty(fa,"__esModule",{value:!0}),fa.ConsoleLogger=void 0,fa.buildConsoleLogger=function(t){return new Ld(t)};var Cd=wd;function Od(t){return Od="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},Od(t)}function Id(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Nd(n.key),n)}}function Nd(t){var e=function(t,e){if("object"!==Od(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Od(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Od(e)?e:String(e)}var Ld=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),function(t,e,r){(e=Nd(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}(this,"context",void 0),this.context=e||{}}return function(t,e,r){e&&Id(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"formatMessage",value:function(t,e,r){var n="["+Cd.LogLevel[e].toUpperCase()+"] ";return r&&r.app&&(n+=r.app+": "),"string"==typeof t?n+t:(n+="Unexpected ".concat(t.name),t.message&&(n+=' "'.concat(t.message,'"')),e===Cd.LogLevel.Debug&&t.stack&&(n+="\n\nStack trace:\n".concat(t.stack)),n)}},{key:"log",value:function(t,e,r){var n,i;if(!("number"==typeof(null===(n=this.context)||void 0===n?void 0:n.level)&&t<(null===(i=this.context)||void 0===i?void 0:i.level)))switch("object"===Od(e)&&void 0===(null==r?void 0:r.error)&&(r.error=e),t){case Cd.LogLevel.Debug:R.debug(this.formatMessage(e,Cd.LogLevel.Debug,r),r);break;case Cd.LogLevel.Info:R.info(this.formatMessage(e,Cd.LogLevel.Info,r),r);break;case Cd.LogLevel.Warn:R.warn(this.formatMessage(e,Cd.LogLevel.Warn,r),r);break;case Cd.LogLevel.Error:R.error(this.formatMessage(e,Cd.LogLevel.Error,r),r);break;case Cd.LogLevel.Fatal:default:R.error(this.formatMessage(e,Cd.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(t,e){this.log(Cd.LogLevel.Debug,t,Object.assign({},this.context,e))}},{key:"info",value:function(t,e){this.log(Cd.LogLevel.Info,t,Object.assign({},this.context,e))}},{key:"warn",value:function(t,e){this.log(Cd.LogLevel.Warn,t,Object.assign({},this.context,e))}},{key:"error",value:function(t,e){this.log(Cd.LogLevel.Error,t,Object.assign({},this.context,e))}},{key:"fatal",value:function(t,e){this.log(Cd.LogLevel.Fatal,t,Object.assign({},this.context,e))}}]),t}();fa.ConsoleLogger=Ld;var Ud={},Md={},Pd={};var kd="object"==typeof B&&B.env&&B.env.NODE_DEBUG&&/\bsemver\b/i.test(B.env.NODE_DEBUG)?(...t)=>R.error("SEMVER",...t):()=>{},Yd={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},jd={exports:{}};!function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=Yd,a=kd,o=(e=t.exports={}).re=[],s=e.safeRe=[],u=e.src=[],c=e.t={};let l=0;const f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",i],[f,n]],h=(t,e,r)=>{const n=(t=>{for(const[e,r]of d)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t})(e),i=l++;a(t,i,e),c[t]=i,u[i]=e,o[i]=new RegExp(e,r?"g":void 0),s[i]=new RegExp(n,r?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),h("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${f}+`),h("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),h("FULL",`^${u[c.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),h("LOOSE",`^${u[c.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),h("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),h("COERCERTL",u[c.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",h("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",h("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(jd,jd.exports);var Rd=jd.exports;const Bd=Object.freeze({loose:!0}),zd=Object.freeze({});const Fd=/^[0-9]+$/,Wd=(t,e)=>{const r=Fd.test(t),n=Fd.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1};var Zd={compareIdentifiers:Wd,rcompareIdentifiers:(t,e)=>Wd(e,t)};const Vd=kd,{MAX_LENGTH:Gd,MAX_SAFE_INTEGER:Hd}=Yd,{safeRe:$d,t:Kd}=Rd,qd=t=>t?"object"!=typeof t?Bd:t:zd,{compareIdentifiers:Xd}=Zd;var Jd=class t{constructor(e,r){if(r=qd(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>Gd)throw new TypeError(`version is longer than ${Gd} characters`);Vd("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=e.trim().match(r.loose?$d[Kd.LOOSE]:$d[Kd.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Hd||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Hd||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Hd||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<Hd)return e}return t})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Vd("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)),Xd(this.major,e.major)||Xd(this.minor,e.minor)||Xd(this.patch,e.patch)}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{const t=this.prerelease[r],n=e.prerelease[r];if(Vd("prerelease compare",r,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return Xd(t,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{const t=this.build[r],n=e.build[r];if(Vd("prerelease compare",r,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return Xd(t,n)}while(++r)}inc(t,e,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,r),this.inc("pre",e,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,r),this.inc("pre",e,r);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const t=Number(r)?1:0;if(!e&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[t];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===r&&(n=[e]),0===Xd(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};const Qd=Jd;const th=(t,e,r=!1)=>{if(t instanceof Qd)return t;try{return new Qd(t,e)}catch(t){if(!r)return null;throw t}};var eh=(t,e)=>{const r=th(t,e);return r?r.version:null};const rh=Jd;Object.defineProperty(Pd,"__esModule",{value:!0});var nh=(t,e)=>new rh(t,e).major;function ih(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var ah=ih(eh),oh=ih(nh),sh=function(){function t(t){"function"==typeof t.getVersion&&ah.default(t.getVersion())?oh.default(t.getVersion())!==oh.default(this.getVersion())&&R.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):R.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}(),uh=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){R.error("could not invoke event listener",t)}}))},t}(),ch=(typeof window.OC<"u"&&window.OC._eventBus&&typeof window._nc_event_bus>"u"&&(R.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 sh(window._nc_event_bus):window._nc_event_bus=new uh);Pd.ProxyBus=sh,Pd.SimpleBus=uh,Pd.emit=function(t,e){ch.emit(t,e)},Pd.subscribe=function(t,e){ch.subscribe(t,e)},Pd.unsubscribe=function(t,e){ch.unsubscribe(t,e)},Object.defineProperty(Md,"__esModule",{value:!0});var lh=Pd,fh=document.getElementsByTagName("head")[0],dh=fh?fh.getAttribute("data-requesttoken"):null,hh=[];lh.subscribe("csrf-token-update",(function(t){dh=t.token,hh.forEach((function(e){try{e(t.token)}catch(t){R.error("error updating CSRF token observer",t)}}))}));var ph=function(t,e){return t?t.getAttribute(e):null},mh=document.getElementsByTagName("head")[0],yh=ph(mh,"data-user"),vh=ph(mh,"data-user-displayname"),gh=!(typeof OC>"u")&&OC.isUserAdmin();Md.getCurrentUser=function(){return null===yh?null:{uid:yh,displayName:vh,isAdmin:gh}},Md.getRequestToken=function(){return dh},Md.onRequestTokenUpdate=function(t){hh.push(t)},Object.defineProperty(Ud,"__esModule",{value:!0}),Ud.LoggerBuilder=void 0;var Th=Md,Ah=wd;function bh(t){return bh="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},bh(t)}function Sh(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_h(n.key),n)}}function Eh(t,e,r){return(e=_h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _h(t){var e=function(t,e){if("object"!==bh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==bh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===bh(e)?e:String(e)}var xh=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),Eh(this,"context",void 0),Eh(this,"factory",void 0),this.context={},this.factory=e}return function(t,e,r){e&&Sh(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,Th.getCurrentUser)();return null!==t&&(this.context.uid=t.uid),this}},{key:"detectLogLevel",value:function(){var t=this;return function e(){var r,n;"complete"===document.readyState||"interactive"===document.readyState?(t.context.level=null!==(r=null===(n=window._oc_config)||void 0===n?void 0:n.loglevel)&&void 0!==r?r:Ah.LogLevel.Warn,window._oc_debug&&(t.context.level=Ah.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}();Ud.LoggerBuilder=xh,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LogLevel",{enumerable:!0,get:function(){return n.LogLevel}}),t.getLogger=function(){return i().build()},t.getLoggerBuilder=i;var e=fa,r=Ud,n=wd;function i(){return new r.LoggerBuilder(e.buildConsoleLogger)}}(ht);const wh=ht.getLoggerBuilder().detectUser().setApp("@nextcloud/calendar-availability-vue").build();function Dh(t){const e=ot.parse(t),r=new ot.Component(e),n=r.getFirstSubcomponent("vavailability");let i;const a=r.getFirstSubcomponent("vtimezone");a&&(i=a.getFirstProperty("tzid").getFirstValue());const o=n.getAllSubcomponents("available"),s={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]};return o.forEach((t=>{const e=t.getFirstProperty("dtstart").getFirstValue().toJSDate(),r=t.getFirstProperty("dtend").getFirstValue().toJSDate(),n=t.getFirstProperty("rrule");"WEEKLY"===n.getFirstValue().freq?n.getFirstValue().getComponent("BYDAY").forEach((t=>{s[t].push({start:e.getTime()/1e3,end:r.getTime()/1e3})})):wh.warn("rrule not supported",{rrule:n.toICALString()})})),{slots:s,timezoneId:i}}function Ch(t,e){const r=new z.Component("vcalendar");r.addPropertyWithValue("prodid","Nextcloud DAV app");const n=Q(e);if(n){const t=new z.Component(z.parse(n));r.addSubcomponent(t)}else{const t=new z.Component("vtimezone");t.addPropertyWithValue("tzid",e),r.addSubcomponent(t)}const i=new z.Component("vavailability"),a=t.reduce(((t,e)=>{var r;const n=new Date(1e3*e.start),i=new Date(1e3*e.end),a=[n.getHours(),n.getMinutes(),i.getHours(),i.getMinutes()].join("-");return{...t,[a]:[...null!=(r=t[a])?r:[],e]}}),{});return Object.keys(a).map((t=>{const r=a[t],n=r[0].start,i=r[0].end,o=r.map((t=>t.day)).filter(((t,e,r)=>r.indexOf(t)===e)),s=new z.Component("available");return s.addPropertyWithValue("dtstart",z.Time.fromJSDate(new Date(1e3*n),!1)).setParameter("tzid",e),s.addPropertyWithValue("dtend",z.Time.fromJSDate(new Date(1e3*i),!1)).setParameter("tzid",e),s.addPropertyWithValue("uid",dt()),s.addPropertyWithValue("rrule",{freq:"WEEKLY",byday:o}),s})).map(i.addSubcomponent.bind(i)),r.addSubcomponent(i),r.toString()}var Oh=n(14596),Ih=n(56580),Nh=n.n(Ih),Lh=n(77958),Uh=Nh()((function(t){return d.Z.defaults.headers["X-Requested-With"]="XMLHttpRequest",Oh.lD().patch("request",d.Z),Oh.eI((0,f.generateRemoteUrl)("dav/".concat(t,"/").concat((0,Lh.ts)().uid)))})),Mh=(0,n(17499).IY)().setApp("dav").detectUser().build();function Ph(t){return Ph="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},Ph(t)}function kh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Yh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kh(Object(r),!0).forEach((function(e){jh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function jh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ph(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==Ph(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ph(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Bh(){Bh=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new x(i||[]);return n(o,"_invoke",{value:b(t,r,s)}),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f={};function d(){}function h(){}function p(){}var m={};u(m,a,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(w([])));v&&v!==e&&r.call(v,a)&&(m=v);var g=p.prototype=d.prototype=Object.create(m);function T(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function i(n,a,o,s){var u=l(t[n],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==Ph(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(f).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function b(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=S(o,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=l(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function w(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:D}}function D(){return{value:void 0,done:!0}}return h.prototype=p,n(g,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:h,configurable:!0}),h.displayName=u(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},T(A.prototype),u(A.prototype,o,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new A(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(g),u(g,s,"Generator"),u(g,a,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=w,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:w(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function zh(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Fh(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){zh(a,n,i,o,s,"next",t)}function s(t){zh(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Wh(){return Zh.apply(this,arguments)}function Zh(){return(Zh=Fh(Bh().mark((function t(){var e,r,n,i,a;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Uh("calendars"),t.next=3,r.customRequest("inbox",{method:"PROPFIND",data:'<?xml version="1.0"?>\n\t\t\t<x0:propfind xmlns:x0="DAV:">\n\t\t\t <x0:prop>\n\t\t\t\t<x1:calendar-availability xmlns:x1="urn:ietf:params:xml:ns:caldav"/>\n\t\t\t </x0:prop>\n\t\t\t</x0:propfind>'});case 3:return n=t.sent,t.next=6,(0,Oh.sw)(n.data);case 6:if(i=t.sent){t.next=9;break}return t.abrupt("return",void 0);case 9:if(a=null==i||null===(e=i.multistatus)||void 0===e||null===(e=e.response[0])||void 0===e||null===(e=e.propstat)||void 0===e?void 0:e.prop["calendar-availability"]){t.next=12;break}return t.abrupt("return",void 0);case 12:return t.abrupt("return",Dh(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=Fh(Bh().mark((function t(e,r){var n,i,a;return Bh().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 Yh(Yh({},e),{},{day:t})}))})),n=function(t){if(Array.isArray(t))return Rh(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 Rh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rh(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=Ch(n,r),Mh.debug("New availability ical created",{vavailability:i}),a=Uh("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 Hh(t){return Hh="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},Hh(t)}function $h(){$h=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new x(i||[]);return n(o,"_invoke",{value:b(t,r,s)}),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f={};function d(){}function h(){}function p(){}var m={};u(m,a,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(w([])));v&&v!==e&&r.call(v,a)&&(m=v);var g=p.prototype=d.prototype=Object.create(m);function T(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function i(n,a,o,s){var u=l(t[n],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==Hh(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(f).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function b(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=S(o,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=l(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function w(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:D}}function D(){return{value:void 0,done:!0}}return h.prototype=p,n(g,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:h,configurable:!0}),h.displayName=u(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},T(A.prototype),u(A.prototype,o,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new A(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(g),u(g,s,"Generator"),u(g,a,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=w,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:w(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Kh(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function qh(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Kh(a,n,i,o,s,"next",t)}function s(t){Kh(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Xh(){return Jh.apply(this,arguments)}function Jh(){return(Jh=qh($h().mark((function t(){return $h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.Z.post((0,f.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 Qh(){return tp.apply(this,arguments)}function tp(){return(tp=qh($h().mark((function t(){return $h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.Z.delete((0,f.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 ep=n(19642),rp=n(47414),np=n(25108);function ip(t){return ip="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},ip(t)}function ap(){ap=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,i){var a=e&&e.prototype instanceof d?e:d,o=Object.create(a.prototype),s=new x(i||[]);return n(o,"_invoke",{value:b(t,r,s)}),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f={};function d(){}function h(){}function p(){}var m={};u(m,a,(function(){return this}));var y=Object.getPrototypeOf,v=y&&y(y(w([])));v&&v!==e&&r.call(v,a)&&(m=v);var g=p.prototype=d.prototype=Object.create(m);function T(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function i(n,a,o,s){var u=l(t[n],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==ip(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(f).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function b(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=S(o,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var i=l(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function w(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:D}}function D(){return{value:void 0,done:!0}}return h.prototype=p,n(g,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:h,configurable:!0}),h.displayName=u(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},T(A.prototype),u(A.prototype,o,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new A(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(g),u(g,s,"Generator"),u(g,a,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=w,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:w(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function op(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function sp(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){op(a,n,i,o,s,"next",t)}function s(t){op(a,n,i,o,s,"throw",t)}o(void 0)}))}}var up={name:"AvailabilityForm",components:{NcButton:s.Z,NcCheckboxRadioSwitch:ep.Z,CalendarAvailability:K,NcTimezonePicker:rp.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,p.j)("dav","user_status_automation")}},computed:{timeZonePickerId:function(){return"tz-".concat((Math.random()+1).toString(36).substring(7))}},mounted:function(){var e=this;return sp(ap().mark((function r(){var n,i,a;return ap().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,Wh();case 3:(n=r.sent)?(i=n.slots,a=n.timezoneId,e.slots=i,a&&(e.timezone=a),np.info("availability loaded",e.slots,e.timezoneId)):(np.info("no availability is set"),e.slots={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]}),r.next=11;break;case 7:r.prev=7,r.t0=r.catch(0),np.error("could not load existing availability",r.t0),(0,m.x2)(t("dav","Failed to load availability"));case 11:return r.prev=11,e.loading=!1,r.finish(11);case 14:case"end":return r.stop()}}),r,null,[[0,7,11,14]])})))()},methods:{save:function(){var e=this;return sp(ap().mark((function r(){return ap().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,e.saving=!0,r.next=4,Vh(e.slots,e.timezone);case 4:if(!e.automated){r.next=9;break}return r.next=7,Xh();case 7:r.next=11;break;case 9:return r.next=11,Qh();case 11:(0,m.s$)(t("dav","Saved availability")),r.next=18;break;case 14:r.prev=14,r.t0=r.catch(0),np.error("could not save availability",r.t0),(0,m.x2)(t("dav","Failed to save availability"));case 18:return r.prev=18,e.saving=!1,r.finish(18);case 21:case"end":return r.stop()}}),r,null,[[0,14,18,21]])})))()}}},cp=n(93015),lp={};lp.styleTagTransform=L(),lp.setAttributes=C(),lp.insert=w().bind(null,"head"),lp.domAPI=_(),lp.insertStyleElement=I(),S()(cp.Z,lp),cp.Z&&cp.Z.locals&&cp.Z.locals;var fp=(0,P.Z)(up,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"time-zone"},[e("label",{staticClass:"time-zone__heading",attrs:{for:"vs".concat(t.timeZonePickerId,"__combobox")}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Time zone:"))+"\n\t\t")]),t._v(" "),e("span",{staticClass:"time-zone-text"},[e("NcTimezonePicker",{attrs:{uid:t.timeZonePickerId},model:{value:t.timezone,callback:function(e){t.timezone=e},expression:"timezone"}})],1)]),t._v(" "),e("CalendarAvailability",{attrs:{slots:t.slots,loading:t.loading,"l10n-to":t.$t("dav","to"),"l10n-delete-slot":t.$t("dav","Delete slot"),"l10n-empty-day":t.$t("dav","No working hours set"),"l10n-add-slot":t.$t("dav","Add slot"),"l10n-monday":t.$t("dav","Monday"),"l10n-tuesday":t.$t("dav","Tuesday"),"l10n-wednesday":t.$t("dav","Wednesday"),"l10n-thursday":t.$t("dav","Thursday"),"l10n-friday":t.$t("dav","Friday"),"l10n-saturday":t.$t("dav","Saturday"),"l10n-sunday":t.$t("dav","Sunday")},on:{"update:slots":function(e){t.slots=e}}}),t._v(" "),e("NcCheckboxRadioSwitch",{attrs:{checked:t.automated},on:{"update:checked":function(e){t.automated=e}}},[t._v("\n\t\t"+t._s(t.$t("dav",'Automatically set user status to "Do not disturb" outside of availability to mute all notifications.'))+"\n\t")]),t._v(" "),e("NcButton",{attrs:{disabled:t.loading||t.saving,type:"primary"},on:{click:t.save}},[t._v("\n\t\t"+t._s(t.$t("dav","Save"))+"\n\t")])],1)}),[],!1,null,"65b5061b",null),dp=fp.exports,hp={name:"Availability",components:{NcSettingsSection:o.Z,AbsenceForm:Y,AvailabilityForm:dp},data:function(){return{hideAbsenceSettings:(0,p.j)("dav","hide_absence_settings",!0)}}},pp=(0,P.Z)(hp,(function(){var t=this,e=t._self._c;return e("div",[e("NcSettingsSection",{attrs:{name:t.$t("dav","Availability"),description:t.$t("dav","If you configure your working hours, other users will see when you are out of office when they book a meeting.")}},[e("AvailabilityForm")],1),t._v(" "),t.hideAbsenceSettings?t._e():e("NcSettingsSection",{attrs:{name:t.$t("dav","Absence"),description:t.$t("dav","Configure your next absence period.")}},[e("AbsenceForm")],1)],1)}),[],!1,null,null,null),mp=pp.exports;i.default.prototype.$t=a.Iu,new(i.default.extend(mp))({}).$mount("#settings-personal-availability")},52674:function(t,e,r){"use strict";var n=r(87537),i=r.n(n),a=r(23645),o=r.n(a)()(i());o.push([t.id,".absence[data-v-5a6b66ca]{display:flex;flex-direction:column;gap:5px}.absence__dates[data-v-5a6b66ca]{display:flex;gap:10px;width:100%}.absence__dates__picker[data-v-5a6b66ca]{flex:1 auto}.absence__dates__picker[data-v-5a6b66ca] .native-datetime-picker--input{margin-bottom:0}.absence__buttons[data-v-5a6b66ca]{display:flex;gap:5px}","",{version:3,sources:["webpack://./apps/dav/src/components/AbsenceForm.vue"],names:[],mappings:"AACA,0BACC,YAAA,CACA,qBAAA,CACA,OAAA,CAEA,iCACC,YAAA,CACA,QAAA,CACA,UAAA,CAEA,yCACC,WAAA,CAEA,wEACC,eAAA,CAKH,mCACC,YAAA,CACA,OAAA",sourcesContent:["\n.absence {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 5px;\n\n\t&__dates {\n\t\tdisplay: flex;\n\t\tgap: 10px;\n\t\twidth: 100%;\n\n\t\t&__picker {\n\t\t\tflex: 1 auto;\n\n\t\t\t::v-deep .native-datetime-picker--input {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__buttons {\n\t\tdisplay: flex;\n\t\tgap: 5px;\n\t}\n}\n"],sourceRoot:""}]),e.Z=o},93015:function(t,e,r){"use strict";var n=r(87537),i=r.n(n),a=r(23645),o=r.n(a)()(i());o.push([t.id,"[data-v-65b5061b] .availability-day{padding:0 10px 0 10px;position:absolute}[data-v-65b5061b] .availability-slots{display:flex;white-space:normal}[data-v-65b5061b] .availability-slot{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}[data-v-65b5061b] .availability-slot-group{display:flex;flex-direction:column}[data-v-65b5061b] .mx-input-wrapper{width:85px}[data-v-65b5061b] .mx-datepicker{width:97px}[data-v-65b5061b] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-65b5061b]{padding:32px 12px 12px 0;display:flex;flex-wrap:wrap}.time-zone__heading[data-v-65b5061b]{margin-right:calc(var(--default-grid-baseline)*2);line-height:var(--default-clickable-area);font-weight:bold}.grid-table[data-v-65b5061b]{display:grid;margin-bottom:32px;grid-column-gap:24px;grid-row-gap:6px;grid-template-columns:min-content auto min-content;max-width:500px}.button[data-v-65b5061b]{align-self:flex-end}[data-v-65b5061b] .label-weekday{position:relative;display:inline-flex;padding-top:4px;align-self:center}[data-v-65b5061b] .delete-slot{padding-bottom:unset}[data-v-65b5061b] .add-another{align-self:center}.to-text[data-v-65b5061b]{padding-right:12px}.empty-content[data-v-65b5061b]{color:var(--color-text-lighter);margin-top:4px;align-self:center}","",{version:3,sources:["webpack://./apps/dav/src/components/AvailabilityForm.vue"],names:[],mappings:"AACA,oCACC,qBAAA,CACA,iBAAA,CAED,sCACC,YAAA,CACA,kBAAA,CAED,qCACC,YAAA,CACA,kBAAA,CACA,kBAAA,CACA,cAAA,CAED,2CACC,YAAA,CACA,qBAAA,CAED,oCACC,UAAA,CAED,iCACC,UAAA,CAED,+BACC,yCAAA,CACA,WAAA,CAED,4BACC,wBAAA,CACG,YAAA,CACA,cAAA,CAEH,qCACC,iDAAA,CACA,yCAAA,CACA,gBAAA,CAGF,6BACC,YAAA,CACA,kBAAA,CACA,oBAAA,CACA,gBAAA,CACA,kDAAA,CACA,eAAA,CAED,yBACC,mBAAA,CAED,iCACC,iBAAA,CACA,mBAAA,CACA,eAAA,CACA,iBAAA,CAGD,+BACC,oBAAA,CAGD,+BACC,iBAAA,CAGD,0BACC,kBAAA,CAGD,gCACC,+BAAA,CACA,cAAA,CACA,iBAAA",sourcesContent:["\n:deep(.availability-day) {\n\tpadding: 0 10px 0 10px;\n\tposition: absolute;\n}\n:deep(.availability-slots) {\n\tdisplay: flex;\n\twhite-space: normal;\n}\n:deep(.availability-slot) {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\tflex-wrap: wrap;\n}\n:deep(.availability-slot-group) {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n:deep(.mx-input-wrapper) {\n\twidth: 85px;\n}\n:deep(.mx-datepicker) {\n\twidth: 97px;\n}\n:deep(.multiselect) {\n\tborder: 1px solid var(--color-border-dark);\n\twidth: 120px;\n}\n.time-zone {\n\tpadding: 32px 12px 12px 0;\n display: flex;\n flex-wrap: wrap;\n\n\t&__heading {\n\t\tmargin-right: calc(var(--default-grid-baseline) * 2);\n\t\tline-height: var(--default-clickable-area);\n\t\tfont-weight: bold;\n\t}\n}\n.grid-table {\n\tdisplay: grid;\n\tmargin-bottom: 32px;\n\tgrid-column-gap: 24px;\n\tgrid-row-gap: 6px;\n\tgrid-template-columns: min-content auto min-content;\n\tmax-width: 500px;\n}\n.button {\n\talign-self: flex-end;\n}\n:deep(.label-weekday) {\n\tposition: relative;\n\tdisplay: inline-flex;\n\tpadding-top: 4px;\n\talign-self: center;\n}\n\n:deep(.delete-slot) {\n\tpadding-bottom: unset;\n}\n\n:deep(.add-another) {\n\talign-self: center;\n}\n\n.to-text {\n\tpadding-right: 12px;\n}\n\n.empty-content {\n\tcolor: var(--color-text-lighter);\n\tmargin-top: 4px;\n\talign-self: center;\n}\n"],sourceRoot:""}]),e.Z=o},96425:function(t,e,r){var n=r(3118),i=r(9435);function a(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}a.prototype=n(i.prototype),a.prototype.constructor=a,t.exports=a},7548:function(t,e,r){var n=r(3118),i=r(9435);function a(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}a.prototype=n(i.prototype),a.prototype.constructor=a,t.exports=a},21078:function(t,e,r){var n=r(62488),i=r(37285);t.exports=function t(e,r,a,o,s){var u=-1,c=e.length;for(a||(a=i),s||(s=[]);++u<c;){var l=e[u];r>0&&a(l)?r>1?t(l,r-1,a,o,s):n(s,l):o||(s[s.length]=l)}return s}},9435:function(t){t.exports=function(){}},28045:function(t,e,r){var n=r(6557),i=r(89250),a=i?function(t,e){return i.set(t,e),t}:n;t.exports=a},52157:function(t){var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,o=t.length,s=n.length,u=-1,c=r.length,l=e(o-s,0),f=Array(c+l),d=!i;++u<c;)f[u]=r[u];for(;++a<s;)(d||a<o)&&(f[n[a]]=t[a]);for(;l--;)f[u++]=t[a++];return f}},14054:function(t){var e=Math.max;t.exports=function(t,r,n,i){for(var a=-1,o=t.length,s=-1,u=n.length,c=-1,l=r.length,f=e(o-u,0),d=Array(f+l),h=!i;++a<f;)d[a]=t[a];for(var p=a;++c<l;)d[p+c]=r[c];for(;++s<u;)(h||a<o)&&(d[p+n[s]]=t[a++]);return d}},97991:function(t){t.exports=function(t,e){for(var r=t.length,n=0;r--;)t[r]===e&&++n;return n}},22402:function(t,e,r){var n=r(71774),i=r(55639);t.exports=function(t,e,r){var a=1&e,o=n(t);return function e(){return(this&&this!==i&&this instanceof e?o:t).apply(a?r:this,arguments)}}},71774:function(t,e,r){var n=r(3118),i=r(13218);t.exports=function(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=n(t.prototype),a=t.apply(r,e);return i(a)?a:r}}},46347:function(t,e,r){var n=r(96874),i=r(71774),a=r(86935),o=r(94487),s=r(20893),u=r(46460),c=r(55639);t.exports=function(t,e,r){var l=i(t);return function i(){for(var f=arguments.length,d=Array(f),h=f,p=s(i);h--;)d[h]=arguments[h];var m=f<3&&d[0]!==p&&d[f-1]!==p?[]:u(d,p);return(f-=m.length)<r?o(t,e,a,i.placeholder,void 0,d,m,void 0,void 0,r-f):n(this&&this!==c&&this instanceof i?l:t,this,d)}}},86935:function(t,e,r){var n=r(52157),i=r(14054),a=r(97991),o=r(71774),s=r(94487),u=r(20893),c=r(90451),l=r(46460),f=r(55639);t.exports=function t(e,r,d,h,p,m,y,v,g,T){var A=128&r,b=1&r,S=2&r,E=24&r,_=512&r,x=S?void 0:o(e);return function w(){for(var D=arguments.length,C=Array(D),O=D;O--;)C[O]=arguments[O];if(E)var I=u(w),N=a(C,I);if(h&&(C=n(C,h,p,E)),m&&(C=i(C,m,y,E)),D-=N,E&&D<T){var L=l(C,I);return s(e,r,t,w.placeholder,d,C,L,v,g,T-D)}var U=b?d:this,M=S?U[e]:e;return D=C.length,v?C=c(C,v):_&&D>1&&C.reverse(),A&&g<D&&(C.length=g),this&&this!==f&&this instanceof w&&(M=x||o(M)),M.apply(U,C)}}},84375:function(t,e,r){var n=r(96874),i=r(71774),a=r(55639);t.exports=function(t,e,r,o){var s=1&e,u=i(t);return function e(){for(var i=-1,c=arguments.length,l=-1,f=o.length,d=Array(f+c),h=this&&this!==a&&this instanceof e?u:t;++l<f;)d[l]=o[l];for(;c--;)d[l++]=arguments[++i];return n(h,s?r:this,d)}}},94487:function(t,e,r){var n=r(86528),i=r(258),a=r(69255);t.exports=function(t,e,r,o,s,u,c,l,f,d){var h=8&e;e|=h?32:64,4&(e&=~(h?64:32))||(e&=-4);var p=[t,e,s,h?u:void 0,h?c:void 0,h?void 0:u,h?void 0:c,l,f,d],m=r.apply(void 0,p);return n(t)&&i(m,p),m.placeholder=o,a(m,t,e)}},97727:function(t,e,r){var n=r(28045),i=r(22402),a=r(46347),o=r(86935),s=r(84375),u=r(66833),c=r(63833),l=r(258),f=r(69255),d=r(40554),h=Math.max;t.exports=function(t,e,r,p,m,y,v,g){var T=2&e;if(!T&&"function"!=typeof t)throw new TypeError("Expected a function");var A=p?p.length:0;if(A||(e&=-97,p=m=void 0),v=void 0===v?v:h(d(v),0),g=void 0===g?g:d(g),A-=m?m.length:0,64&e){var b=p,S=m;p=m=void 0}var E=T?void 0:u(t),_=[t,e,r,p,m,b,S,y,v,g];if(E&&c(_,E),t=_[0],e=_[1],r=_[2],p=_[3],m=_[4],!(g=_[9]=void 0===_[9]?T?0:t.length:h(_[9]-A,0))&&24&e&&(e&=-25),e&&1!=e)x=8==e||16==e?a(t,e,g):32!=e&&33!=e||m.length?o.apply(void 0,_):s(t,e,r,p);else var x=i(t,e,r);return f((E?n:l)(x,_),t,e)}},99021:function(t,e,r){var n=r(85564),i=r(45357),a=r(30061);t.exports=function(t){return a(i(t,void 0,n),t+"")}},66833:function(t,e,r){var n=r(89250),i=r(50308),a=n?function(t){return n.get(t)}:i;t.exports=a},97658:function(t,e,r){var n=r(52060),i=Object.prototype.hasOwnProperty;t.exports=function(t){for(var e=t.name+"",r=n[e],a=i.call(n,e)?r.length:0;a--;){var o=r[a],s=o.func;if(null==s||s==t)return o.name}return e}},20893:function(t){t.exports=function(t){return t.placeholder}},58775:function(t){var e=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;t.exports=function(t){var n=t.match(e);return n?n[1].split(r):[]}},2188:function(t){var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=function(t,r){var n=r.length;if(!n)return t;var i=n-1;return r[i]=(n>1?"& ":"")+r[i],r=r.join(n>2?", ":" "),t.replace(e,"{\n/* [wrapped with "+r+"] */\n")}},37285:function(t,e,r){var n=r(62705),i=r(35694),a=r(1469),o=n?n.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(o&&t&&t[o])}},86528:function(t,e,r){var n=r(96425),i=r(66833),a=r(97658),o=r(8111);t.exports=function(t){var e=a(t),r=o[e];if("function"!=typeof r||!(e in n.prototype))return!1;if(t===r)return!0;var s=i(r);return!!s&&t===s[0]}},63833:function(t,e,r){var n=r(52157),i=r(14054),a=r(46460),o="__lodash_placeholder__",s=Math.min;t.exports=function(t,e){var r=t[1],u=e[1],c=r|u,l=c<131,f=128==u&&8==r||128==u&&256==r&&t[7].length<=e[8]||384==u&&e[7].length<=e[8]&&8==r;if(!l&&!f)return t;1&u&&(t[2]=e[2],c|=1&r?0:4);var d=e[3];if(d){var h=t[3];t[3]=h?n(h,d,e[4]):d,t[4]=h?a(t[3],o):e[4]}return(d=e[5])&&(h=t[5],t[5]=h?i(h,d,e[6]):d,t[6]=h?a(t[5],o):e[6]),(d=e[7])&&(t[7]=d),128&u&&(t[8]=null==t[8]?e[8]:s(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=c,t}},89250:function(t,e,r){var n=r(70577),i=n&&new n;t.exports=i},52060:function(t){t.exports={}},90451:function(t,e,r){var n=r(278),i=r(65776),a=Math.min;t.exports=function(t,e){for(var r=t.length,o=a(e.length,r),s=n(t);o--;){var u=e[o];t[o]=i(u,r)?s[u]:void 0}return t}},46460:function(t){var e="__lodash_placeholder__";t.exports=function(t,r){for(var n=-1,i=t.length,a=0,o=[];++n<i;){var s=t[n];s!==r&&s!==e||(t[n]=e,o[a++]=n)}return o}},258:function(t,e,r){var n=r(28045),i=r(21275)(n);t.exports=i},69255:function(t,e,r){var n=r(58775),i=r(2188),a=r(30061),o=r(87241);t.exports=function(t,e,r){var s=e+"";return a(t,i(s,o(n(s),r)))}},87241:function(t,e,r){var n=r(77412),i=r(47443),a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=function(t,e){return n(a,(function(r){var n="_."+r[0];e&r[1]&&!i(t,n)&&t.push(n)})),t.sort()}},21913:function(t,e,r){var n=r(96425),i=r(7548),a=r(278);t.exports=function(t){if(t instanceof n)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=a(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}},39514:function(t,e,r){var n=r(97727);t.exports=function(t,e,r){return e=r?void 0:e,e=t&&null==e?t.length:e,n(t,128,void 0,void 0,void 0,void 0,e)}},40087:function(t,e,r){var n=r(97727);function i(t,e,r){var a=n(t,8,void 0,void 0,void 0,void 0,void 0,e=r?void 0:e);return a.placeholder=i.placeholder,a}i.placeholder={},t.exports=i},85564:function(t,e,r){var n=r(21078);t.exports=function(t){return null!=t&&t.length?n(t,1):[]}},84599:function(t,e,r){var n=r(68836),i=r(69306),a=Array.prototype.push;function o(t,e){return 2==e?function(e,r){return t(e,r)}:function(e){return t(e)}}function s(t){for(var e=t?t.length:0,r=Array(e);e--;)r[e]=t[e];return r}function u(t,e){return function(){var r=arguments.length;if(r){for(var n=Array(r);r--;)n[r]=arguments[r];var i=n[0]=e.apply(void 0,n);return t.apply(void 0,n),i}}}t.exports=function t(e,r,c,l){var f="function"==typeof r,d=r===Object(r);if(d&&(l=c,c=r,r=void 0),null==c)throw new TypeError;l||(l={});var h={cap:!("cap"in l)||l.cap,curry:!("curry"in l)||l.curry,fixed:!("fixed"in l)||l.fixed,immutable:!("immutable"in l)||l.immutable,rearg:!("rearg"in l)||l.rearg},p=f?c:i,m="curry"in l&&l.curry,y="fixed"in l&&l.fixed,v="rearg"in l&&l.rearg,g=f?c.runInContext():void 0,T=f?c:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},A=T.ary,b=T.assign,S=T.clone,E=T.curry,_=T.forEach,x=T.isArray,w=T.isError,D=T.isFunction,C=T.isWeakMap,O=T.keys,I=T.rearg,N=T.toInteger,L=T.toPath,U=O(n.aryMethod),M={castArray:function(t){return function(){var e=arguments[0];return x(e)?t(s(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[1],r=t(arguments[0],e),n=r.length;return h.cap&&"number"==typeof e?(e=e>2?e-2:1,n&&n<=e?r:o(r,e)):r}},mixin:function(t){return function(e){var r=this;if(!D(r))return t(r,Object(e));var n=[];return _(O(e),(function(t){D(e[t])&&n.push([t,r.prototype[t]])})),t(r,Object(e)),_(n,(function(t){var e=t[1];D(e)?r.prototype[t[0]]=e:delete r.prototype[t[0]]})),r}},nthArg:function(t){return function(e){var r=e<0?1:N(e)+1;return E(t(e),r)}},rearg:function(t){return function(e,r){var n=r?r.length:0;return E(t(e,r),n)}},runInContext:function(r){return function(n){return t(e,r(n),l)}}};function P(t,e,r){if(h.fixed&&(y||!n.skipFixed[t])){var i=n.methodSpread[t],o=i&&i.start;return void 0===o?A(e,r):function(t,e){return function(){for(var r=arguments.length,n=r-1,i=Array(r);r--;)i[r]=arguments[r];var o=i[e],s=i.slice(0,e);return o&&a.apply(s,o),e!=n&&a.apply(s,i.slice(e+1)),t.apply(this,s)}}(e,o)}return e}function k(t,e,r){return h.rearg&&r>1&&(v||!n.skipRearg[t])?I(e,n.methodRearg[t]||n.aryRearg[r]):e}function Y(t,e){for(var r=-1,n=(e=L(e)).length,i=n-1,a=S(Object(t)),o=a;null!=o&&++r<n;){var s=e[r],u=o[s];null==u||D(u)||w(u)||C(u)||(o[s]=S(r==i?u:Object(u))),o=o[s]}return a}function j(e,r){var i=n.aliasToReal[e]||e,a=n.remap[i]||i,o=l;return function(e){var n=f?g:T,s=f?g[a]:r,u=b(b({},o),e);return t(n,i,s,u)}}function R(t,e){return function(){var r=arguments.length;if(!r)return t();for(var n=Array(r);r--;)n[r]=arguments[r];var i=h.rearg?0:r-1;return n[i]=e(n[i]),t.apply(void 0,n)}}function B(t,e,r){var i,a=n.aliasToReal[t]||t,c=e,l=M[a];return l?c=l(e):h.immutable&&(n.mutate.array[a]?c=u(e,s):n.mutate.object[a]?c=u(e,function(t){return function(e){return t({},e)}}(e)):n.mutate.set[a]&&(c=u(e,Y))),_(U,(function(t){return _(n.aryMethod[t],(function(e){if(a==e){var r=n.methodSpread[a],s=r&&r.afterRearg;return i=s?P(a,k(a,c,t),t):k(a,P(a,c,t),t),i=function(t,e,r){return m||h.curry&&r>1?E(e,r):e}(0,i=function(t,e){if(h.cap){var r=n.iterateeRearg[t];if(r)return function(t,e){return R(t,(function(t){var r=e.length;return function(t,e){return 2==e?function(e,r){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(I(o(t,r),e),r)}))}(e,r);var i=!f&&n.iterateeAry[t];if(i)return function(t,e){return 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=r,i}if(!d)return B(r,c,p);var z=c,F=[];return _(U,(function(t){_(n.aryMethod[t],(function(t){var e=z[n.remap[t]||t];e&&F.push([t,B(t,e,z)])}))})),_(O(z),(function(t){var e=z[t];if("function"==typeof e){for(var r=F.length;r--;)if(F[r][0]==t)return;e.convert=j(t,e),F.push([t,e])}})),_(F,(function(t){z[t[0]]=t[1]})),z.convert=function(t){return z.runInContext.convert(t)(void 0)},z.placeholder=z,_(O(z),(function(t){_(n.realToAlias[t]||[],(function(e){z[e]=z[t]}))})),z}},68836:function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,n={};for(var i in r){var a=r[i];t.call(n,a)?n[a].push(i):n[a]=[i]}return n}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},4269:function(t,e,r){t.exports={ary:r(39514),assign:r(44037),clone:r(66678),curry:r(40087),forEach:r(77412),isArray:r(1469),isError:r(64647),isFunction:r(23560),isWeakMap:r(81018),iteratee:r(72594),keys:r(280),rearg:r(4963),toInteger:r(40554),toPath:r(30084)}},92822:function(t,e,r){var n=r(84599),i=r(4269);t.exports=function(t,e,r){return n(i,t,e,r)}},56580:function(t,e,r){var n=r(92822)("memoize",r(88306));n.placeholder=r(69306),t.exports=n},69306:function(t){t.exports={}},64647:function(t,e,r){var n=r(44239),i=r(37005),a=r(68630);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!a(t)}},81018:function(t,e,r){var n=r(64160),i=r(37005);t.exports=function(t){return i(t)&&"[object WeakMap]"==n(t)}},72594:function(t,e,r){var n=r(85990),i=r(67206);t.exports=function(t){return i("function"==typeof t?t:n(t,1))}},4963:function(t,e,r){var n=r(97727),i=r(99021)((function(t,e){return n(t,256,void 0,void 0,void 0,e)}));t.exports=i},18601:function(t,e,r){var n=r(14841);t.exports=function(t){return t?Infinity===(t=n(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},40554:function(t,e,r){var n=r(18601);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},30084:function(t,e,r){var n=r(29932),i=r(278),a=r(1469),o=r(33448),s=r(55514),u=r(40327),c=r(79833);t.exports=function(t){return a(t)?n(t,u):o(t)?[t]:i(s(c(t)))}},8111:function(t,e,r){var n=r(96425),i=r(7548),a=r(9435),o=r(1469),s=r(37005),u=r(21913),c=Object.prototype.hasOwnProperty;function l(t){if(s(t)&&!o(t)&&!(t instanceof n)){if(t instanceof i)return t;if(c.call(t,"__wrapped__"))return u(t)}return new i(t)}l.prototype=a.prototype,l.prototype.constructor=l,t.exports=l},42761:function(t){"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg=="},87210:function(t){"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K"},94659:function(t){"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg=="},39896:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg=="},76899:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+"},88931:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4="},16556:function(t){"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4="},46318:function(t,e,r){"use strict";r.d(e,{NcAutoCompleteResult:function(){return v},default:function(){return b}}),r(29774);var n=r(22663),i=r(79753),a=r(76311),o=r(66238),s=(r(79845),r(93911)),u=r(21617),c=(r(93664),r(22175),r(99114),r(25751),r(20435),r(49368),r(89115),r(57274),r(6136),r(69183),r(32219),r(82675),r(65507)),l=r(20296),f=r(36683),d=r(73045),h=r(25108);const p={name:"NcAutoCompleteResult",props:{title:{type:String,required:!0},subline:{type:String,default:null},id:{type:String,default:null},icon:{type:String,required:!0},iconUrl:{type:String,default:null},source:{type:String,required:!0},status:{type:[Object,Array],default:()=>({})}},computed:{avatarUrl(){return this.iconUrl?this.iconUrl:this.id&&"users"===this.source?this.getAvatarUrl(this.id,44):null},haveStatus(){var t,e,r;return(null==(t=this.status)?void 0:t.icon)||(null==(e=this.status)?void 0:e.status)&&"offline"!==(null==(r=this.status)?void 0:r.status)}},methods:{getAvatarUrl(t,e){return(0,i.generateUrl)("/avatar/{user}/{size}",{user:t,size:e})}}};var m=function(){var t=this,e=t._self._c;return e("div",{staticClass:"autocomplete-result"},[e("div",{staticClass:"autocomplete-result__icon",class:[t.icon,"autocomplete-result__icon--"+(t.avatarUrl?"with-avatar":"")],style:t.avatarUrl?{backgroundImage:`url(${t.avatarUrl})`}:null},[t.haveStatus?e("div",{staticClass:"autocomplete-result__status",class:[`autocomplete-result__status--${t.status&&t.status.icon?"icon":t.status.status}`]},[t._v(" "+t._s(t.status&&t.status.icon||"")+" ")]):t._e()]),e("span",{staticClass:"autocomplete-result__content"},[e("span",{staticClass:"autocomplete-result__title",attrs:{title:t.title}},[t._v(" "+t._s(t.title)+" ")]),t.subline?e("span",{staticClass:"autocomplete-result__subline"},[t._v(" "+t._s(t.subline)+" ")]):t._e()])])},y=[];const v=(0,a.n)(p,m,y,!1,null,"25cf09d8",null,null).exports,g={name:"NcRichContenteditable",directives:{tooltip:d.VTooltip},mixins:[n.r],props:{value:{type:String,default:"",required:!0},placeholder:{type:String,default:(0,o.t)("Write a message …")},autoComplete:{type:Function,default:()=>[]},menuContainer:{type:Element,default:()=>document.body},multiline:{type:Boolean,default:!1},contenteditable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:null},emojiAutocomplete:{type:Boolean,default:!0},linkAutocomplete:{type:Boolean,default:!0}},emits:["submit","paste","update:value","smart-picker-submit"],data(){return{textSmiles:[],tribute:null,autocompleteOptions:{allowSpaces:!0,fillAttr:"id",lookup:t=>`${t.id} ${t.title}`,menuContainer:this.menuContainer,menuItemTemplate:t=>this.renderComponentHtml(t.original,v),noMatchTemplate:()=>'<span class="hidden"></span>',selectTemplate:t=>{var e;return this.genSelectTemplate(null==(e=null==t?void 0:t.original)?void 0:e.id)},values:this.debouncedAutoComplete},emojiOptions:{trigger:":",lookup:(t,e)=>e,menuContainer:this.menuContainer,menuItemTemplate:t=>this.textSmiles.includes(t.original)?t.original:`<span class="tribute-container-emoji__item__emoji">${t.original.native}</span> :${t.original.short_name}`,noMatchTemplate:()=>(0,o.t)("No emoji found"),selectTemplate:t=>this.textSmiles.includes(t.original)?t.original:((0,s.R)(t.original),t.original.native),values:(t,e)=>{const r=(0,s.K)(t);this.textSmiles.includes(":"+t)&&r.unshift(":"+t),e(r)},containerClass:"tribute-container-emoji",itemClass:"tribute-container-emoji__item"},linkOptions:{trigger:"/",lookup:(t,e)=>e,menuContainer:this.menuContainer,menuItemTemplate:t=>`<img class="tribute-container-link__item__icon" src="${t.original.icon_url}"> <span class="tribute-container-link__item__title">${t.original.title}</span>`,noMatchTemplate:()=>(0,o.t)("No link provider found"),selectTemplate:this.getLink,values:(t,e)=>e((0,u.n)(t)),containerClass:"tribute-container-link",itemClass:"tribute-container-link__item"},localValue:this.value,isComposing:!1}},computed:{isEmptyValue(){return!this.localValue||this.localValue&&""===this.localValue.trim()},isFF(){return!!navigator.userAgent.match(/firefox/i)},isOverMaxlength(){return!(this.isEmptyValue||!this.maxlength)&&(0,f.default)(this.localValue)>this.maxlength},tooltipString(){return this.isOverMaxlength?{content:(0,o.t)("Message limit of {count} characters reached",{count:this.maxlength}),shown:!0,trigger:"manual"}:null},canEdit(){return this.contenteditable&&!this.disabled},listeners(){const t={...this.$listeners};return delete t.paste,t}},watch:{value(){const t=this.$refs.contenteditable.innerHTML;this.value.trim()!==this.parseContent(t).trim()&&this.updateContent(this.value)}},mounted(){this.textSmiles=[],["d","D","p","P","s","S","x","X",")","(","|","/"].forEach((t=>{this.textSmiles.push(":"+t),this.textSmiles.push(":-"+t)})),this.autocompleteTribute=new c.default(this.autocompleteOptions),this.autocompleteTribute.attach(this.$el),this.emojiAutocomplete&&(this.emojiTribute=new c.default(this.emojiOptions),this.emojiTribute.attach(this.$el)),this.linkAutocomplete&&(this.linkTribute=new c.default(this.linkOptions),this.linkTribute.attach(this.$el)),this.updateContent(this.value),this.$refs.contenteditable.contentEditable=this.canEdit},beforeDestroy(){this.autocompleteTribute&&this.autocompleteTribute.detach(this.$el),this.emojiTribute&&this.emojiTribute.detach(this.$el),this.linkTribute&&this.linkTribute.detach(this.$el)},methods:{focus(){this.$refs.contenteditable.focus()},getLink(t){return(0,u.j)(t.original.id).then((t=>{const e=document.getElementById("tmp-smart-picker-result-node"),r={result:t,insertText:!0};if(this.$emit("smart-picker-submit",r),r.insertText){const r=document.createTextNode(t);e.replaceWith(r),this.setCursorAfter(r),this.updateValue(this.$refs.contenteditable.innerHTML)}else e.remove()})).catch((t=>{h.debug("Smart picker promise rejected:",t);const e=document.getElementById("tmp-smart-picker-result-node");this.setCursorAfter(e),e.remove()})),'<span id="tmp-smart-picker-result-node"></span>'},setCursorAfter(t){const e=document.createRange();e.setEndAfter(t),e.collapse();const r=window.getSelection();r.removeAllRanges(),r.addRange(e)},onInput(t){this.updateValue(t.target.innerHTML)},onPaste(t){if(!this.canEdit)return;t.preventDefault();const e=t.clipboardData;if(this.$emit("paste",t),0!==e.files.length||!Object.values(e.items).find((t=>null==t?void 0:t.type.startsWith("text"))))return;const r=e.getData("text"),n=window.getSelection();if(!n.rangeCount)return void this.updateValue(r);const i=n.getRangeAt(0);n.deleteFromDocument(),i.insertNode(document.createTextNode(r));const a=document.createRange();a.setStart(t.target,i.endOffset),a.collapse(!0),n.removeAllRanges(),n.addRange(a),this.updateValue(this.$refs.contenteditable.innerHTML)},updateValue(t){const e=this.parseContent(t);this.localValue=e,this.$emit("update:value",e)},updateContent(t){const e=this.renderContent(t);this.$refs.contenteditable.innerHTML=e,this.localValue=t},onDelete(t){if(!this.isFF||!window.getSelection||!this.canEdit)return;const e=window.getSelection(),r=t.target;if(!e.isCollapsed||!e.rangeCount)return;const n=e.getRangeAt(e.rangeCount-1);if(3===n.commonAncestorContainer.nodeType&&n.startOffset>0)return;const i=document.createRange();if(e.anchorNode!==r)i.selectNodeContents(r),i.setEndBefore(e.anchorNode);else{if(!(e.anchorOffset>0))return;i.setEnd(r,e.anchorOffset)}i.setStart(r,i.endOffset-1);const a=i.cloneContents().lastChild;a&&"false"===a.contentEditable&&(i.deleteContents(),t.preventDefault())},onEnter(t){this.multiline||this.isOverMaxlength||this.autocompleteTribute.isActive||this.emojiTribute.isActive||this.linkTribute.isActive||this.isComposing||(t.preventDefault(),t.stopPropagation(),this.$emit("submit",t))},onCtrlEnter(t){this.isOverMaxlength||this.$emit("submit",t)},debouncedAutoComplete:l((async function(t,e){this.autoComplete(t,e)}),100),onKeyUp(t){t.stopImmediatePropagation()}}};var T=function(){var t=this;return(0,t._self._c)("div",t._g({directives:[{name:"tooltip",rawName:"v-tooltip",value:t.tooltipString,expression:"tooltipString"}],ref:"contenteditable",staticClass:"rich-contenteditable__input",class:{"rich-contenteditable__input--empty":t.isEmptyValue,"rich-contenteditable__input--multiline":t.multiline,"rich-contenteditable__input--overflow":t.isOverMaxlength,"rich-contenteditable__input--disabled":t.disabled},attrs:{contenteditable:t.canEdit,placeholder:t.placeholder,"aria-placeholder":t.placeholder,"aria-multiline":"true",role:"textbox"},on:{input:t.onInput,compositionstart:function(e){t.isComposing=!0},compositionend:function(e){t.isComposing=!1},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:t.onDelete.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.onEnter.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.stopPropagation(),e.preventDefault(),t.onCtrlEnter.apply(null,arguments))}],paste:t.onPaste,"!keyup":function(e){return e.stopPropagation(),e.preventDefault(),t.onKeyUp.apply(null,arguments)}}},t.listeners))},A=[];const b=(0,a.n)(g,T,A,!1,null,"599f92d5",null,null).exports},58397:function(t,e,r){"use strict";r.d(e,{N:function(){return C}});var n=r(21617),i=r(93664),a=r(79753),o=r(76311),s=r(28600),u=r(21955),c=r(10979),l=r(41074),f=r(38878),d=r(27172),h=r(20469),p=r(66875),m=r(72090),y=r(25108);const v=/(\s|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/gi,g=/(\s|\(|^)((https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/gi,T={name:"NcReferenceList",components:{NcReferenceWidget:n.N},props:{text:{type:String,default:""},referenceData:{type:Object,default:null},limit:{type:Number,default:1}},data(){return{references:null,loading:!0}},computed:{isVisible(){return this.loading||this.displayedReferences},values(){return this.referenceData?this.referenceData:this.references?Object.values(this.references):[]},firstReference(){var t;return null!=(t=this.values[0])?t:null},displayedReferences(){return this.values.slice(0,this.limit)}},watch:{text:"fetch"},mounted(){this.fetch()},methods:{fetch(){this.loading=!0,this.referenceData?this.loading=!1:new RegExp(v).exec(this.text)?this.resolve().then((t=>{this.references=t.data.ocs.data.references,this.loading=!1})).catch((t=>{y.error("Failed to extract references",t),this.loading=!1})):this.loading=!1},resolve(){const t=new RegExp(v).exec(this.text.trim());return 1===this.limit&&t?i.Z.get((0,a.generateOcsUrl)("references/resolve",2)+`?reference=${encodeURIComponent(t[0])}`):i.Z.post((0,a.generateOcsUrl)("references/extract",2),{text:this.text,resolve:!0,limit:this.limit})}}};var A=function(){var t=this,e=t._self._c;return t.isVisible?e("div",{staticClass:"widgets--list",class:{"icon-loading":t.loading}},t._l(t.displayedReferences,(function(t){var r;return e("div",{key:null==(r=null==t?void 0:t.openGraphObject)?void 0:r.id},[e("NcReferenceWidget",{attrs:{reference:t}})],1)})),0):t._e()},b=[];const S=(0,o.n)(T,A,b,!1,null,"bd1fbb02",null,null).exports,E={name:"NcLink",props:{href:{type:String,required:!0}},render(t){return t("a",{attrs:{href:this.href,rel:"noopener noreferrer",target:"_blank",class:"rich-text--external-link"}},[this.href.trim()])}},_=function({autolink:t,useMarkdown:e}){return function(r){!e||!t||(0,s.Vn)(r,(t=>"text"===t.type),((t,e,r)=>{let n=x(t.value);return n=n.map((t=>"string"==typeof t?(0,c.u)("text",t):(0,c.u)("link",{url:t.props.href},[(0,c.u)("text",t.props.href)]))).filter((t=>t)),r.children.splice(e,1,...n.flat()),[u.AM,e+n.flat().length]}))}},x=t=>{let e=g.exec(t);const r=[];let n=0;for(;null!==e;){let i,a=e[2],o=t.substring(n,e.index+e[1].length);" "===a[0]&&(o+=a[0],a=a.substring(1).trim());const s=a[a.length-1];("."===s||","===s||";"===s||"("===e[0][0]&&")"===s)&&(a=a.substring(0,a.length-1),i=s),r.push(o),r.push({component:E,props:{href:a}}),i&&r.push(i),n=e.index+e[0].length,e=g.exec(t)}return r.push(t.substring(n)),t===r.map((t=>"string"==typeof t?t:t.props.href)).join("")?r:(y.error("Failed to reassemble the chunked text: "+t),t)},w=function(){return function(t){(0,s.Vn)(t,(t=>"text"===t.type),(function(t,e,r){const n=t.value.split(/(\{[a-z\-_.0-9]+\})/gi).map(((t,e,r)=>{const n=t.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!n)return(0,c.u)("text",t);const[,i]=n;return(0,c.u)("element",{tagName:`#${i}`})}));r.children.splice(e,1,...n)}))}},D={name:"NcRichText",components:{NcReferenceList:S},props:{text:{type:String,default:""},arguments:{type:Object,default:()=>({})},referenceLimit:{type:Number,default:0},references:{type:Object,default:null},markdownCssClasses:{type:Object,default:()=>({a:"rich-text--external-link",ol:"rich-text--ordered-list",ul:"rich-text--un-ordered-list",li:"rich-text--list-item",strong:"rich-text--strong",em:"rich-text--italic",h1:"rich-text--heading rich-text--heading-1",h2:"rich-text--heading rich-text--heading-2",h3:"rich-text--heading rich-text--heading-3",h4:"rich-text--heading rich-text--heading-4",h5:"rich-text--heading rich-text--heading-5",h6:"rich-text--heading rich-text--heading-6",hr:"rich-text--hr",table:"rich-text--table",pre:"rich-text--pre",code:"rich-text--code",blockquote:"rich-text--blockquote"})},useMarkdown:{type:Boolean,default:!1},autolink:{type:Boolean,default:!0}},methods:{renderPlaintext(t){const e=this,r=this.text.split(/(\{[a-z\-_.0-9]+\})/gi).map((function(r,n,i){const a=r.match(/^\{([a-z\-_.0-9]+)\}$/i);if(!a)return(({h:t,context:e},r)=>(e.autolink&&(r=x(r)),Array.isArray(r)?r.map((e=>{if("string"==typeof e)return e;const{component:r,props:n}=e,i="NcLink"===r.name?void 0:"rich-text--component";return t(r,{props:n,class:i})})):r))({h:t,context:e},r);const o=a[1],s=e.arguments[o];if("object"==typeof s){const{component:e,props:r}=s;return t(e,{props:r,class:"rich-text--component"})}return s?t("span",{class:"rich-text--fallback"},s):r}));return t("div",{class:"rich-text--wrapper"},[t("div",{},r.flat()),this.referenceLimit>0?t("div",{class:"rich-text--reference-widget"},[t(S,{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(w).use(m.Z,{target:"_blank",rel:["noopener noreferrer"]}).use(p.Z,{createElement:(e,r,n)=>{if(n=null==n?void 0:n.map((t=>"string"==typeof t?t.replace(/</gim,"<"):t)),!e.startsWith("#"))return t(e,r,n);const i=this.arguments[e.slice(1)];return i?i.component?t(i.component,{attrs:r,props:i.props,class:"rich-text--component"},n):t("span",r,[i]):t("span",{attrs:r,class:"rich-text--fallback"},[`{${e.slice(1)}}`])},prefix:!1}).processSync(this.text.replace(/</gim,"<").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(S,{props:{text:this.text,referenceData:this.references}})]):null])}},render(t){return this.useMarkdown?this.renderMarkdown(t):this.renderPlaintext(t)}},C=(0,o.n)(D,null,null,!1,null,"5f33f45b",null,null).exports},64882:function(t,e,r){"use strict";r.d(e,{$U:function(){return N.Z},FK:function(){return q.Z},Iw:function(){return s.Z},Jc:function(){return tt.Z},Jh:function(){return B.Z},O3:function(){return f.Z},P2:function(){return U.Z},QG:function(){return ct.Z},SL:function(){return G.Z},Z9:function(){return z.Z},fg:function(){return L.Z},h3:function(){return lt.Z},rw:function(){return M.Z}});var n=r(63357),i=r(66236),a=r(34791),o=r(56562),s=r(46187),u=r(80472),c=r(52300),l=r(86653),f=r(51103),d=r(68763),h=r(41748),p=r(94162),m=r(67397),y=r(27657),v=r(2047),g=r(6378),T=r(82002),A=r(89998),b=r(28505),S=r(36065),E=r(96315),_=r(66845),x=r(87875),w=r(35273),D=r(34739),C=r(55188),O=r(98445),I=r(9261),N=r(36402),L=r(49231),U=r(57274),M=r(19642),P=r(37776),k=r(73743),Y=r(93182),j=r(89241),R=r(96226),B=r(97947),z=r(2623),F=r(37008),W=r(93757),Z=r(6318),V=r(78573),G=r(22175),H=r(93428),$=r(93815),K=r(40873),q=r(64865),X=r(48741),J=r(88175),Q=r(20435),tt=r(6136),et=r(6156),rt=r(16972),nt=r(34246),it=r(34854),at=r(42213),ot=r(22663),st=r(46318),ut=r(58397),ct=(r(21617),r(93664),r(79753),r(99114)),lt=(r(66238),r(25751),r(49368)),ft=(r(89115),r(69183),r(32219),r(82675),r(74911)),dt=r(35380),ht=r(56857),pt=r(67912),mt=r(90436),yt=r(47414),vt=r(16024),gt=r(64722),Tt=(r(93911),r(85302),r(90318)),At=r(17593),bt=(r(79845),r(84722),r(76692),r(40946),r(73045));n.Z,i.Z,a.Z,o.Z,s.Z,u.Z,c.Z,l.Z,d.Z,h.Z,p.Z,f.Z,m.Z,y.Z,v.Z,g.Z,T.Z,A.Z,b.Z,S.Z,E.Z,_.Z,x.Z,w.Z,D.Z,C.Z,O.Z,st.NcAutoCompleteResult,I.N,N.Z,L.Z,U.Z,M.Z,P.Z,k.Z,Y.Z,j.Z,R.Z,B.Z,z.Z,F.Z,W.Z,Z.Z,V.Z,G.Z,H.Z,$.Z,K.N,q.Z,X.Z,J.Z,Q.Z,ot.N,tt.Z,et.Z,rt.Z,nt.Z,it.Z,at.Z,st.default,ut.N,ft.Z,ct.Z,dt.Z,ht.Z,pt.Z,mt.N,gt.Z,lt.Z,yt.Z,vt.Z,Symbol.toStringTag,Tt.X,At.X,bt.VTooltip,Symbol.toStringTag}},a={};function o(t){var e=a[t];if(void 0!==e)return e.exports;var r=a[t]={id:t,loaded:!1,exports:{}};return i[t].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=i,e=[],o.O=function(t,r,n,i){if(!r){var a=1/0;for(l=0;l<e.length;l++){r=e[l][0],n=e[l][1],i=e[l][2];for(var s=!0,u=0;u<r.length;u++)(!1&i||a>=i)&&Object.keys(o.O).every((function(t){return o.O[t](r[u])}))?r.splice(u--,1):(s=!1,i<a&&(a=i));if(s){e.splice(l--,1);var c=n();void 0!==c&&(t=c)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[r,n,i]},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.f={},o.e=function(t){return Promise.all(Object.keys(o.f).reduce((function(e,r){return o.f[r](t,e),e}),[]))},o.u=function(t){return t+"-"+t+".js?v="+{2250:"34f75a254de23027f023",7608:"79fdfed407dde075e048"}[t]},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r={},n="nextcloud:",o.l=function(t,e,i,a){if(r[t])r[t].push(e);else{var s,u;if(void 0!==i)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==n+i){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",n+i),s.src=t),r[t]=[e];var d=function(e,n){s.onerror=s.onload=null,clearTimeout(h);var i=r[t];if(delete r[t],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(t){return t(n)})),e)return e(n)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),u&&document.head.appendChild(s)}},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},o.j=3347,function(){var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!t;)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t}(),function(){o.b=document.baseURI||self.location.href;var t={3347:0,6318:0};o.f.j=function(e,r){var n=o.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((function(r,i){n=t[e]=[r,i]}));r.push(n[2]=i);var a=o.p+o.u(e),s=new Error;o.l(a,(function(r){if(o.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,n[1](s)}}),"chunk-"+e,e)}},o.O.j=function(e){return 0===t[e]};var e=function(e,r){var n,i,a=r[0],s=r[1],u=r[2],c=0;if(a.some((function(e){return 0!==t[e]}))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(u)var l=u(o)}for(e&&e(r);c<a.length;c++)i=a[c],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(l)},r=self.webpackChunknextcloud=self.webpackChunknextcloud||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))}(),o.nc=void 0;var s=o.O(void 0,[7874],(function(){return o(25e3)}));s=o.O(s)}(); -//# sourceMappingURL=dav-settings-personal-availability.js.map?v=25eeaeb026c0e2663f87
\ No newline at end of file +(()=>{var e,n,r,i={76970:(e,n,r)=>{"use strict";var i=r(20144),a=r(31352),s=r(67912),o=r(57274),u=r(49368),l=r(64722),c=r(37008),d=r(79753),f=r(93664);function h(t){return`${t.getUTCFullYear()}-${(t.getUTCMonth()+1).toString().padStart(2,"0")}-${t.getUTCDate().toString().padStart(2,"0")}`}var p=r(43554),m=r(64024);const y={name:"AbsenceForm",components:{NcButton:o.Z,NcTextField:u.Z,NcTextArea:l.Z,NcDateTimePickerNative:c.Z},data(){const{firstDay:t,lastDay:e,status:n,message:r}=(0,p.j)("dav","absence",{});return{loading:!1,status:n??"",message:r??"",firstDay:t?new Date(t):new Date,lastDay:e?new Date(e):null}},computed:{valid(){return!!this.firstDay&&!!this.lastDay&&!!this.status&&this.lastDay>this.firstDay}},methods:{resetForm(){this.status="",this.message="",this.firstDay=new Date,this.lastDay=null},async saveForm(){if(this.valid){this.loading=!0;try{await f.Z.post((0,d.generateUrl)("/apps/dav/settings/absence"),{firstDay:h(this.firstDay),lastDay:h(this.lastDay),status:this.status,message:this.message})}catch(t){(0,m.x2)(this.$t("dav","Failed to save your absence settings"))}finally{this.loading=!1}}},async clearAbsence(){this.loading=!0;try{await f.Z.delete((0,d.generateUrl)("/apps/dav/settings/absence")),this.resetForm()}catch(t){(0,m.x2)(this.$t("dav","Failed to clear your absence settings"))}finally{this.loading=!1}}}};var T=r(93379),g=r.n(T),v=r(7795),A=r.n(v),S=r(90569),b=r.n(S),E=r(3565),_=r.n(E),D=r(19216),C=r.n(D),O=r(44589),x=r.n(O),I=r(49980),w={};w.styleTagTransform=x(),w.setAttributes=_(),w.insert=b().bind(null,"head"),w.domAPI=A(),w.insertStyleElement=C(),g()(I.Z,w),I.Z&&I.Z.locals&&I.Z.locals;var N=r(51900),U=(0,N.Z)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"absence"},[e("div",{staticClass:"absence__dates"},[e("NcDateTimePickerNative",{staticClass:"absence__dates__picker",attrs:{id:"absence-first-day",label:t.$t("dav","First day")},model:{value:t.firstDay,callback:function(e){t.firstDay=e},expression:"firstDay"}}),t._v(" "),e("NcDateTimePickerNative",{staticClass:"absence__dates__picker",attrs:{id:"absence-last-day",label:t.$t("dav","Last day (inclusive)")},model:{value:t.lastDay,callback:function(e){t.lastDay=e},expression:"lastDay"}})],1),t._v(" "),e("NcTextField",{attrs:{value:t.status,label:t.$t("dav","Short absence status")},on:{"update:value":function(e){t.status=e}}}),t._v(" "),e("NcTextArea",{attrs:{value:t.message,label:t.$t("dav","Long absence Message")},on:{"update:value":function(e){t.message=e}}}),t._v(" "),e("div",{staticClass:"absence__buttons"},[e("NcButton",{attrs:{disabled:t.loading||!t.valid,type:"primary"},on:{click:t.saveForm}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Save"))+"\n\t\t")]),t._v(" "),e("NcButton",{attrs:{disabled:t.loading||!t.valid,type:"error"},on:{click:t.clearAbsence}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Disable absence"))+"\n\t\t")])],1)],1)}),[],!1,null,"5a6b66ca",null);const M=U.exports;var L=r(64882),P=r(25108),Y=r(34155),k=r(18350);function R(t,e,n,r,i,a,s,o){var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(u=function(t){!(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)&&typeof __VUE_SSR_CONTEXT__<"u"&&(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=o?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(t,e){return u.call(e),c(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:t,options:l}}!function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".availability-day[data-v-193e3573]{padding:0 10px;position:absolute}.availability-slots[data-v-193e3573]{display:flex;white-space:nowrap}.availability-slot[data-v-193e3573]{display:flex;flex-direction:row;align-items:center}.availability-slot-group[data-v-193e3573]{display:flex;flex-direction:column}[data-v-193e3573] .mx-input-wrapper{width:85px}[data-v-193e3573] .mx-datepicker{width:97px}[data-v-193e3573] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-193e3573]{padding:32px 12px 12px 0}.grid-table[data-v-193e3573]{display:grid;margin-bottom:32px;grid-column-gap:24px;grid-row-gap:6px;grid-template-columns:min-content min-content min-content}.button[data-v-193e3573]{align-self:flex-end}.label-weekday[data-v-193e3573]{position:relative;display:flex;align-items:flex-start}.label-weekday>span[data-v-193e3573]{height:50px;display:flex;align-items:center}.add-another[data-v-193e3573]{background-color:transparent;border:none;opacity:.5;display:inline-flex;padding:0;margin:0 0 3px}.add-another[data-v-193e3573]:hover{opacity:1}.to-text[data-v-193e3573]{padding-right:12px}.time-zone-text[data-v-193e3573]{padding-left:22px}.empty-content[data-v-193e3573]{color:var(--color-text-lighter);display:inline-flex;align-items:center}")),document.head.appendChild(t)}}catch(t){P.error("vite-plugin-css-injected-by-js",t)}}();var B=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 j=R({name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},B,[],!1,null,null,null,null).exports;var z=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 W=R({name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},z,[],!1,null,null,null,null).exports,F={name:"CalendarAvailability",components:{NcDateTimePicker:L.Z9,NcButton:L.P2,IconAdd:W,IconDelete:j},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=>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 Z=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"},[e("span",[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:"button",attrs:{type:"tertiary",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=R(F,Z,[],!1,null,"193e3573",null,null).exports;var H=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$={},G={};Object.defineProperty(G,"__esModule",{value:!0}),G.zonesMap=G.defaultStart=void 0,G.defaultStart="19700101T000000",G.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($,"__esModule",{value:!0});var K=$.getZoneString=$.getZoneLines=void 0;const q=G;function X(t){const{n:e,f:n,t:r,r:i,s:a}=t;return[`TZNAME:${e}`,`TZOFFSETFROM:${n}`,`TZOFFSETTO:${r||n}`,`DTSTART:${a||q.defaultStart}`,...i?[`RRULE:FREQ=${i.f||"YEARLY"};BYMONTH=${i.m};BYDAY=${i.d}`]:[]]}function J(t,e=!0){const n=q.zonesMap.get(t);if(n){const{s:r,d:i}=n;return[...e?["BEGIN:VTIMEZONE"]:[],`TZID:${t}`,"BEGIN:STANDARD",...X(r),"END:STANDARD",...i?["BEGIN:DAYLIGHT",...X(i),"END:DAYLIGHT"]:[],...e?["END:VTIMEZONE"]:[]]}}$.getZoneLines=J,K=$.getZoneString=function(t,e=!0){const n=J(t,e);return null==n?void 0:n.join("\r\n")};var Q,tt,et={};(Q=et).foldLength=75,Q.newLineChar="\r\n",Q.helpers={updateTimezones:function(t){var e,n,r,i,a,s;if(!t||"vcalendar"!==t.name)return t;for(e=t.getAllSubcomponents(),n=[],r={},a=0;a<e.length;a++)"vtimezone"===e[a].name?r[s=e[a].getFirstProperty("tzid").getFirstValue()]=e[a]:n=n.concat(e[a].getAllProperties());for(i={},a=0;a<n.length;a++)(s=n[a].getParameter("tzid"))&&(i[s]=!0);for(a in r)r.hasOwnProperty(a)&&!i[a]&&t.removeSubcomponent(r[a]);for(a in i)i.hasOwnProperty(a)&&!r[a]&&Q.TimezoneService.has(a)&&t.addSubcomponent(Q.TimezoneService.get(a).component);return t},isStrictlyNaN:function(t){return"number"==typeof t&&isNaN(t)},strictParseInt:function(t){var e=parseInt(t,10);if(Q.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,s=t.length-1;a<=s;)if((i=n(e,t[r=a+Math.floor((s-a)/2)]))<0)s=r-1;else{if(!(i>0))break;a=r+1}return i<0?r:i>0?r+1:r},dumpn:function(){Q.debug&&(Q.helpers.dumpn=typeof P<"u"&&"log"in P?function(t){P.log(t)}:function(t){dump(t+"\n")},Q.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?Q.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?Q.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<Q.foldLength+1?r+=a>65535?2:1:(e+=Q.newLineChar+" "+n.substring(0,r),n=n.substring(r),r=i=0)}return e.substr(Q.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&&Q.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}},Q.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:";"},s={defaultType:"integer"},o={defaultType:"date-time",allowedTypes:["date-time","date"]},u={defaultType:"date-time"},l={defaultType:"uri"},c={defaultType:"utc-offset"},d={defaultType:"recur"},f={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:l,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 Q.helpers.isStrictlyNaN(e)?0:e},toICAL:function(t){return String(t)}},integer:{fromICAL:function(t){var e=parseInt(t);return Q.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 Q.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}},y=Q.helpers.extend(m,{text:n(/\\\\|\\;|\\,|\\[Nn]/g,/\\|;|,|\n/g),uri:{},binary:{decorate:function(t){return Q.Binary.fromString(t)},undecorate:function(t){return t.toString()}},"cal-address":{},date:{decorate:function(t,e){return D.strict?Q.Time.fromDateString(t,e):Q.Time.fromString(t,e)},undecorate:function(t){return t.toString()},fromICAL:function(t){return!D.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(!D.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&&!D.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 D.strict?Q.Time.fromDateTimeString(t,e):Q.Time.fromString(t,e)},undecorate:function(t){return t.toString()}},duration:{decorate:function(t){return Q.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]),Q.Duration.isValueString(e[1])||(e[1]=y["date-time"].fromICAL(e[1])),e},toICAL:function(t){return D.strict||10!=t[0].length?t[0]=y["date-time"].toICAL(t[0]):t[0]=y.date.toICAL(t[0]),Q.Duration.isValueString(t[1])||(D.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 Q.Period.fromJSON(t,e,!D.strict)},undecorate:function(t){return t.toJSON()}},recur:{fromICAL:function(t){return Q.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=Q.Recur.numericDayToIcalDay(r)):Array.isArray(r)&&(r=r.join(",")),e+=n.toUpperCase()+"="+r+";"}return e.substr(0,e.length-1)},decorate:function(t){return Q.Recur.fromData(t)},undecorate:function(t){return t.toJSON()}},time:{fromICAL:function(t){if(t.length<6)return t;var e=t.substr(0,2)+":"+t.substr(2,2)+":"+t.substr(4,2);return"Z"===t[6]&&(e+="Z"),e},toICAL:function(t){if(t.length<8)return t;var e=t.substr(0,2)+t.substr(3,2)+t.substr(6,2);return"Z"===t[8]&&(e+="Z"),e}}}),T=Q.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:o,dtstamp:u,dtstart:o,due:o,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:d,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":u,location:r,method:r,organizer:{defaultType:"cal-address"},"percent-complete":s,priority:s,prodid:r,"related-to":r,repeat:s,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":o,resources:i,"request-status":a,rrule:d,sequence:s,status:r,summary:r,transp:r,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:c,tzoffsetto:c,tzurl:l,tzid:r,tzname:r}),g=Q.helpers.extend(m,{text:n(t,e),uri:n(t,e),date:{decorate:function(t){return Q.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 Q.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),s=t[a];return"Z"==t[i]?(n=t[i],r=t.substr(0,i)):t.length>6&&("-"==s||"+"==s)?(n=t.substr(a),r=t.substr(0,a)):(n="",r=t),[n,r]}},"date-time":{decorate:function(t){return Q.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 Q.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-]+$/}}),v=Q.helpers.extend(p,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:f,bday:f,caladruri:l,caluri:l,clientpidmap:a,email:r,fburl:l,fn:r,gender:a,geo:l,impp:l,key:l,kind:r,lang:{defaultType:"language-tag"},logo:l,member:l,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:i,note:r,org:{defaultType:"text",structuredValue:";"},photo:l,related:l,rev:{defaultType:"timestamp"},role:r,sound:l,source:l,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:r,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:r}),A=Q.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 Q.UtcOffset.fromString(t)},undecorate:function(t){return t.toString()}}}),S=Q.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:T},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:v},_={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},D={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 D.components?D.components[t]:D.defaultSet}};return D}(),Q.stringify=function(){var t="\r\n",e="unknown",n=Q.design,r=Q.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(),s="BEGIN:"+a+t,o=e[1],u=0,l=o.length,c=e[0];for("vcard"===c&&e[1].length>0&&!("version"===e[1][0][0]&&"4.0"===e[1][0][3])&&(c="vcard3"),r=r||n.getDesignSet(c);u<l;u++)s+=i.property(o[u],r)+t;for(var d=e[2]||[],f=0,h=d.length;f<h;f++)s+=i.component(d[f],r)+t;return s+"END:"+a},i.property=function(t,r,a){var s,o=t[0].toUpperCase(),u=t[0],l=t[1],c=o;for(s in l){var d=l[s];l.hasOwnProperty(s)&&((p=s in r.param&&r.param[s].multiValue)&&Array.isArray(d)?(r.param[s].multiValueSeparateDQuote&&(p='"'+p+'"'),d=d.map(i._rfc6868Unescape),d=i.multiValue(d,p,"unknown",null,r)):d=i._rfc6868Unescape(d),c+=";"+s.toUpperCase(),c+="="+i.propertyValue(d))}if(3===t.length)return c+":";var f=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?f===h.defaultType&&(y=!0):f===e&&(y=!0)):f===e&&(y=!0),y||(c+=";VALUE="+f.toUpperCase()),c+=":",c+=p&&m?i.multiValue(t[3],m,f,p,r,m):p?i.multiValue(t.slice(3),p,f,null,r,!1):m?i.multiValue(t[3],m,f,null,r,m):i.value(t[3],f,r,!1),a?c:Q.helpers.foldline(c)},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,s){for(var o="",u=t.length,l=0;l<u;l++)r&&Array.isArray(t[l])?o+=i.multiValue(t[l],r,n,null,a,s):o+=i.value(t[l],n,a,s),l!==u-1&&(o+=e);return o},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}(),Q.parse=function(){var t=/[^ \t]/,e=Q.design,n=Q.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,s,o,u,l,c=t.indexOf(":"),d=t.indexOf(";"),f={};if(-1!==d&&-1!==c&&d>c&&(d=-1),-1!==d){if(o=t.substring(0,d).toLowerCase(),-1==(l=i._parseParameters(t.substring(d),0,n.designSet))[2])throw new r("Invalid parameters in '"+t+"'");if(f=l[0],a=l[1].length+l[2]+d,-1===(s=t.substring(a).indexOf(":")))throw new r("Missing parameter value in '"+t+"'");u=t.substring(a+s+1)}else{if(-1===c)throw new r('invalid line (no token ";" or ":") "'+t+'"');if(o=t.substring(0,c).toLowerCase(),u=t.substring(c+1),"begin"===o){var h=[u.toLowerCase(),[],[]];return 1===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"===o)return void(n.component=n.stack.pop())}var p,m,y,T=!1,g=!1;o in n.designSet.property&&("multiValue"in(m=n.designSet.property[o])&&(T=m.multiValue),"structuredValue"in m&&(g=m.structuredValue),u&&"detectType"in m&&(p=m.detectType(u))),p||(p="value"in f?f.value.toLowerCase():m?m.defaultType:"unknown"),delete f.value,T&&g?y=[o,f,p,u=i._parseMultiValue(u,g,p,[],T,n.designSet,g)]:T?(y=[o,f,p],i._parseMultiValue(u,T,p,y,null,n.designSet,!1)):y=g?[o,f,p,u=i._parseMultiValue(u,g,p,[],null,n.designSet,g)]:[o,f,p,u=i._parseValue(u,p,n.designSet,!1)],"vcard"===n.component[0]&&0===n.component[1].length&&!("version"===o&&"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 s,o,u,l,c,d,f=e,h=0,p={},m=-1;!1!==h&&-1!==(h=n.unescapedIndexOf(t,"=",h+1));){if(0==(s=t.substr(f+1,h-f-1)).length)throw new r("Empty parameter name in '"+t+"'");if(d=!1,c=!1,l=(o=s.toLowerCase())in a.param&&a.param[o].valueType?a.param[o].valueType:"text",o in a.param&&(c=a.param[o].multiValue,a.param[o].multiValueSeparateDQuote&&(d=i._rfc6868Escape('"'+c+'"'))),'"'===t[h+1]){if(m=h+2,h=n.unescapedIndexOf(t,'"',m),c&&-1!=h)for(var y=!0;y;)t[h+1]==c&&'"'==t[h+2]?h=n.unescapedIndexOf(t,'"',h+3):y=!1;if(-1===h)throw new r('invalid line (no matching double quote) "'+t+'"');u=t.substr(m,h-m),-1===(f=n.unescapedIndexOf(t,";",h))&&(h=!1)}else{m=h+1;var T=n.unescapedIndexOf(t,";",m),g=n.unescapedIndexOf(t,":",m);-1!==g&&T>g?(T=g,h=!1):-1===T?(T=-1===g?t.length:g,h=!1):(f=T,h=T),u=t.substr(m,T-m)}if(u=i._rfc6868Escape(u),c){var v=d||c;u=i._parseMultiValue(u,v,l,[],null,a)}else u=i._parseValue(u,l,a);c&&o in p?Array.isArray(p[o])?p[o].push(u):p[o]=[p[o],u]:p[o]=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,s,o,u){var l,c=0,d=0;if(0===e.length)return t;for(;-1!==(c=n.unescapedIndexOf(t,e,d));)l=t.substr(d,c-d),l=s?i._parseMultiValue(l,s,r,[],null,o,u):i._parseValue(l,r,o,u),a.push(l),d=c+e.length;return l=t.substr(d),l=s?i._parseMultiValue(l,s,r,[],null,o,u):i._parseValue(l,r,o,u),a.push(l),1==a.length?a[0]:a},i._eachLine=function(e,n){var r,i,a,s=e.length,o=e.search(t),u=o;do{a=(u=e.indexOf("\n",o)+1)>1&&"\r"===e[u-2]?2:1,0===u&&(u=s,a=0)," "===(i=e[o])||"\t"===i?r+=e.substr(o+1,u-o-(a+1)):(r&&n(null,r),r=e.substr(o,u-o-a)),o=u}while(u!==s);(r=r.trim()).length&&n(null,r)},i}(),Q.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||Q.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 Q.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,s=this[e];if("string"==typeof n){for(;r<a;r++)if(i[r][0]===n)return this._removeObjectByIndex(t,s,r),!0}else if(s)for(;r<a;r++)if(s[r]&&s[r]===n)return this._removeObjectByIndex(t,s,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 Q.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 Q.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 Q.stringify.component(this.jCal,this._designSet)}},t.fromString=function(e){return new t(Q.parse.component(e))},t}(),Q.Property=function(){var t=Q.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 Q.stringify.property(this.jCal,this._designSet,!0)}},e.fromString=function(t,n){return new e(Q.parse.property(t,n))},e}(),Q.UtcOffset=function(){function t(t){this.fromData(t)}return t.prototype={hours:0,minutes:0,factor:1,icaltype:"utc-offset",clone:function(){return Q.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=Q.helpers.trunc(e/3600),e-=3600*this.hours,this.minutes=Q.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 Q.design.icalendar.value["utc-offset"].toICAL(this.toString())},toString:function(){return(1==this.factor?"+":"-")+Q.helpers.pad2(this.hours)+":"+Q.helpers.pad2(this.minutes)}},t.fromString=function(t){var e={};return e.factor="+"===t[0]?1:-1,e.hours=Q.helpers.strictParseInt(t.substr(1,2)),e.minutes=Q.helpers.strictParseInt(t.substr(4,2)),new Q.UtcOffset(e)},t.fromSeconds=function(e){var n=new t;return n.fromSeconds(e),n},t}(),Q.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,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o=0,u=0,l="",c=[];if(!t)return t;do{e=(a=t.charCodeAt(o++)<<16|t.charCodeAt(o++)<<8|t.charCodeAt(o++))>>18&63,n=a>>12&63,r=a>>6&63,i=63&a,c[u++]=s.charAt(e)+s.charAt(n)+s.charAt(r)+s.charAt(i)}while(o<t.length);l=c.join("");var d=t.length%3;return(d?l.slice(0,d-3):l)+"===".slice(d||3)},_b64_decode:function(t){var e,n,r,i,a,s,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=0,l=0,c=[];if(!t)return t;t+="";do{e=(s=o.indexOf(t.charAt(u++))<<18|o.indexOf(t.charAt(u++))<<12|(i=o.indexOf(t.charAt(u++)))<<6|(a=o.indexOf(t.charAt(u++))))>>16&255,n=s>>8&255,r=255&s,c[l++]=64==i?String.fromCharCode(e):64==a?String.fromCharCode(e,n):String.fromCharCode(e,n,r)}while(u<t.length);return c.join("")},toString:function(){return this.value}},t.fromString=function(e){return new t(e)},t}(),Q.Period=function(t){if(this.wrappedJSObject=this,t&&"start"in t){if(t.start&&!(t.start instanceof Q.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 Q.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 Q.Duration))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=t.duration}},Q.Period.prototype={start:null,end:null,duration:null,icalclass:"icalperiod",icaltype:"period",clone:function(){return Q.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()}},Q.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:Q.Time.fromDateTimeString(n[0],e)},i=n[1];return Q.Duration.isValueString(i)?r.duration=Q.Duration.fromString(i):r.end=Q.Time.fromDateTimeString(i,e),new Q.Period(r)},Q.Period.fromData=function(t){return new Q.Period(t)},Q.Period.fromJSON=function(t,e,n){function r(t,e){return n?Q.Time.fromString(t,e):Q.Time.fromDateTimeString(t,e)}return Q.Duration.isValueString(t[1])?Q.Period.fromData({start:r(t[0],e),duration:Q.Duration.fromString(t[1])}):Q.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(Q.helpers.isStrictlyNaN(i))throw new Error('invalid duration value: Invalid number "'+e+'" before "'+t+'"');n[r]=i}return 1}Q.Duration=function(t){this.wrappedJSObject=this,this.fromData(t)},Q.Duration.prototype={weeks:0,days:0,hours:0,minutes:0,seconds:0,isNegative:!1,icalclass:"icalduration",icaltype:"duration",clone:function(){return Q.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=Q.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=Q.helpers.trunc(e/3600),e-=3600*this.hours,this.minutes=Q.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()}},Q.Duration.fromSeconds=function(t){return(new Q.Duration).fromSeconds(t)},Q.Duration.isValueString=function(t){return"P"===t[0]||"P"===t[1]},Q.Duration.fromString=function(n){for(var r=0,i=Object.create(null),a=0;-1!==(r=n.search(t));){var s=n[r],o=n.substr(0,r);n=n.substr(r+1),a+=e(s,o,i)}if(a<2)throw new Error('invalid duration value: Not enough duration components in "'+n+'"');return new Q.Duration(i)},Q.Duration.fromData=function(t){return new Q.Duration(t)}}(),tt=["tzid","location","tznames","latitude","longitude"],Q.Timezone=function(t){this.wrappedJSObject=this,this.fromData(t)},Q.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 Q.Component)this.component=t;else{if(t&&"component"in t)if("string"==typeof t.component){var e=Q.parse(t.component);this.component=new Q.Component(e)}else t.component instanceof Q.Component?this.component=t.component:this.component=null;for(var n in tt)if(tt.hasOwnProperty(n)){var r=tt[n];t&&r in t&&(this[r]=t[r])}}return this.component instanceof Q.Component&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this},utcOffset:function(t){if(this==Q.Timezone.utcTimezone||this==Q.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=Q.helpers.clone(this.changes[n],!0);if(a.utcOffset<a.prevUtcOffset?Q.Timezone.adjust_change(a,0,0,0,a.utcOffset):Q.Timezone.adjust_change(a,0,0,0,a.prevUtcOffset),Q.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 s=this.changes[r];if(s.utcOffset-s.prevUtcOffset<0&&r>0){var o=Q.helpers.clone(s,!0);if(Q.Timezone.adjust_change(o,0,0,0,o.prevUtcOffset),Q.Timezone._compare_change_fn(e,o)<0){var u=this.changes[r-1];0!=s.is_daylight&&0==u.is_daylight&&(s=u)}}return s.utcOffset},_findNearbyChange:function(t){var e=Q.helpers.binsearchInsert(this.changes,t,Q.Timezone._compare_change_fn);return e>=this.changes.length?this.changes.length-1:e},_ensureCoverage:function(t){if(-1==Q.Timezone._minimumExpansionYear){var e=Q.Time.now();Q.Timezone._minimumExpansionYear=e.year}var n=t;if(n<Q.Timezone._minimumExpansionYear&&(n=Q.Timezone._minimumExpansionYear),(n+=Q.Timezone.EXTRA_COVERAGE)>Q.Timezone.MAX_YEAR&&(n=Q.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(Q.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 s(){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 o=t.getAllProperties("rdate");for(var u in o)if(o.hasOwnProperty(u)){var l=o[u].getFirstValue();(r=s()).year=l.year,r.month=l.month,r.day=l.day,l.isDate?(r.hour=i.hour,r.minute=i.minute,r.second=i.second,i.zone!=Q.Timezone.utcTimezone&&Q.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset)):(r.hour=l.hour,r.minute=l.minute,r.second=l.second,l.zone!=Q.Timezone.utcTimezone&&Q.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset)),n.push(r)}var c=t.getFirstProperty("rrule");if(c){c=c.getFirstValue(),r=s(),c.until&&c.until.zone==Q.Timezone.utcTimezone&&(c.until.adjust(0,0,0,r.prevUtcOffset),c.until.zone=Q.Timezone.localTimezone);for(var d,f=c.iterator(i);(d=f.next())&&(r=s(),!(d.year>e)&&d);)r.year=d.year,r.month=d.month,r.day=d.day,r.hour=d.hour,r.minute=d.minute,r.second=d.second,r.isDate=d.isDate,Q.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset),n.push(r)}}else(r=s()).year=i.year,r.month=i.month,r.day=i.day,r.hour=i.hour,r.minute=i.minute,r.second=i.second,Q.Timezone.adjust_change(r,0,0,0,-r.prevUtcOffset),n.push(r);return n},toString:function(){return this.tznames?this.tznames:this.tzid}},Q.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},Q.Timezone.convert_time=function(t,e,n){if(t.isDate||e.tzid==n.tzid||e==Q.Timezone.localTimezone||n==Q.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},Q.Timezone.fromData=function(t){return(new Q.Timezone).fromData(t)},Q.Timezone.utcTimezone=Q.Timezone.fromData({tzid:"UTC"}),Q.Timezone.localTimezone=Q.Timezone.fromData({tzid:"floating"}),Q.Timezone.adjust_change=function(t,e,n,r,i){return Q.Time.prototype.adjust.call(t,e,n,r,i,t)},Q.Timezone._minimumExpansionYear=-1,Q.Timezone.MAX_YEAR=2035,Q.Timezone.EXTRA_COVERAGE=5,Q.TimezoneService=function(){var t,e={get count(){return Object.keys(t).length},reset:function(){t=Object.create(null);var e=Q.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 Q.Component&&"vtimezone"===e.name&&(e=(n=new Q.Timezone(e)).tzid),!(n instanceof Q.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}(),Q.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)},Q.Time._dowCache={},Q.Time._wnCache={},Q.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new Q.Time(this._time,this.zone)},reset:function(){this.fromData(Q.Time.epochTime),this.zone=Q.Timezone.utcTimezone},resetTo:function(t,e,n,r,i,a,s){this.fromData({year:t,month:e,day:n,hour:r,minute:i,second:a,zone:s})},fromJSDate:function(t,e){return t?e?(this.zone=Q.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=Q.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=Q.TimezoneService.get(t.timezone);this.zone=r||Q.Timezone.localTimezone}return t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=Q.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(t){var e=t||Q.Time.SUNDAY,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(n in Q.Time._dowCache)return Q.Time._dowCache[n];var r=this.day,i=this.month+(this.month<3?12:0),a=this.year-(this.month<3?1:0),s=r+a+Q.helpers.trunc(26*(i+1)/10)+Q.helpers.trunc(a/4);return s=((s+=6*Q.helpers.trunc(a/100)+Q.helpers.trunc(a/400))+7-e)%7+1,Q.Time._dowCache[n]=s,s},dayOfYear:function(){var t=Q.Time.isLeapYear(this.year)?1:0;return Q.Time.daysInYearPassedMonth[t][this.month-1]+this.day},startOfWeek:function(t){var e=t||Q.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||Q.Time.SUNDAY,n=this.clone();return n.day+=(7-this.dayOfWeek()+e-Q.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=Q.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||Q.Time.SUNDAY,n=this.dayOfWeek()-e;return n<0&&(n+=7),this.dayOfYear()-n},getDominicalLetter:function(){return Q.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,e){var n,r=Q.Time.daysInMonth(this.month,this.year),i=e,a=0,s=this.clone();if(i>=0){s.day=1,0!=i&&i--,a=s.day;var o=t-s.dayOfWeek();o<0&&(o+=7),a+=o,a-=t,n=t}else s.day=r,i++,(n=s.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 Q.Time._wnCache)return Q.Time._wnCache[e];var n,r=this.clone();r.isDate=!0;var i=this.year;12==r.month&&r.day>25?(n=Q.Time.weekOneStarts(i+1,t),r.compare(n)<0?n=Q.Time.weekOneStarts(i,t):i++):(n=Q.Time.weekOneStarts(i,t),r.compare(n)<0&&(n=Q.Time.weekOneStarts(--i,t)));var a=r.subtractDate(n).toSeconds()/86400,s=Q.helpers.trunc(a/7)+1;return Q.Time._wnCache[e]=s,s},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 Q.Duration.fromSeconds(e-n)},subtractDateTz:function(t){var e=this.toUnixTime(),n=t.toUnixTime();return Q.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 Q.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&&Q.Timezone.convert_time(e,this.zone,t),e.zone=t,e},utcOffset:function(){return this.zone==Q.Timezone.localTimezone||this.zone==Q.Timezone.utcTimezone?0:this.zone.utcOffset(this)},toICALString:function(){var t=this.toString();return t.length>10?Q.design.icalendar.value["date-time"].toICAL(t):Q.design.icalendar.value.date.toICAL(t)},toString:function(){var t=this.year+"-"+Q.helpers.pad2(this.month)+"-"+Q.helpers.pad2(this.day);return this.isDate||(t+="T"+Q.helpers.pad2(this.hour)+":"+Q.helpers.pad2(this.minute)+":"+Q.helpers.pad2(this.second),this.zone===Q.Timezone.utcTimezone&&(t+="Z")),t},toJSDate:function(){return this.zone==Q.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,s,o,u,l,c,d,f=0,h=0,p=i||this._time;if(p.isDate||(o=p.second+r,p.second=o%60,a=Q.helpers.trunc(o/60),p.second<0&&(p.second+=60,a--),u=p.minute+n+a,p.minute=u%60,s=Q.helpers.trunc(u/60),p.minute<0&&(p.minute+=60,s--),l=p.hour+e+s,p.hour=l%24,f=Q.helpers.trunc(l/24),p.hour<0&&(p.hour+=24,f--)),p.month>12?h=Q.helpers.trunc((p.month-1)/12):p.month<1&&(h=Q.helpers.trunc(p.month/12)-1),p.year+=h,p.month-=12*h,(c=p.day+t+f)>0)for(;!(c<=(d=Q.Time.daysInMonth(p.month,p.year)));)p.month++,p.month>12&&(p.year++,p.month=1),c-=d;else for(;c<=0;)1==p.month?(p.year--,p.month=12):p.month--,c+=Q.Time.daysInMonth(p.month,p.year);return p.day=c,this._cachedUnixTime=null,this},fromUnixTime:function(t){this.zone=Q.Timezone.utcTimezone;var e=Q.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(Q.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"))}(),Q.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+=Q.Time.isLeapYear(e))),n},Q.Time.isLeapYear=function(t){return t<=1752?t%4==0:t%4==0&&t%100!=0||t%400==0},Q.Time.fromDayOfYear=function(t,e){var n=e,r=t,i=new Q.Time;i.auto_normalize=!1;var a=Q.Time.isLeapYear(n)?1:0;if(r<1)return n--,a=Q.Time.isLeapYear(n)?1:0,r+=Q.Time.daysInYearPassedMonth[a][12],Q.Time.fromDayOfYear(r,n);if(r>Q.Time.daysInYearPassedMonth[a][12])return a=Q.Time.isLeapYear(n)?1:0,r-=Q.Time.daysInYearPassedMonth[a][12],n++,Q.Time.fromDayOfYear(r,n);i.year=n,i.isDate=!0;for(var s=11;s>=0;s--)if(r>Q.Time.daysInYearPassedMonth[a][s]){i.month=s+1,i.day=r-Q.Time.daysInYearPassedMonth[a][s];break}return i.auto_normalize=!0,i},Q.Time.fromStringv2=function(t){return new Q.Time({year:parseInt(t.substr(0,4),10),month:parseInt(t.substr(5,2),10),day:parseInt(t.substr(8,2),10),isDate:!0})},Q.Time.fromDateString=function(t){return new Q.Time({year:Q.helpers.strictParseInt(t.substr(0,4)),month:Q.helpers.strictParseInt(t.substr(5,2)),day:Q.helpers.strictParseInt(t.substr(8,2)),isDate:!0})},Q.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 Q.Time({year:Q.helpers.strictParseInt(t.substr(0,4)),month:Q.helpers.strictParseInt(t.substr(5,2)),day:Q.helpers.strictParseInt(t.substr(8,2)),hour:Q.helpers.strictParseInt(t.substr(11,2)),minute:Q.helpers.strictParseInt(t.substr(14,2)),second:Q.helpers.strictParseInt(t.substr(17,2)),timezone:n})},Q.Time.fromString=function(t,e){return t.length>10?Q.Time.fromDateTimeString(t,e):Q.Time.fromDateString(t)},Q.Time.fromJSDate=function(t,e){return(new Q.Time).fromJSDate(t,e)},Q.Time.fromData=function(t,e){return(new Q.Time).fromData(t,e)},Q.Time.now=function(){return Q.Time.fromJSDate(new Date,!1)},Q.Time.weekOneStarts=function(t,e){var n=Q.Time.fromData({year:t,month:1,day:1,isDate:!0}),r=n.dayOfWeek(),i=e||Q.Time.DEFAULT_WEEK_START;return r>Q.Time.THURSDAY&&(n.day+=7),i>Q.Time.THURSDAY&&(n.day-=7),n.day-=r-i,n},Q.Time.getDominicalLetter=function(t){var e="GFEDCBA",n=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return Q.Time.isLeapYear(t)?e[(n+6)%7]+e[n]:e[n]},Q.Time.epochTime=Q.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),Q.Time._cmp_attr=function(t,e,n){return t[n]>e[n]?1:t[n]<e[n]?-1:0},Q.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]],Q.Time.SUNDAY=1,Q.Time.MONDAY=2,Q.Time.TUESDAY=3,Q.Time.WEDNESDAY=4,Q.Time.THURSDAY=5,Q.Time.FRIDAY=6,Q.Time.SATURDAY=7,Q.Time.DEFAULT_WEEK_START=Q.Time.MONDAY,Q.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)},Q.helpers.inherits(Q.Time,Q.VCardTime,{icalclass:"vcardtime",icaltype:"date-and-or-time",zone:null,clone:function(){return new Q.VCardTime(this._time,this.zone,this.icaltype)},_normalize:function(){return this},utcOffset:function(){return this.zone instanceof Q.UtcOffset?this.zone.toSeconds():Q.Time.prototype.utcOffset.apply(this,arguments)},toICALString:function(){return Q.design.vcard.value[this.icaltype].toICAL(this.toString())},toString:function(){var t,e=Q.helpers.pad2,n=this.year,r=this.month,i=this.day,a=this.hour,s=this.minute,o=this.second,u=null!==r,l=null!==i,c=null!==a,d=null!==s,f=null!==o,h=(null!==n?e(n)+(u||l?"-":""):u||l?"--":"")+(u?e(r):"")+(l?"-"+e(i):""),p=(c?e(a):"-")+(c&&d?":":"")+(d?e(s):"")+(c||d?"":"-")+(d&&f?":":"")+(f?e(o):"");switch(t=this.zone===Q.Timezone.utcTimezone?"Z":this.zone instanceof Q.UtcOffset?this.zone.toString():this.zone===Q.Timezone.localTimezone?"":this.zone instanceof Q.Timezone?Q.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}}),Q.VCardTime.fromDateAndOrTimeString=function(t,e){function n(t,e,n){return t?Q.helpers.strictParseInt(t.substr(e,n)):null}var r=t.split("T"),i=r[0],a=r[1],s=a?Q.design.vcard.value.time._splitZone(a):[],o=s[0],u=s[1];Q.helpers.strictParseInt;var l=i?i.length:0,c=u?u.length:0,d=i&&"-"==i[0]&&"-"==i[1],f=u&&"-"==u[0],h={year:d?null:n(i,0,4),month:!d||4!=l&&7!=l?7==l||10==l?n(i,5,2):null:n(i,2,2),day:5==l?n(i,3,2):7==l&&d?n(i,5,2):10==l?n(i,8,2):null,hour:f?null:n(u,0,2),minute:f&&3==c?n(u,1,2):c>4?n(u,f?1:3,2):null,second:4==c?n(u,2,2):6==c?n(u,4,2):8==c?n(u,6,2):null};return o="Z"==o?Q.Timezone.utcTimezone:o&&":"==o[3]?Q.UtcOffset.fromString(o):null,new Q.VCardTime(h,o,e)},function(){var t={SU:Q.Time.SUNDAY,MO:Q.Time.MONDAY,TU:Q.Time.TUESDAY,WE:Q.Time.WEDNESDAY,TH:Q.Time.THURSDAY,FR:Q.Time.FRIDAY,SA:Q.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=Q.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}Q.Recur=function(t){this.wrappedJSObject=this,this.parts={},t&&"object"==typeof t&&this.fromData(t)},Q.Recur.prototype={parts:null,interval:1,wkst:Q.Time.MONDAY,until:null,count:null,freq:null,icalclass:"icalrecur",icaltype:"recur",iterator:function(t){return new Q.RecurIterator({rule:this,dtstart:t})},clone:function(){return new Q.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&&o.INTERVAL(this.interval,this),this.wkst&&"number"!=typeof this.wkst&&(this.wkst=Q.Recur.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof Q.Time)&&(this.until=Q.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()]=Q.helpers.clone(this.parts[e])}return this.until&&(t.until=this.until.toString()),"wkst"in this&&this.wkst!==Q.Time.DEFAULT_WEEK_START&&(t.wkst=Q.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!==Q.Time.DEFAULT_WEEK_START&&(t+=";WKST="+Q.Recur.numericDayToIcalDay(this.wkst)),t}},Q.Recur.icalDayToNumericDay=function(e,n){var r=n||Q.Time.SUNDAY;return(t[e]-r+7)%7+1},Q.Recur.numericDayToIcalDay=function(t,n){var r=t+(n||Q.Time.SUNDAY)-Q.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)$/,s=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],o={FREQ:function(t,e,n){if(-1===s.indexOf(t))throw new Error('invalid frequency "'+t+'" expected: "'+s.join(", ")+'"');e.freq=t},COUNT:function(t,e,n){e.count=Q.helpers.strictParseInt(t)},INTERVAL:function(t,e,n){e.interval=Q.helpers.strictParseInt(t),e.interval<1&&(e.interval=1)},UNTIL:function(t,e,n){t.length>10?e.until=Q.design.icalendar.value["date-time"].fromICAL(t):e.until=Q.design.icalendar.value.date.fromICAL(t),n||(e.until=Q.Time.fromString(e.until))},WKST:function(t,e,n){if(!i.test(t))throw new Error('invalid WKST value "'+t+'"');e.wkst=Q.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)};Q.Recur.fromString=function(t){var e=Q.Recur._stringToData(t,!1);return new Q.Recur(e)},Q.Recur.fromData=function(t){return new Q.Recur(t)},Q.Recur._stringToData=function(t,e){for(var n=Object.create(null),r=t.split(";"),i=r.length,a=0;a<i;a++){var s=r[a].split("="),l=s[0].toUpperCase(),c=s[0].toLowerCase(),d=e?c:l,f=s[1];if(l in u){for(var h=f.split(","),p=0,m=h.length;p<m;p++)h[p]=u[l](h[p]);n[d]=1==h.length?h[0]:h}else l in o?o[l](f,n,e):n[c]=f}return n}}(),Q.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=Q.helpers.formatClassType(t.rule,Q.Recur),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=Q.helpers.formatClassType(t.dtstart,Q.Time),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");t.by_data?this.by_data=t.by_data:this.by_data=Q.helpers.clone(this.rule.parts,!0),t.occurrence_number&&(this.occurrence_number=t.occurrence_number),this.days=t.days||[],t.last&&(this.last=Q.helpers.formatClassType(t.last,Q.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=(l=u[1])-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<l&&n>=0||n<0)&&(this.last.day+=n)}else{var r=Q.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(),s=Q.Time.daysInMonth(this.last.month,this.last.year);for(var o in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(o)){this.last=a.clone(),e=(u=this.ruleDayOfWeek(this.by_data.BYDAY[o]))[0];var u,l=u[1],c=this.last.nthWeekDay(l,e);if(e>=6||e<=-6)throw new Error("Malformed values in BYDAY part");if(c>s||c<=0){if(i&&i.month==a.month)continue;for(;c>s||c<=0;)this.increment_month(),s=Q.Time.daysInMonth(this.last.month,this.last.year),c=this.last.nthWeekDay(l,e)}this.last.day=c,(!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>s||0==this.last.day)throw new Error("Malformed values in BYDAY part")}else this.has_by_data("BYMONTHDAY")&&this.last.day<0&&(s=Q.Time.daysInMonth(this.last.month,this.last.year),this.last.day=s+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=Q.Time.daysInMonth(e,t),a=[],s=0,o=n.length;s<o;s++)if(r=n[s],!(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,s=0,o=a.length,u=0,l=this,c=this.last.day;function d(){for(i=Q.Time.daysInMonth(l.last.month,l.last.year),e=l.normalizeByMonthDayRules(l.last.year,l.last.month,l.by_data.BYMONTHDAY),r=e.length;e[s]<=c&&(!t||e[s]!=c)&&s<r-1;)s++}function f(){c=0,l.increment_month(),s=0,d()}d(),t&&(c-=1);for(var h=48;!u&&h;)if(h--,(n=c+1)>i)f();else{var p=e[s++];if(p>=n){c=p;for(var m=0;m<o;m++){var y=this.ruleDayOfWeek(a[m]),T=y[0],g=y[1];if(this.last.day=c,this.last.isNthWeekDay(g,T)){u=1;break}}u||s!==r||f()}else f()}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=Q.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=Q.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=Q.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 Q.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=Q.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=Q.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=Q.Recur.icalDayToNumericDay(n[2],e)]:[0,0]},next_generic:function(t,e,n,r,i){var a=t in this.by_data,s=this.rule.freq==e,o=0;if(i&&0==this[i]())return o;if(a){this.by_indices[t]++,this.by_indices[t];var u=this.by_data[t];this.by_indices[t]==u.length&&(this.by_indices[t]=0,o=1),this.last[n]=u[this.by_indices[t]]}else s&&this["increment_"+n](this.rule.interval);return a&&o&&s&&this["increment_"+r](1),o},increment_monthday:function(t){for(var e=0;e<t;e++){var n=Q.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=Q.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=Q.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 Q.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 s=1,o={};e.year=t,e.isDate=!0;for(var u=0;u<this.by_data.BYMONTH.length;u++){var l=this.by_data.BYMONTH[u];e.month=l,e.day=1;var c=e.weekNumber(this.rule.wkst);e.day=Q.Time.daysInMonth(l,t);var d=e.weekNumber(this.rule.wkst);for(u=c;u<d;u++)o[u]=1}for(var f=0;f<this.by_data.BYWEEKNO.length&&s;f++)(B=this.by_data.BYWEEKNO[f])<52?s&=o[f]:s=0;s?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 T in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(T)){var g=this.dtstart.clone();(S=this.by_data.BYMONTHDAY[T])<0&&(S=S+(A=Q.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 v=this.by_data.BYMONTH[m],A=Q.Time.daysInMonth(v,t);for(var T in this.by_data.BYMONTHDAY)if(this.by_data.BYMONTHDAY.hasOwnProperty(T)){var S;(S=this.by_data.BYMONTHDAY[T])<0&&(S=S+A+1),e.day=S,e.month=v,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)){l=this.by_data.BYMONTH[m],A=Q.Time.daysInMonth(l,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 D=[],C=1;C<=A;C++)e.day=C,this.is_day_in_byday(e)&&D.push(C);for(var O=0;O<D.length;O++)(this.check_set_position(O+1)||this.check_set_position(O-D.length))&&this.days.push(E+D[O])}else for(var x in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(x)){var I,w=this.by_data.BYDAY[x],N=this.ruleDayOfWeek(w),U=N[0],M=N[1],L=(M+7-b)%7+1,P=A-(_+7-M)%7;if(0==U)for(C=L;C<=A;C+=7)this.days.push(E+C);else U>0?(I=L+7*(U-1))<=A&&this.days.push(E+I):(I=P+7*(U+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 Y=this.expand_by_day(t);for(var k in Y)if(Y.hasOwnProperty(k)){C=Y[k];var R=Q.Time.fromDayOfYear(C,t);this.by_data.BYMONTHDAY.indexOf(R.day)>=0&&this.days.push(C)}}else if(3==h&&"BYDAY"in n&&"BYMONTHDAY"in n&&"BYMONTH"in n)for(var k in Y=this.expand_by_day(t))Y.hasOwnProperty(k)&&(C=Y[k],R=Q.Time.fromDayOfYear(C,t),this.by_data.BYMONTH.indexOf(R.month)>=0&&this.by_data.BYMONTHDAY.indexOf(R.day)>=0&&this.days.push(C));else if(2==h&&"BYDAY"in n&&"BYWEEKNO"in n){for(var k in Y=this.expand_by_day(t))if(Y.hasOwnProperty(k)){C=Y[k];var B=(R=Q.Time.fromDayOfYear(C,t)).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(B)&&this.days.push(C)}}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 s in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(s)){var o=this.by_data.BYDAY[s],u=this.ruleDayOfWeek(o),l=u[0],c=u[1];if(0==l)for(var d=(c+7-r)%7+1;d<=a;d+=7)e.push(d);else if(l>0){var f;f=c>=r?c-r+1:c-r+8,e.push(f+7*(l-1))}else{var h;l=-l,h=c<=i?a-i+c:a-i+c-7,e.push(h-7*(l-1))}}return e},is_day_in_byday:function(t){for(var e in this.by_data.BYDAY)if(this.by_data.BYDAY.hasOwnProperty(e)){var n=this.by_data.BYDAY[e],r=this.ruleDayOfWeek(n),i=r[0],a=r[1],s=t.dayOfWeek();if(0==i&&a==s||t.nthWeekDay(a,i)==t.day)return 1}return 0},check_set_position:function(t){return!!this.has_by_data("BYSETPOS")&&-1!==this.by_data.BYSETPOS.indexOf(t)},sort_byday_rules:function(t){for(var e=0;e<t.length;e++)for(var 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 s=this.by_data[e];for(var o in s)if(s.hasOwnProperty(o)&&s[o]==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",Q.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}(),Q.RecurExpansion=function(){function t(t){return Q.helpers.formatClassType(t,Q.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=Q.helpers.formatClassType(e.dtstart,Q.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 Q.helpers.formatClassType(t,Q.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=Q.helpers.binsearchInsert(a,t,e),a.splice(i,0,t)}for(var i,a=[],s=t.getAllProperties(n),o=s.length,u=0;u<o;u++)s[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=Q.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=Q.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}(),Q.Event=function(){function t(t,e){t instanceof Q.Component||(e=t,t=null),this.component=t||new Q.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 Q.Component&&(t=new Q.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=Q.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=Q.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(Q.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,s=this.findRangeException(t);if(s){var o=this.exceptions[s];i.item=o;var u=this._rangeExceptionCache[s];if(!u){var l=o.recurrenceId.clone(),c=o.startDate.clone();l.zone=c.zone,u=c.subtractDate(l),this._rangeExceptionCache[s]=u}var d=t.clone();d.zone=o.startDate.zone,d.addDuration(u),(a=d.clone()).addDuration(o.duration),i.startDate=d,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 Q.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 Q.Property(t),this.component.addProperty(n)),e.zone===Q.Timezone.localTimezone||e.zone===Q.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}(),Q.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=Q.parse(t)),t instanceof Q.Component||(t=new Q.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 Q.Timezone({tzid:a,component:e}))}break;case"vevent":this.parseEvent&&this.onevent(new Q.Event(e));break;default:continue}this.oncomplete()}},t}();var nt=et;let rt;const it=new Uint8Array(16);function at(){if(!rt&&(rt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!rt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return rt(it)}const st=[];for(let t=0;t<256;++t)st.push((t+256).toString(16).slice(1));const ot={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function ut(t,e,n){if(ot.randomUUID&&!e&&!t)return ot.randomUUID();const r=(t=t||{}).random||(t.rng||at)();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 st[t[e+0]]+st[t[e+1]]+st[t[e+2]]+st[t[e+3]]+"-"+st[t[e+4]]+st[t[e+5]]+"-"+st[t[e+6]]+st[t[e+7]]+"-"+st[t[e+8]]+st[t[e+9]]+"-"+st[t[e+10]]+st[t[e+11]]+st[t[e+12]]+st[t[e+13]]+st[t[e+14]]+st[t[e+15]]}(r)}var lt={},ct=function(t){return t&&t.Math==Math&&t},dt=ct("object"==typeof globalThis&&globalThis)||ct("object"==typeof window&&window)||ct("object"==typeof self&&self)||ct("object"==typeof H&&H)||function(){return this}()||Function("return this")(),ft={},ht=function(t){try{return!!t()}catch{return!0}},pt=!ht((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),mt=!ht((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),yt=mt,Tt=Function.prototype.call,gt=yt?Tt.bind(Tt):function(){return Tt.apply(Tt,arguments)},vt={},At={}.propertyIsEnumerable,St=Object.getOwnPropertyDescriptor,bt=St&&!At.call({1:2},1);vt.f=bt?function(t){var e=St(this,t);return!!e&&e.enumerable}:At;var Et,_t,Dt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Ct=mt,Ot=Function.prototype,xt=Ot.call,It=Ct&&Ot.bind.bind(xt,xt),wt=function(t){return Ct?It(t):function(){return xt.apply(t,arguments)}},Nt=wt,Ut=Nt({}.toString),Mt=Nt("".slice),Lt=function(t){return Mt(Ut(t),8,-1)},Pt=Lt,Yt=wt,kt=function(t){if("Function"===Pt(t))return Yt(t)},Rt=ht,Bt=Lt,jt=Object,zt=kt("".split),Wt=Rt((function(){return!jt("z").propertyIsEnumerable(0)}))?function(t){return"String"==Bt(t)?zt(t,""):jt(t)}:jt,Ft=function(t){return null==t},Zt=Ft,Vt=TypeError,Ht=function(t){if(Zt(t))throw Vt("Can't call method on "+t);return t},$t=Wt,Gt=Ht,Kt=function(t){return $t(Gt(t))},qt="object"==typeof document&&document.all,Xt={all:qt,IS_HTMLDDA:typeof qt>"u"&&void 0!==qt},Jt=Xt.all,Qt=Xt.IS_HTMLDDA?function(t){return"function"==typeof t||t===Jt}:function(t){return"function"==typeof t},te=Qt,ee=Xt.all,ne=Xt.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:te(t)||t===ee}:function(t){return"object"==typeof t?null!==t:te(t)},re=dt,ie=Qt,ae=function(t,e){return arguments.length<2?function(t){return ie(t)?t:void 0}(re[t]):re[t]&&re[t][e]},se=kt({}.isPrototypeOf),oe=dt,ue=ae("navigator","userAgent")||"",le=oe.process,ce=oe.Deno,de=le&&le.versions||ce&&ce.version,fe=de&&de.v8;fe&&(_t=(Et=fe.split("."))[0]>0&&Et[0]<4?1:+(Et[0]+Et[1])),!_t&&ue&&(!(Et=ue.match(/Edge\/(\d+)/))||Et[1]>=74)&&(Et=ue.match(/Chrome\/(\d+)/))&&(_t=+Et[1]);var he=_t,pe=ht,me=!!Object.getOwnPropertySymbols&&!pe((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&he&&he<41})),ye=me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Te=ae,ge=Qt,ve=se,Ae=Object,Se=ye?function(t){return"symbol"==typeof t}:function(t){var e=Te("Symbol");return ge(e)&&ve(e.prototype,Ae(t))},be=String,Ee=function(t){try{return be(t)}catch{return"Object"}},_e=Qt,De=Ee,Ce=TypeError,Oe=function(t){if(_e(t))return t;throw Ce(De(t)+" is not a function")},xe=Oe,Ie=Ft,we=gt,Ne=Qt,Ue=ne,Me=TypeError,Le=function(t,e){var n,r;if("string"===e&&Ne(n=t.toString)&&!Ue(r=we(n,t))||Ne(n=t.valueOf)&&!Ue(r=we(n,t))||"string"!==e&&Ne(n=t.toString)&&!Ue(r=we(n,t)))return r;throw Me("Can't convert object to primitive value")},Pe={exports:{}},Ye=dt,ke=Object.defineProperty,Re=function(t,e){try{ke(Ye,t,{value:e,configurable:!0,writable:!0})}catch{Ye[t]=e}return e},Be=Re,je="__core-js_shared__",ze=dt[je]||Be(je,{}),We=ze;(Pe.exports=function(t,e){return We[t]||(We[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 Fe=Pe.exports,Ze=Ht,Ve=Object,He=function(t){return Ve(Ze(t))},$e=He,Ge=kt({}.hasOwnProperty),Ke=Object.hasOwn||function(t,e){return Ge($e(t),e)},qe=kt,Xe=0,Je=Math.random(),Qe=qe(1..toString),tn=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Qe(++Xe+Je,36)},en=dt,nn=Ke,rn=tn,an=me,sn=ye,on=Fe("wks"),un=en.Symbol,ln=un&&un.for,cn=sn?un:un&&un.withoutSetter||rn,dn=function(t){if(!nn(on,t)||!an&&"string"!=typeof on[t]){var e="Symbol."+t;an&&nn(un,t)?on[t]=un[t]:on[t]=sn&&ln?ln(e):cn(e)}return on[t]},fn=gt,hn=ne,pn=Se,mn=Le,yn=TypeError,Tn=dn("toPrimitive"),gn=function(t,e){if(!hn(t)||pn(t))return t;var n,r=function(t,e){var n=t[e];return Ie(n)?void 0:xe(n)}(t,Tn);if(r){if(void 0===e&&(e="default"),n=fn(r,t,e),!hn(n)||pn(n))return n;throw yn("Can't convert object to primitive value")}return void 0===e&&(e="number"),mn(t,e)},vn=gn,An=Se,Sn=function(t){var e=vn(t,"string");return An(e)?e:e+""},bn=ne,En=dt.document,_n=bn(En)&&bn(En.createElement),Dn=function(t){return _n?En.createElement(t):{}},Cn=Dn,On=!pt&&!ht((function(){return 7!=Object.defineProperty(Cn("div"),"a",{get:function(){return 7}}).a})),xn=pt,In=gt,wn=vt,Nn=Dt,Un=Kt,Mn=Sn,Ln=Ke,Pn=On,Yn=Object.getOwnPropertyDescriptor;ft.f=xn?Yn:function(t,e){if(t=Un(t),e=Mn(e),Pn)try{return Yn(t,e)}catch{}if(Ln(t,e))return Nn(!In(wn.f,t,e),t[e])};var kn={},Rn=pt&&ht((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Bn=ne,jn=String,zn=TypeError,Wn=function(t){if(Bn(t))return t;throw zn(jn(t)+" is not an object")},Fn=pt,Zn=On,Vn=Rn,Hn=Wn,$n=Sn,Gn=TypeError,Kn=Object.defineProperty,qn=Object.getOwnPropertyDescriptor,Xn="enumerable",Jn="configurable",Qn="writable";kn.f=Fn?Vn?function(t,e,n){if(Hn(t),e=$n(e),Hn(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Qn in n&&!n[Qn]){var r=qn(t,e);r&&r[Qn]&&(t[e]=n.value,n={configurable:Jn in n?n[Jn]:r[Jn],enumerable:Xn in n?n[Xn]:r[Xn],writable:!1})}return Kn(t,e,n)}:Kn:function(t,e,n){if(Hn(t),e=$n(e),Hn(n),Zn)try{return Kn(t,e,n)}catch{}if("get"in n||"set"in n)throw Gn("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var tr=kn,er=Dt,nr=pt?function(t,e,n){return tr.f(t,e,er(1,n))}:function(t,e,n){return t[e]=n,t},rr={exports:{}},ir=pt,ar=Ke,sr=Function.prototype,or=ir&&Object.getOwnPropertyDescriptor,ur=ar(sr,"name"),lr={EXISTS:ur,PROPER:ur&&"something"===function(){}.name,CONFIGURABLE:ur&&(!ir||ir&&or(sr,"name").configurable)},cr=Qt,dr=ze,fr=kt(Function.toString);cr(dr.inspectSource)||(dr.inspectSource=function(t){return fr(t)});var hr,pr,mr,yr=dr.inspectSource,Tr=Qt,gr=dt.WeakMap,vr=Tr(gr)&&/native code/.test(String(gr)),Ar=tn,Sr=Fe("keys"),br=function(t){return Sr[t]||(Sr[t]=Ar(t))},Er={},_r=vr,Dr=dt,Cr=ne,Or=nr,xr=Ke,Ir=ze,wr=br,Nr=Er,Ur="Object already initialized",Mr=Dr.TypeError,Lr=Dr.WeakMap;if(_r||Ir.state){var Pr=Ir.state||(Ir.state=new Lr);Pr.get=Pr.get,Pr.has=Pr.has,Pr.set=Pr.set,hr=function(t,e){if(Pr.has(t))throw Mr(Ur);return e.facade=t,Pr.set(t,e),e},pr=function(t){return Pr.get(t)||{}},mr=function(t){return Pr.has(t)}}else{var Yr=wr("state");Nr[Yr]=!0,hr=function(t,e){if(xr(t,Yr))throw Mr(Ur);return e.facade=t,Or(t,Yr,e),e},pr=function(t){return xr(t,Yr)?t[Yr]:{}},mr=function(t){return xr(t,Yr)}}var kr={set:hr,get:pr,has:mr,enforce:function(t){return mr(t)?pr(t):hr(t,{})},getterFor:function(t){return function(e){var n;if(!Cr(e)||(n=pr(e)).type!==t)throw Mr("Incompatible receiver, "+t+" required");return n}}},Rr=ht,Br=Qt,jr=Ke,zr=pt,Wr=lr.CONFIGURABLE,Fr=yr,Zr=kr.enforce,Vr=kr.get,Hr=Object.defineProperty,$r=zr&&!Rr((function(){return 8!==Hr((function(){}),"length",{value:8}).length})),Gr=String(String).split("String"),Kr=rr.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),(!jr(t,"name")||Wr&&t.name!==e)&&(zr?Hr(t,"name",{value:e,configurable:!0}):t.name=e),$r&&n&&jr(n,"arity")&&t.length!==n.arity&&Hr(t,"length",{value:n.arity});try{n&&jr(n,"constructor")&&n.constructor?zr&&Hr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var r=Zr(t);return jr(r,"source")||(r.source=Gr.join("string"==typeof e?e:"")),t};Function.prototype.toString=Kr((function(){return Br(this)&&Vr(this).source||Fr(this)}),"toString");var qr=rr.exports,Xr=Qt,Jr=kn,Qr=qr,ti=Re,ei=function(t,e,n,r){r||(r={});var i=r.enumerable,a=void 0!==r.name?r.name:e;if(Xr(n)&&Qr(n,a,r),r.global)i?t[e]=n:ti(e,n);else{try{r.unsafe?t[e]&&(i=!0):delete t[e]}catch{}i?t[e]=n:Jr.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ni={},ri=Math.ceil,ii=Math.floor,ai=Math.trunc||function(t){var e=+t;return(e>0?ii:ri)(e)},si=ai,oi=function(t){var e=+t;return e!=e||0===e?0:si(e)},ui=oi,li=Math.max,ci=Math.min,di=function(t,e){var n=ui(t);return n<0?li(n+e,0):ci(n,e)},fi=oi,hi=Math.min,pi=function(t){return function(t){return t>0?hi(fi(t),9007199254740991):0}(t.length)},mi=Kt,yi=di,Ti=pi,gi=function(t){return function(e,n,r){var i,a=mi(e),s=Ti(a),o=yi(r,s);if(t&&n!=n){for(;s>o;)if((i=a[o++])!=i)return!0}else for(;s>o;o++)if((t||o in a)&&a[o]===n)return t||o||0;return!t&&-1}},vi={includes:gi(!0),indexOf:gi(!1)},Ai=Ke,Si=Kt,bi=vi.indexOf,Ei=Er,_i=kt([].push),Di=function(t,e){var n,r=Si(t),i=0,a=[];for(n in r)!Ai(Ei,n)&&Ai(r,n)&&_i(a,n);for(;e.length>i;)Ai(r,n=e[i++])&&(~bi(a,n)||_i(a,n));return a},Ci=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Oi=Di,xi=Ci.concat("length","prototype");ni.f=Object.getOwnPropertyNames||function(t){return Oi(t,xi)};var Ii={};Ii.f=Object.getOwnPropertySymbols;var wi=ae,Ni=ni,Ui=Ii,Mi=Wn,Li=kt([].concat),Pi=wi("Reflect","ownKeys")||function(t){var e=Ni.f(Mi(t)),n=Ui.f;return n?Li(e,n(t)):e},Yi=Ke,ki=Pi,Ri=ft,Bi=kn,ji=function(t,e,n){for(var r=ki(e),i=Bi.f,a=Ri.f,s=0;s<r.length;s++){var o=r[s];!Yi(t,o)&&(!n||!Yi(n,o))&&i(t,o,a(e,o))}},zi=ht,Wi=Qt,Fi=/#|\.prototype\./,Zi=function(t,e){var n=Hi[Vi(t)];return n==Gi||n!=$i&&(Wi(e)?zi(e):!!e)},Vi=Zi.normalize=function(t){return String(t).replace(Fi,".").toLowerCase()},Hi=Zi.data={},$i=Zi.NATIVE="N",Gi=Zi.POLYFILL="P",Ki=Zi,qi=dt,Xi=ft.f,Ji=nr,Qi=ei,ta=Re,ea=ji,na=Ki,ra=function(t,e){var n,r,i,a,s,o=t.target,u=t.global,l=t.stat;if(n=u?qi:l?qi[o]||ta(o,{}):(qi[o]||{}).prototype)for(r in e){if(a=e[r],i=t.dontCallGetSet?(s=Xi(n,r))&&s.value:n[r],!na(u?r:o+(l?".":"#")+r,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;ea(a,i)}(t.sham||i&&i.sham)&&Ji(a,"sham",!0),Qi(n,r,a,t)}},ia=ra,aa=pt,sa=kn.f;ia({target:"Object",stat:!0,forced:Object.defineProperty!==sa,sham:!aa},{defineProperty:sa});var oa={},ua=dt,la={},ca=dn;la.f=ca;var da=ua,fa=Ke,ha=la,pa=kn.f,ma=function(t){var e=da.Symbol||(da.Symbol={});fa(e,t)||pa(e,t,{value:ha.f(t)})};ma("iterator");var ya={},Ta=Di,ga=Ci,va=Object.keys||function(t){return Ta(t,ga)},Aa=pt,Sa=Rn,ba=kn,Ea=Wn,_a=Kt,Da=va;ya.f=Aa&&!Sa?Object.defineProperties:function(t,e){Ea(t);for(var n,r=_a(e),i=Da(e),a=i.length,s=0;a>s;)ba.f(t,n=i[s++],r[n]);return t};var Ca,Oa=ae("document","documentElement"),xa=Wn,Ia=ya,wa=Ci,Na=Er,Ua=Oa,Ma=Dn,La="prototype",Pa="script",Ya=br("IE_PROTO"),ka=function(){},Ra=function(t){return"<"+Pa+">"+t+"</"+Pa+">"},Ba=function(t){t.write(Ra("")),t.close();var e=t.parentWindow.Object;return t=null,e},ja=function(){try{Ca=new ActiveXObject("htmlfile")}catch{}ja=typeof document<"u"?document.domain&&Ca?Ba(Ca):function(){var t,e=Ma("iframe"),n="java"+Pa+":";return e.style.display="none",Ua.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Ra("document.F=Object")),t.close(),t.F}():Ba(Ca);for(var t=wa.length;t--;)delete ja[La][wa[t]];return ja()};Na[Ya]=!0;var za=Object.create||function(t,e){var n;return null!==t?(ka[La]=xa(t),n=new ka,ka[La]=null,n[Ya]=t):n=ja(),void 0===e?n:Ia.f(n,e)},Wa=dn,Fa=za,Za=kn.f,Va=Wa("unscopables"),Ha=Array.prototype;null==Ha[Va]&&Za(Ha,Va,{configurable:!0,value:Fa(null)});var $a,Ga,Ka,qa={},Xa=!ht((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Ja=Ke,Qa=Qt,ts=He,es=Xa,ns=br("IE_PROTO"),rs=Object,is=rs.prototype,as=es?rs.getPrototypeOf:function(t){var e=ts(t);if(Ja(e,ns))return e[ns];var n=e.constructor;return Qa(n)&&e instanceof n?n.prototype:e instanceof rs?is:null},ss=ht,os=Qt,us=ne,ls=as,cs=ei,ds=dn("iterator"),fs=!1;[].keys&&("next"in(Ka=[].keys())?(Ga=ls(ls(Ka)))!==Object.prototype&&($a=Ga):fs=!0),(!us($a)||ss((function(){var t={};return $a[ds].call(t)!==t})))&&($a={}),os($a[ds])||cs($a,ds,(function(){return this}));var hs={IteratorPrototype:$a,BUGGY_SAFARI_ITERATORS:fs},ps=kn.f,ms=Ke,ys=dn("toStringTag"),Ts=function(t,e,n){t&&!n&&(t=t.prototype),t&&!ms(t,ys)&&ps(t,ys,{configurable:!0,value:e})},gs=hs.IteratorPrototype,vs=za,As=Dt,Ss=Ts,bs=qa,Es=function(){return this},_s=Qt,Ds=String,Cs=TypeError,Os=kt,xs=Wn,Is=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Os(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(n,r){return xs(n),function(t){if("object"==typeof t||_s(t))return t;throw Cs("Can't set "+Ds(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),ws=ra,Ns=gt,Us=Qt,Ms=as,Ls=Is,Ps=Ts,Ys=nr,ks=ei,Rs=qa,Bs=lr.PROPER,js=lr.CONFIGURABLE,zs=hs.IteratorPrototype,Ws=hs.BUGGY_SAFARI_ITERATORS,Fs=dn("iterator"),Zs="keys",Vs="values",Hs="entries",$s=function(){return this},Gs=function(t,e,n,r,i,a,s){!function(t,e,n,r){var i=e+" Iterator";t.prototype=vs(gs,{next:As(+!r,n)}),Ss(t,i,!1),bs[i]=Es}(n,e,r);var o,u,l,c=function(t){if(t===i&&m)return m;if(!Ws&&t in h)return h[t];switch(t){case Zs:case Vs:case Hs:return function(){return new n(this,t)}}return function(){return new n(this)}},d=e+" Iterator",f=!1,h=t.prototype,p=h[Fs]||h["@@iterator"]||i&&h[i],m=!Ws&&p||c(i),y="Array"==e&&h.entries||p;if(y&&(o=Ms(y.call(new t)))!==Object.prototype&&o.next&&(Ms(o)!==zs&&(Ls?Ls(o,zs):Us(o[Fs])||ks(o,Fs,$s)),Ps(o,d,!0)),Bs&&i==Vs&&p&&p.name!==Vs&&(js?Ys(h,"name",Vs):(f=!0,m=function(){return Ns(p,this)})),i)if(u={values:c(Vs),keys:a?m:c(Zs),entries:c(Hs)},s)for(l in u)(Ws||f||!(l in h))&&ks(h,l,u[l]);else ws({target:e,proto:!0,forced:Ws||f},u);return h[Fs]!==m&&ks(h,Fs,m,{name:i}),Rs[e]=m,u},Ks=function(t,e){return{value:t,done:e}},qs=Kt,Xs=function(t){Ha[Va][t]=!0},Js=qa,Qs=kr,to=kn.f,eo=Gs,no=Ks,ro=pt,io="Array Iterator",ao=Qs.set,so=Qs.getterFor(io),oo=eo(Array,"Array",(function(t,e){ao(this,{type:io,target:qs(t),index:0,kind:e})}),(function(){var t=so(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,no(void 0,!0)):no("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values"),uo=Js.Arguments=Js.Array;if(Xs("keys"),Xs("values"),Xs("entries"),ro&&"values"!==uo.name)try{to(uo,"name",{value:"values"})}catch{}var lo={};lo[dn("toStringTag")]="z";var co="[object z]"===String(lo),fo=co,ho=Qt,po=Lt,mo=dn("toStringTag"),yo=Object,To="Arguments"==po(function(){return arguments}()),go=fo?po: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=yo(t),mo))?n:To?po(e):"Object"==(r=po(e))&&ho(e.callee)?"Arguments":r},vo=go,Ao=String,So=function(t){if("Symbol"===vo(t))throw TypeError("Cannot convert a Symbol value to a string");return Ao(t)},bo=kt,Eo=oi,_o=So,Do=Ht,Co=bo("".charAt),Oo=bo("".charCodeAt),xo=bo("".slice),Io=function(t){return function(e,n){var r,i,a=_o(Do(e)),s=Eo(n),o=a.length;return s<0||s>=o?t?"":void 0:(r=Oo(a,s))<55296||r>56319||s+1===o||(i=Oo(a,s+1))<56320||i>57343?t?Co(a,s):r:t?xo(a,s,s+2):i-56320+(r-55296<<10)+65536}},wo=(Io(!1),Io(!0)),No=So,Uo=kr,Mo=Gs,Lo=Ks,Po="String Iterator",Yo=Uo.set,ko=Uo.getterFor(Po);Mo(String,"String",(function(t){Yo(this,{type:Po,string:No(t),index:0})}),(function(){var t,e=ko(this),n=e.string,r=e.index;return r>=n.length?Lo(void 0,!0):(t=wo(n,r),e.index+=t.length,Lo(t,!1))}));var Ro=Dn("span").classList,Bo=Ro&&Ro.constructor&&Ro.constructor.prototype,jo=Bo===Object.prototype?void 0:Bo,zo=dt,Wo={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},Fo=jo,Zo=oo,Vo=nr,Ho=dn,$o=Ho("iterator"),Go=Ho("toStringTag"),Ko=Zo.values,qo=function(t,e){if(t){if(t[$o]!==Ko)try{Vo(t,$o,Ko)}catch{t[$o]=Ko}if(t[Go]||Vo(t,Go,e),Wo[e])for(var n in Zo)if(t[n]!==Zo[n])try{Vo(t,n,Zo[n])}catch{t[n]=Zo[n]}}};for(var Xo in Wo)qo(zo[Xo]&&zo[Xo].prototype,Xo);qo(Fo,"DOMTokenList");var Jo=pt,Qo=kt,tu=gt,eu=ht,nu=va,ru=Ii,iu=vt,au=He,su=Wt,ou=Object.assign,uu=Object.defineProperty,lu=Qo([].concat),cu=!ou||eu((function(){if(Jo&&1!==ou({b:1},ou(uu({},"a",{enumerable:!0,get:function(){uu(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!=ou({},t)[n]||nu(ou({},e)).join("")!=r}))?function(t,e){for(var n=au(t),r=arguments.length,i=1,a=ru.f,s=iu.f;r>i;)for(var o,u=su(arguments[i++]),l=a?lu(nu(u),a(u)):nu(u),c=l.length,d=0;c>d;)o=l[d++],(!Jo||tu(s,u,o))&&(n[o]=u[o]);return n}:ou,du=cu;ra({target:"Object",stat:!0,arity:2,forced:Object.assign!==du},{assign:du});var fu=gt,hu=ae,pu=dn,mu=ei,yu=function(){var t=hu("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,r=pu("toPrimitive");e&&!e[r]&&mu(e,r,(function(t){return fu(n,this)}),{arity:1})},Tu=yu;ma("toPrimitive"),Tu();var gu=Wn,vu=Le,Au=TypeError,Su=Ke,bu=ei,Eu=dn("toPrimitive"),_u=Date.prototype;Su(_u,Eu)||bu(_u,Eu,(function(t){if(gu(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw Au("Incorrect hint");return vu(this,t)}));var Du={},Cu=Sn,Ou=kn,xu=Dt,Iu=di,wu=pi,Nu=function(t,e,n){var r=Cu(e);r in t?Ou.f(t,r,xu(0,n)):t[r]=n},Uu=Array,Mu=Math.max,Lu=Lt,Pu=Kt,Yu=ni.f,ku="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Du.f=function(t){return ku&&"Window"==Lu(t)?function(t){try{return Yu(t)}catch{return function(t,e,n){for(var r=wu(t),i=Iu(e,r),a=Iu(void 0===n?r:n,r),s=Uu(Mu(a-i,0)),o=0;i<a;i++,o++)Nu(s,o,t[i]);return s.length=o,s}(ku)}}(t):Yu(Pu(t))};var Ru=Oe,Bu=mt,ju=kt(kt.bind),zu=Lt,Wu=Array.isArray||function(t){return"Array"==zu(t)},Fu=kt,Zu=ht,Vu=Qt,Hu=go,$u=yr,Gu=function(){},Ku=[],qu=ae("Reflect","construct"),Xu=/^\s*(?:class|function)\b/,Ju=Fu(Xu.exec),Qu=!Xu.exec(Gu),tl=function(t){if(!Vu(t))return!1;try{return qu(Gu,Ku,t),!0}catch{return!1}},el=function(t){if(!Vu(t))return!1;switch(Hu(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qu||!!Ju(Xu,$u(t))}catch{return!0}};el.sham=!0;var nl=!qu||Zu((function(){var t;return tl(tl.call)||!tl(Object)||!tl((function(){t=!0}))||t}))?el:tl,rl=Wu,il=nl,al=ne,sl=dn("species"),ol=Array,ul=Wt,ll=He,cl=pi,dl=function(t,e){return new(function(t){var e;return rl(t)&&(e=t.constructor,(il(e)&&(e===ol||rl(e.prototype))||al(e)&&null===(e=e[sl]))&&(e=void 0)),void 0===e?ol:e}(t))(0===e?0:e)},fl=kt([].push),hl=function(t){var e=1==t,n=2==t,r=3==t,i=4==t,a=6==t,s=7==t,o=5==t||a;return function(u,l,c,d){for(var f,h,p=ll(u),m=ul(p),y=function(t,e){return Ru(t),void 0===e?t:Bu?ju(t,e):function(){return t.apply(e,arguments)}}(l,c),T=cl(m),g=0,v=d||dl,A=e?v(u,T):n||s?v(u,0):void 0;T>g;g++)if((o||g in m)&&(h=y(f=m[g],g,p),t))if(e)A[g]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return g;case 2:fl(A,f)}else switch(t){case 4:return!1;case 7:fl(A,f)}return a?-1:r||i?i:A}},pl={forEach:hl(0),map:hl(1),filter:hl(2),some:hl(3),every:hl(4),find:hl(5),findIndex:hl(6),filterReject:hl(7)},ml=ra,yl=dt,Tl=gt,gl=kt,vl=pt,Al=me,Sl=ht,bl=Ke,El=se,_l=Wn,Dl=Kt,Cl=Sn,Ol=So,xl=Dt,Il=za,wl=va,Nl=ni,Ul=Du,Ml=Ii,Ll=ft,Pl=kn,Yl=ya,kl=vt,Rl=ei,Bl=Fe,jl=Er,zl=tn,Wl=dn,Fl=la,Zl=ma,Vl=yu,Hl=Ts,$l=kr,Gl=pl.forEach,Kl=br("hidden"),ql="Symbol",Xl="prototype",Jl=$l.set,Ql=$l.getterFor(ql),tc=Object[Xl],ec=yl.Symbol,nc=ec&&ec[Xl],rc=yl.TypeError,ic=yl.QObject,ac=Ll.f,sc=Pl.f,oc=Ul.f,uc=kl.f,lc=gl([].push),cc=Bl("symbols"),dc=Bl("op-symbols"),fc=Bl("wks"),hc=!ic||!ic[Xl]||!ic[Xl].findChild,pc=vl&&Sl((function(){return 7!=Il(sc({},"a",{get:function(){return sc(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=ac(tc,e);r&&delete tc[e],sc(t,e,n),r&&t!==tc&&sc(tc,e,r)}:sc,mc=function(t,e){var n=cc[t]=Il(nc);return Jl(n,{type:ql,tag:t,description:e}),vl||(n.description=e),n},yc=function(t,e,n){t===tc&&yc(dc,e,n),_l(t);var r=Cl(e);return _l(n),bl(cc,r)?(n.enumerable?(bl(t,Kl)&&t[Kl][r]&&(t[Kl][r]=!1),n=Il(n,{enumerable:xl(0,!1)})):(bl(t,Kl)||sc(t,Kl,xl(1,{})),t[Kl][r]=!0),pc(t,r,n)):sc(t,r,n)},Tc=function(t,e){_l(t);var n=Dl(e),r=wl(n).concat(Sc(n));return Gl(r,(function(e){(!vl||Tl(gc,n,e))&&yc(t,e,n[e])})),t},gc=function(t){var e=Cl(t),n=Tl(uc,this,e);return!(this===tc&&bl(cc,e)&&!bl(dc,e))&&(!(n||!bl(this,e)||!bl(cc,e)||bl(this,Kl)&&this[Kl][e])||n)},vc=function(t,e){var n=Dl(t),r=Cl(e);if(n!==tc||!bl(cc,r)||bl(dc,r)){var i=ac(n,r);return i&&bl(cc,r)&&!(bl(n,Kl)&&n[Kl][r])&&(i.enumerable=!0),i}},Ac=function(t){var e=oc(Dl(t)),n=[];return Gl(e,(function(t){!bl(cc,t)&&!bl(jl,t)&&lc(n,t)})),n},Sc=function(t){var e=t===tc,n=oc(e?dc:Dl(t)),r=[];return Gl(n,(function(t){bl(cc,t)&&(!e||bl(tc,t))&&lc(r,cc[t])})),r};Al||(ec=function(){if(El(nc,this))throw rc("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Ol(arguments[0]):void 0,e=zl(t),n=function(t){this===tc&&Tl(n,dc,t),bl(this,Kl)&&bl(this[Kl],e)&&(this[Kl][e]=!1),pc(this,e,xl(1,t))};return vl&&hc&&pc(tc,e,{configurable:!0,set:n}),mc(e,t)},Rl(nc=ec[Xl],"toString",(function(){return Ql(this).tag})),Rl(ec,"withoutSetter",(function(t){return mc(zl(t),t)})),kl.f=gc,Pl.f=yc,Yl.f=Tc,Ll.f=vc,Nl.f=Ul.f=Ac,Ml.f=Sc,Fl.f=function(t){return mc(Wl(t),t)},vl&&(sc(nc,"description",{configurable:!0,get:function(){return Ql(this).description}}),Rl(tc,"propertyIsEnumerable",gc,{unsafe:!0}))),ml({global:!0,constructor:!0,wrap:!0,forced:!Al,sham:!Al},{Symbol:ec}),Gl(wl(fc),(function(t){Zl(t)})),ml({target:ql,stat:!0,forced:!Al},{useSetter:function(){hc=!0},useSimple:function(){hc=!1}}),ml({target:"Object",stat:!0,forced:!Al,sham:!vl},{create:function(t,e){return void 0===e?Il(t):Tc(Il(t),e)},defineProperty:yc,defineProperties:Tc,getOwnPropertyDescriptor:vc}),ml({target:"Object",stat:!0,forced:!Al},{getOwnPropertyNames:Ac}),Vl(),Hl(ec,ql),jl[Kl]=!0;var bc=me&&!!Symbol.for&&!!Symbol.keyFor,Ec=ra,_c=ae,Dc=Ke,Cc=So,Oc=Fe,xc=bc,Ic=Oc("string-to-symbol-registry"),wc=Oc("symbol-to-string-registry");Ec({target:"Symbol",stat:!0,forced:!xc},{for:function(t){var e=Cc(t);if(Dc(Ic,e))return Ic[e];var n=_c("Symbol")(e);return Ic[e]=n,wc[n]=e,n}});var Nc=ra,Uc=Ke,Mc=Se,Lc=Ee,Pc=bc,Yc=Fe("symbol-to-string-registry");Nc({target:"Symbol",stat:!0,forced:!Pc},{keyFor:function(t){if(!Mc(t))throw TypeError(Lc(t)+" is not a symbol");if(Uc(Yc,t))return Yc[t]}});var kc=mt,Rc=Function.prototype,Bc=Rc.apply,jc=Rc.call,zc="object"==typeof Reflect&&Reflect.apply||(kc?jc.bind(Bc):function(){return jc.apply(Bc,arguments)}),Wc=kt([].slice),Fc=ra,Zc=ae,Vc=zc,Hc=gt,$c=kt,Gc=ht,Kc=Wu,qc=Qt,Xc=ne,Jc=Se,Qc=Wc,td=me,ed=Zc("JSON","stringify"),nd=$c(/./.exec),rd=$c("".charAt),id=$c("".charCodeAt),ad=$c("".replace),sd=$c(1..toString),od=/[\uD800-\uDFFF]/g,ud=/^[\uD800-\uDBFF]$/,ld=/^[\uDC00-\uDFFF]$/,cd=!td||Gc((function(){var t=Zc("Symbol")();return"[null]"!=ed([t])||"{}"!=ed({a:t})||"{}"!=ed(Object(t))})),dd=Gc((function(){return'"\\udf06\\ud834"'!==ed("\udf06\ud834")||'"\\udead"'!==ed("\udead")})),fd=function(t,e){var n=Qc(arguments),r=e;if((Xc(e)||void 0!==t)&&!Jc(t))return Kc(e)||(e=function(t,e){if(qc(r)&&(e=Hc(r,this,t,e)),!Jc(e))return e}),n[1]=e,Vc(ed,null,n)},hd=function(t,e,n){var r=rd(n,e-1),i=rd(n,e+1);return nd(ud,t)&&!nd(ld,i)||nd(ld,t)&&!nd(ud,r)?"\\u"+sd(id(t,0),16):t};ed&&Fc({target:"JSON",stat:!0,arity:3,forced:cd||dd},{stringify:function(t,e,n){var r=Qc(arguments),i=Vc(cd?fd:ed,null,r);return dd&&"string"==typeof i?ad(i,od,hd):i}});var pd=Ii,md=He;ra({target:"Object",stat:!0,forced:!me||ht((function(){pd.f(1)}))},{getOwnPropertySymbols:function(t){var e=pd.f;return e?e(md(t)):[]}});var yd=ra,Td=pt,gd=dt,vd=kt,Ad=Ke,Sd=Qt,bd=se,Ed=So,_d=kn.f,Dd=ji,Cd=gd.Symbol,Od=Cd&&Cd.prototype;if(Td&&Sd(Cd)&&(!("description"in Od)||void 0!==Cd().description)){var xd={},Id=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Ed(arguments[0]),e=bd(Od,this)?new Cd(t):void 0===t?Cd():Cd(t);return""===t&&(xd[e]=!0),e};Dd(Id,Cd),Id.prototype=Od,Od.constructor=Id;var wd="Symbol(test)"==String(Cd("test")),Nd=vd(Od.valueOf),Ud=vd(Od.toString),Md=/^Symbol\((.*)\)[^)]+$/,Ld=vd("".replace),Pd=vd("".slice);_d(Od,"description",{configurable:!0,get:function(){var t=Nd(this);if(Ad(xd,t))return"";var e=Ud(t),n=wd?Pd(e,7,-1):Ld(e,Md,"$1");return""===n?void 0:n}}),yd({global:!0,constructor:!0,forced:!0},{Symbol:Id})}var Yd=go,kd=co?{}.toString:function(){return"[object "+Yd(this)+"]"};co||ei(Object.prototype,"toString",kd,{unsafe:!0});var Rd=Qt,Bd=ne,jd=Is,zd=kt(1..valueOf),Wd=Ht,Fd=So,Zd=kt("".replace),Vd="[\t\n\v\f\r \u2028\u2029\ufeff]",Hd=RegExp("^"+Vd+Vd+"*"),$d=RegExp(Vd+Vd+"*$"),Gd=function(t){return function(e){var n=Fd(Wd(e));return 1&t&&(n=Zd(n,Hd,"")),2&t&&(n=Zd(n,$d,"")),n}},Kd={start:Gd(1),end:Gd(2),trim:Gd(3)},qd=pt,Xd=dt,Jd=kt,Qd=Ki,tf=ei,ef=Ke,nf=se,rf=Se,af=gn,sf=ht,of=ni.f,uf=ft.f,lf=kn.f,cf=zd,df=Kd.trim,ff="Number",hf=Xd[ff],pf=hf.prototype,mf=Xd.TypeError,yf=Jd("".slice),Tf=Jd("".charCodeAt);if(Qd(ff,!hf(" 0o1")||!hf("0b1")||hf("+0x1"))){for(var gf,vf=function(t){var e=arguments.length<1?0:hf(function(t){var e=af(t,"number");return"bigint"==typeof e?e:function(t){var e,n,r,i,a,s,o,u,l=af(t,"number");if(rf(l))throw mf("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=df(l),43===(e=Tf(l,0))||45===e){if(88===(n=Tf(l,2))||120===n)return NaN}else if(48===e){switch(Tf(l,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(s=(a=yf(l,2)).length,o=0;o<s;o++)if((u=Tf(a,o))<48||u>i)return NaN;return parseInt(a,r)}return+l}(e)}(t)),n=this;return nf(pf,n)&&sf((function(){cf(n)}))?function(t,e,n){var r,i;return jd&&Rd(r=e.constructor)&&r!==n&&Bd(i=r.prototype)&&i!==n.prototype&&jd(t,i),t}(Object(e),n,vf):e},Af=qd?of(hf):"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(","),Sf=0;Af.length>Sf;Sf++)ef(hf,gf=Af[Sf])&&!ef(vf,gf)&&lf(vf,gf,uf(hf,gf));vf.prototype=pf,pf.constructor=vf,tf(Xd,ff,vf,{constructor:!0})}var bf={};Object.defineProperty(bf,"__esModule",{value:!0}),bf.LogLevel=void 0;var Ef=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}({});bf.LogLevel=Ef,Object.defineProperty(oa,"__esModule",{value:!0}),oa.ConsoleLogger=void 0,oa.buildConsoleLogger=function(t){return new xf(t)};var _f=bf;function Df(t){return Df="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},Df(t)}function Cf(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,Of(r.key),r)}}function Of(t){var e=function(t,e){if("object"!==Df(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==Df(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Df(e)?e:String(e)}var xf=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=Of(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&&Cf(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"formatMessage",value:function(t,e,n){var r="["+_f.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===_f.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"===Df(e)&&void 0===(null==n?void 0:n.error)&&(n.error=e),t){case _f.LogLevel.Debug:P.debug(this.formatMessage(e,_f.LogLevel.Debug,n),n);break;case _f.LogLevel.Info:P.info(this.formatMessage(e,_f.LogLevel.Info,n),n);break;case _f.LogLevel.Warn:P.warn(this.formatMessage(e,_f.LogLevel.Warn,n),n);break;case _f.LogLevel.Error:P.error(this.formatMessage(e,_f.LogLevel.Error,n),n);break;case _f.LogLevel.Fatal:default:P.error(this.formatMessage(e,_f.LogLevel.Fatal,n),n)}}},{key:"debug",value:function(t,e){this.log(_f.LogLevel.Debug,t,Object.assign({},this.context,e))}},{key:"info",value:function(t,e){this.log(_f.LogLevel.Info,t,Object.assign({},this.context,e))}},{key:"warn",value:function(t,e){this.log(_f.LogLevel.Warn,t,Object.assign({},this.context,e))}},{key:"error",value:function(t,e){this.log(_f.LogLevel.Error,t,Object.assign({},this.context,e))}},{key:"fatal",value:function(t,e){this.log(_f.LogLevel.Fatal,t,Object.assign({},this.context,e))}}]),t}();oa.ConsoleLogger=xf;var If={},wf={},Nf={};var Uf="object"==typeof Y&&Y.env&&Y.env.NODE_DEBUG&&/\bsemver\b/i.test(Y.env.NODE_DEBUG)?(...t)=>P.error("SEMVER",...t):()=>{},Mf={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},Lf={exports:{}};!function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=Mf,a=Uf,s=(e=t.exports={}).re=[],o=e.safeRe=[],u=e.src=[],l=e.t={};let c=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",i],[d,r]],h=(t,e,n)=>{const r=(t=>{for(const[e,n]of f)t=t.split(`${e}*`).join(`${e}{0,${n}}`).split(`${e}+`).join(`${e}{1,${n}}`);return t})(e),i=c++;a(t,i,e),l[t]=i,u[i]=e,s[i]=new RegExp(e,n?"g":void 0),o[i]=new RegExp(r,n?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),h("FULL",`^${u[l.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),h("LOOSE",`^${u[l.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),h("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),h("COERCERTL",u[l.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",h("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",h("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(Lf,Lf.exports);var Pf=Lf.exports;const Yf=Object.freeze({loose:!0}),kf=Object.freeze({});const Rf=/^[0-9]+$/,Bf=(t,e)=>{const n=Rf.test(t),r=Rf.test(e);return n&&r&&(t=+t,e=+e),t===e?0:n&&!r?-1:r&&!n?1:t<e?-1:1};var jf={compareIdentifiers:Bf,rcompareIdentifiers:(t,e)=>Bf(e,t)};const zf=Uf,{MAX_LENGTH:Wf,MAX_SAFE_INTEGER:Ff}=Mf,{safeRe:Zf,t:Vf}=Pf,Hf=t=>t?"object"!=typeof t?Yf:t:kf,{compareIdentifiers:$f}=jf;var Gf=class t{constructor(e,n){if(n=Hf(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>Wf)throw new TypeError(`version is longer than ${Wf} characters`);zf("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=e.trim().match(n.loose?Zf[Vf.LOOSE]:Zf[Vf.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>Ff||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ff||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ff||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<Ff)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(zf("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)),$f(this.major,e.major)||$f(this.minor,e.minor)||$f(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(zf("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 $f(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(zf("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 $f(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===$f(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 Kf=Gf;const qf=(t,e,n=!1)=>{if(t instanceof Kf)return t;try{return new Kf(t,e)}catch(t){if(!n)return null;throw t}};var Xf=(t,e)=>{const n=qf(t,e);return n?n.version:null};const Jf=Gf;Object.defineProperty(Nf,"__esModule",{value:!0});var Qf=(t,e)=>new Jf(t,e).major;function th(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var eh=th(Xf),nh=th(Qf),rh=function(){function t(t){"function"==typeof t.getVersion&&eh.default(t.getVersion())?nh.default(t.getVersion())!==nh.default(this.getVersion())&&P.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):P.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}return t.prototype.getVersion=function(){return"3.0.2"},t.prototype.subscribe=function(t,e){this.bus.subscribe(t,e)},t.prototype.unsubscribe=function(t,e){this.bus.unsubscribe(t,e)},t.prototype.emit=function(t,e){this.bus.emit(t,e)},t}(),ih=function(){function t(){this.handlers=new Map}return t.prototype.getVersion=function(){return"3.0.2"},t.prototype.subscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))},t.prototype.unsubscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))},t.prototype.emit=function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){P.error("could not invoke event listener",t)}}))},t}(),ah=(typeof window.OC<"u"&&window.OC._eventBus&&typeof window._nc_event_bus>"u"&&(P.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window._nc_event_bus<"u"?new rh(window._nc_event_bus):window._nc_event_bus=new ih);Nf.ProxyBus=rh,Nf.SimpleBus=ih,Nf.emit=function(t,e){ah.emit(t,e)},Nf.subscribe=function(t,e){ah.subscribe(t,e)},Nf.unsubscribe=function(t,e){ah.unsubscribe(t,e)},Object.defineProperty(wf,"__esModule",{value:!0});var sh=Nf,oh=document.getElementsByTagName("head")[0],uh=oh?oh.getAttribute("data-requesttoken"):null,lh=[];sh.subscribe("csrf-token-update",(function(t){uh=t.token,lh.forEach((function(e){try{e(t.token)}catch(t){P.error("error updating CSRF token observer",t)}}))}));var ch=function(t,e){return t?t.getAttribute(e):null},dh=document.getElementsByTagName("head")[0],fh=ch(dh,"data-user"),hh=ch(dh,"data-user-displayname"),ph=!(typeof OC>"u")&&OC.isUserAdmin();wf.getCurrentUser=function(){return null===fh?null:{uid:fh,displayName:hh,isAdmin:ph}},wf.getRequestToken=function(){return uh},wf.onRequestTokenUpdate=function(t){lh.push(t)},Object.defineProperty(If,"__esModule",{value:!0}),If.LoggerBuilder=void 0;var mh=wf,yh=bf;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 gh(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,Ah(r.key),r)}}function vh(t,e,n){return(e=Ah(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ah(t){var e=function(t,e){if("object"!==Th(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==Th(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Th(e)?e:String(e)}var Sh=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),vh(this,"context",void 0),vh(this,"factory",void 0),this.context={},this.factory=e}return function(t,e,n){e&&gh(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,mh.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:yh.LogLevel.Warn,window._oc_debug&&(t.context.level=yh.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}();If.LoggerBuilder=Sh,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=oa,n=If,r=bf;function i(){return new n.LoggerBuilder(e.buildConsoleLogger)}}(lt);const bh=lt.getLoggerBuilder().detectUser().setApp("@nextcloud/calendar-availability-vue").build();var Eh=r(14596),_h=r(56580),Dh=r.n(_h),Ch=r(77958);const Oh=Dh()((t=>(f.Z.defaults.headers["X-Requested-With"]="XMLHttpRequest",Eh.lD().patch("request",f.Z),Eh.eI((0,d.generateRemoteUrl)(`dav/${t}/${(0,Ch.ts)().uid}`))))),xh=(0,r(17499).IY)().setApp("dav").detectUser().build();var Ih=r(19642),wh=r(13888),Nh=r(25108);const Uh={name:"AvailabilityForm",components:{NcButton:o.Z,NcCheckboxRadioSwitch:Ih.Z,CalendarAvailability:V,NcTimezonePicker:wh.Z},data:()=>({loading:!0,saving:!1,timezone:(new Intl.DateTimeFormat)?.resolvedOptions()?.timeZone??"UTC",slots:{MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]},automated:"yes"===(0,p.j)("dav","user_status_automation")}),computed:{timeZonePickerId:()=>`tz-${(Math.random()+1).toString(36).substring(7)}`},async mounted(){try{const t=await async function(){const t=Oh("calendars"),e=await t.customRequest("inbox",{method:"PROPFIND",data:'<?xml version="1.0"?>\n\t\t\t<x0:propfind xmlns:x0="DAV:">\n\t\t\t <x0:prop>\n\t\t\t\t<x1:calendar-availability xmlns:x1="urn:ietf:params:xml:ns:caldav"/>\n\t\t\t </x0:prop>\n\t\t\t</x0:propfind>'}),n=await(0,Eh.sw)(e.data);if(!n)return;const r=n?.multistatus?.response[0]?.propstat?.prop["calendar-availability"];return r?function(t){const e=nt.parse(t),n=new nt.Component(e),r=n.getFirstSubcomponent("vavailability");let i;const a=n.getFirstSubcomponent("vtimezone");a&&(i=a.getFirstProperty("tzid").getFirstValue());const s=r.getAllSubcomponents("available"),o={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]};return s.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=>{o[t].push({start:e.getTime()/1e3,end:n.getTime()/1e3})})):bh.warn("rrule not supported",{rrule:r.toICALString()})})),{slots:o,timezoneId:i}}(r):void 0}();if(t){const{slots:e,timezoneId:n}=t;this.slots=e,n&&(this.timezone=n),Nh.info("availability loaded",this.slots,this.timezoneId)}else Nh.info("no availability is set"),this.slots={MO:[],TU:[],WE:[],TH:[],FR:[],SA:[],SU:[]}}catch(e){Nh.error("could not load existing availability",e),(0,m.x2)(t("dav","Failed to load availability"))}finally{this.loading=!1}},methods:{async save(){try{this.saving=!0,await async function(t,e){const n=function(t,e){const n=new k.Component("vcalendar");n.addPropertyWithValue("prodid","Nextcloud DAV app");const r=K(e);if(r){const t=new k.Component(k.parse(r));n.addSubcomponent(t)}else{const t=new k.Component("vtimezone");t.addPropertyWithValue("tzid",e),n.addSubcomponent(t)}const i=new k.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,s=n.map((t=>t.day)).filter(((t,e,n)=>n.indexOf(t)===e)),o=new k.Component("available");return o.addPropertyWithValue("dtstart",k.Time.fromJSDate(new Date(1e3*r),!1)).setParameter("tzid",e),o.addPropertyWithValue("dtend",k.Time.fromJSDate(new Date(1e3*i),!1)).setParameter("tzid",e),o.addPropertyWithValue("uid",ut()),o.addPropertyWithValue("rrule",{freq:"WEEKLY",byday:s}),o})).map(i.addSubcomponent.bind(i)),n.addSubcomponent(i),n.toString()}([...Object.keys(t).flatMap((e=>t[e].map((t=>({...t,day:e})))))],e);xh.debug("New availability ical created",{vavailability:n});const r=Oh("calendars");await r.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">${n}</x1:calendar-availability>\n\t\t\t\t</x0:prop>\n\t\t\t </x0:set>\n\t\t\t</x0:propertyupdate>`})}(this.slots,this.timezone),this.automated?await async function(){return await f.Z.post((0,d.generateOcsUrl)("/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:"dav",configKey:"user_status_automation"}),{configValue:"yes"})}():await async function(){return await f.Z.delete((0,d.generateOcsUrl)("/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}",{appId:"dav",configKey:"user_status_automation"}))}(),(0,m.s$)(t("dav","Saved availability"))}catch(e){Nh.error("could not save availability",e),(0,m.x2)(t("dav","Failed to save availability"))}finally{this.saving=!1}}}},Mh=Uh;var Lh=r(43842),Ph={};Ph.styleTagTransform=x(),Ph.setAttributes=_(),Ph.insert=b().bind(null,"head"),Ph.domAPI=A(),Ph.insertStyleElement=C(),g()(Lh.Z,Ph),Lh.Z&&Lh.Z.locals&&Lh.Z.locals;var Yh=(0,N.Z)(Mh,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"time-zone"},[e("label",{staticClass:"time-zone__heading",attrs:{for:`vs${t.timeZonePickerId}__combobox`}},[t._v("\n\t\t\t"+t._s(t.$t("dav","Time zone:"))+"\n\t\t")]),t._v(" "),e("span",{staticClass:"time-zone-text"},[e("NcTimezonePicker",{attrs:{uid:t.timeZonePickerId},model:{value:t.timezone,callback:function(e){t.timezone=e},expression:"timezone"}})],1)]),t._v(" "),e("CalendarAvailability",{attrs:{slots:t.slots,loading:t.loading,"l10n-to":t.$t("dav","to"),"l10n-delete-slot":t.$t("dav","Delete slot"),"l10n-empty-day":t.$t("dav","No working hours set"),"l10n-add-slot":t.$t("dav","Add slot"),"l10n-monday":t.$t("dav","Monday"),"l10n-tuesday":t.$t("dav","Tuesday"),"l10n-wednesday":t.$t("dav","Wednesday"),"l10n-thursday":t.$t("dav","Thursday"),"l10n-friday":t.$t("dav","Friday"),"l10n-saturday":t.$t("dav","Saturday"),"l10n-sunday":t.$t("dav","Sunday")},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,"65b5061b",null);const kh=Yh.exports,Rh={name:"Availability",components:{NcSettingsSection:s.Z,AbsenceForm:M,AvailabilityForm:kh},data:()=>({hideAbsenceSettings:(0,p.j)("dav","hide_absence_settings",!0)})};var Bh=(0,N.Z)(Rh,(function(){var t=this,e=t._self._c;return e("div",[e("NcSettingsSection",{attrs:{name:t.$t("dav","Availability"),description:t.$t("dav","If you configure your working hours, other users will see when you are out of office when they book a meeting.")}},[e("AvailabilityForm")],1),t._v(" "),t.hideAbsenceSettings?t._e():e("NcSettingsSection",{attrs:{name:t.$t("dav","Absence"),description:t.$t("dav","Configure your next absence period.")}},[e("AbsenceForm")],1)],1)}),[],!1,null,null,null);const jh=Bh.exports;i.default.prototype.$t=a.Iu,new(i.default.extend(jh))({}).$mount("#settings-personal-availability")},49980:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(87537),i=n.n(r),a=n(23645),s=n.n(a)()(i());s.push([t.id,".absence[data-v-5a6b66ca]{display:flex;flex-direction:column;gap:5px}.absence__dates[data-v-5a6b66ca]{display:flex;gap:10px;width:100%}.absence__dates__picker[data-v-5a6b66ca]{flex:1 auto}.absence__dates__picker[data-v-5a6b66ca] .native-datetime-picker--input{margin-bottom:0}.absence__buttons[data-v-5a6b66ca]{display:flex;gap:5px}","",{version:3,sources:["webpack://./apps/dav/src/components/AbsenceForm.vue"],names:[],mappings:"AACA,0BACC,YAAA,CACA,qBAAA,CACA,OAAA,CAEA,iCACC,YAAA,CACA,QAAA,CACA,UAAA,CAEA,yCACC,WAAA,CAEA,wEACC,eAAA,CAKH,mCACC,YAAA,CACA,OAAA",sourcesContent:["\n.absence {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 5px;\n\n\t&__dates {\n\t\tdisplay: flex;\n\t\tgap: 10px;\n\t\twidth: 100%;\n\n\t\t&__picker {\n\t\t\tflex: 1 auto;\n\n\t\t\t::v-deep .native-datetime-picker--input {\n\t\t\t\tmargin-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__buttons {\n\t\tdisplay: flex;\n\t\tgap: 5px;\n\t}\n}\n"],sourceRoot:""}]);const o=s},43842:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(87537),i=n.n(r),a=n(23645),s=n.n(a)()(i());s.push([t.id,"[data-v-65b5061b] .availability-day{padding:0 10px 0 10px;position:absolute}[data-v-65b5061b] .availability-slots{display:flex;white-space:normal}[data-v-65b5061b] .availability-slot{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}[data-v-65b5061b] .availability-slot-group{display:flex;flex-direction:column}[data-v-65b5061b] .mx-input-wrapper{width:85px}[data-v-65b5061b] .mx-datepicker{width:97px}[data-v-65b5061b] .multiselect{border:1px solid var(--color-border-dark);width:120px}.time-zone[data-v-65b5061b]{padding:32px 12px 12px 0;display:flex;flex-wrap:wrap}.time-zone__heading[data-v-65b5061b]{margin-right:calc(var(--default-grid-baseline)*2);line-height:var(--default-clickable-area);font-weight:bold}.grid-table[data-v-65b5061b]{display:grid;margin-bottom:32px;grid-column-gap:24px;grid-row-gap:6px;grid-template-columns:min-content auto min-content;max-width:500px}.button[data-v-65b5061b]{align-self:flex-end}[data-v-65b5061b] .label-weekday{position:relative;display:inline-flex;padding-top:4px;align-self:center}[data-v-65b5061b] .delete-slot{padding-bottom:unset}[data-v-65b5061b] .add-another{align-self:center}.to-text[data-v-65b5061b]{padding-right:12px}.empty-content[data-v-65b5061b]{color:var(--color-text-lighter);margin-top:4px;align-self:center}","",{version:3,sources:["webpack://./apps/dav/src/components/AvailabilityForm.vue"],names:[],mappings:"AACA,oCACC,qBAAA,CACA,iBAAA,CAED,sCACC,YAAA,CACA,kBAAA,CAED,qCACC,YAAA,CACA,kBAAA,CACA,kBAAA,CACA,cAAA,CAED,2CACC,YAAA,CACA,qBAAA,CAED,oCACC,UAAA,CAED,iCACC,UAAA,CAED,+BACC,yCAAA,CACA,WAAA,CAED,4BACC,wBAAA,CACG,YAAA,CACA,cAAA,CAEH,qCACC,iDAAA,CACA,yCAAA,CACA,gBAAA,CAGF,6BACC,YAAA,CACA,kBAAA,CACA,oBAAA,CACA,gBAAA,CACA,kDAAA,CACA,eAAA,CAED,yBACC,mBAAA,CAED,iCACC,iBAAA,CACA,mBAAA,CACA,eAAA,CACA,iBAAA,CAGD,+BACC,oBAAA,CAGD,+BACC,iBAAA,CAGD,0BACC,kBAAA,CAGD,gCACC,+BAAA,CACA,cAAA,CACA,iBAAA",sourcesContent:["\n:deep(.availability-day) {\n\tpadding: 0 10px 0 10px;\n\tposition: absolute;\n}\n:deep(.availability-slots) {\n\tdisplay: flex;\n\twhite-space: normal;\n}\n:deep(.availability-slot) {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\tflex-wrap: wrap;\n}\n:deep(.availability-slot-group) {\n\tdisplay: flex;\n\tflex-direction: column;\n}\n:deep(.mx-input-wrapper) {\n\twidth: 85px;\n}\n:deep(.mx-datepicker) {\n\twidth: 97px;\n}\n:deep(.multiselect) {\n\tborder: 1px solid var(--color-border-dark);\n\twidth: 120px;\n}\n.time-zone {\n\tpadding: 32px 12px 12px 0;\n display: flex;\n flex-wrap: wrap;\n\n\t&__heading {\n\t\tmargin-right: calc(var(--default-grid-baseline) * 2);\n\t\tline-height: var(--default-clickable-area);\n\t\tfont-weight: bold;\n\t}\n}\n.grid-table {\n\tdisplay: grid;\n\tmargin-bottom: 32px;\n\tgrid-column-gap: 24px;\n\tgrid-row-gap: 6px;\n\tgrid-template-columns: min-content auto min-content;\n\tmax-width: 500px;\n}\n.button {\n\talign-self: flex-end;\n}\n:deep(.label-weekday) {\n\tposition: relative;\n\tdisplay: inline-flex;\n\tpadding-top: 4px;\n\talign-self: center;\n}\n\n:deep(.delete-slot) {\n\tpadding-bottom: unset;\n}\n\n:deep(.add-another) {\n\talign-self: center;\n}\n\n.to-text {\n\tpadding-right: 12px;\n}\n\n.empty-content {\n\tcolor: var(--color-text-lighter);\n\tmargin-top: 4px;\n\talign-self: center;\n}\n"],sourceRoot:""}]);const o=s},96425:(t,e,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:(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:(t,e,n)=>{var r=n(62488),i=n(37285);t.exports=function t(e,n,a,s,o){var u=-1,l=e.length;for(a||(a=i),o||(o=[]);++u<l;){var c=e[u];n>0&&a(c)?n>1?t(c,n-1,a,s,o):r(o,c):s||(o[o.length]=c)}return o}},9435:t=>{t.exports=function(){}},28045:(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:t=>{var e=Math.max;t.exports=function(t,n,r,i){for(var a=-1,s=t.length,o=r.length,u=-1,l=n.length,c=e(s-o,0),d=Array(l+c),f=!i;++u<l;)d[u]=n[u];for(;++a<o;)(f||a<s)&&(d[r[a]]=t[a]);for(;c--;)d[u++]=t[a++];return d}},14054:t=>{var e=Math.max;t.exports=function(t,n,r,i){for(var a=-1,s=t.length,o=-1,u=r.length,l=-1,c=n.length,d=e(s-u,0),f=Array(d+c),h=!i;++a<d;)f[a]=t[a];for(var p=a;++l<c;)f[p+l]=n[l];for(;++o<u;)(h||a<s)&&(f[p+r[o]]=t[a++]);return f}},97991:t=>{t.exports=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}},22402:(t,e,n)=>{var r=n(71774),i=n(55639);t.exports=function(t,e,n){var a=1&e,s=r(t);return function e(){return(this&&this!==i&&this instanceof e?s:t).apply(a?n:this,arguments)}}},71774:(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:(t,e,n)=>{var r=n(96874),i=n(71774),a=n(86935),s=n(94487),o=n(20893),u=n(46460),l=n(55639);t.exports=function(t,e,n){var c=i(t);return function i(){for(var d=arguments.length,f=Array(d),h=d,p=o(i);h--;)f[h]=arguments[h];var m=d<3&&f[0]!==p&&f[d-1]!==p?[]:u(f,p);return(d-=m.length)<n?s(t,e,a,i.placeholder,void 0,f,m,void 0,void 0,n-d):r(this&&this!==l&&this instanceof i?c:t,this,f)}}},86935:(t,e,n)=>{var r=n(52157),i=n(14054),a=n(97991),s=n(71774),o=n(94487),u=n(20893),l=n(90451),c=n(46460),d=n(55639);t.exports=function t(e,n,f,h,p,m,y,T,g,v){var A=128&n,S=1&n,b=2&n,E=24&n,_=512&n,D=b?void 0:s(e);return function C(){for(var O=arguments.length,x=Array(O),I=O;I--;)x[I]=arguments[I];if(E)var w=u(C),N=a(x,w);if(h&&(x=r(x,h,p,E)),m&&(x=i(x,m,y,E)),O-=N,E&&O<v){var U=c(x,w);return o(e,n,t,C.placeholder,f,x,U,T,g,v-O)}var M=S?f:this,L=b?M[e]:e;return O=x.length,T?x=l(x,T):_&&O>1&&x.reverse(),A&&g<O&&(x.length=g),this&&this!==d&&this instanceof C&&(L=D||s(L)),L.apply(M,x)}}},84375:(t,e,n)=>{var r=n(96874),i=n(71774),a=n(55639);t.exports=function(t,e,n,s){var o=1&e,u=i(t);return function e(){for(var i=-1,l=arguments.length,c=-1,d=s.length,f=Array(d+l),h=this&&this!==a&&this instanceof e?u:t;++c<d;)f[c]=s[c];for(;l--;)f[c++]=arguments[++i];return r(h,o?n:this,f)}}},94487:(t,e,n)=>{var r=n(86528),i=n(258),a=n(69255);t.exports=function(t,e,n,s,o,u,l,c,d,f){var h=8&e;e|=h?32:64,4&(e&=~(h?64:32))||(e&=-4);var p=[t,e,o,h?u:void 0,h?l:void 0,h?void 0:u,h?void 0:l,c,d,f],m=n.apply(void 0,p);return r(t)&&i(m,p),m.placeholder=s,a(m,t,e)}},97727:(t,e,n)=>{var r=n(28045),i=n(22402),a=n(46347),s=n(86935),o=n(84375),u=n(66833),l=n(63833),c=n(258),d=n(69255),f=n(40554),h=Math.max;t.exports=function(t,e,n,p,m,y,T,g){var v=2&e;if(!v&&"function"!=typeof t)throw new TypeError("Expected a function");var A=p?p.length:0;if(A||(e&=-97,p=m=void 0),T=void 0===T?T:h(f(T),0),g=void 0===g?g:f(g),A-=m?m.length:0,64&e){var S=p,b=m;p=m=void 0}var E=v?void 0:u(t),_=[t,e,n,p,m,S,b,y,T,g];if(E&&l(_,E),t=_[0],e=_[1],n=_[2],p=_[3],m=_[4],!(g=_[9]=void 0===_[9]?v?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?s.apply(void 0,_):o(t,e,n,p);else var D=i(t,e,n);return d((E?r:c)(D,_),t,e)}},99021:(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:(t,e,n)=>{var r=n(89250),i=n(50308),a=r?function(t){return r.get(t)}:i;t.exports=a},97658:(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 s=n[a],o=s.func;if(null==o||o==t)return s.name}return e}},20893:t=>{t.exports=function(t){return t.placeholder}},58775:t=>{var e=/\{\n\/\* \[wrapped with (.+)\] \*/,n=/,? & /;t.exports=function(t){var r=t.match(e);return r?r[1].split(n):[]}},83112: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:(t,e,n)=>{var r=n(62705),i=n(35694),a=n(1469),s=r?r.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(s&&t&&t[s])}},86528:(t,e,n)=>{var r=n(96425),i=n(66833),a=n(97658),s=n(8111);t.exports=function(t){var e=a(t),n=s[e];if("function"!=typeof n||!(e in r.prototype))return!1;if(t===n)return!0;var o=i(n);return!!o&&t===o[0]}},63833:(t,e,n)=>{var r=n(52157),i=n(14054),a=n(46460),s="__lodash_placeholder__",o=Math.min;t.exports=function(t,e){var n=t[1],u=e[1],l=n|u,c=l<131,d=128==u&&8==n||128==u&&256==n&&t[7].length<=e[8]||384==u&&e[7].length<=e[8]&&8==n;if(!c&&!d)return t;1&u&&(t[2]=e[2],l|=1&n?0:4);var f=e[3];if(f){var h=t[3];t[3]=h?r(h,f,e[4]):f,t[4]=h?a(t[3],s):e[4]}return(f=e[5])&&(h=t[5],t[5]=h?i(h,f,e[6]):f,t[6]=h?a(t[5],s):e[6]),(f=e[7])&&(t[7]=f),128&u&&(t[8]=null==t[8]?e[8]:o(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=l,t}},89250:(t,e,n)=>{var r=n(70577),i=r&&new r;t.exports=i},52060:t=>{t.exports={}},90451:(t,e,n)=>{var r=n(278),i=n(65776),a=Math.min;t.exports=function(t,e){for(var n=t.length,s=a(e.length,n),o=r(t);s--;){var u=e[s];t[s]=i(u,n)?o[u]:void 0}return t}},46460:t=>{var e="__lodash_placeholder__";t.exports=function(t,n){for(var r=-1,i=t.length,a=0,s=[];++r<i;){var o=t[r];o!==n&&o!==e||(t[r]=e,s[a++]=r)}return s}},258:(t,e,n)=>{var r=n(28045),i=n(21275)(r);t.exports=i},69255:(t,e,n)=>{var r=n(58775),i=n(83112),a=n(30061),s=n(87241);t.exports=function(t,e,n){var o=e+"";return a(t,i(o,s(r(o),n)))}},87241:(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:(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:(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:(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:(t,e,n)=>{var r=n(21078);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},84599:(t,e,n)=>{var r=n(68836),i=n(69306),a=Array.prototype.push;function s(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function o(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,l,c){var d="function"==typeof n,f=n===Object(n);if(f&&(c=l,l=n,n=void 0),null==l)throw new TypeError;c||(c={});var h={cap:!("cap"in c)||c.cap,curry:!("curry"in c)||c.curry,fixed:!("fixed"in c)||c.fixed,immutable:!("immutable"in c)||c.immutable,rearg:!("rearg"in c)||c.rearg},p=d?l:i,m="curry"in c&&c.curry,y="fixed"in c&&c.fixed,T="rearg"in c&&c.rearg,g=d?l.runInContext():void 0,v=d?l:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},A=v.ary,S=v.assign,b=v.clone,E=v.curry,_=v.forEach,D=v.isArray,C=v.isError,O=v.isFunction,x=v.isWeakMap,I=v.keys,w=v.rearg,N=v.toInteger,U=v.toPath,M=I(r.aryMethod),L={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(o(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[1],n=t(arguments[0],e),r=n.length;return h.cap&&"number"==typeof e?(e=e>2?e-2:1,r&&r<=e?n:s(n,e)):n}},mixin:function(t){return function(e){var n=this;if(!O(n))return t(n,Object(e));var r=[];return _(I(e),(function(t){O(e[t])&&r.push([t,n.prototype[t]])})),t(n,Object(e)),_(r,(function(t){var e=t[1];O(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),c)}}};function P(t,e,n){if(h.fixed&&(y||!r.skipFixed[t])){var i=r.methodSpread[t],s=i&&i.start;return void 0===s?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 s=i[e],o=i.slice(0,e);return s&&a.apply(o,s),e!=r&&a.apply(o,i.slice(e+1)),t.apply(this,o)}}(e,s)}return e}function Y(t,e,n){return h.rearg&&n>1&&(T||!r.skipRearg[t])?w(e,r.methodRearg[t]||r.aryRearg[n]):e}function k(t,e){for(var n=-1,r=(e=U(e)).length,i=r-1,a=b(Object(t)),s=a;null!=s&&++n<r;){var o=e[n],u=s[o];null==u||O(u)||C(u)||x(u)||(s[o]=b(n==i?u:Object(u))),s=s[o]}return a}function R(e,n){var i=r.aliasToReal[e]||e,a=r.remap[i]||i,s=c;return function(e){var r=d?g:v,o=d?g[a]:n,u=S(S({},s),e);return t(r,i,o,u)}}function B(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 j(t,e,n){var i,a=r.aliasToReal[t]||t,l=e,c=L[a];return c?l=c(e):h.immutable&&(r.mutate.array[a]?l=u(e,o):r.mutate.object[a]?l=u(e,function(t){return function(e){return t({},e)}}(e)):r.mutate.set[a]&&(l=u(e,k))),_(M,(function(t){return _(r.aryMethod[t],(function(e){if(a==e){var n=r.methodSpread[a],o=n&&n.afterRearg;return i=o?P(a,Y(a,l,t),t):Y(a,P(a,l,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 B(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)}}(w(s(t,n),e),n)}))}(e,n);var i=!d&&r.iterateeAry[t];if(i)return function(t,e){return B(t,(function(t){return"function"==typeof t?s(t,e):t}))}(e,i)}return e}(a,i),t),!1}})),!i})),i||(i=l),i==e&&(i=m?E(i,1):function(){return e.apply(this,arguments)}),i.convert=R(a,e),i.placeholder=e.placeholder=n,i}if(!f)return j(n,l,p);var z=l,W=[];return _(M,(function(t){_(r.aryMethod[t],(function(t){var e=z[r.remap[t]||t];e&&W.push([t,j(t,e,z)])}))})),_(I(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=R(t,e),W.push([t,e])}})),_(W,(function(t){z[t[0]]=t[1]})),z.convert=function(t){return z.runInContext.convert(t)(void 0)},z.placeholder=z,_(I(z),(function(t){_(r.realToAlias[t]||[],(function(e){z[e]=z[t]}))})),z}},68836:(t,e)=>{e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,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:(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:(t,e,n)=>{var r=n(84599),i=n(4269);t.exports=function(t,e,n){return r(i,t,e,n)}},56580:(t,e,n)=>{var r=n(92822)("memoize",n(88306));r.placeholder=n(69306),t.exports=r},69306:t=>{t.exports={}},64647:(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:(t,e,n)=>{var r=n(64160),i=n(37005);t.exports=function(t){return i(t)&&"[object WeakMap]"==r(t)}},72594:(t,e,n)=>{var r=n(85990),i=n(67206);t.exports=function(t){return i("function"==typeof t?t:r(t,1))}},4963:(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:(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:(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:(t,e,n)=>{var r=n(29932),i=n(278),a=n(1469),s=n(33448),o=n(55514),u=n(40327),l=n(79833);t.exports=function(t){return a(t)?r(t,u):s(t)?[t]:i(o(l(t)))}},8111:(t,e,n)=>{var r=n(96425),i=n(7548),a=n(9435),s=n(1469),o=n(37005),u=n(21913),l=Object.prototype.hasOwnProperty;function c(t){if(o(t)&&!s(t)&&!(t instanceof r)){if(t instanceof i)return t;if(l.call(t,"__wrapped__"))return u(t)}return new i(t)}c.prototype=a.prototype,c.prototype.constructor=c,t.exports=c},42761:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg=="},87210:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K"},94659:t=>{"use strict";t.exports="data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg=="},39896:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE1LjQgMTYuNkwxMC44IDEybDQuNi00LjZMMTQgNmwtNiA2IDYgNiAxLjQtMS40eiIvPjwvc3ZnPg=="},76899:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTE4LjQgNy40TDE3IDZsLTYgNiA2IDYgMS40LTEuNC00LjYtNC42IDQuNi00LjZtLTYgMEwxMSA2bC02IDYgNiA2IDEuNC0xLjRMNy44IDEybDQuNi00LjZ6Ii8+PC9zdmc+"},88931:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTUuNiA3LjRMNyA2bDYgNi02IDYtMS40LTEuNCA0LjYtNC42LTQuNi00LjZtNiAwTDEzIDZsNiA2LTYgNi0xLjQtMS40IDQuNi00LjYtNC42LTQuNnoiLz48L3N2Zz4="},16556:t=>{"use strict";t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzIyMiI+PHBhdGggZD0iTTguNiAxNi42bDQuNi00LjYtNC42LTQuNkwxMCA2bDYgNi02IDYtMS40LTEuNHoiLz48L3N2Zz4="},46318:(t,e,n)=>{"use strict";n.d(e,{NcAutoCompleteResult:()=>T,default:()=>S}),n(29774);var r=n(22663),i=n(79753),a=n(76311),s=n(66238),o=(n(79845),n(93911)),u=n(21617),l=(n(93664),n(22175),n(99114),n(92774),n(20435),n(49368),n(4072),n(57274),n(6136),n(69183),n(69254),n(44893),n(65507)),c=n(20296),d=n(36683),f=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)=>(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 T=(0,a.n)(p,m,y,!1,null,"25cf09d8",null,null).exports,g={name:"NcRichContenteditable",directives:{tooltip:f.VTooltip},mixins:[r.r],props:{value:{type:String,default:"",required:!0},placeholder:{type:String,default:(0,s.t)("Write a message …")},autoComplete:{type:Function,default:()=>[]},menuContainer:{type:Element,default:()=>document.body},multiline:{type:Boolean,default:!1},contenteditable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},maxlength:{type:Number,default:null},emojiAutocomplete:{type:Boolean,default:!0},linkAutocomplete:{type:Boolean,default:!0}},emits:["submit","paste","update:value","smart-picker-submit"],data(){return{textSmiles:[],tribute:null,autocompleteOptions:{allowSpaces:!0,fillAttr:"id",lookup:t=>`${t.id} ${t.title}`,menuContainer:this.menuContainer,menuItemTemplate:t=>this.renderComponentHtml(t.original,T),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,s.t)("No emoji found"),selectTemplate:t=>this.textSmiles.includes(t.original)?t.original:((0,o.R)(t.original),t.original.native),values:(t,e)=>{const n=(0,o.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,s.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:()=>!!navigator.userAgent.match(/firefox/i),isOverMaxlength(){return!(this.isEmptyValue||!this.maxlength)&&(0,d.default)(this.localValue)>this.maxlength},tooltipString(){return this.isOverMaxlength?{content:(0,s.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 l.default(this.autocompleteOptions),this.autocompleteTribute.attach(this.$el),this.emojiAutocomplete&&(this.emojiTribute=new l.default(this.emojiOptions),this.emojiTribute.attach(this.$el)),this.linkAutocomplete&&(this.linkTribute=new l.default(this.linkOptions),this.linkTribute.attach(this.$el)),this.updateContent(this.value),this.$refs.contenteditable.contentEditable=this.canEdit},beforeDestroy(){this.autocompleteTribute&&this.autocompleteTribute.detach(this.$el),this.emojiTribute&&this.emojiTribute.detach(this.$el),this.linkTribute&&this.linkTribute.detach(this.$el)},methods:{focus(){this.$refs.contenteditable.focus()},getLink(t){return(0,u.j)(t.original.id).then((t=>{const e=document.getElementById("tmp-smart-picker-result-node"),n={result:t,insertText:!0};if(this.$emit("smart-picker-submit",n),n.insertText){const n=document.createTextNode(t);e.replaceWith(n),this.setCursorAfter(n),this.updateValue(this.$refs.contenteditable.innerHTML)}else e.remove()})).catch((t=>{h.debug("Smart picker promise rejected:",t);const e=document.getElementById("tmp-smart-picker-result-node");this.setCursorAfter(e),e.remove()})),'<span id="tmp-smart-picker-result-node"></span>'},setCursorAfter(t){const e=document.createRange();e.setEndAfter(t),e.collapse();const 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:c((async function(t,e){this.autoComplete(t,e)}),100),onKeyUp(t){t.stopImmediatePropagation()}}};var v=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,v,A,!1,null,"599f92d5",null,null).exports},58397:(t,e,n)=>{"use strict";n.d(e,{N:()=>x});var r=n(21617),i=n(93664),a=n(79753),s=n(76311),o=n(21623),u=n(61170),l=n(90630),c=n(42977),d=n(81049),f=n(25739),h=n(39685),p=n(66875),m=n(72090),y=n(25108);const T=/(\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,v={name:"NcReferenceList",components:{NcReferenceWidget:r.N},props:{text:{type:String,default:""},referenceData:{type:Object,default:null},limit:{type:Number,default:1}},data:()=>({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(T).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(T).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,s.n)(v,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,o.Vn)(n,(t=>"text"===t.type),((t,e,n)=>{let r=D(t.value);return r=r.map((t=>"string"==typeof t?(0,l.u)("text",t):(0,l.u)("link",{url:t.props.href},[(0,l.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],s=t.substring(r,e.index+e[1].length);" "===a[0]&&(s+=a[0],a=a.substring(1).trim());const o=a[a.length-1];("."===o||","===o||";"===o||"("===e[0][0]&&")"===o)&&(a=a.substring(0,a.length-1),i=o),n.push(s),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,o.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,l.u)("text",t);const[,i]=r;return(0,l.u)("element",{tagName:`#${i}`})}));n.children.splice(e,1,...r)}))}},O={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 s=a[1],o=e.arguments[s];if("object"==typeof o){const{component:e,props:n}=o;return t(e,{props:n,class:"rich-text--component"})}return o?t("span",{class:"rich-text--fallback"},o):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,c.l)().use(d.Z).use(_,{autolink:this.autolink,useMarkdown:this.useMarkdown}).use(f.Z).use(h.Z,{handlers:{component:(t,e)=>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)}},x=(0,s.n)(O,null,null,!1,null,"5f33f45b",null,null).exports},64882:(t,e,n)=>{"use strict";n.d(e,{$U:()=>N.Z,FK:()=>q.Z,Iw:()=>o.Z,Jc:()=>tt.Z,Jh:()=>j.Z,O3:()=>d.Z,P2:()=>M.Z,QG:()=>lt.Z,SL:()=>H.Z,Z9:()=>z.Z,fg:()=>U.Z,h3:()=>ct.Z,rw:()=>L.Z});var r=n(63357),i=n(66236),a=n(34791),s=n(56562),o=n(46187),u=n(80472),l=n(52300),c=n(86653),d=n(51103),f=n(68763),h=n(41748),p=n(94162),m=n(67397),y=n(27657),T=n(2047),g=n(6378),v=n(82002),A=n(89998),S=n(28505),b=n(36065),E=n(96315),_=n(66845),D=n(87875),C=n(35273),O=n(34739),x=n(55188),I=n(98445),w=n(9261),N=n(36402),U=n(49231),M=n(57274),L=n(19642),P=n(37776),Y=n(73743),k=n(93182),R=n(89241),B=n(96226),j=n(97947),z=n(2623),W=n(37008),F=n(93757),Z=n(6318),V=n(78573),H=n(22175),$=n(93428),G=n(93815),K=n(40873),q=n(64865),X=n(48741),J=n(88175),Q=n(20435),tt=n(6136),et=n(6156),nt=n(16972),rt=n(34246),it=n(34854),at=n(42213),st=n(22663),ot=n(46318),ut=n(58397),lt=(n(21617),n(93664),n(79753),n(99114)),ct=(n(66238),n(92774),n(49368)),dt=(n(4072),n(69183),n(69254),n(44893),n(74911)),ft=n(35380),ht=n(56857),pt=n(67912),mt=n(90436),yt=n(13888),Tt=n(16024),gt=n(64722),vt=(n(93911),n(85302),n(90318)),At=n(17593),St=(n(79845),n(84722),n(76692),n(40946),n(73045));r.Z,i.Z,a.Z,s.Z,o.Z,u.Z,l.Z,c.Z,f.Z,h.Z,p.Z,d.Z,m.Z,y.Z,T.Z,g.Z,v.Z,A.Z,S.Z,b.Z,E.Z,_.Z,D.Z,C.Z,O.Z,x.Z,I.Z,ot.NcAutoCompleteResult,w.N,N.Z,U.Z,M.Z,L.Z,P.Z,Y.Z,k.Z,R.Z,B.Z,j.Z,z.Z,W.Z,F.Z,Z.Z,V.Z,H.Z,$.Z,G.Z,K.N,q.Z,X.Z,J.Z,Q.Z,st.N,tt.Z,et.Z,nt.Z,rt.Z,it.Z,at.Z,ot.default,ut.N,dt.Z,lt.Z,ft.Z,ht.Z,pt.Z,mt.N,gt.Z,ct.Z,yt.Z,Tt.Z,Symbol.toStringTag,vt.X,At.X,St.VTooltip,Symbol.toStringTag}},a={};function s(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,s),n.loaded=!0,n.exports}s.m=i,e=[],s.O=(t,n,r,i)=>{if(!n){var a=1/0;for(c=0;c<e.length;c++){n=e[c][0],r=e[c][1],i=e[c][2];for(var o=!0,u=0;u<n.length;u++)(!1&i||a>=i)&&Object.keys(s.O).every((t=>s.O[t](n[u])))?n.splice(u--,1):(o=!1,i<a&&(a=i));if(o){e.splice(c--,1);var l=r();void 0!==l&&(t=l)}}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,r,i]},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.f={},s.e=t=>Promise.all(Object.keys(s.f).reduce(((e,n)=>(s.f[n](t,e),e)),[])),s.u=t=>t+"-"+t+".js?v="+{2250:"ef765e9cb8820a722f6e",2857:"9276a1d7db3dd002d379"}[t],s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n={},r="nextcloud:",s.l=(t,e,i,a)=>{if(n[t])n[t].push(e);else{var o,u;if(void 0!==i)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var d=l[c];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==r+i){o=d;break}}o||(u=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-webpack",r+i),o.src=t),n[t]=[e];var f=(e,r)=>{o.onerror=o.onload=null,clearTimeout(h);var i=n[t];if(delete n[t],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach((t=>t(r))),e)return e(r)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),u&&document.head.appendChild(o)}},s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),s.j=3347,(()=>{var t;s.g.importScripts&&(t=s.g.location+"");var e=s.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var 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(/\/[^\/]+$/,"/"),s.p=t})(),(()=>{s.b=document.baseURI||self.location.href;var t={3347:0,6318:0};s.f.j=(e,n)=>{var r=s.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(((n,i)=>r=t[e]=[n,i]));n.push(r[2]=i);var a=s.p+s.u(e),o=new Error;s.l(a,(n=>{if(s.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;o.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",o.name="ChunkLoadError",o.type=i,o.request=a,r[1](o)}}),"chunk-"+e,e)}},s.O.j=e=>0===t[e];var e=(e,n)=>{var r,i,a=n[0],o=n[1],u=n[2],l=0;if(a.some((e=>0!==t[e]))){for(r in o)s.o(o,r)&&(s.m[r]=o[r]);if(u)var c=u(s)}for(e&&e(n);l<a.length;l++)i=a[l],s.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return s.O(c)},n=self.webpackChunknextcloud=self.webpackChunknextcloud||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),s.nc=void 0;var o=s.O(void 0,[7874],(()=>s(76970)));o=s.O(o)})(); +//# sourceMappingURL=dav-settings-personal-availability.js.map?v=4476702f7744991dbfb8
\ No newline at end of file |