@openfin/web-notifications 2.14.0-alpha-4489 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web/index.js CHANGED
@@ -13,7 +13,7 @@
13
13
  &:hover {
14
14
  color: var(--color-role-link-hover);
15
15
  }
16
- `},2984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplateAPIVersion=t.getVersion=void 0,t.getVersion=function(){return"2.14.0-alpha-4489"},t.getTemplateAPIVersion=function(){return"2"}},3072:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,C=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case o:return t}}}function _(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===C||e.$$typeof===v)},t.typeOf=w},3081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollToFirstElementOnExpand=void 0;const n=r(96540);t.useScrollToFirstElementOnExpand=(e,t)=>{(0,n.useEffect)((()=>{t&&e.current&&setTimeout((()=>{var t,r;const n=null===(r=null===(t=e.current)||void 0===t?void 0:t.parentElement)||void 0===r?void 0:r.querySelector("input, textarea, button");n&&n.focus()}),500)}),[e,t])}},3083:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootThemeProvider=void 0;const o=n(r(96540)),i=r(61225),a=r(89183),s=r(47250);t.RootThemeProvider=(0,i.connect)((e=>{var t,r;return{themes:null===(t=e.theme)||void 0===t?void 0:t.themes,scheme:null===(r=e.theme)||void 0===r?void 0:r.scheme}}))((({themes:e,scheme:t,children:r})=>o.default.createElement(a.DefaultThemeProvider,{themes:e,scheme:null!=t?t:s.ColorScheme.dark},r)))},3089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredPromise=class{constructor(){const e=new Promise(((e,t)=>{this._resolve=e,this._reject=t}));this._promise=e}get promise(){return this._promise}get resolve(){return this._resolve}get reject(){return this._reject}}},3313:(e,t,r)=>{"use strict";t.startOfTomorrow=function(e){const t=(0,o.constructNow)(e?.in),r=t.getFullYear(),i=t.getMonth(),a=t.getDate(),s=(0,n.constructFrom)(e?.in,0);return s.setFullYear(r,i,a+1),s.setHours(0,0,0,0),s};var n=r(92956),o=r(2700)},3565:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FormikProxyProvider=void 0;const a=i(r(96540)),s=r(63087);t.FormikProxyProvider=e=>{const[t,r]=(0,a.useState)(null),n={formikProps:t,setFormikProps:r};return a.default.createElement(s.FormikProxyContext.Provider,{value:n},e.children)}},3650:(e,t,r)=>{var n=r(74335)(Object.keys,Object);e.exports=n},3654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReflectMetadata=function(e,t){return Reflect.getMetadata(t,e)}},3656:(e,t,r)=>{e=r.nmd(e);var n=r(9325),o=r(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3694:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.templateCustomFormSchema=t.templateMarkDownFormSchema=t.checkboxGroupFieldSchema=t.radioGroupFieldSchema=t.timeFieldSchema=t.dateFieldSchema=t.booleanFieldSchema=t.numberFieldSchema=t.stringFieldSchema=t.baseFieldSchema=void 0;const a=i(r(20627)),s=r(93955),l=r(65356);function c(e,t){return e.some((e=>{try{return e.validateSync(t)}catch(e){return!1}}))}t.baseFieldSchema=a.object({type:a.mixed().oneOf(Object.values(s.FieldType)).required(),key:a.string().required(),value:a.object(),validation:a.object(),label:a.string(),helperText:a.string()}).required(),t.stringFieldSchema=t.baseFieldSchema.clone().shape({value:a.string(),type:a.mixed().required().equals([s.FieldType.string]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.StringWidgetSchemaMap),e)}).required()}),t.numberFieldSchema=t.baseFieldSchema.clone().shape({value:a.number().optional(),type:a.mixed().required().equals([s.FieldType.number]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.NumberWidgetSchemaMap),e)}).required()}),t.booleanFieldSchema=t.baseFieldSchema.clone().shape({value:a.boolean().optional(),type:a.mixed().required().equals([s.FieldType.boolean]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.BooleanWidgetSchemaMap),e)}).required()}),t.dateFieldSchema=t.baseFieldSchema.clone().shape({value:a.object().optional().shape({date:a.number().test("Invalid date",(e=>!e||e>=1&&e<=31)),month:a.number().test("Invalid month",(e=>!e||e>0&&e<=12)),year:a.number().test("Invalid year",(e=>!e||e>0))}),type:a.mixed().required().equals([s.FieldType.date]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.DateWidgetSchemaMap),e)})}),t.timeFieldSchema=t.baseFieldSchema.clone().shape({type:a.mixed().required().equals([s.FieldType.time]),value:a.object().shape({hour:a.number().nullable(!0).test("Invalid hour","Hour must be between 0 and 23",(e=>!e||e>=0&&e<=23)),minute:a.number().nullable(!0).test("Invalid minute","Minute must be between 0 and 59",(e=>!e||e>=0&&e<=59))}).optional(),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.TimeWidgetSchemaMap),e)})}),t.radioGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.string().optional(),type:a.mixed().required().equals([s.FieldType.radioGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.RadioGroupWidgetSchemaMap),e)})}),t.checkboxGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.array().of(a.string()).optional(),type:a.mixed().required().equals([s.FieldType.checkboxGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.CheckboxGroupWidgetSchemaMap),e)})});const u={string:t.stringFieldSchema,number:t.numberFieldSchema,boolean:t.booleanFieldSchema,date:t.dateFieldSchema,time:t.timeFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema},d=Object.assign(Object.assign({},u),{date:t.dateFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema}),f=e=>a.array().of(a.mixed().test({name:"Field check",message:"Invalid field ${path}",test:t=>{const r=[],n=e.some((e=>{try{return e.validateSync(t)}catch(e){return r.push(e),!1}}));if(!n)throw new Error(r.map((e=>e.message)).join(".\n"));return n}})).transform((e=>0===(null==e?void 0:e.length)?null:e)).required(),h=e=>a.lazy((t=>t&&t.hasOwnProperty.call(t,"fields")?a.object().shape({formSettings:a.object().optional().shape({displayFieldRequirementStatus:a.boolean().optional()}),fields:e.required()}):e.nullable().optional().default(null)));t.templateMarkDownFormSchema=h(f(Object.values(u))),t.templateCustomFormSchema=h(f(Object.values(d)))},3724:(e,t,r)=>{"use strict";t.enUS=void 0;var n=r(72914),o=r(7181),i=r(18483),a=r(2371),s=r(1249);t.enUS={code:"en-US",formatDistance:n.formatDistance,formatLong:o.formatLong,formatRelative:i.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},3767:(e,t,r)=>{"use strict";t.previousSaturday=function(e,t){return(0,n.previousDay)(e,6,t)};var n=r(58092)},3769:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncInit=void 0;const i=r(52650),a=r(95785);let s=class{constructor(){this._initialized=new a.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};s=n([(0,i.injectable)(),o("design:paramtypes",[])],s),t.AsyncInit=s},3871:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.calendarType,r=e.formatShortWeekday,n=void 0===r?c.formatShortWeekday:r,f=e.formatWeekday,h=void 0===f?c.formatWeekday:f,p=e.locale,g=e.onMouseLeave,m=new Date,v=(0,a.getMonthStart)(m),b=(0,a.getYear)(v),y=(0,a.getMonth)(v),C=[],w=1;w<=7;w+=1){var _=new Date(b,y,w-(0,l.getDayOfWeek)(v,t)),x=h(p,_);C.push((0,o.jsx)("div",{className:(0,i.default)(d,(0,l.isCurrentDayOfWeek)(_)&&"".concat(d,"--current"),(0,l.isWeekend)(_,t)&&"".concat(d,"--weekend")),children:(0,o.jsx)("abbr",{"aria-label":x,title:x,children:n(p,_).replace(".","")})},w))}return(0,o.jsx)(s.default,{className:u,count:7,onFocus:g,onMouseOver:g,children:C})};var o=r(74848),i=n(r(71508)),a=r(51229),s=n(r(77707)),l=r(26335),c=r(23340),u="react-calendar__month-view__weekdays",d="".concat(u,"__weekday")},4035:function(e,t,r){"use strict";var n,o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&o(t,e,r[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=void 0;const s=a(r(19466)),l=(0,r(8701).injectBase)(s.MULTI_INJECT_TAG);t.multiInject=l},4045:function(e,t,r){"use strict";var n,o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&o(t,e,r[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;const s=a(r(19466));t.Metadata=class{key;value;constructor(e,t){this.key=e,this.value=t}toString(){return this.key===s.NAMED_TAG?`named: ${String(this.value).toString()} `:`tagged: { key:${this.key.toString()}, value: ${String(this.value)} }`}}},4081:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUserLocale=t.getUserLocales=void 0;var o=n(r(60119));function i(e){return"string"==typeof e}function a(e,t,r){return r.indexOf(e)===t}function s(e){return-1===e.indexOf(",")?e:e.split(",")}function l(e){if(!e)return e;if("C"===e||"posix"===e||"POSIX"===e)return"en-US";if(-1!==e.indexOf(".")){var t=e.split(".")[0];return l(void 0===t?"":t)}if(-1!==e.indexOf("@")){var r=e.split("@")[0];return l(void 0===r?"":r)}if(-1===e.indexOf("-")||(n=e).toLowerCase()!==n)return e;var n,o=e.split("-"),i=o[0],a=o[1],s=void 0===a?"":a;return"".concat(i,"-").concat(s.toUpperCase())}t.getUserLocales=(0,o.default)((function(e){var t=void 0===e?{}:e,r=t.useFallbackLocale,n=void 0===r||r,o=t.fallbackLocale,c=void 0===o?"en-US":o,u=[];if("undefined"!=typeof navigator){for(var d=[],f=0,h=navigator.languages||[];f<h.length;f++){var p=h[f];d=d.concat(s(p))}var g=navigator.language,m=g?s(g):g;u=u.concat(d,m)}return n&&u.push(c),u.filter(i).map(l).filter(a)}),{cacheKey:JSON.stringify}),t.getUserLocale=(0,o.default)((function(e){return(0,t.getUserLocales)(e)[0]||null}),{cacheKey:JSON.stringify}),t.default=t.getUserLocale},4124:(e,t,r)=>{var n=r(45539)((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));e.exports=n},4138:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormCustomValidationErrors=void 0;const n=r(5299);class o extends n.Action{constructor(e,t){super(),this.notificationId=e,this.errors=t}reduce(e){var t,r;const n=null!==(r=null===(t=e.activeForms)||void 0===t?void 0:t.forms)&&void 0!==r?r:[],o=Object.assign({},...(this.errors||[]).map((e=>({[e.fieldKey]:e.error}))));return Object.assign(Object.assign({},e),{activeForms:Object.assign(Object.assign({},e.activeForms),{forms:[...n.map((e=>e.notificationId==this.notificationId?Object.assign(Object.assign({},e),{errors:o}):e))]})})}}t.SetNotificationFormCustomValidationErrors=o},4146:(e,t,r)=>{"use strict";var n=r(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=h(r);o&&o!==p&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),g=l(r),m=0;m<a.length;++m){var v=a[m];if(!(i[v]||n&&n[v]||g&&g[v]||s&&s[v])){var b=f(r,v);try{c(t,v,b)}catch(e){}}}}return t}},4248:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCard=void 0;const o=r(61225),i=n(r(96540)),a=r(87451),s=r(37676),l=r(42551),c=r(26012),u=r(38320),d=r(16415);t.NotificationCard=(0,o.connect)(((e,t)=>{var r;const{activeForms:n}=e,o=t.notification,i=(0,c.getAllStoredNotifications)(e).find((e=>e.id===o.id)),a=n&&n.focusedFormNotificationId==(null==i?void 0:i.id);return Object.assign(Object.assign({},t),{revisionNumber:null===(r=null==i?void 0:i.modifiers)||void 0===r?void 0:r.revision,focusedNotification:e.focusedNotification,isFormExpanded:a,mode:e.mode})}),((e,t)=>{var r,n,o,i,l,c,d,f,h,p;return{remove:null!==(r=t.remove)&&void 0!==r?r:async t=>e(new a.RemoveNotifications([t],"Remove")),minimize:null!==(n=t.minimize)&&void 0!==n?n:t=>e(new s.MinimizeToast(t)),clickAction:null!==(o=t.clickAction)&&void 0!==o?o:t=>e(new a.ClickNotification(t)),clickButtonAction:null!==(i=t.clickButtonAction)&&void 0!==i?i:async(t,r)=>e(new a.ClickButton(t,r)),clickFragment:null!==(l=t.clickFragment)&&void 0!==l?l:(t,r,n)=>e(new a.ClickFragment(t,r,n)),submitForm:null!==(c=t.submitForm)&&void 0!==c?c:async(t,r,n)=>e(new s.SubmitNotificationForm(t,r,n)),showReminderModal:null!==(d=t.showReminderModal)&&void 0!==d?d:async t=>e(new a.ShowModal(t)),setReminder:null!==(f=t.setReminder)&&void 0!==f?f:async t=>e(new u.SetReminderThroughUI(t)),cancelReminder:null!==(h=t.cancelReminder)&&void 0!==h?h:async t=>e(new u.CancelReminderAndRecreateNotification(t)),raiseAnalyticsEvent:null!==(p=t.raiseAnalyticsEvent)&&void 0!==p?p:async(t,r)=>e(new a.RaiseAnalyticsEvent(t,r))}}))((e=>i.default.createElement(d.WebModalContextProvider,null,i.default.createElement(l.NotificationCardComponent,Object.assign({},e))))),t.NotificationCard.displayName="ConnectedNotificationCard"},4251:(e,t,r)=>{"use strict";t.nextFriday=function(e,t){return(0,n.nextDay)(e,5,t)};var n=r(70064)},4382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetComponentMap=void 0;const n=r(33713),o=r(62391),i=r(71351),a=r(13786),s=r(59594),l=r(26906),c=r(60714),u=r(95718),d=r(96318);t.WidgetComponentMap={[n.WidgetType.Number]:o.NumberWidgetComponent,[n.WidgetType.Toggle]:a.ToggleWidgetComponent,[n.WidgetType.Checkbox]:i.CheckboxWidgetComponent,[n.WidgetType.Date]:s.DateWidgetComponent,[n.WidgetType.CheckboxGroup]:l.CheckboxGroupWidgetComponent,[n.WidgetType.RadioGroup]:c.RadioGroupWidgetComponent,[n.WidgetType.Dropdown]:u.DropdownWidgetComponent,[n.WidgetType.Text]:o.TextWidgetComponent,[n.WidgetType.Time]:d.TimeWidgetComponent}},4395:(e,t,r)=>{"use strict";t.setDay=function(e,t,r){const a=(0,n.getDefaultOptions)(),s=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,i.toDate)(e,r?.in),c=l.getDay(),u=7-s,d=t<0||t>6?t-(c+u)%7:((t%7+7)%7+u)%7-(c+u)%7;return(0,o.addDays)(l,d,r)};var n=r(96755),o=r(77591),i=r(34446)},4509:(e,t,r)=>{var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},4638:(e,t,r)=>{"use strict";t.secondsToMinutes=function(e){const t=e/n.secondsInMinute;return Math.trunc(t)};var n=r(78052)},4650:(e,t,r)=>{"use strict";t.endOfISOWeek=function(e,t){return(0,n.endOfWeek)(e,{...t,weekStartsOn:1})};var n=r(61587)},4664:(e,t,r)=>{var n=r(79770),o=r(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},4875:(e,t,r)=>{"use strict";t.differenceInCalendarYears=function(e,t,r){const[o,i]=(0,n.normalizeDates)(r?.in,e,t);return o.getFullYear()-i.getFullYear()};var n=r(8256)},4879:(e,t,r)=>{"use strict";t.isEqual=function(e,t){return+(0,n.toDate)(e)==+(0,n.toDate)(t)};var n=r(34446)},4901:(e,t,r)=>{var n=r(72552),o=r(30294),i=r(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},5046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValidation=void 0;const n=r(96540);t.useValidation=(e,t)=>{const[r,o]=(0,n.useState)(""),[i,a]=(0,n.useState)(!0),[s,l]=(0,n.useState)(t);return(0,n.useEffect)((()=>{const t=e(s);o(t),a(!t)}),[s,e]),{value:s,message:r,isValid:i,updateValue:l}}},5154:(e,t,r)=>{"use strict";t.setSeconds=function(e,t,r){const o=(0,n.toDate)(e,r?.in);return o.setSeconds(t),o};var n=r(34446)},5206:(e,t,r)=>{"use strict";t.formatDistanceStrict=function(e,t,r){const u=(0,o.getDefaultOptions)(),d=r?.locale??u.locale??n.defaultLocale,f=(0,l.compareAsc)(e,t);if(isNaN(f))throw new RangeError("Invalid time value");const h=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:f}),[p,g]=(0,s.normalizeDates)(r?.in,...f>0?[t,e]:[e,t]),m=(0,i.getRoundingMethod)(r?.roundingMethod??"round"),v=g.getTime()-p.getTime(),b=v/c.millisecondsInMinute,y=(v-((0,a.getTimezoneOffsetInMilliseconds)(g)-(0,a.getTimezoneOffsetInMilliseconds)(p)))/c.millisecondsInMinute,C=r?.unit;let w;if(w=C||(b<1?"second":b<60?"minute":b<c.minutesInDay?"hour":y<c.minutesInMonth?"day":y<c.minutesInYear?"month":"year"),"second"===w){const e=m(v/1e3);return d.formatDistance("xSeconds",e,h)}if("minute"===w){const e=m(b);return d.formatDistance("xMinutes",e,h)}if("hour"===w){const e=m(b/60);return d.formatDistance("xHours",e,h)}if("day"===w){const e=m(y/c.minutesInDay);return d.formatDistance("xDays",e,h)}if("month"===w){const e=m(y/c.minutesInMonth);return 12===e&&"month"!==C?d.formatDistance("xYears",1,h):d.formatDistance("xMonths",e,h)}{const e=m(y/c.minutesInYear);return d.formatDistance("xYears",e,h)}};var n=r(89577),o=r(96755),i=r(1331),a=r(16339),s=r(8256),l=r(86789),c=r(78052)},5265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyServiceIdentifier=t.LazyServiceIdentifier=void 0;const n=r(11446);Object.defineProperty(t,"stringifyServiceIdentifier",{enumerable:!0,get:function(){return n.stringifyServiceIdentifier}});const o=r(82151);Object.defineProperty(t,"LazyServiceIdentifier",{enumerable:!0,get:function(){return o.LazyServiceIdentifier}})},5299:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(76709),t),o(r(50492),t),o(r(23297),t),o(r(22022),t),o(r(44186),t)},5338:(e,t,r)=>{"use strict";var n=r(40961);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},5456:(e,t,r)=>{"use strict";t.eachWeekendOfMonth=function(e,t){const r=(0,i.startOfMonth)(e,t),a=(0,o.endOfMonth)(e,t);return(0,n.eachWeekendOfInterval)({start:r,end:a},t)};var n=r(39305),o=r(51291),i=r(67710)},5513:(e,t,r)=>{"use strict";t.Parser=void 0;var n=r(97861);t.Parser=class{run(e,t,r,o){const i=this.parse(e,t,r,o);return i?{setter:new n.ValueSetter(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,r){return!0}}},5556:(e,t,r)=>{e.exports=r(2694)()},5626:(e,t,r)=>{"use strict";t.isSameISOWeek=function(e,t,r){return(0,n.isSameWeek)(e,t,{...r,weekStartsOn:1})};var n=r(30659)},5778:(e,t)=>{"use strict";const r={};function n(e,t){"string"!=typeof t&&(t=n.defaultChars);const o=function(e){let t=r[e];if(t)return t;t=r[e]=[];for(let e=0;e<128;e++){const r=String.fromCharCode(e);t.push(r)}for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let r=0,n=e.length;r<n;r+=3){const i=parseInt(e.slice(r+1,r+3),16);if(i<128)t+=o[i];else{if(192==(224&i)&&r+3<n){const n=parseInt(e.slice(r+4,r+6),16);if(128==(192&n)){const e=i<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),r+=3;continue}}if(224==(240&i)&&r+6<n){const n=parseInt(e.slice(r+4,r+6),16),o=parseInt(e.slice(r+7,r+9),16);if(128==(192&n)&&128==(192&o)){const e=i<<12&61440|n<<6&4032|63&o;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&i)&&r+9<n){const n=parseInt(e.slice(r+4,r+6),16),o=parseInt(e.slice(r+7,r+9),16),a=parseInt(e.slice(r+10,r+12),16);if(128==(192&n)&&128==(192&o)&&128==(192&a)){let e=i<<18&1835008|n<<12&258048|o<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="";const o={};function i(e,t,r){"string"!=typeof t&&(r=t,t=i.defaultChars),void 0===r&&(r=!0);const n=function(e){let t=o[e];if(t)return t;t=o[e]=[];for(let e=0;e<128;e++){const r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}(t);let a="";for(let t=0,o=e.length;t<o;t++){const i=e.charCodeAt(t);if(r&&37===i&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))a+=e.slice(t,t+3),t+=2;else if(i<128)a+=n[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&t+1<o){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){a+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}a+="%EF%BF%BD"}else a+=encodeURIComponent(e[t])}return a}function a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()";const s=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(u),f=["%","/","?",";","#"].concat(d),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a.prototype.parse=function(e,t){let r,n,o,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=c.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=s.exec(i);if(a&&(a=a[0],r=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===i.substr(0,2),!o||a&&m[a]||(i=i.substr(2),this.slashes=!0)),!m[a]&&(o||a&&!v[a])){let e,t,r=-1;for(let e=0;e<h.length;e++)n=i.indexOf(h[e]),-1!==n&&(-1===r||n<r)&&(r=n);t=-1===r?i.lastIndexOf("@"):i.lastIndexOf("@",r),-1!==t&&(e=i.slice(0,t),i=i.slice(t+1),this.auth=e),r=-1;for(let e=0;e<f.length;e++)n=i.indexOf(f[e]),-1!==n&&(-1===r||n<r)&&(r=n);-1===r&&(r=i.length),":"===i[r-1]&&r--;const o=i.slice(0,r);i=i.slice(r),this.parseHost(o),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r&&!r.match(p)){let n="";for(let e=0,t=r.length;e<t;e++)r.charCodeAt(e)>127?n+="x":n+=r[e];if(!n.match(p)){const n=e.slice(0,t),o=e.slice(t+1),a=r.match(g);a&&(n.push(a[1]),o.unshift(a[2])),o.length&&(i=o.join(".")+i),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=i.indexOf("#");-1!==l&&(this.hash=i.substr(l),i=i.slice(0,l));const u=i.indexOf("?");return-1!==u&&(this.search=i.substr(u),i=i.slice(0,u)),i&&(this.pathname=i),v[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a.prototype.parseHost=function(e){let t=l.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.decode=n,t.encode=i,t.format=function(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t},t.parse=function(e,t){if(e&&e instanceof a)return e;const r=new a;return r.parse(e,t),r}},5800:(e,t,r)=>{"use strict";t.isToday=function(e,t){return(0,i.isSameDay)((0,n.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var n=r(92956),o=r(2700),i=r(99691)},5861:(e,t,r)=>{var n=r(55580),o=r(68223),i=r(32804),a=r(76545),s=r(28303),l=r(72552),c=r(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",g=c(n),m=c(o),v=c(i),b=c(a),y=c(s),C=l;(n&&C(new n(new ArrayBuffer(1)))!=p||o&&C(new o)!=u||i&&C(i.resolve())!=d||a&&C(new a)!=f||s&&C(new s)!=h)&&(C=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return p;case m:return u;case v:return d;case b:return f;case y:return h}return t}),e.exports=C},5987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var r=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function n(e){for(var n,o="",i=0;null!==(n=t.xmlReplacer.exec(e));){var a=n.index,s=e.charCodeAt(a),l=r.get(s);void 0!==l?(o+=e.substring(i,a)+l,i=a+1):(o+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return o+e.substr(i)}function o(e,t){return function(r){for(var n,o=0,i="";n=e.exec(r);)o!==n.index&&(i+=r.substring(o,n.index)),i+=t.get(n[0].charCodeAt(0)),o=n.index+1;return i+r.substring(o)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=n,t.escape=n,t.escapeUTF8=o(/[&<>'"]/g,r),t.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},6075:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDispatchRequestCustomValidationDebounced=void 0;const n=r(96540),o=r(61225);t.useDispatchRequestCustomValidationDebounced=()=>{const e=(0,o.useDispatch)(),t=(0,n.useRef)(null);return(0,n.useCallback)((r=>{t.current&&window.clearTimeout(t.current),t.current=window.setTimeout((()=>{e(r)}),500)}),[e])}},6289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleActivationStore=void 0;const n=r(93382);class o{_map=new Map;remove(e){const t=this._map.get(e);return void 0===t?this._getEmptyHandlersStore():(this._map.delete(e),t)}addDeactivation(e,t,r){this._getModuleActivationHandlers(e).onDeactivations.add(t,r)}addActivation(e,t,r){this._getModuleActivationHandlers(e).onActivations.add(t,r)}clone(){const e=new o;return this._map.forEach(((t,r)=>{e._map.set(r,{onActivations:t.onActivations.clone(),onDeactivations:t.onDeactivations.clone()})})),e}_getModuleActivationHandlers(e){let t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t}_getEmptyHandlersStore(){return{onActivations:new n.Lookup,onDeactivations:new n.Lookup}}}t.ModuleActivationStore=o},6345:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsPanel=void 0;const s=r(47250),l=i(r(96540)),c=r(61225),u=a(r(35830)),d=r(64800),f=r(87451),h=r(72471),p=r(54896),g=r(66764),m=r(36834),v=r(68318),b=r(78904),y=r(43264),C=r(40660),w=r(29136),_=r(47586),x=(0,u.default)(s.Box).attrs({className:"notifications-panel-container"})`
16
+ `},2984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTemplateAPIVersion=t.getVersion=void 0,t.getVersion=function(){return"2.14.0"},t.getTemplateAPIVersion=function(){return"2"}},3072:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,C=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case o:return t}}}function _(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===C||e.$$typeof===v)},t.typeOf=w},3081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollToFirstElementOnExpand=void 0;const n=r(96540);t.useScrollToFirstElementOnExpand=(e,t)=>{(0,n.useEffect)((()=>{t&&e.current&&setTimeout((()=>{var t,r;const n=null===(r=null===(t=e.current)||void 0===t?void 0:t.parentElement)||void 0===r?void 0:r.querySelector("input, textarea, button");n&&n.focus()}),500)}),[e,t])}},3083:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RootThemeProvider=void 0;const o=n(r(96540)),i=r(61225),a=r(89183),s=r(47250);t.RootThemeProvider=(0,i.connect)((e=>{var t,r;return{themes:null===(t=e.theme)||void 0===t?void 0:t.themes,scheme:null===(r=e.theme)||void 0===r?void 0:r.scheme}}))((({themes:e,scheme:t,children:r})=>o.default.createElement(a.DefaultThemeProvider,{themes:e,scheme:null!=t?t:s.ColorScheme.dark},r)))},3089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredPromise=class{constructor(){const e=new Promise(((e,t)=>{this._resolve=e,this._reject=t}));this._promise=e}get promise(){return this._promise}get resolve(){return this._resolve}get reject(){return this._reject}}},3313:(e,t,r)=>{"use strict";t.startOfTomorrow=function(e){const t=(0,o.constructNow)(e?.in),r=t.getFullYear(),i=t.getMonth(),a=t.getDate(),s=(0,n.constructFrom)(e?.in,0);return s.setFullYear(r,i,a+1),s.setHours(0,0,0,0),s};var n=r(92956),o=r(2700)},3565:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.FormikProxyProvider=void 0;const a=i(r(96540)),s=r(63087);t.FormikProxyProvider=e=>{const[t,r]=(0,a.useState)(null),n={formikProps:t,setFormikProps:r};return a.default.createElement(s.FormikProxyContext.Provider,{value:n},e.children)}},3650:(e,t,r)=>{var n=r(74335)(Object.keys,Object);e.exports=n},3654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReflectMetadata=function(e,t){return Reflect.getMetadata(t,e)}},3656:(e,t,r)=>{e=r.nmd(e);var n=r(9325),o=r(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3694:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.templateCustomFormSchema=t.templateMarkDownFormSchema=t.checkboxGroupFieldSchema=t.radioGroupFieldSchema=t.timeFieldSchema=t.dateFieldSchema=t.booleanFieldSchema=t.numberFieldSchema=t.stringFieldSchema=t.baseFieldSchema=void 0;const a=i(r(20627)),s=r(93955),l=r(65356);function c(e,t){return e.some((e=>{try{return e.validateSync(t)}catch(e){return!1}}))}t.baseFieldSchema=a.object({type:a.mixed().oneOf(Object.values(s.FieldType)).required(),key:a.string().required(),value:a.object(),validation:a.object(),label:a.string(),helperText:a.string()}).required(),t.stringFieldSchema=t.baseFieldSchema.clone().shape({value:a.string(),type:a.mixed().required().equals([s.FieldType.string]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.StringWidgetSchemaMap),e)}).required()}),t.numberFieldSchema=t.baseFieldSchema.clone().shape({value:a.number().optional(),type:a.mixed().required().equals([s.FieldType.number]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.NumberWidgetSchemaMap),e)}).required()}),t.booleanFieldSchema=t.baseFieldSchema.clone().shape({value:a.boolean().optional(),type:a.mixed().required().equals([s.FieldType.boolean]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.BooleanWidgetSchemaMap),e)}).required()}),t.dateFieldSchema=t.baseFieldSchema.clone().shape({value:a.object().optional().shape({date:a.number().test("Invalid date",(e=>!e||e>=1&&e<=31)),month:a.number().test("Invalid month",(e=>!e||e>0&&e<=12)),year:a.number().test("Invalid year",(e=>!e||e>0))}),type:a.mixed().required().equals([s.FieldType.date]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.DateWidgetSchemaMap),e)})}),t.timeFieldSchema=t.baseFieldSchema.clone().shape({type:a.mixed().required().equals([s.FieldType.time]),value:a.object().shape({hour:a.number().nullable(!0).test("Invalid hour","Hour must be between 0 and 23",(e=>!e||e>=0&&e<=23)),minute:a.number().nullable(!0).test("Invalid minute","Minute must be between 0 and 59",(e=>!e||e>=0&&e<=59))}).optional(),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.TimeWidgetSchemaMap),e)})}),t.radioGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.string().optional(),type:a.mixed().required().equals([s.FieldType.radioGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.RadioGroupWidgetSchemaMap),e)})}),t.checkboxGroupFieldSchema=t.baseFieldSchema.clone().shape({value:a.array().of(a.string()).optional(),type:a.mixed().required().equals([s.FieldType.checkboxGroup]),widget:a.object().test({name:"Widget check",message:"Invalid widget ${path}",test:e=>c(Object.values(l.CheckboxGroupWidgetSchemaMap),e)})});const u={string:t.stringFieldSchema,number:t.numberFieldSchema,boolean:t.booleanFieldSchema,date:t.dateFieldSchema,time:t.timeFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema},d=Object.assign(Object.assign({},u),{date:t.dateFieldSchema,radioGroup:t.radioGroupFieldSchema,checkboxGroup:t.checkboxGroupFieldSchema}),f=e=>a.array().of(a.mixed().test({name:"Field check",message:"Invalid field ${path}",test:t=>{const r=[],n=e.some((e=>{try{return e.validateSync(t)}catch(e){return r.push(e),!1}}));if(!n)throw new Error(r.map((e=>e.message)).join(".\n"));return n}})).transform((e=>0===(null==e?void 0:e.length)?null:e)).required(),h=e=>a.lazy((t=>t&&t.hasOwnProperty.call(t,"fields")?a.object().shape({formSettings:a.object().optional().shape({displayFieldRequirementStatus:a.boolean().optional()}),fields:e.required()}):e.nullable().optional().default(null)));t.templateMarkDownFormSchema=h(f(Object.values(u))),t.templateCustomFormSchema=h(f(Object.values(d)))},3724:(e,t,r)=>{"use strict";t.enUS=void 0;var n=r(72914),o=r(7181),i=r(18483),a=r(2371),s=r(1249);t.enUS={code:"en-US",formatDistance:n.formatDistance,formatLong:o.formatLong,formatRelative:i.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},3767:(e,t,r)=>{"use strict";t.previousSaturday=function(e,t){return(0,n.previousDay)(e,6,t)};var n=r(58092)},3769:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncInit=void 0;const i=r(52650),a=r(95785);let s=class{constructor(){this._initialized=new a.DeferredPromise}get initialized(){return this._initialized.promise}delayedInit(){return this.init().then((()=>{this._initialized.resolve(this)})),this._initialized.promise}};s=n([(0,i.injectable)(),o("design:paramtypes",[])],s),t.AsyncInit=s},3871:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.calendarType,r=e.formatShortWeekday,n=void 0===r?c.formatShortWeekday:r,f=e.formatWeekday,h=void 0===f?c.formatWeekday:f,p=e.locale,g=e.onMouseLeave,m=new Date,v=(0,a.getMonthStart)(m),b=(0,a.getYear)(v),y=(0,a.getMonth)(v),C=[],w=1;w<=7;w+=1){var _=new Date(b,y,w-(0,l.getDayOfWeek)(v,t)),x=h(p,_);C.push((0,o.jsx)("div",{className:(0,i.default)(d,(0,l.isCurrentDayOfWeek)(_)&&"".concat(d,"--current"),(0,l.isWeekend)(_,t)&&"".concat(d,"--weekend")),children:(0,o.jsx)("abbr",{"aria-label":x,title:x,children:n(p,_).replace(".","")})},w))}return(0,o.jsx)(s.default,{className:u,count:7,onFocus:g,onMouseOver:g,children:C})};var o=r(74848),i=n(r(71508)),a=r(51229),s=n(r(77707)),l=r(26335),c=r(23340),u="react-calendar__month-view__weekdays",d="".concat(u,"__weekday")},4035:function(e,t,r){"use strict";var n,o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&o(t,e,r[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.multiInject=void 0;const s=a(r(19466)),l=(0,r(8701).injectBase)(s.MULTI_INJECT_TAG);t.multiInject=l},4045:function(e,t,r){"use strict";var n,o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&o(t,e,r[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;const s=a(r(19466));t.Metadata=class{key;value;constructor(e,t){this.key=e,this.value=t}toString(){return this.key===s.NAMED_TAG?`named: ${String(this.value).toString()} `:`tagged: { key:${this.key.toString()}, value: ${String(this.value)} }`}}},4081:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUserLocale=t.getUserLocales=void 0;var o=n(r(60119));function i(e){return"string"==typeof e}function a(e,t,r){return r.indexOf(e)===t}function s(e){return-1===e.indexOf(",")?e:e.split(",")}function l(e){if(!e)return e;if("C"===e||"posix"===e||"POSIX"===e)return"en-US";if(-1!==e.indexOf(".")){var t=e.split(".")[0];return l(void 0===t?"":t)}if(-1!==e.indexOf("@")){var r=e.split("@")[0];return l(void 0===r?"":r)}if(-1===e.indexOf("-")||(n=e).toLowerCase()!==n)return e;var n,o=e.split("-"),i=o[0],a=o[1],s=void 0===a?"":a;return"".concat(i,"-").concat(s.toUpperCase())}t.getUserLocales=(0,o.default)((function(e){var t=void 0===e?{}:e,r=t.useFallbackLocale,n=void 0===r||r,o=t.fallbackLocale,c=void 0===o?"en-US":o,u=[];if("undefined"!=typeof navigator){for(var d=[],f=0,h=navigator.languages||[];f<h.length;f++){var p=h[f];d=d.concat(s(p))}var g=navigator.language,m=g?s(g):g;u=u.concat(d,m)}return n&&u.push(c),u.filter(i).map(l).filter(a)}),{cacheKey:JSON.stringify}),t.getUserLocale=(0,o.default)((function(e){return(0,t.getUserLocales)(e)[0]||null}),{cacheKey:JSON.stringify}),t.default=t.getUserLocale},4124:(e,t,r)=>{var n=r(45539)((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));e.exports=n},4138:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetNotificationFormCustomValidationErrors=void 0;const n=r(5299);class o extends n.Action{constructor(e,t){super(),this.notificationId=e,this.errors=t}reduce(e){var t,r;const n=null!==(r=null===(t=e.activeForms)||void 0===t?void 0:t.forms)&&void 0!==r?r:[],o=Object.assign({},...(this.errors||[]).map((e=>({[e.fieldKey]:e.error}))));return Object.assign(Object.assign({},e),{activeForms:Object.assign(Object.assign({},e.activeForms),{forms:[...n.map((e=>e.notificationId==this.notificationId?Object.assign(Object.assign({},e),{errors:o}):e))]})})}}t.SetNotificationFormCustomValidationErrors=o},4146:(e,t,r)=>{"use strict";var n=r(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=h(r);o&&o!==p&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),g=l(r),m=0;m<a.length;++m){var v=a[m];if(!(i[v]||n&&n[v]||g&&g[v]||s&&s[v])){var b=f(r,v);try{c(t,v,b)}catch(e){}}}}return t}},4248:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCard=void 0;const o=r(61225),i=n(r(96540)),a=r(87451),s=r(37676),l=r(42551),c=r(26012),u=r(38320),d=r(16415);t.NotificationCard=(0,o.connect)(((e,t)=>{var r;const{activeForms:n}=e,o=t.notification,i=(0,c.getAllStoredNotifications)(e).find((e=>e.id===o.id)),a=n&&n.focusedFormNotificationId==(null==i?void 0:i.id);return Object.assign(Object.assign({},t),{revisionNumber:null===(r=null==i?void 0:i.modifiers)||void 0===r?void 0:r.revision,focusedNotification:e.focusedNotification,isFormExpanded:a,mode:e.mode})}),((e,t)=>{var r,n,o,i,l,c,d,f,h,p;return{remove:null!==(r=t.remove)&&void 0!==r?r:async t=>e(new a.RemoveNotifications([t],"Remove")),minimize:null!==(n=t.minimize)&&void 0!==n?n:t=>e(new s.MinimizeToast(t)),clickAction:null!==(o=t.clickAction)&&void 0!==o?o:t=>e(new a.ClickNotification(t)),clickButtonAction:null!==(i=t.clickButtonAction)&&void 0!==i?i:async(t,r)=>e(new a.ClickButton(t,r)),clickFragment:null!==(l=t.clickFragment)&&void 0!==l?l:(t,r,n)=>e(new a.ClickFragment(t,r,n)),submitForm:null!==(c=t.submitForm)&&void 0!==c?c:async(t,r,n)=>e(new s.SubmitNotificationForm(t,r,n)),showReminderModal:null!==(d=t.showReminderModal)&&void 0!==d?d:async t=>e(new a.ShowModal(t)),setReminder:null!==(f=t.setReminder)&&void 0!==f?f:async t=>e(new u.SetReminderThroughUI(t)),cancelReminder:null!==(h=t.cancelReminder)&&void 0!==h?h:async t=>e(new u.CancelReminderAndRecreateNotification(t)),raiseAnalyticsEvent:null!==(p=t.raiseAnalyticsEvent)&&void 0!==p?p:async(t,r)=>e(new a.RaiseAnalyticsEvent(t,r))}}))((e=>i.default.createElement(d.WebModalContextProvider,null,i.default.createElement(l.NotificationCardComponent,Object.assign({},e))))),t.NotificationCard.displayName="ConnectedNotificationCard"},4251:(e,t,r)=>{"use strict";t.nextFriday=function(e,t){return(0,n.nextDay)(e,5,t)};var n=r(70064)},4382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetComponentMap=void 0;const n=r(33713),o=r(62391),i=r(71351),a=r(13786),s=r(59594),l=r(26906),c=r(60714),u=r(95718),d=r(96318);t.WidgetComponentMap={[n.WidgetType.Number]:o.NumberWidgetComponent,[n.WidgetType.Toggle]:a.ToggleWidgetComponent,[n.WidgetType.Checkbox]:i.CheckboxWidgetComponent,[n.WidgetType.Date]:s.DateWidgetComponent,[n.WidgetType.CheckboxGroup]:l.CheckboxGroupWidgetComponent,[n.WidgetType.RadioGroup]:c.RadioGroupWidgetComponent,[n.WidgetType.Dropdown]:u.DropdownWidgetComponent,[n.WidgetType.Text]:o.TextWidgetComponent,[n.WidgetType.Time]:d.TimeWidgetComponent}},4395:(e,t,r)=>{"use strict";t.setDay=function(e,t,r){const a=(0,n.getDefaultOptions)(),s=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,i.toDate)(e,r?.in),c=l.getDay(),u=7-s,d=t<0||t>6?t-(c+u)%7:((t%7+7)%7+u)%7-(c+u)%7;return(0,o.addDays)(l,d,r)};var n=r(96755),o=r(77591),i=r(34446)},4509:(e,t,r)=>{var n=r(12651);e.exports=function(e){return n(this,e).has(e)}},4638:(e,t,r)=>{"use strict";t.secondsToMinutes=function(e){const t=e/n.secondsInMinute;return Math.trunc(t)};var n=r(78052)},4650:(e,t,r)=>{"use strict";t.endOfISOWeek=function(e,t){return(0,n.endOfWeek)(e,{...t,weekStartsOn:1})};var n=r(61587)},4664:(e,t,r)=>{var n=r(79770),o=r(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},4875:(e,t,r)=>{"use strict";t.differenceInCalendarYears=function(e,t,r){const[o,i]=(0,n.normalizeDates)(r?.in,e,t);return o.getFullYear()-i.getFullYear()};var n=r(8256)},4879:(e,t,r)=>{"use strict";t.isEqual=function(e,t){return+(0,n.toDate)(e)==+(0,n.toDate)(t)};var n=r(34446)},4901:(e,t,r)=>{var n=r(72552),o=r(30294),i=r(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},5046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useValidation=void 0;const n=r(96540);t.useValidation=(e,t)=>{const[r,o]=(0,n.useState)(""),[i,a]=(0,n.useState)(!0),[s,l]=(0,n.useState)(t);return(0,n.useEffect)((()=>{const t=e(s);o(t),a(!t)}),[s,e]),{value:s,message:r,isValid:i,updateValue:l}}},5154:(e,t,r)=>{"use strict";t.setSeconds=function(e,t,r){const o=(0,n.toDate)(e,r?.in);return o.setSeconds(t),o};var n=r(34446)},5206:(e,t,r)=>{"use strict";t.formatDistanceStrict=function(e,t,r){const u=(0,o.getDefaultOptions)(),d=r?.locale??u.locale??n.defaultLocale,f=(0,l.compareAsc)(e,t);if(isNaN(f))throw new RangeError("Invalid time value");const h=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:f}),[p,g]=(0,s.normalizeDates)(r?.in,...f>0?[t,e]:[e,t]),m=(0,i.getRoundingMethod)(r?.roundingMethod??"round"),v=g.getTime()-p.getTime(),b=v/c.millisecondsInMinute,y=(v-((0,a.getTimezoneOffsetInMilliseconds)(g)-(0,a.getTimezoneOffsetInMilliseconds)(p)))/c.millisecondsInMinute,C=r?.unit;let w;if(w=C||(b<1?"second":b<60?"minute":b<c.minutesInDay?"hour":y<c.minutesInMonth?"day":y<c.minutesInYear?"month":"year"),"second"===w){const e=m(v/1e3);return d.formatDistance("xSeconds",e,h)}if("minute"===w){const e=m(b);return d.formatDistance("xMinutes",e,h)}if("hour"===w){const e=m(b/60);return d.formatDistance("xHours",e,h)}if("day"===w){const e=m(y/c.minutesInDay);return d.formatDistance("xDays",e,h)}if("month"===w){const e=m(y/c.minutesInMonth);return 12===e&&"month"!==C?d.formatDistance("xYears",1,h):d.formatDistance("xMonths",e,h)}{const e=m(y/c.minutesInYear);return d.formatDistance("xYears",e,h)}};var n=r(89577),o=r(96755),i=r(1331),a=r(16339),s=r(8256),l=r(86789),c=r(78052)},5265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyServiceIdentifier=t.LazyServiceIdentifier=void 0;const n=r(11446);Object.defineProperty(t,"stringifyServiceIdentifier",{enumerable:!0,get:function(){return n.stringifyServiceIdentifier}});const o=r(82151);Object.defineProperty(t,"LazyServiceIdentifier",{enumerable:!0,get:function(){return o.LazyServiceIdentifier}})},5299:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(76709),t),o(r(50492),t),o(r(23297),t),o(r(22022),t),o(r(44186),t)},5338:(e,t,r)=>{"use strict";var n=r(40961);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},5456:(e,t,r)=>{"use strict";t.eachWeekendOfMonth=function(e,t){const r=(0,i.startOfMonth)(e,t),a=(0,o.endOfMonth)(e,t);return(0,n.eachWeekendOfInterval)({start:r,end:a},t)};var n=r(39305),o=r(51291),i=r(67710)},5513:(e,t,r)=>{"use strict";t.Parser=void 0;var n=r(97861);t.Parser=class{run(e,t,r,o){const i=this.parse(e,t,r,o);return i?{setter:new n.ValueSetter(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,r){return!0}}},5556:(e,t,r)=>{e.exports=r(2694)()},5626:(e,t,r)=>{"use strict";t.isSameISOWeek=function(e,t,r){return(0,n.isSameWeek)(e,t,{...r,weekStartsOn:1})};var n=r(30659)},5778:(e,t)=>{"use strict";const r={};function n(e,t){"string"!=typeof t&&(t=n.defaultChars);const o=function(e){let t=r[e];if(t)return t;t=r[e]=[];for(let e=0;e<128;e++){const r=String.fromCharCode(e);t.push(r)}for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,(function(e){let t="";for(let r=0,n=e.length;r<n;r+=3){const i=parseInt(e.slice(r+1,r+3),16);if(i<128)t+=o[i];else{if(192==(224&i)&&r+3<n){const n=parseInt(e.slice(r+4,r+6),16);if(128==(192&n)){const e=i<<6&1984|63&n;t+=e<128?"��":String.fromCharCode(e),r+=3;continue}}if(224==(240&i)&&r+6<n){const n=parseInt(e.slice(r+4,r+6),16),o=parseInt(e.slice(r+7,r+9),16);if(128==(192&n)&&128==(192&o)){const e=i<<12&61440|n<<6&4032|63&o;t+=e<2048||e>=55296&&e<=57343?"���":String.fromCharCode(e),r+=6;continue}}if(240==(248&i)&&r+9<n){const n=parseInt(e.slice(r+4,r+6),16),o=parseInt(e.slice(r+7,r+9),16),a=parseInt(e.slice(r+10,r+12),16);if(128==(192&n)&&128==(192&o)&&128==(192&a)){let e=i<<18&1835008|n<<12&258048|o<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}}return t}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="";const o={};function i(e,t,r){"string"!=typeof t&&(r=t,t=i.defaultChars),void 0===r&&(r=!0);const n=function(e){let t=o[e];if(t)return t;t=o[e]=[];for(let e=0;e<128;e++){const r=String.fromCharCode(e);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}(t);let a="";for(let t=0,o=e.length;t<o;t++){const i=e.charCodeAt(t);if(r&&37===i&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3)))a+=e.slice(t,t+3),t+=2;else if(i<128)a+=n[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&t+1<o){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343){a+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}a+="%EF%BF%BD"}else a+=encodeURIComponent(e[t])}return a}function a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()";const s=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(u),f=["%","/","?",";","#"].concat(d),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a.prototype.parse=function(e,t){let r,n,o,i=e;if(i=i.trim(),!t&&1===e.split("#").length){const e=c.exec(i);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=s.exec(i);if(a&&(a=a[0],r=a.toLowerCase(),this.protocol=a,i=i.substr(a.length)),(t||a||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===i.substr(0,2),!o||a&&m[a]||(i=i.substr(2),this.slashes=!0)),!m[a]&&(o||a&&!v[a])){let e,t,r=-1;for(let e=0;e<h.length;e++)n=i.indexOf(h[e]),-1!==n&&(-1===r||n<r)&&(r=n);t=-1===r?i.lastIndexOf("@"):i.lastIndexOf("@",r),-1!==t&&(e=i.slice(0,t),i=i.slice(t+1),this.auth=e),r=-1;for(let e=0;e<f.length;e++)n=i.indexOf(f[e]),-1!==n&&(-1===r||n<r)&&(r=n);-1===r&&(r=i.length),":"===i[r-1]&&r--;const o=i.slice(0,r);i=i.slice(r),this.parseHost(o),this.hostname=this.hostname||"";const a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){const e=this.hostname.split(/\./);for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r&&!r.match(p)){let n="";for(let e=0,t=r.length;e<t;e++)r.charCodeAt(e)>127?n+="x":n+=r[e];if(!n.match(p)){const n=e.slice(0,t),o=e.slice(t+1),a=r.match(g);a&&(n.push(a[1]),o.unshift(a[2])),o.length&&(i=o.join(".")+i),this.hostname=n.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=i.indexOf("#");-1!==l&&(this.hash=i.substr(l),i=i.slice(0,l));const u=i.indexOf("?");return-1!==u&&(this.search=i.substr(u),i=i.slice(0,u)),i&&(this.pathname=i),v[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a.prototype.parseHost=function(e){let t=l.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.decode=n,t.encode=i,t.format=function(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t},t.parse=function(e,t){if(e&&e instanceof a)return e;const r=new a;return r.parse(e,t),r}},5800:(e,t,r)=>{"use strict";t.isToday=function(e,t){return(0,i.isSameDay)((0,n.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var n=r(92956),o=r(2700),i=r(99691)},5861:(e,t,r)=>{var n=r(55580),o=r(68223),i=r(32804),a=r(76545),s=r(28303),l=r(72552),c=r(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",g=c(n),m=c(o),v=c(i),b=c(a),y=c(s),C=l;(n&&C(new n(new ArrayBuffer(1)))!=p||o&&C(new o)!=u||i&&C(i.resolve())!=d||a&&C(new a)!=f||s&&C(new s)!=h)&&(C=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return p;case m:return u;case v:return d;case b:return f;case y:return h}return t}),e.exports=C},5987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var r=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function n(e){for(var n,o="",i=0;null!==(n=t.xmlReplacer.exec(e));){var a=n.index,s=e.charCodeAt(a),l=r.get(s);void 0!==l?(o+=e.substring(i,a)+l,i=a+1):(o+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return o+e.substr(i)}function o(e,t){return function(r){for(var n,o=0,i="";n=e.exec(r);)o!==n.index&&(i+=r.substring(o,n.index)),i+=t.get(n[0].charCodeAt(0)),o=n.index+1;return i+r.substring(o)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=n,t.escape=n,t.escapeUTF8=o(/[&<>'"]/g,r),t.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},6075:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDispatchRequestCustomValidationDebounced=void 0;const n=r(96540),o=r(61225);t.useDispatchRequestCustomValidationDebounced=()=>{const e=(0,o.useDispatch)(),t=(0,n.useRef)(null);return(0,n.useCallback)((r=>{t.current&&window.clearTimeout(t.current),t.current=window.setTimeout((()=>{e(r)}),500)}),[e])}},6289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleActivationStore=void 0;const n=r(93382);class o{_map=new Map;remove(e){const t=this._map.get(e);return void 0===t?this._getEmptyHandlersStore():(this._map.delete(e),t)}addDeactivation(e,t,r){this._getModuleActivationHandlers(e).onDeactivations.add(t,r)}addActivation(e,t,r){this._getModuleActivationHandlers(e).onActivations.add(t,r)}clone(){const e=new o;return this._map.forEach(((t,r)=>{e._map.set(r,{onActivations:t.onActivations.clone(),onDeactivations:t.onDeactivations.clone()})})),e}_getModuleActivationHandlers(e){let t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t}_getEmptyHandlersStore(){return{onActivations:new n.Lookup,onDeactivations:new n.Lookup}}}t.ModuleActivationStore=o},6345:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationsPanel=void 0;const s=r(47250),l=i(r(96540)),c=r(61225),u=a(r(35830)),d=r(64800),f=r(87451),h=r(72471),p=r(54896),g=r(66764),m=r(36834),v=r(68318),b=r(78904),y=r(43264),C=r(40660),w=r(29136),_=r(47586),x=(0,u.default)(s.Box).attrs({className:"notifications-panel-container"})`
17
17
  color: var(--color-shared-notification-text-base);
