diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2022-10-15 08:21:04 +0000 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-10-17 09:01:58 +0000 |
commit | 9a4cd5bad97e6191ee41e12b7596bed64813eb1f (patch) | |
tree | b7fb99a9f23e109bef70e1a81cc2744fc84925da /js/photos-public.js | |
parent | 665c6ad72e8c063708adb692ff384b160615b78c (diff) |
Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/core) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.
Updates `vue` from 2.7.11 to 2.7.13
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits)
Updates `vue-template-compiler` from 2.7.11 to 2.7.13
- [Release notes](https://github.com/vuejs/vue/releases)
- [Changelog](https://github.com/vuejs/vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue/compare/v2.7.11...v2.7.13)
---
updated-dependencies:
- dependency-name: vue
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'js/photos-public.js')
-rw-r--r-- | js/photos-public.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/photos-public.js b/js/photos-public.js index 04c67e4d..1c40dfc1 100644 --- a/js/photos-public.js +++ b/js/photos-public.js @@ -1,3 +1,3 @@ /*! For license information please see photos-public.js.LICENSE.txt */ -(()=>{var e,n,r={45994:(e,t,n)=>{"use strict";n.d(t,{ts:()=>m,IH:()=>u,_S:()=>l});var r=n(78595),a=n(25108);const i=document.getElementsByTagName("head")[0];let o=i?i.getAttribute("data-requesttoken"):null;const s=[];function u(){return o}function l(e){s.push(e)}(0,r.Ld)("csrf-token-update",(e=>{o=e.token,s.forEach((t=>{try{t(e.token)}catch(e){a.error("error updating CSRF token observer",e)}}))}));const c=(e,t)=>e?e.getAttribute(t):null,d=document.getElementsByTagName("head")[0],f=c(d,"data-user"),h=c(d,"data-user-displayname"),p="undefined"!=typeof OC&&OC.isUserAdmin();function m(){return null===f?null:{uid:f,displayName:h,isAdmin:p}}},22200:(e,t,n)=>{"use strict";var r=n(25108);Object.defineProperty(t,"__esModule",{value:!0});var a=n(74854),i=document.getElementsByTagName("head")[0],o=i?i.getAttribute("data-requesttoken"):null,s=[];a.subscribe("csrf-token-update",(function(e){o=e.token,s.forEach((function(t){try{t(e.token)}catch(e){r.error("error updating CSRF token observer",e)}}))}));var u=function(e,t){return e?e.getAttribute(t):null},l=document.getElementsByTagName("head")[0],c=u(l,"data-user"),d=u(l,"data-user-displayname"),f="undefined"!=typeof OC&&OC.isUserAdmin();t.getCurrentUser=function(){return null===c?null:{uid:c,displayName:d,isAdmin:f}},t.getRequestToken=function(){return o},t.onRequestTokenUpdate=function(e){s.push(e)}},26937:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(9669),a=n.n(r),i=n(45994),o=n(79753),s=n(25108);const u=Symbol("csrf-retry"),l=Symbol("retryDelay"),c=a().create({headers:{requesttoken:(0,i.IH)()??""}}),d=Object.assign(c,{CancelToken:a().CancelToken,isCancel:a().isCancel});var f;d.interceptors.response.use((e=>e),(f=d,async e=>{const{config:t,response:n,request:{responseURL:r}}=e,{status:a}=n;if(412===a&&"CSRF check failed"===n?.data?.message&&void 0===t[u]){s.warn(`Request to ${r} failed because of a CSRF mismatch. Fetching a new token`);const{data:{token:e}}=await f.get((0,o.generateUrl)("/csrftoken"));return s.debug(`New request token ${e} fetched`),f.defaults.headers.requesttoken=e,f({...t,headers:{...t.headers,requesttoken:e},[u]:!0})}return Promise.reject(e)})),d.interceptors.response.use((e=>e),(e=>async t=>{const{config:n,response:r,request:{responseURL:a}}=t,{status:i,headers:o}=r;if(503===i&&"1"===o["x-nextcloud-maintenance-mode"]&&n.retryIfMaintenanceMode&&(!n[l]||n[l]<=32)){const t=2*(n[l]??1);return s.warn(`Request to ${a} failed because of maintenance mode. Retrying in ${t}s`),await new Promise(((e,n)=>{setTimeout(e,1e3*t)})),e({...n,[l]:t})}return Promise.reject(t)})(d)),(0,i._S)((e=>c.defaults.headers.requesttoken=e))},4820:(e,t,n)=>{"use strict";var r=n(25108),a=n(9669),i=n(22200),o=n(79753);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=s(a),l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)};function c(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var f,h,p=Symbol("csrf-retry"),m=Symbol("retryDelay"),g=u.default.create({headers:{requesttoken:null!==(f=i.getRequestToken())&&void 0!==f?f:""}}),_=Object.assign(g,{CancelToken:u.default.CancelToken,isCancel:u.default.isCancel});_.interceptors.response.use((function(e){return e}),(h=_,function(e){return c(void 0,void 0,void 0,(function(){var t,n,a,i,s,u;return d(this,(function(c){switch(c.label){case 0:return t=e.config,n=e.response,a=e.request.responseURL,412!==n.status||"CSRF check failed"!==(null===(u=null==n?void 0:n.data)||void 0===u?void 0:u.message)||void 0!==t[p]?[3,2]:(r.warn("Request to ".concat(a," failed because of a CSRF mismatch. Fetching a new token")),[4,h.get(o.generateUrl("/csrftoken"))]);case 1:return i=c.sent().data.token,r.debug("New request token ".concat(i," fetched")),h.defaults.headers.requesttoken=i,[2,h(l(l({},t),(s={headers:l(l({},t.headers),{requesttoken:i})},s[p]=!0,s)))];case 2:return[2,Promise.reject(e)]}}))}))})),_.interceptors.response.use((function(e){return e}),function(e){return function(t){return c(void 0,void 0,void 0,(function(){var n,a,i,o,s,u,c,f;return d(this,(function(d){switch(d.label){case 0:return n=t.config,a=t.response,i=t.request.responseURL,o=a.status,s=a.headers,503===o&&"1"===s["x-nextcloud-maintenance-mode"]&&n.retryIfMaintenanceMode&&(!n[m]||n[m]<=32)?(u=2*(null!==(f=n[m])&&void 0!==f?f:1),r.warn("Request to ".concat(i," failed because of maintenance mode. Retrying in ").concat(u,"s")),[4,new Promise((function(e,t){setTimeout(e,1e3*u)}))]):[3,2];case 1:return d.sent(),[2,e(l(l({},n),(c={},c[m]=u,c)))];case 2:return[2,Promise.reject(t)]}}))}))}}(_)),i.onRequestTokenUpdate((function(e){return g.defaults.headers.requesttoken=e})),e.exports=_},62556:(e,t,n)=>{"use strict";n(73292),n(25918),n(38227),n(43584),Object.defineProperty(t,"__esModule",{value:!0}),t.getBuilder=function(e){return new r.default(e)},t.clearAll=function(){[window.sessionStorage,window.localStorage].map((function(e){return o(e)}))},t.clearNonPersistent=function(){[window.sessionStorage,window.localStorage].map((function(e){return o(e,(function(e){return!e.startsWith(a.default.GLOBAL_SCOPE_PERSISTENT)}))}))};var r=i(n(71957)),a=i(n(48971));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){Object.keys(e).filter((function(e){return!t||t(e)})).map(e.removeItem.bind(e))}},48971:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(31013),n(73292),n(25918),n(38227),n(43584),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,"scope",void 0),a(this,"wrapped",void 0),this.scope="".concat(r?e.GLOBAL_SCOPE_PERSISTENT:e.GLOBAL_SCOPE_VOLATILE,"_").concat(btoa(t),"_"),this.wrapped=n}var t,n,i;return t=e,(n=[{key:"scopeKey",value:function(e){return"".concat(this.scope).concat(e)}},{key:"setItem",value:function(e,t){this.wrapped.setItem(this.scopeKey(e),t)}},{key:"getItem",value:function(e){return this.wrapped.getItem(this.scopeKey(e))}},{key:"removeItem",value:function(e){this.wrapped.removeItem(this.scopeKey(e))}},{key:"clear",value:function(){var e=this;Object.keys(this.wrapped).filter((function(t){return t.startsWith(e.scope)})).map(this.wrapped.removeItem.bind(this.wrapped))}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i,a(i,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),a(i,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per")},71957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(48971))&&r.__esModule?r:{default:r};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"appId",void 0),o(this,"persisted",!1),o(this,"clearedOnLogout",!1),this.appId=t}var t,n,r;return t=e,n=[{key:"persist",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.persisted=e,this}},{key:"clearOnLogout",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clearedOnLogout=e,this}},{key:"build",value:function(){return new a.default(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}],n&&i(t.prototype,n),r&&i(t,r),e}();t.default=s},84611:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},20266:(e,t,n)=>{var r=n(2167);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},31524:(e,t,n)=>{var r=n(75775),a=n(1138),i=n(47518),o=function(e){return function(t,n,o){var s,u=r(t),l=a(u.length),c=i(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},99910:(e,t,n)=>{var r=n(3391),a=n(49479),i=n(44937),o=n(1138),s=n(79315),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,d=6==e,f=5==e||d;return function(h,p,m,g){for(var _,A,F=i(h),b=a(F),y=r(p,m,3),T=o(b.length),v=0,D=g||s,E=t?D(h,T):n?D(h,0):void 0;T>v;v++)if((f||v in b)&&(A=y(_=b[v],v,F),e))if(t)E[v]=A;else if(A)switch(e){case 3:return!0;case 5:return _;case 6:return v;case 2:u.call(E,_)}else if(c)return!1;return d?-1:l||c?c:E}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},3919:(e,t,n)=>{var r=n(28590),a=n(81141),i=n(74217),o=a("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},79315:(e,t,n)=>{var r=n(2167),a=n(12075),i=n(81141)("species");e.exports=function(e,t){var n;return a(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!a(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},3391:(e,t,n)=>{var r=n(84611);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},84692:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},20541:(e,t,n)=>{var r=n(45612),a=n(66794),i=n(40647),o=n(19974);e.exports=function(e,t){for(var n=a(t),s=o.f,u=i.f,l=0;l<n.length;l++){var c=n[l];r(e,c)||s(e,c,u(t,c))}}},33769:(e,t,n)=>{var r=n(81141)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},25208:(e,t,n)=>{var r=n(28646),a=n(19974),i=n(82071);e.exports=r?function(e,t,n){return a.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},82071:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},90024:(e,t,n)=>{"use strict";var r=n(4356),a=n(19974),i=n(82071);e.exports=function(e,t,n){var o=r(t);o in e?a.f(e,o,i(0,n)):e[o]=n}},28646:(e,t,n)=>{var r=n(28590);e.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},71871:(e,t,n)=>{var r=n(84586),a=n(2167),i=r.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},29276:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},58615:(e,t,n)=>{var r=n(84586),a=n(40647).f,i=n(25208),o=n(62165),s=n(60312),u=n(20541),l=n(66673);e.exports=function(e,t){var n,c,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in t){if(f=t[c],d=e.noTargetGet?(h=a(n,c))&&h.value:n[c],!l(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),o(n,c,f,e)}}},28590:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},63930:(e,t,n)=>{var r=n(23265),a=n(84586),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},84586:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||Function("return this")()},45612:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},86275:e=>{e.exports={}},24959:(e,t,n)=>{var r=n(28646),a=n(28590),i=n(71871);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},49479:(e,t,n)=>{var r=n(28590),a=n(84692),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i.call(e,""):Object(e)}:Object},24850:(e,t,n)=>{var r=n(39530),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},23042:(e,t,n)=>{var r,a,i,o=n(90533),s=n(84586),u=n(2167),l=n(25208),c=n(45612),d=n(75019),f=n(86275),h=s.WeakMap;if(o){var p=new h,m=p.get,g=p.has,_=p.set;r=function(e,t){return _.call(p,e,t),t},a=function(e){return m.call(p,e)||{}},i=function(e){return g.call(p,e)}}else{var A=d("state");f[A]=!0,r=function(e,t){return l(e,A,t),t},a=function(e){return c(e,A)?e[A]:{}},i=function(e){return c(e,A)}}e.exports={set:r,get:a,has:i,enforce:function(e){return i(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},12075:(e,t,n)=>{var r=n(84692);e.exports=Array.isArray||function(e){return"Array"==r(e)}},66673:(e,t,n)=>{var r=n(28590),a=/#|\.prototype\./,i=function(e,t){var n=s[o(e)];return n==l||n!=u&&("function"==typeof t?r(t):!!t)},o=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},2167:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},21935:e=>{e.exports=!1},35696:(e,t,n)=>{var r=n(2167),a=n(84692),i=n(81141)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},20982:(e,t,n)=>{var r=n(28590);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},90533:(e,t,n)=>{var r=n(84586),a=n(24850),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(a(i))},22651:(e,t,n)=>{var r=n(35696);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},19974:(e,t,n)=>{var r=n(28646),a=n(24959),i=n(20266),o=n(4356),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=o(t,!0),i(n),a)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},40647:(e,t,n)=>{var r=n(28646),a=n(459),i=n(82071),o=n(75775),s=n(4356),u=n(45612),l=n(24959),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=o(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return i(!a.f.call(e,t),e[t])}},28969:(e,t,n)=>{var r=n(62121),a=n(29276).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},80724:(e,t)=>{t.f=Object.getOwnPropertySymbols},62121:(e,t,n)=>{var r=n(45612),a=n(75775),i=n(31524).indexOf,o=n(86275);e.exports=function(e,t){var n,s=a(e),u=0,l=[];for(n in s)!r(o,n)&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},83147:(e,t,n)=>{var r=n(62121),a=n(29276);e.exports=Object.keys||function(e){return r(e,a)}},459:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},66794:(e,t,n)=>{var r=n(63930),a=n(28969),i=n(80724),o=n(20266);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},23265:(e,t,n)=>{var r=n(84586);e.exports=r},62165:(e,t,n)=>{var r=n(84586),a=n(25208),i=n(45612),o=n(60312),s=n(24850),u=n(23042),l=u.get,c=u.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||a(n,"name",t),c(n).source=d.join("string"==typeof t?t:"")),e!==r?(u?!f&&e[t]&&(l=!0):delete e[t],l?e[t]=n:a(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},24063:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},60312:(e,t,n)=>{var r=n(84586),a=n(25208);e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},75019:(e,t,n)=>{var r=n(25484),a=n(9299),i=r("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},39530:(e,t,n)=>{var r=n(84586),a=n(60312),i="__core-js_shared__",o=r[i]||a(i,{});e.exports=o},25484:(e,t,n)=>{var r=n(21935),a=n(39530);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.1",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},47518:(e,t,n)=>{var r=n(33328),a=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):i(n,t)}},75775:(e,t,n)=>{var r=n(49479),a=n(24063);e.exports=function(e){return r(a(e))}},33328:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},1138:(e,t,n)=>{var r=n(33328),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},44937:(e,t,n)=>{var r=n(24063);e.exports=function(e){return Object(r(e))}},4356:(e,t,n)=>{var r=n(2167);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},9299:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},91677:(e,t,n)=>{var r=n(20982);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},68864:(e,t,n)=>{var r=n(63930);e.exports=r("navigator","userAgent")||""},74217:(e,t,n)=>{var r,a,i=n(84586),o=n(68864),s=i.process,u=s&&s.versions,l=u&&u.v8;l?a=(r=l.split("."))[0]+r[1]:o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(a=r[1]),e.exports=a&&+a},81141:(e,t,n)=>{var r=n(84586),a=n(25484),i=n(45612),o=n(9299),s=n(20982),u=n(91677),l=a("wks"),c=r.Symbol,d=u?c:c&&c.withoutSetter||o;e.exports=function(e){return i(l,e)||(s&&i(c,e)?l[e]=c[e]:l[e]=d("Symbol."+e)),l[e]}},31013:(e,t,n)=>{"use strict";var r=n(58615),a=n(28590),i=n(12075),o=n(2167),s=n(44937),u=n(1138),l=n(90024),c=n(79315),d=n(3919),f=n(81141),h=n(74217),p=f("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",_=h>=51||!a((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),A=d("concat"),F=function(e){if(!o(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!_||!A},{concat:function(e){var t,n,r,a,i,o=s(this),d=c(o,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(F(i=-1===t?o:arguments[t])){if(f+(a=u(i.length))>m)throw TypeError(g);for(n=0;n<a;n++,f++)n in i&&l(d,f,i[n])}else{if(f>=m)throw TypeError(g);l(d,f++,i)}return d.length=f,d}})},73292:(e,t,n)=>{"use strict";var r=n(58615),a=n(99910).filter,i=n(28590),o=n(3919)("filter"),s=o&&!i((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!o||!s},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},25918:(e,t,n)=>{"use strict";var r=n(58615),a=n(99910).map,i=n(28590),o=n(3919)("map"),s=o&&!i((function(){[].map.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!o||!s},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},38227:(e,t,n)=>{var r=n(58615),a=n(44937),i=n(83147);r({target:"Object",stat:!0,forced:n(28590)((function(){i(1)}))},{keys:function(e){return i(a(e))}})},43584:(e,t,n)=>{"use strict";var r,a=n(58615),i=n(40647).f,o=n(1138),s=n(22651),u=n(24063),l=n(33769),c=n(21935),d="".startsWith,f=Math.min,h=l("startsWith");a({target:"String",proto:!0,forced:!!(c||h||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var t=String(u(this));s(e);var n=o(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},46296:(e,t,n)=>{"use strict";n.d(t,{ko:()=>_e});var r,a=n(18350),i=n.n(a),o=new Uint8Array(16);function s(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}const u=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const l=function(e){return"string"==typeof e&&u.test(e)};for(var c=[],d=0;d<256;++d)c.push((d+256).toString(16).substr(1));const f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!l(n))throw TypeError("Stringified UUID is invalid");return n};const h=function(e,t,n){var r=(e=e||{}).random||(e.rng||s)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=r[a];return t}return f(r)};var p=n(25108);class m extends Error{}function g(e){return class extends e{constructor(...e){super(...e),this._mutable=!0}isLocked(){return!this._mutable}lock(){this._mutable=!1}unlock(){this._mutable=!0}_modify(){if(!this._mutable)throw new m}_modifyContent(){this._modify()}}}class _ extends Error{}function A(e){return e.toLowerCase()}function F(e){return e.toUpperCase()}function b(e){return e.charAt(0).toUpperCase()+e.slice(1)}function y(e,t){return e.startsWith(t)||(e=t+e),e}const T=new Map;function v(e,t){return T.get(e)||t}function D(e){return new(i().Property)(A(e))}function E(e){return class extends e{constructor(...e){super(...e),this._subscribers=[]}subscribe(e){this._subscribers.push(e)}unsubscribe(e){const t=this._subscribers.indexOf(e);-1!==t&&this._subscribers.splice(t,1)}_notifySubscribers(...e){for(const t of this._subscribers)t(...e)}}}class C extends(E(g(class{}))){constructor(e,t=null){super(),this._name=F(e),this._value=t}get name(){return this._name}get value(){return this._value}set value(e){this._modifyContent(),this._value=e}getFirstValue(){return this.isMultiValue()?this.value.length>0?this.value[0]:null:this.value}*getValueIterator(){this.isMultiValue()?yield*this.value.slice()[Symbol.iterator]():yield this.value}isMultiValue(){return Array.isArray(this._value)}clone(){const e=new this.constructor(this._name);return this.isMultiValue()?e.value=this._value.slice():e.value=this._value,e}_modifyContent(){super._modifyContent(),this._notifySubscribers()}}class w extends(E(g(class{}))){constructor(e){if(new.target===w)throw new TypeError("Cannot instantiate abstract class AbstractValue");super(),this._innerValue=e}toICALJs(){return this._innerValue}_modifyContent(){super._modifyContent(),this._notifySubscribers()}}class k extends w{get rawValue(){return this._innerValue.value}set rawValue(e){this._modifyContent(),this._innerValue.value=e}get value(){return this._innerValue.decodeValue()}set value(e){this._modifyContent(),this._innerValue.setEncodedValue(e)}clone(){return k.fromRawValue(this._innerValue.value)}static fromICALJs(e){return new k(e)}static fromRawValue(e){const t=new(i().Binary)(e);return k.fromICALJs(t)}static fromDecodedValue(e){const t=new(i().Binary);return t.setEncodedValue(e),k.fromICALJs(t)}}class S extends w{get weeks(){return this._innerValue.weeks}set weeks(e){if(this._modifyContent(),e<0)throw new TypeError("Weeks cannot be negative, use isNegative instead");this._innerValue.weeks=e}get days(){return this._innerValue.days}set days(e){if(this._modifyContent(),e<0)throw new TypeError("Days cannot be negative, use isNegative instead");this._innerValue.days=e}get hours(){return this._innerValue.hours}set hours(e){if(this._modifyContent(),e<0)throw new TypeError("Hours cannot be negative, use isNegative instead");this._innerValue.hours=e}get minutes(){return this._innerValue.minutes}set minutes(e){if(this._modifyContent(),e<0)throw new TypeError("Minutes cannot be negative, use isNegative instead");this._innerValue.minutes=e}get seconds(){return this._innerValue.seconds}set seconds(e){if(this._modifyContent(),e<0)throw new TypeError("Seconds cannot be negative, use isNegative instead");this._innerValue.seconds=e}get isNegative(){return this._innerValue.isNegative}set isNegative(e){this._modifyContent(),this._innerValue.isNegative=!!e}get totalSeconds(){return this._innerValue.toSeconds()}set totalSeconds(e){this._modifyContent(),this._innerValue.fromSeconds(e)}compare(e){return this._innerValue.compare(e.toICALJs())}addDuration(e){this._modifyContent(),this.totalSeconds+=e.totalSeconds,this._innerValue.normalize()}subtractDuration(e){this._modifyContent(),this.totalSeconds-=e.totalSeconds,this._innerValue.normalize()}clone(){return S.fromICALJs(this._innerValue.clone())}static fromICALJs(e){return new S(e)}static fromSeconds(e){const t=i().Duration.fromSeconds(e);return new S(t)}static fromData(e){const t=i().Duration.fromData(e);return new S(t)}}class x extends w{get year(){return this._innerValue.year}set year(e){this._modifyContent(),this._innerValue.year=e}get month(){return this._innerValue.month}set month(e){if(this._modifyContent(),e<1||e>12)throw new TypeError("Month out of range");this._innerValue.month=e}get day(){return this._innerValue.day}set day(e){if(this._modifyContent(),e<1||e>31)throw new TypeError("Day out of range");this._innerValue.day=e}get hour(){return this._innerValue.hour}set hour(e){if(this._modifyContent(),e<0||e>23)throw new TypeError("Hour out of range");this._innerValue.hour=e}get minute(){return this._innerValue.minute}set minute(e){if(this._modifyContent(),e<0||e>59)throw new TypeError("Minute out of range");this._innerValue.minute=e}get second(){return this._innerValue.second}set second(e){if(this._modifyContent(),e<0||e>59)throw new TypeError("Second out of range");this._innerValue.second=e}get timezoneId(){return this._innerValue.zone.tzid&&"floating"!==this._innerValue.zone.tzid&&"UTC"===this._innerValue.zone.tzid?this._innerValue.zone.tzid:this._innerValue.timezone?this._innerValue.timezone:this._innerValue.zone.tzid||null}get isDate(){return this._innerValue.isDate}set isDate(e){this._modifyContent(),this._innerValue.isDate=!!e,e&&(this._innerValue.hour=0,this._innerValue.minute=0,this._innerValue.second=0)}get unixTime(){return this._innerValue.toUnixTime()}get jsDate(){return this._innerValue.toJSDate()}addDuration(e){this._innerValue.addDuration(e.toICALJs())}subtractDateWithoutTimezone(e){const t=this._innerValue.subtractDate(e.toICALJs());return S.fromICALJs(t)}subtractDateWithTimezone(e){const t=this._innerValue.subtractDateTz(e.toICALJs());return S.fromICALJs(t)}compare(e){return this._innerValue.compare(e.toICALJs())}compareDateOnlyInGivenTimezone(e,t){return this._innerValue.compareDateOnlyTz(e.toICALJs(),t.toICALTimezone())}getInTimezone(e){const t=this._innerValue.convertToZone(e.toICALTimezone());return x.fromICALJs(t)}getICALTimezone(){return this._innerValue.zone}getInICALTimezone(e){const t=this._innerValue.convertToZone(e);return x.fromICALJs(t)}getInUTC(){const e=this._innerValue.convertToZone(i().Timezone.utcTimezone);return x.fromICALJs(e)}silentlyReplaceTimezone(e){this._modify(),this._innerValue=new(i().Time)({year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,isDate:this.isDate,timezone:e})}replaceTimezone(e){this._modifyContent(),this._innerValue=i().Time.fromData({year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,isDate:this.isDate},e.toICALTimezone())}utcOffset(){return this._innerValue.utcOffset()}isFloatingTime(){return"floating"===this._innerValue.zone.tzid}clone(){return x.fromICALJs(this._innerValue.clone())}static fromICALJs(e){return new x(e)}static fromJSDate(e,t=!1){const n=i().Time.fromJSDate(e,t);return x.fromICALJs(n)}static fromData(e,t){const n=i().Time.fromData(e,t?t.toICALTimezone():void 0);return x.fromICALJs(n)}}x.SUNDAY=i().Time.SUNDAY,x.MONDAY=i().Time.MONDAY,x.TUESDAY=i().Time.TUESDAY,x.WEDNESDAY=i().Time.WEDNESDAY,x.THURSDAY=i().Time.THURSDAY,x.FRIDAY=i().Time.FRIDAY,x.SATURDAY=i().Time.SATURDAY,x.DEFAULT_WEEK_START=x.MONDAY;class N extends w{constructor(...e){super(...e),this._start=x.fromICALJs(this._innerValue.start),this._end=null,this._duration=null}get start(){return this._start}set start(e){this._modifyContent(),this._start=e,this._innerValue.start=e.toICALJs()}get end(){return this._end||(this._duration&&(this._duration.lock(),this._duration=null),this._innerValue.end=this._innerValue.getEnd(),this._end=x.fromICALJs(this._innerValue.end),this._innerValue.duration=null,this.isLocked()&&this._end.lock()),this._end}set end(e){this._modifyContent(),this._innerValue.duration=null,this._innerValue.end=e.toICALJs(),this._end=e}get duration(){return this._duration||(this._end&&(this._end.lock(),this._end=null),this._innerValue.duration=this._innerValue.getDuration(),this._duration=S.fromICALJs(this._innerValue.duration),this._innerValue.end=null,this.isLocked()&&this._duration.lock()),this._duration}set duration(e){this._modifyContent(),this._innerValue.end=null,this._innerValue.duration=e.toICALJs(),this._duration=e}lock(){super.lock(),this.start.lock(),this._end&&this._end.lock(),this._duration&&this._duration.lock()}unlock(){super.unlock(),this.start.unlock(),this._end&&this._end.unlock(),this._duration&&this._duration.unlock()}clone(){return N.fromICALJs(this._innerValue.clone())}static fromICALJs(e){return new N(e)}static fromDataWithEnd(e){const t=i().Period.fromData({start:e.start.toICALJs(),end:e.end.toICALJs()});return N.fromICALJs(t)}static fromDataWithDuration(e){const t=i().Period.fromData({start:e.start.toICALJs(),duration:e.duration.toICALJs()});return N.fromICALJs(t)}}const R=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"];class O extends w{constructor(e,t){super(e),this._until=t}get interval(){return this._innerValue.interval}set interval(e){this._modifyContent(),this._innerValue.interval=parseInt(e,10)}get weekStart(){return this._innerValue.wkst}set weekStart(e){if(this._modifyContent(),e<x.SUNDAY||e>x.SATURDAY)throw new TypeError("Weekstart out of range");this._innerValue.wkst=e}get until(){return!this._until&&this._innerValue.until&&(this._until=x.fromICALJs(this._innerValue.until)),this._until}set until(e){this._modifyContent(),this._until&&this._until.lock(),this._until=e,this._innerValue.count=null,this._innerValue.until=e.toICALJs()}get count(){return this._innerValue.count}set count(e){this._modifyContent(),this._until&&(this._until.lock(),this._until=null),this._innerValue.until=null,this._innerValue.count=parseInt(e,10)}get frequency(){return this._innerValue.freq}set frequency(e){if(this._modifyContent(),!R.includes(e))throw new TypeError("Unknown frequency");this._innerValue.freq=e}setToInfinite(){this._modifyContent(),this._until&&(this._until.lock(),this._until=null),this._innerValue.until=null,this._innerValue.count=null}isFinite(){return this._innerValue.isFinite()}isByCount(){return this._innerValue.isByCount()}addComponent(e,t){this._modifyContent(),this._innerValue.addComponent(e,t)}setComponent(e,t){this._modifyContent(),0===t.length?delete this._innerValue.parts[e.toUpperCase()]:this._innerValue.setComponent(e,t)}removeComponent(e){delete this._innerValue.parts[F(e)]}getComponent(e){return this._innerValue.getComponent(e)}isRuleValid(){return!0}lock(){super.lock(),this._until&&this._until.lock()}unlock(){super.unlock(),this._until&&this._until.unlock()}clone(){return O.fromICALJs(this._innerValue.clone())}static fromICALJs(e,t=null){return new O(e,t)}static fromData(e){let t=null;e.until&&(t=e.until,e.until=e.until.toICALJs());const n=i().Recur.fromData(e);return O.fromICALJs(n,t)}}class M extends w{get hours(){return this._innerValue.hours}set hours(e){this._modifyContent(),this._innerValue.hours=e}get minutes(){return this._innerValue.minutes}set minutes(e){this._modifyContent(),this._innerValue.minutes=e}get factor(){return this._innerValue.factor}set factor(e){if(this._modifyContent(),1!==e&&-1!==e)throw new TypeError("Factor may only be set to 1 or -1");this._innerValue.factor=e}get totalSeconds(){return this._innerValue.toSeconds()}set totalSeconds(e){this._modifyContent(),this._innerValue.fromSeconds(e)}compare(e){return this._innerValue.compare(e.toICALJs())}clone(){return M.fromICALJs(this._innerValue.clone())}static fromICALJs(e){return new M(e)}static fromData(e){const t=new(i().UtcOffset);return t.fromData(e),M.fromICALJs(t)}static fromSeconds(e){const t=i().UtcOffset.fromSeconds(e);return M.fromICALJs(t)}}class B extends Error{}class L extends(E(g(class{}))){constructor(e,t=null,n=[],r=null,a=null){super(),this._name=F(e),this._value=t,this._parameters=new Map,this._root=r,this._parent=a,this._setParametersFromConstructor(n),t instanceof w&&t.subscribe((()=>this._notifySubscribers()))}get name(){return this._name}get value(){return this._value}set value(e){this._modifyContent(),this._value=e,e instanceof w&&e.subscribe((()=>this._notifySubscribers()))}get root(){return this._root}set root(e){this._modify(),this._root=e}get parent(){return this._parent}set parent(e){this._modify(),this._parent=e}getFirstValue(){return this.isMultiValue()?this.value.length>0?this.value[0]:null:this.value}*getValueIterator(){this.isMultiValue()?yield*this.value.slice()[Symbol.iterator]():yield this.value}addValue(e){if(!this.isMultiValue())throw new TypeError("This is not a multivalue property");this._modifyContent(),this.value.push(e)}hasValue(e){if(!this.isMultiValue())throw new TypeError("This is not a multivalue property");return this.value.includes(e)}removeValue(e){if(!this.hasValue(e))return;this._modifyContent();const t=this.value.indexOf(e);this.value.splice(t,1)}setParameter(e){this._modify(),this._parameters.set(e.name,e),e.subscribe((()=>this._notifySubscribers()))}getParameter(e){return this._parameters.get(F(e))}*getParametersIterator(){yield*this._parameters.values()}getParameterFirstValue(e){const t=this.getParameter(e);return t instanceof C?t.isMultiValue()?t.value[0]:t.value:null}hasParameter(e){return this._parameters.has(F(e))}deleteParameter(e){this._modify(),this._parameters.delete(F(e))}updateParameterIfExist(e,t){if(this._modify(),this.hasParameter(e)){this.getParameter(e).value=t}else{const n=new C(F(e),t);this.setParameter(n)}}isMultiValue(){return Array.isArray(this._value)}isDecoratedValue(){return this.isMultiValue()?this._value[0]instanceof w:this._value instanceof w}lock(){super.lock();for(const e of this.getParametersIterator())e.lock();if(this.isDecoratedValue())for(const e of this.getValueIterator())e.lock()}unlock(){super.unlock();for(const e of this.getParametersIterator())e.unlock();if(this.isDecoratedValue())for(const e of this.getValueIterator())e.unlock()}clone(){const e=[];for(const t of this.getParametersIterator())e.push(t.clone());return new this.constructor(this.name,this._cloneValue(),e,this.root,this.parent)}_cloneValue(){return this.isDecoratedValue()?this.isMultiValue()?this._value.map((e=>e.clone())):this._value.clone():this.isMultiValue()?this._value.slice():this._value}_setParametersFromConstructor(e){e.forEach((e=>{e instanceof C||(e=new C(e[0],e[1])),this.setParameter(e)}))}static fromICALJs(e,t=null,n=null){if(!(e instanceof i().Property))throw new _;let r;if(e.isDecorated){const t=function(e){switch(A(e)){case"binary":return k;case"date":case"date-time":return x;case"duration":return S;case"period":return N;case"recur":return O;case"utc-offset":return M;default:throw new B}}(e.getFirstValue().icaltype);r=e.isMultiValue?e.getValues().map((e=>t.fromICALJs(e))):t.fromICALJs(e.getFirstValue())}else r=e.isMultiValue?e.getValues():e.getFirstValue();const a=[];return Object.keys(Object.assign({},e.toJSON()[1])).forEach((t=>{"TZID"!==F(t)&&a.push([t,e.getParameter(t)])})),new this(e.name,r,a,t,n)}toICALJs(){const e=D(A(this.name));this.isMultiValue()?this.isDecoratedValue()?e.setValues(this.value.map((e=>e.toICALJs()))):e.setValues(this.value):this.isDecoratedValue()?e.setValue(this.value.toICALJs()):e.setValue(this.value);for(const t of this.getParametersIterator())e.setParameter(A(t.name),t.value);const t=this.getFirstValue();return t instanceof x&&"floating"!==t.timezoneId&&"UTC"!==t.timezoneId&&!t.isDate&&e.setParameter("tzid",t.timezoneId),e}_modifyContent(){super._modifyContent(),this._notifySubscribers()}}class Y extends L{get formatType(){return this.getParameterFirstValue("FMTTYPE")}set formatType(e){this.updateParameterIfExist("FMTTYPE",e)}get uri(){return this._value instanceof k?null:this._value}set uri(e){this.value=e}get encoding(){return this._value instanceof k?"BASE64":null}get data(){return this._value instanceof k?this._value.value:null}set data(e){this.value instanceof k?this.value.value=e:this.value=k.fromDecodedValue(e)}toICALJs(){const e=super.toICALJs();return this._value instanceof k&&e.setParameter("ENCODING","BASE64"),e}static fromData(e,t=null){const n=k.fromDecodedValue(e),r=new Y("ATTACH",n);return t&&(r.formatType=t),r}static fromLink(e,t=null){const n=new Y("ATTACH",e);return t&&(n.formatType=t),n}}class j extends L{get role(){const e=["CHAIR","REQ-PARTICIPANT","OPT-PARTICIPANT","NON-PARTICIPANT"];if(this.hasParameter("ROLE")){const t=this.getParameterFirstValue("ROLE");if(e.includes(t))return t}return"REQ-PARTICIPANT"}set role(e){this.updateParameterIfExist("ROLE",e)}get userType(){const e=["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"];if(this.hasParameter("CUTYPE")){const t=this.getParameterFirstValue("CUTYPE");return e.includes(t)?t:"UNKNOWN"}return"INDIVIDUAL"}set userType(e){this.updateParameterIfExist("CUTYPE",e)}get rsvp(){if(this.hasParameter("RSVP")){return"TRUE"===F(this.getParameterFirstValue("RSVP"))}return!1}set rsvp(e){this.updateParameterIfExist("RSVP",e?"TRUE":"FALSE")}get commonName(){return this.getParameterFirstValue("CN")}set commonName(e){this.updateParameterIfExist("CN",e)}get participationStatus(){let e;e=this.parent?this.parent.name:"VEVENT";const t={VEVENT:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED"],VJOURNAL:["NEEDS-ACTION","ACCEPTED","DECLINED"],VTODO:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"]};if(this.hasParameter("PARTSTAT")){const n=this.getParameterFirstValue("PARTSTAT");return t[e].includes(n)?n:"NEEDS-ACTION"}return"NEEDS-ACTION"}set participationStatus(e){this.updateParameterIfExist("PARTSTAT",e)}get language(){return this.getParameterFirstValue("LANGUAGE")}set language(e){this.updateParameterIfExist("LANGUAGE",e)}get email(){return this.value}set email(e){this.value=y(e,"mailto:")}isOrganizer(){return"ORGANIZER"===this._name}static fromNameAndEMail(e,t,n=!1){const r=n?"ORGANIZER":"ATTENDEE";return t=y(t,"mailto:"),new j(r,t,[["CN",e]])}static fromNameEMailRoleUserTypeAndRSVP(e,t,n,r,a,i=!1){const o=i?"ORGANIZER":"ATTENDEE";return t=y(t,"mailto:"),new j(o,t,[["CN",e],["ROLE",n],["CUTYPE",r],["RSVP",a?"TRUE":"FALSE"]])}}i().design.icalendar.property.conference={defaultType:"uri"},i().design.icalendar.param.feature={valueType:"cal-address",multiValue:","};class I extends L{*getFeatureIterator(){if(!this.hasParameter("FEATURE"))return;const e=this.getParameter("FEATURE");yield*e.getValueIterator()}listAllFeatures(){return this.hasParameter("FEATURE")?this.getParameter("FEATURE").value.slice():[]}addFeature(e){if(this._modify(),this.hasParameter("FEATURE")){if(this.hasFeature(e))return;this.getParameter("FEATURE").value.push(e)}else this.updateParameterIfExist("FEATURE",[e])}removeFeature(e){if(this._modify(),!this.hasFeature(e))return;const t=this.getParameter("FEATURE"),n=t.value.indexOf(e);t.value.splice(n,1)}clearAllFeatures(){this.deleteParameter("FEATURE")}hasFeature(e){if(!this.hasParameter("FEATURE"))return!1;const t=this.getParameter("FEATURE");return!!Array.isArray(t.value)&&t.value.includes(e)}get label(){return this.getParameterFirstValue("LABEL")}set label(e){this.updateParameterIfExist("LABEL",e)}get uri(){return this.value}set uri(e){this.value=e}toICALJs(){const e=super.toICALJs();return e.setP |