18
18
  background-color: var(--color-shared-notification-center-background);
19
19
  border: 1px solid var(--color-shared-notification-center-border);
@@ -366,7 +366,7 @@
366
366
  padding: ${e=>e.theme.px.base};
367
367
  padding-top: ${e=>e.theme.px.small};
368
368
  padding-bottom: 0;
369
- `},37633:(e,t,r)=>{"use strict";t.getMilliseconds=function(e){return(0,n.toDate)(e).getMilliseconds()};var n=r(34446)},37676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStickyNotifications=t.getNotifications=t.NotificationToastControlBarAction=t.MinimizeAllToast=t.MinimizeToast=t.ApplyNotificationModifier=t.SubmitNotificationForm=t.initialSortedNotificationsState=void 0;const n=r(5299),o=r(42885),i=r(26012);t.initialSortedNotificationsState={byId:{},byApplication:{},byStream:{}};class a extends n.KeyedAction{constructor(e,t,r){super("notifications"),this.notification=e,this.form=t,this.button=r}}t.SubmitNotificationForm=a;class s extends n.KeyedAction{constructor(e,t){super("notifications"),this.modifiers=t,this.notification=Object.assign(Object.assign({},e),{modifiers:Object.assign({},t)})}reduce(e){const{id:t}=this.notification,r=[...e],n=[...e].findIndex((e=>e.id===t)),o=Object.assign(Object.assign({},r[n]),{modifiers:this.modifiers});return r[n]=o,r}}t.ApplyNotificationModifier=s;class l extends n.Action{constructor(e){super(),this.notification=e}async call(e,t){(0,i.isSticky)(this.notification.notification)&&await e.dispatch(new s(this.notification,{notSticky:!0})),await t()}reduce(e){const{notification:t}=this;return(0,i.isSticky)(t.notification)?Object.assign(Object.assign({},e),{stickyNotifications:[...e.stickyNotifications.filter((e=>e.id!==t.id))]}):e}}t.MinimizeToast=l;class c extends n.Action{constructor(e){super(),this.notifications=e}async call(e,t){const r=this.notifications.map((async t=>{await e.dispatch(new l(t))}));await Promise.all(r),await t()}reduce(e){return e}}t.MinimizeAllToast=c;class u extends n.Action{constructor(e){super(),this.action=e}}t.NotificationToastControlBarAction=u,t.getNotifications=e=>e.notifications,t.getStickyNotifications=(0,o.createSelector)(t.getNotifications,(e=>e.filter((e=>{var t;return(0,i.isSticky)(e.notification)&&!(null===(t=e.modifiers)||void 0===t?void 0:t.notSticky)}))))},37724:(e,t,r)=>{"use strict";t.nextThursday=function(e,t){return(0,n.nextDay)(e,4,t)};var n=r(70064)},37763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.id=function(){return r++};let r=0},37828:(e,t,r)=>{var n=r(9325).Uint8Array;e.exports=n},37838:(e,t,r)=>{"use strict";t.eachQuarterOfInterval=function(e,t){const{start:r,end:s}=(0,n.normalizeInterval)(t?.in,e);let l=+r>+s;const c=l?+(0,a.startOfQuarter)(r):+(0,a.startOfQuarter)(s);let u=l?(0,a.startOfQuarter)(s):(0,a.startOfQuarter)(r),d=t?.step??1;if(!d)return[];d<0&&(d=-d,l=!l);const f=[];for(;+u<=c;)f.push((0,i.constructFrom)(r,u)),u=(0,o.addQuarters)(u,d);return l?f.reverse():f};var n=r(18290),o=r(21149),i=r(92956),a=r(16944)},37869:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.activeStartDate,r=e.locale,i=e.onMouseLeave,f=e.showFixedNumberOfWeeks,h=e.calendarType,p=void 0===h?function(e){if(e)for(var t=0,r=Object.entries(d.CALENDAR_TYPE_LOCALES);t<r.length;t++){var n=r[t],o=n[0];if(n[1].includes(e))return o}return d.CALENDAR_TYPES.ISO_8601}(r):h,g=e.formatShortWeekday,m=e.formatWeekday,v=e.onClickWeekNumber,b=e.showWeekNumbers,y=o(e,["calendarType","formatShortWeekday","formatWeekday","onClickWeekNumber","showWeekNumbers"]),C="react-calendar__month-view";return(0,a.jsx)("div",{className:(0,s.default)(C,b?"".concat(C,"--weekNumbers"):""),children:(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-end"},children:[b?(0,a.jsx)(u.default,{activeStartDate:t,calendarType:p,onClickWeekNumber:v,onMouseLeave:i,showFixedNumberOfWeeks:f}):null,(0,a.jsxs)("div",{style:{flexGrow:1,width:"100%"},children:[(0,a.jsx)(c.default,{calendarType:p,formatShortWeekday:g,formatWeekday:m,locale:r,onMouseLeave:i}),(0,a.jsx)(l.default,n({calendarType:p},y))]})]})})};var a=r(74848),s=i(r(71508)),l=i(r(80015)),c=i(r(3871)),u=i(r(12188)),d=r(70821)},37893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBaseType=function(e){const t=Object.getPrototypeOf(e.prototype),r=t?.constructor;return r}},38122:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YearView=t.Navigation=t.MonthView=t.DecadeView=t.CenturyView=t.Calendar=void 0;var o=n(r(32562));t.Calendar=o.default;var i=n(r(13863));t.CenturyView=i.default;var a=n(r(31057));t.DecadeView=a.default;var s=n(r(37869));t.MonthView=s.default;var l=n(r(48391));t.Navigation=l.default;var c=n(r(36348));t.YearView=c.default,t.default=o.default},38320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateReminder=t.TimeoutReminder=t.CancelReminderAndRecreateNotification=t.CancelReminder=t.SetReminderThroughUI=t.SetReminder=void 0;const n=r(5299),o=r(50768),i=r(87031),a=r(87451),s=r(87234);class l extends n.KeyedAction{constructor(e){super("reminders"),this.reminder=e}async call(e,t){const r=e.state.reminders.find((e=>e.id===this.reminder.id));r&&await e.dispatch(new c(r)),e.state.notifications.some((e=>e.id===this.reminder.id))&&await e.dispatch(new a.RemoveNotifications([this.reminder])),await t()}reduce(e){return[...e,this.reminder]}}t.SetReminder=l,t.SetReminderThroughUI=class extends l{constructor(e){super(e),this.reminder=e}async call(e,t){await super.call(e,t),e.state.settings.tutorials.reminders||(await e.dispatch(new a.CreateNotification((0,o.makeRemindersTutorialNotification)(this.reminder.notification.icon,this.reminder.source))),await e.dispatch(new s.RemindersTutorialComplete))}};class c extends n.KeyedAction{constructor(e){super("reminders"),this.reminder=e}reduce(e){return e.filter((e=>e.id!==this.reminder.id))}}t.CancelReminder=c,t.CancelReminderAndRecreateNotification=class extends c{constructor(e){super(e),this.reminder=e}async call(e,t){const r=Object.assign({},this.reminder.modifiers);delete r.reminder,await e.dispatch(new a.CreateNotification(Object.assign(Object.assign({},this.reminder),{modifiers:r}))),await t()}reduce(e){return super.reduce(e)}};class u extends n.KeyedAction{constructor(e){super("reminders"),this.reminderId=e}async call(e,t){const r=e.state.reminders.find((e=>e.id===this.reminderId));r?(await e.dispatch(new a.CreateNotification(r)),await t()):console.warn(`Reminder(${this.reminderId}) was not found in the store.`)}reduce(e){return e.filter((e=>e.id!==this.reminderId))}}t.TimeoutReminder=u;class d extends n.KeyedAction{constructor(e){super("reminders"),this.updatePayload=e,this._updatedReminder=null}get updatedReminder(){return this._updatedReminder}reduce(e){const t=[...e];return this._updatedReminder=(0,i.updateCollection)(t,this.updatePayload),[...t]}}t.UpdateReminder=d},38542:(e,t,r)=>{"use strict";t.subQuarters=function(e,t,r){return(0,n.addQuarters)(e,-t,r)};var n=r(21149)},38630:(e,t,r)=>{var n;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=o(e);function o(e,t){return function(r,n){Object.defineProperty(e,r,{configurable:!0,writable:!0,value:n}),t&&t(r,n)}}void 0!==t.Reflect&&(n=o(t.Reflect,n)),function(e,t){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,s={__proto__:[]}instanceof Array,l=!a&&!s,c={create:a?function(){return $(Object.create(null))}:s?function(){return $({__proto__:null})}:function(){return $({})},has:l?function(e,t){return r.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return r.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),d="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],r=function(){function e(e,t,r){this._index=0,this._keys=e,this._values=t,this._selector=r}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var r=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var r=this._find(e,!0);return this._values[r]=t,this},t.prototype.delete=function(t){var r=this._find(t,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o<n;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,A(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new r(this._keys,this._values,n)},t.prototype.values=function(){return new r(this._keys,this._values,o)},t.prototype.entries=function(){return new r(this._keys,this._values,a)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[i]=function(){return this.entries()},t.prototype._find=function(e,t){if(!A(this._cacheKey,e)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(A(this._keys[r],e)){this._cacheIndex=r;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function n(e,t){return e}function o(e,t){return t}function a(e,t){return[e,t]}}(),f="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new d}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[i]=function(){return this.keys()},e}(),h="function"==typeof WeakMap?WeakMap:function(){var e=c.create(),t=n();return function(){function e(){this._key=n()}return e.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=o(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return o(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=n()},e}();function n(){var t;do{t="@@WeakMap@@"+a()}while(c.has(e,t));return e[t]=!0,t}function o(e,n){if(!r.call(e,t)){if(!n)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function i(e,t){for(var r=0;r<t;++r)e[r]=255*Math.random()|0;return e}function a(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):i(t,e),t}return i(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",r=0;r<16;++r){var n=e[r];4!==r&&6!==r&&8!==r||(t+="-"),n<16&&(t+="0"),t+=n.toString(16).toLowerCase()}return t}}(),p=n?Symbol.for("@reflect-metadata:registry"):void 0,g=function(){var e;return!E(p)&&k(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[p]),E(e)&&(e=function(){var e,r,n,o;E(p)||void 0===t.Reflect||p in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,r=e.hasOwnMetadata,n=e.getOwnMetadata,o=e.getOwnMetadataKeys,i=e.deleteMetadata,a=new h;return{isProviderFor:function(e,t){var r=a.get(e);return!(E(r)||!r.has(t))||!!o(e,t).length&&(E(r)&&(r=new f,a.set(e,r)),r.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:i}}(t.Reflect));var i=new h,a={registerProvider:s,getProvider:c,setProvider:g};return a;function s(t){if(!Object.isExtensible(a))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case E(r):r=t;break;case r===t:break;case E(n):n=t;break;case n===t:break;default:void 0===o&&(o=new f),o.add(t)}}function l(t,i){if(!E(r)){if(r.isProviderFor(t,i))return r;if(!E(n)){if(n.isProviderFor(t,i))return r;if(!E(o))for(var a=R(o);;){var s=F(a);if(!s)return;var l=N(s);if(l.isProviderFor(t,i))return H(a),l}}}if(!E(e)&&e.isProviderFor(t,i))return e}function c(e,t){var r,n=i.get(e);return E(n)||(r=n.get(t)),E(r)?(E(r=l(e,t))||(E(n)&&(n=new d,i.set(e,n)),n.set(t,r)),r):r}function u(e){if(E(e))throw new TypeError;return r===e||n===e||!E(o)&&o.has(e)}function g(e,t,r){if(!u(r))throw new Error("Metadata provider not registered.");var n=c(e,t);if(n!==r){if(!E(n))return!1;var o=i.get(e);E(o)&&(o=new d,i.set(e,o)),o.set(t,r)}return!0}}()),!E(p)&&k(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,p,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new h,r={isProviderFor:function(e,r){var n=t.get(e);return!E(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(e,t,r,o){n(r,o,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,r){var o=n(t,r,!1);return!E(o)&&j(o.has(e))},OrdinaryGetOwnMetadata:function(e,t,r){var o=n(t,r,!1);if(!E(o))return o.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var r=[],o=n(e,t,!1);if(E(o))return r;for(var i=R(o.keys()),a=0;;){var s=F(i);if(!s)return r.length=a,r;var l=N(s);try{r[a]=l}catch(e){try{H(i)}finally{throw e}}a++}},OrdinaryDeleteMetadata:function(e,r,o){var i=n(r,o,!1);if(E(i))return!1;if(!i.delete(e))return!1;if(0===i.size){var a=t.get(r);E(a)||(a.delete(o),0===a.size&&t.delete(a))}return!0}};return g.registerProvider(r),r;function n(n,o,i){var a=t.get(n),s=!1;if(E(a)){if(!i)return;a=new d,t.set(n,a),s=!0}var l=a.get(o);if(E(l)){if(!i)return;if(l=new d,a.set(o,l),!e.setProvider(n,o,r))throw a.delete(o),s&&t.delete(n),new Error("Wrong provider for target.")}return l}}(g);function v(e,t,r){if(b(e,t,r))return!0;var n=V(t);return!M(n)&&v(e,n,r)}function b(e,t,r){var n=B(t,r,!1);return!E(n)&&j(n.OrdinaryHasOwnMetadata(e,t,r))}function y(e,t,r){if(b(e,t,r))return C(e,t,r);var n=V(t);return M(n)?void 0:y(e,n,r)}function C(e,t,r){var n=B(t,r,!1);if(!E(n))return n.OrdinaryGetOwnMetadata(e,t,r)}function w(e,t,r,n){B(r,n,!0).OrdinaryDefineOwnMetadata(e,t,r,n)}function _(e,t){var r=x(e,t),n=V(e);if(null===n)return r;var o=_(n,t);if(o.length<=0)return r;if(r.length<=0)return o;for(var i=new f,a=[],s=0,l=r;s<l.length;s++){var c=l[s];i.has(c)||(i.add(c),a.push(c))}for(var u=0,d=o;u<d.length;u++)c=d[u],i.has(c)||(i.add(c),a.push(c));return a}function x(e,t){var r=B(e,t,!1);return r?r.OrdinaryOwnMetadataKeys(e,t):[]}function O(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function E(e){return void 0===e}function M(e){return null===e}function k(e){return"object"==typeof e?null!==e:"function"==typeof e}function S(e,t){switch(O(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var r=3===t?"string":5===t?"number":"default",n=I(e,o);if(void 0!==n){var i=n.call(e,r);if(k(i))throw new TypeError;return i}return function(e,t){if("string"===t){var r=e.toString;if(D(r)&&!k(o=r.call(e)))return o;if(D(n=e.valueOf)&&!k(o=n.call(e)))return o}else{var n;if(D(n=e.valueOf)&&!k(o=n.call(e)))return o;var o,i=e.toString;if(D(i)&&!k(o=i.call(e)))return o}throw new TypeError}(e,"default"===r?"number":r)}function j(e){return!!e}function P(e){var t=S(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function D(e){return"function"==typeof e}function L(e){return"function"==typeof e}function A(e,t){return e===t||e!=e&&t!=t}function I(e,t){var r=e[t];if(null!=r){if(!D(r))throw new TypeError;return r}}function R(e){var t=I(e,i);if(!D(t))throw new TypeError;var r=t.call(e);if(!k(r))throw new TypeError;return r}function N(e){return e.value}function F(e){var t=e.next();return!t.done&&t}function H(e){var t=e.return;t&&t.call(e)}function V(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===u)return t;if(t!==u)return t;var r=e.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return t;var o=n.constructor;return"function"!=typeof o||o===e?t:o}function B(e,t,r){var n=g.getProvider(e,t);if(!E(n))return n;if(r){if(g.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function $(e){return e.__=void 0,delete e.__,e}e("decorate",(function(e,t,r,n){if(E(r)){if(!T(e))throw new TypeError;if(!L(t))throw new TypeError;return function(e,t){for(var r=e.length-1;r>=0;--r){var n=(0,e[r])(t);if(!E(n)&&!M(n)){if(!L(n))throw new TypeError;t=n}}return t}(e,t)}if(!T(e))throw new TypeError;if(!k(t))throw new TypeError;if(!k(n)&&!E(n)&&!M(n))throw new TypeError;return M(n)&&(n=void 0),function(e,t,r,n){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,r,n);if(!E(i)&&!M(i)){if(!k(i))throw new TypeError;n=i}}return n}(e,t,r=P(r),n)})),e("metadata",(function(e,t){return function(r,n){if(!k(r))throw new TypeError;if(!E(n)&&!function(e){switch(O(e)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;w(e,t,r,n)}})),e("defineMetadata",(function(e,t,r,n){if(!k(r))throw new TypeError;return E(n)||(n=P(n)),w(e,t,r,n)})),e("hasMetadata",(function(e,t,r){if(!k(t))throw new TypeError;return E(r)||(r=P(r)),v(e,t,r)})),e("hasOwnMetadata",(function(e,t,r){if(!k(t))throw new TypeError;return E(r)||(r=P(r)),b(e,t,r)})),e("getMetadata",(function(e,t,r){if(!k(t))throw new TypeError;return E(r)||(r=P(r)),y(e,t,r)})),e("getOwnMetadata",(function(e,t,r){if(!k(t))throw new TypeError;return E(r)||(r=P(r)),C(e,t,r)})),e("getMetadataKeys",(function(e,t){if(!k(e))throw new TypeError;return E(t)||(t=P(t)),_(e,t)})),e("getOwnMetadataKeys",(function(e,t){if(!k(e))throw new TypeError;return E(t)||(t=P(t)),x(e,t)})),e("deleteMetadata",(function(e,t,r){if(!k(t))throw new TypeError;if(E(r)||(r=P(r)),!k(t))throw new TypeError;E(r)||(r=P(r));var n=B(t,r,!1);return!E(n)&&n.OrdinaryDeleteMetadata(e,t,r)}))}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(n||(n={}))},38859:(e,t,r)=>{var n=r(53661),o=r(31380),i=r(51459);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},38873:(e,t,r)=>{"use strict";t.max=function(e,t){let r,i=t?.in;return e.forEach((e=>{i||"object"!=typeof e||(i=n.constructFrom.bind(null,e));const t=(0,o.toDate)(e,i);(!r||r<t||isNaN(+t))&&(r=t)})),(0,n.constructFrom)(i,r||NaN)};var n=r(92956),o=r(34446)},38996:(e,t,r)=>{"use strict";t.eachHourOfInterval=function(e,t){const{start:r,end:i}=(0,n.normalizeInterval)(t?.in,e);let a=+r>+i;const s=a?+r:+i,l=a?i:r;l.setMinutes(0,0,0);let c=t?.step??1;if(!c)return[];c<0&&(c=-c,a=!a);const u=[];for(;+l<=s;)u.push((0,o.constructFrom)(r,l)),l.setHours(l.getHours()+c);return a?u.reverse():u};var n=r(18290),o=r(92956)},39034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(94037);const o=n.memo((()=>void 0!==window.ScrollTimeline));class i{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e,t){const r=this.animations.map((r=>o()&&r.attachTimeline?r.attachTimeline(e):"function"==typeof t?t(r):void 0));return()=>{r.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function a(e,t){return e?e[t]||e.default||e:void 0}const s=2e4;function l(e){let t=0,r=e.next(t);for(;!r.done&&t<s;)t+=50,r=e.next(t);return t>=s?1/0:t}function c(e,t=100,r){const o=r({...e,keyframes:[0,t]}),i=Math.min(l(o),s);return{type:"keyframes",ease:e=>o.next(i*e).value/t,duration:n.millisecondsToSeconds(i)}}function u(e){return"function"==typeof e}function d(e,t){e.timeline=t,e.onfinish=null}class f{constructor(e){this.animation=e}get duration(){var e,t,r;const o=(null===(t=null===(e=this.animation)||void 0===e?void 0:e.effect)||void 0===t?void 0:t.getComputedTiming().duration)||(null===(r=this.options)||void 0===r?void 0:r.duration)||300;return n.millisecondsToSeconds(Number(o))}get time(){var e;return this.animation?n.millisecondsToSeconds((null===(e=this.animation)||void 0===e?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=n.secondsToMilliseconds(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var e;this.animation&&(null===(e=this.animation.effect)||void 0===e||e.updateTiming({easing:"linear"}))}attachTimeline(e){return this.animation&&d(this.animation,e),n.noop}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch(e){}}}const h=e=>Array.isArray(e)&&"number"==typeof e[0],p={linearEasing:void 0};function g(e,t){const r=n.memo(e);return()=>{var e;return null!==(e=p[t])&&void 0!==e?e:r()}}const m=g((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),v=(e,t,r=10)=>{let o="";const i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)o+=e(n.progress(0,i-1,t))+", ";return`linear(${o.substring(0,o.length-2)})`},b=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,y={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:b([0,.65,.55,1]),circOut:b([.55,0,1,.45]),backIn:b([.31,.01,.66,-.59]),backOut:b([.33,1.53,.69,.99])};function C(e,t){return e?"function"==typeof e&&m()?v(e,t):h(e)?b(e):Array.isArray(e)?e.map((e=>C(e,t)||y.easeOut)):y[e]:void 0}const w={x:!1,y:!1};function _(){return w.x||w.y}function x(e,t,r){var n;if(e instanceof Element)return[e];if("string"==typeof e){let o=document;t&&(o=t.current);const i=null!==(n=null==r?void 0:r[e])&&void 0!==n?n:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function O(e,t){const r=x(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function E(e){return t=>{"touch"===t.pointerType||_()||e(t)}}const M=(e,t)=>!!t&&(e===t||M(e,t.parentElement)),k=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,S=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),j=new WeakSet;function P(e){return t=>{"Enter"===t.key&&e(t)}}function T(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function D(e){return k(e)&&!_()}const L="easeOut";function A(e){var t;if(u(e.type)){const t=c(e,100,e.type);e.ease=m()?t.ease:L,e.duration=n.secondsToMilliseconds(t.duration),e.type="keyframes"}else e.duration=n.secondsToMilliseconds(null!==(t=e.duration)&&void 0!==t?t:.3),e.ease=e.ease||L}class I extends f{constructor(e,t,r,o,i){const a=function(e,t,r){var o;const i={},a={fill:"both",easing:"linear",composite:"replace"};a.delay=n.secondsToMilliseconds(null!==(o=r.delay)&&void 0!==o?o:0),A(r),a.duration=r.duration;const{ease:s,times:l}=r;l&&(i.offset=l),i[e]=t;const c=C(s,r.duration);return Array.isArray(c)?i.easing=c:a.easing=c,{keyframes:i,options:a}}(r,o,i);super(e.animate(a.keyframes,{pseudoElement:t,...a.options}))}}function R(e){return"layout"===e?"group":"enter"===e||"new"===e?"new":"exit"===e||"old"===e?"old":"group"}let N={},F=null;const H=(e,t)=>{N[e]=t};function V(e){const t=e.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);return t?{layer:t[2],type:t[1]}:null}function B(e){var t;const{effect:r}=e;return!!r&&r.target===document.documentElement&&(null===(t=r.pseudoElement)||void 0===t?void 0:t.startsWith("::view-transition"))}const $=["layout","enter","exit","new","old"];function z(e,t,r){if(!document.startViewTransition)return new Promise((async t=>{await e(),t(new i([]))}));(function(e,t){return t.has(e)&&Object.keys(t.get(e)).length>0})("root",r)||H(":root",{"view-transition-name":"none"}),H("::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*)",{"animation-timing-function":"linear !important"}),(()=>{F||(F=document.createElement("style"),F.id="motion-view");let e="";for(const t in N){const r=N[t];e+=`${t} {\n`;for(const[t,n]of Object.entries(r))e+=` ${t}: ${n};\n`;e+="}\n"}F.textContent=e,document.head.appendChild(F),N={}})();const o=document.startViewTransition((async()=>{await e()}));return o.finished.finally((()=>{F&&F.parentElement&&F.parentElement.removeChild(F)})),new Promise((e=>{o.ready.then((()=>{var o;const s=document.getAnimations().filter(B),l=[];r.forEach(((e,r)=>{for(const n of $){if(!e[n])continue;const{keyframes:o,options:i}=e[n];for(let[e,s]of Object.entries(o)){if(!s)continue;const o={...a(t,e),...a(i,e)},c=R(n);"opacity"!==e||Array.isArray(s)||(s=["new"===c?0:1,s]),"function"==typeof o.delay&&(o.delay=o.delay(0,1));const u=new I(document.documentElement,`::view-transition-${c}(${r})`,e,s,o);l.push(u)}}}));for(const e of s){if("finished"===e.playState)continue;const{effect:i}=e;if(!(i&&i instanceof KeyframeEffect))continue;const{pseudoElement:s}=i;if(!s)continue;const c=V(s);if(!c)continue;const u=r.get(c.layer);if(u)Z(u,"enter")&&Z(u,"exit")&&i.getKeyframes().some((e=>e.mixBlendMode))?l.push(new f(e)):e.cancel();else{const r="group"===c.type?"layout":"",s={...a(t,r)};A(s);const u=C(s.ease,s.duration);i.updateTiming({delay:n.secondsToMilliseconds(null!==(o=s.delay)&&void 0!==o?o:0),duration:s.duration,easing:u}),l.push(new f(e))}}e(new i(l))}))}))}function Z(e,t){var r;return null===(r=null==e?void 0:e[t])||void 0===r?void 0:r.keyframes.opacity}class U{constructor(e,t={}){this.currentTarget="root",this.targets=new Map,this.notifyReady=n.noop,this.readyPromise=new Promise((e=>{this.notifyReady=e})),queueMicrotask((()=>{z(e,t,this.targets).then((e=>this.notifyReady(e)))}))}get(e){return this.currentTarget=e,this}layout(e,t){return this.updateTarget("layout",e,t),this}new(e,t){return this.updateTarget("new",e,t),this}old(e,t){return this.updateTarget("old",e,t),this}enter(e,t){return this.updateTarget("enter",e,t),this}exit(e,t){return this.updateTarget("exit",e,t),this}crossfade(e){return this.updateTarget("enter",{opacity:1},e),this.updateTarget("exit",{opacity:0},e),this}updateTarget(e,t,r={}){const{currentTarget:n,targets:o}=this;o.has(n)||o.set(n,{}),o.get(n)[e]={keyframes:t,options:r}}then(e,t){return this.readyPromise.then(e,t)}}t.GroupPlaybackControls=class extends i{then(e,t){return Promise.all(this.animations).then(e).catch(t)}},t.NativeAnimationControls=f,t.ViewTransitionBuilder=U,t.attachTimeline=d,t.calcGeneratorDuration=l,t.createGeneratorEasing=c,t.cubicBezierAsString=b,t.generateLinearEasing=v,t.getValueTransition=a,t.hover=function(e,t,r={}){const[n,o,i]=O(e,r),a=E((e=>{const{target:r}=e,n=t(e);if("function"!=typeof n||!r)return;const i=E((e=>{n(e),r.removeEventListener("pointerleave",i)}));r.addEventListener("pointerleave",i,o)}));return n.forEach((e=>{e.addEventListener("pointerenter",a,o)})),i},t.isBezierDefinition=h,t.isDragActive=_,t.isDragging=w,t.isGenerator=u,t.isNodeOrChild=M,t.isPrimaryPointer=k,t.isWaapiSupportedEasing=function e(t){return Boolean("function"==typeof t&&m()||!t||"string"==typeof t&&(t in y||m())||h(t)||Array.isArray(t)&&t.every(e))},t.mapEasingToNativeEasing=C,t.maxGeneratorDuration=s,t.press=function(e,t,r={}){const[n,o,i]=O(e,r),a=e=>{const n=e.currentTarget;if(!D(e)||j.has(n))return;j.add(n);const i=t(e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),D(e)&&j.has(n)&&(j.delete(n),"function"==typeof i&&i(e,{success:t}))},s=e=>{a(e,r.useGlobalTarget||M(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",l,o)};return n.forEach((e=>{(function(e){return S.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(r.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),e.addEventListener("focus",(e=>((e,t)=>{const r=e.currentTarget;if(!r)return;const n=P((()=>{if(j.has(r))return;T(r,"down");const e=P((()=>{T(r,"up")}));r.addEventListener("keyup",e,t),r.addEventListener("blur",(()=>T(r,"cancel")),t)}));r.addEventListener("keydown",n,t),r.addEventListener("blur",(()=>r.removeEventListener("keydown",n)),t)})(e,o)),o)})),i},t.resolveElements=x,t.setDragLock=function(e){return"x"===e||"y"===e?w[e]?null:(w[e]=!0,()=>{w[e]=!1}):w.x||w.y?null:(w.x=w.y=!0,()=>{w.x=w.y=!1})},t.supportedWaapiEasing=y,t.supportsFlags=p,t.supportsLinearEasing=m,t.supportsScrollTimeline=o,t.view=function(e,t={}){return new U(e,t)}},39105:(e,t,r)=>{"use strict";t.isThisMonth=function(e,t){return(0,i.isSameMonth)((0,n.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var n=r(92956),o=r(2700),i=r(59019)},39305:(e,t,r)=>{"use strict";t.eachWeekendOfInterval=function(e,t){const{start:r,end:s}=(0,n.normalizeInterval)(t?.in,e),l=(0,i.eachDayOfInterval)({start:r,end:s},t),c=[];let u=0;for(;u<l.length;){const e=l[u++];(0,a.isWeekend)(e)&&c.push((0,o.constructFrom)(r,e))}return c};var n=r(18290),o=r(92956),i=r(83700),a=r(43348)},39316:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>i});var o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=n((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},39859:(e,t,r)=>{"use strict";t.roundToNearestHours=function(e,t){const r=t?.nearestTo??1;if(r<1||r>12)return(0,o.constructFrom)(t?.in||e,NaN);const a=(0,i.toDate)(e,t?.in),s=a.getMinutes()/60,l=a.getSeconds()/60/60,c=a.getMilliseconds()/1e3/60/60,u=a.getHours()+s+l+c,d=t?.roundingMethod??"round",f=(0,n.getRoundingMethod)(d)(u/r)*r;return a.setHours(f,0,0,0),a};var n=r(1331),o=r(92956),i=r(34446)},39897:function(e,t,r){"use strict";var n,o,i=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ClientController=void 0;const c=r(40707),u=r(64854),d=r(87451),f=r(58684),h=r(37676),p=r(38320),g=r(84673),m=r(50768),v=r(87234),b=r(47202),y=r(76858),C=r(52650),w=l(r(25858));let _=class{constructor(e,t){this._providersById=new Map,this._providersByUUID=new Map,this._topics=new Map,this._throttledBroadcastNotificationCount=(0,w.default)((()=>this.broardcastAction("notifications-count-changed")),1e3),this._throttledNotificationSoundChanged=(0,w.default)((()=>this.broardcastAction("notification-sound-toggled")),1e3),this._store=e,this._apiHandler=t,this._apiHandler.onConnection.add(this.onConnection,this),this._apiHandler.onDisconnection.add(this.onDisconnection,this),e.onAction.add(this.onAction.bind(this))}async onAction(e){e instanceof d.CreateNotification?await this.onCreateNotifications(e):e instanceof d.RemoveNotifications?await this.onRemoveNotifications(e):e instanceof p.SetReminder?await this.onSetReminder(e):e instanceof p.CancelReminder?await this.onCancelReminder(e):e instanceof d.ClickButton?await this.onClickButton(e):e instanceof d.ClickFragment?await this.onClickFragment(e):e instanceof d.ClickNotification?await this.onClickNotification(e):e instanceof d.ExpireNotification?await this.onExpireNotification(e):e instanceof h.SubmitNotificationForm?await this.onSubmitNotificationForm(e):e instanceof f.RequestNotificationFormCustomValidation&&await this.onRequestNotificationFormCustomValidation(e),(e instanceof d.CreateNotification||e instanceof d.RemoveNotifications)&&this._throttledBroadcastNotificationCount(),e instanceof v.ToggleNotificationSound&&this._throttledNotificationSoundChanged()}async onCreateNotifications(e){const{notification:t,source:r}=e.notification;if((0,m.isTutorialNotification)(e.notification))return;const n={target:"default",type:"notification-created",notification:(0,g.mutable)(t)};await this.dispatchAction(r,n)}async onRemoveNotifications(e){const{notifications:t}=e;await Promise.all(t.map((async e=>{const{notification:t,source:r}=e;if((0,m.isTutorialNotification)(e))return;if(null!==t.onClose){const e={target:"default",type:"notification-action",trigger:c.ActionTrigger.CLOSE,notification:(0,g.mutable)(t),source:r,result:t.onClose};await this.dispatchAction(r,e)}const n={target:"default",type:"notification-closed",notification:(0,g.mutable)(t)};await this.dispatchAction(r,n)})))}async onSetReminder(e){const{notification:t,source:r,modifiers:n}=e.reminder,o={target:"default",type:"notification-reminder-created",notification:(0,g.mutable)(t),reminderDate:n.reminder};await this.dispatchAction(r,o)}async onCancelReminder(e){const{notification:t,source:r}=e.reminder,n={target:"default",type:"notification-reminder-removed",notification:(0,g.mutable)(t)};await this.dispatchAction(r,n)}async onClickButton(e){const{notification:t,source:r}=e.notification,n=t.buttons[e.buttonIndex];if(!n.onClick)return;if((0,m.isTutorialNotification)(e.notification))return void await(0,m.handleTutorialButtonAction)(n.onClick,this._store);const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:(0,g.mutable)(t),source:r,controlSource:"buttons",controlIndex:e.buttonIndex,result:n.onClick};await this.dispatchAction(r,o)}async onClickFragment(e){const{notification:t,source:r}=e.notification,n=e.fragment;if(!n.onClick)return;const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:Object.assign(Object.assign({},t),{_fragments:[n]}),source:r,controlSource:"_fragments",controlIndex:0,result:n.onClick};await this.dispatchAction(r,o)}async onClickNotification(e){const{notification:t,source:r}=e.notification;if((0,m.isTutorialNotification)(e.notification)||!t.onSelect)return;const n={target:"default",type:"notification-action",trigger:c.ActionTrigger.SELECT,notification:(0,g.mutable)(t),source:r,result:t.onSelect};await this.dispatchAction(r,n)}async onExpireNotification(e){const{notification:t,source:r}=e.notification;if(!t.onExpire)return;const n={target:"default",type:"notification-action",trigger:c.ActionTrigger.EXPIRE,notification:(0,g.mutable)(t),source:r,result:t.onExpire};await this.dispatchAction(r,n)}async onSubmitNotificationForm(e){const{form:t,button:r}=e,{notification:n}=e.notification,o=e.notification.source,i={target:"default",type:"notification-form-submitted",notification:(0,g.mutable)(n),form:t,button:r};await this.dispatchAction(o,i)}async onRequestNotificationFormCustomValidation(e){const{notification:t}=e.notification,r=e.notification.source,n={target:"default",type:"notification-form-values-changed",notification:(0,g.mutable)(t),form:e.form};await this.dispatchAction(r,n)}async dispatchAction(e,t){const r=this._topics.get(t.type);if(r){const n=this.translateProviderIdentityToClientIdentity(e.identity);n&&r.some((e=>e.uuid===n.uuid&&e.name===n.name))&&this._apiHandler.dispatchEvent(n,t)}}async broardcastAction(e){const t=this._topics.get(e);if(t)if("notifications-count-changed"===e){const e={target:"default",type:"notifications-count-changed",count:this._store.state.notifications.length};t.forEach((t=>{this._apiHandler.dispatchEvent(t,e)}))}else if("notification-sound-toggled"===e){const e={target:"default",type:"notification-sound-toggled",notificationSoundEnabled:this._store.state.settings.notificationSoundEnabled};t.forEach((t=>{this._apiHandler.dispatchEvent(t,e)}))}}async onAddEventListener(e,t){this._topics.has(e)||this._topics.set(e,[]);const r=this._topics.get(e);r&&!r.some((e=>e.uuid===t.uuid&&e.name===t.name))&&r.push(t)}async onRemoveEventListener(e,t){const r=this._topics.get(e);r&&this._topics.set(e,r.filter((e=>e.uuid!==t.uuid&&e.name!==t.name)))}async onConnection(e,t){if(!t)throw new Error("Provider information is missing.");await this._store.dispatch(new d.RegisterApplication({type:"web",id:t.id,title:t.title,iconUrl:t.icon,muted:!1,persistToasts:!1}));const r=Object.assign(Object.assign({},e),t);this._providersById.set(t.id,r),this._providersByUUID.set(e.uuid,r)}onDisconnection(e){const t=this._providersByUUID.get(e.uuid);if(t){const r=t.id;this._providersById.delete(r),this._providersByUUID.delete(e.uuid),this._topics.forEach(((t,r)=>{this._topics.set(r,t.filter((t=>t.uuid!==e.uuid)))}))}else console.error(`Client with id {uuid:${e.uuid}, name:${e.name}} was disconnected but could not be found in the connection registry.`)}translateProviderIdentityToClientIdentity(e){const t=this._providersById.get(e.uuid);return t?{uuid:t.uuid,name:t.name}:null}translateClientIdentityToProviderIdentity(e){const t=this._providersByUUID.get(e.uuid);if(t)return{uuid:t.id,name:t.title};throw new Error(`Client with identity={id:${e.uuid}, name:${e.name}}} is not connected.`)}};_=i([(0,C.injectable)(),s(0,(0,C.inject)(b.Inject.STORE)),s(1,(0,C.inject)(b.Inject.API_HANDLER)),a("design:paramtypes",["function"==typeof(n=void 0!==y.WebStore&&y.WebStore)?n:Object,"function"==typeof(o=void 0!==u.APIHandler&&u.APIHandler)?o:Object])],_),t.ClientController=_},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},40651:e=>{e.exports=function(e,t){for(var r=e.split("."),n=t.split("."),o=0;o<3;o++){var i=Number(r[o]),a=Number(n[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return 0}},40660:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryContext=void 0;const a=i(r(96540));t.HistoryContext=a.createContext({})},40707:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.setAllowedOrigins=t.getUserSettingStatus=t.UserSettings=t.getNotificationsCount=t.hide=t.show=t.setDefaultPlatformShortcut=t.toggleNotificationCenter=t.clearAll=t.getAll=t.cancelReminder=t.setReminder=t.clear=t.update=t.create=t.removeEventListener=t.addEventListener=t.VERSION=t.NotificationIndicatorType=t.IndicatorColor=t.NotificationIndicatorWithCustomColor=t.NotificationIndicator=t.NotificationOptions=t.provider=t.actions=void 0;const l=r(86455),c=r(43816),u=r(59603),d=r(33657),f=i(r(46451));t.provider=f;const h=r(28173),p=r(46865);Object.defineProperty(t,"NotificationIndicator",{enumerable:!0,get:function(){return p.NotificationIndicator}}),Object.defineProperty(t,"NotificationIndicatorWithCustomColor",{enumerable:!0,get:function(){return p.NotificationIndicatorWithCustomColor}}),Object.defineProperty(t,"NotificationIndicatorType",{enumerable:!0,get:function(){return p.IndicatorType}}),Object.defineProperty(t,"IndicatorColor",{enumerable:!0,get:function(){return p.IndicatorColor}});const g=r(44415);Object.defineProperty(t,"NotificationOptions",{enumerable:!0,get:function(){return g.NotificationOptions}});const m=i(r(86455));t.actions=m,a(r(86455),t),a(r(87204),t),a(r(50295),t),a(r(68912),t),a(r(13154),t),a(r(75050),t),a(r(90512),t),t.VERSION="2.14.0-alpha-4489";const v=(0,d.getEventRouter)();function b(e){const{notification:t}=e;return Object.assign(Object.assign({},e),{notification:Object.assign(Object.assign({},t),{date:new Date(t.date),expires:null!==t.expires?new Date(t.expires):null})})}v.registerDeserializer("notification-created",(e=>b(e))),v.registerDeserializer("notification-toast-dismissed",(e=>b(e))),v.registerDeserializer("notification-closed",(e=>b(e))),v.registerDeserializer("notification-action",(e=>{var t;const r=b(e),{controlSource:n,controlIndex:o}=r,i=s(r,["controlSource","controlIndex"]);return e.trigger===l.ActionTrigger.CONTROL?Object.assign(Object.assign({},i),{control:null===(t=e.notification[n])||void 0===t?void 0:t[o]}):i})),v.registerDeserializer("notifications-count-changed",(e=>e)),v.registerDeserializer("notification-reminder-created",(e=>{const t=b(e),{reminderDate:r}=t,n=s(t,["reminderDate"]);return Object.assign(Object.assign({},n),{reminderDate:new Date(r)})})),v.registerDeserializer("notification-reminder-removed",(e=>b(e))),v.registerDeserializer("notification-sound-toggled",(e=>e)),t.addEventListener=async function(e,t){(0,h.validateEnvironment)(),e=(0,h.sanitizeEventType)(e),t=(0,h.sanitizeFunction)(t);const r=d.eventEmitter.listenerCount(e);"notification-form-submitted"===e&&(t=function(e){return t=>{const r=t.notification.id;t.setFormStatus=e=>(0,c.tryServiceDispatch)(u.APITopic.SET_FORM_STATUS_OPTIONS,Object.assign(Object.assign({},e),{_notificationId:r})),e(t)}}(t)),"notification-form-values-changed"===e&&(t=function(e){return t=>{t.setErrors=e=>(0,c.tryServiceDispatch)(u.APITopic.SET_FORM_VALIDATION_ERRORS,{errors:e,notificationId:t.notification.id}),e(t)}}(t)),d.eventEmitter.addListener(e,t),0===r&&1===d.eventEmitter.listenerCount(e)&&await(0,c.tryServiceDispatch)(u.APITopic.ADD_EVENT_LISTENER,e)},t.removeEventListener=async function(e,t){(0,h.validateEnvironment)(),e=(0,h.sanitizeEventType)(e),t=(0,h.sanitizeFunction)(t),1===d.eventEmitter.listenerCount(e)&&d.eventEmitter.listeners(e)[0]===t&&await(0,c.tryServiceDispatch)(u.APITopic.REMOVE_EVENT_LISTENER,e),d.eventEmitter.removeListener(e,t)},t.create=async function(e,t){if("object"!=typeof e||null===e)throw new Error("Invalid argument passed to create: argument must be an object and must not be null");if(void 0!==e.date&&!(e.date instanceof Date))throw new Error('Invalid argument passed to create: "date" must be a valid Date object');if(void 0!==e.expires&&null!==e.expires&&!(e.expires instanceof Date))throw new Error('Invalid argument passed to create: "expires" must be null or a valid Date object');if(t&&t.reminderDate){if(!1===e.allowReminder)throw new Error('You must not specify a reminder date for a notification with "allowReminder" option set to false.');if(!(t.reminderDate instanceof Date))throw new Error('Invalid argument passed to reminder Options: "date" must a valid Date object');if(e.expires&&e.expires.getTime()<t.reminderDate.getTime())throw new Error("Expiration date must not be earlier than reminder date.")}void 0!==e.category&&null!==e.category||(e.category="default");const r=await(0,c.tryServiceDispatch)(u.APITopic.CREATE_NOTIFICATION,Object.assign(Object.assign({},e),{date:e.date&&e.date.getTime(),expires:e.expires&&e.expires.getTime(),reminder:(null==t?void 0:t.reminderDate)&&t.reminderDate.getTime()}));return Object.assign(Object.assign({},r),{date:new Date(r.date),expires:null!==r.expires?new Date(r.expires):null})},t.update=async function(e){if("object"!=typeof e||null===e)throw new Error("Invalid argument passed to create: argument must be an object and must not be null");if(!e.id)throw new Error('Invalid argument passed to create: "id" must be Id of previously created Notification');const t=await(0,c.tryServiceDispatch)(u.APITopic.UPDATE_NOTIFICATION,Object.assign({},e));return Object.assign({},t)},t.clear=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.CLEAR_NOTIFICATION,{id:e})},t.setReminder=async function(e,t){if(!(t instanceof Date))throw new Error('Invalid argument passed to setReminder: "reminderDate" must a valid Date object');if(t.getTime()<Date.now())throw new Error('Invalid argument passed to setReminder: "reminderDate" was set to a Date in the past, must be a Date in the future.');const r=await(0,c.tryServiceDispatch)(u.APITopic.SET_REMINDER,{id:e,reminder:t.getTime()});return r?console.log(`[Client::setReminder] Reminder set for notification: ${e}`):console.log(`[Client::setReminder] Notification not found for id: ${e}`),r},t.cancelReminder=async function(e){const t=await(0,c.tryServiceDispatch)(u.APITopic.CANCEL_REMINDER,{id:e});return t?console.log(`[Client::cancelReminder] Reminder canceled for notification: ${e}`):console.log(`[Client::cancelReminder] Notification not found for id: ${e}`),t},t.getAll=async function(){return(await(0,c.tryServiceDispatch)(u.APITopic.GET_APP_NOTIFICATIONS,void 0)).map((e=>Object.assign(Object.assign({},e),{indicator:e.indicator||null,date:new Date(e.date),expires:null!==e.expires?new Date(e.expires):null})))},t.clearAll=async function(){return(0,c.tryServiceDispatch)(u.APITopic.CLEAR_APP_NOTIFICATIONS,void 0)},t.toggleNotificationCenter=async function(){return(0,c.tryServiceDispatch)(u.APITopic.TOGGLE_NOTIFICATION_CENTER,void 0)},t.setDefaultPlatformShortcut=function(e){return(0,c.tryServiceDispatch)(u.APITopic.SET_DEFAULT_PLATFORM_SHORTCUT,e)},t.show=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.SHOW_NOTIFICATION_CENTER,e)},t.hide=async function(){return(0,c.tryServiceDispatch)(u.APITopic.HIDE_NOTIFICATION_CENTER,void 0)},t.getNotificationsCount=async function(){return(0,c.tryServiceDispatch)(u.APITopic.GET_NOTIFICATIONS_COUNT,void 0)},(t.UserSettings||(t.UserSettings={})).SOUND_ENABLED="soundEnabled",t.getUserSettingStatus=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.GET_USER_SETTINGS_STATUS,e)},t.setAllowedOrigins=async e=>(0,c.tryServiceDispatch)(u.APITopic.SET_NOTIFICATION_SECURITY_RULE,{allowedOrigins:e})},40790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTemplateData=void 0;const n=r(19611),o=r(94692),i=r(2984),a=r(66188);t.validateTemplateData=function(e,t){var r;const s=e.templateOptions,l=s.body,c=(0,n.pickBestComposition)(l.compositions);if(!c&&!l.fallbackText)throw new Error(`Could not find a suitable composition with the version supported by the service. Notification Center instance might be too old to show this template. (Template API Version: ${(0,i.getTemplateAPIVersion)()})`);l.compositions=[],c&&(a.CustomTemplateDataSchema.validateSync(e.templateData,{context:{fragments:(0,o.flattenLayout)(c.layout)}}),l.compositions.push(c)),t&&e.indicator&&(null===(r=s.indicator)||void 0===r?void 0:r.color)&&(e.indicator.color=s.indicator.color)}},40882:e=>{e.exports=function(e,t,r,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}},40961:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(22551)},40977:(e,t,r)=>{"use strict";t.formatDistanceToNowStrict=function(e,t){return(0,o.formatDistanceStrict)(e,(0,n.constructNow)(e),t)};var n=r(2700),o=r(5206)},41037:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterPositionSelector=void 0;const a=i(r(96540)),s=r(47250),l=r(70785);t.CenterPositionSelector=e=>{const{value:t,title:r,id:n="",onChange:o=()=>{}}=e;return a.createElement("div",{role:"radiogroup"},a.createElement(l.TitleElement,{htmlFor:n,size:s.Size.large},r),a.createElement(l.StyledSelectors,{tabIndex:0,onKeyUp:e=>{switch(e.key){case"ArrowUp":case"ArrowLeft":case"ArrowDown":case"ArrowRight":e.preventDefault(),e.stopPropagation(),"left"===t&&o("right"),"right"===t&&o("left")}},id:n},a.createElement(l.Selector,{position:"left",onClick:o,active:"left"===t}),a.createElement(l.Selector,{position:"right",onClick:o,active:"right"===t})))}},41129:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDescription=function(e){return e.toString().slice(r,n)};const r=7,n=-1},41169:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.classes,r=void 0===t?[]:t,a=e.formatMonth,f=void 0===a?u.formatMonth:a,h=e.formatMonthYear,p=void 0===h?u.formatMonthYear:h,g=o(e,["classes","formatMonth","formatMonthYear"]),m=g.date,v=g.locale;return(0,s.jsx)(c.default,n({},g,{classes:i(i([],r,!0),[d],!1),formatAbbr:p,maxDateTransform:l.getMonthEnd,minDateTransform:l.getMonthStart,view:"year",children:f(v,m)}))};var s=r(74848),l=r(51229),c=a(r(95044)),u=r(23340),d="react-calendar__year-view__months__month"},41402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BindingWhenOnSyntax=void 0;const n=r(87059),o=r(90732);t.BindingWhenOnSyntax=class{_bindingWhenSyntax;_bindingOnSyntax;_binding;constructor(e){this._binding=e,this._bindingWhenSyntax=new o.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new n.BindingOnSyntax(this._binding)}when(e){return this._bindingWhenSyntax.when(e)}whenTargetNamed(e){return this._bindingWhenSyntax.whenTargetNamed(e)}whenTargetIsDefault(){return this._bindingWhenSyntax.whenTargetIsDefault()}whenTargetTagged(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)}whenInjectedInto(e){return this._bindingWhenSyntax.whenInjectedInto(e)}whenParentNamed(e){return this._bindingWhenSyntax.whenParentNamed(e)}whenParentTagged(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)}whenAnyAncestorIs(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)}whenNoAncestorIs(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)}whenAnyAncestorNamed(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)}whenAnyAncestorTagged(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)}whenNoAncestorNamed(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)}whenNoAncestorTagged(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)}whenAnyAncestorMatches(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)}whenNoAncestorMatches(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)}onActivation(e){return this._bindingOnSyntax.onActivation(e)}onDeactivation(e){return this._bindingOnSyntax.onDeactivation(e)}}},41591:(e,t,r)=>{"use strict";t.isWithinInterval=function(e,t,r){const o=+(0,n.toDate)(e,r?.in),[i,a]=[+(0,n.toDate)(t.start,r?.in),+(0,n.toDate)(t.end,r?.in)].sort(((e,t)=>e-t));return o>=i&&o<=a};var n=r(34446)},41799:(e,t,r)=>{var n=r(37217),o=r(60270);e.exports=function(e,t,r,i){var a=r.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=r[a])[0],d=e[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var h=new n;if(i)var p=i(d,f,u,e,t,h);if(!(void 0===p?o(f,d,3,i,h):p))return!1}}return!0}},41869:(e,t,r)=>{"use strict";t.Hour1to12Parser=void 0;var n=r(47699),o=r(5513),i=r(93771);class a extends o.Parser{priority=70;parse(e,t,r){switch(t){case"h":return(0,i.parseNumericPattern)(n.numericPatterns.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,r){const n=e.getHours()>=12;return n&&r<12?e.setHours(r+12,0,0,0):n||12!==r?e.setHours(r,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}t.Hour1to12Parser=a},42054:e=>{var t="\\ud800-\\udfff",r="["+t+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+n+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",u=c+l+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*",d="(?:"+[i+n+"?",n,a,s,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},42207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZonedDate=t.localTimeString=t.localDateString=t.formatLines=t.getDate=t.getDateTitle=void 0;const n=r(411),o=r(13949);function i(e,t){const r=new Date(e),o=new Date,i=Math.abs((0,n.differenceInMinutes)(r,o));return i<1?"now":i<60||!t&&r>o?function(e,t){const r=(0,n.formatDistanceStrict)(e,t,{addSuffix:!0}).replace(/ minutes| minute/g,"m");return"60m ago"===r?(0,n.format)(e,"p"):"in 60m"===r?"in 1 hour":r}(r,o):function(e,t,r){const o=(0,n.differenceInHours)(t,e),i=(0,n.differenceInCalendarDays)(t,e);return Math.abs((0,n.differenceInMinutes)(t,e))>=60&&0===i?`${r?"at ":""}${(0,n.format)(e,"p")}`:1===i||o>24&&i<=6?`${r?"at ":""}${(0,n.format)(e,r?"p, EEE":"EEE, p")}`:`${r?"at ":""}${(0,n.format)(e,r?"p, MMM d":"MMM d, p")}`}(r,o,t)}function a(e){return(0,o.toZonedTime)(null!=e?e:Date.now(),Intl.DateTimeFormat().resolvedOptions().timeZone)}t.getDateTitle=function(e){const t=new Date(e),r=new Date,o=(0,n.differenceInCalendarDays)(r,t);return 0===o?"Today":1===o?"Yesterday":-1===o?"Tomorrow":o>0&&o<=6?`Last ${(0,n.format)(t,"EEEE")}`:o<0&&o>=-6?(0,n.format)(t,"EEEE"):(0,n.format)(t,"MMMM d, yyyy")},t.getDate=i,t.formatLines=function(e,t){if(t){if(t>=Date.now()){const e=i(t,!0);return"at"===e.substring(0,2)?["Reminding at",e.substring(3)]:[`Reminding ${e}`,null]}return[`Reminded ${i(t,!0)}`,`Sent ${i(e,!0)}`]}return[i(e),null]},t.localDateString=function(e){const t=null!=e?e:Date.now();return(0,n.formatISO)(a(t)).substring(0,10)},t.localTimeString=function(e){const t=null!=e?e:Date.now();return(0,n.formatISO)(a(t)).substring(11,16)},t.getZonedDate=a},42366:(e,t,r)=>{"use strict";t.endOfToday=function(e){return(0,n.endOfDay)(Date.now(),e)};var n=r(61883)},42551:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCardComponent=void 0;const a=i(r(96540)),s=r(86455),l=r(1413),c=r(26012),u=r(52124),d=r(83873),f=r(79690),h=r(37207),p=r(47250),g=i(r(35830)),m=r(14858),v=r(15996),b=r(12773),y=r(72425),C=r(54990),w=r(3565),_=r(29136),x=r(16415);t.NotificationCardComponent=e=>{var t,r,n,o,i,p,g;const{style:j,senderTitle:P,isFormExpanded:T,isToast:D=!1,clickAction:L,remove:A,minimize:I,submitForm:R,clickButtonAction:N,showReminderModal:F,setReminder:H,cancelReminder:V,raiseAnalyticsEvent:B,clickFragment:$,revisionNumber:z,onKeyDown:Z,focusedNotification:U}=e,{setIsMenuModalOpen:W,setMenuConfig:q,setIsCustomReminderModalOpen:G,setCustomReminderConfig:Y,setModalType:K}=(0,a.useContext)(x.WebModalContext),[Q,X]=(0,a.useState)(-1),[J,ee]=(0,a.useState)(!1),[te,re]=(0,b.useIsStateUpdate)(z,((e,t)=>J&&e!==t)),ne=(0,c.isStoredNotification)(e.notification)?e.notification:e.notification.item,oe=ne.notification,ie=null===(t=ne.modifiers)||void 0===t?void 0:t.reminder,ae=P||ne.title,se=(0,v.isTemplate)(oe,"custom")?null===(r=oe.templateOptions.buttons)||void 0===r?void 0:r.align:void 0,le=(0,v.isTemplate)(oe,"custom")&&(null===(n=oe.templateOptions.indicator)||void 0===n?void 0:n.align)||"center",ce=(e=>{var t,r,n;return e.indicator?(0,v.isTemplate)(e,"custom")?Object.assign(Object.assign({},e.indicator),{color:null!==(r=null===(t=e.indicator)||void 0===t?void 0:t.color)&&void 0!==r?r:null===(n=e.templateOptions.indicator)||void 0===n?void 0:n.color}):e.indicator:null})(oe),ue=!!ie&&ie>Date.now(),de=ne.notification.allowReminder,{raiseAnalyticsEventDelayed:fe,cancelAnalyticsEventTimer:he}=(0,C.useAnalyticsDebounce)(1e3,B),pe=(0,a.useRef)(null),ge=a.default.useContext(_.WindowContext),me=a.default.useRef(null);(0,a.useEffect)((()=>{var e;ne.id===(null==U?void 0:U.notificationId)&&(null===(e=me.current)||void 0===e||e.focus())}),[U,ne.id,me.current]);const ve=(e,t)=>{null==H||H(Object.assign(Object.assign({},ne),{modifiers:Object.assign(Object.assign({},ne),{reminder:null!=t?t:Date.now()+e})}))},be=l.TemplateComponentMap[ne.notification.template];if(!be)return console.error(`Unable to render ${ne.id}. Unknown template ${ne.notification.template}.`,ne),null;const ye=()=>re(),Ce=[{title:"OK",cta:!0,index:0,iconUrl:"",submit:!1,type:"button",onClick:ye,formOptions:null}],we=te&&oe.buttons.length>0?Ce:oe.buttons,_e=a.default.createElement(a.default.Fragment,null,a.default.createElement(f.CardHeader,{sender:ae,icon:oe.icon,uuid:null!==(i=null===(o=oe.stream)||void 0===o?void 0:o.id)&&void 0!==i?i:JSON.stringify(ne.source),creationDate:oe.date,reminderDate:ie,isToast:D,"data-testid":"header",showReminderButton:de,onDismiss:e=>{e.stopPropagation(),e.preventDefault(),te||(D?(console.log(`Toast dismiss button clicked. (Nfn ID:${ne.id})`),null==I||I(ne)):(null==Z||Z(new KeyboardEvent("keydown",{key:"_Delete"})),console.log(`Notification remove button clicked. (Nfn ID:${ne.id})`),null==A||A(ne)))},onShowReminderModal:t=>{const r={x:t.screenX,y:t.screenY},n={identity:{id:"custom-reminder-select-menu-modal"},type:"CustomReminderModal",position:r,notification:ne,isToast:D,onDismiss:t=>{"web"===e.mode&&G(!1),"number"==typeof t&&(ve(0,t),null==B||B({type:D?"Toast":"Notification",action:"Set Custom Reminder",value:`${t+Date.now()}`,data:ne.id,skipValueHashing:!0}))}},o={type:"Menu",position:r,width:140,header:"Remind me in...",options:(0,y.makePresetTimeSpanOptions)(ue),onDismiss:t=>{(0,y.isPresetTimeSpan)(t)?(ve(t.timeSpan),W(!1),null==B||B({type:D?"Toast":"Notification",action:"Select preset Reminder",value:`${t.timeSpan+Date.now()}`,data:ne.id,skipValueHashing:!0})):"string"==typeof t&&("cancel"===t?(null==V||V(ne),"web"===e.mode&&W(!1),null==B||B({type:"Notification",action:"Cancel Reminder",data:ne.id,skipValueHashing:!0})):"custom"===t&&("web"===e.mode?(W(!1),G(!0),K("reminder"),Y(n)):null==F||F(n)))}};if("desktop"===e.mode)null==F||F(o);else if("web"===e.mode)return W(!0),q(o),void K("reminder");null==B||B({type:D?"Toast":"Notification",action:"Select Reminder Button",data:{id:ne.id},skipValueHashing:!0})},raiseAnalyticsEvent:B,tabIndex:Q,notificationID:ne.id,mode:e.mode}),oe.title&&a.default.createElement(S,null,a.default.createElement(m.SingleLine,{weight:"bold","data-testid":"notification-title"},oe.title)),a.default.createElement(k,{ref:pe,"data-scrollable-container":"true",flexDirection:"column","data-testid":"template-content"},a.default.createElement(be,{notification:ne,submitForm:R,clickButtonAction:N,clickFragment:async(e,t)=>{t.onClick&&(e.stopPropagation(),e.preventDefault(),await(null==$?void 0:$(ne,t,D)))},templateContent:pe,tabIndexOverride:Q,isToast:D}))),xe=D?"Click to dismiss":"Click to clear",Oe=(null===(p=ne.notification.onSelect)||void 0===p?void 0:p.BODY_CLICK)===s.ActionBodyClickType.DISMISS_EVENT&&!(null===(g=ne.notification.buttons)||void 0===g?void 0:g.length),Ee=we.reduce(((e,t)=>(t.cta?e.primary++:e.secondary++,e)),{primary:0,secondary:0});return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.Card,{title:Oe?xe:"",onClick:async e=>{(0,v.isTemplate)(oe,"markdown")&&oe.form||(e.stopPropagation(),e.preventDefault(),te||await(null==L?void 0:L(ne)))},"data-testid":"notification-card","data-id":ne.id,style:j,hasButtons:we.length>0,isTall:Ee.primary>3||Ee.secondary>3,tabIndex:Q,onMouseEnter:()=>{ee(!0),fe({type:D?"Toast":"Notification",action:"Hover",skipValueHashing:!0})},onMouseLeave:()=>{ee(!1),re(),he()},isToast:D,isFormExpanded:T,onFocus:()=>X(0),onBlur:e=>{const t=e.currentTarget;requestAnimationFrame((()=>{t.contains(ge.document.activeElement)||X(-1)}))},onKeyDown:e=>null==Z?void 0:Z(e.nativeEvent),ref:me,role:"listitem",mode:e.mode},a.default.createElement(w.FormikProxyProvider,null,ce&&a.default.createElement(O,{alignment:le},te?a.default.createElement(u.InfoBanner,{text:"Notification Updated"}):a.default.createElement(u.IndicatorBanner,{indicator:ce,alignment:le})),a.default.createElement(M,{flexDirection:"column",gap:"xsmall"},te?a.default.createElement(E,{"data-testid":"update-overlay",gap:"xsmall"},_e):_e,we.length>0&&a.default.createElement(d.ButtonsContainer,{alignment:se,buttonData:we,onClick:te?ye:async(e,t)=>{if(!t.submit){e.stopPropagation(),e.preventDefault();const r=t.index||0;await(null==N?void 0:N(ne,r))}},tabIndexOverride:Q,notificationId:ne.id,isToast:D,raiseAnalyticsEvent:B})))))};const O=(0,g.default)(p.Box)`
369
+ `},37633:(e,t,r)=>{"use strict";t.getMilliseconds=function(e){return(0,n.toDate)(e).getMilliseconds()};var n=r(34446)},37676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStickyNotifications=t.getNotifications=t.NotificationToastControlBarAction=t.MinimizeAllToast=t.MinimizeToast=t.ApplyNotificationModifier=t.SubmitNotificationForm=t.initialSortedNotificationsState=void 0;const n=r(5299),o=r(42885),i=r(26012);t.initialSortedNotificationsState={byId:{},byApplication:{},byStream:{}};class a extends n.KeyedAction{constructor(e,t,r){super("notifications"),this.notification=e,this.form=t,this.button=r}}t.SubmitNotificationForm=a;class s extends n.KeyedAction{constructor(e,t){super("notifications"),this.modifiers=t,this.notification=Object.assign(Object.assign({},e),{modifiers:Object.assign({},t)})}reduce(e){const{id:t}=this.notification,r=[...e],n=[...e].findIndex((e=>e.id===t)),o=Object.assign(Object.assign({},r[n]),{modifiers:this.modifiers});return r[n]=o,r}}t.ApplyNotificationModifier=s;class l extends n.Action{constructor(e){super(),this.notification=e}async call(e,t){(0,i.isSticky)(this.notification.notification)&&await e.dispatch(new s(this.notification,{notSticky:!0})),await t()}reduce(e){const{notification:t}=this;return(0,i.isSticky)(t.notification)?Object.assign(Object.assign({},e),{stickyNotifications:[...e.stickyNotifications.filter((e=>e.id!==t.id))]}):e}}t.MinimizeToast=l;class c extends n.Action{constructor(e){super(),this.notifications=e}async call(e,t){const r=this.notifications.map((async t=>{await e.dispatch(new l(t))}));await Promise.all(r),await t()}reduce(e){return e}}t.MinimizeAllToast=c;class u extends n.Action{constructor(e){super(),this.action=e}}t.NotificationToastControlBarAction=u,t.getNotifications=e=>e.notifications,t.getStickyNotifications=(0,o.createSelector)(t.getNotifications,(e=>e.filter((e=>{var t;return(0,i.isSticky)(e.notification)&&!(null===(t=e.modifiers)||void 0===t?void 0:t.notSticky)}))))},37724:(e,t,r)=>{"use strict";t.nextThursday=function(e,t){return(0,n.nextDay)(e,4,t)};var n=r(70064)},37763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.id=function(){return r++};let r=0},37828:(e,t,r)=>{var n=r(9325).Uint8Array;e.exports=n},37838:(e,t,r)=>{"use strict";t.eachQuarterOfInterval=function(e,t){const{start:r,end:s}=(0,n.normalizeInterval)(t?.in,e);let l=+r>+s;const c=l?+(0,a.startOfQuarter)(r):+(0,a.startOfQuarter)(s);let u=l?(0,a.startOfQuarter)(s):(0,a.startOfQuarter)(r),d=t?.step??1;if(!d)return[];d<0&&(d=-d,l=!l);const f=[];for(;+u<=c;)f.push((0,i.constructFrom)(r,u)),u=(0,o.addQuarters)(u,d);return l?f.reverse():f};var n=r(18290),o=r(21149),i=r(92956),a=r(16944)},37869:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.activeStartDate,r=e.locale,i=e.onMouseLeave,f=e.showFixedNumberOfWeeks,h=e.calendarType,p=void 0===h?function(e){if(e)for(var t=0,r=Object.entries(d.CALENDAR_TYPE_LOCALES);t<r.length;t++){var n=r[t],o=n[0];if(n[1].includes(e))return o}return d.CALENDAR_TYPES.ISO_8601}(r):h,g=e.formatShortWeekday,m=e.formatWeekday,v=e.onClickWeekNumber,b=e.showWeekNumbers,y=o(e,["calendarType","formatShortWeekday","formatWeekday","onClickWeekNumber","showWeekNumbers"]),C="react-calendar__month-view";return(0,a.jsx)("div",{className:(0,s.default)(C,b?"".concat(C,"--weekNumbers"):""),children:(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-end"},children:[b?(0,a.jsx)(u.default,{activeStartDate:t,calendarType:p,onClickWeekNumber:v,onMouseLeave:i,showFixedNumberOfWeeks:f}):null,(0,a.jsxs)("div",{style:{flexGrow:1,width:"100%"},children:[(0,a.jsx)(c.default,{calendarType:p,formatShortWeekday:g,formatWeekday:m,locale:r,onMouseLeave:i}),(0,a.jsx)(l.default,n({calendarType:p},y))]})]})})};var a=r(74848),s=i(r(71508)),l=i(r(80015)),c=i(r(3871)),u=i(r(12188)),d=r(70821)},37893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBaseType=function(e){const t=Object.getPrototypeOf(e.prototype),r=t?.constructor;return r}},38122:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YearView=t.Navigation=t.MonthView=t.DecadeView=t.CenturyView=t.Calendar=void 0;var o=n(r(32562));t.Calendar=o.default;var i=n(r(13863));t.CenturyView=i.default;var a=n(r(31057));t.DecadeView=a.default;var s=n(r(37869));t.MonthView=s.default;var l=n(r(48391));t.Navigation=l.default;var c=n(r(36348));t.YearView=c.default,t.default=o.default},38320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateReminder=t.TimeoutReminder=t.CancelReminderAndRecreateNotification=t.CancelReminder=t.SetReminderThroughUI=t.SetReminder=void 0;const n=r(5299),o=r(50768),i=r(87031),a=r(87451),s=r(87234);class l extends n.KeyedAction{constructor(e){super("reminders"),this.reminder=e}async call(e,t){const r=e.state.reminders.find((e=>e.id===this.reminder.id));r&&await e.dispatch(new c(r)),e.state.notifications.some((e=>e.id===this.reminder.id))&&await e.dispatch(new a.RemoveNotifications([this.reminder])),await t()}reduce(e){return[...e,this.reminder]}}t.SetReminder=l,t.SetReminderThroughUI=class extends l{constructor(e){super(e),this.reminder=e}async call(e,t){await super.call(e,t),e.state.settings.tutorials.reminders||(await e.dispatch(new a.CreateNotification((0,o.makeRemindersTutorialNotification)(this.reminder.notification.icon,this.reminder.source))),await e.dispatch(new s.RemindersTutorialComplete))}};class c extends n.KeyedAction{constructor(e){super("reminders"),this.reminder=e}reduce(e){return e.filter((e=>e.id!==this.reminder.id))}}t.CancelReminder=c,t.CancelReminderAndRecreateNotification=class extends c{constructor(e){super(e),this.reminder=e}async call(e,t){const r=Object.assign({},this.reminder.modifiers);delete r.reminder,await e.dispatch(new a.CreateNotification(Object.assign(Object.assign({},this.reminder),{modifiers:r}))),await t()}reduce(e){return super.reduce(e)}};class u extends n.KeyedAction{constructor(e){super("reminders"),this.reminderId=e}async call(e,t){const r=e.state.reminders.find((e=>e.id===this.reminderId));r?(await e.dispatch(new a.CreateNotification(r)),await t()):console.warn(`Reminder(${this.reminderId}) was not found in the store.`)}reduce(e){return e.filter((e=>e.id!==this.reminderId))}}t.TimeoutReminder=u;class d extends n.KeyedAction{constructor(e){super("reminders"),this.updatePayload=e,this._updatedReminder=null}get updatedReminder(){return this._updatedReminder}reduce(e){const t=[...e];return this._updatedReminder=(0,i.updateCollection)(t,this.updatePayload),[...t]}}t.UpdateReminder=d},38542:(e,t,r)=>{"use strict";t.subQuarters=function(e,t,r){return(0,n.addQuarters)(e,-t,r)};var n=r(21149)},38630:(e,t,r)=>{var n;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),n=o(e);function o(e,t){return function(r,n){Object.defineProperty(e,r,{configurable:!0,writable:!0,value:n}),t&&t(r,n)}}void 0!==t.Reflect&&(n=o(t.Reflect,n)),function(e,t){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,s={__proto__:[]}instanceof Array,l=!a&&!s,c={create:a?function(){return $(Object.create(null))}:s?function(){return $({__proto__:null})}:function(){return $({})},has:l?function(e,t){return r.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return r.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),d="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],r=function(){function e(e,t,r){this._index=0,this._keys=e,this._values=t,this._selector=r}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var r=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var r=this._find(e,!0);return this._values[r]=t,this},t.prototype.delete=function(t){var r=this._find(t,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o<n;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,A(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new r(this._keys,this._values,n)},t.prototype.values=function(){return new r(this._keys,this._values,o)},t.prototype.entries=function(){return new r(this._keys,this._values,a)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[i]=function(){return this.entries()},t.prototype._find=function(e,t){if(!A(this._cacheKey,e)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(A(this._keys[r],e)){this._cacheIndex=r;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function n(e,t){return e}function o(e,t){return t}function a(e,t){return[e,t]}}(),f="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new d}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[i]=function(){return this.keys()},e}(),h="function"==typeof WeakMap?WeakMap:function(){var e=c.create(),t=n();return function(){function e(){this._key=n()}return e.prototype.has=function(e){var t=o(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=o(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return o(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=o(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=n()},e}();function n(){var t;do{t="@@WeakMap@@"+a()}while(c.has(e,t));return e[t]=!0,t}function o(e,n){if(!r.call(e,t)){if(!n)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function i(e,t){for(var r=0;r<t;++r)e[r]=255*Math.random()|0;return e}function a(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):i(t,e),t}return i(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",r=0;r<16;++r){var n=e[r];4!==r&&6!==r&&8!==r||(t+="-"),n<16&&(t+="0"),t+=n.toString(16).toLowerCase()}return t}}(),p=n?Symbol.for("@reflect-metadata:registry"):void 0,g=function(){var e;return!E(p)&&k(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[p]),E(e)&&(e=function(){var e,r,n,o;E(p)||void 0===t.Reflect||p in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,r=e.hasOwnMetadata,n=e.getOwnMetadata,o=e.getOwnMetadataKeys,i=e.deleteMetadata,a=new h;return{isProviderFor:function(e,t){var r=a.get(e);return!(E(r)||!r.has(t))||!!o(e,t).length&&(E(r)&&(r=new f,a.set(e,r)),r.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:i}}(t.Reflect));var i=new h,a={registerProvider:s,getProvider:c,setProvider:g};return a;function s(t){if(!Object.isExtensible(a))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case E(r):r=t;break;case r===t:break;case E(n):n=t;break;case n===t:break;default:void 0===o&&(o=new f),o.add(t)}}function l(t,i){if(!E(r)){if(r.isProviderFor(t,i))return r;if(!E(n)){if(n.isProviderFor(t,i))return r;if(!E(o))for(var a=R(o);;){var s=F(a);if(!s)return;var l=N(s);if(l.isProviderFor(t,i))return H(a),l}}}if(!E(e)&&e.isProviderFor(t,i))return e}function c(e,t){var r,n=i.get(e);return E(n)||(r=n.get(t)),E(r)?(E(r=l(e,t))||(E(n)&&(n=new d,i.set(e,n)),n.set(t,r)),r):r}function u(e){if(E(e))throw new TypeError;return r===e||n===e||!E(o)&&o.has(e)}function g(e,t,r){if(!u(r))throw new Error("Metadata provider not registered.");var n=c(e,t);if(n!==r){if(!E(n))return!1;var o=i.get(e);E(o)&&(o=new d,i.set(e,o)),o.set(t,r)}return!0}}()),!E(p)&&k(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,p,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new h,r={isProviderFor:function(e,r){var n=t.get(e);return!E(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(e,t,r,o){n(r,o,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,r){var o=n(t,r,!1);return!E(o)&&j(o.has(e))},OrdinaryGetOwnMetadata:function(e,t,r){var o=n(t,r,!1);if(!E(o))return o.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var r=[],o=n(e,t,!1);if(E(o))return r;for(var i=R(o.keys()),a=0;;){var s=F(i);if(!s)return r.length=a,r;var l=N(s);try{r[a]=l}catch(e){try{H(i)}finally{throw e}}a++}},OrdinaryDeleteMetadata:function(e,r,o){var i=n(r,o,!1);if(E(i))return!1;if(!i.delete(e))return!1;if(0===i.size){var a=t.get(r);E(a)||(a.delete(o),0===a.size&&t.delete(a))}return!0}};return g.registerProvider(r),r;function n(n,o,i){var a=t.get(n),s=!1;if(E(a)){if(!i)return;a=new d,t.set(n,a),s=!0}var l=a.get(o);if(E(l)){if(!i)return;if(l=new d,a.set(o,l),!e.setProvider(n,o,r))throw a.delete(o),s&&t.delete(n),new Error("Wrong provider for target.")}return l}}(g);function v(e,t,r){if(b(e,t,r))return!0;var n=V(t);return!M(n)&&v(e,n,r)}function b(e,t,r){var n=B(t,r,!1);return!E(n)&&j(n.OrdinaryHasOwnMetadata(e,t,r))}function y(e,t,r){if(b(e,t,r))return C(e,t,r);var n=V(t);return M(n)?void 0:y(e,n,r)}function C(e,t,r){var n=B(t,r,!1);if(!E(n))return n.OrdinaryGetOwnMetadata(e,t,r)}function w(e,t,r,n){B(r,n,!0).OrdinaryDefineOwnMetadata(e,t,r,n)}function _(e,t){var r=x(e,t),n=V(e);if(null===n)return r;var o=_(n,t);if(o.length<=0)return r;if(r.length<=0)return o;for(var i=new f,a=[],s=0,l=r;s<l.length;s++){var c=l[s];i.has(c)||(i.add(c),a.push(c))}for(var u=0,d=o;u<d.length;u++)c=d[u],i.has(c)||(i.add(c),a.push(c));return a}function x(e,t){var r=B(e,t,!1);return r?r.OrdinaryOwnMetadataKeys(e,t):[]}function O(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function E(e){return void 0===e}function M(e){return null===e}function k(e){return"object"==typeof e?null!==e:"function"==typeof e}function S(e,t){switch(O(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var r=3===t?"string":5===t?"number":"default",n=I(e,o);if(void 0!==n){var i=n.call(e,r);if(k(i))throw new TypeError;return i}return function(e,t){if("string"===t){var r=e.toString;if(D(r)&&!k(o=r.call(e)))return o;if(D(n=e.valueOf)&&!k(o=n.call(e)))return o}else{var n;if(D(n=e.valueOf)&&!k(o=n.call(e)))return o;var o,i=e.toString;if(D(i)&&!k(o=i.call(e)))return o}throw new TypeError}(e,"default"===r?"number":r)}function j(e){return!!e}function P(e){var t=S(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function T(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function D(e){return"function"==typeof e}function L(e){return"function"==typeof e}function A(e,t){return e===t||e!=e&&t!=t}function I(e,t){var r=e[t];if(null!=r){if(!D(r))throw new TypeError;return r}}function R(e){var t=I(e,i);if(!D(t))throw new TypeError;var r=t.call(e);if(!k(r))throw new TypeError;return r}function N(e){return e.value}function F(e){var t=e.next();return!t.done&&t}function H(e){var t=e.return;t&&t.call(e)}function V(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===u)return t;if(t!==u)return t;var r=e.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return t;var o=n.constructor;return"function"!=typeof o||o===e?t:o}function B(e,t,r){var n=g.getProvider(e,t);if(!E(n))return n;if(r){if(g.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function $(e){return e.__=void 0,delete e.__,e}e("decorate",(function(e,t,r,n){if(E(r)){if(!T(e))throw new TypeError;if(!L(t))throw new TypeError;return function(e,t){for(var r=e.length-1;r>=0;--r){var n=(0,e[r])(t);if(!E(n)&&!M(n)){if(!L(n))throw new TypeError;t=n}}return t}(e,t)}if(!T(e))throw new TypeError;if(!k(t))throw new TypeError;if(!k(n)&&!E(n)&&!M(n))throw new TypeError;return M(n)&&(n=void 0),function(e,t,r,n){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,r,n);if(!E(i)&&!M(i)){if(!k(i))throw new TypeError;n=i}}return n}(e,t,r=P(r),n)})),e("metadata",(function(e,t){return function(r,n){if(!k(r))throw new TypeError;if(!E(n)&&!function(e){switch(O(e)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;w(e,t,r,n)}})),e("defineMetadata",(function(e,t,r,n){if(!k(r))throw new TypeError;return E(n)||(n=P(n)),w(e,t,r,n)})),e("hasMetadata",(function(e,t,r){if(!k(t))throw new TypeError;return E(r)||(r=P(r)),v(e,t,r)})),e("hasOwnMetadata",(function(e,t,r){if(!k(t))throw new TypeError;return E(r)||(r=P(r)),b(e,t,r)})),e("getMetadata",(function(e,t,r){if(!k(t))throw new TypeError;return E(r)||(r=P(r)),y(e,t,r)})),e("getOwnMetadata",(function(e,t,r){if(!k(t))throw new TypeError;return E(r)||(r=P(r)),C(e,t,r)})),e("getMetadataKeys",(function(e,t){if(!k(e))throw new TypeError;return E(t)||(t=P(t)),_(e,t)})),e("getOwnMetadataKeys",(function(e,t){if(!k(e))throw new TypeError;return E(t)||(t=P(t)),x(e,t)})),e("deleteMetadata",(function(e,t,r){if(!k(t))throw new TypeError;if(E(r)||(r=P(r)),!k(t))throw new TypeError;E(r)||(r=P(r));var n=B(t,r,!1);return!E(n)&&n.OrdinaryDeleteMetadata(e,t,r)}))}(n,t),void 0===t.Reflect&&(t.Reflect=e)}()}(n||(n={}))},38859:(e,t,r)=>{var n=r(53661),o=r(31380),i=r(51459);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},38873:(e,t,r)=>{"use strict";t.max=function(e,t){let r,i=t?.in;return e.forEach((e=>{i||"object"!=typeof e||(i=n.constructFrom.bind(null,e));const t=(0,o.toDate)(e,i);(!r||r<t||isNaN(+t))&&(r=t)})),(0,n.constructFrom)(i,r||NaN)};var n=r(92956),o=r(34446)},38996:(e,t,r)=>{"use strict";t.eachHourOfInterval=function(e,t){const{start:r,end:i}=(0,n.normalizeInterval)(t?.in,e);let a=+r>+i;const s=a?+r:+i,l=a?i:r;l.setMinutes(0,0,0);let c=t?.step??1;if(!c)return[];c<0&&(c=-c,a=!a);const u=[];for(;+l<=s;)u.push((0,o.constructFrom)(r,l)),l.setHours(l.getHours()+c);return a?u.reverse():u};var n=r(18290),o=r(92956)},39034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(94037);const o=n.memo((()=>void 0!==window.ScrollTimeline));class i{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map((e=>"finished"in e?e.finished:e)))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e,t){const r=this.animations.map((r=>o()&&r.attachTimeline?r.attachTimeline(e):"function"==typeof t?t(r):void 0));return()=>{r.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function a(e,t){return e?e[t]||e.default||e:void 0}const s=2e4;function l(e){let t=0,r=e.next(t);for(;!r.done&&t<s;)t+=50,r=e.next(t);return t>=s?1/0:t}function c(e,t=100,r){const o=r({...e,keyframes:[0,t]}),i=Math.min(l(o),s);return{type:"keyframes",ease:e=>o.next(i*e).value/t,duration:n.millisecondsToSeconds(i)}}function u(e){return"function"==typeof e}function d(e,t){e.timeline=t,e.onfinish=null}class f{constructor(e){this.animation=e}get duration(){var e,t,r;const o=(null===(t=null===(e=this.animation)||void 0===e?void 0:e.effect)||void 0===t?void 0:t.getComputedTiming().duration)||(null===(r=this.options)||void 0===r?void 0:r.duration)||300;return n.millisecondsToSeconds(Number(o))}get time(){var e;return this.animation?n.millisecondsToSeconds((null===(e=this.animation)||void 0===e?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=n.secondsToMilliseconds(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var e;this.animation&&(null===(e=this.animation.effect)||void 0===e||e.updateTiming({easing:"linear"}))}attachTimeline(e){return this.animation&&d(this.animation,e),n.noop}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch(e){}}}const h=e=>Array.isArray(e)&&"number"==typeof e[0],p={linearEasing:void 0};function g(e,t){const r=n.memo(e);return()=>{var e;return null!==(e=p[t])&&void 0!==e?e:r()}}const m=g((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),v=(e,t,r=10)=>{let o="";const i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)o+=e(n.progress(0,i-1,t))+", ";return`linear(${o.substring(0,o.length-2)})`},b=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,y={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:b([0,.65,.55,1]),circOut:b([.55,0,1,.45]),backIn:b([.31,.01,.66,-.59]),backOut:b([.33,1.53,.69,.99])};function C(e,t){return e?"function"==typeof e&&m()?v(e,t):h(e)?b(e):Array.isArray(e)?e.map((e=>C(e,t)||y.easeOut)):y[e]:void 0}const w={x:!1,y:!1};function _(){return w.x||w.y}function x(e,t,r){var n;if(e instanceof Element)return[e];if("string"==typeof e){let o=document;t&&(o=t.current);const i=null!==(n=null==r?void 0:r[e])&&void 0!==n?n:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function O(e,t){const r=x(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function E(e){return t=>{"touch"===t.pointerType||_()||e(t)}}const M=(e,t)=>!!t&&(e===t||M(e,t.parentElement)),k=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,S=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),j=new WeakSet;function P(e){return t=>{"Enter"===t.key&&e(t)}}function T(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function D(e){return k(e)&&!_()}const L="easeOut";function A(e){var t;if(u(e.type)){const t=c(e,100,e.type);e.ease=m()?t.ease:L,e.duration=n.secondsToMilliseconds(t.duration),e.type="keyframes"}else e.duration=n.secondsToMilliseconds(null!==(t=e.duration)&&void 0!==t?t:.3),e.ease=e.ease||L}class I extends f{constructor(e,t,r,o,i){const a=function(e,t,r){var o;const i={},a={fill:"both",easing:"linear",composite:"replace"};a.delay=n.secondsToMilliseconds(null!==(o=r.delay)&&void 0!==o?o:0),A(r),a.duration=r.duration;const{ease:s,times:l}=r;l&&(i.offset=l),i[e]=t;const c=C(s,r.duration);return Array.isArray(c)?i.easing=c:a.easing=c,{keyframes:i,options:a}}(r,o,i);super(e.animate(a.keyframes,{pseudoElement:t,...a.options}))}}function R(e){return"layout"===e?"group":"enter"===e||"new"===e?"new":"exit"===e||"old"===e?"old":"group"}let N={},F=null;const H=(e,t)=>{N[e]=t};function V(e){const t=e.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);return t?{layer:t[2],type:t[1]}:null}function B(e){var t;const{effect:r}=e;return!!r&&r.target===document.documentElement&&(null===(t=r.pseudoElement)||void 0===t?void 0:t.startsWith("::view-transition"))}const $=["layout","enter","exit","new","old"];function z(e,t,r){if(!document.startViewTransition)return new Promise((async t=>{await e(),t(new i([]))}));(function(e,t){return t.has(e)&&Object.keys(t.get(e)).length>0})("root",r)||H(":root",{"view-transition-name":"none"}),H("::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*)",{"animation-timing-function":"linear !important"}),(()=>{F||(F=document.createElement("style"),F.id="motion-view");let e="";for(const t in N){const r=N[t];e+=`${t} {\n`;for(const[t,n]of Object.entries(r))e+=` ${t}: ${n};\n`;e+="}\n"}F.textContent=e,document.head.appendChild(F),N={}})();const o=document.startViewTransition((async()=>{await e()}));return o.finished.finally((()=>{F&&F.parentElement&&F.parentElement.removeChild(F)})),new Promise((e=>{o.ready.then((()=>{var o;const s=document.getAnimations().filter(B),l=[];r.forEach(((e,r)=>{for(const n of $){if(!e[n])continue;const{keyframes:o,options:i}=e[n];for(let[e,s]of Object.entries(o)){if(!s)continue;const o={...a(t,e),...a(i,e)},c=R(n);"opacity"!==e||Array.isArray(s)||(s=["new"===c?0:1,s]),"function"==typeof o.delay&&(o.delay=o.delay(0,1));const u=new I(document.documentElement,`::view-transition-${c}(${r})`,e,s,o);l.push(u)}}}));for(const e of s){if("finished"===e.playState)continue;const{effect:i}=e;if(!(i&&i instanceof KeyframeEffect))continue;const{pseudoElement:s}=i;if(!s)continue;const c=V(s);if(!c)continue;const u=r.get(c.layer);if(u)Z(u,"enter")&&Z(u,"exit")&&i.getKeyframes().some((e=>e.mixBlendMode))?l.push(new f(e)):e.cancel();else{const r="group"===c.type?"layout":"",s={...a(t,r)};A(s);const u=C(s.ease,s.duration);i.updateTiming({delay:n.secondsToMilliseconds(null!==(o=s.delay)&&void 0!==o?o:0),duration:s.duration,easing:u}),l.push(new f(e))}}e(new i(l))}))}))}function Z(e,t){var r;return null===(r=null==e?void 0:e[t])||void 0===r?void 0:r.keyframes.opacity}class U{constructor(e,t={}){this.currentTarget="root",this.targets=new Map,this.notifyReady=n.noop,this.readyPromise=new Promise((e=>{this.notifyReady=e})),queueMicrotask((()=>{z(e,t,this.targets).then((e=>this.notifyReady(e)))}))}get(e){return this.currentTarget=e,this}layout(e,t){return this.updateTarget("layout",e,t),this}new(e,t){return this.updateTarget("new",e,t),this}old(e,t){return this.updateTarget("old",e,t),this}enter(e,t){return this.updateTarget("enter",e,t),this}exit(e,t){return this.updateTarget("exit",e,t),this}crossfade(e){return this.updateTarget("enter",{opacity:1},e),this.updateTarget("exit",{opacity:0},e),this}updateTarget(e,t,r={}){const{currentTarget:n,targets:o}=this;o.has(n)||o.set(n,{}),o.get(n)[e]={keyframes:t,options:r}}then(e,t){return this.readyPromise.then(e,t)}}t.GroupPlaybackControls=class extends i{then(e,t){return Promise.all(this.animations).then(e).catch(t)}},t.NativeAnimationControls=f,t.ViewTransitionBuilder=U,t.attachTimeline=d,t.calcGeneratorDuration=l,t.createGeneratorEasing=c,t.cubicBezierAsString=b,t.generateLinearEasing=v,t.getValueTransition=a,t.hover=function(e,t,r={}){const[n,o,i]=O(e,r),a=E((e=>{const{target:r}=e,n=t(e);if("function"!=typeof n||!r)return;const i=E((e=>{n(e),r.removeEventListener("pointerleave",i)}));r.addEventListener("pointerleave",i,o)}));return n.forEach((e=>{e.addEventListener("pointerenter",a,o)})),i},t.isBezierDefinition=h,t.isDragActive=_,t.isDragging=w,t.isGenerator=u,t.isNodeOrChild=M,t.isPrimaryPointer=k,t.isWaapiSupportedEasing=function e(t){return Boolean("function"==typeof t&&m()||!t||"string"==typeof t&&(t in y||m())||h(t)||Array.isArray(t)&&t.every(e))},t.mapEasingToNativeEasing=C,t.maxGeneratorDuration=s,t.press=function(e,t,r={}){const[n,o,i]=O(e,r),a=e=>{const n=e.currentTarget;if(!D(e)||j.has(n))return;j.add(n);const i=t(e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),D(e)&&j.has(n)&&(j.delete(n),"function"==typeof i&&i(e,{success:t}))},s=e=>{a(e,r.useGlobalTarget||M(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",l,o)};return n.forEach((e=>{(function(e){return S.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(r.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),e.addEventListener("focus",(e=>((e,t)=>{const r=e.currentTarget;if(!r)return;const n=P((()=>{if(j.has(r))return;T(r,"down");const e=P((()=>{T(r,"up")}));r.addEventListener("keyup",e,t),r.addEventListener("blur",(()=>T(r,"cancel")),t)}));r.addEventListener("keydown",n,t),r.addEventListener("blur",(()=>r.removeEventListener("keydown",n)),t)})(e,o)),o)})),i},t.resolveElements=x,t.setDragLock=function(e){return"x"===e||"y"===e?w[e]?null:(w[e]=!0,()=>{w[e]=!1}):w.x||w.y?null:(w.x=w.y=!0,()=>{w.x=w.y=!1})},t.supportedWaapiEasing=y,t.supportsFlags=p,t.supportsLinearEasing=m,t.supportsScrollTimeline=o,t.view=function(e,t={}){return new U(e,t)}},39105:(e,t,r)=>{"use strict";t.isThisMonth=function(e,t){return(0,i.isSameMonth)((0,n.constructFrom)(t?.in||e,e),(0,o.constructNow)(t?.in||e))};var n=r(92956),o=r(2700),i=r(59019)},39305:(e,t,r)=>{"use strict";t.eachWeekendOfInterval=function(e,t){const{start:r,end:s}=(0,n.normalizeInterval)(t?.in,e),l=(0,i.eachDayOfInterval)({start:r,end:s},t),c=[];let u=0;for(;u<l.length;){const e=l[u++];(0,a.isWeekend)(e)&&c.push((0,o.constructFrom)(r,e))}return c};var n=r(18290),o=r(92956),i=r(83700),a=r(43348)},39316:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>i});var o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=n((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},39859:(e,t,r)=>{"use strict";t.roundToNearestHours=function(e,t){const r=t?.nearestTo??1;if(r<1||r>12)return(0,o.constructFrom)(t?.in||e,NaN);const a=(0,i.toDate)(e,t?.in),s=a.getMinutes()/60,l=a.getSeconds()/60/60,c=a.getMilliseconds()/1e3/60/60,u=a.getHours()+s+l+c,d=t?.roundingMethod??"round",f=(0,n.getRoundingMethod)(d)(u/r)*r;return a.setHours(f,0,0,0),a};var n=r(1331),o=r(92956),i=r(34446)},39897:function(e,t,r){"use strict";var n,o,i=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ClientController=void 0;const c=r(40707),u=r(64854),d=r(87451),f=r(58684),h=r(37676),p=r(38320),g=r(84673),m=r(50768),v=r(87234),b=r(47202),y=r(76858),C=r(52650),w=l(r(25858));let _=class{constructor(e,t){this._providersById=new Map,this._providersByUUID=new Map,this._topics=new Map,this._throttledBroadcastNotificationCount=(0,w.default)((()=>this.broardcastAction("notifications-count-changed")),1e3),this._throttledNotificationSoundChanged=(0,w.default)((()=>this.broardcastAction("notification-sound-toggled")),1e3),this._store=e,this._apiHandler=t,this._apiHandler.onConnection.add(this.onConnection,this),this._apiHandler.onDisconnection.add(this.onDisconnection,this),e.onAction.add(this.onAction.bind(this))}async onAction(e){e instanceof d.CreateNotification?await this.onCreateNotifications(e):e instanceof d.RemoveNotifications?await this.onRemoveNotifications(e):e instanceof p.SetReminder?await this.onSetReminder(e):e instanceof p.CancelReminder?await this.onCancelReminder(e):e instanceof d.ClickButton?await this.onClickButton(e):e instanceof d.ClickFragment?await this.onClickFragment(e):e instanceof d.ClickNotification?await this.onClickNotification(e):e instanceof d.ExpireNotification?await this.onExpireNotification(e):e instanceof h.SubmitNotificationForm?await this.onSubmitNotificationForm(e):e instanceof f.RequestNotificationFormCustomValidation&&await this.onRequestNotificationFormCustomValidation(e),(e instanceof d.CreateNotification||e instanceof d.RemoveNotifications)&&this._throttledBroadcastNotificationCount(),e instanceof v.ToggleNotificationSound&&this._throttledNotificationSoundChanged()}async onCreateNotifications(e){const{notification:t,source:r}=e.notification;if((0,m.isTutorialNotification)(e.notification))return;const n={target:"default",type:"notification-created",notification:(0,g.mutable)(t)};await this.dispatchAction(r,n)}async onRemoveNotifications(e){const{notifications:t}=e;await Promise.all(t.map((async e=>{const{notification:t,source:r}=e;if((0,m.isTutorialNotification)(e))return;if(null!==t.onClose){const e={target:"default",type:"notification-action",trigger:c.ActionTrigger.CLOSE,notification:(0,g.mutable)(t),source:r,result:t.onClose};await this.dispatchAction(r,e)}const n={target:"default",type:"notification-closed",notification:(0,g.mutable)(t)};await this.dispatchAction(r,n)})))}async onSetReminder(e){const{notification:t,source:r,modifiers:n}=e.reminder,o={target:"default",type:"notification-reminder-created",notification:(0,g.mutable)(t),reminderDate:n.reminder};await this.dispatchAction(r,o)}async onCancelReminder(e){const{notification:t,source:r}=e.reminder,n={target:"default",type:"notification-reminder-removed",notification:(0,g.mutable)(t)};await this.dispatchAction(r,n)}async onClickButton(e){const{notification:t,source:r}=e.notification,n=t.buttons[e.buttonIndex];if(!n.onClick)return;if((0,m.isTutorialNotification)(e.notification))return void await(0,m.handleTutorialButtonAction)(n.onClick,this._store);const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:(0,g.mutable)(t),source:r,controlSource:"buttons",controlIndex:e.buttonIndex,result:n.onClick};await this.dispatchAction(r,o)}async onClickFragment(e){const{notification:t,source:r}=e.notification,n=e.fragment;if(!n.onClick)return;const o={target:"default",type:"notification-action",trigger:c.ActionTrigger.CONTROL,notification:Object.assign(Object.assign({},t),{_fragments:[n]}),source:r,controlSource:"_fragments",controlIndex:0,result:n.onClick};await this.dispatchAction(r,o)}async onClickNotification(e){const{notification:t,source:r}=e.notification;if((0,m.isTutorialNotification)(e.notification)||!t.onSelect)return;const n={target:"default",type:"notification-action",trigger:c.ActionTrigger.SELECT,notification:(0,g.mutable)(t),source:r,result:t.onSelect};await this.dispatchAction(r,n)}async onExpireNotification(e){const{notification:t,source:r}=e.notification;if(!t.onExpire)return;const n={target:"default",type:"notification-action",trigger:c.ActionTrigger.EXPIRE,notification:(0,g.mutable)(t),source:r,result:t.onExpire};await this.dispatchAction(r,n)}async onSubmitNotificationForm(e){const{form:t,button:r}=e,{notification:n}=e.notification,o=e.notification.source,i={target:"default",type:"notification-form-submitted",notification:(0,g.mutable)(n),form:t,button:r};await this.dispatchAction(o,i)}async onRequestNotificationFormCustomValidation(e){const{notification:t}=e.notification,r=e.notification.source,n={target:"default",type:"notification-form-values-changed",notification:(0,g.mutable)(t),form:e.form};await this.dispatchAction(r,n)}async dispatchAction(e,t){const r=this._topics.get(t.type);if(r){const n=this.translateProviderIdentityToClientIdentity(e.identity);n&&r.some((e=>e.uuid===n.uuid&&e.name===n.name))&&this._apiHandler.dispatchEvent(n,t)}}async broardcastAction(e){const t=this._topics.get(e);if(t)if("notifications-count-changed"===e){const e={target:"default",type:"notifications-count-changed",count:this._store.state.notifications.length};t.forEach((t=>{this._apiHandler.dispatchEvent(t,e)}))}else if("notification-sound-toggled"===e){const e={target:"default",type:"notification-sound-toggled",notificationSoundEnabled:this._store.state.settings.notificationSoundEnabled};t.forEach((t=>{this._apiHandler.dispatchEvent(t,e)}))}}async onAddEventListener(e,t){this._topics.has(e)||this._topics.set(e,[]);const r=this._topics.get(e);r&&!r.some((e=>e.uuid===t.uuid&&e.name===t.name))&&r.push(t)}async onRemoveEventListener(e,t){const r=this._topics.get(e);r&&this._topics.set(e,r.filter((e=>e.uuid!==t.uuid&&e.name!==t.name)))}async onConnection(e,t){if(!t)throw new Error("Provider information is missing.");await this._store.dispatch(new d.RegisterApplication({type:"web",id:t.id,title:t.title,iconUrl:t.icon,muted:!1,persistToasts:!1}));const r=Object.assign(Object.assign({},e),t);this._providersById.set(t.id,r),this._providersByUUID.set(e.uuid,r)}onDisconnection(e){const t=this._providersByUUID.get(e.uuid);if(t){const r=t.id;this._providersById.delete(r),this._providersByUUID.delete(e.uuid),this._topics.forEach(((t,r)=>{this._topics.set(r,t.filter((t=>t.uuid!==e.uuid)))}))}else console.error(`Client with id {uuid:${e.uuid}, name:${e.name}} was disconnected but could not be found in the connection registry.`)}translateProviderIdentityToClientIdentity(e){const t=this._providersById.get(e.uuid);return t?{uuid:t.uuid,name:t.name}:null}translateClientIdentityToProviderIdentity(e){const t=this._providersByUUID.get(e.uuid);if(t)return{uuid:t.id,name:t.title};throw new Error(`Client with identity={id:${e.uuid}, name:${e.name}}} is not connected.`)}};_=i([(0,C.injectable)(),s(0,(0,C.inject)(b.Inject.STORE)),s(1,(0,C.inject)(b.Inject.API_HANDLER)),a("design:paramtypes",["function"==typeof(n=void 0!==y.WebStore&&y.WebStore)?n:Object,"function"==typeof(o=void 0!==u.APIHandler&&u.APIHandler)?o:Object])],_),t.ClientController=_},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},40651:e=>{e.exports=function(e,t){for(var r=e.split("."),n=t.split("."),o=0;o<3;o++){var i=Number(r[o]),a=Number(n[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return 0}},40660:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryContext=void 0;const a=i(r(96540));t.HistoryContext=a.createContext({})},40707:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.setAllowedOrigins=t.getUserSettingStatus=t.UserSettings=t.getNotificationsCount=t.hide=t.show=t.setDefaultPlatformShortcut=t.toggleNotificationCenter=t.clearAll=t.getAll=t.cancelReminder=t.setReminder=t.clear=t.update=t.create=t.removeEventListener=t.addEventListener=t.VERSION=t.NotificationIndicatorType=t.IndicatorColor=t.NotificationIndicatorWithCustomColor=t.NotificationIndicator=t.NotificationOptions=t.provider=t.actions=void 0;const l=r(86455),c=r(43816),u=r(59603),d=r(33657),f=i(r(46451));t.provider=f;const h=r(28173),p=r(46865);Object.defineProperty(t,"NotificationIndicator",{enumerable:!0,get:function(){return p.NotificationIndicator}}),Object.defineProperty(t,"NotificationIndicatorWithCustomColor",{enumerable:!0,get:function(){return p.NotificationIndicatorWithCustomColor}}),Object.defineProperty(t,"NotificationIndicatorType",{enumerable:!0,get:function(){return p.IndicatorType}}),Object.defineProperty(t,"IndicatorColor",{enumerable:!0,get:function(){return p.IndicatorColor}});const g=r(44415);Object.defineProperty(t,"NotificationOptions",{enumerable:!0,get:function(){return g.NotificationOptions}});const m=i(r(86455));t.actions=m,a(r(86455),t),a(r(87204),t),a(r(50295),t),a(r(68912),t),a(r(13154),t),a(r(75050),t),a(r(90512),t),t.VERSION="2.14.0";const v=(0,d.getEventRouter)();function b(e){const{notification:t}=e;return Object.assign(Object.assign({},e),{notification:Object.assign(Object.assign({},t),{date:new Date(t.date),expires:null!==t.expires?new Date(t.expires):null})})}v.registerDeserializer("notification-created",(e=>b(e))),v.registerDeserializer("notification-toast-dismissed",(e=>b(e))),v.registerDeserializer("notification-closed",(e=>b(e))),v.registerDeserializer("notification-action",(e=>{var t;const r=b(e),{controlSource:n,controlIndex:o}=r,i=s(r,["controlSource","controlIndex"]);return e.trigger===l.ActionTrigger.CONTROL?Object.assign(Object.assign({},i),{control:null===(t=e.notification[n])||void 0===t?void 0:t[o]}):i})),v.registerDeserializer("notifications-count-changed",(e=>e)),v.registerDeserializer("notification-reminder-created",(e=>{const t=b(e),{reminderDate:r}=t,n=s(t,["reminderDate"]);return Object.assign(Object.assign({},n),{reminderDate:new Date(r)})})),v.registerDeserializer("notification-reminder-removed",(e=>b(e))),v.registerDeserializer("notification-sound-toggled",(e=>e)),t.addEventListener=async function(e,t){(0,h.validateEnvironment)(),e=(0,h.sanitizeEventType)(e),t=(0,h.sanitizeFunction)(t);const r=d.eventEmitter.listenerCount(e);"notification-form-submitted"===e&&(t=function(e){return t=>{const r=t.notification.id;t.setFormStatus=e=>(0,c.tryServiceDispatch)(u.APITopic.SET_FORM_STATUS_OPTIONS,Object.assign(Object.assign({},e),{_notificationId:r})),e(t)}}(t)),"notification-form-values-changed"===e&&(t=function(e){return t=>{t.setErrors=e=>(0,c.tryServiceDispatch)(u.APITopic.SET_FORM_VALIDATION_ERRORS,{errors:e,notificationId:t.notification.id}),e(t)}}(t)),d.eventEmitter.addListener(e,t),0===r&&1===d.eventEmitter.listenerCount(e)&&await(0,c.tryServiceDispatch)(u.APITopic.ADD_EVENT_LISTENER,e)},t.removeEventListener=async function(e,t){(0,h.validateEnvironment)(),e=(0,h.sanitizeEventType)(e),t=(0,h.sanitizeFunction)(t),1===d.eventEmitter.listenerCount(e)&&d.eventEmitter.listeners(e)[0]===t&&await(0,c.tryServiceDispatch)(u.APITopic.REMOVE_EVENT_LISTENER,e),d.eventEmitter.removeListener(e,t)},t.create=async function(e,t){if("object"!=typeof e||null===e)throw new Error("Invalid argument passed to create: argument must be an object and must not be null");if(void 0!==e.date&&!(e.date instanceof Date))throw new Error('Invalid argument passed to create: "date" must be a valid Date object');if(void 0!==e.expires&&null!==e.expires&&!(e.expires instanceof Date))throw new Error('Invalid argument passed to create: "expires" must be null or a valid Date object');if(t&&t.reminderDate){if(!1===e.allowReminder)throw new Error('You must not specify a reminder date for a notification with "allowReminder" option set to false.');if(!(t.reminderDate instanceof Date))throw new Error('Invalid argument passed to reminder Options: "date" must a valid Date object');if(e.expires&&e.expires.getTime()<t.reminderDate.getTime())throw new Error("Expiration date must not be earlier than reminder date.")}void 0!==e.category&&null!==e.category||(e.category="default");const r=await(0,c.tryServiceDispatch)(u.APITopic.CREATE_NOTIFICATION,Object.assign(Object.assign({},e),{date:e.date&&e.date.getTime(),expires:e.expires&&e.expires.getTime(),reminder:(null==t?void 0:t.reminderDate)&&t.reminderDate.getTime()}));return Object.assign(Object.assign({},r),{date:new Date(r.date),expires:null!==r.expires?new Date(r.expires):null})},t.update=async function(e){if("object"!=typeof e||null===e)throw new Error("Invalid argument passed to create: argument must be an object and must not be null");if(!e.id)throw new Error('Invalid argument passed to create: "id" must be Id of previously created Notification');const t=await(0,c.tryServiceDispatch)(u.APITopic.UPDATE_NOTIFICATION,Object.assign({},e));return Object.assign({},t)},t.clear=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.CLEAR_NOTIFICATION,{id:e})},t.setReminder=async function(e,t){if(!(t instanceof Date))throw new Error('Invalid argument passed to setReminder: "reminderDate" must a valid Date object');if(t.getTime()<Date.now())throw new Error('Invalid argument passed to setReminder: "reminderDate" was set to a Date in the past, must be a Date in the future.');const r=await(0,c.tryServiceDispatch)(u.APITopic.SET_REMINDER,{id:e,reminder:t.getTime()});return r?console.log(`[Client::setReminder] Reminder set for notification: ${e}`):console.log(`[Client::setReminder] Notification not found for id: ${e}`),r},t.cancelReminder=async function(e){const t=await(0,c.tryServiceDispatch)(u.APITopic.CANCEL_REMINDER,{id:e});return t?console.log(`[Client::cancelReminder] Reminder canceled for notification: ${e}`):console.log(`[Client::cancelReminder] Notification not found for id: ${e}`),t},t.getAll=async function(){return(await(0,c.tryServiceDispatch)(u.APITopic.GET_APP_NOTIFICATIONS,void 0)).map((e=>Object.assign(Object.assign({},e),{indicator:e.indicator||null,date:new Date(e.date),expires:null!==e.expires?new Date(e.expires):null})))},t.clearAll=async function(){return(0,c.tryServiceDispatch)(u.APITopic.CLEAR_APP_NOTIFICATIONS,void 0)},t.toggleNotificationCenter=async function(){return(0,c.tryServiceDispatch)(u.APITopic.TOGGLE_NOTIFICATION_CENTER,void 0)},t.setDefaultPlatformShortcut=function(e){return(0,c.tryServiceDispatch)(u.APITopic.SET_DEFAULT_PLATFORM_SHORTCUT,e)},t.show=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.SHOW_NOTIFICATION_CENTER,e)},t.hide=async function(){return(0,c.tryServiceDispatch)(u.APITopic.HIDE_NOTIFICATION_CENTER,void 0)},t.getNotificationsCount=async function(){return(0,c.tryServiceDispatch)(u.APITopic.GET_NOTIFICATIONS_COUNT,void 0)},(t.UserSettings||(t.UserSettings={})).SOUND_ENABLED="soundEnabled",t.getUserSettingStatus=async function(e){return(0,c.tryServiceDispatch)(u.APITopic.GET_USER_SETTINGS_STATUS,e)},t.setAllowedOrigins=async e=>(0,c.tryServiceDispatch)(u.APITopic.SET_NOTIFICATION_SECURITY_RULE,{allowedOrigins:e})},40790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTemplateData=void 0;const n=r(19611),o=r(94692),i=r(2984),a=r(66188);t.validateTemplateData=function(e,t){var r;const s=e.templateOptions,l=s.body,c=(0,n.pickBestComposition)(l.compositions);if(!c&&!l.fallbackText)throw new Error(`Could not find a suitable composition with the version supported by the service. Notification Center instance might be too old to show this template. (Template API Version: ${(0,i.getTemplateAPIVersion)()})`);l.compositions=[],c&&(a.CustomTemplateDataSchema.validateSync(e.templateData,{context:{fragments:(0,o.flattenLayout)(c.layout)}}),l.compositions.push(c)),t&&e.indicator&&(null===(r=s.indicator)||void 0===r?void 0:r.color)&&(e.indicator.color=s.indicator.color)}},40882:e=>{e.exports=function(e,t,r,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}},40961:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(22551)},40977:(e,t,r)=>{"use strict";t.formatDistanceToNowStrict=function(e,t){return(0,o.formatDistanceStrict)(e,(0,n.constructNow)(e),t)};var n=r(2700),o=r(5206)},41037:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CenterPositionSelector=void 0;const a=i(r(96540)),s=r(47250),l=r(70785);t.CenterPositionSelector=e=>{const{value:t,title:r,id:n="",onChange:o=()=>{}}=e;return a.createElement("div",{role:"radiogroup"},a.createElement(l.TitleElement,{htmlFor:n,size:s.Size.large},r),a.createElement(l.StyledSelectors,{tabIndex:0,onKeyUp:e=>{switch(e.key){case"ArrowUp":case"ArrowLeft":case"ArrowDown":case"ArrowRight":e.preventDefault(),e.stopPropagation(),"left"===t&&o("right"),"right"===t&&o("left")}},id:n},a.createElement(l.Selector,{position:"left",onClick:o,active:"left"===t}),a.createElement(l.Selector,{position:"right",onClick:o,active:"right"===t})))}},41129:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDescription=function(e){return e.toString().slice(r,n)};const r=7,n=-1},41169:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.classes,r=void 0===t?[]:t,a=e.formatMonth,f=void 0===a?u.formatMonth:a,h=e.formatMonthYear,p=void 0===h?u.formatMonthYear:h,g=o(e,["classes","formatMonth","formatMonthYear"]),m=g.date,v=g.locale;return(0,s.jsx)(c.default,n({},g,{classes:i(i([],r,!0),[d],!1),formatAbbr:p,maxDateTransform:l.getMonthEnd,minDateTransform:l.getMonthStart,view:"year",children:f(v,m)}))};var s=r(74848),l=r(51229),c=a(r(95044)),u=r(23340),d="react-calendar__year-view__months__month"},41402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BindingWhenOnSyntax=void 0;const n=r(87059),o=r(90732);t.BindingWhenOnSyntax=class{_bindingWhenSyntax;_bindingOnSyntax;_binding;constructor(e){this._binding=e,this._bindingWhenSyntax=new o.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new n.BindingOnSyntax(this._binding)}when(e){return this._bindingWhenSyntax.when(e)}whenTargetNamed(e){return this._bindingWhenSyntax.whenTargetNamed(e)}whenTargetIsDefault(){return this._bindingWhenSyntax.whenTargetIsDefault()}whenTargetTagged(e,t){return this._bindingWhenSyntax.whenTargetTagged(e,t)}whenInjectedInto(e){return this._bindingWhenSyntax.whenInjectedInto(e)}whenParentNamed(e){return this._bindingWhenSyntax.whenParentNamed(e)}whenParentTagged(e,t){return this._bindingWhenSyntax.whenParentTagged(e,t)}whenAnyAncestorIs(e){return this._bindingWhenSyntax.whenAnyAncestorIs(e)}whenNoAncestorIs(e){return this._bindingWhenSyntax.whenNoAncestorIs(e)}whenAnyAncestorNamed(e){return this._bindingWhenSyntax.whenAnyAncestorNamed(e)}whenAnyAncestorTagged(e,t){return this._bindingWhenSyntax.whenAnyAncestorTagged(e,t)}whenNoAncestorNamed(e){return this._bindingWhenSyntax.whenNoAncestorNamed(e)}whenNoAncestorTagged(e,t){return this._bindingWhenSyntax.whenNoAncestorTagged(e,t)}whenAnyAncestorMatches(e){return this._bindingWhenSyntax.whenAnyAncestorMatches(e)}whenNoAncestorMatches(e){return this._bindingWhenSyntax.whenNoAncestorMatches(e)}onActivation(e){return this._bindingOnSyntax.onActivation(e)}onDeactivation(e){return this._bindingOnSyntax.onDeactivation(e)}}},41591:(e,t,r)=>{"use strict";t.isWithinInterval=function(e,t,r){const o=+(0,n.toDate)(e,r?.in),[i,a]=[+(0,n.toDate)(t.start,r?.in),+(0,n.toDate)(t.end,r?.in)].sort(((e,t)=>e-t));return o>=i&&o<=a};var n=r(34446)},41799:(e,t,r)=>{var n=r(37217),o=r(60270);e.exports=function(e,t,r,i){var a=r.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=r[a])[0],d=e[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var h=new n;if(i)var p=i(d,f,u,e,t,h);if(!(void 0===p?o(f,d,3,i,h):p))return!1}}return!0}},41869:(e,t,r)=>{"use strict";t.Hour1to12Parser=void 0;var n=r(47699),o=r(5513),i=r(93771);class a extends o.Parser{priority=70;parse(e,t,r){switch(t){case"h":return(0,i.parseNumericPattern)(n.numericPatterns.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return(0,i.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,r){const n=e.getHours()>=12;return n&&r<12?e.setHours(r+12,0,0,0):n||12!==r?e.setHours(r,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}t.Hour1to12Parser=a},42054:e=>{var t="\\ud800-\\udfff",r="["+t+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+n+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",u=c+l+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*",d="(?:"+[i+n+"?",n,a,s,r].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},42207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getZonedDate=t.localTimeString=t.localDateString=t.formatLines=t.getDate=t.getDateTitle=void 0;const n=r(411),o=r(13949);function i(e,t){const r=new Date(e),o=new Date,i=Math.abs((0,n.differenceInMinutes)(r,o));return i<1?"now":i<60||!t&&r>o?function(e,t){const r=(0,n.formatDistanceStrict)(e,t,{addSuffix:!0}).replace(/ minutes| minute/g,"m");return"60m ago"===r?(0,n.format)(e,"p"):"in 60m"===r?"in 1 hour":r}(r,o):function(e,t,r){const o=(0,n.differenceInHours)(t,e),i=(0,n.differenceInCalendarDays)(t,e);return Math.abs((0,n.differenceInMinutes)(t,e))>=60&&0===i?`${r?"at ":""}${(0,n.format)(e,"p")}`:1===i||o>24&&i<=6?`${r?"at ":""}${(0,n.format)(e,r?"p, EEE":"EEE, p")}`:`${r?"at ":""}${(0,n.format)(e,r?"p, MMM d":"MMM d, p")}`}(r,o,t)}function a(e){return(0,o.toZonedTime)(null!=e?e:Date.now(),Intl.DateTimeFormat().resolvedOptions().timeZone)}t.getDateTitle=function(e){const t=new Date(e),r=new Date,o=(0,n.differenceInCalendarDays)(r,t);return 0===o?"Today":1===o?"Yesterday":-1===o?"Tomorrow":o>0&&o<=6?`Last ${(0,n.format)(t,"EEEE")}`:o<0&&o>=-6?(0,n.format)(t,"EEEE"):(0,n.format)(t,"MMMM d, yyyy")},t.getDate=i,t.formatLines=function(e,t){if(t){if(t>=Date.now()){const e=i(t,!0);return"at"===e.substring(0,2)?["Reminding at",e.substring(3)]:[`Reminding ${e}`,null]}return[`Reminded ${i(t,!0)}`,`Sent ${i(e,!0)}`]}return[i(e),null]},t.localDateString=function(e){const t=null!=e?e:Date.now();return(0,n.formatISO)(a(t)).substring(0,10)},t.localTimeString=function(e){const t=null!=e?e:Date.now();return(0,n.formatISO)(a(t)).substring(11,16)},t.getZonedDate=a},42366:(e,t,r)=>{"use strict";t.endOfToday=function(e){return(0,n.endOfDay)(Date.now(),e)};var n=r(61883)},42551:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationCardComponent=void 0;const a=i(r(96540)),s=r(86455),l=r(1413),c=r(26012),u=r(52124),d=r(83873),f=r(79690),h=r(37207),p=r(47250),g=i(r(35830)),m=r(14858),v=r(15996),b=r(12773),y=r(72425),C=r(54990),w=r(3565),_=r(29136),x=r(16415);t.NotificationCardComponent=e=>{var t,r,n,o,i,p,g;const{style:j,senderTitle:P,isFormExpanded:T,isToast:D=!1,clickAction:L,remove:A,minimize:I,submitForm:R,clickButtonAction:N,showReminderModal:F,setReminder:H,cancelReminder:V,raiseAnalyticsEvent:B,clickFragment:$,revisionNumber:z,onKeyDown:Z,focusedNotification:U}=e,{setIsMenuModalOpen:W,setMenuConfig:q,setIsCustomReminderModalOpen:G,setCustomReminderConfig:Y,setModalType:K}=(0,a.useContext)(x.WebModalContext),[Q,X]=(0,a.useState)(-1),[J,ee]=(0,a.useState)(!1),[te,re]=(0,b.useIsStateUpdate)(z,((e,t)=>J&&e!==t)),ne=(0,c.isStoredNotification)(e.notification)?e.notification:e.notification.item,oe=ne.notification,ie=null===(t=ne.modifiers)||void 0===t?void 0:t.reminder,ae=P||ne.title,se=(0,v.isTemplate)(oe,"custom")?null===(r=oe.templateOptions.buttons)||void 0===r?void 0:r.align:void 0,le=(0,v.isTemplate)(oe,"custom")&&(null===(n=oe.templateOptions.indicator)||void 0===n?void 0:n.align)||"center",ce=(e=>{var t,r,n;return e.indicator?(0,v.isTemplate)(e,"custom")?Object.assign(Object.assign({},e.indicator),{color:null!==(r=null===(t=e.indicator)||void 0===t?void 0:t.color)&&void 0!==r?r:null===(n=e.templateOptions.indicator)||void 0===n?void 0:n.color}):e.indicator:null})(oe),ue=!!ie&&ie>Date.now(),de=ne.notification.allowReminder,{raiseAnalyticsEventDelayed:fe,cancelAnalyticsEventTimer:he}=(0,C.useAnalyticsDebounce)(1e3,B),pe=(0,a.useRef)(null),ge=a.default.useContext(_.WindowContext),me=a.default.useRef(null);(0,a.useEffect)((()=>{var e;ne.id===(null==U?void 0:U.notificationId)&&(null===(e=me.current)||void 0===e||e.focus())}),[U,ne.id,me.current]);const ve=(e,t)=>{null==H||H(Object.assign(Object.assign({},ne),{modifiers:Object.assign(Object.assign({},ne),{reminder:null!=t?t:Date.now()+e})}))},be=l.TemplateComponentMap[ne.notification.template];if(!be)return console.error(`Unable to render ${ne.id}. Unknown template ${ne.notification.template}.`,ne),null;const ye=()=>re(),Ce=[{title:"OK",cta:!0,index:0,iconUrl:"",submit:!1,type:"button",onClick:ye,formOptions:null}],we=te&&oe.buttons.length>0?Ce:oe.buttons,_e=a.default.createElement(a.default.Fragment,null,a.default.createElement(f.CardHeader,{sender:ae,icon:oe.icon,uuid:null!==(i=null===(o=oe.stream)||void 0===o?void 0:o.id)&&void 0!==i?i:JSON.stringify(ne.source),creationDate:oe.date,reminderDate:ie,isToast:D,"data-testid":"header",showReminderButton:de,onDismiss:e=>{e.stopPropagation(),e.preventDefault(),te||(D?(console.log(`Toast dismiss button clicked. (Nfn ID:${ne.id})`),null==I||I(ne)):(null==Z||Z(new KeyboardEvent("keydown",{key:"_Delete"})),console.log(`Notification remove button clicked. (Nfn ID:${ne.id})`),null==A||A(ne)))},onShowReminderModal:t=>{const r={x:t.screenX,y:t.screenY},n={identity:{id:"custom-reminder-select-menu-modal"},type:"CustomReminderModal",position:r,notification:ne,isToast:D,onDismiss:t=>{"web"===e.mode&&G(!1),"number"==typeof t&&(ve(0,t),null==B||B({type:D?"Toast":"Notification",action:"Set Custom Reminder",value:`${t+Date.now()}`,data:ne.id,skipValueHashing:!0}))}},o={type:"Menu",position:r,width:140,header:"Remind me in...",options:(0,y.makePresetTimeSpanOptions)(ue),onDismiss:t=>{(0,y.isPresetTimeSpan)(t)?(ve(t.timeSpan),W(!1),null==B||B({type:D?"Toast":"Notification",action:"Select preset Reminder",value:`${t.timeSpan+Date.now()}`,data:ne.id,skipValueHashing:!0})):"string"==typeof t&&("cancel"===t?(null==V||V(ne),"web"===e.mode&&W(!1),null==B||B({type:"Notification",action:"Cancel Reminder",data:ne.id,skipValueHashing:!0})):"custom"===t&&("web"===e.mode?(W(!1),G(!0),K("reminder"),Y(n)):null==F||F(n)))}};if("desktop"===e.mode)null==F||F(o);else if("web"===e.mode)return W(!0),q(o),void K("reminder");null==B||B({type:D?"Toast":"Notification",action:"Select Reminder Button",data:{id:ne.id},skipValueHashing:!0})},raiseAnalyticsEvent:B,tabIndex:Q,notificationID:ne.id,mode:e.mode}),oe.title&&a.default.createElement(S,null,a.default.createElement(m.SingleLine,{weight:"bold","data-testid":"notification-title"},oe.title)),a.default.createElement(k,{ref:pe,"data-scrollable-container":"true",flexDirection:"column","data-testid":"template-content"},a.default.createElement(be,{notification:ne,submitForm:R,clickButtonAction:N,clickFragment:async(e,t)=>{t.onClick&&(e.stopPropagation(),e.preventDefault(),await(null==$?void 0:$(ne,t,D)))},templateContent:pe,tabIndexOverride:Q,isToast:D}))),xe=D?"Click to dismiss":"Click to clear",Oe=(null===(p=ne.notification.onSelect)||void 0===p?void 0:p.BODY_CLICK)===s.ActionBodyClickType.DISMISS_EVENT&&!(null===(g=ne.notification.buttons)||void 0===g?void 0:g.length),Ee=we.reduce(((e,t)=>(t.cta?e.primary++:e.secondary++,e)),{primary:0,secondary:0});return a.default.createElement(a.default.Fragment,null,a.default.createElement(h.Card,{title:Oe?xe:"",onClick:async e=>{(0,v.isTemplate)(oe,"markdown")&&oe.form||(e.stopPropagation(),e.preventDefault(),te||await(null==L?void 0:L(ne)))},"data-testid":"notification-card","data-id":ne.id,style:j,hasButtons:we.length>0,isTall:Ee.primary>3||Ee.secondary>3,tabIndex:Q,onMouseEnter:()=>{ee(!0),fe({type:D?"Toast":"Notification",action:"Hover",skipValueHashing:!0})},onMouseLeave:()=>{ee(!1),re(),he()},isToast:D,isFormExpanded:T,onFocus:()=>X(0),onBlur:e=>{const t=e.currentTarget;requestAnimationFrame((()=>{t.contains(ge.document.activeElement)||X(-1)}))},onKeyDown:e=>null==Z?void 0:Z(e.nativeEvent),ref:me,role:"listitem",mode:e.mode},a.default.createElement(w.FormikProxyProvider,null,ce&&a.default.createElement(O,{alignment:le},te?a.default.createElement(u.InfoBanner,{text:"Notification Updated"}):a.default.createElement(u.IndicatorBanner,{indicator:ce,alignment:le})),a.default.createElement(M,{flexDirection:"column",gap:"xsmall"},te?a.default.createElement(E,{"data-testid":"update-overlay",gap:"xsmall"},_e):_e,we.length>0&&a.default.createElement(d.ButtonsContainer,{alignment:se,buttonData:we,onClick:te?ye:async(e,t)=>{if(!t.submit){e.stopPropagation(),e.preventDefault();const r=t.index||0;await(null==N?void 0:N(ne,r))}},tabIndexOverride:Q,notificationId:ne.id,isToast:D,raiseAnalyticsEvent:B})))))};const O=(0,g.default)(p.Box)`
370
370
  position: absolute;
371
371
  ${e=>{switch(e.alignment){case"center":return g.css`
372
372
  top: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/web-notifications",
3
- "version": "2.14.0-alpha-4489",
3
+ "version": "2.14.0",
4
4
  "description": "HERE Web Notification Center",
5
5
  "main": "./dist/web/index.js",
6
6
  "types": "./dist/web/index.d.ts",